1"use strict";(self.webpackChunkaem_maven_archetype=self.webpackChunkaem_maven_archetype||[]).push([["components-immersivecard-immersivecard-js","components-immersivehero-immersiveheroUtils-js","components-retailerlocatorv2-dealercards-ListDealer-js"],{1237:function(e,t,n){n.d(t,{A:function(){return c}});var r=n(12285);function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,u(r.key),r)}}function a(e,t,n){return(t=u(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(e){var t=function(e,t){if("object"!=i(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=i(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==i(t)?t:t+""}var c=function(){return e=function e(t){var n,r,i,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),a(this,"container",void 0),a(this,"options",void 0),!(t instanceof HTMLElement))throw new Error("Container must be a HTMLElement");this.container=t,this.options={textContent:null!==(n=o.textContent)&&void 0!==n?n:"",elementType:null!==(r=o.elementType)&&void 0!==r?r:"span",className:null!==(i=o.className)&&void 0!==i?i:""},this.render()},(t=[{key:"render",value:function(){var e=(0,r.Kp)(this.options.elementType,["DxLozenge",this.options.className]);e.textContent=this.options.textContent,this.container.appendChild(e)}}])&&o(e.prototype,t),n&&o(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,n}()},33689:function(e,t,n){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,a(r.key),r)}}function o(e,t,n){return(t=a(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e){var t=function(e,t){if("object"!=r(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!=r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==r(t)?t:t+""}n.d(t,{W:function(){return u}});var u=function(){return e=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),o(this,"_element",void 0),o(this,"_keyMap",void 0),o(this,"_keyDownHandler",void 0),this._element=t,this._keyMap=n,this._keyDownHandler=this._onKeyDown.bind(this),this._element.addEventListener("keydown",this._keyDownHandler)},(t=[{key:"_onKeyDown",value:function(e){var t=this._keyMap[e.key];t&&(e.preventDefault(),t(e))}},{key:"setKeyMap",value:function(e){this._keyMap=e}},{key:"destroy",value:function(){this._element.removeEventListener("keydown",this._keyDownHandler)}}])&&i(e.prototype,t),n&&i(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,n}()},60374:function(e,t,n){function r(e){return-(Math.cos(Math.PI*e)-1)/2}function i(e,t,n){return e+(t-e)*n}n.d(t,{Cc:function(){return i},J4:function(){return h},ME:function(){return r},Yo:function(){return b},m1:function(){return v},xc:function(){return y}});var o,a,u,c,l,s,f,p,m,d,v=(l=1-(u=3*(o=.4))-(c=3*(.2-o)-u),p=1-(s=3*(a=0))-(f=3*(1-a)-s),m=function(e){return((l*e+c)*e+u)*e},d=function(e){return(3*l*e+2*c)*e+u},function(e){return t=function(e){for(var t=e,n=0;n<8;n+=1){var r=m(t)-e;if(Math.abs(r)<1e-6)return t;var i=d(t);if(Math.abs(i)<1e-6)break;t-=r/i}var o=0,a=1;t=e;for(var u=0;u<20;u+=1){var c=m(t)-e;if(Math.abs(c)<1e-6)return t;c>0?a=t:o=t,t=(o+a)/2}return t}(e),((p*t+f)*t+s)*t;var t});function h(e){var t=0,n=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:100)/(1e3/60),r=function(){t<n?(t++,requestAnimationFrame(r)):e()};requestAnimationFrame(r)}function y(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).timeoutMs,n=void 0===t?2500:t;return new Promise(function(t){var r,i=!1,o=function(){i||(i=!0,e.removeEventListener("transitionend",r),t())};r=function(t){t.target===e&&o()},e.addEventListener("transitionend",r),window.setTimeout(o,n)})}function b(e){requestAnimationFrame(function(){requestAnimationFrame(e)})}},78527:function(e,t,n){function r(){return/^((?!chrome|android).)*safari/i.test(navigator.userAgent)}n.d(t,{$$:function(){return l},$B:function(){return m},Bl:function(){return o},Ik:function(){return f},LO:function(){return i},Oe:function(){return d},Ws:function(){return p},e_:function(){return u},nr:function(){return r},p6:function(){return a},tV:function(){return s},wU:function(){return c}});var i={mobile:375,tablet:768,desktopExtraSmall:900,desktopSmall:1024,desktop:1280,desktopLarge:1460,desktopMediumLarge:1680,desktopExtraLarge:1920};function o(e,t){var n=window.getComputedStyle(e).scrollSnapAlign;if("none"===n||!n)return null;var r,i,o=window.getComputedStyle(t),a=parseFloat(o.paddingLeft)||0,u=parseFloat(o.paddingRight)||0,c=t.offsetWidth-a-u;if(e.offsetParent===t)r=e.offsetLeft;else try{var l=e.getBoundingClientRect(),s=t.getBoundingClientRect();r=l.left-s.left+t.scrollLeft-a}catch(t){r=e.offsetLeft}switch(n){case"start":i=r;break;case"center":i=r+e.offsetWidth/2-c/2;break;case"end":i=r+e.offsetWidth-c;break;default:return null}return Math.round(i)}function a(e,t){var n=Math.max(0,e.scrollWidth-e.clientWidth),r=t.map(function(t,r){var i=o(t,e);return null===i?null:{position:Math.max(0,Math.min(i,n)),element:t,index:r}}).filter(function(e){return null!==e}).sort(function(e,t){return e.position-t.position});return 0===n&&r.length>0?[r[0]]:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return e.reduce(function(e,n){var r=e[e.length-1];return(!r||Math.abs(n.position-r.position)>t)&&e.push(n),e},[])}(r)}function u(e,t){var n=e.scrollLeft,r=null,i=1/0;return t.forEach(function(t){var a=o(t,e);if(null!==a){var u=Math.abs(n-a);u<i&&(i=u,r=a)}}),r}function c(e){return window.matchMedia(function(e){return"(min-width: ".concat(e,"px)")}(e))}function l(){return c(i.tablet).matches}function s(){return c(i.desktop).matches}function f(){return c(i.desktopLarge).matches}function p(){return window.matchMedia("(max-width: ".concat(i.desktopSmall,"px)")).matches}function m(){return window.matchMedia("(max-width: ".concat(i.tablet,"px)")).matches}function d(){return window.matchMedia("(prefers-reduced-motion: reduce)").matches}},11968:function(e,t,n){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,u=[],c=!0,l=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;
1!(c=(r=o.call(n)).done)&&(u.push(r.value),u.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw i}}return u}}(e,t)||function(e,t){if(e){if("string"==typeof e)return o(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=document.createElement(e);return t.forEach(function(e){null!=e&&e.length&&r.classList.add(e)}),Object.entries(n).forEach(function(e){var t=i(e,2),n=t[0],o=t[1];if(null!=n&&n.length){var a=n.split(/(?=[A-Z])/g),u=a.length>0?a.join("-").toLowerCase():n;r.setAttribute(u,o)}}),r}function u(e){if("object"!==r(e)||!e)return!1;var t=e;if("function"!=typeof t.constructor)return!1;var n=t.constructor.name;return!("string"!=typeof n||!n.startsWith("HTML")||!n.endsWith("Element"))}function c(e){var t=e.getBoundingClientRect();return t.top<=(window.innerHeight||document.documentElement.clientHeight)&&t.left<=(window.innerWidth||document.documentElement.clientWidth)&&t.bottom>=0&&t.right>=0}n.d(t,{Kp:function(){return a},YG:function(){return c},sb:function(){return u}})},12285:function(e,t,n){n.d(t,{Kp:function(){return i.Kp},h:function(){return u},J4:function(){return r.J4},ME:function(){return r.ME},YG:function(){return i.YG},sb:function(){return i.sb},Yo:function(){return r.Yo},xc:function(){return r.xc}});var r=n(60374),i=n(11968);var o=function(){},a={debug:o,info:o,warn:o,error:o},u=function(e){return a}},53642:function(e,t,n){function r(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){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach(function(t){o(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function o(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=a(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=a(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==a(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function u(e,t){var n=null;return function(){for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];var a=this;null!==n&&clearTimeout(n),n=setTimeout(function(){n=null,e.apply(a,i)},t)}}function c(e){return new Promise(function(t){return setTimeout(t,e)})}function l(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"horizontal";return new Promise(function(i){var o,a=e===window,u="horizontal"===r?"scrollLeft":"scrollTop";o=a?"horizontal"===r?window.scrollX:window.scrollY:e[u];var c=function(t){if(a){var n="horizontal"===r?t:window.scrollX,i="vertical"===r?t:window.scrollY;window.scrollTo({top:i,left:n,behavior:"smooth"})}else e[u]=t};if(n<=0)return c(t),i();var l=t-o,s=performance.now();var f=function(e){var t,r=e-s,a=Math.min(r/n,1),u=(t=a)<.5?2*t*t:(4-2*t)*t-1;c(o+l*u),a<1?requestAnimationFrame(f):i()};requestAnimationFrame(f)})}function s(e,t){var n=null,r=function(){n&&clearTimeout(n),n=window.setTimeout(function(){e.removeEventListener("scroll",r),t()},100)};e.addEventListener("scroll",r)}function f(e){return null!==e&&"object"===a(e)&&!Array.isArray(e)&&"[object Object]"===Object.prototype.toString.call(e)}function p(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];if(!n.length)return i({},e);var o=i({},e),a=n.shift();if(f(o)&&f(a))for(var u in a)if(Object.prototype.hasOwnProperty.call(a,u)){var c=a[u];f(c)&&f(o[u])?o[u]=p(o[u],c):o[u]=c}return p.apply(void 0,[o].concat(n))}function m(e){return e.replace(/<\/?[^>]+(>|$)/g,"")}function d(e,t,n){return e<t?t:e>n?n:e}n.d(t,{$J:function(){return m},$N:function(){return p},BD:function(){return l},IJ:function(){return s},cb:function(){return c},qE:function(){return d},sg:function(){return u}})},23242:function(e,t,n){n.r(t),n.d(t,{default:function(){return h}});var r=n(1237),i=n(78527),o=n(53642),a=n(33689),u=n(34283);function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function l(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",i=n.toStringTag||"@@toStringTag";function o(n,r,i,o){var c=r&&r.prototype instanceof u?r:u,l=Object.create(c.prototype);return s(l,"_invoke",function(n,r,i){var o,u,c,l=0,s=i||[],f=!1,p={p:0,n:0,v:e,a:m,f:m.bind(e,4),d:function(t,n){return o=t,u=0,c=e,p.n=n,a}};function m(n,r){for(u=n,c=r,t=0;!f&&l&&!i&&t<s.length;t++){var i,o=s[t],m=p.p,d=o[2];n>3?(i=d===r)&&(c=o[(u=o[4])?5:(u=3,3)],o[4]=o[5]=e):o[0]<=m&&((i=n<2&&m<
1o[1])?(u=0,p.v=r,p.n=o[1]):m<d&&(i=n<3||o[0]>r||r>d)&&(o[4]=n,o[5]=r,p.n=d,u=0))}if(i||n>1)return a;throw f=!0,r}return function(i,s,d){if(l>1)throw TypeError("Generator is already running");for(f&&1===s&&m(s,d),u=s,c=d;(t=u<2?e:c)||!f;){o||(u?u<3?(u>1&&(p.n=-1),m(u,c)):p.n=c:p.v=c);try{if(l=2,o){if(u||(i="next"),t=o[i]){if(!(t=t.call(o,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,u<2&&(u=0)}else 1===u&&(t=o.return)&&t.call(o),u<2&&(c=TypeError("The iterator does not provide a '"+i+"' method"),u=1);o=e}else if((t=(f=p.n<0)?c:n.call(r,p))!==a)break}catch(t){o=e,u=1,c=t}finally{l=1}}return{value:t,done:f}}}(n,i,o),!0),l}var a={};function u(){}function c(){}function f(){}t=Object.getPrototypeOf;var p=[][r]?t(t([][r]())):(s(t={},r,function(){return this}),t),m=f.prototype=u.prototype=Object.create(p);function d(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,f):(e.__proto__=f,s(e,i,"GeneratorFunction")),e.prototype=Object.create(m),e}return c.prototype=f,s(m,"constructor",f),s(f,"constructor",c),c.displayName="GeneratorFunction",s(f,i,"GeneratorFunction"),s(m),s(m,i,"Generator"),s(m,r,function(){return this}),s(m,"toString",function(){return"[object Generator]"}),(l=function(){return{w:o,m:d}})()}function s(e,t,n,r){var i=Object.defineProperty;try{i({},"",{})}catch(e){i=0}s=function(e,t,n,r){if(t)i?i(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n;else{var o=function(t,n){s(e,t,function(e){return this._invoke(t,n,e)})};o("next",0),o("throw",1),o("return",2)}},s(e,t,n,r)}function f(e,t,n,r,i,o,a){try{var u=e[o](a),c=u.value}catch(e){return void n(e)}u.done?t(c):Promise.resolve(c).then(r,i)}function p(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var o=e.apply(t,n);function a(e){f(o,r,i,a,u,"next",e)}function u(e){f(o,r,i,a,u,"throw",e)}a(void 0)})}}function m(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,v(r.key),r)}}function d(e,t,n){return(t=v(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function v(e){var t=function(e,t){if("object"!=c(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=c(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==c(t)?t:t+""}var h=function(){return e=function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),d(this,"element",void 0),d(this,"imageWrapper",void 0),d(this,"analytics",u.j.init("immersivecard")),d(this,"openStateType",null),d(this,"intersectionObserver",null),this.element=t,this.imageWrapper=this.element.querySelector(".ImmersiveCard__image-wrapper"),this.init()},t=[{key:"init",value:function(){var e,t;
1this.setupLozenge(),this.openStateType=null!==(e=null===(t=this.imageWrapper)||void 0===t?void 0:t.getAttribute("data-open-state-type"))&&void 0!==e?e:null,"content"===this.openStateType&&(this.setupExpansionPanel(),this.setupKeyboardAccessibility(),this.setupTabAccessibility())}},{key:"setupLozenge",value:function(){var e=this.element.querySelector(".ImmersiveCard__lozenge");if(e){var t=e.textContent||"";e.innerHTML="",new r.A(e,{textContent:t})}}},{key:"setupExpansionPanel",value:function(){var e,t=this;null===(e=this.imageWrapper)||void 0===e||e.addEventListener("click",this.handleOnExpandClicked.bind(this)),this.element.querySelectorAll(".ImmersiveCard__close-button").forEach(function(e){return e.addEventListener("click",t.handleOnCloseClicked.bind(t))});var n=this.element.querySelector(".ImmersiveCard__panel-content-wrapper");n&&this.element.style.setProperty("--immersive-card-content-height",n.clientHeight+"px")}},{key:"setupKeyboardAccessibility",value:function(){var e=this;this.imageWrapper&&(this.imageWrapper.setAttribute("tabindex","0"),this.imageWrapper.setAttribute("role","button"),this.imageWrapper.setAttribute("aria-expanded","false"),new a.W(this.imageWrapper,{Enter:function(){return e.handleOnExpandClicked()}," ":function(){return e.handleOnExpandClicked()}}))}},{key:"setupTabAccessibility",value:function(){this.setDetailsPanelTabAccessibility(!1)}},{key:"setDetailsPanelTabAccessibility",value:function(e){var t=this.element.querySelector(".ImmersiveCard__details-panel");t&&(t.setAttribute("aria-hidden",(!e).toString()),t.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])').forEach(function(t){t.setAttribute("tabindex",e?"0":"-1")}))}},{key:"handleOnCloseClicked",value:function(e){e.stopPropagation(),this.element.classList.remove("ImmersiveCard--expanded"),this.manageFocusOnCollapse()}},{key:"manageFocusOnCollapse",value:function(){var e,t,n;null===(e=this.imageWrapper)||void 0===e||e.setAttribute("aria-expanded","false"),null===(t=this.imageWrapper)||void 0===t||t.setAttribute("tabindex","0"),this.setDetailsPanelTabAccessibility(!1),this.cleanupAutoCollapse(),null===(n=this.imageWrapper)||void 0===n||n.focus({preventScroll:!0})}},{key:"handleOnExpandClicked",value:(s=p(l().m(function e(){var t;return l().w(function(e){for(;;)switch(e.n){case 0:if(!(t=this.element.closest(".ScrollingContainer"))){e.n=1;break}return this.handleOnExpandInScrollingContainer(t),e.a(2);case 1:this.element.classList.toggle("ImmersiveCard--expanded",!0),this.manageFocusOnExpand();case 2:return e.a(2)}},e,this)})),function(){return s.apply(this,arguments)})},{key:"manageFocusOnExpand",value:function(){if(this.element.classList.contains("ImmersiveCard--expanded")){var e,t;null===(e=this.imageWrapper)||void 0===e||e.setAttribute("aria-expanded","true"),null===(t=this.imageWrapper)||void 0===t||t.setAttribute("tabindex","-1"),this.setDetailsPanelTabAccessibility(!0),this.setupAutoCollapse();var n=this.element.querySelector(".ImmersiveCard__details-panel .ImmersiveCard__close-button");null==n||n.focus({preventScroll:!0})}}},{key:"handleOnExpandInScrollingContainer",value:(c=p(l().m(function e(t){var n,r,a,u,c=this;return l().w(function(e){for(;;)switch(e.n){case 0:if(n=t.querySelector(".ScrollingContainer__scroll-area")){e.n=1;break}return e.a(2);case 1:if(!this.element.classList.contains("ImmersiveCard--expanded")){e.n=2;break}return e.a(2);case 2:if(!(r=n.querySelectorAll(".ImmersiveCard--expanded")).length){e.n=3;break}return r.forEach(function(e){return e.classList.remove("ImmersiveCard--expanded")}),e.n=3,(0,o.cb)(350);case 3:if(a=this.element.closest(".ScrollingContainer__scroll-item")){e.n=4;break}return e.a(2);case 4:if(u=(0,i.Bl)(a,n),n.style.scrollSnapType="none",n.classList.add("ScrollingContainer__scroll-area--is-animating"),null!==u){e.n=5;break}return e.a(2);case 5:(0,o.BD)(n,u,300).then(function(){n.style.scrollSnapType="",n.classList.remove("ScrollingContainer__scroll-area--is-animating"),c.element.classList.toggle("ImmersiveCard--expanded",!0),c.element.addEventListener("transitionend",c.manageFocusOnExpand.bind(c),{once:!0})});case 6:return e.a(2)}},e,this)})),function(e){return c.apply(this,arguments)})},{key:"setupAutoCollapse",value:function(){var e=this;if((0,i.Ws)()){var t=this.element.closest(".ScrollingContainer");t&&t.querySelector(".ScrollingContainer__scroll-area")&&(this.intersectionObserver=new IntersectionObserver(function(t){return e.handleVisibilityChange(t)}
1,{root:t,rootMargin:"0px",threshold:.5}),this.intersectionObserver.observe(this.element))}}},{key:"cleanupAutoCollapse",value:function(){this.intersectionObserver&&(this.intersectionObserver.disconnect(),this.intersectionObserver=null)}},{key:"handleVisibilityChange",value:function(e){var t=this;e.forEach(function(e){t.element.classList.contains("ImmersiveCard--expanded")&&!e.isIntersecting&&e.intersectionRatio<.5&&(t.element.classList.remove("ImmersiveCard--expanded"),t.manageFocusOnCollapse())})}}],t&&m(e.prototype,t),n&&m(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,n,c,s}()}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.