-
Notifications
You must be signed in to change notification settings - Fork 0
/
Hero.js
2 lines (2 loc) · 214 KB
/
Hero.js
1
2
/*! sdp-prototypes 1.80.0 2022090120f9b809da ed7c9045b8c111c71b14d730224d522f */
webpackJsonp([22,32,105,119,178,179,199],{"+BN5":function(e,t,n){"use strict";var r=n("SpGf");n("XwPX"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n("3dLy")),o=r(n("1n8/")),i=r(n("9qb7")),l=n("2tAt"),s=r(n("Mza1")),u=r(n("2A52"));n("1jzt");var c=function(e){var t=(0,l.convertStringPropsToRichText)(e).buttonGroup,n=t.theme;return o.default.createElement("div",{className:(0,i.default)("button-group-wrapper","gcss-theme-".concat(n)),"data-fe-id":"ButtonBar"},t&&o.default.createElement(s.default,{align:t.align,spacing:t.spacing,cols:{sm:12,xs:6},theme:n},t.buttons.map(function(e){return o.default.createElement(u.default,(0,a.default)({},e,{theme:n,priority:e.priority}))})))};c.defaultProps={theme:"dark"};var d=c;t.default=d},"/EQ2":function(e,t,n){"use strict";n("BKbk"),Object.defineProperty(t,"__esModule",{value:!0}),t.toSeconds=t.preLoadNextImage=t.getNextTimer=t.getInitialTimerIndex=void 0;t.getInitialTimerIndex=function(e){var t=e.phases,n=e.phasesSecondsLeft.findIndex(function(e){return e>0});return n<0?t.length-1:n};t.toSeconds=function(e){return Math.floor(e/1e3)};t.getNextTimer=function(e){var t,n=e.activeTimerIndex,r=e.phasesSecondsLeft,a=r[n+1];return a&&(t=a-r[n]),t};t.preLoadNextImage=function(e){var t=e.phases,n=e.activeTimerIndex,r=e.screen,a=e.isImageLoaded,o=e.setImageLoaded;if(!a){var i=function(e){var t,n,r=e.phases,a=e.activeTimerIndex,o=e.screen,i=o;return"phablet"!==o||(null===(t=r[a+1].images.phabletMedia)||void 0===t?void 0:t.asset)||(i="mobile"),null===(n=r[a+1].images["".concat(i,"Media")].asset)||void 0===n?void 0:n.media.mediaAsset.image.xs}({phases:t,activeTimerIndex:n,screen:r});(new Image).src=i,o(!0)}}},"/RWb":function(e,t,n){"use strict";var r=n("SpGf"),a=n("b9XL");n("XwPX"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,i=r(n("0fcM")),l=r(n("P8NW")),s=r(n("d4H2")),u=r(n("0421")),c=r(n("UJE0")),d=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!=typeof e)return{default:e};var n=h(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=o?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(r,i,l):r[i]=e[i]}r.default=e,n&&n.set(e,r);return r}(n("1n8/")),f=r(n("9qb7")),p=r(n("2tAt")),m=r(n("XleV"));function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(h=function(e){return e?n:t})(e)}function v(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=(0,c.default)(e);if(t){var a=(0,c.default)(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return(0,u.default)(this,n)}}n("gx7F");var g=(0,p.default)(o=function(e){(0,s.default)(n,e);var t=v(n);function n(){return(0,i.default)(this,n),t.apply(this,arguments)}return(0,l.default)(n,[{key:"render",value:function(){var e,t=this.props,n=t.fontColor,r=t.fontSize,a=t.increasedMobileLegibility,o=t.indentation,i=t.items;return d.default.createElement("ul",{className:(0,f.default)("open-hero-bullet-list",n,{"increased-mobile-legibility":a}),"data-fe-id":"OpenHeroBulletList","data-cats-id":"open-hero-bullet-list"},Array.isArray(i)&&i.length&&i.map(function(t){return e=t.disclaimer?d.default.createElement(m.default,{variation:"link",linkText:"Show Disclosure",linkTextClassNames:"gcss-typography-label-4 gcss-colors-text-body-primary",lpos:"disclosure-link"},t.disclaimer):null,d.default.createElement("li",{className:(0,f.default)("open-hero-bullet-list-item","open-hero-bullet-list--margin-".concat(o),r),"data-cats-id":"open-hero-bullet-list-item",key:t.id},t.text," ",e)}))}}]),n}(d.PureComponent))||o;g.defaultProps={indentation:"0"};var y=g;t.default=y},"01Wt":function(e,t,n){"use strict";var r=n("SpGf");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n("fjG6")).default.generateActions("connect","mountData","unmountData","updateData");t.default=a},"0hVu":function(e,t,n){"use strict";var r=n("SpGf");n("d93j"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a,o,i,l=r(n("0fcM")),s=r(n("P8NW")),u=r(n("IxO8")),c=r(n("fjG6")),d=r(n("01Wt")),f=r(n("Nqro")),p=(0,r(n("66eM")).default)((i=o=function(){function e(){(0,l.default)(this,e),this.bindActions(d.default),this.state={heroStoreConnected:this.constructor.hasConnected,heros:{}},this.exportPublicMethods({getCurrentHero:this.getCurrentHero,getUniqueKey:this.getUniqueKey})}return(0,s.default)(e,[{key:"getUniqueKey",value:function(e,t){return this.getUniqueKeyFromStore({className:e,store:this,storeKeyName:this.StoreModel.storeKeyName,useGuid:t})}},{key:"getCurrentHero",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.state.heros[e]||{}}},{key:"removeHero",value:function(e){var t=this.constructor,n=this.state.heros,r=t.removeUniqueKeyFromStore;n[e]&&(n[e]=void 0,r.call(t,{key:e,store:this,storeKeyName:t.storeKeyName}),this.setState({heros:n}),this.emitChange())}},{key:"updateHeros",value:function(e,t){var n=this.state.heros,r=t.carouselKeyId,a=void 0===r?"":r,o=a?f.default.getCurrentCarousel(a):null,i=Object.assign({},t,{currentCarousel:o});i.contextHasChanged=!1,JSON.stringify(t&&t.context?t.context:{})!==JSON.stringify(n[e]&&n[e].context?n[e].context:{})&&(i.contextHasChanged=!0),n[e]=i}},{key:"getPanelContext",value:function(e){return this.getCurrentHero(e).context}},{key:"onConnect",value:function(){this.constructor.hasConnected||(this.constructor.hasConnected=!0,this.setState({heroStoreConnected:!0}))}},{key:"onMountData",value:function(e){var t=e.keyId,n=this.getCurrentHero(t),r=Object.assign({},e,n,{keyId:n.keyId||t});this.updateHeros(t,r)}},{key:"onUnmountData",value:function(e){var t=e.keyId;return this.removeHero(t),!1}},{key:"onUpdateData",value:function(e){var t=e.keyId;if(!t)return!1;var n=this.getCurrentHero(t),r=Object.assign({},n,e,{keyId:n.keyId||t});return this.updateHeros(t,r),!0}}]),e}(),(0,u.default)(o,"hasConnected",!1),(0,u.default)(o,"storeKeyName","heros"),a=i))||a,m=c.default.createStore(p,"HeroStore");t.default=m},"1CUB":function(e,t){},"1DX2":function(e,t,n){"use strict";var r=n("SpGf"),a=n("b9XL");n("QJ0z"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("3dLy")),i=r(n("0fcM")),l=r(n("P8NW")),s=r(n("d4H2")),u=r(n("0421")),c=r(n("UJE0")),d=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!=typeof e)return{default:e};var n=y(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=o?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(r,i,l):r[i]=e[i]}r.default=e,n&&n.set(e,r);return r}(n("1n8/")),f=r(n("9qb7")),p=n("2tAt"),m=r(n("+DI/")),h=r(n("YFa9")),v=r(n("AEfI")),g=r(n("erRR"));function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(y=function(e){return e?n:t})(e)}function b(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=(0,c.default)(e);if(t){var a=(0,c.default)(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return(0,u.default)(this,n)}}n("r0Em");var O=function(e){(0,s.default)(n,e);var t=b(n);function n(e){return(0,i.default)(this,n),t.call(this,e)}return(0,l.default)(n,[{key:"render",value:function(){var e=this,t=this.props,n=t.eventDate,r=t.endDate,a=t.link,i=t.postValueText,l=t.preValueText,s=t.theme,u=t.icon,c=(0,p.convertStringPropsToRichText)({buttonText:t.buttonText,title:t.title}),y=c.buttonText,b=c.title,O="event-banner-wrapper",P=(new Date).getTime()/1e3,S=new Date(r).getTime()/1e3,w=new Date(n).getTime()/1e3;if(S<P||w>P)return null;var x=Math.ceil(Math.abs(P-S)/60/60/24),_=a?{xs:6,sm:4,md:9,lg:12}:{xs:6,sm:6,md:12,lg:12},C=d.default.createElement("ul",{className:"event-banner-info"},d.default.createElement("li",{className:"event-title"},b),d.default.createElement("li",{className:"prevalue-text"},l),d.default.createElement("li",{className:"count-value"},x),d.default.createElement("li",{className:"postvalue-text"},i),d.default.createElement("li",{className:(0,f.default)("lone-arrow","gcss-icon-chevron-right-2")})),T=a?d.default.createElement(g.default,a,C):C;return d.default.createElement("div",{"data-fe-id":"EventBanner",ref:function(t){return e.__container=t,e.__container}},d.default.createElement(m.default,{className:(0,f.default)(O,"gcss-theme-".concat(s),"no-padding")},d.default.createElement(v.default,{className:"".concat(O,"__row")},d.default.createElement(h.default,(0,o.default)({},_,{className:"".concat(O,"__col__event-banner-info"),flush:!0}),T),a&&d.default.createElement(h.default,{className:"".concat(O,"__col__event-banner-link"),lg:12,md:3,sm:2,flush:!0},d.default.createElement(g.default,a,d.default.createElement("div",{className:"event-button"},d.default.createElement("span",{className:(0,f.default)("btn-icon","gcss-icon-".concat(u))}),d.default.createElement("span",{className:"btn-copy"},y),d.default.createElement("span",{className:(0,f.default)("btn-icon","gcss-icon-chevron-right-2")})))))))}}]),n}(d.PureComponent);O.defaultProps={theme:"light",preValueText:"only",postValueText:"days left",buttonText:"learn more"};var P=O;t.default=P},"1jzt":function(e,t){},"1nCl":function(e,t){},"1uf4":function(e,t){},"3UU2":function(e,t,n){"use strict";var r=n("SpGf"),a=n("b9XL");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,i=r(n("0fcM")),l=r(n("P8NW")),s=r(n("E7HD")),u=r(n("d4H2")),c=r(n("0421")),d=r(n("UJE0")),f=r(n("IxO8")),p=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!=typeof e)return{default:e};var n=O(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=o?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(r,i,l):r[i]=e[i]}r.default=e,n&&n.set(e,r);return r}(n("1n8/")),m=r(n("2tAt")),h=r(n("9qb7")),v=r(n("6G51")),g=r(n("/jGT")),y=r(n("XleV")),b=r(n("usq6"));function O(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(O=function(e){return e?n:t})(e)}function P(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=(0,d.default)(e);if(t){var a=(0,d.default)(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return(0,c.default)(this,n)}}n("Szrq");var S=(0,m.default)(o=function(e){(0,u.default)(n,e);var t=P(n);function n(e){var r;return(0,i.default)(this,n),r=t.call(this,e),(0,f.default)((0,s.default)(r),"_onWindowResize",function(){var e=r.state.screen,t=v.default.getScreenSizeState().screen;e!==t&&r.setState({screen:t})}),r.state={},r}return(0,l.default)(n,[{key:"UNSAFE_componentWillMount",value:function(){var e=v.default.getScreenSizeState().screen;this.setState({screen:e})}},{key:"componentDidMount",value:function(){window.addEventListener("resize",(0,g.default)(this._onWindowResize,100))}},{key:"render",value:function(){var e=this.props,t=e.align,n=e.claimFontColor,r=e.claimFontSize,a=e.iconFontColor,o=e.iconFontSize,i=e.keyStatClaims,l=e.keyStatDisclosure,s=e.keyStatIcon,u=e.keyStatLabel,c=e.keyStatValue,d=e.labelFontColor,f=e.labelFontSize,m=e.mobileAlignment,v=e.theme,g=e.valueFontSize,O=e.valueFontColor,P=this.state.screen;return p.default.createElement("div",{className:(0,h.default)("open-hero-keystat-wrapper","gcss-theme-".concat(v),"align-".concat("desktop"===P||"tablet"===P?t:m)),"data-fe-id":"OpenHeroKeyStat"},i&&p.default.createElement("div",{className:(0,h.default)("keystat-claim",r,n,{"default-font":!r})},i),p.default.createElement("div",{className:"keystat-contents"},s&&p.default.createElement("div",{className:(0,h.default)("keystat-icon",o,a,{"default-font":!o})},p.default.createElement(b.default,{icon:s})),p.default.createElement("div",{className:(0,h.default)("keystat-value",g,O,{"default-font":!g})},c),p.default.createElement("div",{className:(0,h.default)("keystat-label",f,d,{"default-font":!f})},u,l&&p.default.createElement("div",{className:"disclosure"},p.default.createElement(y.default,{theme:v},l)))))}}]),n}(p.PureComponent))||o;S.defaultProps={align:"left",claimFontColor:"brand-primary-body-color",claimFontSize:"",iconFontColor:"brand-primary-body-color",iconFontSize:"",labelFontColor:"brand-primary-body-color",labelFontSize:"",valueFontColor:"brand-primary-body-color",valueFontSize:""};var w=S;t.default=w},"3VPH":function(e,t){},"4AZD":function(e,t,n){"use strict";var r=n("SpGf");n("diqY"),n("LYOo"),n("1nHC"),n("OImK"),n("aGSB"),n("BKbk"),n("4hJi"),n("S91k"),n("HkIz"),n("XwPX"),n("I5XU"),n("6sDK"),n("AZfT"),n("d93j"),n("2KgV"),n("Y3qw"),n("ecHe"),n("ItbG"),n("MlTh"),n("g0xY"),n("YQdF"),n("oCSF"),n("PSYM"),n("x0yB"),n("TT/v"),n("GFxX"),n("8dkd"),Object.defineProperty(t,"__esModule",{value:!0}),t.INDEX_SHOW_PREVIOUS_MODELS_BUTTON=void 0,t.concatenateVehicleDataUrl=function(e){var t=e.reduce(function(e,t){return e+t.ccode+","+t.llp+"|"},"");return t.slice(0,t.length-1)},t.containsUniqueModelYears=function(e){if(!e)return!1;return 1===(0,i.default)(new Set(e.map(function(e){return e.ccode.substr(0,9)}))).length},t.deserializeObjectFromString=function(e){var t={};if(!e)return{};return e.split("&").forEach(function(e){var n=e.split("="),r=n[0];t[r]=n[1]}),t},t.dispatchCardFocusEvent=function(e){var t=new CustomEvent("setActiveCard",{detail:{index:e}});document&&document.dispatchEvent(t)},t.getLaunchModeData=function(){return new Promise(function(e,t){(0,l.getJSON)("/hostd/api/launch-mode/modes").then(function(t){e(t)}).catch(function(){t("Error loading the modes")})})},t.getLineupItems=v,t.getModels=t.getModelConfigContext=void 0,t.getModelsFromUrlStr=function(e){var t=/[^A-Z0-9]/g;if(!e)return[];return e.split("|").map(function(e){return Object.assign({},{ccode:e.split(",")?e.split(",")[0]:""},{llp:e.split(",")[1]?e.split(",")[1].replace(t,""):""})})},t.getNoInventoryCodes=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return p(e,"NO_INVENTORY",t)},t.getNoOfDisplayModels=function(){var e=0;e=u.default.getScreenSizeState().desktop?4:2;return e},t.getNoPriceCodes=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return p(e,"NO_PRICE",t)},t.getNumberOfDisplayModels=function(e){switch(e){case"desktop":return 4;case"tablet":default:return 2}},t.getPaginationIndex=function(e){var t=e.totalItems,n=e.currentNavPosition,r=e.numItemsToNavigate,a=n*r-r,o=n*r;t<o?(a=t>r?t-r:0,o=t):a<0&&(a=0,o=r);return{startIndex:a,endIndex:o}},t.getVehicleYearMap=function(e){var t=e.vehicleSelectorGrids,n={vehicles:[],sortOrder:[]},r=v({modelYears:e.modelYears});t.forEach(function(e){var t=e.vehicleSelectorGrid.vehicles,a=e.vehicleSelectorGrid.sortOrder,o=r.filter(function(e){var n=t.find(function(t){return t.modelYearCode===e.modelYearCode&&t.year===e.year&&t.hideVehicle});return void 0===n});n.vehicles=[].concat((0,i.default)(n.vehicles),(0,i.default)(o)),n.sortOrder=[].concat((0,i.default)(n.sortOrder),(0,i.default)(a))});var a={};return n.vehicles.forEach(function(e){a[e.vehicle]=a[e.vehicle]||{},a[e.vehicle].display=a[e.vehicle].display||e.display,a[e.vehicle].modelYears=a[e.vehicle].modelYears||[],a[e.vehicle].modelYears.push(e.year)}),Object.keys(a).sort(function(e,t){return n.sortOrder.indexOf(e)-n.sortOrder.indexOf(t)}).map(function(e){var t=a[e],n=t.modelYears.sort();return{id:e,displayName:t.display,years:n}})},t.getVehicleYearMapFromExternalVSP=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.modelYears,n=void 0===t?{}:t,r=e.sortOrder,a=void 0===r?[]:r,o=e.vehicleSelectorGrids,l=void 0===o?[]:o;if(0===Object.keys(n).length||0===l.length)return[];var s={vehicles:[]},u=v({modelYears:n});l.forEach(function(e){var t=e.vehicleSelectorCards,n=void 0===t?[]:t;n.forEach(function(e){var t=e.modelYearData,n=u.filter(function(e){var n=t.find(function(t){var n,r,a,o;return(null===(n=t.modelData)||void 0===n?void 0:n.modelYearCode)===e.modelYearCode&&(null===(r=t.modelData)||void 0===r?void 0:null===(a=r.year)||void 0===a?void 0:a.toString())===(null===(o=e.year)||void 0===o?void 0:o.toString())});return void 0!==n});s.vehicles=[].concat((0,i.default)(s.vehicles),(0,i.default)(n))})});var c={};return s.vehicles.forEach(function(e){c[e.vehicle]=c[e.vehicle]||{},c[e.vehicle].display=c[e.vehicle].display||e.display,c[e.vehicle].modelYears=c[e.vehicle].modelYears||[],c[e.vehicle].modelYears.push(e.year)}),(0,i.default)(new Set([].concat((0,i.default)(a),(0,i.default)(Object.keys(c))))).map(function(e){var t=c[e],n=(0,i.default)(new Set(null===t||void 0===t?void 0:t.modelYears.sort()));return{displayName:null===t||void 0===t?void 0:t.display,id:e,years:n}}).filter(function(e){return e.displayName})},t.getVehiclesFromUrlStr=function(e){if(!e)return[];return e.split("|").map(function(e){return Object.assign({},{modelYearCode:e})})},t.isOrientationLandscape=function(){return m()},t.listenCardFocusEvent=function(e,t){document&&(e?document.addEventListener("setActiveCard",t):document.removeEventListener("setActiveCard",t))},t.lockBodyScroll=function(e){if(!document)return;e?document.body.classList.add("scroll-locked"):document.body.classList.contains("scroll-locked")&&document.body.classList.remove("scroll-locked");h(e)},t.lockScrollForIOS=h,t.mapModelYearwithBrand=function(e){var t=e.vehicleSelectorGrids,n=[],r=v({modelYears:e.modelYears});return t.forEach(function(e){var t=e.subBrand,a=e.vehicleSelectorGrid.vehicles,o=r.filter(function(e){return void 0===a.find(function(t){return t.modelYearCode===e.modelYearCode&&t.year===e.year&&t.hideVehicle})}).map(function(e){return{modelYearCode:e.modelYearCode,vehicle:e.vehicle,subBrand:t}});n=[].concat((0,i.default)(n),(0,i.default)(o))}),n},t.mapModelYearwithBrandFromExternalVSP=function(e){var t=e.vehicleSelectorGrids,n=v({modelYears:e.modelYears}),r=[];return t.forEach(function(e){var t=e.subBrand,a=e.vehicleSelectorCards;(void 0===a?[]:a).forEach(function(e){var a=e.modelYearData,o=void 0===a?[]:a,l=n.filter(function(e){return void 0!==o.find(function(t){var n,r;return(null===(n=t.modelData)||void 0===n?void 0:n.modelYearCode)===e.modelYearCode&&(null===(r=t.modelData)||void 0===r?void 0:r.year)===e.year})}).map(function(e){return{modelYearCode:e.modelYearCode,vehicle:e.vehicle,subBrand:t}});r=[].concat((0,i.default)(r),(0,i.default)(l))})}),r},t.reorderArr=function e(t){t=t||{};var n=t,r=n.attributeName,a=n.attributes,o=void 0===a?{}:a,i=n.inputArr,l=n.compareToArr,s=n.actAsCategory;if(!(r&&Array.isArray(i)&&Array.isArray(l)&&i.length))return[];var u=i.map(function(t){var n=Object.assign({},t),a={obj:n,newIndex:i.length+1},u=t[r],c=l.findIndex(function(e){var t=s?s.sections.find(function(t){return t.category===e[r]}):null;return n.inActive=!!e.inActive,n.actCategory=!!t,n.hideDetails=!!e.hideDetails,e[r]===u}),d=c<0?void 0:l[c];return c>=0&&(a.newIndex=c,Object.keys(n).forEach(function(t){var r=n[t],a=d?d[t]:void 0;if(Array.isArray(r)&&Array.isArray(a)){var i=o[t]||void 0;if(!i)return;n[t]=e({attributeName:i,attributes:o,inputArr:r,compareToArr:a,actAsCategory:s})}})),a});var c=u.sort(function(e,t){var n=e.newIndex,r=t.newIndex;return r>n?-1:r<n?1:0});var d=c.filter(function(e){if(e.obj.actCategory&&s){var t=s.sections.find(function(t){return t.category===e.obj.category});e.obj.category=t.subCategory,e.obj.inActive=t.inActive;var n=e.obj.subCategories.find(function(e){return e.subCategory===t.subCategory});e.obj.subCategories=n?[n]:null}return!e.obj.inActive});return d.map(function(e){return e.obj})},t.replaceStrAtIndex=function(e,t,n,r){var a=e.split("|");a[r]===t&&a.splice(r,1,n);return a.join("|")},t.setHiddenModelAddOnRemovalContext=function(){var e=!1,t="desktop"===u.default.getScreenSizeState().screen,n=m();e=!(!t||!n)||!(!t&&n&&(0,s.default)())&&(!(!n&&(0,s.default)()&&!t)&&!!t);sdp&&sdp.context.set("modelRemoveFlag",e)},t.showZipModalDelay=void 0;var a=r(n("69HE")),o=r(n("IxO8")),i=r(n("Fhqp")),l=n("KT8i"),s=r(n("//kN")),u=r(n("6G51")),c=r(n("fkUE"));function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach(function(t){(0,o.default)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}t.showZipModalDelay=3e3;t.INDEX_SHOW_PREVIOUS_MODELS_BUTTON=-10;var p=function(e,t,n){if(!e)return[];var r=e.launchModeData;if(!r)return[];var a=r.reduce(function(e,n){return n.mode.find(function(e){return e.typeCode.indexOf(t)>-1})?[].concat((0,i.default)(e),[n.ccode]):e},[]);return n?(0,i.default)(new Set(a.map(function(e){return e.substring(0,9)}))):a};var m=function(){var e=(0,s.default)(),t=null;return window&&void 0!==window.orientation&&(0===window.orientation?t="portrait":90!==window.orientation&&-90!==window.orientation||(t="landscape")),!(!e||"landscape"!==t)};function h(e){document&&("undefined"==typeof window||window.navigator)&&(window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||"MacIntel"===window.navigator.platform&&window.navigator.maxTouchPoints>1)&&(e?document.body.classList.add("scroll-locked-ios"):document.body.classList.contains("scroll-locked-ios")&&document.body.classList.remove("scroll-locked-ios")))}t.getModelConfigContext=function(e,t,n){return f({},(n||[]).filter(function(n){return n.ccode===e&&n.llp===t}).map(function(e){return f({},e,{options:e.selectedOptionsString})})[0])};function v(e){for(var t=e.modelYears,n=[],r=0,o=Object.entries(t);r<o.length;r++)for(var i=(0,a.default)(o[r],2),l=i[0],s=i[1],u=0,d=Object.entries(s);u<d.length;u++){var f=(0,a.default)(d[u],2),p=f[0],m=f[1];if("1"===m.active){var h=c.default.getBaseModel({year:l,vehicle:p}),v=c.default.getCcode({year:l,vehicle:p,model:h});n.push({year:l,vehicle:p,baseModel:h,baseCcode:v,defaultImage:m.models[m.base].image_src,display:m.display,msrp:m.models[m.base].msrp,models:m.trims.length,modelYearCode:m.myc})}}return n.reduce(function(e,t){var n=e.findIndex(function(e){return e.vehicle===t.vehicle&&e.year===t.year&&e});return-1!==n?(e[n].models=e[n].models+t.models,e[n].msrp=parseInt(e[n].msrp,10)<parseInt(t.msrp,10)?e[n].msrp:t.msrp,e[n].year=e[n].year>t.year?e[n].year:t.year):e.push(t),e},[])}t.getModels=function(e,t,n){var r=e.trims,a=e.modelYearCode,o=[],i=Array.isArray(r)?r.slice(0):[];if(void 0!==t){var l,s,u=t.overrideFilters;Object.keys(u).forEach(function(e){e===a&&(l=u[a][0].defaultValue,s=u[a][0].description)});var c=function(e){var t,n=e.result,r=e.description,a=n.filterGroups;if(a&&r){var o=a.find(function(e){return e.description.toLowerCase()===r.toLowerCase()});o&&(t=o.id)}return t}({result:e,description:s});n&&(i=i.filter(function(e){return!(e.availableRegions&&!e.availableRegions.includes(n))})),i&&i.forEach(function(e){if(void 0!==e.models){var t=e.models.find(function(e){var t=e.filterCombination;return Object.keys(t).some(function(e){return c===e&&t[e]===l})});t?o.push({description:e.description,model:t}):e.models.length&&o.push({description:e.description,model:e.models[0]})}})}return o.sort(function(e,t){return e.model.prices.msrpAsConfigured-t.model.prices.msrpAsConfigured}),o}},"5NDa":function(e,t,n){"use strict";var r=n("SpGf");n("1nHC"),n("XwPX"),n("Bq/h"),n("MlTh"),n("x0yB"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n("3dLy")),o=r(n("U8F3")),i=r(n("1n8/")),l=r(n("9qb7")),s=r(n("2A52")),u=r(n("6G51"));n("yaMd");var c=["children"],d=function(e){for(var t=e.buttons,n=e.context,r=e.theme,d=e.htmlIdPrefix,f=e.index,p=e.btnPosition,m=e.align,h=e.isFamilyShot,v=e.shouldFetchDynamicOffer,g=e.panelIndex,y=h&&v,b=""!==m?"text-align--".concat(m):"",O=t&&t.length>2?"more-buttons-alignment":"",P="",S=0;S<f;S++)P=P.length>0?"".concat(P," ").concat(d,"--").concat(S):"".concat(d,"--").concat(S);var w=function(e){var t=e.currentTarget.dataset,n=t.lid,r=t.lpos,a=t.adobeLinktype;window.DATALAYER&&window.DATALAYER.linkTrack(!0,{lid:n,lpos:r,linkType:a,vars:{eVar5:" ",prop1:" "}})},x="mobile"===u.default.getScreenSizeState().screen?"gcss-button-block":"";return i.default.createElement("div",{className:(0,l.default)("open-hero-buttons",p,b,O),"data-fe-id":"OpenHeroButtons"},t.map(function(e,t){var l=e.children,u=(0,o.default)(e,c),d=Number(g)+1;u.lid=(null===u||void 0===u?void 0:u.lid)&&"string"==typeof u.lid?u.lid.replace(/{indexPanel}/gi,d):u.lid;var f=l&&l.textContent||l,p=n||{};return"0"===p.year&&(p.year=""),"0"===p.vehicle&&(p.vehicle=""),i.default.createElement("div",{className:"open-hero-button"},i.default.createElement(s.default,(0,a.default)({className:x,role:"link",a11yFeatures:{"aria-describedby":0===t?P:null},theme:r,onClick:y&&w},y&&{donotTrack:"true"},{context:p},u),f))}))};d.defaultProps={btnPosition:"",align:""};var f=d;t.default=f},"6Yrj":function(e,t,n){var r=n("pWu7"),a=n("Q0EA"),o=n("tGwT"),i=a("iterator");e.exports=!r(function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,n="";return e.pathname="c%20d",t.forEach(function(e,r){t.delete("b"),n+=r+e}),o&&!e.toJSON||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[i]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host})},"70Kp":function(e,t,n){"use strict";e.exports=n("01KA")},"7Ttw":function(e,t){},"8KNu":function(e,t,n){"use strict";var r=n("SpGf"),a=n("b9XL");n("MlTh"),n("TT/v"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("0fcM")),i=r(n("P8NW")),l=r(n("E7HD")),s=r(n("d4H2")),u=r(n("0421")),c=r(n("UJE0")),d=r(n("IxO8")),f=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!=typeof e)return{default:e};var n=h(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=o?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(r,i,l):r[i]=e[i]}r.default=e,n&&n.set(e,r);return r}(n("1n8/")),p=r(n("9qb7")),m=r(n("erRR"));function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(h=function(e){return e?n:t})(e)}function v(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=(0,c.default)(e);if(t){var a=(0,c.default)(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return(0,u.default)(this,n)}}n("okDq");var g=function(e){(0,s.default)(n,e);var t=v(n);function n(e){var r;return(0,o.default)(this,n),r=t.call(this,e),(0,d.default)((0,l.default)(r),"_getPosition",function(e,t,n,r){return{left:e?e+"%":0,top:t?t+"%":0,right:n?100-parseFloat(n,0)+"%":"auto",bottom:r?100-parseFloat(r,0)+"%":"auto"}}),(0,d.default)((0,l.default)(r),"_getVerticalAlignment",function(e){return e.split("-")[0]}),(0,d.default)((0,l.default)(r),"_getHorizontalAlignment",function(e){var t=e.split("-"),n="";return t.length>1&&(n=t[1]),n}),(0,d.default)((0,l.default)(r),"_handleMouseOver",function(e){var t=r.__container.getBoundingClientRect(),n=window.pageYOffset||document.documentElement.scrollTop,a=window.pageXOffset||document.documentElement.scrollLeft,o=t.top+n,i=t.left+a,l=e.pageX-i+"px",s=e.pageY-o+"px";r.setState({tooltipShowing:!0,tooltipPosition:{x:l,y:s}})}),(0,d.default)((0,l.default)(r),"_handleFocus",function(e){var t=e.target;if(t){var n=t.offsetWidth/2,a=t.offsetHeight/2;r.setState({tooltipShowing:!0,tooltipPosition:{x:n,y:a}})}}),(0,d.default)((0,l.default)(r),"_handleMouseOut",function(){r.setState({tooltipShowing:!1})}),r.state={tooltipPosition:{x:0,y:0},tooltipShowing:!1},r}return(0,i.default)(n,[{key:"render",value:function(){var e=this,t=this.props,n=t.x1,r=t.y1,a=t.x2,o=t.y2,i=t.fontSize,l=t.href,s=t.theme,u=t.title,c=t.tooltip,d=t.alignment,h=t.alt,v=t.target,g=t.lid,y=t.lpos,b=t.linkType,O=t.context,P=t.background,S=this.state,w=S.tooltipShowing,x=S.tooltipPosition;return f.default.createElement("div",{className:(0,p.default)("hotarea","gcss-theme-".concat(s),P?"hotarea-background":""),"data-fe-id":"Hotarea",style:this._getPosition(n,r,a,o),ref:function(t){return e.__container=t,t}},f.default.createElement(m.default,{className:(0,p.default)("hotarea-link","hotarea-valign-".concat(this._getVerticalAlignment(d)),"hotarea-halign-".concat(this._getHorizontalAlignment(d))),url:l,target:v||"_self",lpos:y,lid:g,linktype:b,tabIndex:"0",context:O,onMouseMove:this._handleMouseOver,onMouseOver:this._handleMouseOver,onMouseOut:this._handleMouseOut,onFocus:this._handleFocus,onBlur:this._handleMouseOut},f.default.createElement("div",{className:"media-hotarea-title"},u&&f.default.createElement("span",{className:i},u),f.default.createElement("span",{className:"visually-hidden"},h))),c&&f.default.createElement("div",{className:(0,p.default)("hotarea-tooltip","hotarea-tooltip-".concat(c.direction),{"hotarea-tooltip-showing":w}),style:{left:x&&x.x,top:x&&x.y}},f.default.createElement("h3",{className:"hotarea-tooltip-header"},c.header),c.subheader&&f.default.createElement("h4",{className:"hotarea-tooltip-subheader"},c.subheader),c.disclaimer&&f.default.createElement("p",{className:"hotarea-tooltip-disclaimer"},c.disclaimer)))}}]),n}(f.PureComponent);g.defaultProps={alignment:"bottom",background:!1,lpos:"hotspot",fontSize:""};var y=g;t.default=y},"8ZQ0":function(e,t){},AD06:function(e,t,n){"use strict";var r=n("SpGf");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n("fjG6")).default.generateActions("connect","createFeaturedOffers","createOffers");t.default=a},AMbW:function(e,t,n){"use strict";var r=n("SpGf"),a=n("b9XL");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("69HE")),i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!=typeof e)return{default:e};var n=u(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=o?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(r,i,l):r[i]=e[i]}r.default=e,n&&n.set(e,r);return r}(n("1n8/")),l=r(n("9qb7")),s=n("JUHb");function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(u=function(e){return e?n:t})(e)}function c(e){var t=e.finishTimer,n=e.countDownTimerTextStyle,r=e.timerLabelTextStyle,a=e.timerLabelPaddingTop,u=e.removeLeadingZero,c=e.clientServerTimeDiff,d=(0,s.getRemainingTime)(t,c),f=d.days,p=d.hours,m=d.minutes,h=d.seconds,v=(0,i.useState)(function(){return f}),g=(0,o.default)(v,2),y=g[0],b=g[1],O=(0,i.useState)(function(){return 60*p*60+60*m+h}),P=(0,o.default)(O,2),S=P[0],w=P[1];return(0,i.useEffect)(function(){var e=setTimeout(function(){var e=(0,s.getRemainingTime)(t,c),n=e.days,r=e.hours,a=e.minutes,o=e.seconds;b(n),w(60*r*60+60*a+o)},1e3*(S+.5));return function(){return clearTimeout(e)}},[y,S,c,t]),i.default.createElement("div",{className:(0,l.default)("days-wrapper")},i.default.createElement("div",{className:(0,l.default)(n)},y>9||u?y:"0"+y),i.default.createElement("div",{className:(0,l.default)("timer-label",r,a)},y>1?"Days":"Day"))}n("UggW"),c.defaultProps={removeLeadingZero:!1};var d=c;t.default=d},B6Jw:function(e,t){},BaaX:function(e,t,n){"use strict";var r=n("SpGf"),a=n("b9XL");n("diqY"),n("LYOo"),n("AZfT"),n("d93j"),n("Y3qw"),n("MlTh"),n("TT/v"),n("GFxX"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,i,l,s=r(n("3dLy")),u=r(n("Fhqp")),c=r(n("0fcM")),d=r(n("P8NW")),f=r(n("E7HD")),p=r(n("d4H2")),m=r(n("0421")),h=r(n("UJE0")),v=r(n("IxO8")),g=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!=typeof e)return{default:e};var n=G(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=o?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(r,i,l):r[i]=e[i]}r.default=e,n&&n.set(e,r);return r}(n("1n8/")),y=r(n("9qb7")),b=n("B1iE"),O=r(n("sEI7")),P=r(n("C7qD")),S=r(n("IeWx")),w=r(n("/jGT")),x=r(n("6G51")),_=n("tYEZ"),C=n("0Qmh"),T=r(n("Nqro")),E=r(n("0hVu")),A=r(n("01Wt")),k=r(n("fkUE")),M=r(n("+DI/")),D=r(n("YFa9")),j=r(n("AEfI")),L=r(n("xNBt")),N=r(n("crrX")),I=r(n("zRDo")),F=r(n("Sg7x")),B=r(n("1DX2")),R=r(n("wxQh")),z=r(n("nrG5")),H=r(n("g5mE")),W=r(n("+BN5")),U=r(n("8d8C"));function G(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(G=function(e){return e?n:t})(e)}function V(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function q(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return Y(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Y(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){l=!0,o=e},f:function(){try{i||null==n.return||n.return()}finally{if(l)throw o}}}}function Y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function X(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=(0,h.default)(e);if(t){var a=(0,h.default)(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return(0,m.default)(this,n)}}n("8ZQ0");var J=(0,O.default)(o=(0,P.default)(o=(0,S.default)((l=i=function(e){(0,p.default)(n,e);var t=X(n);function n(e){var r;(0,c.default)(this,n),r=t.call(this,e),(0,v.default)((0,f.default)(r),"_onBeforeCarouselPanelChange",function(e){var t=e.currentIndex,n=e.previousIndex;r.setState({currentIndex:t,previousIndex:n})}),(0,v.default)((0,f.default)(r),"_setZoomCSS",function(){var e=U.default.resizeFactor();r.setState({hasZoomedText:e>1})}),(0,v.default)((0,f.default)(r),"_getMediaHeight",function(){var e,t=r.props.carouselData.height;if("auto"!==t){var n=x.default.getScreenSizeState(),a=n.phablet,o=n.tablet;e=n.desktop?"tall"===t?"550px":"normal"===t?"500px":"short"===t?"420px":"extra-short"===t?"350px":"500px":o?"400px":a?"285px":"220px"}return e}),(0,v.default)((0,f.default)(r),"_handleResize",function(){clearTimeout(r._resizeCompleteTimeout),r._resizeCompleteTimeout=setTimeout(function(){var e=(0,f.default)(r).controlsStyle,t=r._getMediaHeight();r.state.controlsStyle!==e&&r.setState({controlsStyle:e,mediaHeight:t})},500)}),(0,v.default)((0,f.default)(r),"_onBeforeCarouselPanelChange",function(e){var t=e.currentIndex;r.setState({currentIndex:t})}),(0,v.default)((0,f.default)(r),"_onCarouselPanelChanged",function(e){var t=e.currentPanel;if(t){var n=Object.assign({},t.context||{ccodes:[],display:void 0,year:void 0,model:void 0,trim:void 0,tabLabel:void 0,price:void 0});n.ccodes=Array.isArray(n.ccodes)?n.ccodes:[];var a=n.price;if(a){var o=a.details,i=void 0===o?{}:o;n.price={disclaimer:a.disclaimer,description:a.description,price:a.msrp},n.vehicleShownDisplayName=i.modelShown,n.vehicleShownPrice=i.modelShownCcode&&k.default.getMSRP({ccode:i.modelShownCcode})||i.msrp}""===n.display&&delete n.display,Object.keys(n).forEach(function(e){void 0===this[e]&&delete this[e]},n);var l={context:n};r.updateHeros(l)}}),(0,v.default)((0,f.default)(r),"_onCarouselPanelLengthChanged",function(e){var t=e.panelLength;r.setState({panelLength:t})});var a="",o="";if("undefined"!=typeof document){var i=r.constructor.className;a=E.default.getUniqueKey(i,!1),o=T.default.getUniqueKey("".concat(a,"-carousel"),!1)}return r.state={carouselKeyId:o,context:void 0,controlsStyle:r.controlsStyle,currentIndex:0,heroClassNames:r._getHeroClassName(e),keyId:a,mediaHeight:r._getMediaHeight(),previousIndex:0,placeHolderTimedOut:!1},r.firstPanelGeoTargeted=(0,C.isGeoTargeted)([e.carouselData.panels[0]]),r.isCdpPanelLoaded=g.default.createRef(),r.isCdpPanelLoaded.current=!1,r}return(0,d.default)(n,[{key:"controlsStyle",get:function(){var e=this.props.carouselData,t=x.default.getScreenSizeState().desktop,n=t?"inside-image":"under-image";if(e&&e.panels&&e.panels.length){var r,a=!1,o=q(e.panels);try{for(o.s();!(r=o.n()).done;){if(r.value.openheropanel){a=!0;break}}}catch(e){o.e(e)}finally{o.f()}a&&!t&&(n="below-panel")}return n}},{key:"componentDidMount",value:function(){var e=this;this._isMounted=!0;var t=this.state.keyId,n=this.firstPanelGeoTargeted.geoTargeted;window.addEventListener("resize",(0,w.default)(this._handleResize,50)),A.default.mountData(Object.assign({keyId:t},this.state)),document.body.classList.add("has-hero-component"),U.default.init(14),document.addEventListener("textzoom",this._setZoomCSS),this._setZoomCSS(),"undefined"!=typeof document&&n&&(this._placeHolderTimeout=setTimeout(function(){e.setState({placeHolderTimedOut:!0})},3e3))}},{key:"shouldComponentUpdate",value:function(e,t){var n=!((0,_.valuesAreEqual)(this.props.userGeoData,e.userGeoData,[])&&(0,_.valuesAreEqual)(this.state,t)&&(0,_.valuesAreEqual)(this.props.cdpPanel,e.cdpPanel)&&(0,_.valuesAreEqual)(this.props.cdpMask,e.cdpMask));return n}},{key:"componentWillUnmount",value:function(){this._isMounted=!1;var e=this.state.keyId;clearTimeout(this._resizeCompleteTimeout),this._placeHolderTimeout&&clearTimeout(this._placeHolderTimeout),window.removeEventListener("resize",(0,w.default)(this._handleResize,50)),A.default.unmountData({keyId:e}),document.body.classList.remove("has-hero-component")}},{key:"updateHeros",value:function(e,t){var n=this,r=this.state.keyId,a=Object.assign({},this.state,e),o=function(){A.default.updateData(Object.assign({keyId:r},n.state)),"function"==typeof t&&t()};try{this.setState(a,o)}catch(e){o()}}},{key:"_getHeroClassName",value:function(e){var t=e.carouselData.panels,n="",r=(0,b.get)(t,"0.openheropanel.countdownPanel.phases");if(Array.isArray(r)&&r.length>0){var a=r[0].theme;n="hero-masked hero-masked-".concat("light"===a?"white":"black")}return n}},{key:"render",value:function(){var e=this,t=this.constructor,n=this.props,r=this.state,a=this.firstPanelGeoTargeted,o=t.className,i=n.carouselData,l=n.eventBanner,c=n.split,d=n.splitLayout,f=n.variableHeightPanelTransitionSpeed,p=n.userGeoData,m=n.cdpPanel,h=n.cdpMask,b=r.carouselKeyId,O=r.controlsStyle,P=r.mediaHeight,S=r.hasZoomedText,w=r.heroClassNames,_=r.placeHolderTimedOut,C=a.geoTargeted,T=a.bcTargeted,E=a.zipTargeted,A=a.regionTargeted,k=x.default.getScreenSizeState().desktop,U=i.blankComponentBackground,G=i.disclosureBarLayout,q=i.disclosureTextAlignment,Y=i.disclosureTextLineWidth,X=i.fullWidthDesktop,J=i.height,Z=i.isLazy,K=i.panels,$=i.theme,Q=i.useDisclosureBar,ee=i.cdpSlidePosition,te=d&&k?8:12,ne=d&&k?4:12,re=c.position?c.position:"middle",ae=c.align?c.align:"center",oe={},ie=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?V(Object(n),!0).forEach(function(t){(0,v.default)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):V(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},i,{autoHeight:"auto"===J,keyId:b,onBeforePanelChange:this._onBeforeCarouselPanelChange,onPanelChanged:this._onCarouselPanelChanged,onPanelLengthChanged:this._onCarouselPanelLengthChanged,variableHeightPanelTransitionSpeed:f}),le=p.zipCode,se=p.regionCode,ue=p.businessCenter,ce="";C&&!_&&(E&&!le||A&&!se||T&&!ue)&&(ce=U?"hero-masked hero-masked-".concat(U):"hero-masked",ie.panels=[K[0]]);var de=h?U?"hero-masked-cdp hero-masked-cdp".concat(U):"hero-masked-cdp":"";if(m){var fe=ee<=0?0:ee-1,pe=JSON.parse(JSON.stringify(ie.panels));ie.panels=(0,u.default)(pe),ie.panels.splice(fe,0,m),this.isCdpPanelLoaded.current=!0,de=""}return ie.useVariableHeightPanels&&(oe["data-variable-height-panels"]=""),this._isMounted&&(oe["data-is-mounted"]=""),c.contentBoxOverlay&&(c.contentBoxOverlay.theme?c.contentBoxOverlay.theme=k?c.contentBoxOverlay.theme:$:delete c.contentBoxOverlay.theme,c.contentBoxOverlay.contentBoxBodyProps&&c.contentBoxOverlay.contentBoxBodyProps.buttons&&c.contentBoxOverlay.contentBoxBodyProps.buttons.forEach(function(e){e.linktype="promo"})),g.default.createElement("div",null,g.default.createElement(M.default,(0,s.default)({},oe,{className:(0,y.default)(o,S&&"has-zoomed-text",X&&"fluid",{"fade-in":this.isCdpPanelLoaded.current})}),g.default.createElement(j.default,{className:(0,y.default)("hero-row","sdp-col-lg-12","hero-height-".concat(J),ce,de,w)},g.default.createElement(D.default,{lg:te,md:te,sm:te,xs:te,flush:!0,className:(0,y.default)({"split-left":d})},l&&g.default.createElement(B.default,l),g.default.createElement(L.default,(0,s.default)({ref:function(t){return e.__carouselComponent=t,t}},ie,{Components:{OpenHeroPanel:R.default,DynamicOpenHeroPanel:z.default,DisplayMedia:F.default,MediaHotspots:H.default,Panel:N.default,ContentBoxOverlay:I.default,ButtonBar:W.default},arrowNoFocus:!0,autoPlay:!0,controlsStyle:O,disclosureBarLayout:G,disclosureTextAlignment:q,disclosureTextLineWidth:Y,fullWidthDesktop:X,hasPauseButton:!0,height:P,isHero:!0,isLazy:Z,scaleContent:!0,setHeroClassNames:this._setHeroClassNames,theme:$,type:"image",useDisclosureBar:Q,userGeoData:p}))),d&&g.default.createElement(D.default,{lg:ne,md:ne,sm:ne,xs:ne,flush:!0,className:(0,y.default)({"split-right":d})},g.default.createElement("div",{className:"media-container"},g.default.createElement(F.default,(0,s.default)({},c.displayMedia,{height:P}))),c.contentBoxOverlay&&g.default.createElement(N.default,{position:re,align:ae,className:(0,y.default)(S&&"has-zoomed-text")},g.default.createElement("div",{className:"content-container"},g.default.createElement(I.default,c.contentBoxOverlay)))))))}}]),n}(g.Component),(0,v.default)(i,"className","hero-wrapper"),o=l))||o)||o)||o;J.defaultProps={height:"normal",theme:"light",split:{},splitLayout:!1,useDisclosureBar:!1,disclosureBarLayout:"onImage",disclosureTextAlignment:"center",disclosureTextLineWidth:10,variableHeightPanelTransitionSpeed:1500,isLazy:!1,cdpSlidePosition:1};var Z=J;t.default=Z},C69O:function(e,t){},C7qD:function(e,t,n){"use strict";(function(e){var r=n("SpGf"),a=n("b9XL");n("1nHC"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("3dLy")),i=r(n("IxO8")),l=r(n("69HE")),s=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!=typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=o?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(r,i,l):r[i]=e[i]}r.default=e,n&&n.set(e,r);return r}(n("1n8/")),u=r(n("kdDD")),c=n("hBQ3"),d=r(n("fkUE"));function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach(function(t){(0,i.default)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var h=function(t){var n=function(t){var n=t.value||{},r=n.isError,a=n.isHeroInVLP,o=n.modelYearCode,i=void 0===o?"":o,l=n.namePlate,s=n.errorFrom,u=n.primaryCta,f=void 0===u?"no-primary-cta-displayed":u,p=n.secondaryCta,m=void 0===p?"no-secondary-cta-displayed":p,h=n.inNoInventory;if(!c.SDPContext.isPageTrackTriggeredByCDP){var v,g,y;setTimeout(function(){c.SDPContext.set("onCdpMask",!1)},200),c.SDPContext.set("isPageTrackTriggeredByCDP",!0);var b=c.SDPContext.subBrand?c.SDPContext.subBrand:c.SDPContext.brand,O=l;try{O=l||(d.default.getFamilyFromMYC(i)?d.default.getFamilyFromMYC(i):"NA")}catch(e){O="NA"}var P=i.substring(3,7),S=a?"VLP":"BHP",w=r?"|".concat(s):h?"|inventory":"",x="".concat(b,"|").concat(O,"|").concat(P||"NA","|").concat(S,"|").concat(f,"|").concat(m).concat(w);(null===(v=window)||void 0===v?void 0:v.s)&&(window.s.eVar124=x),(null===(g=window)||void 0===g?void 0:null===(y=g.DATALAYER)||void 0===y?void 0:y.pageTrack)&&window.DATALAYER.set({component:{id_creative:x}},function(){setTimeout(function(){window.DATALAYER.pageTrack("cdp-tracking")},200)}),e.log(x)}};return function(e){var r=e.userCDPData,a=e.carouselData,i=void 0===a?{}:a,d=(0,s.useRef)(null);d.current=r;var f=i.isCDPEnabled,p=void 0!==f&&f,h=i.isHeroInVLP,v=i.xFPathConfig,g=void 0===v?"":v,y=i.xFPathPanel,b=void 0===y?"":y,O=i.isTargetSwitchEnabled,P=void 0!==O&&O,S=(0,s.useState)(!1),w=(0,l.default)(S,2),x=w[0],_=w[1],C=(0,s.useState)(p),T=(0,l.default)(C,2),E=T[0],A=T[1],k=function(e){var t,r=(null===e||void 0===e?void 0:e.detail).showPanel,a=void 0===r?"":r;_(a),a||n({value:m({isError:!0,errorFrom:"hidden-by-target"},null===d||void 0===d?void 0:null===(t=d.current)||void 0===t?void 0:t.vehicleOfInterest)})},M=function(e){var t=e.value;A(t)};(0,s.useEffect)(function(){var e=function(e){var t,r,a=e.value,o=void 0===a?{}:a,i=null;(null===(t=adobe)||void 0===t?void 0:null===(r=t.target)||void 0===r?void 0:r.getOffers)?(adobe.target.getOffers({request:{execute:{pageLoad:{parameters:{cdpAudience:"true",nba:JSON.stringify(o)}}}}}).then(function(e){var t,r,a;clearTimeout(i),adobe.target.applyOffers({response:e}),(null===e||void 0===e?void 0:null===(t=e.execute)||void 0===t?void 0:null===(r=t.pageLoad)||void 0===r?void 0:null===(a=r.options)||void 0===a?void 0:a.length)||setTimeout(function(){var e;n({value:m({isError:!0,errorFrom:"hidden-by-target"},null===d||void 0===d?void 0:null===(e=d.current)||void 0===e?void 0:e.vehicleOfInterest)})},5e3)}),document.addEventListener("showCDPPanelByTarget",k),i=setTimeout(function(){c.SDPContext.set("onCdpMask",!1),clearTimeout(i),c.SDPContext.set("ttdelayed",!0)},4e3)):_(!0)};return(null===c.SDPUser||void 0===c.SDPUser?void 0:c.SDPUser.vehicleOfInterest)&&P?e({value:c.SDPUser.vehicleOfInterest}):P?null===c.SDPUser||void 0===c.SDPUser||c.SDPUser.addListener("vehicleOfInterest",e):_(!0),!1===c.SDPContext.onCdpMask&&M({value:!1}),null===c.SDPContext||void 0===c.SDPContext||c.SDPContext.addListener("onCdpMask",M),function(){null===c.SDPUser||void 0===c.SDPUser||c.SDPUser.removeListener("vehicleOfInterest",e),document.addEventListener("showCDPPanelByTarget",k),null===c.SDPContext||void 0===c.SDPContext||c.SDPContext.removeListener("onCdpMask",M)}},[]),(0,s.useEffect)(function(){if(p)if(null===c.SDPContext||void 0===c.SDPContext?void 0:c.SDPContext.triggerPageTrackByCDP){var e=c.SDPContext.triggerPageTrackByCDP,t=e.isError,r=e.errorFrom;!t||"nba-data-not-available"!==r&&"mcid-not-responded-in-4-sec"!==r||n({value:m({},e)})}else null===c.SDPContext||void 0===c.SDPContext||c.SDPContext.addListener("triggerPageTrackByCDP",function(e){c.SDPContext.isPageTrackTriggeredByCDP||n(e)})},[]);var D=(0,u.default)({userCDPData:r,isHeroInVLP:h,xFPathConfig:g,xFPathPanel:b,isCDPEnabled:p,showCDPPanelBasedOnTarget:x});return s.default.createElement(t,(0,o.default)({cdpPanel:D,cdpMask:E},e))}};t.default=h}).call(t,n("wOzr"))},CMF5:function(e,t,n){"use strict";var r=n("SpGf");n("1nHC"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n("U8F3")),o=r(n("1n8/"));n("1CUB");var i=r(n("XleV")),l=["title","offerType","label","value","customFontSize","disclaimerElement","shouldFetchDynamicOffer","customValuePadding","theme"];function s(e){var t=e.title,n=e.offerType,r=e.label,s=e.value,u=e.customFontSize,c=e.disclaimerElement,d=e.shouldFetchDynamicOffer,f=e.customValuePadding,p=e.theme,m=(0,a.default)(e,l),h=m.labelFontColor,v=m.labelFontSize,g=m.labelFontWeight,y=m.titleFontColor,b=m.titleFontSize,O=m.titleFontWeight,P=m.valueFontColor,S=m.valueFontSize,w=m.valueFontWeight,x=u.customTitleFontSize,_=u.customValueFontSize,C=u.customLabelFontSize,T=function(e,t){return""!==t&&t?t:e};return o.default.createElement("div",{className:"incentive-wrapper ".concat(n.toLowerCase())},o.default.createElement("div",{className:"".concat(y," ").concat(T(x,b)," ").concat(O)},t),o.default.createElement("div",{className:"".concat(P," ").concat(T(_,S)," ").concat(w," ").concat(f)},s),o.default.createElement("div",{className:"".concat(h," ").concat(T(C,v)," ").concat(g)},r,d?o.default.createElement("span",{className:"dynamicDisclosure"},c):o.default.createElement("span",{className:"manualDisclosure"},o.default.createElement(i.default,{theme:p},c))))}s.defaultProps={labelFontColor:"brand-primary-body-color",labelFontWeight:"",titleFontColor:"brand-primary-body-color",titleFontWeight:"",valueFontColor:"brand-primary-body-color",valueFontWeight:""};var u=s;t.default=u},CZ6E:function(e,t,n){"use strict";var r=n("SpGf");n("d93j"),n("GFxX"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n("3dLy")),o=r(n("1n8/")),i=r(n("9qb7")),l=n("2tAt"),s=r(n("iCL4"));n("7Ttw");var u=function(e){var t=e.theme,n=e.alignment,r=e.comparison,u=(0,l.convertStringPropsToRichText)(e).incentiveData,c={},d={},f={},p=u.length,m=p>1?"paired":"single";function h(e){return o.default.createElement("div",{className:(0,i.default)("separator","gcss-colors-text-body-primary")},e)}return u.forEach(function(e){var t=e.type,n=e.value,r=e.label,a=e.details;"finance"===t&&Object.assign(c,e,{value:"".concat(n),label:"".concat(r)}),"cash"===t&&Object.assign(f,e,{value:"".concat(n),label:"".concat(r)}),"lease"===t&&Object.assign(d,e,{value:"".concat(n),label:"".concat(r),details:"".concat(a)})}),o.default.createElement("div",{className:(0,i.default)("incentives-container","gcss-theme-".concat(t),"incentive-".concat(m),{"align-center":"center"===n,"align-left":"left"===n})},f&&f.value&&o.default.createElement("div",{className:"incentives-content"},o.default.createElement(s.default,(0,a.default)({},f,{arrangement:p>1?"stacked":"inline",theme:t}))),f.value&&(c.value||d.value)&&h(r),c&&c.value&&o.default.createElement("div",{className:"incentives-content"},o.default.createElement(s.default,(0,a.default)({},c,{arrangement:p>1?"stacked":"inline",theme:t}))),c.value&&d.value&&h(r),d&&d.value&&o.default.createElement("div",{className:"incentives-content"},o.default.createElement(s.default,(0,a.default)({},d,{arrangement:p>1?"stacked":"inline",theme:t}))))};u.defaultProps={theme:"light",comparison:""};var c=u;t.default=c},CpgZ:function(e,t,n){"use strict";n("S91k");var r=n("rhEq"),a=n("mLk8"),o=n("6Yrj"),i=n("ztZs"),l=n("oPIw"),s=n("kLCt"),u=n("v9+W"),c=n("vLSK"),d=n("pJoy"),f=n("j/yd"),p=n("dEmF"),m=n("rs2T"),h=n("2eAP"),v=n("AsqF"),g=n("zWsZ"),y=n("oNyT"),b=n("Uult"),O=n("VM64"),P=n("Q0EA"),S=a("fetch"),w=a("Headers"),x=P("iterator"),_=c.set,C=c.getterFor("URLSearchParams"),T=c.getterFor("URLSearchParamsIterator"),E=/\+/g,A=Array(4),k=function(e){return A[e-1]||(A[e-1]=RegExp("((?:%[\\da-f]{2}){"+e+"})","gi"))},M=function(e){try{return decodeURIComponent(e)}catch(t){return e}},D=function(e){var t=e.replace(E," "),n=4;try{return decodeURIComponent(t)}catch(e){for(;n;)t=t.replace(k(n--),M);return t}},j=/[!'()~]|%20/g,L={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},N=function(e){return L[e]},I=function(e){return encodeURIComponent(e).replace(j,N)},F=function(e,t){if(t)for(var n,r,a=t.split("&"),o=0;o<a.length;)(n=a[o++]).length&&(r=n.split("="),e.push({key:D(r.shift()),value:D(r.join("="))}))},B=function(e){this.entries.length=0,F(this.entries,e)},R=function(e,t){if(e<t)throw TypeError("Not enough arguments")},z=u(function(e,t){_(this,{type:"URLSearchParamsIterator",iterator:b(C(e).entries),kind:t})},"Iterator",function(){var e=T(this),t=e.kind,n=e.iterator.next(),r=n.value;return n.done||(n.value="keys"===t?r.key:"values"===t?r.value:[r.key,r.value]),n}),H=function(){d(this,H,"URLSearchParams");var e,t,n,r,a,o,i,l,s,u=arguments.length>0?arguments[0]:void 0,c=[];if(_(this,{type:"URLSearchParams",entries:c,updateURL:function(){},updateSearchParams:B}),void 0!==u)if(v(u))if("function"==typeof(e=O(u)))for(n=(t=e.call(u)).next;!(r=n.call(t)).done;){if((i=(o=(a=b(h(r.value))).next).call(a)).done||(l=o.call(a)).done||!o.call(a).done)throw TypeError("Expected sequence with length 2");c.push({key:i.value+"",value:l.value+""})}else for(s in u)f(u,s)&&c.push({key:s,value:u[s]+""});else F(c,"string"==typeof u?"?"===u.charAt(0)?u.slice(1):u:u+"")},W=H.prototype;l(W,{append:function(e,t){R(arguments.length,2);var n=C(this);n.entries.push({key:e+"",value:t+""}),n.updateURL()},delete:function(e){R(arguments.length,1);for(var t=C(this),n=t.entries,r=e+"",a=0;a<n.length;)n[a].key===r?n.splice(a,1):a++;t.updateURL()},get:function(e){R(arguments.length,1);for(var t=C(this).entries,n=e+"",r=0;r<t.length;r++)if(t[r].key===n)return t[r].value;return null},getAll:function(e){R(arguments.length,1);for(var t=C(this).entries,n=e+"",r=[],a=0;a<t.length;a++)t[a].key===n&&r.push(t[a].value);return r},has:function(e){R(arguments.length,1);for(var t=C(this).entries,n=e+"",r=0;r<t.length;)if(t[r++].key===n)return!0;return!1},set:function(e,t){R(arguments.length,1);for(var n,r=C(this),a=r.entries,o=!1,i=e+"",l=t+"",s=0;s<a.length;s++)(n=a[s]).key===i&&(o?a.splice(s--,1):(o=!0,n.value=l));o||a.push({key:i,value:l}),r.updateURL()},sort:function(){var e,t,n,r=C(this),a=r.entries,o=a.slice();for(a.length=0,n=0;n<o.length;n++){for(e=o[n],t=0;t<n;t++)if(a[t].key>e.key){a.splice(t,0,e);break}t===n&&a.push(e)}r.updateURL()},forEach:function(e){for(var t,n=C(this).entries,r=p(e,arguments.length>1?arguments[1]:void 0,3),a=0;a<n.length;)r((t=n[a++]).value,t.key,this)},keys:function(){return new z(this,"keys")},values:function(){return new z(this,"values")},entries:function(){return new z(this,"entries")}},{enumerable:!0}),i(W,x,W.entries),i(W,"toString",function(){for(var e,t=C(this).entries,n=[],r=0;r<t.length;)e=t[r++],n.push(I(e.key)+"="+I(e.value));return n.join("&")},{enumerable:!0}),s(H,"URLSearchParams"),r({global:!0,forced:!o},{URLSearchParams:H}),o||"function"!=typeof S||"function"!=typeof w||r({global:!0,enumerable:!0,forced:!0},{fetch:function(e){var t,n,r,a=[e];return arguments.length>1&&(t=arguments[1],v(t)&&(n=t.body,"URLSearchParams"===m(n)&&((r=t.headers?new w(t.headers):new w).has("content-type")||r.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),t=g(t,{body:y(0,String(n)),headers:y(0,r)}))),a.push(t)),S.apply(this,a)}}),e.exports={URLSearchParams:H,getState:C}},D1Sg:function(e,t,n){"use strict";var r=n("SpGf"),a=n("b9XL");n("S91k"),n("ecHe"),n("MlTh"),n("PSYM"),n("TMNY"),n("8dkd"),n("ytq2"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("3dLy")),i=r(n("PMvg"));n("QVnC");var l=r(n("agGE")),s=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!=typeof e)return{default:e};var n=g(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=o?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(r,i,l):r[i]=e[i]}r.default=e,n&&n.set(e,r);return r}(n("1n8/")),u=r(n("MLji")),c=r(n("DqZf")),d=r(n("Mbx9")),f=r(n("iAN8")),p=r(n("Evoi")),m=r(n("QsUg")),h=n("J8WF"),v=r(n("qq99"));function g(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(g=function(e){return e?n:t})(e)}var y={analog:1e3,digital:60};function b(e){var t,n,r,a=e.phases,g=e.revealButtons,b=e.setLoadingStatus,O=e.setOpenHeroImage,P=e.setHeroClassNames,S=e.setStylesOnCountdownPhaseChange,w=(0,f.default)(),x=(0,p.default)().clientServerTimeDiff,_=a[a.length-1].countdownTimerInclude,C=new URLSearchParams((null===(t=window)||void 0===t?void 0:null===(n=t.location)||void 0===n?void 0:n.search)||"").get("multiphasesCountdownPhase");if(C&&!w.current){r=C-1;var T=(new Date).getTime();r<=a.length&&(a[r].countdownTimerInclude.timer=T+2e4,a[r+1]&&(a[r+1].countdownTimerInclude.timer=T+4e4)),_.timer=T+6e4}var E,A=(0,m.default)({props:e,clientServerTimeDiff:x,activeQueryTimer:r}),k=A.activeTimerIndex,M=A.timerPhase,D=A.timerLoadingStatus,j=M.timerUiType,L=M.theme,N=M.topTitle,I=M.topDescription,F=M.topTitleStyle,B=M.countdownTimerInclude,R=M.useDisclosureBar,z=(0,s.useCallback)((0,l.default)(i.default.mark(function e(){return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(D!==h.LOADING_STATUS.idle){e.next=5;break}return e.next=3,(0,d.default)(y[j]);case 3:b&&b(D),P&&P("");case 5:case"end":return e.stop()}},e)})),[P,b,D,j]);return(0,s.useEffect)(function(){z()},[z]),"analog"===j&&(E=null===g||void 0===g?void 0:g[0]),(0,s.useEffect)(function(){O(k,L,R),S&&S()},[k,L,O,S,R]),s.default.createElement("div",{className:"countdown-component","data-fe-id":"OpenHeroPanel/CountDownMultiPhases"},"analog"===j&&s.default.createElement("div",{className:"countdown-wrapper"},s.default.createElement(c.default,{title:N,description:I,titleStyle:F,theme:L,arrow:!1,mdWidth:8,smWidth:4}),s.default.createElement(u.default,(0,o.default)({},B,{button:E,theme:L,timer:_.timer}))),"digital"===j&&s.default.createElement(v.default,{phase:M,lastPhaseTimer:_,clientServerTimeDiff:x,postRevealButtons:g}))}b.defaultProps={theme:"light"};var O=(0,s.memo)(b);t.default=O},F0va:function(e,t,n){"use strict";var r=/[^\0-\u007E]/,a=/[.\u3002\uFF0E\uFF61]/g,o="Overflow: input needs wider integers to process",i=Math.floor,l=String.fromCharCode,s=function(e){return e+22+75*(e<26)},u=function(e,t,n){var r=0;for(e=n?i(e/700):e>>1,e+=i(e/t);e>455;r+=36)e=i(e/35);return i(r+36*e/(e+38))},c=function(e){var t,n,r=[],a=(e=function(e){for(var t=[],n=0,r=e.length;n<r;){var a=e.charCodeAt(n++);if(a>=55296&&a<=56319&&n<r){var o=e.charCodeAt(n++);56320==(64512&o)?t.push(((1023&a)<<10)+(1023&o)+65536):(t.push(a),n--)}else t.push(a)}return t}(e)).length,c=128,d=0,f=72;for(t=0;t<e.length;t++)(n=e[t])<128&&r.push(l(n));var p=r.length,m=p;for(p&&r.push("-");m<a;){var h=2147483647;for(t=0;t<e.length;t++)(n=e[t])>=c&&n<h&&(h=n);var v=m+1;if(h-c>i((2147483647-d)/v))throw RangeError(o);for(d+=(h-c)*v,c=h,t=0;t<e.length;t++){if((n=e[t])<c&&++d>2147483647)throw RangeError(o);if(n==c){for(var g=d,y=36;;y+=36){var b=y<=f?1:y>=f+26?26:y-f;if(g<b)break;var O=g-b,P=36-b;r.push(l(s(b+O%P))),g=i(O/P)}r.push(l(s(g))),f=u(d,v,m==p),d=0,++m}}++d,++c}return r.join("")};e.exports=function(e){var t,n,o=[],i=e.toLowerCase().replace(a,".").split(".");for(t=0;t<i.length;t++)n=i[t],o.push(r.test(n)?"xn--"+c(n):n);return o.join(".")}},Fs9y:function(e,t,n){"use strict";var r=n("SpGf");n("Y3qw"),n("ecHe"),n("ItbG"),n("7DbB"),n("MlTh"),n("g0xY"),n("x0yB"),n("GFxX"),Object.defineProperty(t,"__esModule",{value:!0}),t.getSchemaReplace=t.getLaunchMode=t.fetchXFs=void 0;var a=r(n("b9XL")),o=n("KT8i"),i=n("V7Tu"),l=n("pjdA"),s={},u={};t.fetchXFs=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).url,t=void 0===e?"":e;return t?(s[t]=s[t]||{},s[t].fetching?s[t].fetching:(s[t].fetching=new Promise(function(e){(0,o.getJSON)(t).then(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object.keys(t).length?e(t):e(null)}).catch(function(){e(null)})}),s[t].fetching)):Promise.resolve(null)};t.getLaunchMode=function(){return(u=u||{}).fetching?u.fetching:(u.fetching=new Promise(function(e,t){(0,i.launchModeData)().then(function(t){e(t)}).catch(function(){t("Error launch mode data")})}),u.fetching)};t.getSchemaReplace=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;if(!Array.isArray(e)||!Array.isArray(t))return!1;var n=[];return e.forEach(function(e){if("object"===(0,a.default)(e)){var r=JSON.stringify(e)||"";t.forEach(function(e){if("object"===(0,a.default)(e)){var t=Object.keys(e)[0],n=e[t],o="";"string"==typeof n&&(o=n.replace(/\"/g,"'"));var i=new RegExp("{".concat(t,"}"),"g");r=r.replace(i,o),r=(0,l.unescapeNamedHTMLEntities)(r)}}),n.push(JSON.parse(r))}}),n}},HJ6b:function(e,t,n){"use strict";var r=n("SpGf"),a=n("b9XL");n("1nHC"),n("4hJi"),n("XwPX"),n("d93j"),n("oCSF"),n("A+FC"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("3dLy")),i=r(n("0fcM")),l=r(n("P8NW")),s=r(n("d4H2")),u=r(n("0421")),c=r(n("UJE0")),d=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!=typeof e)return{default:e};var n=w(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=o?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(r,i,l):r[i]=e[i]}r.default=e,n&&n.set(e,r);return r}(n("1n8/")),f=r(n("9qb7")),p=r(n("5NDa")),m=r(n("AmE+")),h=r(n("Wwy+")),v=r(n("Z4cF")),g=r(n("JVOT")),y=r(n("3UU2")),b=r(n("Rpxb")),O=r(n("Qnq0")),P=r(n("q9uu")),S=r(n("/RWb"));function w(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(w=function(e){return e?n:t})(e)}function x(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=(0,c.default)(e);if(t){var a=(0,c.default)(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return(0,u.default)(this,n)}}n("ytuC");var _=d.default.createElement("div",{className:"gcss-sr-only"},","),C=function(e){(0,s.default)(n,e);var t=x(n);function n(e){var r;return(0,i.default)(this,n),(r=t.call(this,e)).componentList={Buttons:{component:p.default,defaultProps:{context:r.props.context}},Paragraph:{component:h.default,defaultProps:{}},Heading:{component:v.default,defaultProps:{}},Image:{component:m.default,defaultProps:{stretch:!1,isLazy:!1}},Incentive:{component:r.getIncentivetype(),defaultProps:{alignment:r.props.alignment,mobileAlignment:r.props.mobileAlignment}},KeyStat:{component:y.default,defaultProps:{align:r.props.alignment,mobileAlignment:r.props.mobileAlignment}},Price:{component:b.default,defaultProps:{}},ParagraphWithCTA:{component:O.default,defaultProps:{}},BulletList:{component:S.default,defaultProps:{}}},r}return(0,l.default)(n,[{key:"getIncentivetype",value:function(){var e="grid"===this.props.dynamicOfferFormat;return!e&&this.props.setContentBoxClassFn("content-box--visible"),e?P.default:g.default}},{key:"render",value:function(){var e,t=this.props,n=t.component,r=t.displayInMultipleLines,a=t.htmlIdPrefix,i=t.index,l=t.isFamilyShot,s=t.paddingBottom,u=t.paddingTop,c=t.props,p=t.shouldFetchDynamicOffer,m=t.theme,v=t.type,g=t.visibility,y=t.setContentBoxClassFn,b=t.panelIndex,O={},P="",S="string"==typeof v?v.toLowerCase():"";if(void 0!==this.componentList[n]){var w=this.componentList[n];e=w.component,P=n.toLowerCase(),O=Object.assign({},w.defaultProps,c),"Buttons"!==n&&"ParagraphWithCTA"!==n||(O.htmlIdPrefix=a,O.index=i,O.panelIndex=b)}var x=u||""===u||"paragraph"===P?u:"nonparagraph-comp-top",C=s||""===s||"paragraph"===P?s:"nonparagraph-comp-bottom",T=e===h.default&&Array.isArray(c),E=S.includes("ofrtxt_group")&&"incentive"!==P;return d.default.createElement("div",{className:(0,f.default)("content-component","content-component-".concat(P),x,C,{"gcss-hide-mobile":!g.mobile,"gcss-hide-phablet":!g.phablet,"gcss-hide-tablet":!g.tablet,"gcss-hide-desktop":!g.desktop}),"data-fe":"OpenHeroContent"},e&&d.default.createElement("div",{id:"".concat(a,"--").concat(i),className:(0,f.default)("content-component--".concat(S),{"offer-text-group":E,"is-single-line":!r})},T?c.map(function(t){var n=!!t.text,a=!!!(t.fontSize||"").trim()&&t.increasedMobileLegibility;if(!n)return null;var i=r?t.text:"".concat(t.text," ");return d.default.createElement("div",{className:(0,f.default)("open-hero--paragraph-multifield",r?"text--multi-line":"text--single-line")},d.default.createElement(e,(0,o.default)({theme:m,type:v,shouldFetchDynamicOffer:p},t,{increasedMobileLegibility:a,text:i,isFamilyShot:l})))}):d.default.createElement(e,(0,o.default)({theme:m,type:v,shouldFetchDynamicOffer:p,isFamilyShot:l},O,{setContentBoxClassFn:y})),_))}}]),n}(d.PureComponent);C.defaultProps={displayInMultipleLines:!1,paddingTop:"",paddingBottom:"",visibility:{mobile:!0,phablet:!0,tablet:!0,desktop:!0},type:""};var T=C;t.default=T},Hche:function(e,t,n){"use strict";var r=n("SpGf");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n("69HE")),o=n("1n8/"),i=n("hBQ3"),l=function(){var e=(0,o.useState)(null),t=(0,a.default)(e,2),n=t[0],r=t[1],l=function(e){var t=e.value;t&&r({vehicleOfInterest:t})};return(0,o.useEffect)(function(){return(null===i.SDPUser||void 0===i.SDPUser?void 0:i.SDPUser.vehicleOfInterest)?l({value:i.SDPUser.vehicleOfInterest}):null===i.SDPUser||void 0===i.SDPUser||i.SDPUser.addListener("vehicleOfInterest",l),function(){null===i.SDPUser||void 0===i.SDPUser||i.SDPUser.removeListener("vehicleOfInterest",l)}},[]),n};t.default=l},"I+nr":function(e,t,n){"use strict";var r=n("SpGf");n("BKbk"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=(0,o.useState)({}),n=(0,a.default)(t,2),r=n[0],s=n[1],u=(0,o.useState)(""),c=(0,a.default)(u,2),d=c[0],f=c[1],p=(0,o.useState)(""),m=(0,a.default)(p,2),h=m[0],v=m[1],g=(0,o.useMemo)(function(){return e.some(function(e){return"OR"===e.connector})},[e]),y=(0,o.useMemo)(function(){return function(e){var t=e.findIndex(function(e){return"OR"===e.connector});return t>=0?t:e.length-1}(e)},[e]);return(0,o.useEffect)(function(){var t=(g?i:l)(e.length,y),n=t.fontSize,r=t.grid,a=t.padding;s(n),v(r),f(a)},[g,e.length,y]),{customFontSize:r,customValuePadding:d,gridWrapperArea:h,partitionIndex:y}};var a=r(n("69HE")),o=n("1n8/");function i(e,t){if(e<=2)return{fontSize:{customLabelFontSize:"grid-label-font-size-2-to-4",customTitleFontSize:"grid-title-font-size-2-to-4",customValueFontSize:"grid-value-font-size-2"},grid:"grid-wrapper--with-keyline grid-wrapper--1x1",padding:"padding-y-10-5"};if(3===e){var n=["grid-wrapper--1x2","grid-wrapper--2x1"];return{fontSize:{customLabelFontSize:"grid-label-font-size-2-to-4",customTitleFontSize:"grid-title-font-size-2-to-4",customValueFontSize:"grid-value-font-size-3"},grid:"grid-wrapper--with-keyline ".concat(n[t]||n[0]),padding:"padding-y-10-5"}}if(4===e){var r=["grid-wrapper--1x3","grid-wrapper--2x2","grid-wrapper--3x1"],a="grid-wrapper--with-keyline ".concat(r[t]||r[0]);return{fontSize:{customLabelFontSize:"grid-label-font-size-4",customTitleFontSize:"grid-title-font-size-2-to-4",customValueFontSize:1===t?"grid-value-font-size-4-equal":"grid-value-font-size-3-plus"},grid:a,padding:"padding-y-10-5"}}if(5===e){var o=[null,"grid-wrapper--2x3","grid-wrapper--3x2"];return{fontSize:{customLabelFontSize:"grid-label-font-size-4",customTitleFontSize:"grid-title-font-size-2-to-4",customValueFontSize:"grid-value-font-size-3-plus"},grid:"grid-wrapper--with-keyline ".concat(o[t]||o[1]),padding:"padding-y-10-5"}}return 6===e?{fontSize:{customLabelFontSize:"grid-label-font-size-4",customTitleFontSize:"grid-title-font-size-2-to-4",customValueFontSize:"grid-value-font-size-3-plus"},grid:"grid-wrapper--with-keyline grid-wrapper--3x3",padding:"padding-y-10-5"}:{fontSize:{customLabelFontSize:"grid-label-font-size-2-to-4",customTitleFontSize:"grid-title-font-size-2-to-4",customValueFontSize:"grid-value-font-size-4-equal"},grid:"grid-wrapper--with-keyline grid-wrapper--3x3",padding:"padding-y-10-5"}}function l(e){return 1===e?{fontSize:{customLabelFontSize:"grid-label-font-size-1",customTitleFontSize:"grid-title-font-size-1",customValueFontSize:"grid-value-font-size-1"},grid:"grid-wrapper-area-1",padding:"padding-y-12-7"}:2===e?{fontSize:{customLabelFontSize:"grid-label-font-size-2-to-4",customTitleFontSize:"grid-title-font-size-2-to-4",customValueFontSize:"grid-value-font-size-2"},grid:"grid-wrapper-area-2",padding:"padding-y-10-5"}:3===e?{fontSize:{customLabelFontSize:"grid-label-font-size-2-to-4",customTitleFontSize:"grid-title-font-size-2-to-4",customValueFontSize:"grid-value-font-size-3"},grid:"grid-wrapper-area-3",padding:"padding-y-10-5"}:4===e?{fontSize:{customLabelFontSize:"grid-label-font-size-4",customTitleFontSize:"grid-title-font-size-2-to-4",customValueFontSize:"grid-value-font-size-4-equal"},grid:"grid-wrapper-area-4",padding:"padding-y-7-5"}:{fontSize:{customLabelFontSize:"grid-label-font-size-2-to-4",customTitleFontSize:"grid-title-font-size-2-to-4",customValueFontSize:"grid-value-font-size-4-equal"},grid:"grid-wrapper--with-keyline grid-wrapper--3x3",padding:"padding-y-6-3"}}},IeWx:function(e,t,n){"use strict";var r=n("SpGf");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n("3dLy")),o=r(n("1n8/")),i=r(n("VfJO")),l=function(e){return function(t){var n=(0,i.default)();return o.default.createElement(e,(0,a.default)({userGeoData:n},t))}};t.default=l},IqKA:function(e,t){},J8WF:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LOADING_STATUS=void 0;t.LOADING_STATUS={idle:"idle",loading:"loading"}},JUHb:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getRemainingTime=void 0;t.getRemainingTime=function(e,t){var n=(e-(Date.now()-t))/1e3,r=Math.floor(n%60),a=Math.floor(n/60%60),o=Math.floor(n/3600%24);return{days:Math.ceil(n/86400),hours:o,minutes:a,seconds:r,remainingTime:n}}},JVOT:function(e,t,n){"use strict";var r=n("SpGf"),a=n("b9XL");n("XwPX"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,i=r(n("0fcM")),l=r(n("P8NW")),s=r(n("E7HD")),u=r(n("d4H2")),c=r(n("0421")),d=r(n("UJE0")),f=r(n("IxO8")),p=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!=typeof e)return{default:e};var n=b(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=o?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(r,i,l):r[i]=e[i]}r.default=e,n&&n.set(e,r);return r}(n("1n8/")),m=r(n("2tAt")),h=r(n("9qb7")),v=r(n("6G51")),g=r(n("/jGT")),y=r(n("XleV"));function b(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(b=function(e){return e?n:t})(e)}function O(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return P(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return P(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){l=!0,o=e},f:function(){try{i||null==n.return||n.return()}finally{if(l)throw o}}}}function P(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function S(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=(0,d.default)(e);if(t){var a=(0,d.default)(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return(0,c.default)(this,n)}}n("xYmU");var w=p.default.createElement("span",{className:"incentive-line"}),x=p.default.createElement("span",{className:"incentive-line"}),_=(0,m.default)(o=function(e){(0,u.default)(n,e);var t=S(n);function n(e){var r;return(0,i.default)(this,n),r=t.call(this,e),(0,f.default)((0,s.default)(r),"_onWindowResize",function(){var e=r.state.screen,t=v.default.getScreenSizeState().screen;e!==t&&r.setState({screen:t})}),(0,f.default)((0,s.default)(r),"_renderIncentiveDetails",function(e){return p.default.createElement("div",{className:(0,h.default)("incentive-details","gcss-colors-text-body-subdued-dark"),"data-fe-id":"OpenHeroIncentives"},e.details)}),r.state={},r}return(0,l.default)(n,[{key:"UNSAFE_componentWillMount",value:function(){var e=v.default.getScreenSizeState().screen;this.setState({screen:e})}},{key:"componentDidMount",value:function(){window.addEventListener("resize",(0,g.default)(this._onWindowResize,100))}},{key:"render",value:function(){var e,t=this,n=this.props,r=n.alignment,a=n.arrangement,o=n.comparison,i=n.incentiveData,l=n.labelFontSize,s=n.labelFontColor,u=n.mobileAlignment,c=n.theme,d=n.titleFontColor,f=n.titleFontSize,m=n.valueFontSize,v=n.valueFontColor,g=n.positionClass,b=n.valueAlign,P=n.labelAlign,S=n.horizontalBar,_=n.shouldFetchDynamicOffer,C=this.state.screen,T=i?i.length:0,E=""!==b?"text-".concat(b):"",A=""!==P?"text-".concat(P):"",k=""!==S?"horz-bar_".concat(S):"",M=!1,D=O(i);try{for(D.s();!(e=D.n()).done;){e.value.details&&(M=!0)}}catch(e){D.e(e)}finally{D.f()}var j=p.default.createElement("div",{className:"incentive-comparison"},w,p.default.createElement("span",{className:"incentive-compare"},o),x);return p.default.createElement("div",{className:(0,h.default)("open-hero-incentives-wrapper","gcss-theme-".concat(c),"align-".concat("desktop"===C||"tablet"===C?r:u),"arrangement-".concat(a),{"single-incentive":1===T,"paired-incentive":T>1,"no-incentive-details":!M},g),"data-fe-id":"OpenHeroIncentives"},i&&i.map(function(e,n){return p.default.createElement("div",{className:"open-hero-incentives-container"},p.default.createElement("div",{className:"open-hero-incentive"},e.title&&p.default.createElement("div",{className:(0,h.default)("incentive-title",f,d,{"default-font":!f})},e.title),p.default.createElement("div",{className:"incentive-contents"},p.default.createElement("div",{className:(0,h.default)("incentive-value",m,v,{"default-font":!m},E)},e.value),p.default.createElement("div",{className:(0,h.default)("incentive-info",k)},p.default.createElement("div",{className:(0,h.default)("incentive-label",l,s,{"default-font":!l},A)},e.label,_?e.disclosure.value:e.disclosure&&e.disclosure.value&&p.default.createElement("div",{className:"disclosure"},p.default.createElement(y.default,{theme:c},e.disclosure.value))),e.details&&t._renderIncentiveDetails(e))),e.details&&t._renderIncentiveDetails(e)),n<T-1&&p.default.createElement("div",{className:"incentive-separator"},o&&j))}))}}]),n}(p.PureComponent))||o;_.defaultProps={align:"left",arrangement:"inline",comparison:"",labelFontColor:"brand-primary-body-color",labelFontSize:"",mobileAlignment:"left",titleFontColor:"brand-primary-body-color",titleFontSize:"",valueFontColor:"brand-primary-body-color",valueFontSize:"",valueAlign:"",labelAlign:"",horizontalBar:"",positionClass:""};var C=_;t.default=C},KODV:function(e,t){},LfsX:function(e,t,n){"use strict";var r=n("SpGf");n("1nHC"),n("OImK"),n("XwPX"),n("I5XU"),n("kzOy"),n("ecHe"),n("g0xY"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n("P8NW")),o=r(n("0fcM")),i=n("pjdA"),l=(0,a.default)(function e(t,n){(0,o.default)(this,e);var r=n.postText,a=n.amount,l=n.dueAtSigning,s=n.duration,u=n.incentives,c=n.incentivesTotalValue,d=n.incentivesProgName,f=n.rate,p=n.securityDeposit,m=n.type,h=Object.defineProperty,v="title";(m||"").toString().toLowerCase();h(this,v,{get:function(){switch(!0){case/^(apr|finance)$/i.test(m):return"FINANCE FOR";case/^(cash)$/i.test(m):return"GET";case/^(lease)$/i.test(m):return"LEASE FOR";default:return""}},configurable:!0,enumerable:!0});var g="value";(m||"").toString().toLowerCase();h(this,g,{get:function(){switch(!0){case/^(apr|cash_apr)$/i.test(m):return"".concat(f,"%");case/^(cash|lease|cash_apr)$/i.test(m):return(0,i.formatPrice)(a);case/^(special)$/i.test(m):return"".concat(d);case/^(text)$/i.test(m):return u.length>0?u[0].incentiveText:"";default:return}},configurable:!0,enumerable:!0});var y="details";(m||"").toString().toLowerCase();h(this,y,{get:function(){switch(!0){case/^(lease)$/i.test(m):return"".concat((0,i.formatPrice)(l)," total due at lease signing. ").concat(p?(0,i.formatPrice)(p):"No"," security deposit required.");default:return}},configurable:!0,enumerable:!0});var b="label";(m||"").toString().toLowerCase();h(this,b,{get:function(){switch(m){case"apr":return"APR for ".concat(s," months");case"cash":return"user_system"===t?r[0]:"Cash Allowance";case"cash_apr":return"APR for ".concat(s," months");case"lease":return"per month for ".concat(s," months");case"text":return r.length>0?r[0]:"";default:return}},configurable:!0,enumerable:!0});var O="showIncentiveInfo";(m||"").toString().toLowerCase();h(this,O,{get:function(){var e=m;return Boolean(u.length&&("cash_apr"===e||"apr"===e)&&a)},configurable:!0,enumerable:!0});var P="incentiveLabel";(m||"").toString().toLowerCase();h(this,P,{get:function(){switch(!0){case/^(apr|cash_apr)$/i.test(m):return"Plus";case/^(lease)$/i.test(m):return"Includes";default:return}},configurable:!0,enumerable:!0});var S="incentivesTotalValue";(m||"").toString().toLowerCase();h(this,S,{get:function(){var e,t=u.filter(function(e){return!!e.value}).map(function(e){return e.value=(0,i.formatPrice)(e.value),e});return this.showIncentiveInfo?(e=t.length?c:a,(0,i.formatPrice)(e)):void 0},configurable:!0,enumerable:!0});var w="incentiveType";(m||"").toString().toLowerCase();h(this,w,{get:function(){if(/^(apr|cash_apr)$/i.test(m))return"user_system"===t?r[0]:"Cash Allowance"},configurable:!0,enumerable:!0});var x="postText";Array.isArray(r);h(this,x,{get:function(){return/^(cash|cash_apr|text)$/i.test(m)?r.slice(1):r},configurable:!0,enumerable:!0})});t.default=l},MGPT:function(e,t){},MLji:function(e,t,n){"use strict";var r=n("SpGf"),a=n("b9XL");n("qTD4"),n("GFxX"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,i=r(n("0fcM")),l=r(n("P8NW")),s=r(n("E7HD")),u=r(n("d4H2")),c=r(n("0421")),d=r(n("UJE0")),f=r(n("IxO8")),p=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!=typeof e)return{default:e};var n=S(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=o?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(r,i,l):r[i]=e[i]}r.default=e,n&&n.set(e,r);return r}(n("1n8/")),m=r(n("9qb7")),h=r(n("ULsO")),v=n("DUbo"),g=n("/z1Q"),y=r(n("+DI/")),b=r(n("AEfI")),O=r(n("2A52")),P=r(n("8d8C"));function S(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(S=function(e){return e?n:t})(e)}function w(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return x(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return x(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){l=!0,o=e},f:function(){try{i||null==n.return||n.return()}finally{if(l)throw o}}}}function x(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function _(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=(0,d.default)(e);if(t){var a=(0,d.default)(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return(0,c.default)(this,n)}}n("1nCl");var C=(0,h.default)(o=function(e){(0,u.default)(n,e);var t=_(n);function n(e){var r;return(0,i.default)(this,n),r=t.call(this,e),(0,f.default)((0,s.default)(r),"_setZoomCSS",function(){var e=P.default.resizeFactor();r.setState({hasZoomedText:e>1,resizeFactorValue:e.toFixed(1)})}),(0,f.default)((0,s.default)(r),"__setTimeAndAnimations",function(e,t,n,a,o){r.props.displayStatusReel&&(1===t?"ie"===r.browserCheck?r.__circleAnimation[o].style["stroke-dashoffset"]=a-t*(a/n):r.__circleAnimation[o].style["stroke-dashoffset"]="second"===o?242:a-t*(a/n):r.__circleAnimation[o].style["stroke-dashoffset"]=a-t*(a/n),r.__circleAnimation[o].classList.contains("circle-transition")||(r._setTimeAndAnimationsTimeout=setTimeout(function(){r._addTransitionForSeconds(o)},100))),r.props.displayNumbers&&(r.__number[o].textContent=e,r.__seconds[o].textContent=o+"(s)")}),(0,f.default)((0,s.default)(r),"_addTransitionForSeconds",function(e){"second"===e&&r.__circleAnimation[e].classList.add("circle-transition")}),(0,f.default)((0,s.default)(r),"_removeTransitionForSeconds",function(e){"second"===e&&r.__circleAnimation[e].classList.remove("circle-transition")}),(0,f.default)((0,s.default)(r),"_animate",function(){var e=r.props,t=e.timerType,n=e.timer,a=e.redirectURL,o=e.onFinish,i=e.clientServerTimeDiff,l=Date.now()-i,u=n/1e3;"finishLimit"===t&&(u=n>l?(n-l)/1e3:0);var c=r.__getTimeObj(u),d=setInterval(function(){var e,t=r.__getTimeObj(u),n=w(r.timeType);try{for(n.s();!(e=n.n()).done;){var i=e.value;r._setCounterTime(t,i,c,242,u)}}catch(e){n.e(e)}finally{n.f()}if(u<=0)return clearInterval(d),void("function"==typeof o?o.call((0,s.default)(r)):a&&""!==a?r._redirect(a):r.setState({renderCta:!0}));--u},1e3)}),(0,f.default)((0,s.default)(r),"_redirect",function(e){void 0!==e&&(window.location.href=e)}),(0,f.default)((0,s.default)(r),"__getTimeObj",function(e){var t=e,n=Math.floor(t%60),r=Math.floor(t/60%60),a=Math.floor(t/3600%24);return{total:t,day:Math.floor(t/86400),hour:a,minute:r,second:n}}),(0,f.default)((0,s.default)(r),"__renderCountDownHtml",function(e){var t=r.props.backgroundOpacity,n=r.state,a=n.resizeFactorValue,o=n.hasZoomedText,i=o&&a>1.2?"140":"85",l=o&&a>1.2?"60":"38.5",s=o&&a>1.2?"70":"42.5",u=o&&a>1.5?"half-zoom-text":o&&a>1.2&&a<1.5&&"middle-zoom-text",c="second"===e?"true":"false";return p.default.createElement("div",{className:(0,m.default)("count-down-container",u),"aria-hidden":c,key:e},p.default.createElement("div",{className:"item"},p.default.createElement("span",{ref:function(t){return r.__number[e]=r.__number[e]||t,r.__number[e]},className:(0,m.default)("counter","gcss-typography-utility-heading-2","counter-".concat(e))}),p.default.createElement("span",{ref:function(t){return r.__seconds[e]=r.__seconds[e]||t,r.__seconds[e]},className:(0,m.default)("second","gcss-typography-label-6")})),p.default.createElement("svg",{className:"circle",width:i,height:i},p.default.createElement("g",{transform:"rotate(360)"},p.default.createElement("circle",{className:(0,m.default)("circle-animation circle-line","".concat(t)),r:l,cy:s,cx:s}),p.default.createElement("circle",{className:(0,m.default)("circle-animation","".concat(t)),r:l,cy:s,cx:s,ref:function(t){return r.__circleAnimation[e]=r.__circleAnimation[e]||t,r.__circleAnimation[e]}}))))}),r.__number={},r.__seconds={},r.__circleAnimation={},r.timeType=[],r.browserCheck=(0,v.detectBrowser)(),r.state={renderCta:!1,hasZoomedText:!1,resizeFactorValue:0},"undefined"!=typeof document&&P.default.init(14),r}return(0,l.default)(n,[{key:"componentDidMount",value:function(){document.addEventListener("textzoom",this._setZoomCSS),this._setZoomCSS(),this._animate()}},{key:"componentWillUnmount",value:function(){clearTimeout(this._resetAnimationTimeout),clearTimeout(this._setTimeAndAnimationsTimeout)}},{key:"_setCounterTime",value:function(e,t,n,r,a){var o,i,l;switch(t){case"second":l=o=e.second,i=60,1===this.timeType.length&&(o=e.total,l=Math.ceil(o),i=a);break;case"minute":l=e.minute,o=e.minute,i=60,1===this.timeType.length&&(o=e.total,l=Math.floor(o/60),i=a);break;case"hour":l=e.hour,o=e.hour,i=24,1===this.timeType.length&&(o=e.total,l=Math.floor(o/3600),i=a);break;case"day":l=e.day,o=e.day,i=n.day}this.__setTimeAndAnimations(l,o,i,r,t),this.timeType.length>1&&((e.day>0||e.hour>0||e.minute>0)&&0===e.second&&"second"===t&&this._resetAnimation(t),(e.day>0||e.hour>0)&&0===e.minute&&0===e.second&&"minute"===t&&this._resetAnimation(t),e.day>0&&0===e.hour&&0===e.minute&&0===e.second&&"hour"===t&&this._resetAnimation(t))}},{key:"_resetAnimation",value:function(e){var t=this;this._removeTransitionForSeconds(e),this.__circleAnimation[e].classList.add("circle-opacity"),this.__circleAnimation[e].style["stroke-dashoffset"]=0,this._resetAnimationTimeout=setTimeout(function(){t.__circleAnimation[e].classList.remove("circle-opacity"),t._addTransitionForSeconds(e)},500)}},{key:"render",value:function(){var e=this,t=this.props,n=this.state,r=t.button,a=t.counterAriaLabel,o=t.daysCounter,i=t.hoursCounter,l=t.minutesCounter,s=t.secondsCounter,u=t.theme,c=t.clientServerTimeDiff,d=n.hasZoomedText,f=n.renderCta;this.timeType=[],o&&this.timeType.push("day"),i&&this.timeType.push("hour"),l&&this.timeType.push("minute"),s&&this.timeType.push("second");var h=[];return"number"==typeof c&&this.timeType.length>0||d?this.timeType.forEach(function(t){h.push(e.__renderCountDownHtml(t))}):this.timeType=[],g.isClient&&"number"==typeof c&&h.length>0?p.default.createElement("div",{"data-fe-id":"CountDown"},p.default.createElement("div",{className:"visually-hidden"},a),p.default.createElement("div",{className:(0,m.default)("count-down-wrapper","gcss-theme-".concat(u),d&&"has-zoomed-text"),"aria-atomic":"true"},p.default.createElement(y.default,null,p.default.createElement(b.default,null,f?r&&p.default.createElement(O.default,r):h)))):null}}]),n}(p.PureComponent))||o;C.defaultProps={theme:"light",timer:5e3,backgroundOpacity:"Transparent",timerType:"timeLimit"};var T=C;t.default=T},Mbx9:function(e,t,n){"use strict";n("ecHe"),n("ItbG"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){return new Promise(function(t){return setTimeout(t,e)})};t.default=r},OKYH:function(e,t){},QfIW:function(e,t,n){"use strict";var r=n("SpGf");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n("1n8/")),o=r(n("9qb7")),i=r(n("usq6")),l=r(n("erRR")),s=n("DUbo"),u=n("2tAt");n("hKk3");var c=a.default.createElement("span",{className:"symbol"},a.default.createElement(i.default,{icon:"plus"})),d=function(e){var t=e.active,n=e.theme,r=e.x1,i=e.y1,d=e.href,f=e.target,p=e.lid,m=e.lpos,h=e.linkType,v=e.tooltip,g=v&&v.header,y=v&&v.hasBackground&&("left"===v.direction||"right"===v.direction),b=parseInt(r,10),O=parseInt(i,10);return a.default.createElement("div",{className:(0,o.default)("hotspot","gcss-theme-".concat(n),y?"has-background":"",{active:t}),"data-fe-id":"Hotspot",style:function(e,t){var n={};return e&&(e>50?n.right="".concat(100-e,"%"):n.left="".concat(e,"%")),t&&(t>50?n.bottom="".concat(100-t,"%"):n.top="".concat(t,"%")),n}(b,O)},a.default.createElement(l.default,{url:d,lpos:m,lid:p,linktype:h,target:f},c,g&&function(e,t,n){var r,i=e.direction,l=(0,u.convertStringPropsToRichText)(e).header,c=(0,s.detectBrowser)();return r=n?t:"light"===t?"dark":"light",a.default.createElement("span",{className:(0,o.default)("hotspot-tooltip","gcss-theme-".concat(r),"direction-".concat(i),n?"has-background":"",c)},l&&a.default.createElement("div",{className:"header"},l))}(v,n,y)))};d.defaultProps={theme:"dark",active:!1,lpos:"hotspot"};var f=d;t.default=f},Qnq0:function(e,t,n){"use strict";var r=n("SpGf"),a=n("b9XL");n("1nHC"),n("XwPX"),n("QJ0z"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,i=r(n("3dLy")),l=r(n("0fcM")),s=r(n("P8NW")),u=r(n("E7HD")),c=r(n("d4H2")),d=r(n("0421")),f=r(n("UJE0")),p=r(n("IxO8")),m=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!=typeof e)return{default:e};var n=y(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=o?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(r,i,l):r[i]=e[i]}r.default=e,n&&n.set(e,r);return r}(n("1n8/")),h=r(n("2tAt")),v=r(n("9qb7")),g=r(n("2A52"));function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(y=function(e){return e?n:t})(e)}function b(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=(0,f.default)(e);if(t){var a=(0,f.default)(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return(0,d.default)(this,n)}}n("MGPT");var O=(0,h.default)(o=function(e){(0,c.default)(n,e);var t=b(n);function n(e){var r;return(0,l.default)(this,n),r=t.call(this,e),(0,p.default)((0,u.default)(r),"_createBodyCopy",function(){var e=r.props,t=e.text,n=e.textAlign,a=""!==n?"text-".concat(n):"";return t&&m.default.createElement("div",{className:"open-hero__pwc-text-container"},m.default.createElement("p",{className:a},t))}),(0,p.default)((0,u.default)(r),"_fireLinkTrack",function(e){var t=e.currentTarget.dataset,n=t.lid,r=t.lpos,a=t.adobeLinktype;window.DATALAYER&&window.DATALAYER.linkTrack(!0,{lid:n,lpos:r,linkType:a,vars:{eVar5:" ",prop1:" "}})}),(0,p.default)((0,u.default)(r),"_createBtnList",function(){for(var e=r.props,t=e.buttons,n=e.theme,a=e.index,o=e.htmlIdPrefix,l=e.context,s=e.isFamilyShot,u=e.shouldFetchDynamicOffer,c=s&&u,d="",f=0;f<a;f++)d=d.length>0?"".concat(d," ").concat(o,"--").concat(f):"".concat(o,"--").concat(f);return t&&m.default.createElement("div",{className:"open-hero__pwc-buttons-container"},t.map(function(e,a){return m.default.createElement(g.default,(0,i.default)({role:t.link||"links",a11yFeatures:{"aria-describedby":0===a?d:null},theme:n,context:l},c&&{donotTrack:"true"},{onClick:c&&r._fireLinkTrack},e))}))}),r.state={},r}return(0,s.default)(n,[{key:"render",value:function(){var e=this.props.theme;return m.default.createElement("div",{className:(0,v.default)("open-hero__pwc-wrapper","gcss-theme-".concat(e)),"data-fe-id":"OpenHeroParagraphWithCta"},this._createBodyCopy(),this._createBtnList())}}]),n}(m.PureComponent))||o;O.defaultProps={theme:"light",cssClass:"",textAlign:"",buttonsAlign:""};var P=O;t.default=P},QsUg:function(e,t,n){"use strict";var r=n("SpGf");n("XwPX"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.props.phases,n=e.clientServerTimeDiff,r=e.activeQueryTimer,u=Date.now()-n,c=(0,o.useState)(!1),d=(0,a.default)(c,2),f=d[0],p=d[1],m=(0,i.default)().screen,h=(0,o.useState)(s.LOADING_STATUS.loading),v=(0,a.default)(h,2),g=v[0],y=v[1],b=null===t||void 0===t?void 0:t.map(function(e){var t;return"finishLimit"===(null===(t=e.countdownTimerInclude)||void 0===t?void 0:t.timerType)?(0,l.toSeconds)(e.countdownTimerInclude.timer-u):(0,l.toSeconds)(e.countdownTimerInclude.timer)}),O=(0,o.useRef)(),P=(0,o.useState)(function(){return r||(0,l.getInitialTimerIndex)({phases:t,phasesSecondsLeft:b})}),S=(0,a.default)(P,2),w=S[0],x=S[1],_=(0,o.useRef)();_.current=b[w];var C=(0,o.useCallback)(function(){var e=w+1,n=b[e];if(n){if(1e3*_.current>=Math.pow(2,31))return;setTimeout(function(){(0,l.preLoadNextImage)({phases:t,activeTimerIndex:w,screen:m,isImageLoaded:f,setImageLoaded:p})},1e3*(_.current-20)),O.current=setTimeout(function(){_.current=(0,l.getNextTimer)({activeTimerIndex:w,phasesSecondsLeft:b}),x(e),p(!1)},1e3*_.current)}else w!==t.length-1&&x(t.length-1)},[w,f,t,b,m]);return(0,o.useEffect)(function(){return C(),y(s.LOADING_STATUS.idle),function(){clearTimeout(O.current)}},[C]),{activeTimerIndex:w,timerPhase:t[w],timerLoadingStatus:g}};var a=r(n("69HE")),o=n("1n8/"),i=r(n("b6PS")),l=n("/EQ2"),s=n("J8WF")},ReKC:function(e,t,n){"use strict";var r=n("SpGf");n("4hJi"),n("XwPX"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n("3dLy")),o=r(n("U8F3")),i=r(n("1n8/"));n("1CUB");var l=r(n("CMF5")),s=["incentives","customFontSize","isOr","shouldFetchDynamicOffer","customValuePadding","theme","labelFontSize","titleFontSize","valueFontSize"];var u=function(e){var t=e.incentives,n=e.customFontSize,r=(e.isOr,e.shouldFetchDynamicOffer),u=e.customValuePadding,c=e.theme,d=e.labelFontSize,f=e.titleFontSize,p=e.valueFontSize,m=(0,o.default)(e,s);return i.default.createElement(i.default.Fragment,null,t.map(function(e,o){var s,h,v;["PLUS","AND","+"].includes(null===(s=t[o-1])||void 0===s?void 0:s.connector)&&(h=null===(v=t[o-1])||void 0===v?void 0:v.connector);var g=e.incentiveLabelFontSize,y=e.incentiveTitleFontSize,b=e.incentiveValueFontSize;return i.default.createElement(l.default,(0,a.default)({key:e.offerType,title:h||e.title,label:e.label,value:e.value,offerType:e.offerType,disclaimerElement:e.disclosure.value,shouldFetchDynamicOffer:r,valueFontColor:e.valueFontColor,customFontSize:n,customValuePadding:u,labelFontSize:g&&"select"!==g.toLowerCase()?g:d,titleFontSize:y&&"select"!==y.toLowerCase()?y:f,valueFontSize:b&&"select"!==b.toLowerCase()?b:p,theme:c},m))}))};t.default=u},Rpxb:function(e,t,n){"use strict";var r=n("SpGf"),a=n("b9XL");n("diqY"),n("LYOo"),n("ecHe"),n("MlTh"),n("g0xY"),n("x0yB"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,i=r(n("0fcM")),l=r(n("P8NW")),s=r(n("d4H2")),u=r(n("0421")),c=r(n("UJE0")),d=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!=typeof e)return{default:e};var n=v(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=o?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(r,i,l):r[i]=e[i]}r.default=e,n&&n.set(e,r);return r}(n("1n8/")),f=r(n("2tAt")),p=r(n("9qb7")),m=r(n("XleV")),h=n("pjdA");function v(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(v=function(e){return e?n:t})(e)}function g(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=(0,c.default)(e);if(t){var a=(0,c.default)(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return(0,u.default)(this,n)}}n("B6Jw");var y=(0,f.default)(o=function(e){(0,s.default)(n,e);var t=g(n);function n(e){var r;return(0,i.default)(this,n),(r=t.call(this,e)).state={},r}return(0,l.default)(n,[{key:"render",value:function(){var e=this.props,t=e.description,n=e.descriptionFontColor,r=e.descriptionFontSize,a=e.details,o=e.disclaimer,i=e.paddingTop,l=e.paddingBottom,s=e.price,u=e.priceFontColor,c=e.priceFontSize,f=e.theme,v=e.splitMSRP,g=(0,h.formatPrice)(s,!0)||"$".concat((s||"").toString().replace(/^\$+/,""));return d.default.createElement("div",{className:(0,p.default)("open-hero-price-wrapper",i,l,"gcss-theme-".concat(f),"1"===v?"single-line-price":""),"data-fe-id":"OpenHeroPrice"},d.default.createElement("div",{className:(0,p.default)("description",r,n,{"default-font":!r})},t),d.default.createElement("div",{className:"price-content"},d.default.createElement("span",{className:(0,p.default)("price",c,u,{"default-font":!c})},g),o&&d.default.createElement(m.default,null,o)),d.default.createElement("div",{className:(0,p.default)("details","gcss-colors-text-body-subdued-dark","gcss-typography-font-size-tiny")},a))}}]),n}(d.PureComponent))||o;y.defaultProps={descriptionFontColor:"brand-primary-body-color",descriptionFontSize:"",priceFontColor:"brand-primary-body-color",priceFontSize:""};var b=y;t.default=b},SDfJ:function(e,t,n){"use strict";var r=n("SpGf");n("XwPX"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n("3dLy")),o=r(n("1n8/")),i=r(n("9qb7")),l=r(n("2A52"));var s=function(e){var t=e.buttons,n=void 0===t?[]:t,r=e.theme,s=n.map(function(e){var t=e.children,n="string"==typeof t?t:t.textContent;return o.default.createElement("div",{className:(0,i.default)("digital-count-down-button")},o.default.createElement(l.default,(0,a.default)({key:n,theme:r},e)))});return o.default.createElement("div",{className:(0,i.default)("buttons-wrapper")},s)};t.default=s},Szrq:function(e,t){},Ufk6:function(e,t,n){"use strict";var r=n("SpGf");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n("1n8/"));n("1CUB");var o=a.default.createElement("div",{className:"top"}),i=a.default.createElement("div",{className:"bottom"});function l(e){var t=e.connector;return a.default.createElement("div",{className:"separator-wrapper gcss-colors-text-body-primary"},a.default.createElement("div",{className:"incentive-separator"},o,a.default.createElement("div",{className:"middle"},t),i))}l.defaultProps={connector:""};var s=l;t.default=s},UggW:function(e,t){},Utaf:function(e,t){},Uult:function(e,t,n){var r=n("2eAP"),a=n("VM64");e.exports=function(e){var t=a(e);if("function"!=typeof t)throw TypeError(String(e)+" is not iterable");return r(t.call(e))}},V4rW:function(e,t,n){"use strict";n("aGSB"),Object.defineProperty(t,"__esModule",{value:!0}),t.getPricingMode=t.getInventoryMode=void 0;t.getPricingMode=function(e){var t=e.launchMode,n=void 0===t?{}:t,r=e.ccode,a=void 0===r?null:r,o=e.llp,i=void 0===o?null:o,l=n.noPricingArray;return!!(void 0===l?[]:l).find(function(e){return e.ccode===a&&e.llp===i})};t.getInventoryMode=function(e){var t=e.launchMode,n=void 0===t?{}:t,r=e.ccode,a=void 0===r?null:r,o=e.llp,i=void 0===o?null:o,l=n.noInventoryArray;return!!(void 0===l?[]:l).find(function(e){return e.ccode===a&&e.llp===i})}},V7Tu:function(e,t,n){"use strict";n("ecHe"),n("ItbG"),n("GFxX"),Object.defineProperty(t,"__esModule",{value:!0}),t.launchModeData=function(){var e=[],t=[];return new Promise(function(n,a){(0,r.getLaunchModeData)().then(function(r){r&&r.models&&r.models.forEach(function(n){n.mode.forEach(function(r){"NO_PRICE"===r.typeCode&&e.push({ccode:n.ccode,llp:n.llp}),"NO_INVENTORY"===r.typeCode&&t.push({ccode:n.ccode,llp:n.llp})})}),n({noPricingArray:e,noInventoryArray:t})}).catch(function(e){a(e)})})};var r=n("4AZD")},VXw0:function(e,t,n){"use strict";var r=n("SpGf"),a=n("b9XL");Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.phases,n=e.contentWrapperId,r=Array.isArray(t)&&t.length>0,a=(0,l.useState)(function(){return r?d.LOADING_STATUS.loading:d.LOADING_STATUS.idle}),f=(0,i.default)(a,2),p=f[0],m=f[1],h=p===d.LOADING_STATUS.loading,v=r?u.default:c.default;return l.default.createElement("div",{className:(0,s.default)("open-hero-panel-content count-down",{"count-down--multi-phases":r,"count-down--is-visible":!h}),id:"".concat(n,"--timer"),"data-fe-id":"OpenHeroPanel/CountDownWrapper","data-cats-id":"open-hero-panel-countdown-".concat(r?"multi-phases":"single-phase")},l.default.createElement("div",{className:"content-wrapper"},l.default.createElement(v,(0,o.default)({},e,{setLoadingStatus:m}))))};var o=r(n("3dLy")),i=r(n("69HE")),l=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!=typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=o?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(r,i,l):r[i]=e[i]}r.default=e,n&&n.set(e,r);return r}(n("1n8/")),s=r(n("9qb7")),u=r(n("D1Sg")),c=r(n("tGaV")),d=n("J8WF");function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}},VfJO:function(e,t,n){"use strict";var r=n("SpGf");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n("PMvg")),o=r(n("IxO8"));n("QVnC");var i,l,s=r(n("agGE")),u=r(n("69HE")),c=n("1n8/"),d=r(n("tYEZ")),f=r(n("ZkR4")),p=r(n("9HjJ"));function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach(function(t){(0,o.default)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var v="undefined"!=typeof document&&(null===(i=window)||void 0===i?void 0:null===(l=i.sdp)||void 0===l?void 0:l.cookie),g="",y="",b="";if(v){var O=window.sdp.cookie.get("geoDataMapping"),P=O&&"string"==typeof O?JSON.parse(O):{},S=P.zipCode,w=P.regionCode,x=P.businessCenter;S===(g=window.sdp.cookie.get("zipcode"))&&(y=w,b=x)}var _=function(){var e=(d.default||{}).zipCode||p.default.state.zipCode||g,t=y,n=((d.default||{}).businessCenters||{})[e]||b,r=(0,c.useState)(function(){return{zipCode:e,regionCode:t,businessCenter:n}}),i=(0,u.default)(r,2),l=i[0],m=i[1],O=(P=(0,s.default)(a.default.mark(function e(t){var n,r,i,s,u,c,p,g,y,b,O,P;return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.value,r=t.isInitial,i=l.zipCode,s=l.regionCode,u=l.businessCenter,i!==n&&m(h({},l,{zipCode:n})),r||i!==n||!s||!u){e.next=5;break}return e.abrupt("return");case 5:return e.next=7,(0,f.default)({zipCode:n}).catch(function(){return{}});case 7:c=e.sent,p=d.default||{},g=p.businessCenters,y=void 0===g?{}:g,b=c.businessCenter,O=c.regionCode,d.default.set("businessCenters",h({},y,(0,o.default)({},n,b))),O&&b&&(P={zipCode:n,regionCode:O,businessCenter:b},v&&window.sdp.cookie.set("geoDataMapping",JSON.stringify(P)),s===O&&u===b||m(P));case 12:case"end":return e.stop()}},e)})),function(e){return P.apply(this,arguments)});var P;return!e||n&&t||O({value:e,isInitial:!0}),(0,c.useEffect)(function(){return d.default.addListener("zipCode",O),function(){d.default.removeListener("zipCode",O)}},[e]),l};t.default=_},"Wwy+":function(e,t,n){"use strict";var r=n("SpGf"),a=n("b9XL");n("4hJi"),n("I5XU"),n("oCSF"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,i=r(n("3dLy")),l=r(n("b9XL")),s=r(n("0fcM")),u=r(n("P8NW")),c=r(n("d4H2")),d=r(n("0421")),f=r(n("UJE0")),p=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!=typeof e)return{default:e};var n=b(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=o?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(r,i,l):r[i]=e[i]}r.default=e,n&&n.set(e,r);return r}(n("1n8/")),m=r(n("2tAt")),h=r(n("YFa9")),v=r(n("XleV")),g=r(n("9qb7")),y=r(n("OKls"));function b(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(b=function(e){return e?n:t})(e)}function O(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=(0,f.default)(e);if(t){var a=(0,f.default)(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return(0,d.default)(this,n)}}n("Utaf");var P=(0,m.default)(o=(0,y.default)(o=function(e){(0,c.default)(n,e);var t=O(n);function n(e){var r;return(0,s.default)(this,n),(r=t.call(this,e)).state={},r}return(0,u.default)(n,[{key:"render",value:function(){var e,t=this.props,n=t.align,r=t.applyAllCapsTextTransform,a=t.customWidth,o=t.fontColor,s=t.fontSize,u=t.hasStyleBold,c=t.increasedMobileLegibility,d=t.paraType,f=t.text,m=t.theme,y=t.type,b=t.shouldFetchDynamicOffer,O=this.constructor.getUniqueKey,P=""!==n?"text-align--".concat(n):"",S=a?{xs:6,sm:6,md:10,lg:8}:void 0,w=r?"":"gcss-no-text-transform";if(y&&"disclaimer"===y.toLowerCase()&&f)e=p.default.createElement(v.default,{variation:"link",linkText:"Show Disclosure",linkTextClassNames:"gcss-typography-label-4 gcss-colors-text-body-primary",lpos:"disclosure-link",key:O.call(this,v.default)},f);else if(y&&y.toLowerCase().includes("connector")&&f){var x=f.length;e=x>2&&"-"===f.charAt(0)&&"-"===f.charAt(x-1)?p.default.createElement("span",{className:"totalvalueparent"},p.default.createElement("span",{className:"totalvalueconnector"},f.slice(1,x-1))):f}else e="object"===(0,l.default)(f)&&!p.default.isValidElement(f)&&p.default.isValidElement(f.textContent)?f.textContent:f;return p.default.createElement(h.default,(0,i.default)({},S,{className:(0,g.default)("open-hero-p","gcss-theme-".concat(m),a?"custom-width-alignment":""),"data-fe-id":"OpenHeroParagraph"}),p.default.createElement("p",{className:(0,g.default)(o,s,d,P,w,{"gcss-typography-override gcss-typography-bold":u,"increased-mobile-legibility":!b&&c,"paragraph-default":!b}),"data-cats-id":"open-hero-paragraph"},e))}}]),n}(p.PureComponent))||o)||o;P.defaultProps={paraType:"",align:"",increasedMobileLegibility:!1,type:"",applyAllCapsTextTransform:!0};var S=P;t.default=S},Z4cF:function(e,t,n){"use strict";var r=n("SpGf");n("XwPX"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n("IxO8")),o=r(n("1n8/")),i=n("2tAt"),l=r(n("9qb7"));n("cKNb");var s=function(e){var t=e.theme,n=e.headingLevel,r=e.displayHeadingInline,s=e.elements,u="h".concat(n);return o.default.createElement("div",{className:(0,l.default)("open-hero-h","gcss-theme-".concat(t)),"data-fe-id":"OpenHeroHeading"},o.default.createElement(u,null,s.map(function(e){var t=e.headingColor,n=e.headingFontSize,s=e.headingText,u=e.headingTextAlign,c=e.applyAllCapsTextTransform,d=void 0===c||c,f=(0,i.convertStringPropsToRichText)({richHeadingText:s}).richHeadingText,p=(0,l.default)((0,a.default)({},"text-align--".concat(u),u)),m=r?"inline":"block";return o.default.createElement("span",{className:(0,l.default)(t,n,p,m,{"gcss-no-text-transform":!d})},f)})))};s.defaultProps={displayHeadingInline:!1,headingLevel:1,theme:"light",elements:{applyAllCapsTextTransform:!0}};var u=s;t.default=u},b4Pt:function(e,t){},bSw9:function(e,t,n){"use strict";var r=n("SpGf");Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=function e(t){var n;var r=t.desktopMedia,a=t.mobileMedia,o=t.phabletMedia,i=t.tabletMedia,l=t.countdownPanel;if(null===l||void 0===l?void 0:null===(n=l.phases)||void 0===n?void 0:n.length)return e(l.phases[0].images);return{desktopMedia:r,mobileMedia:a,phabletMedia:o,tabletMedia:i}}(e),n=t.desktopMedia,r=t.mobileMedia,i=t.phabletMedia,l=t.tabletMedia,s=n.asset&&"object"===(0,a.default)(n.asset)?JSON.parse(JSON.stringify(n.asset)):{};if("image"===s.mediaType){var u=(0,o.default)(l),c=(0,o.default)(i),d=(0,o.default)(r),f=u&&l.asset.media.mediaAsset.image.lowQualityImage,p=c&&i.asset.media.mediaAsset.image.lowQualityImage,m=d&&r.asset.media.mediaAsset.image.lowQualityImage;u&&(s.media.mediaAsset.image.md=l.asset.media.mediaAsset.image.md),s.media.mediaAsset.image.sm=c?i.asset.media.mediaAsset.image.sm:r.asset.media.mediaAsset.image.xs,d&&(s.media.mediaAsset.image.xs=r.asset.media.mediaAsset.image.xs),f&&(s.media.mediaAsset.image.lowQualityImage.md=l.asset.media.mediaAsset.image.lowQualityImage.md),p&&(s.media.mediaAsset.image.lowQualityImage.sm=i.asset.media.mediaAsset.image.lowQualityImage.sm),m&&(s.media.mediaAsset.image.lowQualityImage.xs=r.asset.media.mediaAsset.image.lowQualityImage.xs);var h=u&&l.asset.media.mediaAsset.image.dimensions,v=c&&i.asset.media.mediaAsset.image.dimensions,g=d&&r.asset.media.mediaAsset.image.dimensions,y=(0,o.default)(n),b=y&&n.asset.media.mediaAsset.image.dimensions;b?(h?(s.media.mediaAsset.image.dimensions.mdWidth=l.asset.media.mediaAsset.image.dimensions.mdWidth,s.media.mediaAsset.image.dimensions.mdHeight=l.asset.media.mediaAsset.image.dimensions.mdHeight):u&&!h&&(s.media.mediaAsset.image.dimensions.mdWidth=null,s.media.mediaAsset.image.dimensions.mdHeight=null),v?(s.media.mediaAsset.image.dimensions.smWidth=i.asset.media.mediaAsset.image.dimensions.smWidth,s.media.mediaAsset.image.dimensions.smHeight=i.asset.media.mediaAsset.image.dimensions.smHeight):c&&!v&&(s.media.mediaAsset.image.dimensions.smWidth=null,s.media.mediaAsset.image.dimensions.smHeight=null),g?(s.media.mediaAsset.image.dimensions.xsWidth=r.asset.media.mediaAsset.image.dimensions.xsWidth,s.media.mediaAsset.image.dimensions.xsHeight=r.asset.media.mediaAsset.image.dimensions.xsHeight):d&&!g&&(s.media.mediaAsset.image.dimensions.xsWidth=null,s.media.mediaAsset.image.dimensions.xsHeight=null)):(h||v||g)&&(s.media.mediaAsset.image.dimensions={},s.media.mediaAsset.image.includeImageDimensions=!0,h&&(s.media.mediaAsset.image.dimensions.mdWidth=l.asset.media.mediaAsset.image.dimensions.mdWidth,s.media.mediaAsset.image.dimensions.mdHeight=l.asset.media.mediaAsset.image.dimensions.mdHeight),v&&(s.media.mediaAsset.image.dimensions.smWidth=i.asset.media.mediaAsset.image.dimensions.smWidth,s.media.mediaAsset.image.dimensions.smHeight=i.asset.media.mediaAsset.image.dimensions.smHeight),g&&(s.media.mediaAsset.image.dimensions.xsWidth=r.asset.media.mediaAsset.image.dimensions.xsWidth,s.media.mediaAsset.image.dimensions.xsHeight=r.asset.media.mediaAsset.image.dimensions.xsHeight))}return s};var a=r(n("b9XL")),o=r(n("q3oW"))},cKNb:function(e,t){},crrX:function(e,t,n){"use strict";var r=n("SpGf");n("1nHC"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n("1n8/")),o=r(n("9qb7")),i=r(n("+DI/")),l=r(n("AEfI")),s=r(n("YFa9"));n("IqKA");var u=function(e){var t=e.type,n=e.position,r=e.align,u=e.children,c=e.className,d="standard"===t?12:4;return a.default.createElement(i.default,{className:"panel-wrapper","data-fe-id":"Panel"},a.default.createElement(l.default,null,a.default.createElement(s.default,{lg:d,className:(0,o.default)("panel-container",c,"".concat(n,"-").concat(r))},u)))};u.defaultProps={position:"top",align:"left",type:"standard"};var c=u;t.default=c},dcr5:function(e,t,n){"use strict";var r=n("SpGf");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n("3dLy")),o=r(n("1n8/")),i=r(n("Sg7x")),l=r(n("ryhz"));n("iMcw");var s=function(e){var t=e.hotspotGroups,n=e.hotspotStyle,r=e.lpos,s=e.asset,u=e.isLazy,c=e.isUserPaused,d=e.onLoad,f=e.useDisclosureBar;return o.default.createElement("div",{className:"display-media-with-hotspots","data-fe-id":"DisplayMediaWithHotspots"},o.default.createElement(i.default,(0,a.default)({},s,{isLazy:u,isUserPaused:c,onLoad:d,isInCarousel:!0,useDisclosureBar:f})),t&&o.default.createElement(l.default,{hotspotStyle:n,hotspotGroups:t,lpos:r}))};s.defaultProps={isInCarousel:!1,useDisclosureBar:!1};var u=s;t.default=u},g5mE:function(e,t,n){"use strict";var r=n("SpGf"),a=n("b9XL");n("diqY"),n("LYOo"),n("XwPX"),n("GFxX"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,i=r(n("3dLy")),l=r(n("0fcM")),s=r(n("P8NW")),u=r(n("E7HD")),c=r(n("d4H2")),d=r(n("0421")),f=r(n("UJE0")),p=r(n("IxO8")),m=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!=typeof e)return{default:e};var n=w(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=o?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(r,i,l):r[i]=e[i]}r.default=e,n&&n.set(e,r);return r}(n("1n8/")),h=r(n("/jGT")),v=r(n("6G51")),g=r(n("2tAt")),y=r(n("9qb7")),b=(r(n("2A52")),r(n("erRR"))),O=r(n("Sg7x")),P=r(n("zRDo")),S=r(n("8d8C"));function w(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(w=function(e){return e?n:t})(e)}function x(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function _(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=(0,f.default)(e);if(t){var a=(0,f.default)(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return(0,d.default)(this,n)}}n("KODV");var C=(0,v.default)(o=(0,g.default)(o=function(e){(0,c.default)(n,e);var t=_(n);function n(e){var r;return(0,l.default)(this,n),r=t.call(this,e),(0,p.default)((0,u.default)(r),"state",{tooltipPosition:{x:0,y:0},tooltip:{showing:!1,header:"",disclaimer:"",subheader:"",direction:"left"},imageCropping:{cropDirection:"",scaleAmount:"1",cropAmount:"0",imgHeight:"0",imgWidth:"0"}}),(0,p.default)((0,u.default)(r),"_onLoad",function(e){var t=r.props.onLoad;r._calculateImageCropPositions(),t&&t.call((0,u.default)(r),e)}),(0,p.default)((0,u.default)(r),"_setZoomCSS",function(){var e=S.default.resizeFactor();r.setState({hasZoomedText:e>1})}),(0,p.default)((0,u.default)(r),"_handleTooltipMouseover",function(e){var t=r.props.hotspots,n=r.__container.getBoundingClientRect(),a=window.pageYOffset||document.documentElement.scrollTop,o=window.pageXOffset||document.documentElement.scrollLeft,i=n.top+a,l=n.left+o,s=e.target,u=e.pageX-l+"px",c=e.pageY-i+"px",d=s.getAttribute("data-hotspot-index"),f=d&&t.length>parseInt(d,10)?t[parseInt(d,10)]:"";f&&f.tooltip&&r._isMounted&&r.setState({tooltip:{showing:!0,header:f.tooltip.header||"",disclaimer:f.tooltip.disclaimer||"",subheader:f.tooltip.subheader||"",direction:f.tooltip.direction||""},tooltipPosition:{x:u,y:c}})}),(0,p.default)((0,u.default)(r),"_handleTooltipFocus",function(e){var t=r.props.hotspots,n=e.target,a=n.offsetLeft+n.offsetWidth/2,o=n.offsetTop+n.offsetHeight/2,i=n.getAttribute("data-hotspot-index"),l=i&&t.length>parseInt(i,10)?t[parseInt(i,10)]:"";l&&l.tooltip&&r._isMounted&&r.setState({tooltip:{showing:!0,header:l.tooltip.header||"",disclaimer:l.tooltip.disclaimer||"",subheader:l.tooltip.subheader||"",direction:l.tooltip.direction||""},tooltipPosition:{x:a,y:o}})}),(0,p.default)((0,u.default)(r),"_handleTooltipMouseout",function(){r._isMounted&&r.setState({tooltip:{showing:!1,header:"",disclaimer:"",subheader:"",direction:"left"}})}),(0,p.default)((0,u.default)(r),"_handleTooltipMousemove",function(e){var t=r.__container.getBoundingClientRect(),n=window.pageYOffset||document.documentElement.scrollTop,a=window.pageXOffset||document.documentElement.scrollLeft,o=t.top+n,i=t.left+a,l=e.pageX-i+"px",s=e.pageY-o+"px";r._isMounted&&r.setState({tooltipPosition:{x:l,y:s}})}),(0,p.default)((0,u.default)(r),"_getImage",function(e){return e instanceof Array?e[0]:e}),(0,p.default)((0,u.default)(r),"_calculateImageCropPositions",function(){var e=r.props,t=e.displayMedia,n=e.height,a=r.state.mobile;if(r.__mediaContainer&&!0!==a&&n&&"image"===t.mediaType&&t.media.mediaAsset.image){var o,i=document.createElement("img"),l=r.__mediaContainer.offsetWidth,s=r.__mediaContainer.offsetHeight;o=t.media.mediaAsset.image.lg?r._getImage(t.media.mediaAsset.image.lg):t.media.mediaAsset.image.md?r._getImage(t.media.mediaAsset.image.md):t.media.mediaAsset.image.sm?r._getImage(t.media.mediaAsset.image.sm):r._getImage(t.media.mediaAsset.image.xs),i.addEventListener("load",function(){var e=i.width,t=i.height,n=l/e,a=s/t,o=a>=n?"width":"height",u=a>=n?a:n,c="width"===o?(e*u-l)/2:(t*u-s)/2;r._isMounted&&r.setState({imageCropping:{cropDirection:o,cropAmount:c,scaleAmount:u,imgHeight:t,imgWidth:e}})}),i.setAttribute("src",o)}}),(0,p.default)((0,u.default)(r),"_getHotspotPosition",function(e){var t=r.state,n=t.imageCropping,a=t.mobile,o=e.x1?e.x1+"%":0,i=e.y1?e.y1+"%":0,l=e.x2?100-parseFloat(e.x2,0)+"%":"auto",s=e.y2?100-parseFloat(e.y2,0)+"%":"auto";return!0!==a&&("height"===n.cropDirection?(i=e.y1/100*n.imgHeight*n.scaleAmount-n.cropAmount+"px",s=r.__mediaContainer.offsetHeight-(e.y2/100*n.imgHeight*n.scaleAmount-n.cropAmount)+"px"):"width"===n.cropDirection&&(o=e.x1/100*n.imgWidth*n.scaleAmount-n.cropAmount+"px",l=r.__mediaContainer.offsetWidth-(e.x2/100*n.imgWidth*n.scaleAmount-n.cropAmount)+"px")),{left:o,top:i,right:l,bottom:s}}),(0,p.default)((0,u.default)(r),"_initTooltips",function(){var e=r.__mediaContainer.querySelectorAll(".media-hotspot-link");Array.prototype.forEach.call(e,function(e){e.getAttribute("data-has-tooltip")&&(e.addEventListener("focus",r._handleTooltipFocus),e.addEventListener("mouseover",r._handleTooltipMouseover),e.addEventListener("mouseout",r._handleTooltipMouseout),e.addEventListener("blur",r._handleTooltipMouseout),e.addEventListener("mousemove",r._handleTooltipMousemove))})}),r._isMounted=!1,r}return(0,s.default)(n,[{key:"componentDidMount",value:function(){this._isMounted=!0,this._calculateImageCropPositions(),this._initTooltips(),window.addEventListener("resize",(0,h.default)(this._calculateImageCropPositions,250),!1),S.default.init(14),document.addEventListener("textzoom",this._setZoomCSS),this._setZoomCSS()}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",(0,h.default)(this._calculateImageCropPositions,250),!1),this._isMounted=!1}},{key:"render",value:function(){var e=this,t=this.props,n=t.theme,r=t.displayMedia,a=t.height,o=t.hotspots,l=t.lpos,s=t.preTitle,u=t.preTitleStyle,c=t.title,d=t.titleStyle,f=t.postTitle,h=t.postTitleStyle,v=t.description,g=t.button,S=t.isLazy,w=t.background,_=t.isInCarousel,C=t.useDisclosureBar,T=t.disclosureBarLayout,E=t.disclosureTextAlignment,A=t.disclosureTextLineWidth,k=this.state,M=k.tooltip,D=k.tooltipPosition,j=this.state.desktop,L={theme:n,description:v};return!j&&g&&g.children&&(L.buttons=[function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?x(Object(n),!0).forEach(function(t){(0,p.default)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):x(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},g,{lpos:l,priority:"tertiary",width:"variable"})]),m.default.createElement("div",{className:(0,y.default)("media-hotspots","gcss-theme-".concat(n)),"data-fe-id":"MediaHotspots",ref:function(t){return e.__container=t,t}},(c||s||f||v||!j&&g)&&!this.state.hasZoomedText&&m.default.createElement("div",{className:"media-hotspots-contentbox"},m.default.createElement(P.default,{theme:n,preTitle:s,preTitleStyle:u,title:c,layout:"wide",titleStyle:d,postTitle:f,postTitleStyle:h,contentBoxBodyProps:L,lpos:l,alignment:j?"center":"left"})),m.default.createElement("div",{className:"media-hotspots-media",ref:function(t){return e.__mediaContainer=t,t}},m.default.createElement(O.default,(0,i.default)({},r,{height:a,onLoad:this._onLoad,isLazy:S,isInCarousel:_,useDisclosureBar:C,disclosureBarLayout:T,disclosureTextAlignment:E,disclosureTextLineWidth:A})),o&&o.map(function(t,n){return m.default.createElement(b.default,{className:"media-hotspot-link",url:t.href,target:t.target?t.target:"_self",style:e._getHotspotPosition(t),lpos:l,lid:t.lid,linktype:t.linktype||t.linkType,hotspotIndex:n,hasTooltip:t.tooltip&&(t.tooltip.header||t.tooltip.subheader||t.tooltip.disclaimer)&&!0,tabIndex:"0"},m.default.createElement("div",{className:(0,y.default)("media-hotspot-title",w?"media-hotspot-background":"")},m.default.createElement("span",null,t.title)))}),m.default.createElement("div",{className:(0,y.default)("tooltip","tooltip-".concat(M.direction),{"tooltip-showing":M.showing}),style:{left:D&&D.x,top:D&&D.y}},m.default.createElement("h3",{className:"tooltip-header"},M.header),M.subheader&&m.default.createElement("h4",{className:"tooltip-subheader"},M.subheader),M.disclaimer&&m.default.createElement("p",{className:"tooltip-disclaimer"},M.disclaimer))),(c||s||f||v||!j&&g)&&this.state.hasZoomedText&&m.default.createElement("div",{className:"media-hotspots-contentbox"},m.default.createElement(P.default,{theme:n,preTitle:s,preTitleStyle:u,title:c,layout:"wide",titleStyle:d,postTitle:f,postTitleStyle:h,contentBoxBodyProps:L,lpos:l,alignment:j?"center":"left"})))}}]),n}(m.Component))||o)||o;C.defaultProps={theme:"light",hotspots:{background:!1},isInCarousel:!1,useDisclosureBar:!1,disclosureBarLayout:"onImage",disclosureTextAlignment:"center",disclosureTextLineWidth:10};var T=C;t.default=T},g8b4:function(e,t,n){"use strict";var r=n("SpGf");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n("0fcM")),o=r(n("P8NW")),i=r(n("IxO8")),l=r(n("fjG6")),s=r(n("cdbC")),u=function(){function e(){var t=this;(0,a.default)(this,e),(0,i.default)(this,"getPreference",function(){return!!t.sdpZipOverlay}),this.bindActions(s.default),this.state={closeOverlayAlfa:!1},this.alfaZipOverlay=null,this.sdpZipOverlay=null}return(0,o.default)(e,[{key:"onSetOverlayState",value:function(e){var t=e.actionFrom,n=e.setFlag;"sdp"===t&&(this.sdpZipOverlay=n),"alfa"===t&&(this.alfaZipOverlay=n);var r=this.getPreference(),a=!!r;this.state.closeOverlayAlfa!==r&&this.setState({closeOverlayAlfa:a})}}]),e}(),c=l.default.createStore(u,"ZipOverlayControls");t.default=c},gE2Y:function(e,t,n){"use strict";var r=n("SpGf"),a=n("b9XL");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("3dLy")),i=r(n("69HE")),l=r(n("U8F3")),s=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!=typeof e)return{default:e};var n=h(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=o?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(r,i,l):r[i]=e[i]}r.default=e,n&&n.set(e,r);return r}(n("1n8/")),u=r(n("9qb7")),c=n("/z1Q"),d=r(n("z1LO")),f=r(n("AMbW")),p=n("JUHb");n("UggW");var m=["timerFormat","lastPhaseFinishTimer","currentPhaseFinishTimer","timerTextPosition","setIsTimerExpired","clientServerTimeDiff"];function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(h=function(e){return e?n:t})(e)}function v(e){var t=e.timerFormat,n=e.lastPhaseFinishTimer,r=e.currentPhaseFinishTimer,a=e.timerTextPosition,h=e.setIsTimerExpired,v=e.clientServerTimeDiff,g=(0,l.default)(e,m),y=(0,p.getRemainingTime)(n,v),b=y.remainingTime,O=y.days,P=(0,s.useState)(O-1),S=(0,i.default)(P,2),w=S[0],x=S[1];return(0,s.useEffect)(function(){var e;return b<=0?h(!0):w>0?e=setTimeout(function(){x(w-1)},864e5):n===r&&(e=setTimeout(function(){h(!0)},1e3*b)),function(){return clearTimeout(e)}},[n,r,b,h,w]),c.isClient&&"number"==typeof v?s.default.createElement("div",{className:(0,u.default)("digital-timer-wrapper","timer-".concat(a)),"data-fe-id":"DigitalCountDown"},"timer"===t&&s.default.createElement(d.default,(0,o.default)({finishTimer:n,setIsTimerExpired:h,clientServerTimeDiff:v},g)),"days"===t&&s.default.createElement(f.default,(0,o.default)({finishTimer:n,clientServerTimeDiff:v},g))):null}v.defaultProps={timerTextPosition:"top"};var g=v;t.default=g},gWXL:function(e,t){},gx7F:function(e,t){},hKk3:function(e,t){},hQZ2:function(e,t,n){"use strict";var r=n("SpGf");n("diqY"),n("LYOo"),n("1nHC"),n("OImK"),n("aGSB"),n("HkIz"),n("XwPX"),n("I5XU"),n("6sDK"),n("AZfT"),n("kzOy"),n("Bq/h"),n("ecHe"),n("ItbG"),n("MlTh"),n("g0xY"),n("x0yB"),n("A+FC"),n("GFxX"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Offer=t.CustomOffer=void 0;var a=r(n("Fhqp")),o=r(n("IxO8")),i=r(n("0fcM")),l=r(n("P8NW")),s=r(n("fjG6")),u=r(n("AD06")),c=n("KT8i"),d=n("pjdA"),f=n("sSt+"),p={},m={setCachedValue:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"default",n=arguments.length>2?arguments[2]:void 0;(this[e]=this[e]||{})[t]=n},getCachedValue:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"default",n=this[e];if(n)return n[t]}},h=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0,a=arguments.length>3?arguments[3]:void 0;(0,i.default)(this,e);var o=Object.defineProperty,l=this.constructor.tryParseInt,s={name:"type",value:(t||"").toString().toLowerCase()};o(this,s.name,{get:function(){return s.value},configurable:!0,enumerable:!0});var u={name:"offers",value:Array.isArray(n)?n:[]};o(this,u.name,{get:function(){return u.value.slice(0)},configurable:!0,enumerable:!0});var c={name:"offerTypeValue",value:(r||"").toString().toLowerCase()};o(this,c.name,{get:function(){return c.value},configurable:!0,enumerable:!0});var f={name:"currentOfferIndex",value:0};o(this,f.name,{get:function(){return f.value},set:function(e){"number"==typeof e&&(f.value=e)},configurable:!0,enumerable:!0});o(this,"offer",{get:function(){return this.offers[this.currentOfferIndex]||{}},configurable:!0,enumerable:!0});o(this,"offerDetails",{get:function(){var e=this.offer.offerDetails;return void 0===e?{}:e},configurable:!0,enumerable:!0});o(this,"amount",{get:function(){var e=void 0,t=this.type,n=this.offerDetails;switch(!0){case/^(apr|cash|cash_apr)$/i.test(t):e=n.amount,"total_savings_value"!==this.offerTypeValue||e||(e=this.incentivesTotalValue);break;case/^(lease)$/i.test(t):e=n.monthlyPayment;break;default:return}return l(e)},configurable:!0,enumerable:!0});o(this,"disclaimer",{get:function(){var e=void 0,t=this.type,n=this.offer,r=this.vehicleDescription,o=n.disclaimer,i=void 0===o?"":o;return r&&i?(e=(0,d.unescapeNamedHTMLEntities)(i),/^(apr|cash|cash_apr)$/i.test(t)&&a&&(e="Offer applies to ".concat(r.replace(/\,\s/g,",<br />"),".<br />").concat(e)),e):e},configurable:!0,enumerable:!0});o(this,"dueAtSigning",{get:function(){var e=void 0,t=this.type,n=this.offerDetails;if(/^(lease)$/i.test(t))return e=n.totalDueAtSigning,l(e)},configurable:!0,enumerable:!0});o(this,"duration",{get:function(){var e=void 0,t=this.type,n=this.offerDetails;switch(!0){case/^(apr|cash_apr)$/i.test(t):e=n.term;break;case/^(lease)$/i.test(t):e=n.numberOfPayment;break;default:return e}return l(e)},configurable:!0,enumerable:!0});o(this,"preText",{get:function(){var e=this.offer.preText,t=void 0===e?{}:e;return(Array.isArray(t.text)?t.text:[]).slice(0)},configurable:!0,enumerable:!0});o(this,"postText",{get:function(){var e=this.offer.postText,t=void 0===e?{}:e;return(Array.isArray(t.text)?t.text:[]).slice(0)},configurable:!0,enumerable:!0});o(this,"connector",{get:function(){var e=this.offer.connector,t=void 0===e?"":e;return"string"!=typeof t||""===t.trim()?"":t},configurable:!0,enumerable:!0});o(this,"incentives",{get:function(){var e=this.offer.incentives;return(Array.isArray(e)?e:[]).slice(0)},configurable:!0,enumerable:!0});o(this,"incentivesTotalValue",{get:function(){var e=this.offer.incentives,t=(Array.isArray(e)?e:[]).map(function(e){return l(e.value)}).filter(function(e){return e}).reduce(function(e,t){return e+t},0);return isNaN(t)?0:t},configurable:!0,enumerable:!0});o(this,"incentivesProgName",{get:function(){var e=this.offer;return(0,d.unescapeNamedHTMLEntities)(e.name)},configurable:!0,enumerable:!0});o(this,"hasIncentiveOverlayCta",{get:function(){var e=this.type;return Boolean(this.incentives.length&&("cash"===e||"cash_apr"===e||"apr"===e&&this.amount))},configurable:!0,enumerable:!0});o(this,"rate",{get:function(){var e=void 0,t=this.type,n=this.offerDetails;if(/^(apr|cash_apr)$/i.test(t))return e=n.rate,l(e)},configurable:!0,enumerable:!0});o(this,"securityDeposit",{get:function(){var e=void 0,t=this.type,n=this.offerDetails.securityDeposit;return null===n?e:/^(lease)$/i.test(t)?e=l(n):void 0},configurable:!0,enumerable:!0});o(this,"vehicles",{get:function(){var e=this.offer.vehicles;return(Array.isArray(e)?e:[]).slice(0)},configurable:!0,enumerable:!0});o(this,"featuredOrder",{get:function(){var e=this.offer,t=this.vehicles,n=(void 0===t?[]:t).filter(function(e){return e.hasOwnProperty("featured")}),r=n.find(function(e){return!!e.featured&&"y"===e.featured.toString().toLowerCase()});if(n.length>0){var a=r?Number(r.featuredOrder):n[0].featuredOrder;return a?Number(a):0}return e.featured&&"y"===e.featured.toString().toLowerCase()&&e.featuredOrder?Number(e.featuredOrder):0},configurable:!0,enumerable:!0});o(this,"vehicleCcode",{get:function(){var e=this.vehicles;if(e.length){var t=e[0];return t?t.ccode:void 0}},configurable:!0,enumerable:!0});o(this,"vehicleDescription",{get:function(){var e=void 0,t=this.type,n=this.vehicles;return n.length?(/^(lease)$/i.test(t)&&n.splice(1),e=n.map(function(e){return"".concat(e.year," ").concat(e.description)}).join(", ").replace(/\,{2,}/g,"").trim()):e},configurable:!0,enumerable:!0});o(this,"trimDescription",{get:function(){var e=void 0,t=this.vehicles;return t.length?e=t.map(function(e){return"".concat(e.description)}).join(", ").replace(/\,{2,}/g,"").trim():e},configurable:!0,enumerable:!0})}return(0,l.default)(e,null,[{key:"tryParseInt",value:function(e){var t=(0,d.stringToNumber)(e,!0);return isNaN(t)?e:t}},{key:"toString",value:function(){}}]),e}();t.Offer=h;var v=(0,l.default)(function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0,a=arguments.length>3?arguments[3]:void 0;(0,i.default)(this,e);var o=Object.defineProperty,l={name:"type",value:(t||"").toString().toLowerCase()};o(this,l.name,{get:function(){return l.value},configurable:!0,enumerable:!0});var s={name:"offerTypeValue",value:(r||"").toString().toLowerCase()};o(this,s.name,{get:function(){return s.value},configurable:!0,enumerable:!0});o(this,"offer",{get:function(){return n[0]||{}},configurable:!0,enumerable:!0});o(this,"vehicles",{get:function(){var e=this.offer.vehicles,t=void 0===e?[]:e,n=t.filter(function(e){return!!e.featured&&"y"===e.featured.toString().toLowerCase()});return Array.isArray(n)&&n.length>0?n:t.slice(0)},configurable:!0,enumerable:!0});o(this,"featuredOrder",{get:function(){var e=this.offer,t=this.vehicles,n=(void 0===t?[]:t).filter(function(e){return e.hasOwnProperty("featured")}),r=n.find(function(e){return!!e.featured&&"y"===e.featured.toString().toLowerCase()});if(n.length>0){var a=r?Number(r.featuredOrder):n[0].featuredOrder;return a?Number(a):0}return"y"===e.featured.toString().toLowerCase()&&e.featuredOrder?Number(e.featuredOrder):0},configurable:!0,enumerable:!0});o(this,"marketingMsg",{get:function(){var e=this.offer.offerDetails.marketingMsg;return void 0===e?"":e},configurable:!0,enumerable:!0});o(this,"preText",{get:function(){var e=this.offer.offerDetails.preText,t=void 0===e?{}:e;return(Array.isArray(t)?t:[]).slice(0)},configurable:!0,enumerable:!0});o(this,"postText",{get:function(){var e=this.offer.offerDetails.postText,t=void 0===e?{}:e;return(Array.isArray(t)?t:[]).slice(0)},configurable:!0,enumerable:!0});o(this,"vehicleDescription",{get:function(){var e=void 0,t=this.vehicles;return t.length?e=t.map(function(e){return"".concat(e.year," ").concat(e.description)}).join(", ").replace(/\,{2,}/g,"").trim():e},configurable:!0,enumerable:!0});o(this,"trimDescription",{get:function(){var e=void 0,t=this.vehicles;return t.length?e=t.map(function(e){return"".concat(e.description)}).join(", ").replace(/\,{2,}/g,"").trim():e},configurable:!0,enumerable:!0});o(this,"disclaimer",{get:function(){var e=void 0,t=this.offer,n=this.vehicleDescription,r=t.disclaimer,o=void 0===r?"":r;return n&&o?(e=(0,d.unescapeNamedHTMLEntities)(o),a&&(e="Offer applies to ".concat(n.replace(/\,\s/g,",<br />"),".<br />").concat((0,d.unescapeNamedHTMLEntities)(o))),e):e},configurable:!0,enumerable:!0});o(this,"offerGroups",{get:function(){var e,t=this,n=Array.isArray(this.offer.groups)?this.offer.groups:[],o=Array.isArray(this.offer.incentives)?this.offer.incentives:[],i=void 0;return n.map(function(n){var l=n.groupType.toLowerCase();switch(e=o.filter(function(e){return e.groupId.toString()===n.id.toString()}),!0){case/^(apr)$/i.test(l):var s=n.apr,u=n.term;i={rate:s,term:u};break;case/^(cash)$/i.test(l):var c=n.amount;i={amount:c};break;case/^(cash_apr)$/i.test(l):var d=n.apr,f=n.term,p=n.amount;i={rate:d,term:f,amount:p};break;case/^(lease)$/i.test(l):var m=e[0],v=m.totalDueAtSigning,g=m.securityDeposit,y=m.numberOfPayment,b=m.monthlyPayment;i={totalDueAtSigning:v,securityDeposit:g,numberOfPayment:y,monthlyPayment:b};break;case/^(text)$/i.test(l):i=void 0}var O={preText:n.preText,postText:n.postText,connector:n.connector,name:t.offer.name,offerDetails:i,incentives:e,vehicles:t.vehicles};return new h(l,[O],"".concat(r,"-").concat(l),a)})},configurable:!0,enumerable:!0})});t.CustomOffer=v;var g=new f.PromiseQueue({concurrency:1}),y=function(){function e(){(0,i.default)(this,e),this.bindActions(u.default),this.state={offersStoreConnected:this.constructor.hasConnected,featuredOffers:void 0,offers:void 0},this.exportPublicMethods({getFeaturedOffers:this.getFeaturedOffers,getOffers:this.getOffers,getOffersUri:this.getOffersUri})}return(0,l.default)(e,[{key:"getOffersUri",value:function(e){var t=e.data,n=e.source,r=t.context,a=void 0===r?{}:r,o={ccode:a.ccode||void 0,llp:a.llp||void 0,modelYearCode:a.modelYearCode||void 0,trim:a.trim||void 0,zip:t.zipCode,isValid:function(){return this.zip&&(this.modelYearCode||this.trim&&this.ccode)}},i=o.ccode,l=o.modelYearCode,s=o.trim,u="";return s&&i&&(o.modelYearCode=void 0),!s&&i&&l&&(o.ccode=void 0),o.isValid()&&(u=(0,d.serializeGenericObjectToUri)(o,n,"json")),u}},{key:"getOffers",value:function(e,t){var n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).appendDisclaimerPretext,r=void 0===n||n;if(!e)return[];var o=e.result,i=(void 0===o?{}:o).data,l=(void 0===i?{}:i).offerTypes,s=(t=Array.isArray(t)&&t.length?t:void 0)?t.slice(0).sort().join("|"):"default",u=m.getCachedValue(e.uri,s);if(u)return u;var c,f=[];return Array.isArray(l)&&l.length&&(f=[function(){var e=[];l.filter(function(e){return"lease_promo"===e.type.toString().toLowerCase()}).forEach(function(t){var n=t.offers,r=void 0===n?[]:n;Array.prototype.push.apply(e,r)}),t&&(e=e.filter(function(e){var n=Array.isArray(e.vehicles)?e.vehicles:[];return n.length&&n.find(function(e){return t.indexOf(e.ccode)>=0})}));var n=e.filter(function(e){return(e.vehicles||[]).find(function(e){return/^y$/i.test((e.advertised||"").toString())})}),a=[];return(a=n.length?n.sort(function(e,t){var n=e.geolevel,r=t.geolevel,a=(0,d.stringToNumber)(n||"",!0),o=(0,d.stringToNumber)(r||"",!0),i=o-a;return isFinite(i)?i:isFinite(o)?-1:1}).splice(0,1):e.sort(function(e,t){var n=e.offerDetails,r=t.offerDetails,a=(0,d.stringToNumber)(n.monthlyPayment||"",!0),o=a-(0,d.stringToNumber)(r.monthlyPayment||"",!0);return isFinite(o)?o:isFinite(a)?-1:1}).splice(0,1)).length?new h("lease",a,"lease_promo",r):void 0}(),function(){var e,n,a=[],o=l.filter(function(e){return/^(subv_apr(2|\_combo)?)$/i.test(e.type)}),i={subv_apr:0,subv_apr_combo:1,subv_apr2:2,getIntValue:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e=e.toLowerCase(),this.hasOwnProperty(e)?this[e]:-1}},s=o.map(function(e,t){return{index:t,value:i.getIntValue(e.type)}});s.sort(function(e,t){var n=e.value,r=t.value;return n>r?-1:n<r?1:0}),o=s.map(function(e){return o[e.index]}),o=t?o:o.splice(0,1);for(var u=[];o.length&&(n=(e=o.shift())?e.type:"",u=e&&e.offers||[],t&&(u=u.filter(function(e){var n=Array.isArray(e.vehicles)?e.vehicles:[];return n.length&&n.find(function(e){return t.indexOf(e.ccode)>=0})})),!u.length););u.sort(function(e,t){var n=(t.def||"").toString().toLowerCase();return"y"===n?1:"n"===n?0:-1}),u.sort(function(e,t){var n=(0,d.stringToNumber)(e.ppk||"",!0),r=n-(0,d.stringToNumber)(t.ppk||"",!0);return isFinite(r)?r:isFinite(n)?-1:1});var c=u[0];return c&&a.push(c),a.length?new h("apr",a,n,r):void 0}(),function(){var e,n,a=l.filter(function(e){return/^(misc_cash|cash_allowance|total_savings_value)$/i.test(e.type)}),o={misc_cash:0,cash_allowance:1,total_savings_value:2,getIntValue:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e=e.toLowerCase(),this.hasOwnProperty(e)?this[e]:-1}},i=a.map(function(e,t){return{index:t,value:o.getIntValue(e.type)}});i.sort(function(e,t){var n=e.value,r=t.value;return n>r?-1:n<r?1:0}),a=i.map(function(e){return a[e.index]}),a=t?a:a.splice(0,1);for(var s=[];a.length&&(n=(e=a.shift())?e.type:"",s=e&&e.offers||[],t&&(s=s.filter(function(e){var n=Array.isArray(e.vehicles)?e.vehicles:[];return n.length&&n.find(function(e){return t.indexOf(e.ccode)>=0})})),!s.length););switch(!0){case/^(cash_allowance|misc_cash)$/i.test(n):s.sort(function(e,t){var n=e.offerDetails,r=t.offerDetails,a=(0,d.stringToNumber)(n.amount||"",!0),o=(0,d.stringToNumber)(r.amount||"",!0)-a;return isFinite(o)?o:isFinite(a)?-1:1}).splice(1);break;case/^(total_savings_value)$/i.test(n):s.sort(function(e,t){var n=(t.def||"").toString().toLowerCase();return"y"===n?1:"n"===n?0:-1})}return s.length?new h("cash",s,n,r):void 0}()].concat((0,a.default)((c=Array.isArray(l)?l.find(function(e){return"user_system"===e.type}):[],(c&&Array.isArray(c.offers)?c.offers.filter(function(e){return e.groups.length>0&&e.groups.length<=6}):[]).map(function(e){return new v("custom",[e],"user_system")},r)))).filter(function(e){return!!e})),m.setCachedValue(e.uri,s,f),f}},{key:"getFeaturedOffers",value:function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).appendDisclaimerPretext,n=void 0===t||t;if(!e)return[];var r=e.result,a=(void 0===r?{}:r).data,o=(void 0===a?{}:a).modelYears;return(void 0===o?[]:o).reduce(function(e,t){var r=t.models.reduce(function(e,t){var r=t.offers.map(function(e){return"special"===e.category&&"total_savings_value"===e.type?new h("cash",[e],e.type,n):"custom"===e.category?Array.isArray(e.groups)&&e.groups.length>0&&e.groups.length<=6?new v("custom",[e],"user_system"):void 0:new h(e.category,[e],e.type,n)}).filter(function(e){return!!e});return e.concat(r)},[]);return e.concat(r)},[])}},{key:"onConnect",value:function(){this.constructor.hasConnected||(this.constructor.hasConnected=!0,this.setState({offersStoreConnected:!0}))}},{key:"onCreateFeaturedOffers",value:function(e){var t=this,n=this.getOffersUri({data:e,source:"/hostd/incentives/getfeaturedoffers"});if(n)return g.add(function(){var e=p[n];return p.hasOwnProperty(n)?e instanceof Promise?new Promise(function(r){e.then(function(){r(t.setState({featuredOffersUri:n,featuredOffers:p[n]}))})}):new Promise(function(e){e(t.setState({featuredOffersUri:n,featuredOffers:p[n]}))}):(p[n]=(0,c.getJSON)(n).then(function(e){e.uri=n,p[n]=e,t.setState({featuredOffersUri:n,featuredOffers:e})}).catch(function(){}),p[n])})}},{key:"onCreateOffers",value:function(e){var t=this,n=this.getOffersUri({data:e,source:"/hostd/incentives/getoffers"});if(n)return g.add(function(){var e=p[n];return p.hasOwnProperty(n)?e instanceof Promise?new Promise(function(r){e.then(function(){r(t.setState({offersUri:n,offers:p[n]}))})}):new Promise(function(e){e(t.setState({offersUri:n,offers:p[n]}))}):(p[n]=(0,c.getJSON)(n).then(function(e){e.uri=n,p[n]=e,t.setState({offersUri:n,offers:e})}).catch(function(){}),p[n])})}}]),e}();(0,o.default)(y,"hasConnected",!1);var b=s.default.createStore(y,"OffersStore");t.default=b},iAN8:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=(0,r.useRef)(!1);return(0,r.useEffect)(function(){return e.current=!0,function(){e.current=!1}},[]),e};var r=n("1n8/")},iCL4:function(e,t,n){"use strict";var r=n("SpGf");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n("1n8/")),o=r(n("9qb7")),i=n("2tAt"),l=r(n("+DI/")),s=r(n("AEfI")),u=r(n("YFa9")),c=r(n("XleV")),d=r(n("2A52"));n("jIGw");var f=function(e){var t=(0,i.convertStringPropsToRichText)(e),n=t.theme,r=t.type,f=t.title,p=t.value,m=t.label,h=t.cta,v=t.details,g=t.disclosure,y=t.alignment,b=t.arrangement,O=t.onClick;return a.default.createElement(l.default,{className:(0,o.default)("incentive-wrapper","gcss-theme-".concat(n),r,{center:"center"===y}),padding:!1},a.default.createElement(s.default,{className:"incentive-container"},a.default.createElement(u.default,{lg:12,md:12,sm:6,xs:6,flush:!0},f&&a.default.createElement("div",{className:(0,o.default)("title","gcss-colors-text-body-primary")},f),a.default.createElement("div",{className:(0,o.default)("value-details",{stacked:"stacked"===b})},p&&a.default.createElement("span",{className:(0,o.default)("value","gcss-colors-text-body-primary")},p),m&&a.default.createElement("span",{className:"label gcss-colors-text-body-primary"},a.default.createElement("span",{className:"incentive-info"},m),g&&a.default.createElement(c.default,g,g.value))),v&&a.default.createElement("div",{className:(0,o.default)("details","gcss-colors-text-body-secondary")},v),h&&a.default.createElement(d.default,{priority:"tertiary",href:"#",theme:n,onClick:O},h))))};f.defaultProps={type:"finance",theme:"light",alignment:"left",arrangement:"inline"};var p=f;t.default=p},iMcw:function(e,t){},jIGw:function(e,t){},kNDx:function(e,t,n){"use strict";var r=n("SpGf");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n("1n8/")),o=r(n("9qb7")),i=n("2tAt");function l(e){var t=(0,i.convertStringPropsToRichText)(e,{stringToHTMLElement:!1}),n=t.headerText,r=t.headerTextStyle,l=t.descriptionText,s=t.descriptionTextStyle;return a.default.createElement("section",{className:(0,o.default)("section-header-wrapper")},a.default.createElement("h2",{className:(0,o.default)(r,"header-text")},n),a.default.createElement("p",{className:(0,o.default)(s,"description-text")},l))}l.defaultProps={headerTextStyle:"gcss-typography-brand-heading-3",descriptionTextStyle:"gcss-typography-body-size-1"};var s=l;t.default=s},kdDD:function(e,t,n){"use strict";var r=n("SpGf");n("1nHC"),n("aGSB"),n("S91k"),n("XwPX"),n("I5XU"),n("d93j"),n("2KgV"),n("Y3qw"),n("ecHe"),n("ItbG"),n("MlTh"),n("g0xY"),n("PSYM"),n("x0yB"),n("TT/v"),n("GFxX"),n("8dkd"),Object.defineProperty(t,"__esModule",{value:!0}),t.getBackPlates=t.dispatchPageTrack=t.default=void 0;var a=r(n("PMvg")),o=r(n("Fhqp"));n("QVnC");var i=r(n("agGE")),l=r(n("69HE")),s=r(n("b9XL")),u=r(n("IxO8")),c=n("1n8/"),d=n("Fs9y"),f=r(n("fkUE")),p=n("hBQ3"),m=n("V4rW"),h=n("rZxA"),v=r(n("6G51"));function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(Object(n),!0).forEach(function(t){(0,u.default)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var b=function(e){var t=e.backPlate,n=void 0===t?{}:t,r={};return["desktopMedia-lg","tabletMedia-md","phabletMedia-sm","mobileMedia-xs"].forEach(function(t){var a=t.split("-")[0],o=t.split("-")[1],i=JSON.parse(JSON.stringify(e[a])),l=function(){var e,t,n,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",a=arguments.length>1?arguments[1]:void 0,o={xs:r,sm:r,md:r,lg:r};if(null===a||void 0===a?void 0:null===(e=a.asset)||void 0===e?void 0:null===(t=e.media)||void 0===t?void 0:null===(n=t.mediaAsset)||void 0===n?void 0:n.image){var i=Object.assign({},y({},a.asset.media.mediaAsset.image),y({},o));a.asset.media.mediaAsset.image=i}return a}(n.image[o],i);r[a]=l}),r};t.getBackPlates=b;var O=function(e){var t,n,r,a,o,i=e.ccode,l=e.vehicle,s=e.year,u=e.backPlate,c=function(e){var t=e.ccode,n=e.vehicle,r=e.year,a=null;try{(a=f.default.getImg({ccode:t,vehicle:n,year:r},{width:"840",height:"540",resp:"png",bkgnd:"transparent"})).indexOf("blank.gif")>-1&&(a=null)}catch(e){a=null}return a?{xs:a,sm:a,md:a,lg:a,alt:""}:null}({ccode:i,vehicle:l,year:s});return(null===u||void 0===u?void 0:null===(t=u.asset)||void 0===t?void 0:null===(n=t.media)||void 0===n?void 0:null===(r=n.mediaAsset)||void 0===r?void 0:null===(a=r.image)||void 0===a?void 0:a.lg)&&(o=u.asset.media.mediaAsset.image.lg,(new Image).src=o),c},P=function(e){var t,n,r,a,o,i,l,u=e.modelYearCode,c=void 0===u?"":u,d=e.ccode,p=void 0===d?"":d;9===c.length&&(r=c.substring(3,7)||"");try{if(c&&r){if(a=p?f.default.getModelFromCcode(p):null,o=(n=f.default.getFamilyFromMYC(c)===c?null:f.default.getFamilyFromMYC(c))&&r?f.default.getDisplay({year:r,vehicle:n}):null,"object"===(0,s.default)(o)){var m,h,v=(null===(m=document)||void 0===m?void 0:m.createElement("div"))||{};v.innerHTML=null===(h=o)||void 0===h?void 0:h.toString().slice(),o=v.innerText}i=r&&n&&a?f.default.getLLP({year:r,vehicle:n,model:a}):null,l=r&&n?f.default.getCcode({year:r,vehicle:n}):null}}catch(e){}return{vehicle:n,year:r,model:a,display:null===(t=o)||void 0===t?void 0:t.slice(),llp:i,baseModelCcode:l}},S=function(e,t,n,r){var a,o;try{var i=e?f.default.getModelFromCcode(e):null,l=i?f.default.getLLP({year:n,vehicle:t,model:i}):null;a=(0,m.getInventoryMode)({ccode:e,llp:l,launchMode:r}),o=(0,m.getPricingMode)({ccode:e,llp:l,launchMode:r})}catch(e){}return a||o},w=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e=n===h.BMO_NBA?t===h.BMO_CTA_HREF:n===h.SNI_NBA?t===h.SNI_CTA_HREF:n===h.E_SHOP_NBA&&t===h.ESHOP_CTA_HREF,{nba:n,href:t,CTAValue:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t="";switch(e){case h.COMPARE_CTA_HREF:t=h.COMPARE_CTA;break;case"#app-vlp":case h.VLP_CTA_HREF:t=h.VLP_CTA;break;case h.SNI_CTA_HREF:t=h.SNI_CTA;break;case h.BMO_CTA_HREF:t=h.BMO_CTA;break;case h.ESHOP_CTA_HREF:t=h.ESHOP_CTA;break;default:t=e}return t}(t),isPrimaryCTA:e,isSecondaryCTA:!e}},x=function(e,t){var n=[];return e.forEach(function(e){for(var r=e.props,a=(void 0===r?{}:r).buttons,o=void 0===a?[]:a,i=0;i<o.length;i++)t||o[i].href!==h.VLP_CTA_HREF||(o[i].onClick=function(){var e,t;null===(e=window)||void 0===e||null===(t=e.sessionStorage)||void 0===t||t.setItem("vlpCTAClickedFromBHP",!0)});n.push(e)}),n},_=function(e){var t=e.elements,n=void 0===t?[]:t,r=e.sufuButtonSwitch,a=e.compareButtonSwitch,o=e.isHeroInVLP,i=void 0===o||o,l=e.inNoInventory,s=e.nbaToCheck,u=[],c="no-primary-cta-displayed",d="no-secondary-cta-displayed",f=[];return n.forEach(function(e){var t=e.props,n=(void 0===t?{}:t).buttons,o=void 0===n?[]:n,p=l&&(null===r||void 0===r?void 0:r.children),m=i&&(null===a||void 0===a?void 0:a.children);if(null===o||void 0===o?void 0:o.length)for(var v=0;v<o.length;v++){m&&o[v].href===h.VLP_CTA_HREF&&(o[v]=a);var g=w(o[v].href,s,f);g.isPrimaryCTA&&(c=g.CTAValue),g.isSecondaryCTA&&(d=g.CTAValue),o[v].href!==h.SNI_CTA_HREF&&o[v].href!==h.ESHOP_CTA_HREF||!p||(o[v]=r)}u.push(e)}),{elementsModified:u,primaryValue:c,secondaryValue:d}},C=function(e){var t=e.isVehicleAvailable,n=e.isCDPenabledForVLP,r=e.inNoInventory,a=e.data,o=e.isHeroInVLP,i=e.xFPathConfig,l=e.xFPathPanel,s=e.isError,u=e.checkImgError,c=e.modelYearCode,d=e.namePlate,f=e.primaryCta,m=e.secondaryCta,h=e.isPanelAvailable,v=e.isVLPCTAClickedFromBHP,g=e.nba,b={},O={isHeroInVLP:o,modelYearCode:c,namePlate:d,inNoInventory:r,primaryCta:f,secondaryCta:m};s?g?i&&l?a?v?b={isError:!0,errorFrom:"vlp-cta-interacted-from-bhp"}:h?t?o&&!n?b={isError:!0,errorFrom:"vlp-vehicle-mismatch"}:u||(b={isError:!0,errorFrom:"image-load-error"}):b={isError:!0,errorFrom:"vehicle-myc-not-available"}:b={isError:!0,errorFrom:"xf-nba-panel-not-available"}:b={isError:!0,errorFrom:"xf-data-missing"}:b={isError:!0,errorFrom:"xf-path-not-authored"}:b={isError:!0,errorFrom:"nba-not-available"}:b={isError:!1},b=Object.assign({},y({},b),y({},O)),p.SDPContext.set("triggerPageTrackByCDP",b)};t.dispatchPageTrack=C;var T=function(e){var t=e||{},n=t.userCDPData,r=t.xFPathConfig,s=t.xFPathPanel,m=t.isHeroInVLP,g=void 0!==m&&m,w=t.isCDPEnabled,T=t.showCDPPanelBasedOnTarget,E=void 0===T||T,A=(n||{}).vehicleOfInterest,k=void 0===A?{}:A,M=k.nba,D=void 0===M?"":M,j=k.modelYearCode,L=void 0===j?"":j,N=(0,c.useState)(null),I=(0,l.default)(N,2),F=I[0],B=I[1];return(0,c.useEffect)(function(){if(w){var e=L.replace(/^\I/i,"C"),t=9===e.length?e.substring(3,7):"",n=f.default.getAvailableYears()||[],c=null;try{var m=f.default.getFamilyFromMYC(e);c=m&&m===e?null:m}catch(e){c=null}var T=n.indexOf(t)>-1,A=v.default.getScreenSizeState().screen;D&&r&&s&&w&&E?function(){k.apply(this,arguments)}():!D&&L?C({isError:!0,nba:null,modelYearCode:L}):!D||r&&s||C({isError:!0,xFPathConfig:r,xFPathPanel:s,nba:D})}function k(){return(k=(0,i.default)(a.default.mark(function t(){var i,m,v,w,E,k,M,j,L,N,I,F,R,z,H,W,U,G,V,q,Y,X,J,Z,K,$,Q,ee,te,ne,re,ae,oe,ie,le,se,ue,ce,de,fe,pe,me,he,ve,ge,ye,be,Oe,Pe,Se,we,xe,_e,Ce,Te,Ee,Ae,ke,Me,De,je,Le,Ne,Ie,Fe,Be,Re,ze,He,We,Ue,Ge,Ve,qe,Ye,Xe,Je,Ze,Ke,$e,Qe,et,tt,nt,rt,at,ot,it,lt,st,ut,ct,dt,ft;return a.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return v=D.toLowerCase(),w=(0,d.fetchXFs)({url:s}).then(function(e){return{dataPanels:e}}),E=(0,d.fetchXFs)({url:r}).then(function(e){return{dataConfig:e}}),k=f.default.getAllVehicleData().then(function(e){return{vehicleData:e}}),M=(0,d.getLaunchMode)().then(function(e){return{launch:e}}),j=[w,E],c||j.push(k),v!==h.SNI_NBA&&v!==h.E_SHOP_NBA||j.push(M),t.next=10,Promise.all(j);case 10:if(L=t.sent,N=Object.assign.apply(Object,[{}].concat((0,o.default)(L))),I=N.launch,F=N.dataPanels||{},R=F.panels,z=void 0===R?{}:R,H=N.dataConfig||{},W=H.cdpConfig,U=void 0===W?{}:W,G=Object.keys(z).length&&Object.keys(U).length,V=U.vehicles,q=void 0===V?{}:V,Y=U.backPlates,X=void 0===Y?[]:Y,J=U.sufuButtonSwitch,Z=void 0===J?{}:J,K=U.compareButtonSwitch,$=void 0===K?{}:K,Q=T?f.default.getFamilyFromMYC(e):f.default.getVehicleFromModelCode(e.substr(7,9)),ee=q[Q]||{},te=ee.defaultYear,ne=void 0===te?null:te,T||!n[n.length-1]&&!ne||(e="".concat(e.substring(0,3)).concat(ne||n[n.length-1]).concat(e.substring(7,9))),re=z[v]||{},ae=!!Object.keys(re).length,oe=JSON.parse(JSON.stringify(re)),ie=oe.openheropanel,se=(le=void 0===ie?{}:ie).desktopMedia,ue=void 0===se?{}:se,ce=le.tabletMedia,de=void 0===ce?{}:ce,fe=le.phabletMedia,pe=void 0===fe?{}:fe,me=le.mobileMedia,he=void 0===me?{}:me,ve=le.contentBox,ye=(ge=void 0===ve?[]:ve)&&ge[0]?ge[0]:{},be=ye.elements,Oe=void 0===be?[]:be,Pe=JSON.parse(JSON.stringify(Oe)),Se=P({modelYearCode:e}),we=Se.vehicle,xe=Se.year,_e=Se.display,Ce=Se.baseModelCcode,Te=void 0===Ce?"":Ce,Ee=!g,g&&p.SDPContext.vehicle===we&&(Ee=!0),Ae=!!Ee&&(null===(i=window)||void 0===i?void 0:null===(m=i.sessionStorage)||void 0===m?void 0:m.getItem("vlpCTAClickedFromBHP")),ke=!!q[we],Me={},De="",je="",Le={modelYearCode:e,namePlate:we,isHeroInVLP:g,nba:D},!(ae&&ke&&X.length)||Ae||!Ee){t.next=86;break}Ie=q[we],Fe=Ie.backPlate,Be=Ie.imagePosition,Re=Ie.defaultModels,ze=void 0===Re?{}:Re,He=Ie.isMediaServerEnabled,We=void 0===He||He,Ue=null===Ie||void 0===Ie?void 0:Ie.schemaReplace,Ge=Object.entries(Ue).map(function(e){var t=(0,l.default)(e,2),n=t[0],r=t[1];return(0,u.default)({},n,r)}),Ue=[{vehicle:_e},{year:xe}].concat((0,o.default)(Ge)),Ve=ze[xe]?ze[xe]:Te,qe=X.find(function(e){return e.id===Fe}),Ye=X.find(function(e){return e.isDefault}),Xe=P({modelYearCode:e,ccode:Ve}),Je=Xe.model,Ze=Xe.llp,Ke=p.SDPContext.brand,$e={vehicle:we,year:xe,model:Je,llp:Ze,zipcode:p.SDPContext.zipCode,action:"cdphero"},Qe=(Qe=qe||Ye)||X[0],et=b({backPlate:Qe,desktopMedia:ue,tabletMedia:de,phabletMedia:pe,mobileMedia:he}),nt=!!I&&S(Ve,we,xe,I),rt=_({inNoInventory:nt,elements:Pe,sufuButtonSwitch:Z,isHeroInVLP:g,compareButtonSwitch:$,nbaToCheck:v}),at=rt.elementsModified,ot=rt.primaryValue,it=rt.secondaryValue,De=ot,je=it,tt=at,tt=(0,d.getSchemaReplace)(tt,Ue),le&&(null===(Ne=le.contentBox)||void 0===Ne?void 0:Ne[0])?(le.contentBox[0].elements=x(tt,g),le.contentBox[0].context=y({brand:Ke},$e)):ae=!1,le.desktopMedia=et.desktopMedia,le.tabletMedia=et.tabletMedia,le.phabletMedia=et.phabletMedia,le.mobileMedia=et.mobileMedia,oe.context=$e,lt=null,t.t0=A,t.next="desktop"===t.t0?68:"tablet"===t.t0?70:"phablet"===t.t0?72:"mobile"===t.t0?74:76;break;case 68:return lt=null===le||void 0===le?void 0:le.desktopMedia,t.abrupt("break",78);case 70:return lt=null===le||void 0===le?void 0:le.tabletMedia,t.abrupt("break",78);case 72:return lt=null===le||void 0===le?void 0:le.phabletMedia,t.abrupt("break",78);case 74:return lt=null===le||void 0===le?void 0:le.mobileMedia,t.abrupt("break",78);case 76:return lt=null===le||void 0===le?void 0:le.desktopMedia,t.abrupt("break",78);case 78:lt=lt||(null===le||void 0===le?void 0:le.desktopMedia),st=We?O({ccode:Ve,vehicle:we,year:xe,backPlate:lt}):null,Me={imagePosition:Be,isMediaServerEnabled:We,vehicleOfInterestImg:st},oe.cdpPanelConfig=Me,ut=!We||st,oe&&ut&&ae?(B(oe),Le=y({isError:!1,inNoInventory:nt,primaryCta:De,secondaryCta:je},Le)):Le=y({isError:!0,inNoInventory:nt,isVehicleAvailable:ke,isCDPenabledForVLP:Ee,data:G,isHeroInVLP:g,xFPathConfig:r,checkImgError:ut,xFPathPanel:s,isPanelAvailable:ae,primaryCta:De,secondaryCta:je},Le),t.next=88;break;case 86:ct=_({inNoInventory:!1,elements:Pe,sufuButtonSwitch:Z,isHeroInVLP:g,compareButtonSwitch:$,nbaToCheck:v}),dt=ct.primaryValue,ft=ct.secondaryValue,Le=y({isError:!0,isVehicleAvailable:ke,isCDPenabledForVLP:Ee,data:G,isHeroInVLP:g,xFPathConfig:r,xFPathPanel:s,isPanelAvailable:ae,primaryCta:dt,secondaryCta:ft,isVLPCTAClickedFromBHP:Ae},Le);case 88:C(Le);case 89:case"end":return t.stop()}},t)}))).apply(this,arguments)}},[D,r,s,g,L,w,E,n]),F};t.default=T},l262:function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},nrG5:function(e,t,n){"use strict";var r=n("SpGf"),a=n("b9XL");n("1nHC"),n("aGSB"),n("4hJi"),n("HkIz"),n("Bq/h"),n("Y3qw"),n("ecHe"),n("ItbG"),n("g0xY"),n("oCSF"),n("A+FC"),n("GFxX"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("PMvg"));n("QVnC");var i,l,s,u=r(n("agGE")),c=r(n("3dLy")),d=r(n("0fcM")),f=r(n("P8NW")),p=r(n("E7HD")),m=r(n("d4H2")),h=r(n("0421")),v=r(n("UJE0")),g=r(n("IxO8")),y=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!=typeof e)return{default:e};var n=j(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=o?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(r,i,l):r[i]=e[i]}r.default=e,n&&n.set(e,r);return r}(n("1n8/")),b=r(n("LG8Z")),O=r(n("9HjJ")),P=r(n("Lkaf")),S=r(n("hQZ2")),w=r(n("g8b4")),x=n("tYEZ"),_=r(n("fkUE")),C=n("KT8i"),T=r(n("LfsX")),E=r(n("wxQh")),A=r(n("7pUQ")),k=r(n("QrbS")),M=n("sr4B"),D=r(n("70Kp"));function j(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(j=function(e){return e?n:t})(e)}function L(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function N(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?L(Object(n),!0).forEach(function(t){(0,g.default)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):L(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function I(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=(0,v.default)(e);if(t){var a=(0,v.default)(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return(0,h.default)(this,n)}}n("C69O");var F=(0,b.default)((s=l=function(e){(0,m.default)(n,e);var t=I(n);function n(e){var r;(0,d.default)(this,n),r=t.call(this,e),(0,g.default)((0,p.default)(r),"_onInView",function(e){var t=e.detail.percentIntersection;r.state.onScreen||t>=55&&r.setState({onScreen:!0},function(){var e=r.props,t=e.zipCode,n=e.availableZipCode;r._isMounted&&(t||n)&&r._determineDisplayStrategy()})}),(0,g.default)((0,p.default)(r),"_onOutView",function(){r.state.onScreen&&r.setState({onScreen:!1})}),(0,g.default)((0,p.default)(r),"_createDynamicFeaturedOfferData",function(e){var t=e.matchedOffer,n=void 0===t?{}:t,a=e.switchToManualOffer,o=e.showOfferMarketingMessage,i=void 0,l=Object.keys(n).length>0;l&&(i="custom"===n.type?r._constructCustomOfferData({matchedOffer:n,showOfferMarketingMessage:o}):r._constructRegularOfferData({matchedOffer:n})),r._createNewContentBox({featuredOfferObj:i,isMatchingDynamicOfferFound:l,switchToManualOffer:a})}),(0,g.default)((0,p.default)(r),"_constructCustomOfferData",function(e){var t,n,a=(0,p.default)(r),o=e.matchedOffer,i=e.showOfferMarketingMessage,l=r.props,s=l.dynamicOfferFormat,u={},c={},d=l.disclaimerIndicator,f=o.disclaimer,m=void 0===f?"":f,h=o.marketingMsg,v=void 0===h?"":h,g=o.preText,b=void 0===g?[]:g,O=o.postText,P=void 0===O?[]:O;u.mkt_msg=i&&v?v:"",u.ofr_level_pretxt=Array.isArray(b)?b:[],u.ofr_level_posttxt=Array.isArray(P)?P:[],u.disclaimer=m||"";c.vehiclenametxt=r.vehicleName?r.vehicleName:"",c.trimnametxt=o.trimDescription?o.trimDescription:"";c.vehiclenametxtstyle2=r.vehicleName?r.vehicleName:"";var S=o.offerGroups.length-1,w="";return o.offerGroups.forEach(function(e,r){var i,l,u,f,p,m,h,v=e.preText,g=e.connector;n=r+1,t=new T.default(o.offerTypeValue,e);var b=d[r],O="pretxt_group".concat(n),P="ofrtxt_group".concat(n),x="ofr_details_group".concat(n),_="posttxt_group".concat(n),C="connector".concat(n),E=y.default.createElement("span",null,y.default.createElement("sup",{className:"fontSize-disclosure-numberFormat ".concat(a.constructor.className,"__disclosure-sign-numberFormat-new"),"aria-hidden":"true"},b),y.default.createElement("span",{className:"gcss-sr-only"},"Disclosure ",b.length)),A=Array.isArray(t.postText)&&t.postText.length>0?"".concat(t.postText.join("<br/>")):"",k=Array.isArray(v)&&v.length>0?"".concat(v.join("<br/>")," "):"",M=A.length>0,j='<span><sup class="fontSize-disclosure-numberFormat '.concat(a.constructor.className,'__disclosure-sign-numberFormat-new" aria-hidden="true">').concat(b,'</sup><span class="gcss-sr-only">Disclosure ').concat(b.length,"</span></span>"),L="";if("grid"===s?L=E:M||(L=j),r===S){var N=w.length;N>2&&"-"===w.charAt(0)&&"-"===w.charAt(N-1)&&(L="")}var I={type:P,value:null===(i=t)||void 0===i?void 0:i.value,label:null===(l=t)||void 0===l?void 0:l.label,title:null===(u=t)||void 0===u?void 0:u.title,showIncentiveInfo:null===(f=t)||void 0===f?void 0:f.showIncentiveInfo,incentiveLabel:null===(p=t)||void 0===p?void 0:p.incentiveLabel,incentivesTotalValue:null===(m=t)||void 0===m?void 0:m.incentivesTotalValue,incentiveType:null===(h=t)||void 0===h?void 0:h.incentiveType,disclaimerElementText:L,connector:g};c[O]=k,c[P]=I,t.details&&(c[x]=t.details),c[_]="".concat(A).concat(M?D.default.renderToString(E):""),c[C]=r!==o.offerGroups.length-1&&"string"==typeof g?g:"",r===S-1&&(w=c[C])}),N({},u,{offerInfo:c})}),(0,g.default)((0,p.default)(r),"_constructRegularOfferData",function(e){var t=e.matchedOffer,n={},r={},a=t.disclaimer,o=void 0===a?"":a,i=new T.default(t.offerTypeValue,t);n.disclaimer=o||"";var l,s=(l=[],i.value&&l.push(i.value),i.label&&l.push(i.label),i.showIncentiveInfo&&(l.push("<br/>"),l.push(i.incentiveLabel),l.push(i.incentivesTotalValue)),l);return i.title&&(r.pretxt_group1=i.title),r.ofrtxt_group1=s,i.details&&(r.ofr_details_group1=i.details),i.showIncentiveInfo&&(r.posttxt_group1=i.incentiveType),N({},n,{offerInfo:r})}),(0,g.default)((0,p.default)(r),"_createNewContentBox",function(e){var t=e.featuredOfferObj,n=e.switchToManualOffer,a=r.props.contentBox,o={},i=[];JSON.parse(JSON.stringify(a)).forEach(function(e){for(var r in e)if("elements"!==r)switch(!0){case/^(position)$/i.test(r):o[[r]]=""===e[r]?"middle-left":e[r];break;case/^(positionMobile)$/i.test(r):o[[r]]=""===e[r]?"below-asset":e[r];break;case/^(textAlignment)$/i.test(r):case/^(mobileTextAlignment)$/i.test(r):o[[r]]=""===e[r]?"center":e[r];break;default:o[[r]]=e[r]}else o[[r]]=[],o[[r]]=e.elements.reduce(function(e,r){var a=r.type.toLowerCase();if(t&&void 0!==t[a]&&""!==t[a])return"Paragraph"===r.component?Array.isArray(r.props)?r.props.forEach(function(e,n){e.text=t[a][n]}):r.props.text=Array.isArray(t[a])?t[a].join("<br/>"):t[a]:"Heading"===r.component?r.props.elements.forEach(function(e,n){e.headingText=0===n?t[a]:""}):r.component,e.concat(r);if(t&&t.offerInfo&&void 0!==t.offerInfo[a]&&""!==t.offerInfo[a]||"Incentive"===r.component&&(null===t||void 0===t?void 0:t.offerInfo)){if("Paragraph"===r.component)if(a.includes("ofrtxt_group"))if(Array.isArray(r.props)){var o=(0,M.customizedOfferTxtGroup)(r.component,t.offerInfo[a],r.props);r.props.forEach(function(e,t){e.text=o[t]})}else r.props.text=(0,M.customizedOfferTxtGroup)(r.component,t.offerInfo[a],r.props);else r.props.text=t.offerInfo[a];else"Heading"===r.component?"vehiclenametxtstyle2"!==a&&r.props.elements.forEach(function(e,n){e.headingText=0===n?t.offerInfo[a]:""}):"Incentive"===r.component&&r.props.incentiveData.forEach(function(e){var n=e.offerType.toLowerCase(),a=(0,M.customizedOfferTxtGroup)(r.component,t.offerInfo[n]);if(a){var o=a.title,i=a.value,l=a.label,s=a.connector,u=a.disclaimerElementText;n===a.type&&(e.title=e.title&&""!==e.title?e.title:o,e.label=l,e.value=i,e.connector=s,e.disclosure.value=u)}});return e.concat(r)}if(/^(cta)$/i.test(a))return e.concat(r);if(/^(logo)$/i.test(a)){var i=r.props;return[i.lg,i.md,i.sm,i.xs].every(function(e){return 0===e.toString().trim().length})?e:e.concat(r)}return n&&!t&&/^(fallback_copy)$/i.test(a)?e.concat(r):(r.component="",e.concat(r))},[]);i.push(o)}),r.setState({contentBox:i})}),(0,g.default)((0,p.default)(r),"_getFeaturedOffersArgs",function(){var e=r.props,t=e.availableZipCode,n=e.zipCode,a=e.context,o=e.contentBox;return{context:N({},o[0].context?o[0].context:a||{},{modelYearCode:r.modelYearCode}),zipCode:n||t}}),(0,g.default)((0,p.default)(r),"_determineDisplayStrategy",function(){var e=r.props,t=e.startDate,n=e.endDate,a=e.shouldFetchDynamicOffer,o=r.constructor.getDynamicOfferTimeFrameFlag({startDate:t,endDate:n});a?o&&r._fetchFeaturedOffers():r._renderStaticOffer()}),(0,g.default)((0,p.default)(r),"_fetchFeaturedOffers",function(){var e=r.props,t=e.switchToManualOffer,a=e.showOfferMarketingMessage,o=r._getFeaturedOffersArgs();n.fetchFeaturedOffers({featuredOffersArgs:o}).then(function(e){r._isMounted&&(e instanceof Error?r._renderOffer({matchedOffer:void 0,switchToManualOffer:t,showOfferMarketingMessage:a}):r.setState({featuredOffers:e},function(){if(document){var e=new CustomEvent("resizeCarouselPanel");document.dispatchEvent(e)}}))})}),(0,g.default)((0,p.default)(r),"_getMatchingOffer",function(e){var t=e.offers,n=e.featuredOrderNumber;if(0!==t.length){var r=t.find(function(e){return e.featuredOrder===n});if(r)return r}}),(0,g.default)((0,p.default)(r),"_renderOffer",function(e){var t=e.matchedOffer,n=e.switchToManualOffer,a=e.showOfferMarketingMessage,o=r.props,i=o.endDate,l=o.startDate,s=r.constructor.getDynamicOfferTimeFrameFlag({startDate:l,endDate:i}),u=!(!t||"custom"!==t.type||t.offerGroups.length>0&&t.offerGroups.length<=6);if(t){if(s){var c=u?void 0:t;r._createDynamicFeaturedOfferData({matchedOffer:c,switchToManualOffer:n,showOfferMarketingMessage:a})}}else n&&r._createDynamicFeaturedOfferData({matchedOffer:void 0,switchToManualOffer:n,showOfferMarketingMessage:a})}),(0,g.default)((0,p.default)(r),"_renderStaticOffer",function(){var e=r.props.contentBox;r.setState({contentBox:e})}),(0,g.default)((0,p.default)(r),"_onSubmitChangeZip",function(){document.body.classList.remove("scroll-locked")});Object.defineProperty((0,p.default)(r),"modelYearCode",{get:function(){var e=this.props,t=e.context,n=e.contentBox,r=n[0].context?n[0].context:t;return r=r||{},_.default.getModelYearCode(r)},configurable:!0,enumerable:!0});return Object.defineProperty((0,p.default)(r),"vehicleName",{get:function(){var e=this.props,t=e.context,n=e.contentBox,r=n[0].context?n[0].context:t;return r=r||{},"".concat(_.default.getDescription(r))},configurable:!0,enumerable:!0}),r.state={contentBox:[],offerZip:void 0,featuredOffers:void 0,onScreen:!1},r}return(0,f.default)(n,[{key:"componentDidMount",value:function(){this._isMounted=!0;var e=this.__element;e&&(k.default.observeIntersection(e),e.addEventListener("onInView",this._onInView),e.addEventListener("onOutView",this._onOutView))}},{key:"componentWillUnmount",value:function(){var e=this.__element;this._isMounted=!1,e&&(k.default.unobserveIntersection(e),e.removeEventListener("onInView",this._onInView),e.removeEventListener("onOutView",this._onOutView))}},{key:"shouldComponentUpdate",value:function(e,t){var n=!(0,x.valuesAreEqual)(this.props,e,["contentBox","context","desktopMedia","phabletMedia","tabletMedia","mobileMedia","disclosureTextArr","onLoad"])||!(0,x.valuesAreEqual)(this.state,t);return n}},{key:"componentDidUpdate",value:function(e){var t,n,r,a,o,i,l=this.props,s=this.state,u=l.zipCode,c=l.featuredOrderNumber,d=l.switchToManualOffer,f=l.showOfferMarketingMessage,p=s.featuredOffers,m=s.offerZip,h=s.onScreen,v=e.zipCode;if(h)if(h&&u!==v)this._determineDisplayStrategy();else if(h&&u!==m&&p&&u===(null===p||void 0===p?void 0:null===(t=p.result)||void 0===t?void 0:null===(n=t.data)||void 0===n?void 0:null===(r=n.request)||void 0===r?void 0:r.zip)&&this.modelYearCode===(null===p||void 0===p?void 0:null===(a=p.result)||void 0===a?void 0:null===(o=a.data)||void 0===o?void 0:null===(i=o.request)||void 0===i?void 0:i.modelYearCode)){var g=S.default.getFeaturedOffers(p,{appendDisclaimerPretext:!1}),y=this._getMatchingOffer({offers:g,featuredOrderNumber:c});this._renderOffer({matchedOffer:y,switchToManualOffer:d,showOfferMarketingMessage:f}),this.setState({offerZip:u})}}},{key:"render",value:function(){var e=this,t=this.props,n=this.state,r=this.constructor,a=t.checkZipModal,o=t.zipCode,i=t.availableZipCode,l=t.contentBox,s=n.contentBox,u=!(o||i)&&a,d=!s.length&&l&&l.length&&"below-asset"===l[0].positionMobile;return y.default.createElement("section",{className:r.className,"data-fe-id":"DynamicOpenHeroPanel",ref:function(t){return e.__element=t,t}},y.default.createElement(E.default,(0,c.default)({},this.props,{contentBox:s,dynamicContentLoader:d,dynamicOfferFormat:this.props.dynamicOfferFormat,shouldFetchDynamicOffer:!0})),u&&y.default.createElement(A.default,{enableClose:!1,onSubmit:this._onSubmitChangeZip,triggerModalOpen:u}))}}],[{key:"getStores",value:function(){return[O.default,w.default]}},{key:"getPropsFromStores",value:function(){return N({},O.default.getState(),{},w.default.getState())}},{key:"componentDidConnect",value:function(){P.default.connect()}},{key:"getDynamicOfferTimeFrameFlag",value:function(e){var t=new Date;t.setDate(t.getDate()+1);var n=new Date;n.setDate(n.getDate()-1);var r=e.startDate>-1?e.startDate:n.getTime(),a=e.endDate>-1?e.endDate:t.getTime(),o=(new Date).getTime();return o<Number(a)&&o>Number(r)}},{key:"fetchFeaturedOffers",value:function(){var e=(0,u.default)(o.default.mark(function e(t){var r,a,i,l;return o.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=(t=t||{}).featuredOffersArgs,a=n._fetchFeaturedOffers,i=S.default.getOffersUri({data:r,source:"/hostd/incentives/getfeaturedoffers"}),l=a[i]=a[i]||new Promise(function(e){(0,C.getJSON)(i).then(function(t){t instanceof Error&&delete a[i],e(t)}).catch(function(t){delete a[i],e(t)})}),e.abrupt("return",l);case 6:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}()}]),n}(y.PureComponent),(0,g.default)(l,"className","sdp-dynamic-hero"),(0,g.default)(l,"_fetchFeaturedOffers",{}),i=s))||i;F.defaultProps={shouldFetchDynamicOffer:!0,dynamicOfferFormat:"legacy",showOfferMarketingMessage:!0,disclaimerIndicator:["[1]","[2]","[3]","[4]","[5]","[6]"]};var B=F;t.default=B},okDq:function(e,t){},q3oW:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){return e&&e.asset&&e.asset.media&&e.asset.media.mediaAsset&&e.asset.media.mediaAsset.image};t.default=r},q9uu:function(e,t,n){"use strict";var r=n("SpGf"),a=n("b9XL");n("I5XU"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("3dLy")),i=r(n("U8F3")),l=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!=typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=o?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(r,i,l):r[i]=e[i]}r.default=e,n&&n.set(e,r);return r}(n("1n8/")),s=r(n("ReKC")),u=r(n("I+nr")),c=r(n("Ufk6"));n("1CUB");var d=["theme","incentiveData","shouldFetchDynamicOffer","setContentBoxClassFn"];function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}var p=l.default.createElement(c.default,{connector:"OR"});var m=function(e){var t=e.theme,n=e.incentiveData,r=e.shouldFetchDynamicOffer,a=e.setContentBoxClassFn,c=(0,i.default)(e,d),f=(0,u.default)(n),m=f.customFontSize,h=f.customValuePadding,v=f.gridWrapperArea,g=f.partitionIndex;(0,l.useEffect)(function(){v&&a&&a("content-box--visible")},[a,v]);var y=void 0!==g&&g!==n.length-1;return l.default.createElement("div",{className:"grid-incentives-wrapper ".concat(v),"data-fe-id":"OpenHeroIncentivesDynamic","data-cats-id":"open-hero-incentives-dynamic"},void 0!==g&&l.default.createElement(s.default,(0,o.default)({incentives:n.slice(0,g+1),customFontSize:m,isOr:y,customValuePadding:h,shouldFetchDynamicOffer:r,theme:t},c)),-1!==g&&g<n.length-1&&p,void 0!==g&&l.default.createElement(s.default,(0,o.default)({incentives:n.slice(g+1),customFontSize:m,isOr:y,shouldFetchDynamicOffer:r,customValuePadding:h,theme:t},c)))};t.default=m},qq99:function(e,t,n){"use strict";var r=n("SpGf"),a=n("b9XL");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("3dLy")),i=r(n("U8F3")),l=r(n("69HE")),s=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!=typeof e)return{default:e};var n=m(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=o?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(r,i,l):r[i]=e[i]}r.default=e,n&&n.set(e,r);return r}(n("1n8/")),u=r(n("9qb7")),c=r(n("kNDx")),d=r(n("gE2Y")),f=r(n("SDfJ"));n("b4Pt");var p=["textAlignmentDesktopAndTablet","desktopAndTabletAlignment","mobileAndPhabletAlignment","headerText","headerTextStyle","descriptionText","descriptionTextStyle","countdownTimerInclude","preRevealButtons","theme"];function m(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(m=function(e){return e?n:t})(e)}function h(e){var t=(0,s.useState)(!1),n=(0,l.default)(t,2),r=n[0],a=n[1],m=e.phase,h=e.lastPhaseTimer,v=e.clientServerTimeDiff,g=e.postRevealButtons,y=m.textAlignmentDesktopAndTablet,b=m.desktopAndTabletAlignment,O=m.mobileAndPhabletAlignment,P=m.headerText,S=m.headerTextStyle,w=m.descriptionText,x=m.descriptionTextStyle,_=m.countdownTimerInclude.timer,C=m.preRevealButtons,T=m.theme,E=(0,i.default)(m,p),A=h.timer;return s.default.createElement("div",{className:(0,u.default)("digital-countdown-panel-wrapper","gcss-theme-".concat(T),"text-align-".concat(y),"".concat(b,"-desktop-tablet"),"".concat(O,"-phablet-mobile")),"data-fe-id":"DigitalCountDownPanel"},s.default.createElement(c.default,{headerText:P,headerTextStyle:S,descriptionText:w,descriptionTextStyle:x,theme:T}),r?s.default.createElement(f.default,{buttons:g}):s.default.createElement(s.default.Fragment,null,s.default.createElement(d.default,(0,o.default)({lastPhaseFinishTimer:A,currentPhaseFinishTimer:_,setIsTimerExpired:a,clientServerTimeDiff:v},E)),s.default.createElement(f.default,{buttons:C})))}h.defaultProps={phase:{desktopAndTabletAlignment:"middle-center",mobileAndPhabletAlignment:"middle-center",theme:"dark",textAlignmentDesktopAndTablet:"center"}};var v=h;t.default=v},r0Em:function(e,t){},rZxA:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.VLP_CTA_HREF=t.VLP_CTA=t.SNI_NBA=t.SNI_CTA_HREF=t.SNI_CTA=t.E_SHOP_NBA=t.ESHOP_CTA_HREF=t.ESHOP_CTA=t.COMPARE_CTA_HREF=t.COMPARE_CTA=t.BMO_NBA=t.BMO_CTA_HREF=t.BMO_CTA=void 0;t.SNI_NBA="sni-t1";t.BMO_NBA="bmo";t.E_SHOP_NBA="sni-e";t.BMO_CTA="BMO";t.SNI_CTA="T1-SNI";t.ESHOP_CTA="ORE-SNI";t.COMPARE_CTA="Model-Compare";t.VLP_CTA="VLP";t.BMO_CTA_HREF="#app-bmo";t.SNI_CTA_HREF="#app-sni";t.ESHOP_CTA_HREF="#app-ore";t.COMPARE_CTA_HREF="#app-compare";t.VLP_CTA_HREF="#app-vhp"},ryhz:function(e,t,n){"use strict";var r=n("SpGf"),a=n("b9XL");n("XwPX"),n("HUM5"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,i=r(n("3dLy")),l=r(n("b9XL")),s=r(n("0fcM")),u=r(n("P8NW")),c=r(n("d4H2")),d=r(n("0421")),f=r(n("UJE0")),p=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!=typeof e)return{default:e};var n=y(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=o?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(r,i,l):r[i]=e[i]}r.default=e,n&&n.set(e,r);return r}(n("1n8/")),m=r(n("9qb7")),h=r(n("6G51")),v=r(n("QfIW")),g=r(n("8KNu"));function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(y=function(e){return e?n:t})(e)}function b(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=(0,f.default)(e);if(t){var a=(0,f.default)(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return(0,d.default)(this,n)}}n("OKYH");var O=(0,h.default)(o=function(e){(0,c.default)(n,e);var t=b(n);function n(e){var r;return(0,s.default)(this,n),(r=t.call(this,e)).state={screen:"desktop",bottom:0},r}return(0,u.default)(n,[{key:"useScreen",get:function(){var e=this.state.screen,t=this.props.hotspotGroups,n=e;return t&&void 0!==t[e]&&(n=!0===t[e].sameAsMobile?"mobile":!0===t[e].sameAsDesktop?"desktop":e),n}},{key:"componentDidMount",value:function(){if(void 0!==("undefined"==typeof document?"undefined":(0,l.default)(document))){var e=document.querySelector(".cta-disclosure-bar.use-disclosure-bar"),t=e&&e.offsetHeight;this.setState({bottom:t})}}},{key:"render",value:function(){var e,t=this.props,n=t.hotspotGroups,r=t.lpos,a=t.theme,o=this.state.bottom,l="circle";return void 0!==n[this.useScreen]&&(e=n[this.useScreen].hotspotData,n[this.useScreen].hotspotStyle&&(l=n[this.useScreen].hotspotStyle)),p.default.createElement("div",{className:(0,m.default)("hotspot-container","gcss-theme-".concat(a)),style:{bottom:o}},e&&Object.values(e).map(function(e){return"circle"===l?p.default.createElement(v.default,(0,i.default)({lpos:r},e)):p.default.createElement(g.default,(0,i.default)({lpos:r},e))}))}}]),n}(p.Component))||o;O.defaultProps={theme:"dark",hotspotStyle:"circle"};var P=O;t.default=P},sEI7:function(e,t,n){"use strict";var r=n("SpGf");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n("3dLy")),o=r(n("1n8/")),i=r(n("Hche")),l=function(e){return function(t){var n=(0,i.default)();return o.default.createElement(e,(0,a.default)({userCDPData:n||null},t))}};t.default=l},sr4B:function(e,t,n){"use strict";n("1nHC"),n("HkIz"),Object.defineProperty(t,"__esModule",{value:!0}),t.customizedOfferTxtGroup=function(e,t,n){var r=t.type,a=t.connector,o=t.value,i=t.label,l=t.title,s=t.showIncentiveInfo,u=t.incentiveLabel,c=t.incentivesTotalValue,d=t.incentiveType,f=t.disclaimerElementText;if("Paragraph"===e){var p=[];if(!Array.isArray(n))return o&&p.push("<span>".concat(o,"</span>")),i&&p.push(i),s&&(p.push("<br/>"),p.push(u),p.push(c),p.push(d)),"".concat(p.join(" ")).concat(f);var m="";return o&&(m="<span>".concat(o,"</span>")),i&&p.push(i),s&&(p.push("<br/>"),p.push(u),p.push(c),p.push(d)),[m,"".concat(p.join(" ")).concat(f)]}if("Incentive"===e)return{value:o,label:i,title:l,type:r,connector:a,disclaimerElementText:f}}},tGaV:function(e,t,n){"use strict";var r=n("SpGf");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n("3dLy")),o=r(n("1n8/")),i=r(n("MLji")),l=r(n("DqZf"));function s(e){var t=e.topTitle,n=e.topDescription,r=e.topTitleStyle,s=e.countdownTimerInclude,u=e.theme;return o.default.createElement("div",{className:"countdown-wrapper","data-fe-id":"OpenHeroPanel/CountDownSinglePhase"},o.default.createElement(l.default,{title:t,description:n,titleStyle:r,arrow:!1,mdWidth:8,smWidth:4,theme:u}),o.default.createElement(i.default,(0,a.default)({},s,{theme:u})))}s.defaultProps={theme:"light"};var u=s;t.default=u},w8c5:function(e,t,n){"use strict";var r=n("SpGf"),a=n("b9XL");n("diqY"),n("LYOo"),n("XwPX"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("0fcM")),i=r(n("P8NW")),l=r(n("d4H2")),s=r(n("0421")),u=r(n("UJE0")),c=r(n("3dLy")),d=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!=typeof e)return{default:e};var n=x(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=o?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(r,i,l):r[i]=e[i]}r.default=e,n&&n.set(e,r);return r}(n("1n8/")),f=r(n("9qb7")),p=n("2tAt"),m=r(n("0qbk")),h=n("+uyL"),v=r(n("YFa9")),g=r(n("5cu9")),y=r(n("KqWn")),b=r(n("AEfI")),O=r(n("2A52")),P=r(n("x0/2")),S=r(n("JEuN")),w=r(n("CZ6E"));function x(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(x=function(e){return e?n:t})(e)}function _(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=(0,u.default)(e);if(t){var a=(0,u.default)(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return(0,s.default)(this,n)}}n("gWXL");var C=function(e){var t=e.theme,n=e.textOrder,r=e.buttons,a=e.msrp,o=e.keyStat,i=e.badgeData,l=e.incentives,s=e.lpos,u=e.alignment,m=e.comparison,h=e.inlineGraph,x=e.Components,_=(0,p.convertStringPropsToRichText)(e).description;return d.default.createElement("div",{className:(0,f.default)("content-box","gcss-theme-".concat(t))},d.default.createElement("div",{className:(0,f.default)("order-swap primary-info","order-".concat(n))},d.default.createElement(b.default,{align:"left"},d.default.createElement(v.default,{md:12,lg:12,sm:6,xs:6},d.default.createElement(P.default,null,a&&d.default.createElement("div",{className:"tile-content"},d.default.createElement(y.default,(0,c.default)({},a,{theme:t,align:u,type:"large",padding:!1}))),o&&d.default.createElement("div",{className:"tile-content"},o.map(function(e){return d.default.createElement(g.default,(0,c.default)({},e,{theme:t,type:"large"}))})),i&&d.default.createElement("div",{className:(0,f.default)("tile-content","badge-container")},d.default.createElement(S.default,(0,c.default)({},i,{theme:t,fullWidth:!0}))),l&&d.default.createElement("div",{className:"tile-content"},d.default.createElement(w.default,{incentiveData:l,comparison:m,theme:t,alignment:u})),h&&d.default.createElement("div",{className:"tile-content"},d.default.createElement(x.CompetitorInlineGraph,(0,c.default)({},h,{alignment:u,theme:t,hideVehicleTrims:!0})))))),_&&d.default.createElement(b.default,{align:"left"},d.default.createElement(v.default,{md:12,lg:12,sm:6,xs:6},d.default.createElement("div",{className:"short-description"},_)))),d.default.createElement(b.default,null,d.default.createElement(v.default,{md:12,lg:12,sm:6,xs:6,flush:!0},r&&d.default.createElement("div",{className:"cta-buttons"},r.map(function(e){return d.default.createElement(O.default,(0,c.default)({},e,{lpos:s}))})))))};C.defaultProps={theme:"dark",textOrder:"last",alignment:"left"};var T=function(e){(0,l.default)(n,e);var t=_(n);function n(e){var r;(0,o.default)(this,n),r=t.call(this,e);var a={loading:!1},i=e.inlineGraph;return r.requiredComponents=[],i&&(a.loading=!0,r.requiredComponents.push("CompetitorInlineGraph")),r.state=a,r}return(0,i.default)(n,[{key:"componentDidMount",value:function(){var e=this;(0,m.default)({componentsRequired:this.requiredComponents,stylesheetsRequired:this.requiredComponents}).then(function(){e.setState({loading:!1})})}},{key:"render",value:function(){var e=this.state.loading,t=(0,h.getComponents)(this.requiredComponents);return d.default.createElement("div",null,!e&&d.default.createElement(C,(0,c.default)({Components:t},this.props)))}}]),n}(d.Component);t.default=T},wxQh:function(e,t,n){"use strict";var r=n("SpGf"),a=n("b9XL");n("1nHC"),n("OImK"),n("HkIz"),n("XwPX"),n("d93j"),n("Y3qw"),n("ecHe"),n("g0xY"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,i,l,s=r(n("3dLy")),u=r(n("0fcM")),c=r(n("P8NW")),d=r(n("E7HD")),f=r(n("d4H2")),p=r(n("0421")),m=r(n("UJE0")),h=r(n("IxO8")),v=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!=typeof e)return{default:e};var n=L(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=o?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(r,i,l):r[i]=e[i]}r.default=e,n&&n.set(e,r);return r}(n("1n8/")),g=r(n("2tAt")),y=r(n("9qb7")),b=n("0Qmh"),O=r(n("6G51")),P=r(n("dcr5")),S=r(n("Sg7x")),w=r(n("9I32")),x=r(n("XleV")),_=r(n("TM12")),C=r(n("2A52")),T=r(n("HJ6b")),E=r(n("VXw0")),A=n("pjdA"),k=r(n("6orv")),M=r(n("8d8C")),D=r(n("bSw9")),j=r(n("AmE+"));function L(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(L=function(e){return e?n:t})(e)}function N(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function I(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=(0,m.default)(e);if(t){var a=(0,m.default)(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return(0,p.default)(this,n)}}n("1uf4"),n("3VPH");var F=v.default.createElement("div",{className:"dynamic-content-loader"}),B=(0,g.default)((l=i=function(e){(0,f.default)(n,e);var t=I(n);function n(e){var r;(0,u.default)(this,n),r=t.call(this,e),(0,h.default)((0,d.default)(r),"_setDisplayMediaRef",function(e){r.displayMediaRef=e}),(0,h.default)((0,d.default)(r),"_contentBoxAfterDisclosure",function(e){var t=r.props,n=t.useDisclosureBar,a=t.disclosureBarLayout,o=O.default.getScreenSizeState().mobile,i=0,l=r.displayMediaRef&&r.displayMediaRef.querySelector(".disclosure-bar.sdp-row")&&r.displayMediaRef.querySelector(".disclosure-bar.sdp-row").offsetHeight,s=r.descriptioncontainerwrapper&&r.descriptioncontainerwrapper.current&&r.descriptioncontainerwrapper.current.style;if(n&&("belowImage"===a||o)&&s)switch(e){case!o||"align-mobile-left-bottom"!==e&&"align-mobile-center-bottom"!==e&&"align-mobile-right-bottom"!==e?"alignMobileTop":e:s.bottom="calc(5% + ".concat(l,"px)");break;case"grid-position-1":case"grid-position-2":case"grid-position-3":o||(i=.05*l,s.top="calc(5% - ".concat(i,")px)"));break;case"grid-position-4":case"grid-position-5":case"grid-position-6":o||(i=.5*l,s.top="calc(50% - ".concat(i,"px)"));break;case"grid-position-7":case"grid-position-8":case"grid-position-9":o||(s.bottom="calc(10% + ".concat(l,"px)"))}}),(0,h.default)((0,d.default)(r),"_getContentBoxPosition",function(e){var t=r.props.useDisclosureBar,n="grid-position-2",a={"top-left":"grid-position-1","top-center":"grid-position-2","top-right":"grid-position-3","middle-left":"grid-position-4","middle-center":"grid-position-5","middle-right":"grid-position-6","bottom-left":"grid-position-7","bottom-center":"grid-position-8","bottom-right":"grid-position-9","below-asset":"below-asset","left-half":"grid-position-10","right-half":"grid-position-11","block-left":"grid-position-12","block-right":"grid-position-13"};return void 0!==a[e]&&(n=a[e]),t&&r._contentBoxAfterDisclosure(n),n}),(0,h.default)((0,d.default)(r),"_getContentBoxPositionMobile",function(e){var t=r.props.useDisclosureBar,n="left-top",a={"top-left":"align-mobile-left-top","top-center":"align-mobile-center-top","top-right":"align-mobile-right-top","bottom-left":"align-mobile-left-bottom","bottom-center":"align-mobile-center-bottom","bottom-right":"align-mobile-right-bottom","below-asset":"align-mobile-below-asset","middle-center":"align-mobile-center-middle"};return void 0!==a[e]&&(n=a[e]),t&&r._contentBoxAfterDisclosure(n),n}),(0,h.default)((0,d.default)(r),"_getContentBoxWidth",function(e){var t="half-width",n={"20%":"twenty","25%":"one-quarter","30%":"thirty","40%":"forty","50%":"half-width","60%":"sixty","75%":"three-quarter","80%":"eighty","100%":"full-width"};return void 0!==n[""+e]&&(t=n[""+e]),t}),(0,h.default)((0,d.default)(r),"_getContentBoxTabletWidth",function(e){return"tablet-width-".concat(parseInt(e,10))}),(0,h.default)((0,d.default)(r),"_getMobileAlignment",function(e){var t="left";return e.mobileTextAlignment?t=e.mobileTextAlignment:"top-center"===e.positionMobile||"bottom-center"===e.positionMobile?t="center":"top-right"===e.positionMobile||"bottom-right"===e.positionMobile?t="right":"below-asset"===e.positionMobile&&(t="center"),t}),(0,h.default)((0,d.default)(r),"_setOpenHeroImage",function(e,t,n){var a=r.state.images[e];r.setState({asset:(0,D.default)(a),theme:t,useDisclosureBarState:n})}),(0,h.default)((0,d.default)(r),"_setZoomCSS",function(){var e=M.default.resizeFactor();r.setState({hasZoomedText:e>1})}),(0,h.default)((0,d.default)(r),"_placeAriaAttrsInOpenContainer",function(){if(r.__openContainerEl)for(var e=r.__openContainerEl.querySelectorAll(k.default.tabbableSelector),t=0;t<e.length;t++){var n=e[t];n.setAttribute("aria-describedby",r.__contentWrapperId),n.setAttribute("data-z","b"),"A"===n.nodeName&&"button"===n.getAttribute("role")&&n.removeAttribute("role")}}),(0,h.default)((0,d.default)(r),"_fireLinkTrack",function(e){var t=e.currentTarget.dataset,n=t.lid,r=t.lpos,a=t.adobeLinktype;window.DATALAYER&&window.DATALAYER.linkTrack(!0,{lid:n,lpos:r,linkType:a,vars:{eVar5:" ",prop1:" "}})}),(0,h.default)((0,d.default)(r),"setContentBoxClassNameFn",function(e){r.setState({contentBoxClassName:e})});var a=e.theme,o=e.countdownPanel,i=e.useDisclosureBar,l=(null===o||void 0===o?void 0:o.phases)||[];return r.__contentWrapperId="content-component__".concat((0,A.guid)()),r.descriptioncontainerwrapper=(0,v.createRef)(),r.displayMediaRef=null,r.__hotspotGroups=void 0,r.state={asset:(0,D.default)(e),theme:a,useDisclosureBarState:i,contentBoxClassName:"",images:l.map(function(e){return e.images})},r}return(0,c.default)(n,[{key:"hotspotGroups",get:function(){if(this.__hotspotGroups)return this.__hotspotGroups;var e=this.props,t=void 0===e?{}:e,n=t.mobileMedia,r=void 0===n?{}:n,a=t.phabletMedia,o=void 0===a?{}:a,i=t.tabletMedia,l=void 0===i?{}:i,s=t.desktopMedia,u=void 0===s?{}:s,c={};return r&&r.hotspotData&&r.hotspotData.length&&(c.mobile=r),o&&o.hotspotData&&o.hotspotData.length&&(c.phablet=o),l&&l.hotspotData&&l.hotspotData.length&&(c.tablet=l),u&&u.hotspotData&&u.hotspotData.length&&(c.desktop=u),this.__hotspotGroups=c,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?N(Object(n),!0).forEach(function(t){(0,h.default)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):N(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},this.__hotspotGroups)}},{key:"componentDidMount",value:function(){this._placeAriaAttrsInOpenContainer(),M.default.init(14),document.addEventListener("textzoom",this._setZoomCSS),this._setZoomCSS()}},{key:"componentWillUnmount",value:function(){document.removeEventListener("textzoom",this._setZoomCSS)}},{key:"render",value:function(){var e,t=this,n=this.constructor,r=this.hotspotGroups,a=this.props,o=this.state,i=n.className,l=o.asset,u=void 0===l?{}:l,c=o.hasZoomedText,d=o.useDisclosureBarState,f=a.bottomButtonArr,p=a.contentBox,m=a.context,h=a.disclosureTextArr,g=a.isLazy,A=a.isUserPaused,k=a.hotspotStyle,M=a.lpos,D=a.openContainer,L=a.theme,N=a.onLoad,I=a.countdownPanel,B=a.isInCarousel,R=a.fullWidthDesktop,z=a.useDisclosureBar,H=a.disclosureBarLayout,W=a.disclosureTextAlignment,U=a.disclosureTextLineWidth,G=a.userGeoData,V=a.geoData,q=a.dynamicContentLoader,Y=a.dynamicOfferFormat,X=a.shouldFetchDynamicOffer,J=a.isFamilyShot,Z=a.setStylesOnCountdownPhaseChange,K=a.cdpPanelConfig,$=void 0===K?{}:K,Q=a.panelIndex,ee=a.setHeroClassNames,te=(0,b.finalGeoTargetResult)({geoData:V},G),ne=$.imagePosition,re=$.isMediaServerEnabled,ae=$.vehicleOfInterestImg,oe=O.default.getScreenSizeState().screen,ie=Array.isArray(h)?h.map(function(e){return null===e||void 0===e?"":e.toString()}).filter(function(e){return""!==e}).join("<br />"):"",le=ne&&function(e){var t={};switch(e){case"desktop":t=ne.lg;break;case"tablet":t=ne.md;break;case"phablet":t=ne.sm;break;case"mobile":t=ne.xs;break;default:t=ne.lg}var n=t&&!t.width,r=t&&t.width&&isNaN(parseInt(t.width,10));return(n||r)&&delete t.width,t}(oe),se=p.length>0&&p.map(function(e){var t=["left-half","right-half"].indexOf(e.position)>-1?"50%":e.width,n=!J||!X,r=e.context&&n?e.context:m&&n?m:"",a=e.tabletWidth?e.tabletWidth:e.width?e.width:"",o="";if(e&&e.customBackground){var i=e.customBackground,l=i.red,s=i.green,u=i.blue,c=i.alpha,d=c>=60?c:60;o="rgba(".concat(l,",").concat(s,",").concat(u,",").concat(d/100,")")}return Object.assign({},e,{width:t},{componentContext:r},{tabletWidth:a},{style:o})}),ue=J&&X;return u.mediaType?e=Object.keys(r).length?v.default.createElement(P.default,{reference:this._setDisplayMediaRef,asset:u,hotspotStyle:k,hotspotGroups:r,isLazy:g,isUserPaused:A,lpos:M,onLoad:N,useDisclosureBar:z,disclosureBarLayout:H,disclosureTextAlignment:W,disclosureTextLineWidth:U}):v.default.createElement(S.default,(0,s.default)({reference:this._setDisplayMediaRef},u,{isLazy:g,onLoad:N,isUserPaused:A,isInCarousel:B,useDisclosureBar:d,disclosureBarLayout:H,disclosureTextAlignment:W,disclosureTextLineWidth:U})):u.activeVideo&&(e=v.default.createElement(w.default,{activeVideo:Object.assign({},u.activeVideo,{onLoad:N}),isLazy:g,segment:u.segment,isInCarousel:B,useDisclosureBar:d,disclosureBarLayout:H,disclosureTextAlignment:W,disclosureTextLineWidth:U})),te?v.default.createElement("div",{className:(0,y.default)(i,"gcss-theme-".concat(o.theme),"sdp-grid hero-wrapper",{"open-hero-panel__has-zoomed-text":c,fluid:R}),"data-fe-id":"OpenHeroPanel"},e&&v.default.createElement("div",{className:"open-hero-panel-background"},e,re&&ae&&v.default.createElement("div",{className:"dynamic-img-overlay",style:le},v.default.createElement(j.default,(0,s.default)({},ae,{isLazy:!1})))),D&&v.default.createElement("div",{className:"open-hero-panel-content"},v.default.createElement("div",{id:this.__contentWrapperId,className:"content-wrapper",ref:function(e){t.__openContainerEl=e}},D)),I&&v.default.createElement(E.default,(0,s.default)({},I,{theme:L,setOpenHeroImage:this._setOpenHeroImage,contentWrapperId:this.__contentWrapperId,setHeroClassNames:ee,setStylesOnCountdownPhaseChange:Z})),q&&F,Array.isArray(se)&&se.length>0&&se.map(function(e,n){!(Array.isArray(e.elements)&&e.elements.some(function(e){return"Incentive"===e.component}))&&t.setContentBoxClassNameFn("content-box--visible");var r=!!e.elements.length;return v.default.createElement("div",{className:(0,y.default)("open-hero-panel-content authored-content",{"below-asset":"below-asset"===e.position,"align-mobile-below-asset":"below-asset"===e.positionMobile})},r&&v.default.createElement("div",{id:"".concat(t.__contentWrapperId,"-").concat(n),className:"content-wrapper"},v.default.createElement("div",{className:(0,y.default)("content-box",t.state.contentBoxClassName,"mobile-".concat(t._getMobileAlignment(e)),t._getContentBoxPosition(e.position),t._getContentBoxPositionMobile(e.positionMobile),e.textAlignment,t._getContentBoxWidth(e.width),t._getContentBoxTabletWidth(e.tabletWidth),{"mobile-overlay-full-width":"top-center"===e.positionMobile&&e.background},{"desktop-overlay-full-width":"top-center"===e.position&&e.background&&"100%"===e.width},{"tablet-custom-overlay-width":"top-center"===e.position&&e.background&&("80%"===e.tabletWidth||"100%"===e.tabletWidth)},{overlay:e.background}),ref:t.descriptioncontainerwrapper,style:{backgroundColor:e.style}},Array.isArray(e.elements)&&e.elements.map(function(r,a){return r.component&&""!==r.component&&v.default.createElement(T.default,(0,s.default)({theme:L,alignment:e.textAlignment,mobileAlignment:t._getMobileAlignment(e),context:e.componentContext,htmlIdPrefix:"".concat(t.__contentWrapperId,"-").concat(n),dynamicOfferFormat:Y,shouldFetchDynamicOffer:X,isFamilyShot:J,index:a,setContentBoxClassFn:t.setContentBoxClassNameFn,panelIndex:Q},r))}))))}),(ie||f)&&v.default.createElement("div",{className:(0,y.default)("open-hero-panel-bottom-bar",z&&"is-disclosure-bar")},ie&&z?v.default.createElement(_.default,{children:ie,disclosureTextAlignment:W,disclosureTextLineWidth:U}):v.default.createElement("div",{className:"open-hero-panel-bottom-bar-disclosure"},v.default.createElement(x.default,{children:ie,disclosureType:"noBubble",theme:L})),Array.isArray(f)&&f.map(function(e){return v.default.createElement("div",{className:"open-hero-panel-bottom-bar-link"},v.default.createElement(C.default,(0,s.default)({},e,{priority:"tertiary",role:"link"},ue&&{donotTrack:"true"},{onClick:ue&&t._fireLinkTrack,a11yFeatures:{"aria-describedby":t.__contentWrapperId}})))}))):v.default.createElement(v.default.Fragment,null)}}]),n}(v.PureComponent),(0,h.default)(i,"className","open-hero-panel"),(0,h.default)(i,"whitelistRTFPropArr",["openContainer"]),o=l))||o;B.defaultProps={theme:"dark",fullWidthDesktop:!0,contentBox:{background:!1,position:"top-center",positionMobile:"top-center",textAlignment:"left",width:"50%"},isUserPaused:!1,isInCarousel:!1,useDisclosureBar:!1,disclosureBarLayout:"onImage",disclosureTextAlignment:"center",disclosureTextLineWidth:10,dynamicContentLoader:!1,isFamilyShot:!1};var R=B;t.default=R},"x0/2":function(e,t,n){"use strict";var r=n("SpGf"),a=n("b9XL");n("XwPX"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!=typeof e)return{default:e};var n=u(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=o?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(r,i,l):r[i]=e[i]}r.default=e,n&&n.set(e,r);return r}(n("1n8/")),i=r(n("+DI/")),l=r(n("AEfI")),s=r(n("YFa9"));function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(u=function(e){return e?n:t})(e)}var c=function(e){var t=e.children;return o.default.createElement(i.default,{className:"scaling-rail","data-fe-id":"ScalingRail"},o.default.createElement(l.default,null,o.Children.toArray(t).map(function(e){return o.default.createElement(s.default,null,e)})))};t.default=c},xYmU:function(e,t){},yaMd:function(e,t){},ytq2:function(e,t,n){"use strict";n("PSYM");var r,a=n("rhEq"),o=n("A8Ob"),i=n("6Yrj"),l=n("MVLi"),s=n("ZdKd"),u=n("ztZs"),c=n("pJoy"),d=n("j/yd"),f=n("aWUw"),p=n("ITnL"),m=n("FQEJ").codeAt,h=n("F0va"),v=n("kLCt"),g=n("CpgZ"),y=n("vLSK"),b=l.URL,O=g.URLSearchParams,P=g.getState,S=y.set,w=y.getterFor("URL"),x=Math.floor,_=Math.pow,C=/[A-Za-z]/,T=/[\d+\-.A-Za-z]/,E=/\d/,A=/^(0x|0X)/,k=/^[0-7]+$/,M=/^\d+$/,D=/^[\dA-Fa-f]+$/,j=/[\u0000\u0009\u000A\u000D #%/:?@[\\]]/,L=/[\u0000\u0009\u000A\u000D #/:?@[\\]]/,N=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,I=/[\u0009\u000A\u000D]/g,F=function(e,t){var n,r,a;if("["==t.charAt(0)){if("]"!=t.charAt(t.length-1))return"Invalid host";if(!(n=R(t.slice(1,-1))))return"Invalid host";e.host=n}else if(Y(e)){if(t=h(t),j.test(t))return"Invalid host";if(null===(n=B(t)))return"Invalid host";e.host=n}else{if(L.test(t))return"Invalid host";for(n="",r=p(t),a=0;a<r.length;a++)n+=V(r[a],H);e.host=n}},B=function(e){var t,n,r,a,o,i,l,s=e.split(".");if(s.length&&""==s[s.length-1]&&s.pop(),(t=s.length)>4)return e;for(n=[],r=0;r<t;r++){if(""==(a=s[r]))return e;if(o=10,a.length>1&&"0"==a.charAt(0)&&(o=A.test(a)?16:8,a=a.slice(8==o?1:2)),""===a)i=0;else{if(!(10==o?M:8==o?k:D).test(a))return e;i=parseInt(a,o)}n.push(i)}for(r=0;r<t;r++)if(i=n[r],r==t-1){if(i>=_(256,5-t))return null}else if(i>255)return null;for(l=n.pop(),r=0;r<n.length;r++)l+=n[r]*_(256,3-r);return l},R=function(e){var t,n,r,a,o,i,l,s=[0,0,0,0,0,0,0,0],u=0,c=null,d=0,f=function(){return e.charAt(d)};if(":"==f()){if(":"!=e.charAt(1))return;d+=2,c=++u}for(;f();){if(8==u)return;if(":"!=f()){for(t=n=0;n<4&&D.test(f());)t=16*t+parseInt(f(),16),d++,n++;if("."==f()){if(0==n)return;if(d-=n,u>6)return;for(r=0;f();){if(a=null,r>0){if(!("."==f()&&r<4))return;d++}if(!E.test(f()))return;for(;E.test(f());){if(o=parseInt(f(),10),null===a)a=o;else{if(0==a)return;a=10*a+o}if(a>255)return;d++}s[u]=256*s[u]+a,2!=++r&&4!=r||u++}if(4!=r)return;break}if(":"==f()){if(d++,!f())return}else if(f())return;s[u++]=t}else{if(null!==c)return;d++,c=++u}}if(null!==c)for(i=u-c,u=7;0!=u&&i>0;)l=s[u],s[u--]=s[c+i-1],s[c+--i]=l;else if(8!=u)return;return s},z=function(e){var t,n,r,a;if("number"==typeof e){for(t=[],n=0;n<4;n++)t.unshift(e%256),e=x(e/256);return t.join(".")}if("object"==typeof e){for(t="",r=function(e){for(var t=null,n=1,r=null,a=0,o=0;o<8;o++)0!==e[o]?(a>n&&(t=r,n=a),r=null,a=0):(null===r&&(r=o),++a);return a>n&&(t=r,n=a),t}(e),n=0;n<8;n++)a&&0===e[n]||(a&&(a=!1),r===n?(t+=n?":":"::",a=!0):(t+=e[n].toString(16),n<7&&(t+=":")));return"["+t+"]"}return e},H={},W=f({},H,{" ":1,'"':1,"<":1,">":1,"`":1}),U=f({},W,{"#":1,"?":1,"{":1,"}":1}),G=f({},U,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),V=function(e,t){var n=m(e,0);return n>32&&n<127&&!d(t,e)?e:encodeURIComponent(e)},q={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Y=function(e){return d(q,e.scheme)},X=function(e){return""!=e.username||""!=e.password},J=function(e){return!e.host||e.cannotBeABaseURL||"file"==e.scheme},Z=function(e,t){var n;return 2==e.length&&C.test(e.charAt(0))&&(":"==(n=e.charAt(1))||!t&&"|"==n)},K=function(e){var t;return e.length>1&&Z(e.slice(0,2))&&(2==e.length||"/"===(t=e.charAt(2))||"\\"===t||"?"===t||"#"===t)},$=function(e){var t=e.path,n=t.length;!n||"file"==e.scheme&&1==n&&Z(t[0],!0)||t.pop()},Q=function(e){return"."===e||"%2e"===e.toLowerCase()},ee={},te={},ne={},re={},ae={},oe={},ie={},le={},se={},ue={},ce={},de={},fe={},pe={},me={},he={},ve={},ge={},ye={},be={},Oe={},Pe=function(e,t,n,a){var o,i,l,s,u,c=n||ee,f=0,m="",h=!1,v=!1,g=!1;for(n||(e.scheme="",e.username="",e.password="",e.host=null,e.port=null,e.path=[],e.query=null,e.fragment=null,e.cannotBeABaseURL=!1,t=t.replace(N,"")),t=t.replace(I,""),o=p(t);f<=o.length;){switch(i=o[f],c){case ee:if(!i||!C.test(i)){if(n)return"Invalid scheme";c=ne;continue}m+=i.toLowerCase(),c=te;break;case te:if(i&&(T.test(i)||"+"==i||"-"==i||"."==i))m+=i.toLowerCase();else{if(":"!=i){if(n)return"Invalid scheme";m="",c=ne,f=0;continue}if(n&&(Y(e)!=d(q,m)||"file"==m&&(X(e)||null!==e.port)||"file"==e.scheme&&!e.host))return;if(e.scheme=m,n)return void(Y(e)&&q[e.scheme]==e.port&&(e.port=null));m="","file"==e.scheme?c=pe:Y(e)&&a&&a.scheme==e.scheme?c=re:Y(e)?c=le:"/"==o[f+1]?(c=ae,f++):(e.cannotBeABaseURL=!0,e.path.push(""),c=ye)}break;case ne:if(!a||a.cannotBeABaseURL&&"#"!=i)return"Invalid scheme";if(a.cannotBeABaseURL&&"#"==i){e.scheme=a.scheme,e.path=a.path.slice(),e.query=a.query,e.fragment="",e.cannotBeABaseURL=!0,c=Oe;break}c="file"==a.scheme?pe:oe;continue;case re:if("/"!=i||"/"!=o[f+1]){c=oe;continue}c=se,f++;break;case ae:if("/"==i){c=ue;break}c=ge;continue;case oe:if(e.scheme=a.scheme,i==r)e.username=a.username,e.password=a.password,e.host=a.host,e.port=a.port,e.path=a.path.slice(),e.query=a.query;else if("/"==i||"\\"==i&&Y(e))c=ie;else if("?"==i)e.username=a.username,e.password=a.password,e.host=a.host,e.port=a.port,e.path=a.path.slice(),e.query="",c=be;else{if("#"!=i){e.username=a.username,e.password=a.password,e.host=a.host,e.port=a.port,e.path=a.path.slice(),e.path.pop(),c=ge;continue}e.username=a.username,e.password=a.password,e.host=a.host,e.port=a.port,e.path=a.path.slice(),e.query=a.query,e.fragment="",c=Oe}break;case ie:if(!Y(e)||"/"!=i&&"\\"!=i){if("/"!=i){e.username=a.username,e.password=a.password,e.host=a.host,e.port=a.port,c=ge;continue}c=ue}else c=se;break;case le:if(c=se,"/"!=i||"/"!=m.charAt(f+1))continue;f++;break;case se:if("/"!=i&&"\\"!=i){c=ue;continue}break;case ue:if("@"==i){h&&(m="%40"+m),h=!0,l=p(m);for(var y=0;y<l.length;y++){var b=l[y];if(":"!=b||g){var O=V(b,G);g?e.password+=O:e.username+=O}else g=!0}m=""}else if(i==r||"/"==i||"?"==i||"#"==i||"\\"==i&&Y(e)){if(h&&""==m)return"Invalid authority";f-=p(m).length+1,m="",c=ce}else m+=i;break;case ce:case de:if(n&&"file"==e.scheme){c=he;continue}if(":"!=i||v){if(i==r||"/"==i||"?"==i||"#"==i||"\\"==i&&Y(e)){if(Y(e)&&""==m)return"Invalid host";if(n&&""==m&&(X(e)||null!==e.port))return;if(s=F(e,m))return s;if(m="",c=ve,n)return;continue}"["==i?v=!0:"]"==i&&(v=!1),m+=i}else{if(""==m)return"Invalid host";if(s=F(e,m))return s;if(m="",c=fe,n==de)return}break;case fe:if(!E.test(i)){if(i==r||"/"==i||"?"==i||"#"==i||"\\"==i&&Y(e)||n){if(""!=m){var P=parseInt(m,10);if(P>65535)return"Invalid port";e.port=Y(e)&&P===q[e.scheme]?null:P,m=""}if(n)return;c=ve;continue}return"Invalid port"}m+=i;break;case pe:if(e.scheme="file","/"==i||"\\"==i)c=me;else{if(!a||"file"!=a.scheme){c=ge;continue}if(i==r)e.host=a.host,e.path=a.path.slice(),e.query=a.query;else if("?"==i)e.host=a.host,e.path=a.path.slice(),e.query="",c=be;else{if("#"!=i){K(o.slice(f).join(""))||(e.host=a.host,e.path=a.path.slice(),$(e)),c=ge;continue}e.host=a.host,e.path=a.path.slice(),e.query=a.query,e.fragment="",c=Oe}}break;case me:if("/"==i||"\\"==i){c=he;break}a&&"file"==a.scheme&&!K(o.slice(f).join(""))&&(Z(a.path[0],!0)?e.path.push(a.path[0]):e.host=a.host),c=ge;continue;case he:if(i==r||"/"==i||"\\"==i||"?"==i||"#"==i){if(!n&&Z(m))c=ge;else if(""==m){if(e.host="",n)return;c=ve}else{if(s=F(e,m))return s;if("localhost"==e.host&&(e.host=""),n)return;m="",c=ve}continue}m+=i;break;case ve:if(Y(e)){if(c=ge,"/"!=i&&"\\"!=i)continue}else if(n||"?"!=i)if(n||"#"!=i){if(i!=r&&(c=ge,"/"!=i))continue}else e.fragment="",c=Oe;else e.query="",c=be;break;case ge:if(i==r||"/"==i||"\\"==i&&Y(e)||!n&&("?"==i||"#"==i)){if(".."===(u=(u=m).toLowerCase())||"%2e."===u||".%2e"===u||"%2e%2e"===u?($(e),"/"==i||"\\"==i&&Y(e)||e.path.push("")):Q(m)?"/"==i||"\\"==i&&Y(e)||e.path.push(""):("file"==e.scheme&&!e.path.length&&Z(m)&&(e.host&&(e.host=""),m=m.charAt(0)+":"),e.path.push(m)),m="","file"==e.scheme&&(i==r||"?"==i||"#"==i))for(;e.path.length>1&&""===e.path[0];)e.path.shift();"?"==i?(e.query="",c=be):"#"==i&&(e.fragment="",c=Oe)}else m+=V(i,U);break;case ye:"?"==i?(e.query="",c=be):"#"==i?(e.fragment="",c=Oe):i!=r&&(e.path[0]+=V(i,H));break;case be:n||"#"!=i?i!=r&&("'"==i&&Y(e)?e.query+="%27":e.query+="#"==i?"%23":V(i,H)):(e.fragment="",c=Oe);break;case Oe:i!=r&&(e.fragment+=V(i,W))}f++}},Se=function(e){var t,n,r=c(this,Se,"URL"),a=arguments.length>1?arguments[1]:void 0,i=String(e),l=S(r,{type:"URL"});if(void 0!==a)if(a instanceof Se)t=w(a);else if(n=Pe(t={},String(a)))throw TypeError(n);if(n=Pe(l,i,null,t))throw TypeError(n);var s=l.searchParams=new O,u=P(s);u.updateSearchParams(l.query),u.updateURL=function(){l.query=String(s)||null},o||(r.href=xe.call(r),r.origin=_e.call(r),r.protocol=Ce.call(r),r.username=Te.call(r),r.password=Ee.call(r),r.host=Ae.call(r),r.hostname=ke.call(r),r.port=Me.call(r),r.pathname=De.call(r),r.search=je.call(r),r.searchParams=Le.call(r),r.hash=Ne.call(r))},we=Se.prototype,xe=function(){var e=w(this),t=e.scheme,n=e.username,r=e.password,a=e.host,o=e.port,i=e.path,l=e.query,s=e.fragment,u=t+":";return null!==a?(u+="//",X(e)&&(u+=n+(r?":"+r:"")+"@"),u+=z(a),null!==o&&(u+=":"+o)):"file"==t&&(u+="//"),u+=e.cannotBeABaseURL?i[0]:i.length?"/"+i.join("/"):"",null!==l&&(u+="?"+l),null!==s&&(u+="#"+s),u},_e=function(){var e=w(this),t=e.scheme,n=e.port;if("blob"==t)try{return new URL(t.path[0]).origin}catch(e){return"null"}return"file"!=t&&Y(e)?t+"://"+z(e.host)+(null!==n?":"+n:""):"null"},Ce=function(){return w(this).scheme+":"},Te=function(){return w(this).username},Ee=function(){return w(this).password},Ae=function(){var e=w(this),t=e.host,n=e.port;return null===t?"":null===n?z(t):z(t)+":"+n},ke=function(){var e=w(this).host;return null===e?"":z(e)},Me=function(){var e=w(this).port;return null===e?"":String(e)},De=function(){var e=w(this),t=e.path;return e.cannotBeABaseURL?t[0]:t.length?"/"+t.join("/"):""},je=function(){var e=w(this).query;return e?"?"+e:""},Le=function(){return w(this).searchParams},Ne=function(){var e=w(this).fragment;return e?"#"+e:""},Ie=function(e,t){return{get:e,set:t,configurable:!0,enumerable:!0}};if(o&&s(we,{href:Ie(xe,function(e){var t=w(this),n=String(e),r=Pe(t,n);if(r)throw TypeError(r);P(t.searchParams).updateSearchParams(t.query)}),origin:Ie(_e),protocol:Ie(Ce,function(e){var t=w(this);Pe(t,String(e)+":",ee)}),username:Ie(Te,function(e){var t=w(this),n=p(String(e));if(!J(t)){t.username="";for(var r=0;r<n.length;r++)t.username+=V(n[r],G)}}),password:Ie(Ee,function(e){var t=w(this),n=p(String(e));if(!J(t)){t.password="";for(var r=0;r<n.length;r++)t.password+=V(n[r],G)}}),host:Ie(Ae,function(e){var t=w(this);t.cannotBeABaseURL||Pe(t,String(e),ce)}),hostname:Ie(ke,function(e){var t=w(this);t.cannotBeABaseURL||Pe(t,String(e),de)}),port:Ie(Me,function(e){var t=w(this);J(t)||(""==(e=String(e))?t.port=null:Pe(t,e,fe))}),pathname:Ie(De,function(e){var t=w(this);t.cannotBeABaseURL||(t.path=[],Pe(t,e+"",ve))}),search:Ie(je,function(e){var t=w(this);""==(e=String(e))?t.query=null:("?"==e.charAt(0)&&(e=e.slice(1)),t.query="",Pe(t,e,be)),P(t.searchParams).updateSearchParams(t.query)}),searchParams:Ie(Le),hash:Ie(Ne,function(e){var t=w(this);""!=(e=String(e))?("#"==e.charAt(0)&&(e=e.slice(1)),t.fragment="",Pe(t,e,Oe)):t.fragment=null})}),u(we,"toJSON",function(){return xe.call(this)},{enumerable:!0}),u(we,"toString",function(){return xe.call(this)},{enumerable:!0}),b){var Fe=b.createObjectURL,Be=b.revokeObjectURL;Fe&&u(Se,"createObjectURL",function(e){return Fe.apply(b,arguments)}),Be&&u(Se,"revokeObjectURL",function(e){return Be.apply(b,arguments)})}v(Se,"URL"),a({global:!0,forced:!i,sham:!o},{URL:Se})},ytuC:function(e,t){},"z/WC":function(e,t){},z1LO:function(e,t,n){"use strict";var r=n("SpGf"),a=n("b9XL");n("1nHC"),n("XwPX"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!=typeof e)return{default:e};var n=s(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=o?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(r,i,l):r[i]=e[i]}r.default=e,n&&n.set(e,r);return r}(n("1n8/")),i=r(n("9qb7")),l=n("JUHb");function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(s=function(e){return e?n:t})(e)}n("UggW");var u=[9,0,1,2,3,4,5,6,7,8,9],c=[5,0,1,2,3,4,5],d=function(e){var t=e.segment,n=e.unit,r="tens"===n&&"hours"!==t?c:u;return o.default.createElement(o.default.Fragment,null,r.map(function(e,r){return o.default.createElement("span",{key:"".concat(t,"-").concat(n,"-").concat(r),className:(0,i.default)("digit")},e)}))},f=function(e){var t=e.segment,n=e.unit;return o.default.createElement("div",{className:(0,i.default)("time-part",t,n)},o.default.createElement("div",{className:(0,i.default)("digit-wrapper")},o.default.createElement(d,e)))},p=function(e){var t=e.timerLabelTextStyle,n=e.timerLabelPaddingTop,r=e.segment,a=r.toLowerCase();return o.default.createElement("div",{className:(0,i.default)("time-wrapper")},o.default.createElement("div",{className:(0,i.default)("time-part-wrapper")},o.default.createElement(f,{segment:a,unit:"tens"}),o.default.createElement(f,{segment:a,unit:"ones"})),o.default.createElement("div",{className:(0,i.default)("timer-label",t,n)},r))},m=function(e){var t=e.finishTimer,n=e.countDownTimerTextStyle,r=e.timerLabelTextStyle,a=e.timerLabelPaddingTop,s=e.timerSeparator,u=e.clientServerTimeDiff,c=(0,l.getRemainingTime)(t,u).remainingTime,d=null,f=o.default.createElement("span",{className:"colon"===s?"timer-colon":"timer-pipe"});return(0,o.useEffect)(function(){var e=c>0?c:0;d.querySelector(".hours.tens .digit-wrapper").style.animationDelay="".concat(e%36e4-359999,"s"),d.querySelector(".hours.ones .digit-wrapper").style.animationDelay="".concat(e%36e3-35999,"s"),d.querySelector(".minutes.tens .digit-wrapper").style.animationDelay="".concat(e%3600-3599,"s"),d.querySelector(".minutes.ones .digit-wrapper").style.animationDelay="".concat(e%600-599,"s"),d.querySelector(".seconds.tens .digit-wrapper").style.animationDelay="".concat(e%60-59,"s"),d.querySelector(".seconds.ones .digit-wrapper").style.animationDelay="".concat(e%10-9,"s")},[]),o.default.createElement("div",{ref:function(e){d=e},className:(0,i.default)("timer-wrapper",n)},o.default.createElement(p,{timerLabelTextStyle:r,timerLabelPaddingTop:a,segment:"Hours"}),f,o.default.createElement(p,{timerLabelTextStyle:r,timerLabelPaddingTop:a,segment:"Minutes"}),f,o.default.createElement(p,{timerLabelTextStyle:r,timerLabelPaddingTop:a,segment:"Seconds"}))};m.defaultProps={timerSeparator:"pipe",countDownTimerTextStyle:"gcss-typography-brand-heading-bigger-1",timerLabelTextStyle:"gcss-typography-brand-heading-bigger-2"};var h=m;t.default=h},zRDo:function(e,t,n){"use strict";var r=n("SpGf"),a=n("b9XL");n("diqY"),n("LYOo"),n("1nHC"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,i=r(n("3dLy")),l=r(n("b9XL")),s=r(n("0fcM")),u=r(n("P8NW")),c=r(n("E7HD")),d=r(n("d4H2")),f=r(n("0421")),p=r(n("UJE0")),m=r(n("IxO8")),h=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!=typeof e)return{default:e};var n=w(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=o?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(r,i,l):r[i]=e[i]}r.default=e,n&&n.set(e,r);return r}(n("1n8/")),v=r(n("9qb7")),g=r(n("6G51")),y=r(n("2tAt")),b=n("pjdA"),O=r(n("YFa9")),P=r(n("w8c5")),S=r(n("AmE+"));function w(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(w=function(e){return e?n:t})(e)}function x(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=(0,p.default)(e);if(t){var a=(0,p.default)(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return(0,f.default)(this,n)}}n("z/WC");var _=(0,g.default)(o=(0,y.default)(o=function(e){(0,d.default)(n,e);var t=x(n);function n(){var e;(0,s.default)(this,n);for(var r=arguments.length,a=new Array(r),o=0;o<r;o++)a[o]=arguments[o];return e=t.call.apply(t,[this].concat(a)),(0,m.default)((0,c.default)(e),"state",{}),(0,m.default)((0,c.default)(e),"_alignContent",function(){var t=e.props,n=t.contentBoxBodyProps,r=t.alignment,a=n.keyStat||n.badgeData,o=n.incentives||n.description||n.msrp;return n&&(a||o)?r:"center"}),e}return(0,u.default)(n,[{key:"getRichTextString",value:function(e,t){return"object"===(0,l.default)(e)?e:(0,b.getString)(e,t)}},{key:"render",value:function(){var e=this.props,t=this.getRichTextString,n=e.theme,r=e.logoAlt,a=e.contentBoxBodyProps,o=e.titleHeadingLevel,l=e.preTitleHeadingLevel,s=e.preTitleStyle,u=e.titleStyle,c=e.postTitleStyle,d=e.layout,f=e.background,p=e.customBackground,m=e.lpos,g=e.alignment,y=(e.hideVehicleTrims,e.preTitle),b=void 0===y?"":y,w=e.logo,x=void 0===w?"":w,_=e.title,C=void 0===_?"":_,T=e.postTitle,E=void 0===T?"":T,A="wide"===d?"6":"4",k=u,M="";b=t(b,!0),x=t(x,!0),C=t(C,!0),E=t(E,!0);var D="wide"===d?"7":"4",j=a&&a.buttons&&a.buttons.length?"has-buttons":"",L=this.state.desktop,N=!!(x||b||C||E),I=L?g:N?this._alignContent():"center",F=x?"logo-toggle":"",B="h".concat(o),R=l?"h".concat(l):"p";if(L&&p){var z=p.red,H=p.green,W=p.blue,U=p.alpha,G=U>=60?U:60;M="rgba(".concat(z,",").concat(H,",").concat(W,",").concat(G/100,")")}return"tablet"===this.state.screen?A="12":"phablet"!==this.state.screen&&"mobile"!==this.state.screen||(A="6"),(this.state.phablet||this.state.mobile)&&("gcss-typography-brand-heading-6"===u||"gcss-typography-brand-heading-5"===u)&&(k="gcss-typography-brand-heading-4"),h.default.createElement(O.default,{lg:D,md:A,sm:A,xs:A},h.default.createElement("div",{className:(0,v.default)("content-overlay","gcss-theme-".concat(n),"background-".concat(f),"align-".concat(I),"".concat(F),j),style:{backgroundColor:M}},N&&h.default.createElement("div",{className:"content-overlay-details"},x&&h.default.createElement(O.default,{lg:5,md:2,sm:2,xs:2,className:(0,v.default)("logo","".concat(I)),flush:!0},h.default.createElement(S.default,{xs:x,sm:x,md:x,lg:x,alt:r})),h.default.createElement(R,{className:(0,v.default)("pre-title",s)},b),h.default.createElement(B,{className:(0,v.default)("title",k)},C),h.default.createElement("p",{className:(0,v.default)("postTitle",c)},E)),a&&h.default.createElement("div",{className:"content-body-wrapper"},h.default.createElement(P.default,(0,i.default)({},a,{theme:n,lpos:m,alignment:I,hideVehicleTrims:!0})))))}}]),n}(h.Component))||o)||o;_.defaultProps={theme:"dark",preTitleStyle:"gcss-typography-label-5",titleStyle:"gcss-typography-brand-heading-3",postTitleStyle:"gcss-typography-label-5",background:"none",alignment:"left",titleHeadingLevel:"2",preTitleHeadingLevel:"3"};var C=_;t.default=C}});