1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["accordion.n6hro5nn6hihkoas.js","index.cz83wh4sws6slzdm.js","accordion.b9gu3pstwn3tjmx1.css","article-detail.f3xu4jnimjpfhlm3.css","articlelist-filter.l7mw1opu5wu90map.js","articlelist-filter.lpdd7pqi18srbu1t.css","bikes-recall.lv14jld79ogx648f.js","bikes-recall.hqx2ery57u42hdah.css","bike-specifications-2-finance-calculator.lkefohb1ymprfdoj.js","bike-specifications-compare.e4qpq8tj8gc678bt.js","bike-specifications-compare.h3gp3lsu8qcbe0pa.css","bike-specifications-visualiser.mez5887a559y7pw4.js","bike-specifications-visualiser.lujxfimpezxs1li9.css","brochure.gdsfizj98n4cx6wn.css","controls.hlqs8udkq2rqqmh1.js","controls.mdkocx64q55txfod.css","dealer-page.nsdade5vlu5r2en5.js","dealer-page.j0rmxwnoisy51oqn.css","feature-icon.g0hfrgteopszosj6.css","featured-article.jztrk605e42q5crp.css","feefo.hu700bj4sex6rby6.js","feefo-template.gtt8oisukmrhee1q.js","feefo.gsm04bivq3zv26by.css","find-a-dealer.hhcjnfqzvx9m0j4b.js","find-a-dealer.op6jl0vobpm25hl3.css","find-your-bike.f3la0lw6iqawdjk2.js","find-your-bike.ix2h6j4wkj3cyi64.css","grid-debug.mbm1c0ypmgilxq34.css","map.jryi3924nxs6lr2z.js","map.eirmtt5zecy2ffex.css","lottie.i2l8byjhfv1sjj4y.js","lottie.lrcgpj7mtwc5yjcm.css","performance.mb0wn7ve0nfxgs70.css","product-card-container.gkew9e6655a2da6l.css","range.iw6llvp8d87uil1x.js","range.egmm3i10lwpirx3a.css","related-articles.l1qkvvh7xkdvqmz4.css","social-share.neh22oqcokexlmxs.js","social-share.nhzhf3ay11w1k4sh.css","sound-sample.fh8oxx7l62hx4gd9.js","sound-sample.pb2qyhgftgh8bvg1.css","table.g77tg58dqd1zes27.js","table.ou0t5c8bt9k2oumu.css","technology-card.cqpqd9m0t2d8xb04.js","technology-card.fwd0sllboo23drau.css","technology-list.cyxx5fqje581bf0r.css","three-sixty-exterior.bkk2cknenszxuzuc.js","three-sixty-exterior.ixvu15ak2zze2fwd.css","three-sixty-interior.k9fqha5btfvhd5zl.js","three-sixty-interior.f5dqqgqps8map5n2.css","three-sixty-motorcycle.l10pprjbfco6rk0v.js","three-sixty-motorcycle.k2ldjd8v8pqo55hd.css","three-sixty-swatches.vaf5dqocspzkw7wg.js","three-sixty-swatches.df2bn0ayw78vb6t5.css","voting-card.fvqtbe0f81lfzcpl.js","voting-card.jomerht9saje32ik.css","voting-list.nb63rmeuh5gbftbr.js","voting-list.jpdhvzv429ctjdch.css","dialog-elements.k3vlfw8oc5kbw8wy.js","dialog-elements.lls9878kqtfo1yd4.css","accordion.analytics.m7bj34xghqyqlbss.js","abstract-analytics-component.bg8qcnhkz
1k0bauy1.js","ctas.analytics.dljqraorh3koh3yr.js","hero.analytics.jyraxf3rq794winn.js","info-banner.analytics.o41xlp90sb691m98.js","list.analytics.hqxfodo28q4urn7x.js","product-card-container.analytics.hho8u84muzag67gv.js","range.analytics.lenm2i3rjyfe3rnx.js","sound-sample.analytics.krkbw3qjpaymxcpx.js","tabs.analytics.z74j5i7ffhpc6upp.js","text.analytics.n2o2fsxx5ip40mxy.js","video-sample.analytics.kltgknrc3e3j7ma5.js","voting-card.analytics.jzlntw349orqp2c5.js","voting-list.analytics.8kix4fvg4r8qnere.js"])))=>i.map(i=>d[i]); 2var e,t,n=Object.defineProperty,s=Object.defineProperties,i=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable,r=(e,t,s)=>t in e?n(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,c=(e,t,n)=>r(e,"symbol"!=typeof t?t+"":t,n),d=(e,t,n)=>new Promise((s,i)=>{var a=e=>{try{l(n.next(e))}catch(t){i(t)}},o=e=>{try{l(n.throw(e))}catch(t){i(t)}},l=e=>e.done?s(e.value):Promise.resolve(e.value).then(a,o);l((n=n.apply(e,t)).next())});import{r as h,_ as u,c as m,g as p,p as f,i as v,B as g,m as y,o as E,a as b,G as L,b as _,t as w,s as S,d as A,h as k,e as T,f as I,j as P,k as x,l as C,u as V,n as O,q as D}from"./index.cz83wh4sws6slzdm.js";var M="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function R(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var F,H={exports:{}};function z(){return F||(F=1,e=H,t="undefined"!=typeof window?window:{},n=function(e,t,n){var s,i;if(function(){var t,n={lazyClass:"lazyload",loadedClass:"lazyloaded",loadingClass:"lazyloading",preloadClass:"lazypreload",errorClass:"lazyerror",autosizesClass:"lazyautosizes",fastLoadedClass:"ls-is-cached",iframeLoadMode:0,srcAttr:"data-src",srcsetAttr:"data-srcset",sizesAttr:"data-sizes",minSize:40,customMedia:{},init:!0,expFactor:1.5,hFac:.8,loadMode:2,loadHidden:!0,ricTimeout:0,throttleDelay:125};for(t in i=e.lazySizesConfig||e.lazysizesConfig||{},n)t in i||(i[t]=n[t])}(),!t||!t.getElementsByClassName)return{init:function(){},cfg:i,noSupport:!0};var a,o,l,r,c,d,h,u,m,p,f,v,g,y,E,b,L,_,w,S,A,k,T,I,P,x,C,V,O,D,M,R,F,H,z,N,B,j,$,W,K,U,q,Y,G,X=t.documentElement,J=e.HTMLPictureElement,Q="addEventListener",Z="getAttribute",ee=e[Q].bind(e),te=e.setTimeout,ne=e.requestAnimationFrame||te,se=e.requestIdleCallback,ie=/^picture$/i,ae=["load","error","lazyincluded","_lazyloaded"],oe={},le=Array.prototype.forEach,re=function(e,t){return oe[t]||(oe[t]=new RegExp("(\\s|^)"+t+"(\\s|$)")),oe[t].test(e[Z]("class")||"")&&oe[t]},ce=function(e,t){re(e,t)||e.setAttribute("class",(e[Z]("class")||"").trim()+" "+t)},de=function(e,t){var n;(n=re(e,t))&&e.setAttribute("class",(e[Z]("class")||"").replace(n," "))},he=function(e,t,n){var s=n?Q:"removeEventListener";n&&he(e,t),ae.forEach(function(n){e[s](n,t)})},ue=function(e,n,i,a,o){var l=t.createEvent("Event");return i||(i={}),i.instance=s,l.initEvent(n,!a,!o),l.detail=i,e.dispatchEvent(l),l},me=function(t,n){var s;!J&&(s=e.picturefill||i.pf)?(n&&n.src&&!t[Z]("srcset")&&t.setAttribute("srcset",n.src),s({reevaluate:!0,elements:[t]})):n&&n.src&&(t.src=n.src)},pe=function(e,t){return(getComputedStyle(e,null)||{})[t]},fe=function(e,t,n){for(n=n||e.offsetWidth;n<i.minSize&&t&&!e._lazysizesWidth;)n=t.offsetWidth,t=t.parentNode;return n},ve=(U=[],q=K=[],Y=function(){var e=q;for(q=K.length?U:K,$=!0,W=!1;e.length;)e.shift()();$=!1},G=function(e,n){$&&!n?e.apply(this,arguments):(q.push(e),W||(W=!0,(t.hidden?te:ne)(Y)))},G._lsFlush=Y,G),ge=function(e,t){return t?function(){ve(e)}:function(){var t=this,n=arguments;ve(function(){e.apply(t,n)})}},ye=function(e){var t,s=0,a=i.throttleDelay,o=i.ricTimeout,l=function(){t=!1,s=n.now(),e()},r=se&&o>49?function(){se(l,{timeout:o}),o!==i.ricTimeout&&(o=i.ricTimeout)}:ge(function(){te(l)},!0);return function(e){var i;(e=!0===e)&&(o=33),t||(t=!0,(i=a-(n.now()-s))<0&&(i=0),e||i<9?r():te(r,i))}},Ee=function(e){var t,s,i=99,a=function(){t=null,e()},o=function(){var e=n.now()-s;e<i?te(o,i-e):(se||a)(a)};return function(){s=n.now(),t||(t=te(o,i))}},be=(L=/^img$/i,_=/^iframe$/i,w="onscroll"in e&&!/(gle|ing)bot/.test(navigator.userAgent),S=0,A=0,k=0,T=-1,I=function(e){k--,(!e||k<0||!e.target)&&(k=0)},P=function(e){return null==b&&(b="hidden"==pe(t.body,"visibility")),b||!("hidden"==pe(e.parentNode,"visibility")&&"hidden"==pe(e,"visibility"))},x=function(e,n){var s,i=e,a=P(e);for(v-=n,E+=n,g-=n,y+=n;a&&(i=i.offsetParent)&&i!=t.body&&i!=X;)(a=(pe(i,"opacity")||1)>0)&&"visible"!=pe(i,"overflow")&&(s=i.getBoundingClientRect(),a=y>s.left&&g<s.right&&E>s.top-1&&v<s.bottom+1);return a},V=ye(C=function(){var e,n,a,o,l,r,h,m,L,_,I,C,V=s.elements;if((u=i.loadMode)&&k<8&&(e=V.length)){for(n=0,T++;n<e;n++)if(V[n]&&!V[n]._lazyRace)if(!w||s.prematureUnveil&&s.prematureUnveil(V[n]))z(V[n]);else if((m=V[n][Z]("data-expand"))&&(r=1*m)||(r=A),_||(_=!i.expand||i.expand<1?X.clientHeight>500&&X.clientWidth>500?500:370:i.expand,s._defEx=_,I=_*i.expFactor,C=i.hFac,b=null,A<I&&k<1&&T>2&&u>2&&!t.hidden?(A=I,T=0):A=u>1&&T>1&&k<6?_:S),L!==r&&(p=innerWidth+r*C,f=innerHeight+r,h=-1*r,L=r),a=V[n].getBoundingClientRect(),(E=a.bottom)>=h&&(v=a.top)<=f&&(y=a.right)>
2=h*C&&(g=a.left)<=p&&(E||y||g||v)&&(i.loadHidden||P(V[n]))&&(d&&k<3&&!m&&(u<3||T<4)||x(V[n],r))){if(z(V[n]),l=!0,k>9)break}else!l&&d&&!o&&k<4&&T<4&&u>2&&(c[0]||i.preloadAfterLoad)&&(c[0]||!m&&(E||y||g||v||"auto"!=V[n][Z](i.sizesAttr)))&&(o=c[0]||V[n]);o&&!l&&z(o)}}),D=ge(O=function(e){var t=e.target;t._lazyCache?delete t._lazyCache:(I(e),ce(t,i.loadedClass),de(t,i.loadingClass),he(t,M),ue(t,"lazyloaded"))}),M=function(e){D({target:e.target})},R=function(e,t){var n=e.getAttribute("data-load-mode")||i.iframeLoadMode;0==n?e.contentWindow.location.replace(t):1==n&&(e.src=t)},F=function(e){var t,n=e[Z](i.srcsetAttr);(t=i.customMedia[e[Z]("data-media")||e[Z]("media")])&&e.setAttribute("media",t),n&&e.setAttribute("srcset",n)},H=ge(function(e,t,n,s,a){var o,l,r,c,d,u;(d=ue(e,"lazybeforeunveil",t)).defaultPrevented||(s&&(n?ce(e,i.autosizesClass):e.setAttribute("sizes",s)),l=e[Z](i.srcsetAttr),o=e[Z](i.srcAttr),a&&(c=(r=e.parentNode)&&ie.test(r.nodeName||"")),u=t.firesLoad||"src"in e&&(l||o||c),d={target:e},ce(e,i.loadingClass),u&&(clearTimeout(h),h=te(I,2500),he(e,M,!0)),c&&le.call(r.getElementsByTagName("source"),F),l?e.setAttribute("srcset",l):o&&!c&&(_.test(e.nodeName)?R(e,o):e.src=o),a&&(l||c)&&me(e,{src:o})),e._lazyRace&&delete e._lazyRace,de(e,i.lazyClass),ve(function(){var t=e.complete&&e.naturalWidth>1;u&&!t||(t&&ce(e,i.fastLoadedClass),O(d),e._lazyCache=!0,te(function(){"_lazyCache"in e&&delete e._lazyCache},9)),"lazy"==e.loading&&k--},!0)}),z=function(e){if(!e._lazyRace){var t,n=L.test(e.nodeName),s=n&&(e[Z](i.sizesAttr)||e[Z]("sizes")),a="auto"==s;(!a&&d||!n||!e[Z]("src")&&!e.srcset||e.complete||re(e,i.errorClass)||!re(e,i.lazyClass))&&(t=ue(e,"lazyunveilread").detail,a&&Le.updateElem(e,!0,e.offsetWidth),e._lazyRace=!0,k++,H(e,t,a,s,n))}},N=Ee(function(){i.loadMode=3,V()}),j=function(){d||(n.now()-m<999?te(j,999):(d=!0,i.loadMode=3,V(),ee("scroll",B,!0)))},{_:function(){m=n.now(),s.elements=t.getElementsByClassName(i.lazyClass),c=t.getElementsByClassName(i.lazyClass+" "+i.preloadClass),ee("scroll",V,!0),ee("resize",V,!0),ee("pageshow",function(e){if(e.persisted){var n=t.querySelectorAll("."+i.loadingClass);n.length&&n.forEach&&ne(function(){n.forEach(function(e){e.complete&&z(e)})})}}),e.MutationObserver?new MutationObserver(V).observe(X,{childList:!0,subtree:!0,attributes:!0}):(X[Q]("DOMNodeInserted",V,!0),X[Q]("DOMAttrModified",V,!0),setInterval(V,999)),ee("hashchange",V,!0),["focus","mouseover","click","load","transitionend","animationend"].forEach(function(e){t[Q](e,V,!0)}),/d$|^c/.test(t.readyState)?j():(ee("load",j),t[Q]("DOMContentLoaded",V),te(j,2e4)),s.elements.length?(C(),ve._lsFlush()):V()},checkElems:V,unveil:z,_aLSL:B=function(){3==i.loadMode&&(i.loadMode=2),N()}}),Le=(o=ge(function(e,t,n,s){var i,a,o;if(e._lazysizesWidth=s,s+="px",e.setAttribute("sizes",s),ie.test(t.nodeName||""))for(a=0,o=(i=t.getElementsByTagName("source")).length;a<o;a++)i[a].setAttribute("sizes",s);n.detail.dataAttr||me(e,n.detail)}),l=function(e,t,n){var s,i=e.parentNode;i&&(n=fe(e,i,n),(s=ue(e,"lazybeforesizes",{width:n,dataAttr:!!t})).defaultPrevented||(n=s.detail.width)&&n!==e._lazysizesWidth&&o(e,i,s,n))},{_:function(){a=t.getElementsByClassName(i.autosizesClass),ee("resize",r)},checkElems:r=Ee(function(){var e,t=a.length;if(t)for(e=0;e<t;e++)l(a[e])}),updateElem:l}),_e=function(){!_e.i&&t.getElementsByClassName&&(_e.i=!0,Le._(),be._())};return te(function(){i.init&&_e()}),s={cfg:i,autoSizer:Le,loader:be,init:_e,uP:me,aC:ce,rC:de,hC:re,fire:ue,gW:fe,rAF:ve}}(t,t.document,Date),t.lazySizes=n,e.exports&&(e.exports=n)),H.exports;var e,t,n}const N=R(z());var B,j,$={exports:{}};function W(e,t,n={}){const{days:s,path:i="/",domain:a,secure:o,sameSite:l="Lax"}=n;let r=`${encodeURIComponent(e)}=${encodeURIComponent(t)}`;if(s){const e=new Date;e.setTime(e.getTime()+24*s*60*60*1e3),r+=`; expires=${e.toUTCString()}`}r+=`; path=${i}`,a&&(r+=`; domain=${a}`),o&&(r+="; secure"),r+=`; SameSite=${l}`,document.cookie=r}function K(e,t={}){var n;W(e,"",(n=((e,t)=>{for(var n in t||(t={}))o.call(t,n)&&r(e,n,t[n]);if(a)for(var n of a(t))l.call(t,n)&&r(e,n,t[n]);return e})({},t),s(n,i({days:-1}))))}B||(B=1,j=$,function(e,t){if(e){var n=function(){t(e.lazySizes),e.removeEventListener("lazyunveilread",n,!0)};t=t.bind(null,e,e.document),j.exports?t(z()):e.lazySizes?n():e.addEventListener("lazyunveilread",n,!0)}}("undefined"!=typeof window?window:0,function(e,t,n){if(e.addEventListener){var s=/\s+(\d+)(w|h)\s+(\d+)(w|h)/,i=/parent-fit["']*\s*:\s*["']*(contain|cover|width)/,a=/parent-container["']*\s*:\s*["']*(.+?)(?=(\s|$|,|'|"|;))/,o=/^picture$/i,l=n.cfg,r={getParent:function(t,n){var s=t,i=t.parentNode;return n&&"prev"!=n||!i||!o.test(i.nodeName||"")||(i=i.parentNode),"self"!=n&&(s="prev"==n?t.previousElementSibling:n&&(i.closest||e.jQuery)&&(i.closest?i.closest(n):jQuery(i).closest(n)[0])||i),s},getFit:function(e){var t,n,s=getComputedStyle(e,null)||{},o=s.content||s.fontFamily,l={fit:e._lazysizesParentFit||e.getAttribute("data-parent-fit")};return!l.fit&&o&&(t=o.match(i))&&(l.fit=t[1]),l.fit?(!(n=e._lazysizesParentContainer||e.getAttribute("data-parent-container"))&&o&&(t=o.match(a))&&(n=t[1]),l.parent=r.getParent(e,n)):l.fit=s.objectFit,l},getImageRatio:function(t){var n,i,a,r,c,d,h,u=t.parentNode,m=u&&o.test(u.nodeName||"")?u.querySelectorAll("source, img"):[t];for(n=0;n<m.length;n++)if(i=(t=m[n]).getAttribute(l.srcsetAttr)||t.getAttribute("srcset")||t.getAttribute("data-pfsrcset")||t.getAttribute("data-risrcset")||"",a=t._lsMedia||t.getAttribute("media"),a=l.customMedia[t.getAttribute("data-media")||a]||a,i&&(!a||(e.matchMedia&&matchMedia(a)||{}).matches)){(r=parseFloat(t.getAttribute("data-aspectratio")))||((c=i.match(s))?"w"==c[2]?(d=c[1],h=c[3]):(d=c[3],h=c[1]):(d=t.getAttribute("width"),h=t.getAttribute("height")),r=d/h);break}return r},calculateSize:function(e,t){var n,s,i,a=this.getFit(e),o=a.fit,l=a.parent;return"width"==o||("contain"==o||"cover"==o)&&(s=this.getImageRatio(e))?(l?t=l.clientWidth:l=e,i=t,"width"==o?i=t:(n=t/l.clientHeight)&&("cover"==o&&n<s||"contain"==o&&n>s)&&(i=t*(s/n)),i):t}};n.parentFit=r,t.addEventListener("lazybeforesizes",function(e){if(!e.defaultPrevented&&e.detail.instance==n){var t=e.target;e.detail.width=r.calculateSize(t,e.detail.width)}})}}));class U{static has(e){return function(e){return document.cookie.split(";").some(t=>t.trim().startsWith(`${e}=`))}(e)}static get(e){return function(e){var t;const n=null==(t=document.cookie.split("; ").find(t=>t.startsWith(`${e}=`)))?void 0:t.split("=")[1];return n?decodeURIComponent(n):null}(e)}static set(e,t,n){W(e,t,n)}static delete(e,t){K(e,t)}}function q(e,t,n){return t&&function(e,t){for(var n=0;n<t.length;n++){var s=t[n];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(e,s.key,s)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}h('[data-hme-is="accordion"]',()=>u(()=>import("./accordion.n6hro5nn6hihkoas.js"),__vite__mapDeps([0,1])),()=>u(()=>Promise.resolve({}),__vite__mapDeps([2]))),h('[data-hme-is="article-detail"]',()=>u(()=>Promise.resolve({}),__vite__mapDeps([3]))),h('[data-hme-is="articlelist-filter"]',()=>u(()=>import("./articlelist-filter.l7mw1opu5wu90map.js"),__vite__mapDeps([4,1])),()=>u(()=>Promise.resolve({}),__vite__mapDeps([5]))),h('[data-hme-is="bikes-recall"]',()=>u(()=>
vendor: 18,954 bytes, line 2
2import("./bikes-recall.lv14jld79ogx648f.js"),__vite__mapDeps([6,1])),()=>u(()=>Promise.resolve({}),__vite__mapDeps([7]))),h('[data-hme-is="bike-specifications-2-finance-calculator"]',()=>u(()=>import("./bike-specifications-2-finance-calculator.lkefohb1ymprfdoj.js"),__vite__mapDeps([8,1]))),h('[data-hme-is="bike-specifications-compare"]',()=>u(()=>import("./bike-specifications-compare.e4qpq8tj8gc678bt.js"),__vite__mapDeps([9,1])),()=>u(()=>Promise.resolve({}),__vite__mapDeps([10]))),h('[data-hme-is="bike-specifications-visualiser"]',()=>u(()=>import("./bike-specifications-visualiser.mez5887a559y7pw4.js"),__vite__mapDeps([11,1])),()=>u(()=>Promise.resolve({}),__vite__mapDeps([12]))),h('[data-hme-is="brochure"]',void 0,()=>u(()=>Promise.resolve({}),__vite__mapDeps([13])));var Y="(prefers-reduced-motion: reduce)",G={CREATED:1,MOUNTED:2,IDLE:3,MOVING:4,SCROLLING:5,DRAGGING:6,DESTROYED:7};function X(e){e.length=0}function J(e,t,n){return Array.prototype.slice.call(e,t,n)}function Q(e){return e.bind.apply(e,[null].concat(J(arguments,1)))}var Z=setTimeout,ee=function(){};function te(e){return requestAnimationFrame(e)}function ne(e,t){return typeof t===e}function se(e){return!re(e)&&ne("object",e)}var ie=Array.isArray,ae=Q(ne,"function"),oe=Q(ne,"string"),le=Q(ne,"undefined");function re(e){return null===e}function ce(e){try{return e instanceof(e.ownerDocument.defaultView||window).HTMLElement}catch(t){return!1}}function de(e){return ie(e)?e:[e]}function he(e,t){de(e).forEach(t)}function ue(e,t){return e.indexOf(t)>-1}function me(e,t){return e.push.apply(e,de(t)),e}function pe(e,t,n){e&&he(t,function(t){t&&e.classList[n?"add":"remove"](t)})}function fe(e,t){pe(e,oe(t)?t.split(" "):t,!0)}function ve(e,t){he(t,e.appendChild.bind(e))}function ge(e,t){he(e,function(e){var n=(t||e).parentNode;n&&n.insertBefore(e,t)})}function ye(e,t){return ce(e)&&(e.msMatchesSelector||e.matches).call(e,t)}function Ee(e,t){var n=e?J(e.children):[];return t?n.filter(function(e){return ye(e,t)}):n}function be(e,t){return t?Ee(e,t)[0]:e.firstElementChild}var Le=Object.keys;function _e(e,t,n){return e&&(n?Le(e).reverse():Le(e)).forEach(function(n){"__proto__"!==n&&t(e[n],n)}),e}function we(e){return J(arguments,1).forEach(function(t){_e(t,function(n,s){e[s]=t[s]})}),e}function Se(e){return J(arguments,1).forEach(function(t){_e(t,function(t,n){ie(t)?e[n]=t.slice():se(t)?e[n]=Se({},se(e[n])?e[n]:{},t):e[n]=t})}),e}function Ae(e,t){he(t||Le(e),function(t){delete e[t]})}function ke(e,t){he(e,function(e){he(t,function(t){e&&e.removeAttribute(t)})})}function Te(e,t,n){se(t)?_e(t,function(t,n){Te(e,n,t)}):he(e,function(e){re(n)||""===n?ke(e,t):e.setAttribute(t,String(n))})}function Ie(e,t,n){var s=document.createElement(e);return t&&(oe(t)?fe(s,t):Te(s,t)),n&&ve(n,s),s}function Pe(e,t,n){if(le(n))return getComputedStyle(e)[t];re(n)||(e.style[t]=""+n)}function xe(e,t){Pe(e,"display",t)}function Ce(e){e.setActive&&e.setActive()||e.focus({preventScroll:!0})}function Ve(e,t){return e.getAttribute(t)}function Oe(e,t){return e&&e.classList.contains(t)}function De(e){return e.getBoundingClientRect()}function Me(e){he(e,function(e){e&&e.parentNode&&e.parentNode.removeChild(e)})}function Re(e){return be((new DOMParser).parseFromString(e,"text/html").body)}function Fe(e,t){e.preventDefault(),t&&(e.stopPropagation(),e.stopImmediatePropagation())}function He(e,t){return e&&e.querySelector(t)}function ze(e,t){return t?J(e.querySelectorAll(t)):[]}function Ne(e,t){pe(e,t,!1)}function Be(e){return e.timeStamp}function je(e){return oe(e)?e:e?e+"px":""}var $e="splide",We="data-"+$e;function Ke(e,t){if(!e)throw new Error("["+$e+"] "+(t||""))}var Ue=Math.min,qe=Math.max,Ye=Math.floor,Ge=Math.ceil,Xe=Math.abs;function Je(e,t,n){return Xe(e-t)<n}function Qe(e,t,n,s){var i=Ue(t,n),a=qe(t,n);return s?i<e&&e<a:i<=e&&e<=a}function Ze(e,t,n){var s=Ue(t,n),i=qe(t,n);return Ue(qe(s,e),i)}function et(e){return+(e>0)-+(e<0)}function tt(e,t){return he(t,function(t){e=e.replace("%s",""+t)}),e}function nt(e){return e<10?"0"+e:""+e}var st={};function it(){var e=[];function t(e,t,n){he(e,function(e){e&&he(t,function(t){t.split(" ").forEach(function(t){var s=t.split(".");n(e,s[0],s[1])})})})}return{bind:function(n,s,i,a){t(n,s,function(t,n,s){var o="addEventListener"in t,l=o?t.removeEventListener.bind(t,n,i,a):t.removeListener.bind(t,i);o?t.addEventListener(n,i,a):t.addListener(i),e.push([t,n,s,i,l])})},unbind:function(n,s,i){t(n,s,function(t,n,s){e=e.filter(function(e){return!!(e[0]!==t||e[1]!==n||e[2]!==s||i&&e[3]!==i)||(e[4](),!1)})})},dispatch:function(e,t,n){var s,i=!0;return"function"==typeof CustomEvent?s=new CustomEvent(t,{bubbles:i,detail:n}):(s=document.createEvent("CustomEvent")).initCustomEvent(t,i,!1,n),e.dispatchEvent(s),s},destroy:function(){e.forEach(function(e){e[4]()}),X(e)}}}var at="mounted",ot="ready",lt="move",rt="moved",ct="click",dt="active",ht="inactive",ut="visible",mt="hidden",pt="refresh",ft="updated",vt="resize",gt="resized",yt="scroll",Et="scrolled",bt="destroy",Lt="arrows:mounted",_t="navigation:mounted",wt="autoplay:play",St="autoplay:pause",At="lazyload:loaded",kt="sk",Tt="sh",It="ei";function Pt(e){var t=e?e.event.bus:document.createDocumentFragment(),n=it();return e&&e.event.on(bt,n.destroy),we(n,{bus:t,on:function(e,s){n.bind(t,de(e).join(" "),function(e){s.apply(s,ie(e.detail)?e.detail:[])})},off:Q(n.unbind,t),emit:function(e){n.dispatch(t,e,J(arguments,1))}})}function xt(e,t,n,s){var i,a,o=Date.now,l=0,r=!0,c=0;function d(){if(!r){if(l=e?Ue((o()-i)/e,1):1,n&&n(l),l>=1&&(t(),i=o(),s&&++c>=s))return h();a=te(d)}}function h(){r=!0}function u(){a&&cancelAnimationFrame(a),l=0,a=0,r=!0}return{start:function(t){t||u(),i=o()-(t?l*e:0),r=!1,a=te(d)},rewind:function(){i=o(),l=0,n&&n(l)},pause:h,cancel:u,set:function(t){e=t},isPaused:function(){return r}}}var Ct="Arrow",Vt=Ct+"Left",Ot=Ct+"Right",Dt=Ct+"Up",Mt=Ct+"Down",Rt="ttb",Ft={width:["height"],left:["top","right"],right:["bottom","left"],x:["y"],X:["Y"],Y:["X"],ArrowLeft:[Dt,Ot],ArrowRight:[Mt,Vt]};var Ht="role",zt="tabindex",Nt="aria-",Bt=Nt+"controls",jt=Nt+"current",$t=Nt+"selected",Wt=Nt+"label",Kt=Nt+"labelledby",Ut=Nt+"hidden",qt=Nt+"orientation",Yt=Nt+"roledescription",Gt=Nt+"live",Xt=Nt+"busy",Jt=Nt+"atomic",Qt=[Ht,zt,"disabled",Bt,jt,Wt,Kt,Ut,qt,Yt],Zt=$e+"__",en="is-",tn=$e,nn=Zt+"track",sn=Zt+"list",an=Zt+"slide",on=an+"--clone",ln=an+"__container",rn=Zt+"arrows",cn=Zt+"arrow",dn=cn+"--prev",hn=cn+"--next",un=Zt+"pagination",mn=un+"__page",pn=Zt+"progress"+"__bar",fn=Zt+"toggle",vn=Zt+"sr",gn=en+"initialized",yn=en+"active",En=en+"prev",bn=en+"next",Ln=en+"visible",_n=en+"loading",wn=en+"focus-in",Sn=en+"overflow",An=[yn,Ln,En,bn,_n,wn,Sn],kn={slide:an,clone:on,arrows:rn,arrow:cn,prev:dn,next:hn,pagination:un,page:mn,spinner:Zt+"spinner"};var Tn="touchstart mousedown",In="touchmove mousemove",Pn="touchend touchcancel mouseup click";var xn="slide",Cn="loop",Vn="fade";function On(e,t,n,s){var i,a=Pt(e),o=a.on,l=a.emit,r=a.bind,c=e.Components,d=e.root,h=e.options,u=h.isNavigation,m=h.updateOnMove,p=h.i18n,f=h.pagination,v=h.slideFocus,g=c.Direction.resolve,y=Ve(s,"style"),E=Ve(s,Wt),b=n>-1,L=be(s,"."+ln);function _(){var i=e.splides.map(function(e){var n=e.splide.Components.Slides.getAt(t);return n?n.slide.id:""}).join(" ");Te(s,Wt,tt(p.slideX,(b?n:t)+1)),Te(s,Bt,i),Te(s,Ht,v?"button":""),v&&ke(s,Yt)}function w(){i||S()}function S(){if(!i){var n=e.index;(a=A())!==Oe(s,yn)&&(pe(s,yn,a),Te(s,jt,u&&a||""),l(a?dt:ht,k)),function(){var t=function(){if(e.is(Vn))return A();var t=De(c.Elements.track),n=De(s),i=g("left",!0),a=g("right",!0);return Ye(t[i])<=Ge(n[i])&&Ye(n[a])<=Ge(t[a])}(),n=!t&&(!A()||b);e.state.is([4,5])||Te(s,Ut,n||"");Te(ze(s,h.focusableNodes||""),zt,n?-1:""),v&&Te(s,zt,n?-1:0);t!==Oe(s,Ln)&&(pe(s,Ln,t),l(t?ut:mt,k));if(!t&&document.activeElement===s){var i=c.Slides.getAt(e.index);i&&Ce(i.slide)}}(),pe(s,En,t===n-1),pe(s,bn,t===n+1)}var a}function A(){var s=e.index;return s===t||h.cloneStatus&&s===n}var k={index:t,slideIndex:n,slide:s,container:L,isClone:b,mount:function(){b||(s.id=d.id+"-slide"+nt(t+1),Te(s,Ht,f?"tabpanel":"group"),Te(s,Yt,p.slide),Te(s,Wt,E||tt(p.slideLabel,[t+1,e.length]))),r(s,"click",Q(l,ct,k)),r(s,"keydown",Q(l,kt,k)),o([rt,Tt,Et],S),o(_t,_),m&&o(lt,w)},destroy:function(){i=!0,a.destroy(),Ne(s,An),ke(s,Qt),Te(s,"style",y),Te(s,Wt,E||"")},update:S,style:function(e,t,n){Pe(n&&L||s,e,t)},isWithin:function(n,s){var i=Xe(n-t);return b||!h.rewind&&!e.is(Cn)||(i=Ue(i,e.length-i)),i<=s}};return k}var Dn=We+"-interval";var Mn={passive:!1,capture:!0};var Rn={Spacebar:" ",Right:Ot,Left:Vt,Up:Dt,Down:Mt};function Fn(e){return e=oe(e)?e:e.key,Rn[e]||e}var Hn="keydown";var zn=We+"-lazy",Nn=zn+"-srcset",Bn="["+zn+"], ["+Nn+"]";var jn=[" ","Enter"];var $n=Object.freeze({__proto__:null,Media:function(e,t,n){var s=e.state,i=n.breakpoints||{},a=n.reducedMotion||{},o=it(),l=[];function r(e){e&&o.destroy()}function c(e,t){var n=matchMedia(t);o.bind(n,"change",d),l.push([e,n])}function d(){var t=s.is(7),i=n.direction,a=l.reduce(function(e,t){return Se(e,t[1].matches?t[0]:{})},{});Ae(n),h(a),n.destroy?e.destroy("completely"===n.destroy):t?(r(!0),e.mount()):i!==n.direction&&e.refresh()}function h(t,i,a){Se(n,t),i&&Se(Object.getPrototypeOf(n),t),!a&&s.is(1)||e.emit(ft,n)}return{setup:function(){var e="min"===n.mediaQuery;Le(i).sort(function(t,n){return e?+t-+n:+n-+t}).forEach(function(t){c(i[t],"("+(e?"min":"max")+"-width:"+t+"px)")}),c(a,Y),d()},destroy:r,reduce:function(e){matchMedia(Y).matches&&(e?Se(n,a):Ae(n,Le(a)))},set:h}},Direction:function(e,t,n){return{resolve:function(e,t,s){var i="rtl"!==(s=s||n.direction)||t?s===Rt?0:-1:1;return Ft[e]&&Ft[e][i]||e.replace(/width|left|right/i,function(e,t){var n=Ft[e.toLowerCase()][i]||e;return t>0?n.charAt(0).toUpperCase()+n.slice(1):n})},orient:function(e){return e*("rtl"===n.direction?1:-1)}}},Elements:function(e,t,n){var s,i,a,o=Pt(e),l=o.on,r=o.bind,c=e.root,d=n.i18n,h={},u=[],m=[],p=[];function f(){s=y("."+nn),i=be(s,"."+sn),Ke(s&&i,"A track/list element is missing."),me(u,Ee(i,"."+an+":not(."+on+")")),_e({arrows:rn,pagination:un,prev:dn,next:hn,bar:pn,toggle:fn},function(e,t){h[t]=y("."+e)}),we(h,{root:c,track:s,list:i,slides:u}),function(){var e=c.id||(a=$e,""+a+nt(st[a]=(st[a]||0)+1)),t=n.role;var a;c.id=e,s.id=s.id||e+"-track",i.id=i.id||e+"-list",!Ve(c,Ht)&&"SECTION"!==c.tagName&&t&&Te(c,Ht,t);Te(c,Yt,d.carousel),Te(i,Ht,"presentation")}(),g()}function v(e){var t=Qt.concat("style");X(u),Ne(c,m),Ne(s,p),ke([s,i],t),ke(c,e?t:["style",Yt])}function g(){Ne(c,m),Ne(s,p),m=E(tn),p=E(nn),fe(c,m),fe(s,p),Te(c,Wt,n.label),Te(c,Kt,n.labelledby)}function y(e){var t=He(c,e);return t&&function(e,t){if(ae(e.closest))return e.closest(t);for(var n=e;n&&1===n.nodeType&&!ye(n,t);)n=n.parentElement;return n}(t,"."+tn)===c?t:void 0}function E(e){return[e+"--"+n.type,e+"--"+n.direction,n.drag&&e+"--draggable",n.isNavigation&&e+"--nav",e===tn&&yn]}return we(h,{setup:f,mount:function(){l(pt,v),l(pt,f),l(ft,g),r(document,Tn+" keydown",function(e){a="keydown"===e.type},{capture:!0}),r(c,"focusin",function(){pe(c,wn,!!a)})},destroy:v})},Slides:function(e,t,n){var s=Pt(e),i=s.on,a=s.emit,o=s.bind,l=t.Elements,r=l.slides,c=l.list,d=[];function h(){r.forEach(function(e,t){m(e,t,-1)})}function u(){f(function(e){e.destroy()}),X(d)}function m(t,n,s){var i=On(e,n,s,t);i.mount(),d.push(i),d.sort(function(e,t){return e.index-t.index})}function p(e){return e?v(function(e){return!e.isClone}):d}function f(e,t){p(t).forEach(e)}function v(e){return d.filter(ae(e)?e:function(t){return oe(e)?ye(t.slide,e):ue(de(e),t.index)})}return{mount:function(){h(),i(pt,u),i(pt,h)},destroy:u,update:function(){f(function(e){e.update()})},register:m,get:p,getIn:function(e){var s=t.Controller,i=s.toIndex(e),a=s.hasFocus()?1:n.perPage;return v(function(e){return Qe(e.index,i,i+a-1)})},getAt:function(e){return v(e)[0]},add:function(e,t){he(e,function(e){if(oe(e)&&(e=Re(e)),ce(e)){var s=r[t];s?ge(e,s):ve(c,e),fe(e,n.classes.slide),i=e,l=Q(a,vt),d=ze(i,"img"),(h=d.length)?d.forEach(function(e){o(e,"load error",function(){--h||l()})}):l()}var i,l,d,h}),a(pt)},remove:function(e){Me(v(e).map(function(e){return e.slide})),a(pt)},forEach:f,filter:v,style:function(e,t,n){f(function(s){s.style(e,t,n)})},getLength:function(e){return e?r.length:d.length},isEnough:function(){return d.length>n.perPage}}},Layout:function(e,t,n){var s,i,a,o=Pt(e),l=o.on,r=o.bind,c=o.emit,d=t.Slides,h=t.Direction.resolve,u=t.Elements,m=u.root,p=u.track,f=u.list,v=d.getAt,g=d.style;function y(){s=n.direction===Rt,Pe(m,"maxWidth",je(n.width)),Pe(p,h("paddingLeft"),b(!1)),Pe(p,h("paddingRight"),b(!0)),E(!0)}function E(e){var t=De(m);(e||i.width!==t.width||i.height!==t.height)&&(Pe(p,"height",function(){var e="";s&&(Ke(e=L(),"height or heightRatio is missing."),e="calc("+e+" - "+b(!1)+" - "+b(!0)+")");return e}()),g(h("marginRight"),je(n.gap)),g("width",n.autoWidth?null:je(n.fixedWidth)||(s?"":_())),g("height",je(n.fixedHeight)||(s?n.autoHeight?null:_():L()),!0),i=t,c(gt),a!==(a=I())&&(pe(m,Sn,a),c("overflow",a)))}function b(e){var t=n.padding,s=h(e?"right":"left");return t&&je(t[s]||(se(t)?0:t))||"0px"}function L(){return je(n.height||De(f).width*n.heightRatio)}function _(){var e=je(n.gap);return"calc((100%"+(e&&" + "+e)+")/"+(n.perPage||1)+(e&&" - "+e)+")"}function w(){return De(f)[h("width")]}function S(e,t){var n=v(e||0);return n?De(n.slide)[h("width")]+(t?0:T()):0}function A(e,t){var n=v(e);if(n){var s=De(n.slide)[h("right")],i=De(f)[h("left")];return Xe(s-i)+(t?0:T())}return 0}function k(t){return A(e.length-1)-A(0)+S(0,t)}function T(){var e=v(0);return e&&parseFloat(Pe(e.slide,h("marginRight")))||0}function I(){return e.is(Vn)||k(!0)>w()}return{mount:function(){var e,t;y(),r(window,"resize load",(e=Q(c,vt),t=xt(0,e,null,1),function(){t.isPaused()&&t.start()})),l([ft,pt],y),l(vt,E)},resize:E,listSize:w,slideSize:S,sliderSize:k,totalSize:A,getPadding:function(e){return parseFloat(Pe(p,h("padding"+(e?"Right":"Left"))))||0},isOverflow:I}},Clones:function(e,t,n){var s,i=Pt(e),a=i.on,o=t.Elements,l=t.Slides,r=t.Direction.resolve,c=[];function d(){a(pt,h),a([ft,vt],m),(s=p())&&(!function(t){var s=l.get().slice(),i=s.length;if(i){for(;s.length<t;)me(s,s);me(s.slice(-t),s.slice(0,t)).forEach(function(a,r){var d=r<t,h=function(t,s){var i=t.cloneNode(!0);return fe(i,n.classes.clone),i.id=e.root.id+"-clone"+nt(s+1),i}(a.slide,r);d?ge(h,s[0].slide):ve(o.list,h),me(c,h),l.register(h,r-t+(d?0:i),a.index)})}}(s),t.Layout.resize(!0))}function h(){u(),d()}function u(){Me(c),X(c),i.destroy()}function m(){var e=p();s!==e&&(s<e||!e)&&i.emit(pt)}function p(){var s=n.clones;if(e.is(Cn)){if(le(s)){var i=n[r("fixedWidth")]&&t.Layout.slideSize(0);s=i&&Ge(De(o.track)[r("width")]/i)||n[r("autoWidth")]&&e.length||2*n.perPage}}else s=0;return s}return{mount:d,destroy:u}},Move:function(e,t,n){var s,i=Pt(e),a=i.on,o=i.emit,l=e.state.set,r=t.Layout,c=r.slideSize,d=r.getPadding,h=r.totalSize,u=r.listSize,m=r.sliderSize,p=t.Direction,f=p.resolve,v=p.orient,g=t.Elements,y=g.list,E=g.track;function b(){t.Controller.isBusy()||(t.Scroll.cancel(),L(e.index),t.Slides.update())}function L(e){_(k(e,!0))}function _(n,s){if(!e.is(Vn)){var i=s?n:function(n){if(e.is(Cn)){var s=A(n),i=s>t.Controller.getEnd();(s<0||i)&&(n=w(n,i))}return n}(n);Pe(y,"transform","translate"+f("X")+"("+i+"px)"),n!==i&&o(Tt)}}function w(e,t){var n=e-I(t),s=m();return e-=v(s*(Ge(Xe(n)/s)||1))*(t?1:-1)}function S(){_(T(),!0),s.cancel()}function A(e){for(var n=t.Slides.get(),s=0,i=1/0,a=0;a<n.length;a++){var o=n[a].index,l=Xe(k(o,!0)-e);if(!(l<=i))break;i=l,s=o}return s}function k(t,s){var i=v(h(t-1)-function(e){var t=n.focus;return"center"===t?(u()-c(e,!0))/2:+t*c(e)||0}(t));return s?function(t){n.trimSpace&&e.is(xn)&&(t=Ze(t,0,v(m(!0)-u())));return t}(i):i}function T(){var e=f("left");return De(y)[e]-De(E)[e]+v(d(!1))}function I(e){return k(e?t.Controller.getEnd():0,!!n.trimSpace)}return{mount:function(){s=t.Transition,a([at,gt,ft,pt],b)},move:function(e,t,n,i){var a,r;e!==t&&(a=e>n,r=v(w(T(),a)),a?r>=0:r<=y[f("scrollWidth")]-De(E)[f("width")])&&(S(),_(w(T(),e>n),!0)),l(4),o(lt,t,n,e),s.start(t,function(){l(3),o(rt,t,n,e),i&&i()})},jump:L,translate:_,shift:w,cancel:S,toIndex:A,toPosition:k,getPosition:T,getLimit:I,exceededLimit:function(e,t){t=le(t)?T():t;var n=!0!==e&&v(t)<v(I(!1)),s=!1!==e&&v(t)>v(I(!0));return n||s},reposition:b}},Controller:function(e,t,n){var s,i,a,o,l=Pt(e),r=l.on,c=l.emit,d=t.Move,h=d.getPosition,u=d.getLimit,m=d.toPosition,p=t.Slides,f=p.isEnough,v=p.getLength,g=n.omitEnd,y=e.is(Cn),E=e.is(xn),b=Q(k,!1),L=Q(k,!0),_=n.start||0,w=_;function S(){i=v(!0),a=n.perMove,o=n.perPage,s=P();var e=Ze(_,0,g?s:i-1);e!==_&&(_=e,d.reposition())}function A(){s!==P()&&c(It)}function k(e,t){var n=a||(O()?1:o),i=T(_+n*(e?-1:1),_,!(a||O()));return-1===i&&E&&!Je(h(),u(!e),1)?e?0:s:t?i:I(i)}function T(t,l,r){if(f()||O()){var c=function(t){if(E&&"move"===n.trimSpace&&t!==_)for(var s=h();s===m(t,!0)&&Qe(t,0,e.length-1,!n.rewind);)t<_?--t:++t;return t}(t);c!==t&&(l=t,t=c,r=!1),t<0||t>s?t=a||!Qe(0,t,l,!0)&&!Qe(s,l,t,!0)?y?r?t<0?-(i%o||o):i:t:n.rewind?t<0?s:0:-1:x(C(t)):r&&t!==l&&(t=x(C(l)+(t<l?-1:1)))}else t=-1;return t}function I(e){return y?(e+i)%i||0:e}function P(){for(var e=i-(O()||y&&a?1:o);g&&e-- >0;)if(m(i-1,!0)!==m(e,!0)){e++;break}return Ze(e,0,i-1)}function x(e){return Ze(O()?e:o*e,0,s)}function C(e){return O()?Ue(e,s):Ye((e>=s?i-1:e)/o)}function V(e){e!==_&&(w=_,_=e)}function O(){return!le(n.focus)||n.isNavigation}function D(){return e.state.is([4,5])&&!!n.waitForTransition}return{mount:function(){S(),r([ft,pt,It],S),r(gt,A)},go:function(e,t,n){if(!D()){var i=function(e){var t=_;if(oe(e)){var n=e.match(/([+\-<>])(\d+)?/)||[],i=n[1],a=n[2];"+"===i||"-"===i?t=T(_+ +(""+i+(+a||1)),_):">"===i?t=a?x(+a):b(!0):"<"===i&&(t=L(!0))}else t=y?e:Ze(e,0,s);return t}(e),a=I(i);a>-1&&(t||a!==_)&&(V(a),d.move(i,a,w,n))}},scroll:function(e,n,i,a){t.Scroll.scroll(e,n,i,function(){var e=I(d.toIndex(h()));V(g?Ue(e,s):e),a&&a()})},getNext:b,getPrev:L,getAdjacent:k,getEnd:P,setIndex:V,getIndex:function(e){return e?w:_},toIndex:x,toPage:C,toDest:function(e){var t=d.toIndex(e);return E?Ze(t,0,s):t},hasFocus:O,isBusy:D}},Arrows:function(e,t,n){var s,i,a=Pt(e),o=a.on,l=a.bind,r=a.emit,c=n.classes,d=n.i18n,h=t.Elements,u=t.Controller,m=h.arrows,p=h.track,f=m,v=h.prev,g=h.next,y={};function E(){!function(){var e=n.arrows;!e||v&&g||(f=m||Ie("div",c.arrows),v=w(!0),g=w(!1),s=!0,ve(f,[v,g]),!m&&ge(f,p));v&&g&&(we(y,{prev:v,next:g}),xe(f,e?"":"none"),fe(f,i=rn+"--"+n.direction),e&&(o([at,rt,pt,Et,It],S),l(g,"click",Q(_,">")),l(v,"click",Q(_,"<")),S(),Te([v,g],Bt,p.id),r(Lt,v,g)))}(),o(ft,b)}function b(){L(),E()}function L(){a.destroy(),Ne(f,i),s?(Me(m?[v,g]:f),v=g=null):ke([v,g],Qt)}function _(e){u.go(e,!0)}function w(e){return Re('<button class="'+c.arrow+" "+(e?c.prev:c.next)+'" type="button"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 40" width="40" height="40" focusable="false">
2<path d="'+(n.arrowPath||"m15.5 0.932-4.3 4.38 14.5 14.6-14.5 14.5 4.3 4.4 14.6-14.6 4.4-4.3-4.4-4.4-14.6-14.6z")+'" />')}function S(){if(v&&g){var t=e.index,n=u.getPrev(),s=u.getNext(),i=n>-1&&t<n?d.last:d.prev,a=s>-1&&t>s?d.first:d.next;v.disabled=n<0,g.disabled=s<0,Te(v,Wt,i),Te(g,Wt,a),r("arrows:updated",v,g,n,s)}}return{arrows:y,mount:E,destroy:L,update:S}},Autoplay:function(e,t,n){var s,i,a=Pt(e),o=a.on,l=a.bind,r=a.emit,c=xt(n.interval,e.go.bind(e,">"),function(e){var t=h.bar;t&&Pe(t,"width",100*e+"%"),r("autoplay:playing",e)}),d=c.isPaused,h=t.Elements,u=t.Elements,m=u.root,p=u.toggle,f=n.autoplay,v="pause"===f;function g(){d()&&t.Slides.isEnough()&&(c.start(!n.resetProgress),i=s=v=!1,b(),r(wt))}function y(e){void 0===e&&(e=!0),v=!!e,b(),d()||(c.pause(),r(St))}function E(){v||(s||i?y(!1):g())}function b(){p&&(pe(p,yn,!v),Te(p,Wt,n.i18n[v?"play":"pause"]))}function L(e){var s=t.Slides.getAt(e);c.set(s&&+Ve(s.slide,Dn)||n.interval)}return{mount:function(){f&&(!function(){n.pauseOnHover&&l(m,"mouseenter mouseleave",function(e){s="mouseenter"===e.type,E()});n.pauseOnFocus&&l(m,"focusin focusout",function(e){i="focusin"===e.type,E()});p&&l(p,"click",function(){v?g():y(!0)});o([lt,yt,pt],c.rewind),o(lt,L)}(),p&&Te(p,Bt,h.track.id),v||g(),b())},destroy:c.cancel,play:g,pause:y,isPaused:d}},Cover:function(e,t,n){var s=Pt(e).on;function i(e){t.Slides.forEach(function(t){var n=be(t.container||t.slide,"img");n&&n.src&&a(e,n,t)})}function a(e,t,n){n.style("background",e?'center/cover no-repeat url("'+t.src+'")':"",!0),xe(t,e?"none":"")}return{mount:function(){n.cover&&(s(At,Q(a,!0)),s([at,ft,pt],Q(i,!0)))},destroy:Q(i,!1)}},Scroll:function(e,t,n){var s,i,a=Pt(e),o=a.on,l=a.emit,r=e.state.set,c=t.Move,d=c.getPosition,h=c.getLimit,u=c.exceededLimit,m=c.translate,p=e.is(xn),f=1;function v(e,n,a,o,h){var m=d();if(E(),a&&(!p||!u())){var v=t.Layout.sliderSize(),b=et(e)*v*Ye(Xe(e)/v)||0;e=c.toPosition(t.Controller.toDest(e%v))+b}var L=Je(m,e,1);f=1,n=L?0:n||qe(Xe(e-m)/1.5,800),i=o,s=xt(n,g,Q(y,m,e,h),1),r(5),l(yt),s.start()}function g(){r(3),i&&i(),l(Et)}function y(e,t,s,a){var o,l,r=d(),c=(e+(t-e)*(o=a,(l=n.easingFunc)?l(o):1-Math.pow(1-o,4))-r)*f;m(r+c),p&&!s&&u()&&(f*=.6,Xe(c)<10&&v(h(u(!0)),600,!1,i,!0))}function E(){s&&s.cancel()}function b(){s&&!s.isPaused()&&(E(),g())}return{mount:function(){o(lt,E),o([ft,pt],b)},destroy:E,scroll:v,cancel:b}},Drag:function(e,t,n){var s,i,a,o,l,r,c,d,h=Pt(e),u=h.on,m=h.emit,p=h.bind,f=h.unbind,v=e.state,g=t.Move,y=t.Scroll,E=t.Controller,b=t.Elements.track,L=t.Media.reduce,_=t.Direction,w=_.resolve,S=_.orient,A=g.getPosition,k=g.exceededLimit,T=!1;function I(){var e=n.drag;z(!e),o="free"===e}function P(e){if(r=!1,!c){var t=H(e);s=e.target,i=n.noDrag,ye(s,"."+mn+", ."+cn)||i&&ye(s,i)||!t&&e.button||(E.isBusy()?Fe(e,!0):(d=t?b:window,l=v.is([4,5]),a=null,p(d,In,x,Mn),p(d,Pn,C,Mn),g.cancel(),y.cancel(),O(e)))}var s,i}function x(t){if(v.is(6)||(v.set(6),m("drag")),t.cancelable)if(l){g.translate(s+D(t)/(T&&e.is(xn)?5:1));var i=M(t)>200,a=T!==(T=k());(i||a)&&O(t),r=!0,m("dragging"),Fe(t)}else(function(e){return Xe(D(e))>Xe(D(e,!0))})(t)&&(l=function(e){var t=n.dragMinThreshold,s=se(t),i=s&&t.mouse||0,a=(s?t.touch:+t)||10;return Xe(D(e))>(H(e)?a:i)}(t),Fe(t))}function C(s){v.is(6)&&(v.set(3),m("dragged")),l&&(!function(s){var i=function(t){if(e.is(Cn)||!T){var n=M(t);if(n&&n<200)return D(t)/n}return 0}(s),a=function(e){return A()+et(e)*Ue(Xe(e)*(n.flickPower||600),o?1/0:t.Layout.listSize()*(n.flickMaxPages||1))}(i),l=n.rewind&&n.rewindByDrag;L(!1),o?E.scroll(a,0,n.snap):e.is(Vn)?E.go(S(et(i))<0?l?"<":"-":l?">":"+"):e.is(xn)&&T&&l?E.go(k(!0)?">":"<"):E.go(E.toDest(a),!0);L(!0)}(s),Fe(s)),f(d,In,x),f(d,Pn,C),l=!1}function V(e){!c&&r&&Fe(e,!0)}function O(e){a=i,i=e,s=A()}function D(e,t){return F(e,t)-F(R(e),t)}function M(e){return Be(e)-Be(R(e))}function R(e){return i===e&&a||i}function F(e,t){return(H(e)?e.changedTouches[0]:e)["page"+w(t?"Y":"X")]}function H(e){return"undefined"!=typeof TouchEvent&&e instanceof TouchEvent}function z(e){c=e}return{mount:function(){p(b,In,ee,Mn),p(b,Pn,ee,Mn),p(b,Tn,P,Mn),p(b,"click",V,{capture:!0}),p(b,"dragstart",Fe),u([at,ft],I)},disable:z,isDragging:function(){return l}}},Keyboard:function(e,t,n){var s,i,a=Pt(e),o=a.on,l=a.bind,r=a.unbind,c=e.root,d=t.Direction.resolve;function h(){var e=n.keyboard;e&&(s="global"===e?window:c,l(s,Hn,p))}function u(){r(s,Hn)}function m(){var e=i;i=!0,Z(function(){i=e})}function p(t){if(!i){var n=Fn(t);n===d(Vt)?e.go("<"):n===d(Ot)&&e.go(">")}}return{mount:function(){h(),o(ft,u),o(ft,h),o(lt,m)},destroy:u,disable:function(e){i=e}}},LazyLoad:function(e,t,n){var s=Pt(e),i=s.on,a=s.off,o=s.bind,l=s.emit,r="sequential"===n.lazyLoad,c=[rt,Et],d=[];
vendor: 4,350 bytes, line 2
2function h(){X(d),t.Slides.forEach(function(e){ze(e.slide,Bn).forEach(function(t){var s=Ve(t,zn),i=Ve(t,Nn);if(s!==t.src||i!==t.srcset){var a=n.classes.spinner,o=t.parentElement,l=be(o,"."+a)||Ie("span",a,o);d.push([t,e,l]),t.src||xe(t,"none")}})}),r?f():(a(c),i(c,u),u())}function u(){(d=d.filter(function(t){var s=n.perPage*((n.preloadPages||1)+1)-1;return!t[1].isWithin(e.index,s)||m(t)})).length||a(c)}function m(e){var t=e[0];fe(e[1].slide,_n),o(t,"load error",Q(p,e)),Te(t,"src",Ve(t,zn)),Te(t,"srcset",Ve(t,Nn)),ke(t,zn),ke(t,Nn)}function p(e,t){var n=e[0],s=e[1];Ne(s.slide,_n),"error"!==t.type&&(Me(e[2]),xe(n,""),l(At,n,s),l(vt)),r&&f()}function f(){d.length&&m(d.shift())}return{mount:function(){n.lazyLoad&&(h(),i(pt,h))},destroy:Q(X,d),check:u}},Pagination:function(e,t,n){var s,i,a=Pt(e),o=a.on,l=a.emit,r=a.bind,c=t.Slides,d=t.Elements,h=t.Controller,u=h.hasFocus,m=h.getIndex,p=h.go,f=t.Direction.resolve,v=d.pagination,g=[];function y(){s&&(Me(v?J(s.children):s),Ne(s,i),X(g),s=null),a.destroy()}function E(e){p(">"+e,!0)}function b(e,t){var n=g.length,s=Fn(t),i=L(),a=-1;s===f(Ot,!1,i)?a=++e%n:s===f(Vt,!1,i)?a=(--e+n)%n:"Home"===s?a=0:"End"===s&&(a=n-1);var o=g[a];o&&(Ce(o.button),p(">"+a),Fe(t,!0))}function L(){return n.paginationDirection||n.direction}function _(e){return g[h.toPage(e)]}function w(){var e=_(m(!0)),t=_(m());if(e){var n=e.button;Ne(n,yn),ke(n,$t),Te(n,zt,-1)}if(t){var i=t.button;fe(i,yn),Te(i,$t,!0),Te(i,zt,"")}l("pagination:updated",{list:s,items:g},e,t)}return{items:g,mount:function t(){y(),o([ft,pt,It],t);var a=n.pagination;v&&xe(v,a?"":"none"),a&&(o([lt,yt,Et],w),function(){var t=e.length,a=n.classes,o=n.i18n,l=n.perPage,m=u()?h.getEnd()+1:Ge(t/l);fe(s=v||Ie("ul",a.pagination,d.track.parentElement),i=un+"--"+L()),Te(s,Ht,"tablist"),Te(s,Wt,o.select),Te(s,qt,L()===Rt?"vertical":"");for(var p=0;p<m;p++){var f=Ie("li",null,s),y=Ie("button",{class:a.page,type:"button"},f),_=c.getIn(p).map(function(e){return e.slide.id}),w=!u()&&l>1?o.pageX:o.slideX;r(y,"click",Q(E,p)),n.paginationKeyboard&&r(y,"keydown",Q(b,p)),Te(f,Ht,"presentation"),Te(y,Ht,"tab"),Te(y,Bt,_.join(" ")),Te(y,Wt,tt(w,p+1)),Te(y,zt,-1),g.push({li:f,button:y,page:p})}}(),w(),l("pagination:mounted",{list:s,items:g},_(e.index)))},destroy:y,getAt:_,update:w}},Sync:function(e,t,n){var s=n.isNavigation,i=n.slideFocus,a=[];function o(){var t,n;e.splides.forEach(function(t){t.isParent||(r(e,t.splide),r(t.splide,e))}),s&&(t=Pt(e),(n=t.on)(ct,d),n(kt,h),n([at,ft],c),a.push(t),t.emit(_t,e.splides))}function l(){a.forEach(function(e){e.destroy()}),X(a)}function r(e,t){var n=Pt(e);n.on(lt,function(e,n,s){t.go(t.is(Cn)?s:e)}),a.push(n)}function c(){Te(t.Elements.list,qt,n.direction===Rt?"vertical":"")}function d(t){e.go(t.index)}function h(e,t){ue(jn,Fn(t))&&(d(e),Fe(t))}return{setup:Q(t.Media.set,{slideFocus:le(i)?s:i},!0),mount:o,destroy:l,remount:function(){l(),o()}}},Wheel:function(e,t,n){var s=Pt(e).bind,i=0;function a(s){if(s.cancelable){var a=s.deltaY,o=a<0,l=Be(s),r=n.wheelMinThreshold||0,c=n.wheelSleep||0;Xe(a)>r&&l-i>c&&(e.go(o?"<":">"),i=l),function(s){return!n.releaseWheel||e.state.is(4)||-1!==t.Controller.getAdjacent(s)}(o)&&Fe(s)}}return{mount:function(){n.wheel&&s(t.Elements.track,"wheel",a,Mn)}}},Live:function(e,t,n){var s=Pt(e).on,i=t.Elements.track,a=n.live&&!n.isNavigation,o=Ie("span",vn),l=xt(90,Q(r,!1));function r(e){Te(i,Xt,e),e?(ve(i,o),l.start()):(Me(o),l.cancel())}function c(e){a&&Te(i,Gt,e?"off":"polite")}return{mount:function(){a&&(c(!t.Autoplay.isPaused()),Te(i,Jt,!0),o.textContent="â¦",s(wt,Q(c,!0)),s(St,Q(c,!1)),s([rt,Et],Q(r,!0)))},disable:c,destroy:function(){ke(i,[Gt,Jt,Xt]),Me(o)}}}}),Wn={type:"slide",role:"region",speed:400,perPage:1,cloneStatus:!0,arrows:!0,pagination:!0,paginationKeyboard:!0,interval:5e3,pauseOnHover:!0,pauseOnFocus:!0,resetProgress:!0,easing:"cubic-bezier(0.25, 1, 0.5, 1)",drag:!0,direction:"ltr",trimSpace:!0,focusableNodes:"a, button, textarea, input, select, iframe",live:!0,classes:kn,i18n:{prev:"Previous slide",next:"Next slide",first:"Go to first slide",last:"Go to last slide",slideX:"Go to slide %s",pageX:"Go to page %s",play:"Start autoplay",pause:"Pause autoplay",carousel:"carousel",slide:"slide",select:"Select a slide to show",slideLabel:"%s of %s"},reducedMotion:{speed:0,rewindSpeed:0,autoplay:"pause"}};function Kn(e,t,n){var s=t.Slides;
2function i(){s.forEach(function(e){e.style("transform","translateX(-"+100*e.index+"%)")})}return{mount:function(){Pt(e).on([at,pt],i)},start:function(e,t){s.style("transition","opacity "+n.speed+"ms "+n.easing),Z(t)},cancel:ee}}function Un(e,t,n){var s,i=t.Move,a=t.Controller,o=t.Scroll,l=t.Elements.list,r=Q(Pe,l,"transition");function c(){r(""),o.cancel()}return{mount:function(){Pt(e).bind(l,"transitionend",function(e){e.target===l&&s&&(c(),s())})},start:function(t,l){var c=i.toPosition(t,!0),d=i.getPosition(),h=function(t){var s=n.rewindSpeed;if(e.is(xn)&&s){var i=a.getIndex(!0),o=a.getEnd();if(0===i&&t>=o||i>=o&&0===t)return s}return n.speed}(t);Xe(c-d)>=1&&h>=1?n.useScroll?o.scroll(c,h,!1,l):(r("transform "+h+"ms "+n.easing),i.translate(c,!0),s=l):(i.jump(t),l())},cancel:c}}var qn=function(){function e(t,n){var s;this.event=Pt(),this.Components={},this.state=(s=1,{set:function(e){s=e},is:function(e){return ue(de(e),s)}}),this.splides=[],this._o={},this._E={};var i=oe(t)?He(document,t):t;Ke(i,i+" is invalid."),this.root=i,n=Se({label:Ve(i,Wt)||"",labelledby:Ve(i,Kt)||""},Wn,e.defaults,n||{});try{Se(n,JSON.parse(Ve(i,We)))}catch(a){Ke(!1,"Invalid JSON")}this._o=Object.create(Se({},n))}var t=e.prototype;return t.mount=function(e,t){var n=this,s=this.state,i=this.Components;return Ke(s.is([1,7]),"Already mounted!"),s.set(1),this._C=i,this._T=t||this._T||(this.is(Vn)?Kn:Un),this._E=e||this._E,_e(we({},$n,this._E,{Transition:this._T}),function(e,t){var s=e(n,i,n._o);i[t]=s,s.setup&&s.setup()}),_e(i,function(e){e.mount&&e.mount()}),this.emit(at),fe(this.root,gn),s.set(3),this.emit(ot),this},t.sync=function(e){return this.splides.push({splide:e}),e.splides.push({splide:this,isParent:!0}),this.state.is(3)&&(this._C.Sync.remount(),e.Components.Sync.remount()),this},t.go=function(e){return this._C.Controller.go(e),this},t.on=function(e,t){return this.event.on(e,t),this},t.off=function(e){return this.event.off(e),this},t.emit=function(e){var t;return(t=this.event).emit.apply(t,[e].concat(J(arguments,1))),this},t.add=function(e,t){return this._C.Slides.add(e,t),this},t.remove=function(e){return this._C.Slides.remove(e),this},t.is=function(e){return this._o.type===e},t.refresh=function(){return this.emit(pt),this},t.destroy=function(e){void 0===e&&(e=!0);var t=this.event,n=this.state;return n.is(1)?Pt(this).on(ot,this.destroy.bind(this,e)):(_e(this._C,function(t){t.destroy&&t.destroy(e)},!0),t.emit(bt),t.destroy(),e&&X(this.splides),n.set(7)),this},q(e,[{key:"options",get:function(){return this._o},set:function(e){this._C.Media.set(e,!0,!0)}},{key:"length",get:function(){return this._C.Slides.getLength(!0)}},{key:"index",get:function(){return this._C.Controller.getIndex()}}]),e}();qn.defaults={},qn.STATES=G;const Yn=document.documentElement.clientHeight>500&&document.documentElement.clientWidth>500?500:370,Gn=new Map,Xn=new IntersectionObserver(e=>{for(const t of e){const e=Gn.get(t.target);t.isIntersecting&&e&&(e(),Gn.delete(t.target),Xn.unobserve(t.target))}},{threshold:0,rootMargin:`${Yn}px ${.8*Yn}px`}),Jn=new Map,Qn=new Map,Zn=new IntersectionObserver(e=>{for(const t of e){const e=Jn.get(t.target),n=Qn.get(t.target);if(t.isIntersecting){if(void 0!==e)for(const t of e)t()}else if(void 0!==n)for(const t of n)t();0===(null==e?void 0:e.length)&&0===(null==n?void 0:n.length)&&(Jn.delete(t.target),Qn.delete(t.target),Zn.unobserve(t.target))}},{threshold:.1}),es=new Map,ts=new Map,ns=new IntersectionObserver(e=>{for(const t of e){const e=es.get(t.target),n=ts.get(t.target);if(t.isIntersecting){if(void 0!==e)for(const t of e)t()}else if(void 0!==n)for(const t of n)t();0===(null==e?void 0:e.length)&&0===(null==n?void 0:n.length)&&(Jn.delete(t.target),Qn.delete(t.target),Zn.unobserve(t.target))}},{threshold:1}),ss=new Map,is=new ResizeObserver(e=>{for(const t of e){const e=ss.get(t.target);if(void 0!==e)for(const n of e)window.requestAnimationFrame(()=>{n(t)})}});class as{constructor(e,t,n){c(this,"config"),c(this,"NS"),c(this,"IS"),c(this,"_sessionStorageHash"),c(this,"_sessionStorageData",{}),c(this,"_localStorageHash"),c(this,"_localStorageData",{}),c(this,"elements"),c(this,"options"),c(this,"sessionStorageData"),c(this,"localStorageData"),this.config=e,this.NS=t,this.IS=n,(null==e?void 0:e.element)&&(this.cacheElements(e.element),this.cacheOptions(e.options),this.elements.self.setAttribute(`data-${this.NS}-is`,`${this.IS}|init`),this.sessionStorageData=m(()=>this.getSessionStorageState(),()=>this.setSessionStorageState(),this._sessionStorageData),this.localStorageData=m(()=>this.getLocalStorageState(),()=>this.setLocalStorageState(),this._localStorageData))}cacheElements(e){this.elements={self:e};const t=this.elements.self.querySelectorAll(`[data-${this.NS}-hook-${this.IS}]`);for(const n of t)if(n.closest(`[data-${this.NS}-is^="${this.IS}"]`)===this.elements.self){const e=n.getAttribute(`data-${this.NS}-hook-${this.IS}`);
2if(e){const t=e.startsWith("[")&&e.endsWith("]"),s=t?e.slice(1,-1):e,i=this.elements[s];i?(Array.isArray(i)||(this.elements[s]=[i]),this.elements[s].push(n)):this.elements[s]=t?[n]:n}}}cacheOptions(e){this.options=e}setSessionStorageHash(e){this._sessionStorageHash=e||p(this.elements.self)}setLocalStorageHash(e){this._localStorageHash=e||p(this.elements.self)}getSessionStorageState(){void 0===this._sessionStorageHash&&this.setSessionStorageHash();try{Object.assign(this._sessionStorageData,f(window.sessionStorage.getItem(this._sessionStorageHash)))}catch(e){console.warn(`Object ${this._sessionStorageHash} in sessionStorage is not valid JSON object.`,e)}}setSessionStorageState(){void 0===this._sessionStorageHash&&this.setSessionStorageHash(),window.sessionStorage.setItem(this._sessionStorageHash,JSON.stringify(this._sessionStorageData))}getLocalStorageState(){void 0===this._localStorageHash&&this.setLocalStorageHash();try{Object.assign(this._localStorageData,f(window.localStorage.getItem(this._localStorageHash)))}catch(e){console.warn(`Object ${this._localStorageHash} in localStorage is not valid JSON object.`,e)}}setLocalStorageState(){void 0===this._localStorageHash&&this.setLocalStorageHash(),window.localStorage.setItem(this._localStorageHash,JSON.stringify(this._localStorageData))}onPreloadEvent(e,t=this.elements.self){void 0===Gn.get(t)?(Gn.set(t,e),Xn.observe(t)):console.warn("Preload event already attached to this element:",t)}onViewEntryEvent(e,t=!0,n=this.elements.self){var s;const i=null!=(s=Jn.get(n))?s:[],a=t?()=>{var t;let s=null!=(t=Jn.get(n))?t:[];s=s.filter(e=>e!==a),Jn.set(n,s),e()}:()=>{e()};i.push(a),Jn.set(n,i),Zn.observe(n)}onFullViewEntryEvent(e,t=!0,n=this.elements.self){var s;const i=null!=(s=es.get(n))?s:[],a=t?()=>{var t;let s=null!=(t=es.get(n))?t:[];s=s.filter(e=>e!==a),es.set(n,s),e()}:()=>{e()};i.push(a),es.set(n,i),ns.observe(n)}onViewLeaveEvent(e,t=!0,n=this.elements.self){var s;let i=!1;this.onViewEntryEvent(()=>{i=!0},!0,n);const a=null!=(s=Qn.get(n))?s:[],o=t?()=>{var t;if(i){let s=null!=(t=Qn.get(n))?t:[];s=s.filter(e=>e!==o),Qn.set(n,s),e()}else i=!0}:()=>{i?e():i=!0};a.push(o),Qn.set(n,a),Zn.observe(n)}onResizeEvent(e,t=this.elements.self){var n;const s=null!=(n=ss.get(t))?n:[];s.push(e),ss.set(t,s),is.observe(t)}dispatchEvent(e,t,n){const s=new CustomEvent(e,{bubbles:!0,detail:t});n?n.dispatchEvent(s):this.elements.self.dispatchEvent(s)}handleEvent(e,t,n,s){const i=e=>{t(e)};n?n.addEventListener(e,i,s):this.elements.self.addEventListener(e,i,s)}}const os="carousel",ls=`[data-hme-is="${os}"]`,rs="hme-carousel--is-playing";class cs extends as{constructor(){super(...arguments),c(this,"slideTitles",[]),c(this,"splide"),c(this,"perPage")}init(){this.elements.slide&&0!==this.elements.slide.length&&(this.slideTitles=this.elements.slide.map(e=>e.ariaLabel||""),this.options.delay&&this.elements.self.style.setProperty("--hme-carousel-delay",`${this.options.delay}ms`),this.initSplide(),v()&&this.initAemHandlers())}parseCssClassWithBreakpointValues(e,t,n){var s;const i=null==(s=this.elements.self.getAttribute("class"))?void 0:s.match(t);if(!i)return{};const[a,o,l]=i.slice(1).map(e=>n?n(e):e);return{[e]:a,breakpoints:{[g.tablet]:{[e]:o},[g.desktop]:{[e]:l}}}}parsePerPageFromCssClass(){return this.parseCssClassWithBreakpointValues("perPage",/(?:hme-carousel--layout-)(\d+)(?:-[^_]*)*_(\d+)(?:-[^_]*)*_(\d+)(?:-[^ ]*)*/,e=>Math.floor(12/parseInt(e,10)))}parseLayoutFromCssClass(){return this.parseCssClassWithBreakpointValues("fixedWidth",/(?:hme-carousel--layout-)(\d+)(?:-[^_]*)*_(\d+)(?:-[^_]*)*_(\d+)(?:-[^ ]*)*/,e=>`calc(${parseInt(e,10)/12*100}% - (var(--hme-carousel-gap) * ${1-parseInt(e,10)/12}))`)}parseGapFromCssClass(){return this.parseCssClassWithBreakpointValues("gap",/(?:hme-carousel--spacing-)(?:\d+)-(\d+)_(?:\d+)-(\d+)_(?:\d+)-(\d+)/,e=>parseInt(e,10))}initSplide(){this.splide=new qn(this.elements.self,y({start:this.options.activeIndex,autoplay:this.options.autoplay,interval:this.options.delay,pauseOnHover:!this.options.autoPauseDisabled,classes:{page:"hme-carousel__controls-pagination-page"},i18n:{play:this.options.accessibilityPlay||"Play",pause:this.options.accessibilityPause||"Pause"}
2,mediaQuery:"min",gap:"var(--hme-carousel-gap)",trimSpace:!0},this.parseLayoutFromCssClass(),this.parseGapFromCssClass(),this.parsePerPageFromCssClass())),this.splide.on("mounted",()=>{this.updateSlidesAriaLabels(),this.updatePaginationAriaLabels(),this.updatePaginationIconForAutoplay(),this.setPerPage(),this.onResizeEvent(()=>{var e;null==(e=this.splide)||e.refresh()})}),this.splide.on("pagination:updated",()=>{var e;(null==(e=this.splide)?void 0:e.options.perPage)!==this.perPage&&(this.updatePaginationAriaLabels(),this.setPerPage())}),this.splide.on("autoplay:play",()=>{this.elements.self.classList.add(rs)}),this.splide.on("autoplay:pause",()=>{this.elements.self.classList.remove(rs)}),this.splide.mount()}updateSlidesAriaLabels(){var e;null==(e=this.splide)||e.Components.Elements.slides.forEach((e,t)=>{e.ariaLabel=this.options.accessibilitySlide?this.options.accessibilitySlide.replace("{0}",String(t+1)).replace("{1}",String(this.elements.slide.length)).replace("{2}",String(this.slideTitles[t])):`Slide ${t+1} of ${this.elements.slide.length} - ${this.slideTitles[t]}`})}updatePaginationAriaLabels(){var e;null==(e=this.splide)||e.Components.Pagination.items.forEach((e,t)=>{var n,s,i;1===(null==(n=this.splide)?void 0:n.options.perPage)?e.button.ariaLabel=this.options.accessibilityPaginationItem?this.options.accessibilityPaginationItem.replace("{0}",String(t+1)).replace("{1}",String(this.elements.slide.length)).replace("{2}",String(this.slideTitles[t])):`Go to slide ${t+1} of ${this.elements.slide.length} - ${this.slideTitles[t]}`:e.button.ariaLabel=this.options.accessibilityPaginationPage?this.options.accessibilityPaginationPage.replace("{0}",String(t+1)).replace("{1}",String(null==(s=this.splide)?void 0:s.Components.Pagination.items.length)):`Go to page ${t+1} of ${null==(i=this.splide)?void 0:i.Components.Pagination.items.length}`})}updatePaginationIconForAutoplay(){var e;this.options.autoplay&&(null==(e=this.splide)||e.Components.Pagination.items.forEach(e=>{e.button.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20">\n <circle cx="10" cy="10" r="9.5" fill="none" stroke="currentColor" stroke-width="1" stroke-dashoffset="59.69"\n stroke-dasharray="59.69" transform="rotate(-90, 10, 10)">\n </circle>\n</svg>\n'}))}setPerPage(){this.splide&&(this.perPage=this.splide.options.perPage)}initAemHandlers(){var e;E(()=>{this.splide&&(this.splide.options.speed=0)}),b(()=>{this.splide&&(this.splide.options.speed=600)}),null==(e=L)||e.subscribeRequestMessage("cmp.panelcontainer",e=>{e.data&&"hme-carousel"===e.data.type&&e.data.id===this.elements.self.dataset.cmpPanelcontainerId&&"navigate"===e.data.operation&&this.navigate(e.data.index)})}navigate(e){this.splide&&this.splide.go(e)}}c(cs,"SELF",ls),c(cs,"NS","hme"),c(cs,"IS",os),_(cs),h('[data-hme-is="controls"]',()=>u(()=>import("./controls.hlqs8udkq2rqqmh1.js"),__vite__mapDeps([14,1])),()=>u(()=>Promise.resolve({}),__vite__mapDeps([15]))),h('[data-hme-is="dealer-page"]',()=>u(()=>import("./dealer-page.nsdade5vlu5r2en5.js"),__vite__mapDeps([16,1])),()=>u(()=>Promise.resolve({}),__vite__mapDeps([17]))),h('[data-hme-is="feature-icon"]',void 0,()=>u(()=>Promise.resolve({}),__vite__mapDeps([18]))),h('[data-hme-is="featured-article"]',()=>u(()=>Promise.resolve({}),__vite__mapDeps([19]))),h('[data-hme-is="feefo"]',()=>u(()=>import("./feefo.hu700bj4sex6rby6.js"),__vite__mapDeps([20,1,21])),()=>u(()=>Promise.resolve({}),__vite__mapDeps([22]))),h('[data-hme-is="find-a-dealer"]',()=>u(()=>import("./find-a-dealer.hhcjnfqzvx9m0j4b.js"),__vite__mapDeps([23,1,21])),()=>u(()=>Promise.resolve({}),__vite__mapDeps([24]))),h('[data-hme-is="find-your-bike"]',()=>u(()=>import("./find-your-bike.f3la0lw6iqawdjk2.js"),__vite__mapDeps([25,1])),()=>u(()=>Promise.resolve({}),__vite__mapDeps([26]))),h('[data-hme-is="grid-debug"]',void 0,()=>u(()=>Promise.resolve({}),__vite__mapDeps([27])));const ds="video-sample",hs=`[data-hme-is="${ds}"]`,us="hme-video-sample--playing",ms="hme-video-sample--paused",ps="hme-video-sample--landscape",fs="hme-video-sample--portrait",vs="hme-video-sample--controls-active";class gs extends as{constructor(){super(...arguments),c(this,"onViewEnterPlayer"),c(this,"onViewLeavePlayer"),c(this,"onViewLeavePlayerState",new Proxy({},{set:(e,t,n)=>(this.onViewLeavePlayerStateSet(t,n),Reflect.set(e,t,n))})),c(this,"wasVideoPlayingOnDocumentVisibilityChange"),c(this,"controlsVisibilityTimeout")}init(){v()&&this.checkAspectRatio(),this.addPreloadHandlers(),this.addResizeHandler(),this.addEventHandlers(),this.addCustomEventListeners()}addEventHandlers(){var e,t;null==(e=this.elements.actionsPlay)||e.addEventListener("click",()=>this.play()),null==(t=this.elements.actionsPause)||t.addEventListener("click",()=>this.pause()),this.elements.self.addEventListener("touchstart",()=>this.showControls()),this.elements.self.addEventListener("focusin",()=>this.showControls()),this.elements.self.addEventListener("mouseleave",()=>this.hideControls()),this.elements.self.addEventListener("mousemove",w(()=>this.showControls(),1e3))}addCustomEventListeners(){super.handleEvent("hme-video-sample.play",()=>{this.play()}),super.handleEvent("hme-video-sample.pause",()=>{this.pause()})}addResizeHandler(){void 0!==this.elements.alternateVideo&&(this.onResizeEvent(()=>this.updateVideoTitle()),CSS.supports("container-type","size")||this.onResizeEvent(e=>this.updateCssComponentOrientationClass(e)))}addPreloadHandlers(){this.onPreloadEvent(()=>this.preloadEvent(this.elements.mainVideo),this.elements.mainVideo),void 0!==this.elements.alternateVideo&&this.onPreloadEvent(()=>this.preloadEvent(this.elements.alternateVideo),this.elements.alternateVideo)}play(){var e;null==(e=this.onViewEnterPlayer)||e.play(),this.elements.self.classList.add(us),this.elements.self.classList.remove(ms),this.elements.actionsPause&&S(this.elements.actionsPause)}pause(){var e;null==(e=this.onViewEnterPlayer)||e.pause(),this.elements.self.classList.remove(us),this.elements.self.classList.add(ms),this.elements.actionsPlay&&S(this.elements.actionsPlay)}mute(){this.onViewEnterPlayer&&(this.onViewEnterPlayer.muted=!0)}unMute(){this.onViewEnterPlayer&&(this.onViewEnterPlayer.muted=!1)}showControls(){void 0!==this.controlsVisibilityTimeout&&clearTimeout(this.controlsVisibilityTimeout),this.elements.self.classList.add(v
2s),this.controlsVisibilityTimeout=window.setTimeout(()=>{this.elements.self.classList.remove(vs),this.controlsVisibilityTimeout=void 0},3e3)}hideControls(){void 0!==this.controlsVisibilityTimeout&&clearTimeout(this.controlsVisibilityTimeout),this.elements.self.classList.remove(vs)}preloadEvent(e){this.addEventListenersToVideoElement(e),this.onViewEntryEvent(()=>this.viewEntryEvent(e),!1,e),this.onViewLeaveEvent(()=>this.viewLeaveEvent(e),!1,e),document.addEventListener("visibilitychange",()=>this.documentVisibilityChangeEvent(e)),super.dispatchEvent("hme-video-sample.ready",{self:this.elements.self})}addEventListenersToVideoElement(e){e.addEventListener("play",e=>{e.target===this.onViewEnterPlayer&&(this.elements.self.classList.add(us),this.elements.self.classList.remove(ms),super.dispatchEvent("hme-video-sample.state-change",{isPlaying:!0}))}),e.addEventListener("pause",e=>{e.target===this.onViewEnterPlayer&&(this.elements.self.classList.remove(us),this.elements.self.classList.add(ms),super.dispatchEvent("hme-video-sample.state-change",{isPlaying:!1}))})}viewEntryEvent(e){var t,n,s;if(!this.onViewEnterPlayer)return this.onViewEnterPlayer=e,this.updateVideoTitle(),void(window.matchMedia("(prefers-reduced-motion: reduce)").matches?this.onViewEnterPlayer.pause():v()?this.onViewEnterPlayer.load():this.onViewEnterPlayer.play());this.onViewEnterPlayer=e,(null==(t=this.onViewLeavePlayerState)?void 0:t.isPlaying)?null==(n=this.onViewEnterPlayer)||n.play():null==(s=this.onViewEnterPlayer)||s.pause(),this.updateVideoTitle()}viewLeaveEvent(e){this.onViewLeavePlayer=e,this.onViewLeavePlayerState.isPlaying=this.isPlayerPlaying(e),e.pause()}documentVisibilityChangeEvent(e){"visible"===document.visibilityState&&this.wasVideoPlayingOnDocumentVisibilityChange&&e.play(),"hidden"===document.visibilityState&&(this.wasVideoPlayingOnDocumentVisibilityChange=this.isPlayerPlaying(e))}onViewLeavePlayerStateSet(e,t){var n,s;"isPlaying"!==e||this.onViewEnterPlayer===this.onViewLeavePlayer||(t?null==(n=this.onViewEnterPlayer)||n.play():null==(s=this.onViewEnterPlayer)||s.pause())}getPlayerFileNameFromUrl(){var e;if(!this.onViewEnterPlayer)return"";const t=new URL(null==(e=this.onViewEnterPlayer)?void 0:e.currentSrc);return t.pathname.substring(t.pathname.lastIndexOf("/")+1)}updateVideoTitle(){this.options.title||this.elements.self.setAttribute("aria-label",this.getPlayerFileNameFromUrl())}updateCssComponentOrientationClass(e){const t=e.contentRect.width/e.contentRect.height>=1;this.elements.self.classList.toggle(fs,!t),this.elements.self.classList.toggle(ps,t)}isPlayerPlaying(e){return!1===e.paused&&!1===e.ended}checkAspectRatio(){const e=[];e.push(new Promise(e=>{this.elements.mainVideo.addEventListener("loadedmetadata",()=>{const t=Math.round(this.elements.mainVideo.videoWidth/this.elements.mainVideo.videoHeight*1e3)/1e3;e(t)},{once:!0})})),this.elements.mainVideo.load(),this.elements.alternateVideo&&(e.push(new Promise(e=>{var t;null==(t=this.elements.alternateVideo)||t.addEventListener("loadedmetadata",()=>{const t=Math.round(this.elements.alternateVideo.videoWidth/this.elements.alternateVideo.videoHeight*1e3)/1e3;e(t)},{once:!0})})),this.elements.alternateVideo.load()),Promise.all(e).then(e=>{var t,n;const[s,i]=e,a=Math.abs(s-(null!=(t=this.options.mainVideoAspectRatio)?t:0)),o=Math.abs(i-(null!=(n=this.options.alternateVideoAspectRatio)?n:0)),l=[];a>.01&&l.push(`Main video aspect ratio (${s}) does not match the detected or configured aspect ratio (${this.options.mainVideoAspectRatio}).`),o>.01&&l.push(`Alternate video aspect ratio (${i}) does not match the detected or configured aspect ratio (${this.options.alternateVideoAspectRatio}).`),this.showAemMessage(l.join("\n"))})}showAemMessage(e){""!==e&&(this.elements.self.setAttribute("data-aem-warning",e),console.log("text: ",e))}}c(gs,"SELF",hs),c(gs,"NS","hme"),c(gs,"IS",ds);const ys="hero",Es=`[data-hme-is="${ys}"]`,bs="hme-hero--video-playing";class Ls extends as{constructor(){super(...arguments),c(this,"videoSample")}init(){var e,t;v()||this.elements.video&&(this.addEventHandlers(),this.addCustomEventListeners(),(null==(e=this.elements.video)?void 0:e.querySelector(hs))?super.handleEvent("hme-video-sample.ready",e=>{this.videoSample=e.detail.self}):this.videoSample=null==(t=this.elements.video)?void 0:t.querySelector(A(hs)))}addEventHandlers(){var e,t;null==(e=this.elements.videoActionsPlay)||e.addEventListener("click",()=>this.handlePlayClick()),null==(t=this.elements.videoActionsPause)||t.addEventListener("click",()=>this.handlePauseClick())}addCustomEventListeners(){super.handleEvent("hme-video-sample.state-change",e=>{this.handleVideoStateChange(e.detail.isPlaying)})}handlePlayClick(){this.videoSample&&super.dispatchEvent("hme-video-sample.play",void 0,this.videoSample)}handlePauseClick(){this.videoSample&&super.dispatchEvent("hme-video-sample.pause",void 0,this.videoSample)}handleVideoStateChange(e){this.elements.self.classList.toggle(bs,e)}}c(Ls,"SELF",Es),c(Ls,"NS","hme"),c(Ls,"IS",ys),_(Ls);const _s="image",ws=`[data-hme-is="${_s}"]`,Ss="hme-image--landscape",As="hme-image--portrait";_((c(e=class extends as{init(){this.addResizeHandler()}addResizeHandler(){void 0===this.elements.altImage||CSS.supports("container-type","size")||this.onResizeEvent(e=>{this.updateCssComponentOrientationClass(e)})}updateCssComponentOrientationClass(e){const t=e.contentRect.width/e.contentRect.height>1;this.elements.self.classList.toggle(As,!t),this.elements.self.classList.toggle(Ss,t)}},"SELF",ws),c(e,"NS","hme"),c(e,"IS",_s),e)),h('[data-hme-is="map"]',()=>u(()=>import("./map.jryi3924nxs6lr2z.js"),__vite__mapDeps([28,1])),()=>u(()=>Promise.resolve({}),__vite__mapDeps([29])));const ks="info-banner",Ts=`[data-hme-is="${ks}"]`,Is="hme-info-banner--visible";class Ps extends as{init(){var e;this.setSessionStorageHash(k(Ts)),(null==(e=this.sessionStorageData.hash)?void 0:e.includes(k(this.elements.content.innerHTML)))||(this.addResizeHandler(),this.addEventHandlers(),this.showElement())}showElement(){this.elements.self.classList.add(Is)}
2addResizeHandler(){document.querySelectorAll(A(Ts))[0]===this.elements.self&&this.onResizeEvent(()=>{document.body.style.setProperty("--default-hme-info-banner-height",`${this.elements.self.offsetHeight}px`)})}addEventHandlers(){this.elements.close.addEventListener("click",()=>this.handleCloseClick())}handleCloseClick(){this.sessionStorageData.hash=this.sessionStorageData.hash||[],this.sessionStorageData.hash.push(k(this.elements.content.innerHTML)),this.elements.self.remove()}}c(Ps,"SELF",Ts),c(Ps,"NS","hme"),c(Ps,"IS",ks),_(Ps);const xs="language-dropdown",Cs=`[data-hme-is="${xs}"]`,Vs="hme-language-dropdown--expanded";class Os extends as{constructor(){super(...arguments),c(this,"isOpen",!1)}init(){var e,t;this.elements.menu&&(this.currentMenuLink=(null==(e=this.elements.menuLink)?void 0:e.find(e=>"true"===e.dataset.isActive))||(null==(t=this.elements.menuLink)?void 0:t[0]),this.selectedMenuLink=this.currentMenuLink,this.addEventListeners())}addEventListeners(){var e,t,n;this.elements.button.addEventListener("click",()=>{this.toggleDropdown()}),this.elements.button.addEventListener("keydown",e=>{this.handleButtonKeydown(e)}),null==(e=this.elements.menu)||e.addEventListener("keydown",e=>{this.handleMenuKeydown(e)}),null==(t=this.elements.menu)||t.addEventListener("focusout",e=>{this.handleMenuFocusOut(e)}),null==(n=this.elements.menuLink)||n.forEach(e=>{e.addEventListener("click",e=>{this.selectedMenuLink=e.target,this.selectCurrentMenuLink(),this.closeDropdown()})})}handleButtonKeydown(e){"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),this.toggleDropdown()),"ArrowDown"!==e.key&&"ArrowUp"!==e.key||(e.preventDefault(),this.openDropdown())}handleMenuKeydown(e){var t,n,s,i,a,o;if(" "!==e.key&&"Enter"!==e.key||(e.preventDefault(),this.selectCurrentMenuLink(),this.currentMenuLink.click(),this.closeDropdown()),"Escape"===e.key&&this.closeDropdown(),"ArrowDown"===e.key||"ArrowUp"===e.key){let l;e.preventDefault();const r=(null==(t=this.elements.menuLink)?void 0:t.indexOf(this.selectedMenuLink))||0;l="ArrowDown"===e.key?(r+1)%((null==(n=this.elements.menuLink)?void 0:n.length)||1):(r-1+((null==(s=this.elements.menuLink)?void 0:s.length)||1))%((null==(i=this.elements.menuLink)?void 0:i.length)||1),null==(a=this.elements.menuLink)||a[l].focus(),this.selectedMenuLink=null==(o=this.elements.menuLink)?void 0:o[l]}}handleMenuFocusOut(e){var t;e.relatedTarget&&((null==(t=this.elements.menu)?void 0:t.contains(e.relatedTarget))||e.relatedTarget===this.elements.button)||this.closeDropdown()}toggleDropdown(){this.isOpen?this.closeDropdown():this.openDropdown()}openDropdown(){this.isOpen=!0,this.elements.self.classList.add(Vs),this.elements.button.setAttribute("aria-expanded","true"),this.selectedMenuLink=this.currentMenuLink,this.selectedMenuLink.focus()}closeDropdown(){this.isOpen=!1,this.elements.self.classList.remove(Vs),this.elements.button.setAttribute("aria-expanded","false"),this.elements.button.focus()}selectCurrentMenuLink(){this.currentMenuLink.setAttribute("aria-current","false"),this.currentMenuLink=this.selectedMenuLink,this.currentMenuLink.setAttribute("aria-current","true"),this.elements.buttonTextLanguage.textContent=this.currentMenuLink.textContent}}function Ds(){return U.has("hfr-type")&&"USER"===U.get("hfr-type")||function(){if(U.has("ma2-login"))try{const e=U.get("ma2-login");if(!e)return!1;const t=JSON.parse(e),n=1e3*+t.exp>Date.now(),s=!t.register;return n&&s}catch(e){return!1}return!1}()}c(Os,"SELF",Cs),c(Os,"NS","hme"),c(Os,"IS",xs),_(Os),h('[data-hme-is="lottie"]',()=>u(()=>import("./lottie.i2l8byjhfv1sjj4y.js"),__vite__mapDeps([30,1])),()=>u(()=>Promise.resolve({}),__vite__mapDeps([31])));const Ms="main-navigation",Rs=`[data-hme-is="${Ms}"]`,Fs="hme-main-navigation--hidden",Hs="hme-main-navigation--expanded",zs="hme-main-navigation--is-second-lvl-nav-active",Ns="hme-main-navigation--fly-out-section-active",Bs="hme-main-navigation__nav-panel-link--active",js="hme-main-navigation--account-select-expanded",$s="hme-main-navigation--is-logged-in",Ws="hme-main-navigation--search-expanded",Ks="data-section-id",Us="data-nested-nav-id",qs="data-link-name";class Ys extends as{constructor(){super(...arguments),c(this,"isOpen",!1),c(this,"isAccountSelectOpen",!1),c(this,"isSearchOpen",!1),c(this,"currentAccountMenuItemIndex",-1),c(this,"activeFirstLevelLink",null),c(this,"activeSecondLevelLink",null),c(this,"activeSecondLevelNav",null),c(this,"activeFlyOutSection",null),c(this,"activeFlyOutSecondarySection",null),c(this,"focusTrapBoundary",null),c(this,"focusTrapHandler",this.trapFocus.bind(this)),c(this,"accountSelectHandler",this.handleAccountSelectOutsideClick.bind(this)),c(this,"searchOutsideClickHandler",this.handleSearchOutsideClick.bind(this)),c(this,"desktopBreakpoint",1024),c(this,"isDesktop",window.matchMedia(`(min-width: ${this.desktopBreakpoint}px)`).matches)}init(){this.setupEventListeners(),Ds()&&this.elements.self.classList.add($s)}setupEventListeners(){var e,t,n,s,i,a,o,l,r,c,d,h,u,m;this.elements.menuButton&&this.elements.menuButton.addEventListener("click",()=>{this.toggleMenu()}),document.addEventListener("keydown",e=>{"Escape"===e.key&&(this.isSearchOpen?this.closeSearch():this.isAccountSelectOpen?this.closeAccountSelect():this.isOpen&&this.closeMenu())}
2),null==(e=this.elements.topBarLink)||e.forEach(e=>{e.addEventListener("click",()=>{this.handleTopBarLink(e)})}),null==(t=this.elements.firstLevelLink)||t.forEach(e=>{e.addEventListener("click",()=>{var t;this.handleFirstLevelLink(e),null==(t=this.activeFlyOutSection)||t.focus({preventScroll:!0})})}),null==(n=this.elements.secondLevelLink)||n.forEach(e=>{e.addEventListener("click",()=>{var t;this.handleSecondLevelLink(e),null==(t=this.activeFlyOutSection)||t.focus({preventScroll:!0})})}),null==(s=this.elements.firstLevelBackButton)||s.addEventListener("click",()=>{var e;this.elements.self.classList.remove(zs,Ns),this.setLastFocusTrapElement(),null==(e=this.activeFirstLevelLink)||e.focus({preventScroll:!0})}),null==(i=this.elements.secondLevelBackButton)||i.addEventListener("click",()=>{var e;this.elements.self.classList.remove(Ns),this.setLastFocusTrapElement(),null==(e=this.activeSecondLevelLink)||e.focus({preventScroll:!0})}),window.addEventListener("resize",()=>{this.handleResize()}),null==(a=this.elements.accountButton)||a.addEventListener("click",()=>{this.toggleAccountSelect()}),null==(o=this.elements.accountButton)||o.addEventListener("keydown",e=>{this.handleAccountButtonKeydown(e)}),null==(l=this.elements.accountMenuItems)||l.forEach(e=>{e.addEventListener("keydown",e=>{this.handleAccountMenuItemKeydown(e)})}),null==(r=this.elements.searchToggle)||r.addEventListener("click",()=>{this.toggleSearch()}),null==(c=this.elements.searchForm)||c.addEventListener("submit",e=>{this.handleSearchSubmit(e)}),null==(h=null==(d=window.HONDA)?void 0:d.MyAccount2)||h.addEventListener("login",()=>{Ds()&&this.elements.self.classList.add($s)}),null==(m=null==(u=window.HONDA)?void 0:u.MyAccount2)||m.addEventListener("logout",()=>{Ds()||this.elements.self.classList.remove($s)})}toggleMenu(){this.isOpen?this.closeMenu():this.openMenu()}setLastFocusTrapElement(){const e=this.elements.self.querySelectorAll('button:not([disabled]), [href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])'),t=Array.prototype.filter.call(e,e=>e.checkVisibility({checkOpacity:!1,checkVisibilityCSS:!0}));this.focusTrapBoundary=t[t.length-1]}trapFocus(e){var t,n,s,i;"Tab"===e.key&&this.isOpen&&(e.target===this.focusTrapBoundary?(e.preventDefault(),null==(t=this.elements.menuButton)||t.focus()):-1===e.target.tabIndex?(e.preventDefault(),null==(n=this.elements.menuButton)||n.focus()):(!this.elements.self.contains(e.target)&&e.target!==document.body||!(null==(s=e.target)?void 0:s.checkVisibility({checkOpacity:!1,checkVisibilityCSS:!0}))&&!(null==(i=this.elements.accountSelectWrapper)?void 0:i.contains(e.target)))&&this.closeMenu())}openMenu(e){var t,n,s;if(this.isSearchOpen&&this.closeSearch({moveFocus:!1}),this.isAccountSelectOpen&&this.closeAccountSelect({moveFocus:!1}),this.isOpen=!0,this.elements.self.classList.add(Hs),null==(t=this.elements.menuButton)||t.setAttribute("aria-label",this.options.closeButtonAriaLabel),null==(n=this.elements.menuButton)||n.setAttribute("aria-expanded","true"),this.isDesktop){const t=e||(null==(s=this.elements.firstLevelLink)?void 0:s[0])||null;t&&this.handleFirstLevelLink(t)}this.setLastFocusTrapElement(),window.addEventListener("keydown",this.focusTrapHandler)}closeMenu(){var e,t,n;this.isSearchOpen&&this.closeSearch({moveFocus:!1}),this.isAccountSelectOpen&&this.closeAccountSelect({moveFocus:!1}),this.isOpen=!1,this.removeActiveClasses(),null==(e=this.elements.menuButton)||e.setAttribute("aria-label",this.options.menuButtonAriaLabel),null==(t=this.elements.menuButton)||t.setAttribute("aria-expanded","false"),null==(n=this.elements.menuButton)||n.focus(),window.removeEventListener("keydown",this.focusTrapHandler)}removeActiveClasses(){var e,t;this.elements.self.classList.remove(Hs,zs,Ns),null==(e=this.activeFirstLevelLink)||e.classList.remove(Bs),null==(t=this.activeSecondLevelLink)||t.classList.remove(Bs)}handleFirstLevelLink(e){var t,n,s,i,a,o,l;if(this.isDesktop?(null==(t=this.activeFirstLevelLink)||t.classList.remove(Bs),e.classList.add(Bs),e.focus(),null==(n=this.activeFirstLevelLink)||n.setAttribute("aria-expanded","fal
2se"),null==(s=this.activeSecondLevelLink)||s.classList.remove(Bs),null==(i=this.activeSecondLevelLink)||i.setAttribute("aria-expanded","false"),this.activeSecondLevelLink=null,e.setAttribute("aria-expanded","true")):this.setActiveLinkMobile({link:e}),this.activeFirstLevelLink=e,null==(a=this.activeFlyOutSection)||a.classList.add(Fs),null==(o=this.activeFlyOutSecondarySection)||o.classList.add(Fs),e.getAttribute(Ks)){const t=e.getAttribute(Ks);this.elements.self.classList.remove(zs),this.elements.self.classList.add(Ns),this.showFlyOutSection(t),this.showSecondaryFlyOutSection(t)}else if(e.getAttribute(Us)){const t=e.getAttribute(Us);this.elements.self.classList.add(zs),this.activeFlyOutSection=null,this.activeFlyOutSecondarySection=null;const n=Array.prototype.find.call(this.elements.secondLevelLinksList,e=>e.getAttribute(Us)===t);if(!n)return;null==(l=this.activeSecondLevelNav)||l.classList.add(Fs),n.classList.remove(Fs),this.activeSecondLevelNav=n;const s=Array.prototype.find.call(this.elements.secondLevelLink,e=>n.contains(e));this.isDesktop&&s&&this.handleSecondLevelLink(s),null==s||s.focus()}this.setLastFocusTrapElement()}handleSecondLevelLink(e){var t,n,s;this.isDesktop?(null==(t=this.activeSecondLevelLink)||t.classList.remove(Bs),e.classList.add(Bs),null==(n=this.activeSecondLevelLink)||n.setAttribute("aria-expanded","false"),e.setAttribute("aria-expanded","true")):this.setActiveLinkMobile({link:e,isSecondLevelLink:!0}),this.activeSecondLevelLink=e,null==(s=this.activeFlyOutSection)||s.classList.add(Fs),this.elements.self.classList.add(Ns);const i=e.getAttribute(Ks),a=Array.prototype.find.call(this.elements.sectionContentWrapper,e=>e.getAttribute(Ks)===i);a&&(a.classList.remove(Fs),this.activeFlyOutSection=a,this.setLastFocusTrapElement())}setActiveLinkMobile({link:e,isSecondLevelLink:t=!1}){const n=t?this.elements.secondLevelBackButtonText:this.elements.firstLevelBackButtonText;n&&(n.textContent=(null==e?void 0:e.getAttribute(qs))||"")}handleTopBarLink(e){const t=Array.prototype.find.call(this.elements.firstLevelLink,t=>t.getAttribute(qs)===e.getAttribute(qs));t&&this.openMenu(t)}showFlyOutSection(e){const t=Array.prototype.find.call(this.elements.sectionContentWrapper,t=>t.getAttribute(Ks)===e);t&&(this.activeFlyOutSection=t,t.classList.remove(Fs))}showSecondaryFlyOutSection(e){const t=Array.prototype.find.call(this.elements.secondarySectionContentWrapper,t=>t.getAttribute(Ks)===e);t&&(this.activeFlyOutSecondarySection=t,t.classList.remove(Fs))}handleResize(){const e=window.matchMedia(`(min-width: ${this.desktopBreakpoint}px)`).matches;e!==this.isDesktop&&(this.isDesktop=e,this.isOpen&&this.closeMenu())}openAccountSelect(){var e;this.isSearchOpen&&this.closeSearch({moveFocus:!1}),this.elements.self.classList.add(js),null==(e=this.elements.accountButton)||e.setAttribute("aria-expanded","true"),window.addEventListener("click",this.accountSelectHandler),this.isAccountSelectOpen=!0,this.currentAccountMenuItemIndex=-1,this.elements.accountMenuItems&&this.elements.accountMenuItems.length>0&&(this.currentAccountMenuItemIndex=0,this.elements.accountMenuItems[0].focus())}closeAccountSelect({moveFocus:e=!0}={}){var t,n;this.elements.self.classList.remove(js),null==(t=this.elements.accountButton)||t.setAttribute("aria-expanded","false"),window.removeEventListener("click",this.accountSelectHandler),this.isAccountSelectOpen=!1,this.currentAccountMenuItemIndex=-1,e&&(null==(n=this.elements.accountButton)||n.focus())}handleAccountSelectOutsideClick(e){var t;(null==(t=this.elements.accountSelectWrapper)?void 0:t.contains(e.target))||this.closeAccountSelect()}toggleAccountSelect(){this.isAccountSelectOpen?this.closeAccountSelect():this.openAccountSelect()}handleAccountButtonKeydown(e){switch(e.key){case"ArrowDown":case"Down":e.preventDefault(),this.isAccountSelectOpen?this.focusNextAccountMenuItem():this.openAccountSelect();break;case"ArrowUp":case"Up":e.preventDefault(),this.isAccountSelectOpen&&this.focusPreviousAccountMenuItem();break;case"Escape":this.isAccountSelectOpen&&(e.preventDefault(),this.closeAccountSelect());break;case"Tab":this.isAccountSelectOpen&&this.closeAccountSelect()}}handleAccountMenuItemKeydown(e){switch(e.key){case"ArrowDown":case"Down":e.preventDefault(),this.focusNextAccountMenuItem();break;case"ArrowUp":case"Up":e.preventDefault(),this.focusPreviousAccountMenuItem();break;case"Home":e.preventDefault(),this.focusFirstAccountMenuItem();break;case"End":e.preventDefault(),this.focusLastAccountMenuItem();break;case"Escape":e.preventDefault(),this.closeAccountSelect();break;case"Tab":e.shiftKey||this.closeAccountSelect()}}focusNextAccountMenuItem(){this.elements.accountMenuItems&&0!==this.elements.accountMenuItems.length&&(this.currentAccountMenuItemIndex=(this.currentAccountMenuItemIndex+1)%this.elements.accountMenuItems.length,this.elements.accountMenuItems[this.currentAccountMenuItemIndex].focus())}focusPreviousAccountMenuItem(){this.elements.accountMenuItems&&0!==this.elements.accountMenuItems.length&&(this.currentAccountMenuItemIndex=this.currentAccountMenuItemIndex<=0?this.elements.accountMenuItems.length-1:this.currentAccountMenuItemIndex-1,this.elements.accountMenuItems[this.currentAccountMenuItemIndex].focus())}focusFirstAccountMenuItem(){this.elements.accountMenuItems&&0!==this.elements.accountMenuItems.length&&(this.currentAccountMenuItemIndex=0,this.elements.accountMenuItems[0].focus())}focusLastAccountMenuItem(){this.elements.accountMenuItems&&0!==this.elements.accountMenuItems.length&&(this.currentAccountMenuItemIndex=this.elements.accountMenuItems.length-1,this.elements.accountMenuItems[this.currentAccountMenuItemIndex].focus())}toggleSearch(){this.isSearchOpen?this.closeSearch():this.openSearch()}openSearch(){var e,t;this.isAccountSelectOpen&&this.closeAccountSelect({moveFocus:!1}),this.isSearchOpen=!0,this.elements.self.classList.add(Ws),null==(e=this.elements.searchToggle)||e.setAttribute("aria-expanded","true"),null==(t=this.elements.searchInput)||t.focu
2s(),document.addEventListener("click",this.searchOutsideClickHandler)}closeSearch({moveFocus:e=!0}={}){var t,n;this.isSearchOpen=!1,this.elements.self.classList.remove(Ws),null==(t=this.elements.searchToggle)||t.setAttribute("aria-expanded","false"),e&&(null==(n=this.elements.searchToggle)||n.focus()),this.elements.searchInput&&(this.elements.searchInput.value=""),document.removeEventListener("click",this.searchOutsideClickHandler)}handleSearchOutsideClick(e){const t=e.target;this.elements.searchFormWrapper&&!this.elements.searchFormWrapper.contains(t)&&this.elements.searchToggle&&!this.elements.searchToggle.contains(t)&&this.closeSearch()}handleSearchSubmit(e){var t,n,s;e.preventDefault();(null==(t=this.elements.searchInput)?void 0:t.value.trim())?null==(s=this.elements.searchForm)||s.submit():null==(n=this.elements.searchInput)||n.focus()}}c(Ys,"SELF",Rs),c(Ys,"NS","hme"),c(Ys,"IS",Ms),_(Ys);class Gs{constructor(e,t,n){c(this,"config"),c(this,"NS"),c(this,"IS"),c(this,"elements"),c(this,"options"),this.config=e,this.NS=t,this.IS=n,(null==e?void 0:e.element)&&(this.cacheElements(e.element),this.cacheOptions(e.options))}cacheElements(e){this.elements={self:e};const t=this.elements.self.querySelectorAll(`[data-${this.NS}-hook-template-${this.IS}]`);for(let n=0;n<t.length;n++){const e=t[n];let s=this.IS;s=s.split("-").map(e=>e.charAt(0).toUpperCase()+e.slice(1)).join("");let i=e.dataset[`${this.NS}HookTemplate${s}`];if(i){const t=i.startsWith("[")&&i.endsWith("]");if(i=t?i.slice(1,-1):i,this.elements[i]){if(!Array.isArray(this.elements[i])){const e=this.elements[i];this.elements[i]=[e]}this.elements[i].push(e)}else this.elements[i]=t?[e]:e}}}cacheOptions(e){this.options=e}fillElement(e,t){t&&(t.innerText=e||"")}fillOrRemoveElement(e,t){t&&(e&&""!==e?t.innerText=e:t.remove())}injectOrRemoveElement(e,t){t&&(e&&null!==e?t.append(...Array.isArray(e)?e:[e]):t.remove())}}var Xs=(e=>(e.LAYOUT_VIDEO="hme-modal--layout-video",e.LAYOUT_12_12_6="hme-modal--layout-12_12-6",e.LAYOUT_12_12_10="hme-modal--layout-12_12-10",e))(Xs||{});const Js="hme-modal--un-closable";class Qs extends Gs{init(){this.addEventListeners(),this.updateA11yAttributes()}addEventListeners(){this.elements.self.addEventListener("click",()=>this.closeModal()),this.elements.self.addEventListener("keydown",e=>this.handleKeyDown(e)),this.elements.wrapper.addEventListener("click",e=>e.stopImmediatePropagation()),this.elements.closeButton.addEventListener("click",e=>{e.preventDefault(),this.closeModal()})}updateA11yAttributes(){var e,t;this.elements.closeText.innerText=(null==(t=null==(e=window.HONDA)?void 0:e.a11y)?void 0:t.modalCloseAriaLabel)||"Close modal dialog"}handleKeyDown(e){"Escape"===e.key&&(this.isUnClosable?e.preventDefault():this.closeModal())}blockScrollingOnBodyElement(){document.body.style.top=`-${window.scrollY}px`,document.body.style.position="fixed",document.body.style.maxWidth="100%"}unblockScrollingOnBodyElement(){const e=document.body.style.top;document.body.style.position="",document.body.style.top="",document.body.style.maxWidth="",window.scrollTo(0,-1*parseInt(e||"0",10))}moveHeaderAndContentElementToModal(){this.dynamicElements.headerElement&&(this.dynamicElements.headerElement.isConnected&&(this.dynamicElements.headerClone=this.dynamicElements.headerElement.cloneNode(!0),this.dynamicElements.headerParent=this.dynamicElements.headerElement.parentElement,this.dynamicElements.headerSibling=this.dynamicElements.headerElement.nextElementSibling,T(this.dynamicElements.headerClone,this.dynamicElements.headerParent,this.dynamicElements.headerSibling)),T(this.dynamicElements.headerElement,this.elements.header)),this.dynamicElements.contentElement&&(this.dynamicElements.contentElement.isConnected&&(this.dynamicElements.contentClone=this.dynamicElements.contentElement.cloneNode(!0),this.dynamicElements.contentParent=this.dynamicElements.contentElement.parentElement,this.dynamicElements.contentSibling=this.dynamicElements.contentElement.nextElementSibling,T(this.dynamicElements.contentClone,this.dynamicElements.contentParent,this.dynamicElements.contentSibling)),T(this.dynamicElements.contentElement,this.elements.content))}removeHeaderAndContentElementFromModal(){var e,t;null==(e=this.dynamicElements.contentClone)||e.remove(),this.dynamicElements.contentElement&&this.dynamicElements.contentParent&&T(this.dynamicElements.contentElement,this.dynamicElements.contentParent,this.dynamicElements.contentSibling),this.elements.content.replaceChildren(),null==(t=this.dynamicElements.headerClone)||t.remove(),this.dynamicElements.headerElement&&this.dynamicElements.headerParent&&T(this.dynamicElements.headerElement,this.dynamicElements.headerParent,this.dynamicElements.headerSibling),this.elements.header.replaceChildren()}isOpen(){return this.elements.self.open}openModal(){var e,t;this.blockScrollingOnBodyElement(),this.moveHeaderAndContentElementToModal(),this.elements.self.classList.toggle(Js,this.isUnClosable||!1),null==(e=this.styles)||e.forEach(e
2=>{this.elements.self.classList.toggle(e,!0)}),this.elements.self.showModal(),null==(t=this.openCallback)||t.call(this)}closeModal(e=!1,t){var n,s;!e&&this.isUnClosable||!this.elements.self.open||(this.removeHeaderAndContentElementFromModal(),this.unblockScrollingOnBodyElement(),this.elements.self.close(),this.elements.self.classList.toggle(Js,!1),null==(n=this.styles)||n.forEach(e=>{this.elements.self.classList.toggle(e,!1)}),this.dynamicElements.initiatorElement&&S(this.dynamicElements.initiatorElement),this.dynamicElements={},null==(s=this.closeCallback)||s.call(this),null==t||t())}}c(Qs,"NS","hme"),c(Qs,"IS","modal");class Zs extends as{constructor(){super(...arguments),c(this,"isTemplateInjected",!1)}init(){this.modalTemplate=I(Qs,'<dialog class="hme-modal" role="dialog">\n <div class="hme-modal__wrapper" data-hme-hook-template-modal="wrapper">\n <button class="hme-modal__close" type="button" data-hme-hook-template-modal="closeButton" autofocus>\n <span class="hme-modal__close-icon" aria-hidden="true"></span>\n <span class="hme-modal__close-text" data-hme-hook-template-modal="closeText"></span>\n </button>\n <div class="hme-modal__header" data-hme-hook-template-modal="header"></div>\n <div class="hme-modal__content" data-hme-hook-template-modal="content"></div>\n </div>\n</dialog>\n'),this.addCustomEventListeners()}addCustomEventListeners(){super.handleEvent("hme-modal.openModal",e=>{this.isTemplateInjected||(document.body.appendChild(this.modalTemplate.elements.self),this.isTemplateInjected=!0),this.modalTemplate.isOpen()?console.warn("Modal is already open. Close it before opening a new one."):e.detail.headerElement instanceof HTMLTemplateElement||e.detail.contentElement instanceof HTMLTemplateElement?console.warn("Modal cannot be opened with html template elements as header or content. Pass real elements instead."):(this.modalTemplate.isUnClosable=e.detail.isUnClosable,this.modalTemplate.styles=e.detail.styles,this.modalTemplate.openCallback=e.detail.openCallback,this.modalTemplate.closeCallback=e.detail.closeCallback,this.modalTemplate.dynamicElements={initiatorElement:e.detail.initiatorElement,headerElement:e.detail.headerElement,contentElement:e.detail.contentElement},this.modalTemplate.openModal())},document.body),super.handleEvent("hme-modal.closeModal",e=>{this.modalTemplate.closeModal(e.detail.bypassIsUnCloseable,e.detail.closeCallback)},document.body)}}c(Zs,"SELF","body"),c(Zs,"NS",""),c(Zs,"IS",""),_(Zs),h('[data-hme-is="performance"]',void 0,()=>u(()=>Promise.resolve({}),__vite__mapDeps([32]))),h('[data-hme-is="product-card-container"]',void 0,()=>u(()=>Promise.resolve({}),__vite__mapDeps([33]))),h('[data-hme-is="range"]',()=>u(()=>import("./range.iw6llvp8d87uil1x.js"),__vite__mapDeps([34,1])),()=>u(()=>Promise.resolve({}),__vite__mapDeps([35]))),h('[data-hme-is="related-articles"]',()=>u(()=>Promise.resolve({}),__vite__mapDeps([36])));const ei={screen:"screen",print:"print",handheld:"handheld",landscape:"(orientation: landscape)",portrait:"(orientation: portrait)",retina2x:"(-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi), (min-resolution: 2dppx)",retina3x:"(-webkit-min-device-pixel-ratio: 3), (min-resolution: 350dpi), (min-resolution: 3dppx)"},ti={px:1,em:.01,rem:.1,"":0},ni=[">=",">","<=","<","â¥","â¤"];function si(e){const t=e.trim();if(g&&Object.hasOwn(g,t))return{value:g[t],unit:"px"};const n=t.match(/^([+-]?[0-9]*\.?[0-9]+)\s*(px|em|rem|cm|mm|%|ch|pc|in|pt|ex|vw|vh|vmin|vmax)?$/i);if(n){return{value:function(e){const t=Number(e.trim());return Number.isNaN(t)?0:t}(n[1]),unit:(n[2]||"px").toLowerCase()}}return{value:0,unit:"px"}}function ii(e){const t=e.trim();if(Object.hasOwn(ei,t))return ei[t].split(",").map(e=>e.trim());const n=function(e){for(const t of ni)if(e.includes(t))return t;return">="}(t),s=function(e,t){const n=e.indexOf(t),s=e.slice(0,Math.max(0,n)).trim();return s.length>0?s:"width"}(t,n),i=function(e){return"<"===e||"<="===e||"â¤"===e?"max":"min"}(n),a=function(e,t){var n;if(">"!==t&&"<"!==t)return e;const s=null!=(n=ti[e.unit])?n:0,i=">"===t?s:-s;return{value:e.value+i,unit:e.unit}}(si(t.slice(t.indexOf(n)+n.length)),n);var o;return[`(${i}-${s}: ${o=a,`${o.value}${o.unit}`})`]}function ai(...e){if("undefined"==typeof window||"function"!=typeof window.matchMedia)return 0===e.length;const t=function(e){if(!e||0===e.length)return["all"];let t=[""];for(const n of e){const e=ii(n),s=[];for(const n of t)for(const t of e){const e=""===n?"":" and ";s.push(`${n}${e}${t}`.trim())}t=s}return t}(e);for(const n of t){if(window.matchMedia(n).matches)return!0}return!1}const oi="secondary-navigation",li=`[data-hme-is="${oi}"]`,ri="hme-secondary-navigation--no-overflow",ci="hme-secondary-navigation--is-sticky";class di extends as{constructor(){super(...arguments),c(this,"isSticky",!1),c(this,"isNoOverflow",!1)}init(){this.elements.links&&(this.addResizeHandler(),this.updateIsNoOverflow()),this.options.isSticky&&(this.addScrollHandler(),this.updateIsSticky())}addScrollHandler(){window.addEventListener("scroll",()=>this.updateIsSticky(),{passive:!0})}addResizeHandler(){this.onResizeEvent(()=>{this.updateIsNoOverflow()})}updateIsSticky(){const e=getComputedStyle(document.body).getPropertyValue("--hme-main-navigation-height"),t=parseInt(e,10)?parseInt(e,10):0;this.isSticky=window.scrollY+t>
2=this.elements.self.offsetTop,this.updateCssClasses()}updateIsNoOverflow(){this.elements.links&&(this.elements.self.classList.add(ri),this.isNoOverflow=this.elements.links.scrollWidth<=this.elements.links.clientWidth,this.updateCssClasses())}updateCssClasses(){var e;this.elements.self.classList.toggle(ci,this.isSticky),this.elements.self.classList.toggle(ri,this.isNoOverflow);const t=this.isNoOverflow&&ai(">=desktop")?this.elements.wrapper.offsetHeight:(null==(e=this.elements.overflowLinks)?void 0:e.offsetHeight)||0;document.body.style.setProperty("--default-hme-secondary-navigation-height",`${t}px`),document.body.style.setProperty("--sticky-hme-secondary-navigation-height",this.options.isSticky?`${t}px`:"0px"),document.body.style.setProperty("--dynamic-hme-secondary-navigation-height",this.isSticky?`${t}px`:"0px")}}c(di,"SELF",li),c(di,"NS","hme"),c(di,"IS",oi),_(di);const hi="select",ui=`[data-hme-is='${hi}']`,mi="hme-select--expanded",pi="hme-select__list-item--selected",fi=".hme-select__list-item-cta";class vi extends as{constructor(){super(...arguments),c(this,"isOpen",!1),c(this,"selectedIndex",0),c(this,"focusedIndex",0)}init(){this.selectItem(0,!1),this.addEventHandlers(),this.addCustomEventListeners()}addEventHandlers(){this.elements.button.addEventListener("click",()=>{this.toggle()}),this.elements.button.addEventListener("keydown",e=>{this.onButtonKeydown(e)}),this.elements.list.addEventListener("keydown",e=>{this.onListKeydown(e)}),this.elements.list.addEventListener("focusout",e=>{this.onListFocusOut(e)}),this.elements.listCtas.forEach((e,t)=>{e.addEventListener("click",()=>{this.selectItem(t)})})}addCustomEventListeners(){super.handleEvent("hme-select.setValue",e=>{const t=parseInt(e.detail.value,10);Number.isNaN(t)||this.selectItem(t,!1,!1)})}open(){this.isOpen=!0,this.elements.self.classList.add(mi),this.elements.button.setAttribute("aria-expanded","true"),this.focusedIndex=this.selectedIndex,this.focusItem(this.focusedIndex)}close(e=!0){this.isOpen=!1,this.elements.self.classList.remove(mi),this.elements.button.setAttribute("aria-expanded","false"),e&&this.elements.button.focus()}toggle(){this.isOpen?this.close():this.open()}onButtonKeydown(e){"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),this.toggle()),"ArrowDown"!==e.key&&"ArrowUp"!==e.key||(e.preventDefault(),this.open())}onListKeydown(e){var t;if(" "!==e.key&&"Enter"!==e.key||(e.preventDefault(),this.selectItem(this.focusedIndex),this.close()),"Escape"===e.key&&(e.preventDefault(),this.close()),"Tab"!==e.key){if("ArrowDown"===e.key||"ArrowUp"===e.key||"ArrowLeft"===e.key||"ArrowRight"===e.key){e.preventDefault();const n=null!=(t=this.elements.listItems)?t:[];if(0===n.length)return;let s;s="ArrowDown"===e.key||"ArrowRight"===e.key?(this.focusedIndex+1)%n.length:(this.focusedIndex-1+n.length)%n.length,this.focusedIndex=s,this.focusItem(this.focusedIndex)}}else this.close(!1)}onListFocusOut(e){e.relatedTarget&&(this.elements.list.contains(e.relatedTarget)||e.relatedTarget===this.elements.button)||this.close()}selectItem(e,t=!0,n=!0){var s;this.selectedIndex=e,null==(s=this.elements.listItems)||s.forEach((e,t)=>{e.classList.toggle(pi,t===this.selectedIndex)}),this.updateButtonContent(),this.updateTabIndices(),this.close(t),n&&this.dispatchEventChange()}dispatchEventChange(){var e;const t=null==(e=this.elements.listItems)?void 0:e[this.selectedIndex];if(!t)return;const n=t.querySelector(fi);(null==n?void 0:n.value)&&super.dispatchEvent("hme-select.change",{value:n.value})}focusItem(e){var t;const n=null==(t=this.elements.listItems)?void 0:t[e];if(!n)return;const s=n.querySelector(fi);null==s||s.focus()}updateButtonContent(){var e;if(this.options.hasLabel)return;const t=null==(e=this.elements.listItems)?void 0:e[this.selectedIndex];if(!t||!this.elements.buttonContent)return;const n=t.querySelector(fi);n&&(this.elements.buttonContent.innerHTML=n.innerHTML)}updateTabIndices(){var e;null==(e=this.elements.listCtas)||e.forEach((e,t)=>{e.setAttribute("tabindex",t===this.selectedIndex?"0":"-1")})}}c(vi,"SELF",ui),c(vi,"NS","hme"),c(vi,"IS",hi),_(vi);const gi="select-multifield",yi=`[data-hme-is='${gi}']`,Ei="hme-select-multifield--expanded",bi="hme-select-multifield__option--selected",Li=".hme-select-multifield__option-label",_i=".hme-select-multifield__option-text";class wi extends as{constructor(){super(...arguments),c(this,"isOpen",!1),c(this,"selectedValues",[])}init(){this.cacheComponentOptions(),this.addEventHandlers(),this.addCustomEventListeners(),this.updateButtonText()}cacheComponentOptions(){var e,t;this.options.placeholder||(this.options.placeholder=(null==(t=null==(e=this.elements.buttonText)?void 0:e.textContent)?void 0:t.trim())||""),this.options.separator||(this.options.separator=", ")}addEventHandlers(){this.elements.button.addEventListener("click",()=>{this.toggle()}),this.elements.button.addEventListener("keydown",e=>{this.onButtonKeydown(e)}),this.elements.dropdown.addEventListener("keydown",e=>{this.onDropdownKeydown(e)}),this.elements.dropdown.addEventListener("focusout",e=>{this.onDropdownFocusOut(e)}
2),this.elements.optionInputs.forEach((e,t)=>{e.addEventListener("change",()=>{this.onOptionChange(t)})}),this.elements.optionLabels.forEach((e,t)=>{e.addEventListener("mouseenter",()=>{this.onOptionHover(t)})}),this.elements.confirm.addEventListener("click",()=>{this.confirmSelection()}),document.addEventListener("click",e=>{this.onDocumentClick(e)})}onDocumentClick(e){this.isOpen&&(this.elements.self.contains(e.target)||this.close())}addCustomEventListeners(){super.handleEvent("hme-select-multifield.setValue",e=>{this.setSelectedValues(e.detail.values,!1)})}open(){this.isOpen=!0,this.elements.self.classList.add(Ei),this.elements.button.setAttribute("aria-expanded","true")}close(e=!0){this.isOpen=!1,this.elements.self.classList.remove(Ei),this.elements.button.setAttribute("aria-expanded","false"),e&&this.elements.button.focus()}toggle(){this.isOpen?this.close():this.open()}onButtonKeydown(e){"Enter"!==e.key&&" "!==e.key&&"ArrowDown"!==e.key&&"ArrowUp"!==e.key||(e.preventDefault(),this.open(),this.focusFirstOption())}onDropdownKeydown(e){if("Escape"===e.key)return e.preventDefault(),void this.close();if("Tab"===e.key){if(!e.shiftKey&&document.activeElement===this.elements.confirm)return void this.close(!1);const t=this.elements.optionInputs.find(e=>!e.disabled);if(e.shiftKey&&t&&document.activeElement===t)return void this.close(!1)}if("ArrowDown"===e.key||"ArrowUp"===e.key)return e.preventDefault(),void this.focusOption("ArrowDown"===e.key?"next":"previous");if("Enter"===e.key||" "===e.key){const t=document.activeElement,n=this.elements.optionInputs.indexOf(t);-1!==n&&(e.preventDefault(),this.toggleOption(n)),t===this.elements.confirm&&(e.preventDefault(),this.confirmSelection())}}onDropdownFocusOut(e){if(!e.relatedTarget)return void this.close();const t=e.relatedTarget;this.elements.self.contains(t)||this.close()}onOptionChange(e){const t=this.elements.optionInputs[e],n=t.value;t.checked?this.selectedValues.includes(n)||this.selectedValues.push(n):this.selectedValues=this.selectedValues.filter(e=>e!==n),this.updateOptionState(e)}onOptionHover(e){var t;this.isOpen&&(null==(t=this.elements.optionInputs[e])||t.focus())}toggleOption(e){const t=this.elements.optionInputs[e];t.checked=!t.checked,this.onOptionChange(e)}updateOptionState(e){const t=this.elements.optionInputs[e];this.elements.options[e].classList.toggle(bi,t.checked),t.setAttribute("aria-checked",t.checked?"true":"false")}setSelectedValues(e,t=!0){this.selectedValues=[...e],this.elements.optionInputs.forEach((e,t)=>{e.checked=this.selectedValues.includes(e.value),this.updateOptionState(t)}),this.updateButtonText(),t&&this.dispatchChangeEvent()}confirmSelection(){this.updateButtonText(),this.close(),this.dispatchChangeEvent()}updateButtonText(){if(!this.elements.buttonText)return;const e=this.elements.optionInputs.filter(e=>e.checked).map(e=>{var t,n;const s=null==(t=e.closest(Li))?void 0:t.querySelector(_i);return(null==(n=null==s?void 0:s.textContent)?void 0:n.trim())||e.dataset.label||e.value});0===e.length?(this.elements.buttonText.textContent=this.options.placeholder||"",this.elements.self.classList.remove("hme-select-multifield--filled")):(this.elements.buttonText.textContent=e.join(this.options.separator),this.elements.self.classList.add("hme-select-multifield--filled"))}focusFirstOption(){const e=this.elements.optionInputs.find(e=>!e.disabled);null==e||e.focus()}focusOption(e){var t,n;const s=this.elements.optionInputs,i=s.indexOf(document.activeElement);let a=i;a="next"===e?-1===i?0:(i+1)%s.length:-1===i?s.length-1:(i-1+s.length)%s.length,(null==(t=s[a])?void 0:t.disabled)?this.focusOption(e):null==(n=s[a])||n.focus()}dispatchChangeEvent(){const e=this.elements.optionInputs.filter(e=>e.checked).map(e=>e.dataset.label||e.value);super.dispatchEvent("hme-select-multifield.change",{values:[...this.selectedValues],labels:e})}}c(wi,"SELF",yi),c(wi,"NS","hme"),c(wi,"IS",gi),_(wi);const Si="select-slider",Ai=`[data-hme-is='${Si}']`,ki="hme-select-slider--expanded",Ti="hme-select-slider--dragging",Ii="hme-select-slider__handle--dragging";class Pi extends as{constructor(){super(...arguments),c(this,"isOpen",!1),c(this,"min",0),c(this,"max",100),c(this,"step",1),c(this,"minValue",0),c(this,"maxValue",100),c(this,"draggingHandle",null)}init(){this.parseOptions(),this.addEventHandlers(),this.addCustomEventListeners(),this.updateSliderVisuals(),this.updateButtonText()}parseOptions(){var e,t;if(this.min=this.parseNumberOption(this.options.min,0),this.max=this.parseNumberOption(this.options.max,100),this.step=this.parseNumberOption(this.options.step,1),this.min>this.max){const e=this.min;this.min=this.max,this.max=e}this.minValue=this.min,this.maxValue=this.max,this.options.placeholder||(this.options.placeholder=(null==(t=null==(e=this.elements.buttonText)?void 0:e.textContent)?void 0:t.trim())||""),this.options.currency||(this.options.currency=""),this.options.currencyPosition||(this.options.currencyPosition="£"===this.options.currency?"prefix":"suffix")}parseNumberOption(e,t){if(null==e)return t;const n="number"==typeof e?e:Number(e);return Number.isNaN(n)?t:n}addEventHandlers(){this.elements.button.addEventListener("click",()=>{this.toggle()}),this.elements.button.addEventListener("keydown",e=>{this.onButtonKeydown(e)}),this.elements.dropdown.addEventListener("keydown",e=>{this.onDropdownKeydown(e)}),this.elements.dropdown.addEventListener("focusout",e=>{this.onDropdownFocusOut(e)}),this.elements.minHandle.addEventListener("mousedown",e=>{this.startDrag("min",e)}),this.elements.minHandle.addEventListener("touchstart",e=>{this.startDrag("min",e)},{passive:!1}),this.elements.minHandle.addEventListener("keydown",e=>{this.onHandleKeydown("min",e)}),this.elements.maxHandle.addEventListener("mousedown",e=>{this.startDrag("max",e)}),this.elements.maxHandle.addEventListener("touchstart",e=>{this.startDrag("max",e)},{passive:!1}),this.elements.maxHandle.addEventListener("keydown",e=>{this.onHandleKeydown("max",e)}),this.elements.slider.addEventListener("click",e=>{this.onSliderClick(e)}),this.elements.confirm.addEventListener("click",()=>{this.confirmSelection()}),document.addEventListener("mousemove",e=>{this.onDragMove(e)}),document.addEventListener("mouseup",()=>
2{this.stopDrag()}),document.addEventListener("touchmove",e=>{this.onDragMove(e)},{passive:!1}),document.addEventListener("touchend",()=>{this.stopDrag()}),document.addEventListener("click",e=>{this.onDocumentClick(e)})}onDocumentClick(e){this.isOpen&&(this.elements.self.contains(e.target)||this.close())}addCustomEventListeners(){super.handleEvent("hme-select-slider.setValue",e=>{this.setValues(e.detail.min,e.detail.max,!1)})}open(){this.isOpen=!0,this.elements.self.classList.add(ki),this.elements.button.setAttribute("aria-expanded","true")}close(e=!0){this.isOpen=!1,this.elements.self.classList.remove(ki),this.elements.button.setAttribute("aria-expanded","false"),e&&this.elements.button.focus()}toggle(){this.isOpen?this.close():this.open()}onButtonKeydown(e){"Enter"!==e.key&&" "!==e.key&&"ArrowDown"!==e.key&&"ArrowUp"!==e.key||(e.preventDefault(),this.open(),this.elements.minHandle.focus())}onDropdownKeydown(e){if("Escape"===e.key)return e.preventDefault(),void this.close();"Tab"!==e.key||e.shiftKey||document.activeElement!==this.elements.confirm?"Tab"===e.key&&e.shiftKey&&document.activeElement===this.elements.minHandle&&this.close(!1):this.close(!1)}onDropdownFocusOut(e){if(!e.relatedTarget)return void this.close();const t=e.relatedTarget;this.elements.self.contains(t)||this.close()}startDrag(e,t){t.preventDefault(),this.draggingHandle=e,this.elements.self.classList.add(Ti),this.elements[`${e}Handle`].classList.add(Ii)}stopDrag(){this.draggingHandle&&this.elements[`${this.draggingHandle}Handle`].classList.remove(Ii),this.draggingHandle=null,this.elements.self.classList.remove(Ti)}onDragMove(e){if(!this.draggingHandle)return;e.preventDefault();const t="touches"in e?e.touches[0].clientX:e.clientX,n=this.getPercentageFromClientX(t),s=this.percentageToValue(n);this.setHandleValue(this.draggingHandle,s)}onSliderClick(e){if(e.target.closest(".hme-select-slider__handle"))return;const t=this.getPercentageFromClientX(e.clientX),n=this.percentageToValue(t),s=Math.abs(n-this.minValue),i=Math.abs(n-this.maxValue);this.setHandleValue(s<=i?"min":"max",n)}onHandleKeydown(e,t){let n=0;if("ArrowLeft"===t.key||"ArrowDown"===t.key)n=-this.step;else{if("ArrowRight"!==t.key&&"ArrowUp"!==t.key)return"Home"===t.key?(this.setHandleValue(e,this.min),void t.preventDefault()):"End"===t.key?(this.setHandleValue(e,this.max),void t.preventDefault()):void 0;n=this.step}t.preventDefault();const s="min"===e?this.minValue:this.maxValue;this.setHandleValue(e,s+n)}getPercentageFromClientX(e){const t=this.elements.slider.getBoundingClientRect(),n=(e-t.left)/t.width;return Math.max(0,Math.min(1,n))}percentageToValue(e){const t=this.min+e*(this.max-this.min),n=Math.round(t/this.step)*this.step;return Math.max(this.min,Math.min(this.max,n))}valueToPercentage(e){return(e-this.min)/(this.max-this.min)}setHandleValue(e,t){const n=Math.max(this.min,Math.min(this.max,t));"min"===e?this.minValue=Math.min(n,this.maxValue):this.maxValue=Math.max(n,this.minValue),this.updateSliderVisuals()}setValues(e,t,n=!0){if(this.minValue=Math.max(this.min,Math.min(this.max,e)),this.maxValue=Math.max(this.min,Math.min(this.max,t)),this.minValue>this.maxValue){const e=this.minValue;this.minValue=this.maxValue,this.maxValue=e}this.updateSliderVisuals(),this.updateButtonText(),n&&this.dispatchChangeEvent()}updateSliderVisuals(){const e=100*this.valueToPercentage(this.minValue),t=100*this.valueToPercentage(this.maxValue);this.elements.minHandle.style.left=`${e}%`,this.elements.maxHandle.style.left=`${t}%`,this.elements.range.style.left=`${e}%`,this.elements.range.style.width=t-e+"%",this.elements.minValue.textContent=this.formatCurrency(this.minValue),this.elements.maxValue.textContent=this.formatCurrency(this.maxValue),this.elements.minHandle.setAttribute("aria-valuenow",String(this.minValue)),this.elements.maxHandle.setAttribute("aria-valuenow",String(this.maxValue))}updateButtonText(){this.elements.buttonText&&(this.minValue===this.min&&this.maxValue===this.max?(this.elements.buttonText.textContent=this.options.placeholder||"",this.elements.self.classList.remove("hme-select-slider--filled")):(this.elements.buttonText.textContent=`${this.formatCurrency(this.minValue)} - ${this.formatCurrency(this.maxValue)}`,this.elements.self.classList.add("hme-select-slider--filled")))}
2formatCurrency(e){const t=e.toLocaleString();return this.options.currency?"prefix"===this.options.currencyPosition?`${this.options.currency}${t}`:`${t} ${this.options.currency}`:t}confirmSelection(){this.updateButtonText(),this.close(),this.dispatchChangeEvent()}dispatchChangeEvent(){super.dispatchEvent("hme-select-slider.change",{min:this.minValue,max:this.maxValue})}}c(Pi,"SELF",Ai),c(Pi,"NS","hme"),c(Pi,"IS",Si),_(Pi);class xi extends Gs{init(){this.addEventListeners(),this.updateA11yAttributes()}addEventListeners(){this.elements.self.addEventListener("click",()=>this.closeShelf()),this.elements.self.addEventListener("keydown",e=>this.handleKeyDown(e)),this.elements.wrapper.addEventListener("click",e=>e.stopImmediatePropagation()),this.elements.closeButton.addEventListener("click",e=>{e.preventDefault(),this.closeShelf()})}updateA11yAttributes(){var e,t;this.elements.closeText.innerText=(null==(t=null==(e=window.HONDA)?void 0:e.a11y)?void 0:t.shelfCloseAriaLabel)||"Close"}handleKeyDown(e){"Escape"===e.key&&this.closeShelf()}blockScrollingOnBodyElement(){document.body.style.top=`-${window.scrollY}px`,document.body.style.position="fixed",document.body.style.maxWidth="100%"}unblockScrollingOnBodyElement(){const e=document.body.style.top;document.body.style.position="",document.body.style.top="",document.body.style.maxWidth="",window.scrollTo(0,-1*parseInt(e||"0",10))}moveContentElementToShelf(){this.dynamicElements.contentElement&&(this.dynamicElements.contentElement.isConnected&&(this.dynamicElements.contentClone=this.dynamicElements.contentElement.cloneNode(!0),this.dynamicElements.contentParent=this.dynamicElements.contentElement.parentElement,this.dynamicElements.contentSibling=this.dynamicElements.contentElement.nextElementSibling,T(this.dynamicElements.contentClone,this.dynamicElements.contentParent,this.dynamicElements.contentSibling)),T(this.dynamicElements.contentElement,this.elements.content))}removeContentElementFromShelf(){var e;null==(e=this.dynamicElements.contentClone)||e.remove(),this.dynamicElements.contentElement&&this.dynamicElements.contentParent&&T(this.dynamicElements.contentElement,this.dynamicElements.contentParent,this.dynamicElements.contentSibling),this.elements.content.replaceChildren()}isOpen(){return this.elements.self.open}openShelf(e){var t;this.elements.title.textContent=null!=e?e:"",this.blockScrollingOnBodyElement(),this.moveContentElementToShelf(),this.elements.self.showModal(),null==(t=this.openCallback)||t.call(this)}closeShelf(e,t){var n;if(!this.elements.self.open)return;this.removeContentElementFromShelf(),this.unblockScrollingOnBodyElement(),this.elements.self.close(),this.elements.title.textContent="";const s=e||this.dynamicElements.initiatorElement;s&&S(s,!0,!1,!!e),this.dynamicElements={},null==(n=this.closeCallback)||n.call(this),null==t||t()}}c(xi,"NS","hme"),c(xi,"IS","shelf");class Ci extends as{constructor(){super(...arguments),c(this,"isTemplateInjected",!1)}init(){this.shelfTemplate=I(xi,'<dialog class="hme-shelf" role="dialog">\n <div class="hme-shelf__wrapper" data-hme-hook-template-shelf="wrapper">\n <div class="hme-shelf__header">
2\n <span class="hme-shelf__title" data-hme-hook-template-shelf="title"></span>\n <button class="hme-shelf__close" type="button" data-hme-hook-template-shelf="closeButton">\n <span class="hme-shelf__close-icon" aria-hidden="true"></span>\n <span class="hme-shelf__close-text" data-hme-hook-template-shelf="closeText"></span>\n </button>\n </div>\n <div class="hme-shelf__content" data-hme-hook-template-shelf="content"></div>\n </div>\n</dialog>\n'),this.addCustomEventListeners()}addCustomEventListeners(){super.handleEvent("hme-shelf.openShelf",e=>{this.isTemplateInjected||(document.body.appendChild(this.shelfTemplate.elements.self),this.isTemplateInjected=!0),this.shelfTemplate.isOpen()?console.warn("Shelf is already open. Close it before opening a new one."):(this.shelfTemplate.openCallback=e.detail.openCallback,this.shelfTemplate.closeCallback=e.detail.closeCallback,this.shelfTemplate.dynamicElements={initiatorElement:e.detail.initiatorElement,contentElement:e.detail.contentElement},this.shelfTemplate.openShelf(e.detail.title))},document.body),super.handleEvent("hme-shelf.closeShelf",e=>{this.shelfTemplate.closeShelf(e.detail.scrollTargetElement,e.detail.closeCallback)},document.body)}}c(Ci,"SELF","body"),c(Ci,"NS",""),c(Ci,"IS",""),_(Ci),h('[data-hme-is="social-share"]',()=>u(()=>import("./social-share.neh22oqcokexlmxs.js"),__vite__mapDeps([37,1])),(
2)=>u(()=>Promise.resolve({}),__vite__mapDeps([38]))),h('[data-hme-is="sound-sample"]',()=>u(()=>import("./sound-sample.fh8oxx7l62hx4gd9.js"),__vite__mapDeps([39,1])),()=>u(()=>Promise.resolve({}),__vite__mapDeps([40]))),h('[data-hme-is="table"]',()=>u(()=>import("./table.g77tg58dqd1zes27.js"),__vite__mapDeps([41,1])),()=>u(()=>Promise.resolve({}),__vite__mapDeps([42])));const Vi="tabs",Oi=`[data-hme-is="${Vi}"]`,Di={TAB:"hme-tabs__tab--active",TABPANEL:"hme-tabs__tabpanel--active"},Mi={LIGHT:"hme-tabs--theme-light",DARK:"hme-tabs--theme-dark"};_((t=class extends as{constructor(){super(...arguments),c(this,"_active",-1)}init(){var e;this.onViewEntryEvent(()=>{this.visibleTabWrapper=P(this.elements.tabWrapperHeader)?this.elements.tabWrapperHeader:this.elements.tabWrapperFooter,this.visibleTab=P(this.elements.tabWrapperHeader)?this.elements.tabHeader:this.elements.tabFooter,this._active=this.getActiveIndex(this.visibleTab),this.elements.tabpanel&&(this.refreshActive(),this.updateThemeClass(),this.bindEvents(),this.bindSynchronizationEvents(),this.scrollToDeepLinkIdInTabs())},!0),null==(e=L)||e.subscribeRequestMessage("cmp.panelcontainer",e=>{e.data&&"hme-tabs"===e.data.type&&e.data.id===this.elements.self.dataset.cmpPanelcontainerId&&"navigate"===e.data.operation&&this.navigate(e.data.index)})}getActiveIndex(e){if(e)for(let t=0;t<e.length;t++)if(e[t].classList.contains(Di.TAB))return t;return 0}refreshActive(){const e=this.elements.tabpanel,t=this.visibleTab;if(e)for(let n=0;n<e.length;n++)n===this._active?(e[n].classList.add(Di.TABPANEL),e[n].removeAttribute("aria-hidden"),t[n].classList.add(Di.TAB),t[n].setAttribute("aria-selected","true"),t[n].setAttribute("tabindex","0")):(e[n].classList.remove(Di.TABPANEL),e[n].setAttribute("aria-hidden","true"),t[n].classList.remove(Di.TAB),t[n].setAttribute("aria-selected","false"),t[n].setAttribute("tabindex","-1"))}bindEvents(){window.addEventListener("hashchange",()=>this.scrollToDeepLinkIdInTabs(),!1);const e=this.visibleTab;if(Array.isArray(e))for(let t=0;t<e.length;t++)(n=>{e[t].addEventListener("click",()=>{this.navigateAndFocusTab(n)}),e[t].addEventListener("keydown",e=>{this.onKeyDown(e)})})(t)}onKeyDown(e){const t=this._active,n=this.visibleTab.length-1;switch(e.key){case"ArrowLeft":case"ArrowUp":e.preventDefault(),t>0&&this.navigateAndFocusTab(t-1);break;case"ArrowRight":case"ArrowDown":e.preventDefault(),t<n&&this.navigateAndFocusTab(t+1);break;case"Home":e.preventDefault(),this.navigateAndFocusTab(0);break;case"End":e.preventDefault(),this.navigateAndFocusTab(n);break;default:return}}navigate(e){this._active=e,this.refreshActive(),this.updateThemeClass()}navigateAndFocusTab(e,t=!0){this.navigate(e),S(this.visibleTabWrapper,!1),this.visibleTab[e].focus({preventScroll:!0}),this.visibleTabWrapper.scrollTo(this.visibleTab[e].offsetLeft-3,0),t&&this.dispatchSynchronizationEvent(e)}updateThemeClass(){const e=this.visibleTab[this._active];if(!e)return;const t=e.dataset.hmeTabTheme;this.elements.self.classList.remove(Mi.LIGHT,Mi.DARK),t===Mi.LIGHT?this.elements.self.classList.add(Mi.LIGHT):t===Mi.DARK&&this.elements.self.classList.add(Mi.DARK)}bindSynchronizationEvents(){super.handleEvent("hme-tabs:sync",e=>{const{source:t,identifier:n}=e.detail||{};if(!n)return;if(t===this.elements.self)return;const s=this.getTabIndexBySynchronizationIdentifier(n);s>-1&&s!==this._active&&this.navigate(s)},document.body)}dispatchSynchronizationEvent(e){const t=this.getSynchronizationIdentifier(e);t&&super.dispatchEvent("hme-tabs:sync",{source:this.elements.self,identifier:t})}getSynchronizationIdentifier(e){if(!(e<0||e>=this.visibleTab.length))return this.visibleTab[e].dataset.hmeTabIdentifier}getTabIndexBySynchronizationIdentifier(e){for(let t=0;t<this.visibleTab.length;t++)if(this.visibleTab[t].dataset.hmeTabIdentifier===e)return t;return-1}scrollToDeepLinkIdInTabs(){const e=x(this.visibleTab,this.elements.tabpanel);if(e>-1){const t=this.visibleTab[e],n=window.location.hash.substring(1);if(t&&this.visibleTab[this._active].id!==t.id&&this.navigateAndFocusTab(e),n){const e=document.querySelector(`[id='${n}']`);e&&(S(e,!0),C())}}}},c(t,"SELF",Oi),c(t,"NS","hme"),c(t,"IS",Vi),t));
2const Ri="hme",Fi="tabs-vertical",Hi=`[data-${Ri}-is="${Fi}"]`,zi={TAB:"hme-tabs-vertical__tab--active",TABPANEL:"hme-tabs-vertical__tabpanel--active",TAB_ITEM:"hme-tabs-vertical__tab-item--active",SHEET_TAB:"hme-tabs-vertical__sheet-tab--active",SHEET_TAB_ITEM:"hme-tabs-vertical__sheet-tab-item--active",SHEET_TAB_ITEM_LIST:"hme-tabs-vertical__sheet-tab-item-list--active"},Ni={EXPANDED_TRIGGER:"hme-tabs-vertical__sheet-trigger--expanded"};class Bi extends as{constructor(){super(...arguments),c(this,"_active",-1),c(this,"_sheetScrollTargetId"),c(this,"_visibleTabpanelItems",new Set)}init(){var e;this._active=this.getActiveIndex(this.elements.tab),this.renderSheetContent(),this.elements.tabpanel&&(this.refreshActiveTab(),this.bindEvents(),this.bindSheetEvents(),this.observeTabpanelItems(),this.updateLegacyDeepLinkId(),this.scrollToDeepLinkIdInTabs()),null==(e=L)||e.subscribeRequestMessage("cmp.panelcontainer",e=>{e.data&&"hme-tabs-vertical"===e.data.type&&e.data.id===this.elements.self.dataset.cmpPanelcontainerId&&"navigate"===e.data.operation&&this.navigate(e.data.index)})}getActiveIndex(e){if(e)for(let t=0;t<e.length;t++)if(e[t].classList.contains(zi.TAB))return t;return 0}refreshActiveTab(){const e=this.elements.tabpanel,t=this.elements.tab;if(e)for(let n=0;n<e.length;n++)n===this._active?(e[n].classList.add(zi.TABPANEL),e[n].removeAttribute("aria-hidden"),t[n].classList.add(zi.TAB),t[n].setAttribute("aria-selected","true"),t[n].setAttribute("tabindex","0")):(e[n].classList.remove(zi.TABPANEL),e[n].setAttribute("aria-hidden","true"),t[n].classList.remove(zi.TAB),t[n].setAttribute("aria-selected","false"),t[n].setAttribute("tabindex","-1"));this.refreshSheetTrigger()}refreshSheetTrigger(){var e,t,n,s;const i=null==(e=this.elements.sheetTab)?void 0:e[this._active],a=null!=(n=null==(t=null==i?void 0:i.textContent)?void 0:t.trim())?n:"";this.elements.sheetTriggerLabel&&(this.elements.sheetTriggerLabel.textContent=a),null==(s=this.elements.sheetTab)||s.forEach((e,t)=>{e.classList.toggle(zi.SHEET_TAB,t===this._active)})}bindEvents(){var e,t;window.addEventListener("hashchange",()=>this.scrollToDeepLinkIdInTabs(),!1);for(let n=0;n<this.elements.tab.length;n++)(e=>{this.elements.tab[n].addEventListener("click",()=>{this.navigateAndFocusTab(e)}),this.elements.tab[n].addEventListener("keydown",e=>{this.onTabKeyDown(e)})})(n);for(let n=0;n<this.elements.tabItem.length;n++)this.elements.tabItem[n].addEventListener("click",e=>{e.stopPropagation(),this.onTabItemClick(e.target)}),this.elements.tabItem[n].addEventListener("keydown",e=>{this.onTabItemKeyDown(e)});null==(e=this.elements.self.querySelectorAll('a[href="#next"]'))||e.forEach(e=>{e.addEventListener("click",e=>{e.preventDefault(),this.navigateNext()})}),null==(t=this.elements.self.querySelectorAll('a[href="#prev"]'))||t.forEach(e=>{e.addEventListener("click",e=>{e.preventDefault(),this.navigatePrev()})})}observeTabpanelItems(){var e;if(!(null==(e=this.elements.tabpanelItem)?void 0:e.length))return;const t=new IntersectionObserver(e=>this.onTabpanelItemsIntersect(e),{root:null,rootMargin:"-10% 0px -30% 0px",threshold:0});this.elements.tabpanelItem.forEach(e=>{t.observe(e)})}onTabpanelItemsIntersect(e){e.forEach(e=>{const t=e.target;e.isIntersecting?this._visibleTabpanelItems.add(t):this._visibleTabpanelItems.delete(t)});const t=this.elements.tabpanelItem.find(e=>this._visibleTabpanelItems.has(e));t&&this.onTabpanelItemInView(t)}onTabpanelItemInView(e){var t,n;null==(t=this.elements.tabItem)||t.forEach(t=>{t.classList.toggle(zi.TAB_ITEM,t.dataset.id===e.id)}),null==(n=this.elements.sheetTabItem)||n.forEach(t=>{t.classList.toggle(zi.SHEET_TAB_ITEM,t.dataset.id===e.id)})}onTabKeyDown(e){const t=this._active,n=this.elements.tab.length-1;switch(e.key){case"ArrowLeft":case"ArrowUp":e.preventDefault(),t>0&&this.navigateAndFocusTab(t-1);break;case"ArrowRight":case"ArrowDown":e.preventDefault(),t<n&&this.navigateAndFocusTab(t+1);break;case"Home":e.preventDefault(),this.navigateAndFocusTab(0);break;case"End":e.preventDefault(),this.navigateAndFocusTab(n);break;default:return}}onTabItemClick(e){const t=document.getElementById(e.dataset.id||"");console.log("targetElement",t),t&&S(t,!0,!1,!0)}onTabItemKeyDown(e){const t=e.target;let n=null;switch(e.key){case"Enter":case" ":return e.preventDefault(),void this.onTabItemClick(t);case"ArrowLeft":case"ArrowUp":e.stopPropagation(),e.preventDefault(),n=t.previousElementSibling;break;case"ArrowRight":case"ArrowDown":e.stopPropagation(),e.preventDefault(),n=t.nextElementSibling;break;default:return}n&&-1!==this.elements.tabItem.indexOf(n)&&this.focusTabItem(t,n,!0)}focusTabItem(e,t,n=!0){e.setAttribute("tabindex","-1"),t.setAttribute("tabindex","0"),n&&t.focu
2s()}navigate(e){this._active=e,this.refreshActiveTab()}navigateNext(){const e=this.elements.tab.length-1;this._active<e&&this.navigateAndFocusTab(this._active+1)}navigatePrev(){this._active>0&&this.navigateAndFocusTab(this._active-1)}navigateAndFocusTab(e){this.navigate(e),S(this.elements.tab[e]),S(this.elements.tabpanel[e],!1,void 0,!0)}scrollToDeepLinkIdInTabs(){const e=x(this.elements.tab,this.elements.tabpanel);if(e>-1){const t=this.elements.tab[e],n=window.location.hash.substring(1);if(t&&this.elements.tab[this._active].id!==t.id&&this.navigateAndFocusTab(e),n){const e=document.querySelector(`[id='${n}']`);e&&(S(e,!0),C())}}}updateLegacyDeepLinkId(){const e=window.location.hash.substring(1);if(!e.startsWith("/"))return;const t=e.split("/").filter(Boolean),n=t[t.length-1];if(!n)return;const s=n.indexOf(":"),i=s>-1?n.slice(s+1):n;i&&V(i)}renderSheetContent(){const e=this.elements.sheetContentTemplate;if(!e)return;const t=document.createElement("div");t.append(e.content.cloneNode(!0)),this.elements.sheetContent=t,this.elements.sheetCategoryView=t.querySelector(`[data-${Ri}-hook-${Fi}="sheetCategoryView"]`),this.elements.sheetTab=Array.from(t.querySelectorAll(`[data-${Ri}-hook-${Fi}="[sheetTab]"]`)),this.elements.sheetFeatureView=t.querySelector(`[data-${Ri}-hook-${Fi}="sheetFeatureView"]`),this.elements.sheetAllFeatures=t.querySelector(`[data-${Ri}-hook-${Fi}="sheetAllFeatures"]`),this.elements.sheetTabItemList=Array.from(t.querySelectorAll(`[data-${Ri}-hook-${Fi}="[sheetTabItemList]"]`)),this.elements.sheetTabItem=Array.from(t.querySelectorAll(`[data-${Ri}-hook-${Fi}="[sheetTabItem]"]`))}bindSheetEvents(){var e,t;this.elements.sheetContent&&(this.elements.sheetTrigger.addEventListener("click",()=>this.openSheet()),this.elements.sheetAllFeatures.addEventListener("click",()=>this.showSheetCategoryView()),null==(e=this.elements.sheetTab)||e.forEach((e,t)=>{e.addEventListener("click",()=>this.showSheetFeatureView(t)),e.addEventListener("keydown",e=>this.onSheetItemKeyDown(e,()=>this.showSheetFeatureView(t)))}),null==(t=this.elements.sheetTabItem)||t.forEach(e=>{e.addEventListener("click",()=>this.onSheetFeatureItemClick(e)),e.addEventListener("keydown",t=>this.onSheetItemKeyDown(t,()=>this.onSheetFeatureItemClick(e)))}))}onSheetItemKeyDown(e,t){"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),t())}openSheet(){this.showSheetFeatureView(this._active),this.elements.sheetContent.hidden=!1,super.dispatchEvent("hme-shelf.openShelf",{initiatorElement:this.elements.sheetTrigger,contentElement:this.elements.sheetContent,title:"Features",openCallback:()=>{this.elements.sheetTrigger.classList.add(Ni.EXPANDED_TRIGGER),this.elements.sheetTrigger.setAttribute("aria-expanded","true")},closeCallback:()=>this.onSheetClose()})}closeSheet(){var e;const t=this._sheetScrollTargetId,n=t&&null!=(e=document.getElementById(t))?e:void 0;super.dispatchEvent("hme-shelf.closeShelf",{scrollTargetElement:n})}onSheetClose(){this.elements.sheetTrigger.classList.remove(Ni.EXPANDED_TRIGGER),this.elements.sheetTrigger.setAttribute("aria-expanded","false"),this.elements.sheetContent.hidden=!0,this._sheetScrollTargetId=void 0}showSheetCategoryView(){this.elements.sheetFeatureView.hidden=!0,this.elements.sheetCategoryView.hidden=!1}showSheetFeatureView(e){var t;null==(t=this.elements.sheetTabItemList)||t.forEach(t=>{t.classList.toggle(zi.SHEET_TAB_ITEM_LIST,parseInt(t.dataset.tabIndex||"-1",10)===e)}),this.elements.sheetCategoryView.hidden=!0,this.elements.sheetFeatureView.hidden=!1}onSheetFeatureItemClick(e){const t=parseInt(e.dataset.tabIndex||"-1",10);Number.isNaN(t)||t===this._active||this.navigate(t),this._sheetScrollTargetId=e.dataset.id,this.closeSheet()}}c(Bi,"SELF",Hi),c(Bi,"NS",Ri),c(Bi,"IS",Fi),_(Bi),h('[data-hme-is="technology-card"]',()=>u(()=>import("./technology-card.cqpqd9m0t2d8xb04.js"),__vite__mapDeps([43,1])),()=>u(()=>Promise.resolve({}),__vite__mapDeps([44]))),h('[data-hme-is="technology-list"]',void 0,()=>u(()=>Promise.resolve({}),__vite__mapDeps([45]))),h('[data-hme-is="three-sixty-exterior"]',()=>u(()=>
2import("./three-sixty-exterior.bkk2cknenszxuzuc.js"),__vite__mapDeps([46,1])),()=>u(()=>Promise.resolve({}),__vite__mapDeps([47]))),h('[data-hme-is="three-sixty-interior"]',()=>u(()=>import("./three-sixty-interior.k9fqha5btfvhd5zl.js"),__vite__mapDeps([48,1])),()=>u(()=>Promise.resolve({}),__vite__mapDeps([49]))),h('[data-hme-is="three-sixty-motorcycle"]',()=>u(()=>import("./three-sixty-motorcycle.l10pprjbfco6rk0v.js"),__vite__mapDeps([50,1])),()=>u(()=>Promise.resolve({}),__vite__mapDeps([51]))),h('[data-hme-is="three-sixty-swatches"]',()=>u(()=>import("./three-sixty-swatches.vaf5dqocspzkw7wg.js"),__vite__mapDeps([52,1])),()=>u(()=>Promise.resolve({}),__vite__mapDeps([53]))),_(gs);class ji extends HTMLElement{connectedCallback(){this.videoId=this.getAttribute("videoid");let e=this.querySelector(".lyt-playbtn,.lty-playbtn");if(this.playLabel=e&&e.textContent.trim()||this.getAttribute("playlabel")||"Play",this.dataset.title=this.getAttribute("title")||"",this.style.backgroundImage||(this.style.backgroundImage=`url("https://i.ytimg.com/vi/${this.videoId}/hqdefault.jpg")`,this.upgradePosterImage()),e||(e=document.createElement("button"),e.type="button",e.classList.add("lyt-playbtn","lty-playbtn"),this.append(e)),!e.textContent){const t=document.createElement("span");t.className="lyt-visually-hidden",t.textContent=this.playLabel,e.append(t)}this.addNoscriptIframe(),"A"===e.nodeName&&(e.removeAttribute("href"),e.setAttribute("tabindex","0"),e.setAttribute("role","button"),e.addEventListener("keydown",e=>{"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),this.activate())})),this.addEventListener("pointerover",ji.warmConnections,{once:!0}),this.addEventListener("focusin",ji.warmConnections,{once:!0}),this.addEventListener("click",this.activate),this.needsYTApi=this.hasAttribute("js-api")||navigator.vendor.includes("Apple")||navigator.userAgent.includes("Mobi")}static addPrefetch(e,t,n){const s=document.createElement("link");s.rel=e,s.href=t,n&&(s.as=n),document.head.append(s)}static warmConnections(){ji.preconnected||(ji.addPrefetch("preconnect","https://www.youtube-nocookie.com"),ji.addPrefetch("preconnect","https://www.google.com"),ji.addPrefetch("preconnect","https://googleads.g.doubleclick.net"),ji.addPrefetch("preconnect","https://static.doubleclick.net"),ji.preconnected=!0)}fetchYTPlayerApi(){window.YT||window.YT&&window.YT.Player||(this.ytApiPromise=new Promise((e,t)=>{var n=document.createElement("script");n.src="https://www.youtube.com/iframe_api",n.async=!0,n.onload=t=>{YT.ready(e)},n.onerror=t,this.append(n)}))}getYTPlayer(){return d(this,null,function*(){return this.playerPromise||(yield this.activate()),this.playerPromise})}addYTPlayerIframe(){return d(this,null,function*(){this.fetchYTPlayerApi(),yield this.ytApiPromise;const e=document.createElement("div");this.append(e);const t=Object.fromEntries(this.getParams().entries());this.playerPromise=new Promise(n=>{let s=new YT.Player(e,{width:"100%",videoId:this.videoId,playerVars:t,events:{onReady:e=>{e.target.playVideo(),n(s)}}})})})}addNoscriptIframe(){const e=this.createBasicIframe(),t=document.createElement("noscript");t.innerHTML=e.outerHTML,this.append(t)}getParams(){const e=new URLSearchParams(this.getAttribute("params")||[]);return e.append("autoplay","1"),e.append("playsinline","1"),e}activate(){return d(this,null,function*(){if(this.classList.contains("lyt-activated"))return;if(this.classList.add("lyt-activated"),this.needsYTApi)return this.addYTPlayerIframe(this.getParams());const e=this.createBasicIframe();this.append(e),e.focus()})}createBasicIframe(){const e=document.createElement("iframe");return e.width=560,e.height=315,e.title=this.playLabel,e.allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",e.allowFullscreen=!0,e.referrerPolicy="strict-origin-when-cross-origin",e.src=`https://www.youtube-nocookie.com/embed/${encodeURIComponent(this.videoId)}?${this.getParams().toString()}`,e}upgradePosterImage(){setTimeout(()=>{const e=`https://i.ytimg.com/vi_webp/${this.videoId}/sddefault.webp`,t=new Image;t.fetchPriority="low",t.referrerpolicy="origin",t.src=e,t.onload=t=>
2{90==t.target.naturalHeight&&120==t.target.naturalWidth||(this.style.backgroundImage=`url("${e}")`)}},100)}}customElements.define("lite-youtube",ji);const $i="video",Wi=`[data-hme-is="${$i}"]`,Ki="hme-video--playing",Ui="hme-video--paused",qi="hme-video--landscape",Yi="hme-video--portrait",Gi="hme-video--controls-active",Xi="lyt-activated";class Ji extends as{constructor(){super(...arguments),c(this,"wasVideoPlayingOnDocumentVisibilityChange"),c(this,"onViewLeavePlayerState"),c(this,"onResizePreviousVisibleElement"),c(this,"controlsVisibilityTimeout")}init(){if(!v()){switch(this.options.videoMode){case"default":if(!O()&&void 0===this.elements.alternateVideo)return;O()&&this.addPreloadHandlers();break;case"autoplay":case"background":case"modal-template":this.addPreloadHandlers()}this.addResizeHandler(),this.addEventHandlers()}}addEventHandlers(){var e,t,n;null==(e=this.elements.actionsPlay)||e.addEventListener("click",()=>this.handleActionPlayClick()),null==(t=this.elements.actionsPause)||t.addEventListener("click",()=>this.handleActionPauseClick()),null==(n=this.elements.actionsModal)||n.addEventListener("click",e=>this.handleActionModalClick(e)),"background"===this.options.videoMode&&(this.elements.self.addEventListener("mousemove",w(()=>this.showControls(),1e3)),this.elements.self.addEventListener("touchstart",()=>this.showControls()),this.elements.self.addEventListener("focusin",()=>this.showControls()),this.elements.self.addEventListener("mouseleave",()=>this.hideControls()))}addResizeHandler(){void 0!==this.elements.alternateVideo&&(this.onResizeEvent(()=>this.transferPlayersStateOnResize()),CSS.supports("container-type","size")||this.onResizeEvent(e=>this.updateCssComponentOrientationClass(e)))}addPreloadHandlers(){this.onPreloadEvent(()=>this.preloadEvent(this.elements.mainVideo),this.elements.mainVideo),void 0!==this.elements.alternateVideo&&this.onPreloadEvent(()=>this.preloadEvent(this.elements.alternateVideo),this.elements.alternateVideo)}handleActionPlayClick(){this.play()}handleActionPauseClick(){this.pause()}handleActionModalClick(e){this.elements.modalTemplate?super.dispatchEvent("hme-modal.openModal",{initiatorElement:e.target,contentElement:this.elements.modalTemplate.content.cloneNode(!0),styles:[Xs.LAYOUT_VIDEO]},document.body):console.warn("Modal template is not defined for the video component.")}play(){const e=this.onResizePreviousVisibleElement||(P(this.elements.mainVideo)?this.elements.mainVideo:this.elements.alternateVideo);null==e||e.getYTPlayer().then(e=>{e.playVideo(),this.elements.self.classList.add(Ki),this.elements.self.classList.remove(Ui),this.elements.actionsPause&&S(this.elements.actionsPause)})}pause(){const e=this.onResizePreviousVisibleElement||(P(this.elements.mainVideo)?this.elements.mainVideo:this.elements.alternateVideo);null==e||e.getYTPlayer().then(e=>{e.pauseVideo(),this.elements.self.classList.remove(Ki),this.elements.self.classList.add(Ui),this.elements.actionsPlay&&S(this.elements.actionsPlay)})}mute(){const e=this.onResizePreviousVisibleElement||(P(this.elements.mainVideo)?this.elements.mainVideo:this.elements.alternateVideo);null==e||e.getYTPlayer().then(e=>{e.mute()})}unMute(){const e=this.onResizePreviousVisibleElement||(P(this.elements.mainVideo)?this.elements.mainVideo:this.elements.alternateVideo);null==e||e.getYTPlayer().then(e=>{e.unMute()})}showControls(){void 0!==this.controlsVisibilityTimeout&&clearTimeout(this.controlsVisibilityTimeout),this.elements.self.classList.add(Gi),this.controlsVisibilityTimeout=window.setTimeout(()=>{this.elements.self.classList.remove(Gi),this.controlsVisibilityTimeout=void 0},3e3)}hideControls(){void 0!==this.controlsVisibilityTimeout&&clearTimeout(this.controlsVisibilityTimeout),this.elements.self.classList.remove(Gi)}preloadEvent(e){e.getYTPlayer().then(t=>{this.updatePlayerForVideoModes(t),this.onViewEntryEvent(()=>this.viewEntryEvent(e),!1,e),this.onViewLeaveEvent(()=>this.viewLeaveEvent(e),!1,e),document.addEventListener("visibilitychange",()=>this.documentVisibilityChangeEvent(t)),super.dispatchEvent("hme-video.ready",{self:this.elements.self})})}updatePlayerForVideoModes(e){if("background"===this.options.videoMode){const t=this.getPlayerIdFromIframe(e);e.addEventListener("onStateChange",t=>{0===t.data?e.playVideo():1===t.data?(this.elements.self.classList.add(Ki),this.elements.self.classList.remove(Ui)):2===t.data&&(this.elements.self.classList.remove(Ki),this.elements.self.classList.add(Ui))}),window.addEventListener("message",n=>{const s=f(n.data),i=String(null==s?void 0:s.id);-1!==n.origin.indexOf("https://www.youtube.com")&&s&&i===t&&this.loopBackgroun
2dVideo(e,s)})}"autoplay"!==this.options.videoMode&&"background"!==this.options.videoMode||(e.mute(),e.pauseVideo())}getPlayerIdFromIframe(e){const t=e.getIframe().src;return new URL(t).searchParams.get("widgetid")}loopBackgroundVideo(e,t){var n,s,i,a;const o=null==(s=null==(n=t.info)?void 0:n.progressState)?void 0:s.seekableEnd,l=null==(a=null==(i=t.info)?void 0:i.progressState)?void 0:a.current;o&&l&&o-l<.5&&(e.seekTo(0,!0),e.playVideo())}viewEntryEvent(e){"autoplay"!==this.options.videoMode&&"background"!==this.options.videoMode||e.getYTPlayer().then(e=>{if(this.onViewLeavePlayerState)switch(this.onViewLeavePlayerState.state){case-1:case 1:case 3:e.playVideo();break;default:e.pauseVideo()}else window.matchMedia("(prefers-reduced-motion: reduce)").matches?e.pauseVideo():e.playVideo()})}viewLeaveEvent(e){e.getYTPlayer().then(e=>{this.onViewLeavePlayerState={state:e.getPlayerState(),isMuted:e.isMuted(),volume:e.getVolume()},"autoplay"===this.options.videoMode&&(0===e.getVolume()||e.isMuted())&&e.pauseVideo(),"background"===this.options.videoMode&&e.pauseVideo()})}documentVisibilityChangeEvent(e){"visible"===document.visibilityState&&this.wasVideoPlayingOnDocumentVisibilityChange&&e.playVideo(),"hidden"===document.visibilityState&&(this.wasVideoPlayingOnDocumentVisibilityChange=1===e.getPlayerState())}updateCssComponentOrientationClass(e){const t=e.contentRect.width/e.contentRect.height>=1;this.elements.self.classList.toggle(Yi,!t),this.elements.self.classList.toggle(qi,t)}getPlayerState(e){return{state:e.getPlayerState(),isMuted:e.isMuted(),volume:e.getVolume()}}updatePlayerState(e,t){switch(t.state){case-1:case 1:case 3:e.playVideo();break;default:e.pauseVideo()}t.isMuted&&t.isMuted?e.mute():e.unMute(),t.volume&&e.setVolume(t.volume)}transferPlayersStateOnResize(){return d(this,null,function*(){var e,t,n;let s;if(this.elements.mainVideo&&P(this.elements.mainVideo)&&(s=this.elements.mainVideo),this.elements.alternateVideo&&P(this.elements.alternateVideo)&&(s=this.elements.alternateVideo),!(null==(e=this.elements.mainVideo)?void 0:e.classList.contains(Xi))&&!(null==(t=this.elements.alternateVideo)?void 0:t.classList.contains(Xi)))return;if(void 0!==this.onResizePreviousVisibleElement&&this.onResizePreviousVisibleElement!==s){let e;null==(n=this.onResizePreviousVisibleElement)||n.getYTPlayer().then(t=>{null==s||s.getYTPlayer().then(n=>{e=this.onViewLeavePlayerState?this.onViewLeavePlayerState:this.getPlayerState(t),this.updatePlayerState(n,e),t.pauseVideo(),this.onViewLeavePlayerState=void 0})})}this.onResizePreviousVisibleElement=s})}}c(Ji,"SELF",Wi),c(Ji,"NS","hme"),c(Ji,"IS",$i),_(Ji),h('[data-hme-is="voting-card"]',()=>u(()=>import("./voting-card.fvqtbe0f81lfzcpl.js"),__vite__mapDeps([54,1])),()=>u(()=>Promise.resolve({}),__vite__mapDeps([55]))),h('[data-hme-is="voting-list"]',()=>u(()=>import("./voting-list.nb63rmeuh5gbftbr.js"),__vite__mapDeps([56,1])),()=>u(()=>Promise.resolve({}),__vite__mapDeps([57]))),h('[data-hme-is="dialog-elements"]',()=>u(()=>import("./dialog-elements.k3vlfw8oc5kbw8wy.js"),__vite__mapDeps([58,1])),()=>u(()=>Promise.resolve({}),__vite__mapDeps([59]))),D('[data-hme-analytics="accordion"]',()=>u(()=>import("./accordion.analytics.m7bj34xghqyqlbss.js"),__vite__mapDeps([60,61,1]))),D('[data-hme-analytics="ctas"]',()=>u(()=>import("./ctas.analytics.dljqraorh3koh3yr.js"),__vite__mapDeps([62,61,1]))),D('[data-hme-analytics="hero"]',()=>u(()=>import("./hero.analytics.jyraxf3rq794winn.js"),__vite__mapDeps([63,61,1]))),D('[data-hme-analytics="info-banner"]',()=>u(()=>import("./info-banner.analytics.o41xlp90sb691m98.js"),__vite__mapDeps([64,61,1]))),D('[data-hme-analytics="list"]',()=>u(()=>import("./list.analytics.hqxfodo28q4urn7x.js"),__vite__mapDeps([65,61,1]))),D('[data-hme-analytics="product-card-container"]',()=>u(()=>import("./product-card-container.analytics.hho8u84muzag67gv.js"),__vite__mapDeps([66,61,1]))),D('[data-hme-analytics="range"]',()=>u(()=>import("./range.analytics.lenm2i3rjyfe3rnx.js"),__vite__mapDeps([67,61,1]))),D('[data-hme-analytics="sound-sample"]',()=>u(()=>import("./sound-sample.analytics.krkbw3qjpaymxcpx.js"),__vite__mapDeps([68,61,1]))),D('[data-hme-analytics="tabs"]',()=>u(()=>import("./tabs.analytics.z74j5i7ffhpc6upp.js"),__vite__mapDeps([69,61,1]))),D('[data-hme-analytics="text"]',()=>u(()=>import("./text.analytics.n2o2fsxx5ip40mxy.js"),__vite__mapDeps([70,61,1]))),D('[data-hme-analytics="video-sample"]',()=>u(()=>import("./video-sample.analytics.kltgknrc3e3j7ma5.js"),__vite__mapDeps([71,61,1]))),D('[data-hme-analytics="voting-card"]',()=>u(()=>import("./voting-card.analytics.jzlntw349orqp2c5.js"),__vite__mapDeps([72,61,1]))),D('[data-hme-analytics="voting-list"]',()=>u(()=>import("./voting-list.analytics.8kix4fvg4r8qnere.js"),__vite__mapDeps([73,1,61]))),N.cfg.lazyClass="hme-lazy";export{as as A,Xs as P,qn as S,Gs as a,M as c,ai as m};
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.