/*! For license information please see 940-bdf1bbd79edf5e0683ca.js.LICENSE.txt */
"use strict";(self.webpackChunkvixen=self.webpackChunkvixen||[]).push([[940],{4239:(t,e,r)=>{r.d(e,{q:()=>u});var n=r(3099),o=r(5865);function i(t){return i="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},i(t)}function a(){a=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},c="function"==typeof Symbol?Symbol:{},u=c.iterator||"@@iterator",l=c.asyncIterator||"@@asyncIterator",s=c.toStringTag||"@@toStringTag";function f(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(t){f=function(t,e,r){return t[e]=r}}function p(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new k(n||[]);return o(a,"_invoke",{value:I(t,r,c)}),a}function d(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=p;var h="suspendedStart",v="suspendedYield",y="executing",g="completed",N={};function m(){}function O(){}function A(){}var b={};f(b,u,(function(){return this}));var T=Object.getPrototypeOf,E=T&&T(T(j([])));E&&E!==r&&n.call(E,u)&&(b=E);var w=A.prototype=m.prototype=Object.create(b);function S(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function L(t,e){function r(o,a,c,u){var l=d(t[o],t,a);if("throw"!==l.type){var s=l.arg,f=s.value;return f&&"object"==i(f)&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,c,u)}),(function(t){r("throw",t,c,u)})):e.resolve(f).then((function(t){s.value=t,c(s)}),(function(t){return r("throw",t,c,u)}))}u(l.arg)}var a;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return a=a?a.then(o,o):o()}})}function I(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===g){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=x(c,n);if(u){if(u===N)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=d(e,r,n);if("normal"===l.type){if(o=n.done?g:v,l.arg===N)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=g,n.method="throw",n.arg=l.arg)}}}function x(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,x(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),N;var i=d(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,N;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,N):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,N)}function R(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 D(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function k(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(R,this),this.reset(!0)}function j(e){if(e||""===e){var r=e[u];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(i(e)+" is not iterable")}return O.prototype=A,o(w,"constructor",{value:A,configurable:!0}),o(A,"constructor",{value:O,configurable:!0}),O.displayName=f(A,s,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===O||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,A):(t.__proto__=A,f(t,s,"GeneratorFunction")),t.prototype=Object.create(w),t},e.awrap=function(t){return{__await:t}},S(L.prototype),f(L.prototype,l,(function(){return this})),e.AsyncIterator=L,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new L(p(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},S(w),f(w,s,"Generator"),f(w,u,(function(){return this})),f(w,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=j,k.prototype={constructor:k,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(D),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=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 r=this;function o(n,o){return c.type="throw",c.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(u){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 r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.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,N):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),N},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),D(r),N}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;D(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:j(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),N}},e}function c(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}var u=(0,n.K0)({key:"wp-pages",get:function(t){var e=t.slug,r=t.blogType;return function(){var t,n=(t=a().mark((function t(n){var i;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i=n.get,e){t.next=3;break}return t.abrupt("return",{});case 3:return t.abrupt("return",(0,o.cW)(i,"wp-pages",{slug:e,blogType:null!=r?r:"pages"}));case 4:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){c(i,n,o,a,u,"next",t)}function u(t){c(i,n,o,a,u,"throw",t)}a(void 0)}))});return function(t){return n.apply(this,arguments)}}()}})},1944:(t,e,r)=>{r.d(e,{Cv:()=>N,Q$:()=>g,VN:()=>A,Z3:()=>O,hy:()=>y,k$:()=>m,qE:()=>v,vQ:()=>T,vZ:()=>b});var n=r(3099),o=r(413),i=r(780),a=r(5865);function c(t){return c="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},c(t)}function u(){u=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",l=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function f(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(t){f=function(t,e,r){return t[e]=r}}function p(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new k(n||[]);return o(a,"_invoke",{value:I(t,r,c)}),a}function d(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=p;var h="suspendedStart",v="suspendedYield",y="executing",g="completed",N={};function m(){}function O(){}function A(){}var b={};f(b,a,(function(){return this}));var T=Object.getPrototypeOf,E=T&&T(T(j([])));E&&E!==r&&n.call(E,a)&&(b=E);var w=A.prototype=m.prototype=Object.create(b);function S(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function L(t,e){function r(o,i,a,u){var l=d(t[o],t,i);if("throw"!==l.type){var s=l.arg,f=s.value;return f&&"object"==c(f)&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,a,u)}),(function(t){r("throw",t,a,u)})):e.resolve(f).then((function(t){s.value=t,a(s)}),(function(t){return r("throw",t,a,u)}))}u(l.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function I(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===g){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=x(c,n);if(u){if(u===N)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=d(e,r,n);if("normal"===l.type){if(o=n.done?g:v,l.arg===N)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=g,n.method="throw",n.arg=l.arg)}}}function x(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,x(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),N;var i=d(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,N;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,N):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,N)}function R(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 D(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function k(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(R,this),this.reset(!0)}function j(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return i.next=i}}throw new TypeError(c(e)+" is not iterable")}return O.prototype=A,o(w,"constructor",{value:A,configurable:!0}),o(A,"constructor",{value:O,configurable:!0}),O.displayName=f(A,s,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===O||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,A):(t.__proto__=A,f(t,s,"GeneratorFunction")),t.prototype=Object.create(w),t},e.awrap=function(t){return{__await:t}},S(L.prototype),f(L.prototype,l,(function(){return this})),e.AsyncIterator=L,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new L(p(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},S(w),f(w,s,"Generator"),f(w,a,(function(){return this})),f(w,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=j,k.prototype={constructor:k,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(D),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=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 r=this;function o(n,o){return c.type="throw",c.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(u){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 r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.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,N):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),N},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),D(r),N}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;D(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:j(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),N}},e}function l(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function s(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){l(i,n,o,a,c,"next",t)}function c(t){l(i,n,o,a,c,"throw",t)}a(void 0)}))}}function f(t,e,r){var n;return n=function(t,e){if("object"!=c(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=c(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(e),(e="symbol"==c(n)?n:n+"")in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var p,d,h,v=(0,n.gD)({key:"cap-one-token",get:function(t){var e,r,n=(0,t.get)(i.ZE),a=(f(f(f(f(f(f(f(f(f(f(e={},o.N.CLAREMONTTOYOTA,"3ba1a1aa-7b04-4a9c-8def-9b963b9cacd1"),o.N.MLADYNISSAN,"bc6fc8f4-82ba-4f0e-a94f-ef95a6613806"),o.N.HILLTOPNISSAN,"20ad00dd-c1f7-4b49-9d87-761102322e4f"),o.N.TOYOTAHUNTINGTONBEACH,"11c0ed6c-0c6a-4a35-aafb-fff9a6e6b2e3"),o.N.TOYOTAWESTCOVINA,"4ddfb443-c9d5-4adb-a038-3dc554db66f9"),o.N.NORWALKTOYOTA,"9da0d33a-7e03-4beb-a570-8ca1321ec41a"),o.N.CDJRWESTCOVINA,"25cd415d-f36f-482c-bd8d-28c36896b1db"),o.N.HONDAOFINDIANTRAIL,"0df32f00-9c13-4092-b136-59611da97d16"),o.N.NISSANOFALHAMBRA,"542ad70e-bb4f-4d7a-8712-c7e372758d8d"),o.N.TOYOTAOFRIVERSIDE,"d7271831-91c7-4854-afe4-66f44658776d"),f(f(f(f(f(f(f(f(f(f(e,o.N.FINDLAYTOYOTA,"31f2e089-8e21-4833-9129-919f5b254322"),o.N.TOYOTAOFGLENDORA,"3f4405cc-ac34-405b-98ca-9df740e0fb8b"),o.N.FINDLAYTOYOTAHENDERSON,"3af03bd9-d8a3-4fcb-a0d9-c36419ef4202"),o.N.MOUNTAINVIEWCHEVROLET,"4bd5e414-e932-4dab-9d69-4889b0e44afc"),o.N.METRONISSANMONTCLAIR,"7b689853-1ed6-4f97-8252-abf4e5cfee5d"),o.N.NISSANOFVANNUYS,"e3a5408a-a7f9-4188-8391-96d0ed9bc7f5"),o.N.NISSANOFLAGRANGE,"5265ebb5-059a-4c25-95a4-ed8f42643823"),o.N.ALMNISSANNEWNAN,"7e6c4d69-bb05-4276-84f6-f874b5a0bf08"),o.N.PREMIERTOYOTA,"14e561c8-b5a6-4f0f-8c9b-7c50765f6d4d"),o.N.NISSANOFSACRAMENTO,"eae35153-fb1e-4a6c-a30b-dd59bdbe7404"));return null!==(r=null==a?void 0:a[n])&&void 0!==r?r:""}}),y=((0,n.gD)({key:"showCapitalOneChatTool",get:(p=s(u().mark((function t(e){var r,n,a;return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=e.get,n=r(i.ZE),a=[o.N.NISSANOFLAGRANGE],t.abrupt("return",a.includes(n));case 4:case"end":return t.stop()}}),t)}))),function(t){return p.apply(this,arguments)})}),(0,n.gD)({key:"cs-buy-widget-location",get:function(t){var e=(0,t.get)(i.ZE);return[o.N.MLADYNISSAN,o.N.NISSANOFLAGRANGE].includes(e)?"below_price_stack":"below_vehicle_img"}}),(0,n.gD)({key:"edmunds-tools",get:function(t){var e=(0,t.get)(i.ZE);return[o.N.RIGHTTOYOTA,o.N.HILLTOPNISSAN,o.N.TITANNISSAN,o.N.MANHATTANBEACHTOYOTA,o.N.SOUTHBAYTOYOTA,o.N.MBESCONDIDO,o.N.NORWALKTOYOTA,o.N.NISSANOFALHAMBRA].includes(e)}})),g=((0,n.gD)({key:"edmunds-tools-srp",get:function(t){var e=(0,t.get)(i.ZE);return[o.N.RIGHTTOYOTA,o.N.HILLTOPNISSAN,o.N.CDJRWESTCOVINA,o.N.TITANNISSAN,o.N.MANHATTANBEACHTOYOTA,o.N.TOYOTAOFRIVERSIDE,o.N.NORWALKTOYOTA].includes(e)}}),(0,n.gD)({key:"edmunds-tools-hp",get:function(t){var e=(0,t.get)(i.ZE);return[o.N.RIGHTTOYOTA,o.N.TOYOTAOFRIVERSIDE,o.N.NORWALKTOYOTA].includes(e)}}),(0,n.gD)({key:"edmunds-instant-tools",get:function(t){var e=(0,t.get)(i.ZE);return[o.N.CLAREMONTTOYOTA,o.N.MANHATTANBEACHTOYOTA,o.N.WOODLANDHILLSHONDA].includes(e)}}),(0,n.gD)({key:"edmunds-instant-offer-trigger",get:function(t){var e=(0,t.get)(i.ZE);return[o.N.WOODLANDHILLSHONDA].includes(e)}})),N=(0,n.gD)({key:"edmunds-tools-url",get:function(t){var e=(0,t.get)(i.ZE);return[o.N.CDJRWESTCOVINA,o.N.NORWALKTOYOTA,o.N.MBESCONDIDO].includes(e)}}),m=((0,n.gD)({key:"tradepending",get:function(t){var e=(0,t.get)(i.ZE);return[o.N.MURRAYCADILLACMOOSEJAW,o.N.MURRAYMEDICINEHATCADILLAC,o.N.MURRAYCADILLACABBOTSFORD,o.N.MURRAYCADILLAC,o.N.MURRAYCADILLACBRANDON].includes(e)}}),(0,n.gD)({key:"fixedopsscript",get:(d=s(u().mark((function t(e){var r,n,a;return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=e.get,n=r(i.ZE),a=[o.N.MYGASTONIANISSAN],t.abrupt("return",a.includes(n));case 4:case"end":return t.stop()}}),t)}))),function(t){return d.apply(this,arguments)})}),(0,n.gD)({key:"showCapitalOneCalculatorAtom",get:(h=s(u().mark((function t(e){var r,n,a;return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=e.get,n=r(i.ZE),a=[o.N.NORWALKTOYOTA,o.N.TOYOTAWESTCOVINA,o.N.TOYOTAOFGLENDORA],t.abrupt("return",a.includes(n));case 4:case"end":return t.stop()}}),t)}))),function(t){return h.apply(this,arguments)})}),(0,n.gD)({key:"showTextium",get:function(t){var e=(0,t.get)(i.ZE);return[""].includes(e)}}),(0,n.gD)({key:"displayTextiumCentered",get:function(t){var e=(0,t.get)(i.ZE);return[""].includes(e)}}),(0,n.gD)({key:"hideTextiumOnMobile",get:function(t){var e=(0,t.get)(i.ZE);return[""].includes(e)}}),(0,n.gD)({key:"reelupsDelaerId",get:function(t){var e=(0,t.get)(i.ZE),r=f({},o.N.ONEILNISSAN,"41363588");return null==r?void 0:r[e]}}),(0,n.gD)({key:"cap-one-vdp-class",get:function(t){var e,r=(0,t.get)(i.ZE),n=f(f(f(f(f({},o.N.TOYOTAOFGLENDORA,"capital-one-stacked-button"),o.N.NISSANOFLAGRANGE,"capital-one-stacked-button"),o.N.ALMNISSANNEWNAN,"capital-one-stacked-button"),o.N.PREMIERTOYOTA,"capital-one-stacked-button"),o.N.NISSANOFSACRAMENTO,"capital-one-stacked-button");return null!==(e=null==n?void 0:n[r])&&void 0!==e?e:""}}),(0,n.gD)({key:"cap-one-srp-class",get:function(t){var e,r=(0,t.get)(i.ZE),n=f(f(f(f(f({},o.N.TOYOTAOFGLENDORA,"capital-one-stacked-button"),o.N.METRONISSANMONTCLAIR,"capital-one-stacked-button"),o.N.ALMNISSANNEWNAN,"capital-one-stacked-button"),o.N.PREMIERTOYOTA,"capital-one-stacked-button"),o.N.NISSANOFSACRAMENTO,"capital-one-stacked-button");return null!==(e=null==n?void 0:n[r])&&void 0!==e?e:""}})),O=((0,n.gD)({key:"cap-one-QV-class",get:function(t){var e,r=(0,t.get)(i.ZE),n=f({},o.N.NISSANOFVANNUYS,"capital-one-stacked-button");return null!==(e=null==n?void 0:n[r])&&void 0!==e?e:""}}),(0,n.gD)({key:"loadTradePendingEventEmitter",get:function(t){var e=(0,t.get)(i.ZE);return[o.N.TOYOTAOFLASVEGAS,o.N.FINDLAYTOYOTAHENDERSON,o.N.SUNRISEFORDFONTANA2,o.N.HONDAOFINDIANTRAIL,o.N.BOBSMITHTOYOTA,o.N.ROCKHILLNISSAN].includes(e)}}),(0,n.gD)({key:"loadNcsEventEmitter",get:function(t){var e=(0,t.get)(i.ZE);return[o.N.ONEILNISSAN].includes(e)}}),(0,n.gD)({key:"showNexteppeVideo",get:function(t){var e=(0,t.get)(i.ZE);return[o.N.TITANNISSAN].includes(e)}})),A=(0,n.gD)({key:"showUpdatedCarnowCtas",get:function(t){var e,r=(0,t.get)(i.ZE),n=[o.N.PREMIERTOYOTA,o.N.TOYOTAWESTCOVINA];return null==n||null===(e=n.includes)||void 0===e?void 0:e.call(n,r)}}),b=(0,n.K0)({key:"carNowCtas",get:function(t){return function(e){var r,n=(0,e.get)(i.ZE),a=function(e,r,n,o){return{onClick:function(){var n,o;"function"==typeof(null===(n=window)||void 0===n||null===(n=n.CNPC)||void 0===n?void 0:n.launch)&&(null===(o=window)||void 0===o||null===(o=o.CNPC)||void 0===o||o.launch(void 0,{tree:e,dept:r,re_engage:!0,vin:t}))},ctaText:n,dataIndex:"5033",dataName:"Custom Tree Button",class:o}},c=a("1000_V2_TEST_DRIVE",2844,"Schedule Test Drive",["primary_Btn","carnow_Btn"]),u=a("1000_V2_TRADE_TRIM",3346,"Value Your Trade",["black_Btn","carnow_Btn"]),l=a("CHECK_AVAILABILITY_2022UPDATED",14431,"Confirm Availability",["primary_Btn","carnow_Btn"]),s=f(f(f(f(f({},o.N.PREMIERTOYOTA,{srp:[c,u],vdp:[c,u],qv:[c,u]}),o.N.NORWALKTOYOTA,{srp:[l],vdp:[l]}),o.N.TOYOTAWESTCOVINA,{srp:[c],vdp:[c]}),o.N.TOYOTAWESTCOVINA,{srp:[c],vdp:[c]}),o.N.TOYOTAOFLASVEGAS,{srp:[c],vdp:[u]});return null!==(r=null==s?void 0:s[n])&&void 0!==r?r:""}}}),T=(0,n.K0)({key:"third-party-scripts",get:function(){return function(){var t=s(u().mark((function t(e){var r;return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=e.get,t.abrupt("return",(0,a.cW)(r,"third-party-scripts"));case 2:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()}})},6940:(t,e,r)=>{r.d(e,{e:()=>m});var n=r(6540),o=r(3947),i=r(3099),a=r(5232),c=r(1319),u=r(6750),l=r(780),s=r(4239),f=r(1944),p=r(8903),d=r(4848);function h(t){return h="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},h(t)}function v(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function y(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?v(Object(r),!0).forEach((function(e){var n,o,i,a;n=t,o=e,i=r[e],a=function(t,e){if("object"!=h(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=h(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(o),(o="symbol"==h(a)?a:a+"")in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):v(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function g(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var N=function(t){var e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=new URL(t);return n.search="",null==r||!r.length||null!=n&&n.pathname.includes(r)||(n.pathname=r),null!=n&&null!==(e=n.origin)&&void 0!==e&&e.startsWith("https://www.")||(n.hostname="www.".concat(n.hostname)),n.toString()},m=n.memo((function(t){var e,r,h,v,m,O,A,b,T,E,w=t.pageType,S=t.title,L=t.description,I=t.images,x=t.vehicle,R=t.displayedRecords,D=void 0===R?0:R,k=t.children,j=void 0===k?null:k,_=t.blogType,Y=(0,i.vc)(l.yK),C=(0,i.vc)(l.sW),P=(0,i.vc)(l.NK),F=(0,i.vc)(l.$$),M=(0,o.zy)().pathname,G=M.split("/").filter(Boolean),H=null!==(e=null==G?void 0:G[G.length-1])&&void 0!==e?e:"home-page,front-page",V=["srp","vdp","VLP","Vehicle Details","Vehicle Listing"],W=(0,i.vc)((0,s.q)({slug:V.includes(null!=w?w:"")?"":H,blogType:_})),Z=(0,i.vc)(u.hk),B=function(t,e,r){return t.replace(new RegExp(e.join("|"),"g"),r)}(null!==(r=null==W?void 0:W.yoast_head)&&void 0!==r?r:"",P,F),U=(0,a.Ay)(B),K=(0,i.vc)((0,f.vQ)({})),J=(Array.isArray(U)?U:[U]).filter((function(t){var e;return void 0!==t.type&&"string"!=typeof t&&"canonical"!==(null==t||null===(e=t.props)||void 0===e?void 0:e.rel)}));J.forEach((function(t){var e;if("script"===(null==t?void 0:t.type)&&"yoast-schema-graph"===(null==t||null===(e=t.props)||void 0===e?void 0:e.className))try{var r=JSON.parse(null==t?void 0:t.props.dangerouslySetInnerHTML.__html);r["@graph"].forEach((function(t){"BreadcrumbList"===t["@type"]&&t.itemListElement&&(t.itemListElement=t.itemListElement.filter((function(t){return!t.item.url.includes("wp-json")})))})),t.props.dangerouslySetInnerHTML.__html=JSON.stringify(r)}catch(t){return void console.error("Error parsing JSON in yoast-schema-graph:",t)}}));var q,Q,$=J.find((function(t){var e;return"og:description"===(null==t||null===(e=t.props)||void 0===e?void 0:e.property)})),z=J.find((function(t){var e;return"og:title"===(null==t||null===(e=t.props)||void 0===e?void 0:e.property)})),X=(q=(0,n.useState)({title:null==z||null===(h=z.props)||void 0===h?void 0:h.content,description:null==$||null===(v=$.props)||void 0===v?void 0:v.content,children:J}),Q=2,function(t){if(Array.isArray(t))return t}(q)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(q,Q)||function(t,e){if(t){if("string"==typeof t)return g(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?g(t,e):void 0}}(q,Q)||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.")}()),tt=X[0],et=X[1],rt=N(C,M),nt=(0,n.useMemo)((function(){var t,e;return null!==(t=null===(e=K.scripts)||void 0===e||null===(e=e[0])||void 0===e?void 0:e.data.filter((function(t){return t.third_party_meta_tag__code})).map((function(t){return(0,p.extractAsReactElements)(t.third_party_meta_tag__code)})))&&void 0!==t?t:[]}),[null===(m=K.scripts)||void 0===m?void 0:m[0]]);(0,n.useEffect)((function(){var t,e,r,n;et({title:null!==(t=null==z||null===(e=z.props)||void 0===e||null===(e=e.content)||void 0===e?void 0:e.replace("&#039;","'"))&&void 0!==t?t:"",description:null!==(r=null==$||null===(n=$.props)||void 0===n?void 0:n.content)&&void 0!==r?r:"",children:J});var o,i=document.querySelector("link[rel='canonical']");i&&(i.href=N(C,null===(o=location)||void 0===o?void 0:o.pathname))}),[H]);var ot=null!=V&&null!==(O=V.includes)&&void 0!==O&&O.call(V,null!=w?w:"")?S:(null!==(A=null==tt?void 0:tt.title)&&void 0!==A?A:S)||"".concat(S," | ").concat(null==Y||null===(b=Y.replace)||void 0===b?void 0:b.call(Y,"&#039;","'")),it=null!=V&&null!==(T=V.includes)&&void 0!==T&&T.call(V,null!=w?w:"")?L:(null!==(E=null==tt?void 0:tt.description)&&void 0!==E?E:L)||L;(0,n.useEffect)((function(){(0,c.QF)((null==W?void 0:W.fdi_post_type)||w||"",D,Z,x)}),[w,ot]);var at=(0,i.vc)(u.ve);return(0,d.jsxs)(o.p3,{children:[(0,d.jsx)("title",{children:ot}),(0,d.jsx)("meta",{name:"title",content:ot}),(0,d.jsx)("meta",{name:"twitter:title",content:ot}),(0,d.jsx)("meta",{property:"og:title",content:ot}),(0,d.jsx)("meta",{name:"description",content:it}),(0,d.jsx)("meta",{name:"twitter:description",content:it}),(0,d.jsx)("meta",{property:"og:description",content:it}),(0,d.jsx)("meta",{name:"theme-color",content:at}),(0,d.jsx)(d.Fragment,{children:nt.map((function(t,e){return(0,n.createElement)("meta",y(y({},t[0].props),{},{key:e}))}))}),(0,d.jsx)("link",{rel:"canonical",href:rt}),(0,d.jsx)(d.Fragment,{children:!(null==I||!I.length)&&I.map((function(t,e){return[(0,d.jsx)("meta",{itemProp:"image",content:t},"image-".concat(e)),(0,d.jsx)("meta",{name:"twitter:image:src",content:t},"twitter-image-".concat(e)),(0,d.jsx)("meta",{property:"og:image",content:t},"og-image-".concat(e))]}))}),(0,d.jsxs)(d.Fragment,{children:[!(null==tt||!tt.children)&&(0,d.jsx)(d.Fragment,{children:null==tt?void 0:tt.children}),j]})]})}))}}]);