/*! For license information please see 7017-8608a497c167a1748dfa.js.LICENSE.txt */
"use strict";(self.webpackChunkvixen=self.webpackChunkvixen||[]).push([[7017],{30420:(t,e,n)=>{n.d(e,{Av:()=>d,Dn:()=>Y,IG:()=>x,JD:()=>k,Jb:()=>T,Py:()=>v,S3:()=>A,SQ:()=>I,U_:()=>b,V_:()=>_,XV:()=>w,Z5:()=>O,ZM:()=>m,ZY:()=>E,_2:()=>L,a$:()=>j,aj:()=>S,dD:()=>h,dl:()=>C,h_:()=>M,iq:()=>y,ly:()=>g,r_:()=>N,th:()=>R,w:()=>D,xm:()=>p});var r=n(23099),o=n(40780),i=n(80413);function a(t){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a(t)}function u(){u=function(){return e};var t,e={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},c=i.iterator||"@@iterator",l=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function f(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(t){f=function(t,e,n){return t[e]=n}}function d(t,e,n,r){var i=e&&e.prototype instanceof N?e:N,a=Object.create(i.prototype),u=new R(r||[]);return o(a,"_invoke",{value:D(t,n,u)}),a}function h(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=d;var v="suspendedStart",p="suspendedYield",g="executing",y="completed",m={};function N(){}function E(){}function O(){}var w={};f(w,c,(function(){return this}));var A=Object.getPrototypeOf,T=A&&A(A(j([])));T&&T!==n&&r.call(T,c)&&(w=T);var S=O.prototype=N.prototype=Object.create(w);function b(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function L(t,e){function n(o,i,u,c){var l=h(t[o],t,i);if("throw"!==l.type){var s=l.arg,f=s.value;return f&&"object"==a(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){n("next",t,u,c)}),(function(t){n("throw",t,u,c)})):e.resolve(f).then((function(t){s.value=t,u(s)}),(function(t){return n("throw",t,u,c)}))}c(l.arg)}var i;o(this,"_invoke",{value:function(t,r){function o(){return new e((function(e,o){n(t,r,e,o)}))}return i=i?i.then(o,o):o()}})}function D(e,n,r){var o=v;return function(i,a){if(o===g)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:t,done:!0}}for(r.method=i,r.arg=a;;){var u=r.delegate;if(u){var c=I(u,r);if(c){if(c===m)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===v)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=g;var l=h(e,n,r);if("normal"===l.type){if(o=r.done?y:p,l.arg===m)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(o=y,r.method="throw",r.arg=l.arg)}}}function I(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,I(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),m;var i=h(o,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,m;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,m):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,m)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function x(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function R(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function j(e){if(e||""===e){var n=e[c];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return i.next=i}}throw new TypeError(a(e)+" is not iterable")}return E.prototype=O,o(S,"constructor",{value:O,configurable:!0}),o(O,"constructor",{value:E,configurable:!0}),E.displayName=f(O,s,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===E||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,O):(t.__proto__=O,f(t,s,"GeneratorFunction")),t.prototype=Object.create(S),t},e.awrap=function(t){return{__await:t}},b(L.prototype),f(L.prototype,l,(function(){return this})),e.AsyncIterator=L,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new L(d(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},b(S),f(S,s,"Generator"),f(S,c,(function(){return this})),f(S,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},e.values=j,R.prototype={constructor:R,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(x),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return u.type="throw",u.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),l=r.call(a,"finallyLoc");if(c&&l){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!l)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,m):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),m},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),x(n),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;x(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:j(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),m}},e}function c(t,e,n,r,o,i,a){try{var u=t[i](a),c=u.value}catch(t){return void n(t)}u.done?e(c):Promise.resolve(c).then(r,o)}function l(t,e,n){var r;return r=function(t,e){if("object"!=a(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,"string");if("object"!=a(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(e),(e="symbol"==a(r)?r:r+"")in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}(0,r.gD)({key:"hasSaleAndServiceViewOnly",get:function(t){var e=(0,t.get)(o.ZE);return[i.N.CARTERCADILLAC,i.N.MURRAYCADILLAC,i.N.GAUTHIERCADILLAC,i.N.ULMERCADILLAC,i.N.WOLFECADILLACCALGARY].includes(e)}});var s,f,d=(0,r.gD)({key:"howStockVINBelowPriceInfo",get:function(t){var e=(0,t.get)(o.ZE);return[i.N.MBCINCY,i.N.WESTCHESTERBENZ].includes(e)}}),h=((0,r.gD)({key:"hasDriveServiceSpecials",get:function(t){var e=(0,t.get)(o.ZE);return[i.N.MYGASTONIANISSAN,i.N.NISSANOFLAGRANGE].includes(e)}}),(0,r.gD)({key:"hasSearchIconInHeader",get:function(t){var e=(0,t.get)(o.ZE);return[i.N.SPARTANBURGTOYOTA].includes(e)}}),(0,r.gD)({key:"showPartsData",get:function(t){var e=(0,t.get)(o.ZE);return[i.N.HONDAKINGSPORT].includes(e)}}),(0,r.gD)({key:"showMotorStreet360",get:function(t){var e=(0,t.get)(o.ZE);return[i.N.BEAMANTOYOTA].includes(e)}}),(0,r.gD)({key:"blog1Layout",get:function(t){var e=(0,t.get)(o.Hs);return["nissantheme1"].includes(e)}})),v=(0,r.gD)({key:"addStockInVdpUrl",get:function(t){var e=(0,t.get)(o.ZE);return[i.N.GAUTHIERCADILLAC].includes(e)}}),p=((0,r.gD)({key:"showPremiumSafetyDisclaimer",get:function(t){var e=(0,t.get)(o.ZE);return[i.N.MYGASTONIANISSAN].includes(e)}}),(0,r.gD)({key:"showSrpCallBtnAboveForm",get:function(t){var e=(0,t.get)(o.ZE);return[i.N.HONDAKINGSPORT,i.N.HONDAMORRISTOWN,i.N.SPARTANBURGTOYOTA,i.N.TOYOTAOFLASVEGAS].includes(e)}})),g=(0,r.gD)({key:"showSrpCallBtnAtLast",get:function(t){var e=(0,t.get)(o.ZE);return[i.N.TOYOTAOFORANGE,i.N.SOUTHCOASTTOYOTAV3].includes(e)}}),y=((0,r.gD)({key:"showHPWelcomeLogoSection",get:function(t){var e=(0,t.get)(o.ZE);return[i.N.TOYOTAOFLASVEGAS].includes(e)}}),(0,r.gD)({key:"tradePending",get:function(t){var e=(0,t.get)(o.ZE),n=l(l({},i.N.TOYOTAOFLASVEGAS,{vdp:"w-100 p-3 sub-nav-search",home:"component-subhero container"}),i.N.MIDLANDSHONDA,{srp:"srp-container page-wrap",vdp:"page-vdp__wrap",home:"hook--frontpage--before-heroSlider w-100",vdpCta:"mt-3 mb-3"});return null==n?void 0:n[e]}}),(0,r.gD)({key:"jellybeanNoStockLabel",get:function(t){var e,n=(0,t.get)(o.ZE),r=l({},i.N.TOYOTAOFLASVEGAS,"Reserve Now");return null!==(e=null==r?void 0:r[n])&&void 0!==e?e:""}}),(0,r.gD)({key:"showDealerMadeNextOnQV",get:function(t){var e=(0,t.get)(o.ZE);return[i.N.HONDAMORRISTOWN].includes(e)}}),(0,r.gD)({key:"enableSocialMediaModal",get:function(t){var e,n,r=(0,t.get)(o.ZE),a=[i.N.JOSEPHTOYOTA];return null!==(e=null==a||null===(n=a.includes)||void 0===n?void 0:n.call(a,r))&&void 0!==e&&e}}),(0,r.gD)({key:"openInstaModalOnIconClick",get:function(t){var e,n,r=(0,t.get)(o.ZE),a=[i.N.RIGHTTOYOTA];return null!==(e=null==a||null===(n=a.includes)||void 0===n?void 0:n.call(a,r))&&void 0!==e&&e}}),(0,r.gD)({key:"openTwitterModalOnIconClick",get:function(t){var e,n,r=(0,t.get)(o.ZE),a=[i.N.RIGHTTOYOTA];return null!==(e=null==a||null===(n=a.includes)||void 0===n?void 0:n.call(a,r))&&void 0!==e&&e}}),(0,r.gD)({key:"runmyLeaseId",get:function(t){var e,n=(0,t.get)(o.ZE),r=l(l({},i.N.LANDROVERVENTURA,"6540337e687b16353e300747"),i.N.JAGUARVENTURA,"654032c1687b16353e300746");return null!==(e=null==r?void 0:r[n])&&void 0!==e?e:""}}),(0,r.gD)({key:"showAdditionalLogoForNorwalkToyota",get:function(t){var e=(0,t.get)(o.ZE);return[i.N.NORWALKTOYOTA].includes(e)}}),(0,r.gD)({key:"addTrimToCarTitle",get:function(t){var e=(0,t.get)(o.ZE);return[i.N.BEAMANTOYOTA,i.N.PUTNAMTOYOTA].includes(e)}}),(0,r.gD)({key:"siteNameToyotaLasVegas",get:function(t){var e=(0,t.get)(o.ZE);return[i.N.TOYOTAOFLASVEGAS].includes(e)}})),m=((0,r.gD)({key:"showMobileBtnNav",get:function(t){var e=(0,t.get)(o.ZE);return[i.N.SUBURBANTOYOTA,i.N.NORWALKTOYOTA,i.N.TOYOTAOFMIDLAND,i.N.FINDLAYTOYOTAHENDERSON,i.N.BEAMANTOYOTA,i.N.JOHNSONCITYTOYOTA,i.N.BEAMANTOYOTA,i.N.TOYOTAOFMILPITAS,i.N.FINDLAYTOYOTA].includes(e)}}),(0,r.gD)({key:"siteNameNorwalkToyota",get:function(t){var e=(0,t.get)(o.ZE);return[i.N.NORWALKTOYOTA].includes(e)}}),(0,r.gD)({key:"renderVehicleVinOnSrp",get:function(t){var e=(0,t.get)(o.ZE);return[i.N.TOYOTAOFLASVEGAS].includes(e)}})),N=(0,r.gD)({key:"showAutoHubButton",get:function(t){var e=(0,t.get)(o.ZE);return[i.N.HONDASIERRA,i.N.TOYOTASB,i.N.NORWALKTOYOTA].includes(e)}}),E=((0,r.gD)({key:"showAutoHubSideButton",get:function(t){var e=(0,t.get)(o.ZE);return[i.N.NISSANOFVANNUYS].includes(e)}}),(0,r.gD)({key:"scheduleYourTestDriveButtonText",get:function(t){var e="Test Drive Today";return(0,t.get)(o.ZE)===i.N.MLADYNISSAN&&(e="SCHEDULE YOUR TEST DRIVE"),e}}),(0,r.gD)({key:"showCallUsInfoInOffers",get:function(t){var e=(0,t.get)(o.ZE);return[""].includes(e)}})),O=(0,r.gD)({key:"showVehicleStatus",get:function(t){var e=(0,t.get)(o.Hs);return["jaguar","landrover"].includes(e)}}),w=((0,r.gD)({key:"showBannerSearchTitle",get:function(t){var e=(0,t.get)(o.ZE);return[i.N.HUDSONAUTO].includes(e)}}),(0,r.gD)({key:"showCalculatorInModal",get:function(t){var e=(0,t.get)(o.ZE);return[i.N.MLADYNISSAN].includes(e)}}),(0,r.gD)({key:"dropdownIncentives",get:function(t){var e=(0,t.get)(o.ZE);return[i.N.MYGASTONIANISSAN].includes(e)}}),(0,r.gD)({key:"dropdownVdpFormAtom",get:function(t){var e=(0,t.get)(o.ZE);return[""].includes(e)}}),(0,r.K0)({key:"showTotalPriceDisclaimer",get:function(t){var e=t.totalPriceDisclaimer;return function(t){var n=t.get;if(!e)return!1;var r=n(o.ZE);return!![i.N.MBOFROCKLIN].includes(r)}}})),A=(0,r.gD)({key:"showSrpLeadForm",get:function(t){var e=(0,t.get)(o.ZE);return[i.N.CLAREMONTTOYOTA,i.N.TOYOTAHUNTINGTONBEACH,i.N.FINDLAYTOYOTAHENDERSON].includes(e)}}),T=(0,r.gD)({key:"hideTimeSortingOptions",get:function(t){var e=(0,t.get)(o.ZE);return[i.N.MBCINCY,i.N.WESTCHESTERBENZ,i.N.BEAMANTOYOTA].includes(e)}}),S=(0,r.gD)({key:"srpPageType",get:function(t){var e,n=(0,t.get)(o.Hs),r={lexuscanadatheme1:"Vehicle Listing",toyotacanadatheme1:"Vehicle Listing"};return(null!==(e=null==r?void 0:r[n])&&void 0!==e?e:"srp")||"srp"}}),b=(0,r.gD)({key:"formDisclaimerText",get:(s=u().mark((function t(e){var n,r,i,a,c;return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.get,r=n(o.eJ),i=n(o.yK),a=["982","968","967"].toString(),c="By clicking submit, I consent to receive marketing emails/calls/text messages,\n    including calls/texts made using an autodialer or a pre-rerecorded voice message,\n     by or on behalf of ".concat(i,", to the email and/or phone number(s) provided.\n       My consent is not required as a condition of purchase.  Message and data rates may apply.  I may opt-out at any time."),t.abrupt("return",a.includes(r)?c:"");case 7:case"end":return t.stop()}}),t)})),f=function(){var t=this,e=arguments;return new Promise((function(n,r){var o=s.apply(t,e);function i(t){c(o,n,r,i,a,"next",t)}function a(t){c(o,n,r,i,a,"throw",t)}i(void 0)}))},function(t){return f.apply(this,arguments)})}),L=((0,r.gD)({key:"showServiceNumberInFooter",get:function(t){var e=(0,t.get)(o.ZE);return[i.N.MLADYNISSAN,i.N.NISSANOFVANNUYS].includes(e)}}),(0,r.gD)({key:"showPartsNumberInFooter",get:function(t){var e=(0,t.get)(o.ZE);return[i.N.NISSANOFVANNUYS].includes(e)}}),(0,r.gD)({key:"isToyotaCanada",get:function(t){var e,n=(0,t.get)(o.Hs),r=["lexuscanadatheme1","toyotacanadatheme1"];return null==r||null===(e=r.includes)||void 0===e?void 0:e.call(r,n)}})),D=(0,r.gD)({key:"hideFiltersInSrpInfoBar",get:function(t){var e,n=(0,t.get)(o.Hs),r={jaguar:["make"],landrover:["make","standardbody"]};return null!==(e=null==r?void 0:r[n])&&void 0!==e?e:[]}}),I=(0,r.gD)({key:"hideBlogTitle",get:function(t){var e=(0,t.get)(o.ZE);return[i.N.BEACHCITIESTOYOTAWESTMINSTER,i.N.ONEILNISSAN].includes(e)}}),k=(0,r.gD)({key:"dashedBlogTitle",get:function(t){var e=(0,t.get)(o.ZE);return[i.N.LANDROVERFAIRFIELD].includes(e)}}),x=(0,r.gD)({key:"paragraphTagBlogTitle",get:function(t){var e=(0,t.get)(o.ZE);return[i.N.LANDROVERFAIRFIELD].includes(e)}}),R=((0,r.gD)({key:"replceUsedToPreowned",get:function(t){var e=(0,t.get)(o.ZE),n=[i.N.TOWNTOYOTADEMO,i.N.BEACHCITIESTOYOTAWESTMINSTER];return null==n?void 0:n.includes(e)}}),(0,r.gD)({key:"leastYearLimitedWarranty",get:function(t){var e,n=(0,t.get)(o.ZE),r=l({},i.N.TOYOTAOFMIDLAND,2018);return null!==(e=null==r?void 0:r[n])&&void 0!==e?e:2017}}),(0,r.gD)({key:"showElectricBadge",get:function(t){var e=(0,t.get)(o.ZE),n=[i.N.MBOFEDH,i.N.MBSACRAMENTO,i.N.MBOFROCKLIN,i.N.MBESCONDIDO,i.N.MBWESTCOVINA,i.N.WESTCHESTERBENZ,i.N.MBCINCY];return null==n?void 0:n.includes(e)}})),j=(0,r.gD)({key:"hideMinusSignFromCashIncentives",get:function(t){var e=(0,t.get)(o.ZE),n=[i.N.HONDAOFINDIANTRAIL,i.N.HONDAMORRISTOWN];return null==n?void 0:n.includes(e)}}),C=(0,r.gD)({key:"showAllLanguagesTranslater",get:function(t){var e=(0,t.get)(o.ZE),n=[i.N.TITANNISSAN];return null==n?void 0:n.includes(e)}}),M=(0,r.gD)({key:"forceAppendCdnUrl",get:function(t){var e=(0,t.get)(o.Hs);return["toyotatheme1","toyotatheme2","toyotatheme3","toyotatheme4","toyotatheme5","toyotacanadatheme1"].includes(e)}}),Y=(0,r.gD)({key:"showRangeFilters",get:function(t){var e=(0,t.get)(o.ZE),n=[i.N.ONEILNISSAN];return null==n?void 0:n.includes(e)}}),_=(0,r.gD)({key:"shouldShowComingSoonImg",get:function(t){var e=(0,t.get)(o.ZE);return[i.N.LANDROVERVENTURA,i.N.CINCINNATILANDROVER,i.N.LANDROVERPRINCETON,i.N.LANDROVERFAIRFIELD].includes(e)}})},29919:(t,e,n)=>{n.d(e,{H:()=>u});var r=n(83908),o=n(96540),i=n(23099),a=n(74848),u=(0,o.memo)((function(t){var e=t.id,n=t.children,u=(0,i.lZ)(r.q);return(0,o.useEffect)((function(){return u((function(t){var r,o,i=new Map(t),a=null!==(r=null===(o=i.get(e))||void 0===o?void 0:o.count)&&void 0!==r?r:0;return i.set(e,{children:n,count:a+1}),i})),function(){u((function(t){var n,r=new Map(t),o=r.get(e),i=null!==(n=null==o?void 0:o.count)&&void 0!==n?n:0;return i-1<=0?r.delete(e):i&&null!=o&&o.children&&r.set(e,{children:o.children,count:i-1}),r}))}}),[]),(0,a.jsx)(a.Fragment,{})}))},51998:(t,e,n)=>{n.r(e),n.d(e,{default:()=>F});var r=n(33947),o=n(96540),i=n(18857),a=n(23099),u=n(40780),c=n(41319),l=n(51158),s=n(46942),f=n.n(s),d=n(49188),h=n(68903),v=n(27957);function p(t){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},p(t)}function g(){g=function(){return e};var t,e={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function l(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,n){return t[e]=n}}function s(t,e,n,r){var i=e&&e.prototype instanceof N?e:N,a=Object.create(i.prototype),u=new R(r||[]);return o(a,"_invoke",{value:D(t,n,u)}),a}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var d="suspendedStart",h="suspendedYield",v="executing",y="completed",m={};function N(){}function E(){}function O(){}var w={};l(w,a,(function(){return this}));var A=Object.getPrototypeOf,T=A&&A(A(j([])));T&&T!==n&&r.call(T,a)&&(w=T);var S=O.prototype=N.prototype=Object.create(w);function b(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function L(t,e){function n(o,i,a,u){var c=f(t[o],t,i);if("throw"!==c.type){var l=c.arg,s=l.value;return s&&"object"==p(s)&&r.call(s,"__await")?e.resolve(s.__await).then((function(t){n("next",t,a,u)}),(function(t){n("throw",t,a,u)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return n("throw",t,a,u)}))}u(c.arg)}var i;o(this,"_invoke",{value:function(t,r){function o(){return new e((function(e,o){n(t,r,e,o)}))}return i=i?i.then(o,o):o()}})}function D(e,n,r){var o=d;return function(i,a){if(o===v)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:t,done:!0}}for(r.method=i,r.arg=a;;){var u=r.delegate;if(u){var c=I(u,r);if(c){if(c===m)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===d)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=v;var l=f(e,n,r);if("normal"===l.type){if(o=r.done?y:h,l.arg===m)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(o=y,r.method="throw",r.arg=l.arg)}}}function I(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,I(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),m;var i=f(o,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,m;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,m):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,m)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function x(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function R(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function j(e){if(e||""===e){var n=e[a];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return i.next=i}}throw new TypeError(p(e)+" is not iterable")}return E.prototype=O,o(S,"constructor",{value:O,configurable:!0}),o(O,"constructor",{value:E,configurable:!0}),E.displayName=l(O,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===E||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,O):(t.__proto__=O,l(t,c,"GeneratorFunction")),t.prototype=Object.create(S),t},e.awrap=function(t){return{__await:t}},b(L.prototype),l(L.prototype,u,(function(){return this})),e.AsyncIterator=L,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new L(s(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},b(S),l(S,c,"Generator"),l(S,a,(function(){return this})),l(S,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},e.values=j,R.prototype={constructor:R,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(x),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return u.type="throw",u.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),l=r.call(a,"finallyLoc");if(c&&l){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!l)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,m):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),m},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),x(n),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;x(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:j(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),m}},e}function y(t,e,n,r,o,i,a){try{var u=t[i](a),c=u.value}catch(t){return void n(t)}u.done?e(c):Promise.resolve(c).then(r,o)}function m(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i,a,u=[],c=!0,l=!1;try{if(i=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(u.push(r.value),u.length!==e);c=!0);}catch(t){l=!0,o=t}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw o}}return u}}(t,e)||function(t,e){if(t){if("string"==typeof t)return N(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?N(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function N(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var E=5e3,O=1e4;function w(){return(0,v.E)()?O:E}function A(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:w(),i=(0,r.zy)(),a=m((0,o.useState)({headerScripts:[],footerScripts:[]}),2),u=a[0],c=a[1];(0,o.useEffect)((function(){var e;(e=g().mark((function e(){var r,o,i;return g().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t){e.next=9;break}return e.next=3,Promise.resolve().then(n.bind(n,68903));case 3:return r=e.sent,o=r.getScripts,e.next=7,o(t);case 7:i=e.sent,c(i);case 9:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(t){y(i,r,o,a,u,"next",t)}function u(t){y(i,r,o,a,u,"throw",t)}a(void 0)}))})()}),[]);var l=(0,o.useRef)([]),s=function(){l.current.forEach((function(t){t.remove()})),l.current=[]},f=function(t,n){(0,h.extractAsReactElements)(t.elements).filter((function(t){return"script"===t.type||"meta"===t.type})).forEach((function(r){var o,i,a;"header"===n&&"meta"===r.type?(o=l,i=r,a=document.createElement("meta"),Object.entries(i.props).forEach((function(t){var e=m(t,2),n=e[0],r=e[1];"children"!==n&&(a[n]=r)})),document.head.appendChild(a),o.current.push(a)):function(t,e,n,r,o){var i,a,u="header"===n?document.head:document.body;if(null!==(i=e.props)&&void 0!==i&&i.src||null!==(a=e.props)&&void 0!==a&&a.dangerouslySetInnerHTML){var c=document.createElement("script");Object.entries(e.props).forEach((function(t){var e=m(t,2),n=e[0],r=e[1];"children"!==n&&"dangerouslySetInnerHTML"!==n&&c.setAttribute(n,r),"dangerouslySetInnerHTML"===n&&(c.innerHTML=null==r?void 0:r.__html)})),-1!==c.src.indexOf("askava")&&(c.onload=function(){var t;"function"==typeof(null===(t=window)||void 0===t||null===(t=t.askAva)||void 0===t?void 0:t.__load)&&askAva.__load()}),-1!==c.src.indexOf("les_video")&&(c.onload=function(){"function"==typeof window.int_les_vid&&window.int_les_vid()}),r?function(t,e,n,r){setTimeout((function(){e.appendChild(n),t.current.push(n)}),r)}(t,u,c,o):function(t,e,n){e.appendChild(n),t.current.push(n)}(t,u,c)}}(l,r,n,t.shouldDelayLoad,e)}))},v=function(t){return function(e){return e.page===t||"all"===e.page&&e.shouldDelayLoad}};(0,o.useEffect)((function(){s();var t=setTimeout((function(){!function(t){var e;if("/"===t.pathname&&(u.headerScripts.filter(v("homepage")).forEach((function(t){return f(t,"header")})),u.footerScripts.filter(v("homepage")).forEach((function(t){return f(t,"footer")}))),null!==(e=t.pathname)&&void 0!==e&&e.startsWith("/inventory")){var n,r=null==t||null===(n=t.pathname)||void 0===n||null===(n=n.split("/"))||void 0===n?void 0:n.filter(Boolean),o=null==r?void 0:r[r.length-1],i=(null!=o?o:"").split("-"),a=i[i.length-1];(0,d.w2)(a)||(u.headerScripts.filter(v("srp")).forEach((function(t){return f(t,"header")})),u.footerScripts.filter(v("srp")).forEach((function(t){return f(t,"footer")}))),(0,d.w2)(a)&&(u.headerScripts.filter(v("vdp")).forEach((function(t){return f(t,"header")})),u.footerScripts.filter(v("vdp")).forEach((function(t){return f(t,"footer")})))}}(i)}),500);return function(){s(),t&&clearTimeout(t)}}),[u,i.key])}var T=n(74848),S=(0,o.createContext)({requestScriptMap:new Map}),b=function(t){var e=t.children,n=t.requestScriptMap;return(0,T.jsx)(S.Provider,{value:{requestScriptMap:n},children:e})},L=n(11734),D=n(85865),I=n(80413),k=n(44702);const x=function(){var t=(0,r.zy)(),e=(0,o.useRef)(0),n=(0,a.lZ)(l.VH);return console.log("start time",new Date),(0,o.useEffect)((function(){e.current&&clearTimeout(e.current),e.current=setTimeout((function(){console.log("end time",new Date),n(!0)}),3e5)}),[t.key]),null};var R=function(t,e){return t.substring(0,e)},j=function(t){var e=[];return t.forEach((function(t,n){"*"===t&&e.push(n)})),e},C=function(t){return t.match(/\*/g)},M=new RegExp("vixen-special-redirect","g"),Y=function(t){var e=t.children,n=(0,r.zy)(),o=n.pathname,i=n.search,c=(0,a.vc)(u.of),l=(0,a.vc)(u.s7),s=o;s.match(M)&&(s=s.replace(M,"."));var f=function(t,e,n,r){var o="";if(t){var i=(null!=t&&t.endsWith("/")?t:"".concat(t,"/"))+e;Object.keys(n).forEach((function(t){t.split(",").forEach((function(e){var a,u,c,l,s=e;null!==(a=s)&&void 0!==a&&a.startsWith("http")&&(s=null!==(c=null===(l=new URL(e))||void 0===l?void 0:l.pathname)&&void 0!==c?c:"/"),s.startsWith("/")||(s="/".concat(s));var f,d,h,v=new URL(s,"https://www.foxdealer.com/"),p=(v.pathname.endsWith("/")?v.pathname:"".concat(v.pathname,"/"))+v.search;p===i&&(o=n[t]),null!=Object&&null!==(u=Object.keys)&&void 0!==u&&null!==(u=u.call(Object,n))&&void 0!==u&&u.includes(o)&&(o=n[o]),r&&(d=i,h=(f=p).indexOf("*"),R(f,h)===R(d,h)&&(C(p)&&C(n[t])?o=function(t,e,n){var r=t.split("/"),o=n.split("/"),i=j(r),a=j(o);i.length===a.length&&i.forEach((function(t,n){o.splice(a[n],1,e.split("/")[t])}));var u=o.filter((function(t){return t})).join("/");return C(u)?e:"".concat(u).concat(u.endsWith("/")?"":"/")}(e,i,n[t]):C(p)&&(o=n[t])))}))}))}return o}(s,i,c,l),d=new URL(f,"https://www.foxdealer.com/");return s===f||"".concat(s,"/")===f?(0,T.jsx)(T.Fragment,{children:e}):f&&!f.startsWith("http")?(0,T.jsx)(r.rd,{to:{pathname:null==d?void 0:d.pathname,search:null==d?void 0:d.search},statusCode:301,replace:!0}):f?"undefined"!=typeof window?(window.location.href=f,(0,T.jsx)(T.Fragment,{})):(0,T.jsx)(T.Fragment,{}):(0,T.jsx)(T.Fragment,{children:e})},_=n(32389);const F=(0,o.memo)((function(t){var e,n,s,d,h,v,p,g=t.siteConfig,y=t.platform,m=t.siteUrl,N=t.i18nextInstance,E=(0,r.zy)(),O=(0,r.VL)(),S=O.setValue,R=O.getValue,j=(0,r.bk)(),C=j.setSyncData,M=j.getSyncData,F=(0,i.JK)(E.pathname),Z="undefined"!=typeof window&&window._request_version?window._request_version:Date.now(),H=(0,o.useMemo)((function(){return new Map}),[]);(0,o.useEffect)((function(){window.scrollTo(0,0),(0,c.f4)()}),[E.key]);var P=Number(null!==(e=new URLSearchParams(null==E?void 0:E.search).get("deferTime"))&&void 0!==e?e:w());A(g.uniqueId,P);var G=(0,o.useMemo)((function(){return function(t){var e=t.set;e(u.Hd,g),e(l.A4,"desktop"!==y),e(D.$p,{setRequestVar:S,getRequestVar:R}),e(D.Tm,{setSyncData:C,getSyncData:M}),e(u.sW,m)}}),[]),V=!F&&(null!==(n=null===(s=g.siteLanguages)||void 0===s?void 0:s.length)&&void 0!==n?n:1)>1,B=(null==E||null===(d=E.pathname)||void 0===d?void 0:d.length)>1&&!(null!=E&&null!==(h=E.pathname)&&void 0!==h&&h.endsWith("/"))&&0===(null==E||null===(v=E.search)||void 0===v?void 0:v.length);if((0,o.useEffect)((function(){var t=function(){};return V||B||((0,c.UU)(g),(0,c.L0)(),t=(0,c.qG)()),t}),[V,B]),(0,o.useEffect)((function(){var t;if(null!=g&&null!==(t=g.options)&&void 0!==t&&null!==(t=t.ascbSettings)&&void 0!==t&&t.isEnabled){for(var e,n,r,o=null!==(e=JSON.parse(null!==(n=null==g||null===(r=g.options)||void 0===r||null===(r=r.ascbSettings)||void 0===r?void 0:r.ascbOptions)&&void 0!==n?n:"{}"))&&void 0!==e?e:{},i={mobile:{}},a=0;a<(null===(u=Object.keys(o))||void 0===u?void 0:u.length);a++){var u,c,l,s,f,d,h,v;null!==(c=Object.keys(o))&&void 0!==c&&null!==(c=c[a])&&void 0!==c&&null!==(l=(s=c).includes)&&void 0!==l&&l.call(s,"mobile")?i.mobile["".concat(null===(f=Object.keys(o))||void 0===f||null===(f=f[a])||void 0===f?void 0:f.replace("fdi_ada_mobileT","t"))]=o[null===(d=Object.keys(o))||void 0===d?void 0:d[a]]:i["".concat(null===(h=Object.keys(o))||void 0===h||null===(h=h[a])||void 0===h?void 0:h.replace("fdi_ada_",""))]=o[null===(v=Object.keys(o))||void 0===v?void 0:v[a]]}var p=document.createElement("script");p.src="https://acsbapp.com/apps/app/dist/js/app.js",p.async=!0,p.onload=function(){var t,e;"function"==typeof(null===(t=window)||void 0===t?void 0:t.acsbJS.init)&&(null===(e=window)||void 0===e||null===(e=e.acsbJS)||void 0===e||e.init(null!=i?i:{}))},document.head.appendChild(p)}}),[]),(0,o.useEffect)((function(){var t="".concat(document.location.protocol,"//script.crazyegg.com/pages/scripts/0064/3225.js?").concat(Math.floor((new Date).getTime()/36e5));(0,k.k)(t)}),[]),V)return(0,T.jsx)(r.rd,{to:{pathname:"/".concat((0,i.i5)()).concat(E.pathname),search:E.search,hash:E.hash},replace:!0,statusCode:302});if(B){var U=new URL(m.slice(0,m.length-1),"https://www.foxdealer.com/");return(0,T.jsx)(r.rd,{to:{pathname:"".concat(E.pathname,"/"),search:U.search},replace:!0,statusCode:301})}return(0,T.jsxs)("div",{className:f()(g.slug,g.theme),"data-theme":g.theme,"data-site":g.slug,"data-site-unique-id":I.H[null!==(p=null==g?void 0:g.siteId)&&void 0!==p?p:""]||"","data-siteurl":m,children:[(0,T.jsx)("script",{dangerouslySetInnerHTML:{__html:"window._request_version=".concat(Z)}}),(0,T.jsx)(_.xC,{i18n:N,children:(0,T.jsx)(a.bi,{initializeState:G,children:(0,T.jsx)(b,{requestScriptMap:H,children:(0,T.jsx)(r.tH,{FallbackComponent:L.x,children:(0,T.jsxs)(Y,{children:[(0,T.jsx)(r.sv,{}),(0,T.jsx)(x,{})]})})})})})]})}))},27957:(t,e,n)=>{n.d(e,{E:()=>i});var r=n(96540);function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function i(){var t,e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:768,i="undefined"==typeof window,a=(t=(0,r.useState)(i?1024:window.innerWidth),e=2,function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i,a,u=[],c=!0,l=!1;try{if(i=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(u.push(r.value),u.length!==e);c=!0);}catch(t){l=!0,o=t}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw o}}return u}}(t,e)||function(t,e){if(t){if("string"==typeof t)return o(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),u=a[0],c=a[1];return(0,r.useEffect)((function(){if(!i){var t=function(){c(window.innerWidth)};return window.addEventListener("resize",t),function(){window.removeEventListener("resize",t)}}}),[i]),u<=n}},44702:(t,e,n)=>{n.d(e,{k:()=>o});var r={};function o(t){return new Promise((function(e,n){if("loaded"!==r[t])if("loading"!==r[t]){r[t]="loading";var o=document.createElement("script");o.src=t,o.defer=!0,o.async=!0,o.addEventListener("load",(function(){setTimeout((function(){r[t]="loaded",e()}),100)})),o.addEventListener("error",(function(){r[t]="error",n(new Error("Failed to load script: ".concat(t)))})),document.head.appendChild(o)}else{var i=document.querySelector('script[src="'.concat(t,'"]'));i&&(i.addEventListener("load",(function(){r[t]="loaded",e()})),i.addEventListener("error",(function(){r[t]="error",n(new Error("Failed to load script: ".concat(t)))})))}else e()}))}}}]);