1var _t=document.querySelectorAll(".dropdown__toggle");for(var M=0,Me=_t.length;M<Me;M++){var ze=_t[M];ze.addEventListener("click",function(e){this.parentNode.classList.toggle("dropdown--active"),e.preventDefault()})}var kt=document.querySelectorAll(".dropdown__link");for(var M=0;M<kt.length;M++){var Tt=kt[M];Tt.parentNode.parentNode.parentNode,Tt.addEventListener("click",function(){var n=this.parentNode.parentNode.parentNode;n.classList.toggle("dropdown--active")})}window.addEventListener("click",function(e){for(var n=document.querySelectorAll(".dropdown--active"),r=0,c=n.length;r<c;r++){var u=n[r];u.contains(e.target)||u.classList.remove("dropdown--active")}});var _=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function W(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var le={exports:{}};(function(e){(function(n,r){e.exports?e.exports=r():n.svg4everybody=r()})(_,function(){/*! svg4everybody v2.1.9 | github.com/jonathantneal/svg4everybody */function n(t,a,o){if(o){var i=document.createDocumentFragment(),l=!a.hasAttribute("viewBox")&&o.getAttribute("viewBox");l&&a.setAttribute("viewBox",l);for(var s=o.cloneNode(!0);s.childNodes.length;)i.appendChild(s.firstChild);t.appendChild(i)}}function r(t){t.onreadystatechange=function(){if(t.readyState===4){var a=t._cachedDocument;a||(a=t._cachedDocument=document.implementation.createHTMLDocument(""),a.body.innerHTML=t.responseText,t._cachedTarget={}),t._embeds.splice(0).map(function(o){var i=t._cachedTarget[o.id];i||(i=t._cachedTarget[o.id]=a.getElementById(o.id)),n(o.parent,o.svg,i)})}},t.onreadystatechange()}function c(t){function a(){for(var x=0;x<C.length;){var S=C[x],p=S.parentNode,v=u(p),y=S.getAttribute("xlink:href")||S.getAttribute("href");if(!y&&i.attributeName&&(y=S.getAttribute(i.attributeName)),v&&y){if(o)if(!i.validate||i.validate(y,v,S)){p.removeChild(S);var b=y.split("#"),w=b.shift(),A=b.join("#");if(w.length){var L=g[w];L||(L=g[w]=new XMLHttpRequest,L.open("GET",w),L.send(),L._embeds=[]),L._embeds.push({parent:p,svg:v,id:A}),r(L)}else n(p,v,document.getElementById(A))}else++x,++E}else++x}(!C.length||C.length-E>0)&&f(a,67)}var o,i=Object(t),l=/\bTrident\/[567]\b|\bMSIE (?:9|10)\.0\b/,s=/\bAppleWebKit\/(\d+)\b/,d=/\bEdge\/12\.(\d+)\b/,h=/\bEdge\/.(\d+)\b/,m=window.top!==window.self;o="polyfill"in i?i.polyfill:l.test(navigator.userAgent)||(navigator.userAgent.match(d)||[])[1]<10547||(navigator.userAgent.match(s)||[])[1]<537||h.test(navigator.userAgent)&&m;var g={},f=window.requestAnimationFrame||setTimeout,C=document.getElementsByTagName("use"),E=0;o&&a()}function u(t){for(var a=t;a.nodeName.toLowerCase()!=="svg"&&(a=a.parentNode););return a}return c})})(le);var Be=le.exports;const Oe=W(Be),Ne=document.querySelectorAll("[data-animate]"),We=new IntersectionObserver(e=>{let n=200;for(const r of e){const{isIntersecting:c,target:u}=r;u.getAttribute("data-animate")!=="true"&&c&&(setTimeout(()=>{u.setAttribute("data-animate","true")},n),n+=150)}});for(const e of Ne)We.observe(e);const Re=(e,n)=>{const r=()=>{document.documentElement.scrollTop},c=i=>Promise.allSettled(i.getAnimations().map(l=>l.finished)),u=i=>{const l=i.getAttribute("href"),s=i.getAttribute("data-automodal-type");return s||(l.startsWith("#")?"id":l.includes("youtube.com/shorts/")?"short":l.includes("youtube.com")||l.includes("youtu.be")?"youtube":l.includes("tiktok.com")?"tiktok":l.includes("instagram.com/p/")?"instagram":l.includes("instagram.com/reel/")?"reel":l.includes("vimeo.com")?"vimeo":l.includes("google.com/maps/")?"map":"image")},t=(i,l)=>`<iframe src="${i}" ${l&&`title="${l}"`} allow="autoplay; fullscreen;"></iframe>`,a=async i=>{const l=i.getAttribute("href"),s=u(i),d=i.getAttribute("data-automodal-alt")??"",h=i.getAttribute("data-automodal-title")??"";if(s==="fetch")return(await(await fetch(l)).text()).trim();if(s==="iframe")return t(l,h);if(s==="id")return document.querySelector(l).outerHTML.trim();if(s==="short"){const g=`https://www.youtube.com/embed/${l.split("/shorts/")[1]}`;return t(g,h)}if(s==="youtube"){let m="https://www.youtube.com/embed/";return l.includes("youtube.com")&&(m+=l.split("v=")[1].replace("&","?")),l.includes("youtu.be")&&(m+=l.split("youtu.be/")[1]),t(m,h)}if(s==="tiktok"){const g=`https://www.tiktok.com/embed/v2/${l.split("/video/")[1]}`;return t(g,h)}if(s==="instagram"){const g=`https://www.instagram.com/p/${l.split("/p/")[1].split("/")[0]}/embed/captioned/`;return t(g,h)}if(s==="reel"){const g=`https://www.instagram.com/reel/${l.split("/reel/")[1].split("/")[0]}/embed/captioned/`;return t(g,h)}if(s==="vimeo"){const g=`https://player.vimeo.com/video/${l.split("vimeo.com/")[1]}`;return t(g,h)}if(s==="map"){let m="https://www.google.com/maps/embed/v1/";if(l.includes("/maps/place/")){const g=l.match("(?:/maps/place/)([^/]+)")[1];m+=`place?key=${n.googleMapsAPIKey}&q=${g}`}if(l.includes("/maps/@")){const g=l.match("(?:/maps/@)([^z]+)")[1].split(",");m+=`view?key=${n.googleMapsAPIKey}¢er=${g[0]},${g[1]}&zoom=${g[2]}z`}return t(m,h)}return`<img src="${l}" ${d&&`alt="${d}"`}>`},o=async i=>{const l=u(i),s=i.getAttribute("data-automodal")??"",d=await a(i),h=i.getAttribute("data-automodal-caption")??"";return` 2 <figure class="Automodal__item Automodal__item--${l} ${s&&`Automodal__item--${s}`}"> 3 <div class="Automodal__content">${d}</div> 4 ${h&&`<figcaption class="Automodal__caption">${h}</figcaption>`} 5 </figure> 6 `};e.addEventListener("click",i=>{i.preventDefault();let l=!1,s,d=e.getAttribute("data-automodal-group")??"";d&&(d=document.querySelectorAll(`[data-automodal-group="${d}"]`),s=[...d].indexOf(e));const h=document.createElement("dialog");h.classList.add("Automodal"),h.innerHTML=` 7 <button class="Automodal__close" aria-label="Close"></button> 8 <div class="Automodal__viewport"></div> 9 ${d&&` 10 <button class="Automodal__nav Automodal__nav--prev" aria-label="Previous"></button> 11 <button class="Automodal__nav Automodal__nav--next" aria-label="Next"></button> 12 `} 13 `;const m=h.querySelector(".Automodal__viewport"),g=h.querySelector(".Automodal__nav--prev"),f=h.querySelector(".Automodal__nav--next"),C=h.querySelector(".Automodal__close"),E=async A=>{m.insertAdjacentHTML("beforeend",await o(A)),A.dispatchEvent(new CustomEvent("load"))},x=async A=>
13{if(d&&!l){const L=m.firstElementChild;A==="prev"&&(s=s-1>=0?s-1:d.length-1),A==="next"&&(s=s+1<d.length?s+1:0),l=!0,h.classList.add(`Automodal--${A}`),await E(d[s]);const I=m.lastElementChild;I.classList.add("Automodal__item--add"),r(),I.classList.remove("Automodal__item--add"),L.classList.add("Automodal__item--remove"),await c(I),await c(L),L.remove(),h.classList.remove(`Automodal--${A}`),l=!1}},S=async()=>{h.classList.remove("Automodal--active"),await c(h),h.close(),h.remove()},p=A=>{A.key==="ArrowLeft"&&x("prev"),A.key==="ArrowRight"&&x("next"),A.key==="Escape"&&(A.preventDefault(),S())},v=async()=>{document.body.append(h),h.showModal(),await E(e),r(),h.classList.add("Automodal--active")},y=A=>{A.target===h&&S()},b=()=>{h.addEventListener("keydown",p),h.addEventListener("click",y),g?.addEventListener("click",()=>{x("prev")}),f?.addEventListener("click",()=>{x("next")}),C.addEventListener("click",S)};(()=>{v(),b()})()})},Ve=document.querySelectorAll("[data-automodal]");for(const e of Ve)Re(e);function He(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var V={exports:{}};V.exports;(function(e,n){(function(r,c){e.exports=c(He,n,e)})(_,function(r,c,u){var t=function(a,o,i,l,s,d){for(var h=0,m=["webkit","moz","ms","o"],g=0;g<m.length&&!window.requestAnimationFrame;++g)window.requestAnimationFrame=window[m[g]+"RequestAnimationFrame"],window.cancelAnimationFrame=window[m[g]+"CancelAnimationFrame"]||window[m[g]+"CancelRequestAnimationFrame"];window.requestAnimationFrame||(window.requestAnimationFrame=function(E,x){var S=new Date().getTime(),p=Math.max(0,16-(S-h)),v=window.setTimeout(function(){E(S+p)},p);return h=S+p,v}),window.cancelAnimationFrame||(window.cancelAnimationFrame=function(E){clearTimeout(E)});var f=this;f.options={useEasing:!0,useGrouping:!0,separator:",",decimal:".",easingFn:null,formattingFn:null};for(var C in d)d.hasOwnProperty(C)&&(f.options[C]=d[C]);f.options.separator===""&&(f.options.useGrouping=!1),f.options.prefix||(f.options.prefix=""),f.options.suffix||(f.options.suffix=""),f.d=typeof a=="string"?document.getElementById(a):a,f.startVal=Number(o),f.endVal=Number(i),f.countDown=f.startVal>f.endVal,f.frameVal=f.startVal,f.decimals=Math.max(0,l||0),f.dec=Math.pow(10,f.decimals),f.duration=1e3*Number(s)||2e3,f.formatNumber=function(E){E=E.toFixed(f.decimals),E+="";var x,S,p,v;if(x=E.split("."),S=x[0],p=x.length>1?f.options.decimal+x[1]:"",v=/(\d+)(\d{3})/,f.options.useGrouping)for(;v.test(S);)S=S.replace(v,"$1"+f.options.separator+"$2");return f.options.prefix+S+p+f.options.suffix},f.easeOutExpo=function(E,x,S,p){return S*(-Math.pow(2,-10*E/p)+1)*1024/1023+x},f.easingFn=f.options.easingFn?f.options.easingFn:f.easeOutExpo,f.formattingFn=f.options.formattingFn?f.options.formattingFn:f.formatNumber,f.version=function(){return"1.7.1"},f.printValue=function(E){var x=f.formattingFn(E);f.d.tagName==="INPUT"?this.d.value=x:f.d.tagName==="text"||f.d.tagName==="tspan"?this.d.textContent=x:this.d.innerHTML=x},f.count=function(E){f.startTime||(f.startTime=E),f.timestamp=E;var x=E-f.startTime;f.remaining=f.duration-x,f.options.useEasing?f.countDown?f.frameVal=f.startVal-f.easingFn(x,0,f.startVal-f.endVal,f.duration):f.frameVal=f.easingFn(x,f.startVal,f.endVal-f.startVal,f.duration):f.countDown?f.frameVal=f.startVal-(f.startVal-f.endVal)*(x/f.duration):f.frameVal=f.startVal+(f.endVal-f.startVal)*(x/f.duration),f.countDown?f.frameVal=f.frameVal<f.endVal?f.endVal:f.frameVal:f.frameVal=f.frameVal>f.endVal?f.endVal:f.frameVal,f.frameVal=Math.round(f.frameVal*f.dec)/f.dec,f.printValue(f.frameVal),x<f.duration?f.rAF=requestAnimationFrame(f.count):f.callback&&f.callback()},f.start=function(E){return f.callback=E,f.rAF=requestAnimationFrame(f.count),!1},f.pauseResume=function(){f.paused?(f.paused=!1,delete f.startTime,f.duration=f.remaining,f.startVal=f.frameVal,requestAnimationFrame(f.count)):(f.paused=!0,cancelAnimationFrame(f.rAF))},f.reset=function(){f.paused=!1,delete f.startTime,f.startVal=o,cancelAnimationFrame(f.rAF),f.printValue(f.startVal)},f.update=function(E){cancelAnimationFrame(f.rAF),f.paused=!1,delete f.startTime,f.startVal=f.frameVal,f.endVal=Number(E),f.countDown=f.startVal>f.endVal,f.rAF=requestAnimationFrame(f.count)},f.printValue(f.startVal)};return t})}
13)(V,V.exports);var $e=V.exports;const Ue=W($e);function Ge(e){var n=e.textContent,r=0;e.classList.contains("countup--decimal")&&(r=1);var c=",";e.classList.contains("countup--no-separator")&&(c="");var u=new Ue(e,0,n,r,1,{useEasing:!1,separator:c});u.start()}function ce(){for(var e=document.querySelectorAll(".countup"),n=0,r=e.length;n<r;n++){var c=e[n],u=c.getBoundingClientRect().top-window.innerHeight;u<0&&(c.classList.remove("countup"),Ge(c))}requestAnimationFrame(ce)}ce();var Dt="data-focus-lock",Xe="data-focus-lock-disabled",je="data-no-focus-lock",Ye="data-autofocus-inside",Qe="data-no-autofocus",T=function(e){for(var n=Array(e.length),r=0;r<e.length;++r)n[r]=e[r];return n},H=function(e){return Array.isArray(e)?e:[e]},ue=function(e){return Array.isArray(e)?e[0]:e},Ke=function(e){if(e.nodeType!==Node.ELEMENT_NODE)return!1;var n=window.getComputedStyle(e,null);return!n||!n.getPropertyValue?!1:n.getPropertyValue("display")==="none"||n.getPropertyValue("visibility")==="hidden"},de=function(e){return e.parentNode&&e.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE?e.parentNode.host:e.parentNode},he=function(e){return e===document||e&&e.nodeType===Node.DOCUMENT_NODE},Je=function(e,n){return!e||he(e)||!Ke(e)&&n(de(e))},fe=function(e,n){var r=e.get(n);if(r!==void 0)return r;var c=Je(n,fe.bind(void 0,e));return e.set(n,c),c},Ze=function(e,n){return e&&!he(e)?ii(e)?n(de(e)):!1:!0},pe=function(e,n){var r=e.get(n);if(r!==void 0)return r;var c=Ze(n,pe.bind(void 0,e));return e.set(n,c),c},me=function(e){return e.dataset},ti=function(e){return e.tagName==="BUTTON"},ge=function(e){return e.tagName==="INPUT"},ve=function(e){return ge(e)&&e.type==="radio"},ei=function(e){return!((ge(e)||ti(e))&&(e.type==="hidden"||e.disabled))},ii=function(e){var n=e.getAttribute(Qe);return![!0,"true",""].includes(n)},ye=function(e){var n;return!!(e&&(!((n=me(e))===null||n===void 0)&&n.focusGuard))},qt=function(e){return!ye(e)},ni=function(e){return!!e},ri=function(e,n){var r=e.tabIndex-n.tabIndex,c=e.index-n.index;if(r){if(!e.tabIndex)return 1;if(!n.tabIndex)return-1}return r||c},be=function(e,n,r){return T(e).map(function(c,u){return{node:c,index:u,tabIndex:r&&c.tabIndex===-1?(c.dataset||{}).focusGuard?0:-1:c.tabIndex}}).filter(function(c){return!n||c.tabIndex>=0}).sort(ri)},si=["button:enabled","select:enabled","textarea:enabled","input:enabled","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[tabindex]","[contenteditable]","[autofocus]"],Et=si.join(","),oi="".concat(Et,", [data-focus-guard]"),we=function(e,n){return T((e.shadowRoot||e).children).reduce(function(r,c){return r.concat(c.matches(n?oi:Et)?[c]:[],we(c))},[])},ai=function(e,n){var r;return e instanceof HTMLIFrameElement&&(!((r=e.contentDocument)===null||r===void 0)&&r.body)?U([e.contentDocument.body],n):[e]},U=function(e,n){return e.reduce(function(r,c){var u,t=we(c,n),a=(u=[]).concat.apply(u,t.map(function(o){return ai(o,n)}));return r.concat(a,c.parentNode?T(c.parentNode.querySelectorAll(Et)).filter(function(o){return o===c}):[])},[])},li=function(e){var n=e.querySelectorAll("[".concat(Ye,"]"));return T(n).map(function(r){return U([r])}).reduce(function(r,c){return r.concat(c)},[])},xt=function(e,n){return T(e).filter(function(r){return fe(n,r)}).filter(function(r){return ei(r)})},It=function(e,n){return n===void 0&&(n=new Map),T(e).filter(function(r){return pe(n,r)})},ci=function(e,n,r){return be(xt(U(e,r),n),!0,r)},Pt=function(e,n){return be(xt(U(e),n),!1)},ui=function(e,n){return xt(li(e),n)},O=function(e,n){return e.shadowRoot?O(e.shadowRoot,n):Object.getPrototypeOf(e).contains!==void 0&&Object.getPrototypeOf(e).contains.call(e,n)?!0:T(e.children).some(function(r){var c;if(r instanceof HTMLIFrameElement){var u=(c=r.contentDocument)===null||c===void 0?void 0:c.body;return u?O(u,n):!1}return O(r,n)})},di=function(e){for(var n=new Set,r=e.length,c=0;c<r;c+=1)for(var u=c+1;u<r;u+=1){var t=e[c].compareDocumentPosition(e[u]);(t&Node.DOCUMENT_POSITION_CONTAINED_BY)>0&&n.add(u),(t&Node.DOCUMENT_POSITION_CONTAINS)>0&&n.add(c)}return e.filter(function(a,o){return!n.has(o)})},Ae=function(e){return e.parentNode?Ae(e.parentNode):e},Ee=function(e){var n=H(e);
13return n.filter(Boolean).reduce(function(r,c){var u=c.getAttribute(Dt);return r.push.apply(r,u?di(T(Ae(c).querySelectorAll("[".concat(Dt,'="').concat(u,'"]:not([').concat(Xe,'="disabled"])')))):[c]),r},[])},hi=function(e){try{return e()}catch{return}},N=function(e){if(e===void 0&&(e=document),!(!e||!e.activeElement)){var n=e.activeElement;return n.shadowRoot?N(n.shadowRoot):n instanceof HTMLIFrameElement&&hi(function(){return n.contentWindow.document})?N(n.contentWindow.document):n}},fi=function(e,n){return e===n},pi=function(e,n){return!!T(e.querySelectorAll("iframe")).some(function(r){return fi(r,n)})},mi=function(e,n){return n===void 0&&(n=N(ue(e).ownerDocument)),!n||n.dataset&&n.dataset.focusGuard?!1:Ee(e).some(function(r){return O(r,n)||pi(r,n)})},gi=function(e){e===void 0&&(e=document);var n=N(e);return n?T(e.querySelectorAll("[".concat(je,"]"))).some(function(r){return O(r,n)}):!1},vi=function(e,n){return n.filter(ve).filter(function(r){return r.name===e.name}).filter(function(r){return r.checked})[0]||e},St=function(e,n){return ve(e)&&e.name?vi(e,n):e},yi=function(e){var n=new Set;return e.forEach(function(r){return n.add(St(r,e))}),e.filter(function(r){return n.has(r)})},Ft=function(e){return e[0]&&e.length>1?St(e[0],e):e[0]},Mt=function(e,n){return e.length>1?e.indexOf(St(e[n],e)):n},xe="NEW_FOCUS",bi=function(e,n,r,c){var u=e.length,t=e[0],a=e[u-1],o=ye(r);if(!(r&&e.indexOf(r)>=0)){var i=r!==void 0?n.indexOf(r):-1,l=c?n.indexOf(c):i,s=c?e.indexOf(c):-1,d=i-l,h=n.indexOf(t),m=n.indexOf(a),g=yi(n),f=r!==void 0?g.indexOf(r):-1,C=f-(c?g.indexOf(c):i),E=Mt(e,0),x=Mt(e,u-1);if(i===-1||s===-1)return xe;if(!d&&s>=0)return s;if(i<=h&&o&&Math.abs(d)>1)return x;if(i>=m&&o&&Math.abs(d)>1)return E;if(d&&Math.abs(C)>1)return s;if(i<=h)return x;if(i>m)return E;if(d)return Math.abs(d)>1?s:(u+s+d)%u}},wi=function(e){return function(n){var r,c=(r=me(n))===null||r===void 0?void 0:r.autofocus;return n.autofocus||c!==void 0&&c!=="false"||e.indexOf(n)>=0}},Ai=function(e,n,r){var c=e.map(function(t){var a=t.node;return a}),u=It(c.filter(wi(r)));return u&&u.length?Ft(u):Ft(It(n))},wt=function(e,n){return n===void 0&&(n=[]),n.push(e),e.parentNode&&wt(e.parentNode.host||e.parentNode,n),n},G=function(e,n){for(var r=wt(e),c=wt(n),u=0;u<r.length;u+=1){var t=r[u];if(c.indexOf(t)>=0)return t}return!1},Ei=function(e,n,r){var c=H(e),u=H(n),t=c[0],a=!1;return u.filter(Boolean).forEach(function(o){a=G(a||o,o)||a,r.filter(Boolean).forEach(function(i){var l=G(t,i);l&&(!a||O(l,a)?a=l:a=G(l,a))})}),a},xi=function(e,n){return e.reduce(function(r,c){return r.concat(ui(c,n))},[])},Si=function(e,n){var r=new Map;return n.forEach(function(c){return r.set(c.node,c)}),e.map(function(c){return r.get(c)}).filter(ni)},Ci=function(e,n){var r=N(H(e).length>0?document:ue(e).ownerDocument),c=Ee(e).filter(qt),u=Ei(r||e,e,c),t=new Map,a=Pt(c,t),o=ci(c,t).filter(function(m){var g=m.node;return qt(g)});if(!(!o[0]&&(o=a,!o[0]))){var i=Pt([u],t).map(function(m){var g=m.node;return g}),l=Si(i,o),s=l.map(function(m){var g=m.node;return g}),d=bi(s,i,r,n);if(d===xe){var h=Ai(a,s,xi(c,t));if(h)return{node:h};console.warn("focus-lock: cannot find any node to move focus into");return}return d===void 0?d:l[d]}},Li=function(e,n){"focus"in e&&e.focus(n),"contentWindow"in e&&e.contentWindow&&e.contentWindow.focus()},X=0,j=!1,_i=function(e,n,r){r===void 0&&(r={});var c=Ci(e,n);if(!j&&c){if(X>2){console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),j=!0,setTimeout(function(){j=!1},1);return}X++,Li(c.node,r.focusOptions),X--}},At=0,zt=null,ki=function(){return document&&document.activeElement===document.body},Ti=function(){return ki()||gi()},Di=function(){var n=!1;if(At){var r=At;Ti()||(r&&!mi(r)&&(n=_i(r,zt)),zt=document.activeElement)}return n},qi=function(n){return n.filter(function(r){return r}).slice(-1)[0]},Ii=function(n){At=n,n&&Di()},F=[],$=function(n){return Ii(qi(F))?(n&&n.preventDefault(),!0):!1},Pi=function(){document.addEventListener("focusin",$)},Fi=function(){document.removeEventListener("focusin",$)},R={on:function(n){F.length===0&&Pi(),F.indexOf(n)<0&&(F.push(n),$())},off:function(n){F=F.filter(function(r){return r!==n}),$(),F.length===0&&Fi()}};const Mi=document.querySelectorAll("[data-expand]");for(const e of Mi){const n=e.getAttribute("data-expand"),r=()=>e.getAttribute("aria-expanded")==="true";if(e.hasAttribute("aria-expanded")||e.setAttribute("aria-expanded",!1),n||e.addEventListener("click",()=>{e.setAttribute("aria-expanded",!r())}),n==="group"){const c=e.closest("[data-expand-group]"),t=[...c.querySelectorAll('[data-expand="group"]')].filter(a=>a.closest("[data-expand-group]")===c);e.addEventListener("click",()=>{for(const a of t)a.setAttribute("aria-expanded",a===e)})}if(n==="popup"){const c=document.documentElement,u=e.hasAttribute("data-expand-lock"),t=e.getAttribute("data-expand-toggle"),a=e.nextElementSibling;e.addEventListener("click",()=>{e.setAttribute("aria-expanded",!r()),t&&(r()?c.setAttribute(`data-${t}`,""):c.removeAttribute(`data-${t}`)),u&&(r()?R.on(a.parentNode):R.off(a.parentNode))}),document.addEventListener("click",o=>
13{e&&a&&r()&&!e.contains(o.target)&&!a.contains(o.target)&&(e.setAttribute("aria-expanded",!1),t&&c.removeAttribute(`data-${t}`),u&&R.off(a.parentNode))}),document.addEventListener("keydown",o=>{r()&&o.key==="Escape"&&(e.setAttribute("aria-expanded",!1),t&&c.removeAttribute(`data-${t}`),u&&R.off(a.parentNode))})}}const zi=document.querySelectorAll("[data-height]"),Bi=document.querySelectorAll("[data-height-mobile]"),Se=()=>{zi.forEach(e=>{const n=e.firstElementChild.offsetHeight;e.style.setProperty("--height",`${n}px`)}),Bi.forEach(e=>{const n=e.firstElementChild.nextElementSibling.offsetHeight;e.style.setProperty("--height",`${n}px`)}),requestAnimationFrame(Se)};Se();var Ce={exports:{}};(function(e){(function(n,r){e.exports?e.exports=r():n.minimodal=r()})(_,function(){var n=function(r,c){c=typeof c<"u"?c:{};var u=document.documentElement,t={},a=function(o,i){t.options[o]=typeof c[o]<"u"?c[o]:i};return t.options={},a("rootClass",""),a("loadingHTML","Loading"),a("previousButtonHTML","Previous"),a("nextButtonHTML","Next"),a("closeButtonHTML","Close"),a("statusTimeout",0),a("removeTimeout",0),a("closeTimeout",0),a("onLoaded",function(){}),a("onOpen",function(){}),a("onClose",function(){}),a("googleMapsAPIKey",""),t.node=function(o){var i=document.createElement("div");return i.innerHTML=o,i.firstChild},t.setup=function(){t.current=r,t.minimodal=t.node('<div class="minimodal '+t.options.rootClass+'" tabindex="0" role="dialog">'),t.overlay=t.node('<div class="minimodal__overlay">'),t.viewport=t.node('<div class="minimodal__viewport">'),t.closeButton=t.node('<button class="minimodal__close">'+t.options.closeButtonHTML+"</button>")},t.build=function(){t.minimodal.appendChild(t.overlay),t.minimodal.appendChild(t.viewport),t.minimodal.appendChild(t.closeButton),document.body.appendChild(t.minimodal),t.minimodal.focus(),t.minimodal.classList.add("minimodal--active"),t.options.onOpen(),u.setAttribute("data-minimodal-active","")},t.close=function(){var o=t.minimodal;o.classList.remove("minimodal--active"),setTimeout(function(){o.parentNode&&(t.selectorElement&&t.selectorElement.appendChild(t.selectorChild),o.parentNode.removeChild(o),t.options.onClose(),u.removeAttribute("data-minimodal-active"))},t.options.closeTimeout),document.removeEventListener("keydown",t.keydown),r.focus()},t.focusTrap=function(o){o.shiftKey?t.minimodal===document.activeElement&&(o.preventDefault(),t.closeButton.focus()):t.closeButton===document.activeElement&&(o.preventDefault(),t.minimodal.focus())},t.keydown=function(o){o.keyCode===9?t.focusTrap(o):o.keyCode===27?t.close():o.keyCode===37?t.index>-1&&t.previous():o.keyCode===39&&t.index>-1&&t.next()},t.listen=function(){t.overlay.addEventListener("click",t.close),t.closeButton.addEventListener("click",t.close),document.addEventListener("keydown",t.keydown)},t.reflow=function(){t.minimodal.clientWidth},t.loading=function(){t.status=t.node('<div class="minimodal__status">'+t.options.loadingHTML+"</div>"),t.item.appendChild(t.status),t.reflow(),t.item.classList.add("minimodal__item--loading")},t.loaded=function(){var o=t.status;setTimeout(function(){o.parentNode&&o.parentNode.removeChild(o)},t.options.statusTimeout),t.item.appendChild(t.content),t.current.getAttribute("data-minimodal-caption")&&(t.caption=t.node('<div class="minimodal__caption">'+t.current.getAttribute("data-minimodal-caption")),t.item.appendChild(t.caption)),t.item.classList.remove("minimodal__item--loading"),t.reflow(),t.item.classList.add("minimodal__item--loaded"),t.options.onLoaded(t.type())},t.error=function(){t.status.innerHTML="Error loading resource"},t.attribute=function(o){var i="";return t.current.getAttribute("data-minimodal-"+o)&&(i=o+'="'+t.current.getAttribute("data-minimodal-"+o)+'"'),i},t.ajax=function(){var o=t.url,i=new XMLHttpRequest;i.open("GET",o,!0),i.onload=function(){if(o===t.url)if(i.status>=200&&i.status<400){var l=i.responseText;t.content=t.node('<div class="minimodal__content"><div class="minimodal__element">'+l),t.loaded()}else t.error()},i.onerror=function(){o===t.url&&t.error()},i.send()},t.selector=function(){t.content=t.node('<div class="minimodal__content"><div class="minimodal__element">'),t.content.querySelector(".minimodal__element").appendChild(t.selectorChild),t.loaded()},t.iframe=function(){var o=t.attribute("title");t.content=t.node('<div class="minimodal__content"><div class="minimodal__element minimodal__element--iframe"><iframe '+o+' class="minimodal__iframe" src="'+t.url+'" frameborder="0">'),t.loaded()},t.googleMaps=function(){var o=t.attribute("title"),i="https://www.google.com/maps/embed/v1/",l=t.options.googleMapsAPIKey;if(t.url.indexOf("/maps/place/")>-1){var s=t.url.match("(?:/maps/place/)([^/]+)")[1];i+="place?key="+l+"&q="+s}else{var d=t.url.match("(?:/maps/@)([^z]+)")[1];d=d.split(",");var h=d[0],m=d[1],g=d[2];i+="view?key="+l+"¢er="+h+","+m+"&zoom="+g+"z"}t.content=t.node('<div class="minimodal__content"><iframe '+o+' class="minimodal__element minimodal__element--map" src="'+i+'" frameborder="0">'),t.loaded()},t.youtube=function(){var o=t.attribute("title");if(t.url.indexOf("youtube.com")>-1){var i=t.url.split("v=")[1];i=i.replace("&","?")}if(t.url.indexOf("youtu.be")>-1)var i=t.url.split("youtu.be/")[1];t.content=t.node('<div class="minimodal__content"><div class="minimodal__element minimodal__element--video"><iframe '+o+' class="minimodal__video" src="https://www.youtube.com/embed/'+i+'" frameborder="0" allow="fullscreen; autoplay;">'),t.loaded()},t.vimeo=function(){var o=t.attribute("title"),i=t.url.split("vimeo.com/")[1];t.content=t.node('<div class="minimodal__content"><div class="minimodal__element minimodal__element--video"><iframe '+o+' class="minimodal__video" src="https://player.vimeo.com/video/'+i+'" frameborder="0" allow="fullscreen; autoplay;">'),t.loaded()},t.image=function(){var o=t.attribute("alt"),i=t.url,l=document.createElement("img");l.onload=function(){i===t.url&&(t.content=t.node('<div class="minimodal__content"><img '+o+' class="minimodal__element" src="'+t.url+'">'),t.loaded())},l.onerror=function(){i===t.url&&t.error()},l.src=i},t.type=function(){return t.current.getAttribute("data-minimodal-type")?t.current.getAttribute("data-minimodal-type"):t.current.getAttribute("data-minimodal-selector")?"selector":t.url.indexOf("google.com/maps")>-1?"googleMaps":t.url.indexOf("youtube.com")>-1||t.url.indexOf("youtu.be")>-1?"youtube":t.url.indexOf("vimeo.com")>-1?"vimeo":"image"},t.load=function(o){t.url=t.current.getAttribute("href"),t.selectorElement=document.querySelector(t.current.getAttribute("data-minimodal-selector")),t.selectorChild=t.selectorElement?t.selectorElement.firstElementChild:null,t.item=t.
13node('<div class="minimodal__item">'),t.viewport.appendChild(t.item),o&&(t.item.classList.add("minimodal__item--added"),t.item.classList.add("minimodal__item--added--"+o),t.reflow(),t.item.classList.remove("minimodal__item--added"),t.item.classList.remove("minimodal__item--added--"+o)),t.loading(),t[t.type()]()},t.remove=function(o){var i=t.item,l=t.selectorElement,s=t.selectorChild;i.classList.add("minimodal__item--removed"),i.classList.add("minimodal__item--removed--"+o),setTimeout(function(){i.parentNode&&(l&&l.appendChild(s),i.parentNode.removeChild(i))},t.options.removeTimeout)},t.update=function(o){t.updating=!0,t.remove(o),t.current=t.groupItems[t.index],t.load(o),setTimeout(function(){t.updating=!1},t.options.removeTimeout)},t.previous=function(){t.updating||(t.index-1<0?t.index=t.indexMax:t.index-=1,t.update("previous"))},t.next=function(){t.updating||(t.index+1>t.indexMax?t.index=0:t.index+=1,t.update("next"))},t.nav=function(){t.previousButton=t.node('<button class="minimodal__nav minimodal__nav--previous">'+t.options.previousButtonHTML+"</button>"),t.nextButton=t.node('<button class="minimodal__nav minimodal__nav--next">'+t.options.nextButtonHTML+"</button>"),t.minimodal.insertBefore(t.previousButton,t.closeButton),t.minimodal.insertBefore(t.nextButton,t.closeButton),t.previousButton.addEventListener("click",t.previous),t.nextButton.addEventListener("click",t.next)},t.group=function(){t.groupID=t.current.getAttribute("data-minimodal"),t.groupID&&(t.groupItems=document.querySelectorAll('[data-minimodal="'+t.groupID+'"]'),t.groupItems.length>1&&(t.index=Array.prototype.indexOf.call(t.groupItems,t.current),t.indexMax=t.groupItems.length-1,t.nav()))},t.open=function(o){o.preventDefault(),t.setup(),t.build(),t.group(),t.listen(),t.load()},t.init=function(){r.addEventListener("click",t.open)},t};return n})})(Ce);var Oi=Ce.exports;const Ni=W(Oi),Wi=document.querySelectorAll("[data-minimodal]");for(const e of Wi)Ni(e,{closeTimeout:300}).init();const Ri=e=>{const n=e.parentElement,r=o=>o.getAttribute("aria-expanded")==="true",c=o=>o.getClientRects().length&&getComputedStyle(o).visibility!=="hidden",u=o=>{if(o.key==="Tab"){const i=[...n.querySelectorAll("a, button, input")].filter(c),l=i[0],s=i[i.length-1];document.activeElement===l&&o.shiftKey&&(o.preventDefault(),s.focus()),document.activeElement===s&&!o.shiftKey&&(o.preventDefault(),l.focus())}},t=o=>{r(o)?document.addEventListener("keydown",u):document.removeEventListener("keydown",u)},a=()=>{e.setAttribute("aria-expanded",!1),t(e)};e.addEventListener("click",()=>{e.setAttribute("aria-expanded",!r(e)),t(e)}),document.addEventListener("click",o=>{r(e)&&!n.contains(o.target)&&(a(),o.target.focus())}),document.addEventListener("keydown",o=>{r(e)&&o.key==="Escape"&&(a(),e.focus())})},Vi=document.querySelectorAll("[data-popover]");for(const e of Vi)Ri(e);const Y=document.documentElement;let Q=0;const Le=()=>{const e=Y.getBoundingClientRect().top;Math.abs(Q-e)>48&&(e>Q?Y.setAttribute("data-scroll","up"):Y.setAttribute("data-scroll","down"),Q=e)};window.addEventListener("load",Le);window.addEventListener("scroll",Le);const Hi=document.querySelectorAll("[data-sticky]");Hi.forEach(e=>{window.addEventListener("scroll",function(){(window.scrollY||window.pageYOffset)>=300?e.setAttribute("data-sticky","true"):e.removeAttribute("data-sticky")})});const $i=document.querySelectorAll("[data-stuck]"),Ui=new IntersectionObserver(e=>{for(const n of e){const{intersectionRatio:r,target:c}=n,u=r<1?"true":"false";c.setAttribute("data-stuck",u)}},{rootMargin:"-1px 0px 0px 0px",threshold:[1]});for(const e of $i)Ui.observe(e);const _e=()=>{const e=window.innerHeight*.01;document.documentElement.style.setProperty("--vh",`${e}px`)};window.addEventListener("load",_e);window.addEventListener("resize",_e);function Gi(e,n){setTimeout(function(){n.classList.remove("zoomin"),n.classList.add("zoomin--active")},320+e*160)}function ke(){for(var e=document.querySelectorAll(".zoomin"),n=0,r=e.length;n<r;n++){var c=e[n],u=c.getBoundingClientRect().top-window.innerHeight;u<0&&Gi(n,c)}requestAnimationFrame(ke)}ke();Oe();var Te={exports:{}},K={exports:{}},J={exports:{}},Bt;function Ct(){return Bt||(Bt=1,function(e){(function(n,r){e.exports?e.exports=r():n.EvEmitter=r()})(typeof window<"u"?window:_,function(){function n(){}let r=n.prototype;return r.on=function(c,u){if(!c||!u)return this;let t=this._events=this._events||{},a=t[c]=t[c]||[];return a.includes(u)||a.push(u),this},r.once=function(c,u){if(!c||!u)return this;this.on(c,u);let t=this._onceEvents=this._onceEvents||{},a=t[c]=t[c]||{};return a[u]=!0,this},r.off=function(c,u){let t=this._events&&this._events[c];if(!t||!t.length)return this;let a=t.indexOf(u);return a!=-1&&t.splice(a,1),this},r.emitEvent=function(c,u){let t=this._events&&this._events[c];if(!t||!t.length)return this;t=t.slice(0),u=u||[];let a=this._onceEvents&&this._onceEvents[c];for(let o of t)a&&a[o]&&(this.off(c,o),delete a[o]),o.apply(this,u);return this},r.allOff=function(){return delete this._events,delete this._onceEvents,this},n})}(J)),J.exports}var Z={exports:{}};/*! 14 * Infinite Scroll v2.0.4 15 * measure size of elements 16 * MIT license 17 */var Ot;function De(){return Ot||(Ot=1,function(e){(function(n,r){e.exports?e.exports=r():n.getSize=r()})(window,function(){function r(a){let o=parseFloat(a);return a.indexOf("%")==-1&&!isNaN(o)&&o}let c=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"];function u(){let a={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0};
17return c.forEach(o=>{a[o]=0}),a}function t(a){if(typeof a=="string"&&(a=document.querySelector(a)),!(a&&typeof a=="object"&&a.nodeType))return;let i=getComputedStyle(a);if(i.display=="none")return u();let l={};l.width=a.offsetWidth,l.height=a.offsetHeight;let s=l.isBorderBox=i.boxSizing=="border-box";c.forEach(S=>{let p=i[S],v=parseFloat(p);l[S]=isNaN(v)?0:v});let d=l.paddingLeft+l.paddingRight,h=l.paddingTop+l.paddingBottom,m=l.marginLeft+l.marginRight,g=l.marginTop+l.marginBottom,f=l.borderLeftWidth+l.borderRightWidth,C=l.borderTopWidth+l.borderBottomWidth,E=r(i.width);E!==!1&&(l.width=E+(s?0:d+f));let x=r(i.height);return x!==!1&&(l.height=x+(s?0:h+C)),l.innerWidth=l.width-(d+f),l.innerHeight=l.height-(h+C),l.outerWidth=l.width+m,l.outerHeight=l.height+g,l}return t})}(Z)),Z.exports}var tt={exports:{}},Nt;function B(){return Nt||(Nt=1,function(e){(function(n,r){e.exports?e.exports=r(n):n.fizzyUIUtils=r(n)})(_,function(r){let c={};c.extend=function(t,a){return Object.assign(t,a)},c.modulo=function(t,a){return(t%a+a)%a},c.makeArray=function(t){return Array.isArray(t)?t:t==null?[]:typeof t=="object"&&typeof t.length=="number"?[...t]:[t]},c.removeFrom=function(t,a){let o=t.indexOf(a);o!=-1&&t.splice(o,1)},c.getParent=function(t,a){for(;t.parentNode&&t!=document.body;)if(t=t.parentNode,t.matches(a))return t},c.getQueryElement=function(t){return typeof t=="string"?document.querySelector(t):t},c.handleEvent=function(t){let a="on"+t.type;this[a]&&this[a](t)},c.filterFindElements=function(t,a){return t=c.makeArray(t),t.filter(o=>o instanceof HTMLElement).reduce((o,i)=>{if(!a)return o.push(i),o;i.matches(a)&&o.push(i);let l=i.querySelectorAll(a);return o=o.concat(...l),o},[])},c.debounceMethod=function(t,a,o){o=o||100;let i=t.prototype[a],l=a+"Timeout";t.prototype[a]=function(){clearTimeout(this[l]);let s=arguments;this[l]=setTimeout(()=>{i.apply(this,s),delete this[l]},o)}},c.docReady=function(t){let a=document.readyState;a=="complete"||a=="interactive"?setTimeout(t):document.addEventListener("DOMContentLoaded",t)},c.toDashed=function(t){return t.replace(/(.)([A-Z])/g,function(a,o,i){return o+"-"+i}).toLowerCase()};let u=r.console;return c.htmlInit=function(t,a){c.docReady(function(){let i="data-"+c.toDashed(a),l=document.querySelectorAll(`[${i}]`),s=r.jQuery;[...l].forEach(d=>{let h=d.getAttribute(i),m;try{m=h&&JSON.parse(h)}catch(f){u&&u.error(`Error parsing ${i} on ${d.className}: ${f}`);return}let g=new t(d,m);s&&s.data(d,a,g)})})},c})}(tt)),tt.exports}var et={exports:{}},Wt;function Xi(){return Wt||(Wt=1,function(e){(function(n,r){e.exports?e.exports=r(De()):(n.Flickity=n.Flickity||{},n.Flickity.Cell=r(n.getSize))})(typeof window<"u"?window:_,function(r){const c="flickity-cell";function u(a){this.element=a,this.element.classList.add(c),this.x=0,this.unselect()}let t=u.prototype;return t.destroy=function(){this.unselect(),this.element.classList.remove(c),this.element.style.transform="",this.element.removeAttribute("aria-hidden")},t.getSize=function(){this.size=r(this.element)},t.select=function(){this.element.classList.add("is-selected"),this.element.removeAttribute("aria-hidden")},t.unselect=function(){this.element.classList.remove("is-selected"),this.element.setAttribute("aria-hidden","true")},t.remove=function(){this.element.remove()},u})}(et)),et.exports}var it={exports:{}},Rt;function ji(){return Rt||(Rt=1,function(e){(function(n,r){e.exports?e.exports=r():(n.Flickity=n.Flickity||{},n.Flickity.Slide=r())})(typeof window<"u"?window:_,function(){function r(u,t,a){this.beginMargin=u,this.endMargin=t,this.cellAlign=a,this.cells=[],this.outerWidth=0,this.height=0}let c=r.prototype;return c.addCell=function(u){this.cells.push(u),this.outerWidth+=u.size.outerWidth,this.height=Math.max(u.size.outerHeight,this.height),this.cells.length===1&&(this.x=u.x,this.firstMargin=u.size[this.beginMargin])},c.updateTarget=function(){let u=this.getLastCell(),t=u?u.size[this.endMargin]:0,a=this.outerWidth-(this.firstMargin+t);this.target=this.x+this.firstMargin+a*this.cellAlign},c.getLastCell=function(){return this.cells[this.cells.length-1]}
17,c.select=function(){this.cells.forEach(u=>u.select())},c.unselect=function(){this.cells.forEach(u=>u.unselect())},c.getCellElements=function(){return this.cells.map(u=>u.element)},r})}(it)),it.exports}var nt={exports:{}},Vt;function Yi(){return Vt||(Vt=1,function(e){(function(n,r){e.exports?e.exports=r(B()):(n.Flickity=n.Flickity||{},n.Flickity.animatePrototype=r(n.fizzyUIUtils))})(typeof window<"u"?window:_,function(r){let c={};return c.startAnimation=function(){this.isAnimating||(this.isAnimating=!0,this.restingFrames=0,this.animate())},c.animate=function(){this.applyDragForce(),this.applySelectedAttraction();let u=this.x;this.integratePhysics(),this.positionSlider(),this.settle(u),this.isAnimating&&requestAnimationFrame(()=>this.animate())},c.positionSlider=function(){let u=this.x;this.isWrapping&&(u=r.modulo(u,this.slideableWidth)-this.slideableWidth,this.shiftWrapCells(u)),this.setTranslateX(u,this.isAnimating),this.dispatchScrollEvent()},c.setTranslateX=function(u,t){u+=this.cursorPosition,this.options.rightToLeft&&(u=-u);let a=this.getPositionValue(u);this.slider.style.transform=t?`translate3d(${a},0,0)`:`translateX(${a})`},c.dispatchScrollEvent=function(){let u=this.slides[0];if(!u)return;let t=-this.x-u.target,a=t/this.slidesWidth;this.dispatchEvent("scroll",null,[a,t])},c.positionSliderAtSelected=function(){this.cells.length&&(this.x=-this.selectedSlide.target,this.velocity=0,this.positionSlider())},c.getPositionValue=function(u){return this.options.percentPosition?Math.round(u/this.size.innerWidth*1e4)*.01+"%":Math.round(u)+"px"},c.settle=function(u){!this.isPointerDown&&Math.round(this.x*100)===Math.round(u*100)&&this.restingFrames++,this.restingFrames>2&&(this.isAnimating=!1,delete this.isFreeScrolling,this.positionSlider(),this.dispatchEvent("settle",null,[this.selectedIndex]))},c.shiftWrapCells=function(u){let t=this.cursorPosition+u;this._shiftCells(this.beforeShiftCells,t,-1);let a=this.size.innerWidth-(u+this.slideableWidth+this.cursorPosition);this._shiftCells(this.afterShiftCells,a,1)},c._shiftCells=function(u,t,a){u.forEach(o=>{let i=t>0?a:0;this._wrapShiftCell(o,i),t-=o.size.outerWidth})},c._unshiftCells=function(u){!u||!u.length||u.forEach(t=>this._wrapShiftCell(t,0))},c._wrapShiftCell=function(u,t){this._renderCellPosition(u,u.x+this.slideableWidth*t)},c.integratePhysics=function(){this.x+=this.velocity,this.velocity*=this.getFrictionFactor()},c.applyForce=function(u){this.velocity+=u},c.getFrictionFactor=function(){return 1-this.options[this.isFreeScrolling?"freeScrollFriction":"friction"]},c.getRestingPosition=function(){return this.x+this.velocity/(1-this.getFrictionFactor())},c.applyDragForce=function(){if(!this.isDraggable||!this.isPointerDown)return;let t=this.dragX-this.x-this.velocity;this.applyForce(t)},c.applySelectedAttraction=function(){if(this.isDraggable&&this.isPointerDown||this.isFreeScrolling||!this.slides.length)return;let a=(this.selectedSlide.target*-1-this.x)*this.options.selectedAttraction;this.applyForce(a)},c})}(nt)),nt.exports}var Ht;function D(){return Ht||(Ht=1,function(e){(function(n,r){if(e.exports)e.exports=r(n,Ct(),De(),B(),Xi(),ji(),Yi());else{let c=n.Flickity;n.Flickity=r(n,n.EvEmitter,n.getSize,n.fizzyUIUtils,c.Cell,c.Slide,c.animatePrototype)}})(typeof window<"u"?window:_,function(r,c,u,t,a,o,i){const{getComputedStyle:l,console:s}=r;let{jQuery:d}=r,h=0,m={};function g(p,v){let y=t.getQueryElement(p);if(!y){s&&s.error(`Bad element for Flickity: ${y||p}`);return}if(this.element=y,this.element.flickityGUID){let b=m[this.element.flickityGUID];return b&&b.option(v),b}d&&(this.$element=d(this.element)),this.options={...this.constructor.defaults},this.option(v),this._create()}g.defaults={accessibility:!0,cellAlign:"center",freeScrollFriction:.075,friction:.28,namespaceJQueryEvents:!0,percentPosition:!0,resize:!0,selectedAttraction:.025,setGallerySize:!0},g.create={};let f=g.prototype;Object.assign(f,c.prototype),f._create=function(){let{resize:p,watchCSS:v,rightToLeft:y}=this.options,b=this.guid=++h;this.element.flickityGUID=b,m[b]=this,this.selectedIndex=0,this.restingFrames=0,this.x=0,this.velocity=0,this.beginMargin=y?"marginRight":"marginLeft",this.endMargin=y?"marginLeft":"marginRight",this.viewport=document.createElement("div"),this.viewport.className="flickity-viewport",this._createSlider(),this.focusableElems=[this.element],(p||v)&&r.addEventListener("resize",this);for(let w in this.options.on){let A=this.options.on[w];this.on(w,A)}for(let w in g.create)g.create[w].call(this);v?this.watchCSS():this.activate()},f.option=function(p){Object.assign(this.options,p)},f.activate=function(){if(this.isActive)return;this.isActive=!0,this.element.classList.add("flickity-enabled"),this.options.rightToLeft&&this.element.classList.add("flickity-rtl"),this.get
17Size();let p=this._filterFindCellElements(this.element.children);this.slider.append(...p),this.viewport.append(this.slider),this.element.append(this.viewport),this.reloadCells(),this.options.accessibility&&(this.element.tabIndex=0,this.element.addEventListener("keydown",this)),this.emitEvent("activate"),this.selectInitialIndex(),this.isInitActivated=!0,this.dispatchEvent("ready")},f._createSlider=function(){let p=document.createElement("div");p.className="flickity-slider",this.slider=p},f._filterFindCellElements=function(p){return t.filterFindElements(p,this.options.cellSelector)},f.reloadCells=function(){this.cells=this._makeCells(this.slider.children),this.positionCells(),this._updateWrapShiftCells(),this.setGallerySize()},f._makeCells=function(p){return this._filterFindCellElements(p).map(y=>new a(y))},f.getLastCell=function(){return this.cells[this.cells.length-1]},f.getLastSlide=function(){return this.slides[this.slides.length-1]},f.positionCells=function(){this._sizeCells(this.cells),this._positionCells(0)},f._positionCells=function(p){p=p||0,this.maxCellHeight=p&&this.maxCellHeight||0;let v=0;if(p>0){let y=this.cells[p-1];v=y.x+y.size.outerWidth}this.cells.slice(p).forEach(y=>{y.x=v,this._renderCellPosition(y,v),v+=y.size.outerWidth,this.maxCellHeight=Math.max(y.size.outerHeight,this.maxCellHeight)}),this.slideableWidth=v,this.updateSlides(),this._containSlides(),this.slidesWidth=this.cells.length?this.getLastSlide().target-this.slides[0].target:0},f._renderCellPosition=function(p,v){let y=this.options.rightToLeft?-1:1,b=v*y;this.options.percentPosition&&(b*=this.size.innerWidth/p.size.width);let w=this.getPositionValue(b);p.element.style.transform=`translateX( ${w} )`},f._sizeCells=function(p){p.forEach(v=>v.getSize())},f.updateSlides=function(){if(this.slides=[],!this.cells.length)return;let{beginMargin:p,endMargin:v}=this,y=new o(p,v,this.cellAlign);this.slides.push(y);let b=this._getCanCellFit();this.cells.forEach((w,A)=>{if(!y.cells.length){y.addCell(w);return}let L=y.outerWidth-y.firstMargin+(w.size.outerWidth-w.size[v]);b(A,L)||(y.updateTarget(),y=new o(p,v,this.cellAlign),this.slides.push(y)),y.addCell(w)}),y.updateTarget(),this.updateSelectedSlide()},f._getCanCellFit=function(){let{groupCells:p}=this.options;if(!p)return()=>!1;if(typeof p=="number"){let w=parseInt(p,10);return A=>A%w!==0}let v=1,y=typeof p=="string"&&p.match(/^(\d+)%$/);y&&(v=parseInt(y[1],10)/100);let b=(this.size.innerWidth+1)*v;return(w,A)=>A<=b},f._init=f.reposition=function(){this.positionCells(),this.positionSliderAtSelected()},f.getSize=function(){this.size=u(this.element),this.setCellAlign(),this.cursorPosition=this.size.innerWidth*this.cellAlign};let C={left:0,center:.5,right:1};f.setCellAlign=function(){let{cellAlign:p,rightToLeft:v}=this.options,y=C[p];this.cellAlign=y!==void 0?y:p,v&&(this.cellAlign=1-this.cellAlign)},f.setGallerySize=function(){if(!this.options.setGallerySize)return;let p=this.options.adaptiveHeight&&this.selectedSlide?this.selectedSlide.height:this.maxCellHeight;this.viewport.style.height=`${p}px`},f._updateWrapShiftCells=function(){if(this.isWrapping=this.getIsWrapping(),!this.isWrapping)return;this._unshiftCells(this.beforeShiftCells),this._unshiftCells(this.afterShiftCells);let p=this.cursorPosition,v=this.cells.length-1;this.beforeShiftCells=this._getGapCells(p,v,-1);let y=this.size.innerWidth-this.cursorPosition;this.afterShiftCells=this._getGapCells(y,0,1)},f.getIsWrapping=function(){let{wrapAround:p}=this.options;if(!p||this.slides.length<2)return!1;if(p!=="fill")return!0;let v=this.slideableWidth-this.size.innerWidth;if(v>this.size.innerWidth)return!0;for(let y of this.cells)if(y.size.outerWidth>v)return!1;return!0},f._getGapCells=function(p,v,y){let b=[];for(;p>0;){let w=this.cells[v];if(!w)break;b.push(w),v+=y,p-=w.size.outerWidth}return b},f._containSlides=function(){if(!(this.options.contain&&!this.isWrapping&&this.cells.length))return;let v=this.slideableWidth-this.getLastCell().size[this.endMargin];if(v<this.size.innerWidth)this.slides.forEach(b=>{b.target=v*this.cellAlign});else{let b=this.cursorPosition+this.cells[0].size[this.beginMargin],w=v-this.size.innerWidth*(1-this.cellAlign);
17this.slides.forEach(A=>{A.target=Math.max(A.target,b),A.target=Math.min(A.target,w)})}},f.dispatchEvent=function(p,v,y){let b=v?[v].concat(y):y;if(this.emitEvent(p,b),d&&this.$element){p+=this.options.namespaceJQueryEvents?".flickity":"";let w=p;if(v){let A=new d.Event(v);A.type=p,w=A}this.$element.trigger(w,y)}};const E=["dragStart","dragMove","dragEnd","pointerDown","pointerMove","pointerEnd","staticClick"];let x=f.emitEvent;f.emitEvent=function(p,v){if(p==="staticClick"){let A=this.getParentCell(v[0].target),L=A&&A.element,I=A&&this.cells.indexOf(A);v=v.concat(L,I)}if(x.call(this,p,v),!E.includes(p)||!d||!this.$element)return;p+=this.options.namespaceJQueryEvents?".flickity":"";let b=v.shift(0),w=new d.Event(b);w.type=p,this.$element.trigger(w,v)},f.select=function(p,v,y){if(!this.isActive||(p=parseInt(p,10),this._wrapSelect(p),(this.isWrapping||v)&&(p=t.modulo(p,this.slides.length)),!this.slides[p]))return;let b=this.selectedIndex;this.selectedIndex=p,this.updateSelectedSlide(),y?this.positionSliderAtSelected():this.startAnimation(),this.options.adaptiveHeight&&this.setGallerySize(),this.dispatchEvent("select",null,[p]),p!==b&&this.dispatchEvent("change",null,[p])},f._wrapSelect=function(p){if(!this.isWrapping)return;const{selectedIndex:v,slideableWidth:y,slides:{length:b}}=this;if(!this.isDragSelect){let w=t.modulo(p,b),A=Math.abs(w-v),L=Math.abs(w+b-v),I=Math.abs(w-b-v);L<A?p+=b:I<A&&(p-=b)}p<0?this.x-=y:p>=b&&(this.x+=y)},f.previous=function(p,v){this.select(this.selectedIndex-1,p,v)},f.next=function(p,v){this.select(this.selectedIndex+1,p,v)},f.updateSelectedSlide=function(){let p=this.slides[this.selectedIndex];p&&(this.unselectSelectedSlide(),this.selectedSlide=p,p.select(),this.selectedCells=p.cells,this.selectedElements=p.getCellElements(),this.selectedCell=p.cells[0],this.selectedElement=this.selectedElements[0])},f.unselectSelectedSlide=function(){this.selectedSlide&&this.selectedSlide.unselect()},f.selectInitialIndex=function(){let p=this.options.initialIndex;if(this.isInitActivated){this.select(this.selectedIndex,!1,!0);return}if(p&&typeof p=="string"&&this.queryCell(p)){this.selectCell(p,!1,!0);return}let v=0;p&&this.slides[p]&&(v=p),this.select(v,!1,!0)},f.selectCell=function(p,v,y){let b=this.queryCell(p);if(!b)return;let w=this.getCellSlideIndex(b);this.select(w,v,y)},f.getCellSlideIndex=function(p){let v=this.slides.find(y=>y.cells.includes(p));return this.slides.indexOf(v)},f.getCell=function(p){for(let v of this.cells)if(v.element===p)return v},f.getCells=function(p){return p=t.makeArray(p),p.map(v=>this.getCell(v)).filter(Boolean)},f.getCellElements=function(){return this.cells.map(p=>p.element)},f.getParentCell=function(p){let v=this.getCell(p);if(v)return v;let y=p.closest(".flickity-slider > *");return this.getCell(y)},f.getAdjacentCellElements=function(p,v){if(!p)return this.selectedSlide.getCellElements();v=v===void 0?this.selectedIndex:v;let y=this.slides.length;if(1+p*2>=y)return this.getCellElements();let b=[];for(let w=v-p;w<=v+p;w++){let A=this.isWrapping?t.modulo(w,y):w,L=this.slides[A];L&&(b=b.concat(L.getCellElements()))}return b},f.queryCell=function(p){return typeof p=="number"?this.cells[p]:(typeof p=="string"&&!p.match(/^[#.]?[\d/]/)&&(p=this.element.querySelector(p)),this.getCell(p))},f.uiChange=function(){this.emitEvent("uiChange")},f.onresize=function(){this.watchCSS(),this.resize()},t.debounceMethod(g,"onresize",150),f.resize=function(){if(!this.isActive||this.isAnimating||this.isDragging)return;this.getSize(),this.isWrapping&&(this.x=t.modulo(this.x,this.slideableWidth)),this.positionCells(),this._updateWrapShiftCells(),this.setGallerySize(),this.emitEvent("resize");let p=this.selectedElements&&this.selectedElements[0];this.selectCell(p,!1,!0)},f.watchCSS=function(){if(!this.options.watchCSS)return;l(this.element,":after").content.includes("flickity")?this.activate():this.deactivate()},f.onkeydown=function(p){let{activeElement:v}=document,y=g.keyboardHandlers[p.key];if(!this.options.accessibility||!v||!y)return;this.focusableElems.some(w=>v===w)&&y.call(this)},g.keyboardHandlers={ArrowLeft:function(){this.uiChange();let p=this.options.rightToLeft?"next":"previous";this[p]()},ArrowRight:function(){this.uiChange();let p=this.options.rightToLeft?"previous":"next";this[p]()}}
17,f.focus=function(){this.element.focus({preventScroll:!0})},f.deactivate=function(){this.isActive&&(this.element.classList.remove("flickity-enabled"),this.element.classList.remove("flickity-rtl"),this.unselectSelectedSlide(),this.cells.forEach(p=>p.destroy()),this.viewport.remove(),this.element.append(...this.slider.children),this.options.accessibility&&(this.element.removeAttribute("tabIndex"),this.element.removeEventListener("keydown",this)),this.isActive=!1,this.emitEvent("deactivate"))},f.destroy=function(){this.deactivate(),r.removeEventListener("resize",this),this.allOff(),this.emitEvent("destroy"),d&&this.$element&&d.removeData(this.element,"flickity"),delete this.element.flickityGUID,delete m[this.guid]},Object.assign(f,i),g.data=function(p){if(p=t.getQueryElement(p),p)return m[p.flickityGUID]},t.htmlInit(g,"flickity");let{jQueryBridget:S}=r;return d&&S&&S("flickity",g,d),g.setJQuery=function(p){d=p},g.Cell=a,g.Slide=o,g})}(K)),K.exports}var rt={exports:{}},st={exports:{}};/*! 18 * Unidragger v3.0.1 19 * Draggable base class 20 * MIT license 21 */var $t;function Qi(){return $t||($t=1,function(e){(function(n,r){e.exports?e.exports=r(n,Ct()):n.Unidragger=r(n,n.EvEmitter)})(typeof window<"u"?window:_,function(r,c){function u(){}let t=u.prototype=Object.create(c.prototype);t.handleEvent=function(s){let d="on"+s.type;this[d]&&this[d](s)};let a,o;"ontouchstart"in r?(a="touchstart",o=["touchmove","touchend","touchcancel"]):r.PointerEvent?(a="pointerdown",o=["pointermove","pointerup","pointercancel"]):(a="mousedown",o=["mousemove","mouseup"]),t.touchActionValue="none",t.bindHandles=function(){this._bindHandles("addEventListener",this.touchActionValue)},t.unbindHandles=function(){this._bindHandles("removeEventListener","")},t._bindHandles=function(s,d){this.handles.forEach(h=>{h[s](a,this),h[s]("click",this),r.PointerEvent&&(h.style.touchAction=d)})},t.bindActivePointerEvents=function(){o.forEach(s=>{r.addEventListener(s,this)})},t.unbindActivePointerEvents=function(){o.forEach(s=>{r.removeEventListener(s,this)})},t.withPointer=function(s,d){d.pointerId===this.pointerIdentifier&&this[s](d,d)},t.withTouch=function(s,d){let h;for(let m of d.changedTouches)m.identifier===this.pointerIdentifier&&(h=m);h&&this[s](d,h)},t.onmousedown=function(s){this.pointerDown(s,s)},t.ontouchstart=function(s){this.pointerDown(s,s.changedTouches[0])},t.onpointerdown=function(s){this.pointerDown(s,s)};const i=["TEXTAREA","INPUT","SELECT","OPTION"],l=["radio","checkbox","button","submit","image","file"];return t.pointerDown=function(s,d){let h=i.includes(s.target.nodeName),m=l.includes(s.target.type),g=!h||m;!this.isPointerDown&&!s.button&&g&&(this.isPointerDown=!0,this.pointerIdentifier=d.pointerId!==void 0?d.pointerId:d.identifier,this.pointerDownPointer={pageX:d.pageX,pageY:d.pageY},this.bindActivePointerEvents(),this.emitEvent("pointerDown",[s,d]))},t.onmousemove=function(s){this.pointerMove(s,s)},t.onpointermove=function(s){this.withPointer("pointerMove",s)},t.ontouchmove=function(s){this.withTouch("pointerMove",s)},t.pointerMove=function(s,d){let h={x:d.pageX-this.pointerDownPointer.pageX,y:d.pageY-this.pointerDownPointer.pageY};this.emitEvent("pointerMove",[s,d,h]),!this.isDragging&&this.hasDragStarted(h)&&this.dragStart(s,d),this.isDragging&&this.dragMove(s,d,h)},t.hasDragStarted=function(s){return Math.abs(s.x)>3||Math.abs(s.y)>3}
21,t.dragStart=function(s,d){this.isDragging=!0,this.isPreventingClicks=!0,this.emitEvent("dragStart",[s,d])},t.dragMove=function(s,d,h){this.emitEvent("dragMove",[s,d,h])},t.onmouseup=function(s){this.pointerUp(s,s)},t.onpointerup=function(s){this.withPointer("pointerUp",s)},t.ontouchend=function(s){this.withTouch("pointerUp",s)},t.pointerUp=function(s,d){this.pointerDone(),this.emitEvent("pointerUp",[s,d]),this.isDragging?this.dragEnd(s,d):this.staticClick(s,d)},t.dragEnd=function(s,d){this.isDragging=!1,setTimeout(()=>delete this.isPreventingClicks),this.emitEvent("dragEnd",[s,d])},t.pointerDone=function(){this.isPointerDown=!1,delete this.pointerIdentifier,this.unbindActivePointerEvents(),this.emitEvent("pointerDone")},t.onpointercancel=function(s){this.withPointer("pointerCancel",s)},t.ontouchcancel=function(s){this.withTouch("pointerCancel",s)},t.pointerCancel=function(s,d){this.pointerDone(),this.emitEvent("pointerCancel",[s,d])},t.onclick=function(s){this.isPreventingClicks&&s.preventDefault()},t.staticClick=function(s,d){let h=s.type==="mouseup";h&&this.isIgnoringMouseUp||(this.emitEvent("staticClick",[s,d]),h&&(this.isIgnoringMouseUp=!0,setTimeout(()=>{delete this.isIgnoringMouseUp},400)))},u})}(st)),st.exports}var Ut;function Ki(){return Ut||(Ut=1,function(e){(function(n,r){e.exports?e.exports=r(n,D(),Qi(),B()):n.Flickity=r(n,n.Flickity,n.Unidragger,n.fizzyUIUtils)})(typeof window<"u"?window:_,function(r,c,u,t){Object.assign(c.defaults,{draggable:">1",dragThreshold:3});let a=c.prototype;Object.assign(a,u.prototype),a.touchActionValue="",c.create.drag=function(){this.on("activate",this.onActivateDrag),this.on("uiChange",this._uiChangeDrag),this.on("deactivate",this.onDeactivateDrag),this.on("cellChange",this.updateDraggable),this.on("pointerDown",this.handlePointerDown),this.on("pointerUp",this.handlePointerUp),this.on("pointerDown",this.handlePointerDone),this.on("dragStart",this.handleDragStart),this.on("dragMove",this.handleDragMove),this.on("dragEnd",this.handleDragEnd),this.on("staticClick",this.handleStaticClick)},a.onActivateDrag=function(){this.handles=[this.viewport],this.bindHandles(),this.updateDraggable()},a.onDeactivateDrag=function(){this.unbindHandles(),this.element.classList.remove("is-draggable")},a.updateDraggable=function(){this.options.draggable===">1"?this.isDraggable=this.slides.length>1:this.isDraggable=this.options.draggable,this.element.classList.toggle("is-draggable",this.isDraggable)},a._uiChangeDrag=function(){delete this.isFreeScrolling},a.handlePointerDown=function(i){if(!this.isDraggable){this.bindActivePointerEvents(i);return}let l=i.type==="touchstart",s=i.pointerType==="touch",d=i.target.matches("input, textarea, select");!l&&!s&&!d&&i.preventDefault(),d||this.focus(),document.activeElement!==this.element&&document.activeElement.blur(),this.dragX=this.x,this.viewport.classList.add("is-pointer-down"),this.pointerDownScroll=o(),r.addEventListener("scroll",this),this.bindActivePointerEvents(i)},a.hasDragStarted=function(i){return Math.abs(i.x)>this.options.dragThreshold},a.handlePointerUp=function(){delete this.isTouchScrolling,this.viewport.classList.remove("is-pointer-down")},a.handlePointerDone=function(){r.removeEventListener("scroll",this),delete this.pointerDownScroll},a.handleDragStart=function(){this.isDraggable&&(this.dragStartPosition=this.x,this.startAnimation(),r.removeEventListener("scroll",this))},a.handleDragMove=function(i,l,s){if(!this.isDraggable)return;i.preventDefault(),this.previousDragX=this.dragX;let d=this.options.rightToLeft?-1:1;this.isWrapping&&(s.x%=this.slideableWidth);let h=this.dragStartPosition+s.x*d;if(!this.isWrapping){let m=Math.max(-this.slides[0].target,this.dragStartPosition);h=h>m?(h+m)*.5:h;let g=Math.min(-this.getLastSlide().target,this.dragStartPosition);h=h<g?(h+g)*.5:h}this.dragX=h,this.dragMoveTime=new Date},a.handleDragEnd=function(){if(!this.isDraggable)return;let{freeScroll:i}=this.options;i&&(this.isFreeScrolling=!0);let l=this.dragEndRestingSelect();if(i&&!this.isWrapping){let s=this.getRestingPosition();this.isFreeScrolling=-s>this.slides[0].target&&-s<this.getLastSlide().target}else!i&&l===this.selectedIndex&&(l+=this.dragEndBoostSelect());delete this.previousDragX,this.isDragSelect=this.isWrapping,this.select(l),delete this.isDragSelect},a.dragEndRestingSelect=function(){let i=this.getRestingPosition(),l=Math.abs(this.getSlideDistance(-i,this.selectedIndex)),s=this._getClosestResting(i,l,1),d=this._getClosestResting(i,l,-1);return s.distance<d.distance?s.index:d.index},a._getClosestResting=function(i,l,s){let d=this.selectedIndex,h=1/0,m=this.options.contain&&!this.isWrapping?(g,f)=>g<=f:(g,f)=>g<f;for(;m(l,h)&&(d+=s,h=l,l=this.getSlideDistance(-i,d),l!==null);)l=Math.abs(l);return{distance:h,index:d-s}},a.getSlideDistance=function(i,l){let s=this.slides.length,d=this.options.wrapAround&&s>1,h=d?t.modulo(l,s):l,m=this.slides[h];if(!m)return null;let g=d?this.slideableWidth*Math.floor(l/s):0;return i-(m.target+g)},a.dragEndBoostSelect=function(){if(this.previousDragX===void 0||!this.dragMoveTime||new Date-this.dragMoveTime>100)return 0;let i=this.getSlideDistance(-this.dragX,this.selectedIndex),l=this.previousDragX-this.dragX;return i>0&&l>0?1:i<0&&l<0?-1:0},a.onscroll=function(){let i=o(),l=this.pointerDownScroll.x-i.x,s=this.pointerDownScroll.y-i.y;(Math.abs(l)>3||Math.abs(s)>3)&&this.pointerDone()};function o(){return{x:r.pageXOffset,y:r.pageYOffset}}return c})}(rt)),rt.exports}var ot={exports:{}},Gt;function Ji(){return Gt||(Gt=1,function(e){(function(n,r){e.exports?e.exports=r(D()):r(n.Flickity)})(typeof window<"u"?window:_,function(r){const c="http://www.w3.org/2000/svg";function u(o,i,l){this.increment=o,this.direction=i,this.isPrevious=o==="previous",this.isLeft=i==="left",this._create(l)}u.prototype._create=function(o){let i=this.element=document.createElement("button");i.className=`flickity-button flickity-prev-next-button ${this.increment}`;let l=this.isPrevious?"Previous":"Next";i.setAttribute("type","button"),i.setAttribute("aria-label",l),this.disable();let s=this.createSVG(l,o);i.append(s)}
21,u.prototype.createSVG=function(o,i){let l=document.createElementNS(c,"svg");l.setAttribute("class","flickity-button-icon"),l.setAttribute("viewBox","0 0 100 100");let s=document.createElementNS(c,"title");s.append(o);let d=document.createElementNS(c,"path"),h=t(i);return d.setAttribute("d",h),d.setAttribute("class","arrow"),this.isLeft||d.setAttribute("transform","translate(100, 100) rotate(180)"),l.append(s,d),l};function t(o){if(typeof o=="string")return o;let{x0:i,x1:l,x2:s,x3:d,y1:h,y2:m}=o;return`M ${i}, 50 22 L ${l}, ${h+50} 23 L ${s}, ${m+50} 24 L ${d}, 50 25 L ${s}, ${50-m} 26 L ${l}, ${50-h} 27 Z`}u.prototype.enable=function(){this.element.removeAttribute("disabled")},u.prototype.disable=function(){this.element.setAttribute("disabled",!0)},Object.assign(r.defaults,{prevNextButtons:!0,arrowShape:{x0:10,x1:60,y1:50,x2:70,y2:40,x3:30}}),r.create.prevNextButtons=function(){if(!this.options.prevNextButtons)return;let{rightToLeft:o,arrowShape:i}=this.options,l=o?"right":"left",s=o?"left":"right";this.prevButton=new u("previous",l,i),this.nextButton=new u("next",s,i),this.focusableElems.push(this.prevButton.element),this.focusableElems.push(this.nextButton.element),this.handlePrevButtonClick=()=>{this.uiChange(),this.previous()},this.handleNextButtonClick=()=>{this.uiChange(),this.next()},this.on("activate",this.activatePrevNextButtons),this.on("select",this.updatePrevNextButtons)};let a=r.prototype;return a.updatePrevNextButtons=function(){let o=this.slides.length?this.slides.length-1:0;this.updatePrevNextButton(this.prevButton,0),this.updatePrevNextButton(this.nextButton,o)},a.updatePrevNextButton=function(o,i){if(this.isWrapping&&this.slides.length>1){o.enable();return}let l=this.selectedIndex!==i;o[l?"enable":"disable"](),!l&&document.activeElement===o.element&&this.focus()},a.activatePrevNextButtons=function(){this.prevButton.element.addEventListener("click",this.handlePrevButtonClick),this.nextButton.element.addEventListener("click",this.handleNextButtonClick),this.element.append(this.prevButton.element,this.nextButton.element),this.on("deactivate",this.deactivatePrevNextButtons)},a.deactivatePrevNextButtons=function(){this.prevButton.element.remove(),this.nextButton.element.remove(),this.prevButton.element.removeEventListener("click",this.handlePrevButtonClick),this.nextButton.element.removeEventListener("click",this.handleNextButtonClick),this.off("deactivate",this.deactivatePrevNextButtons)},r.PrevNextButton=u,r})}(ot)),ot.exports}var at={exports:{}},Xt;function Zi(){return Xt||(Xt=1,function(e){(function(n,r){e.exports?e.exports=r(D(),B()):r(n.Flickity,n.fizzyUIUtils)})(typeof window<"u"?window:_,function(r,c){function u(){this.holder=document.createElement("div"),this.holder.className="flickity-page-dots",this.dots=[]}u.prototype.setDots=function(a){let o=a-this.dots.length;o>0?this.addDots(o):o<0&&this.removeDots(-o)},u.prototype.addDots=function(a){let o=new Array(a).fill().map((i,l)=>{let s=document.createElement("button");s.setAttribute("type","button");let d=l+1+this.dots.length;return s.className="flickity-page-dot",s.textContent=`View slide ${d}`,s});this.holder.append(...o),this.dots=this.dots.concat(o)},u.prototype.removeDots=function(a){this.dots.splice(this.dots.length-a,a).forEach(i=>i.remove())},u.prototype.updateSelected=function(a){this.selectedDot&&(this.selectedDot.classList.remove("is-selected"),this.selectedDot.removeAttribute("aria-current")),this.dots.length&&(this.selectedDot=this.dots[a],this.selectedDot.classList.add("is-selected"),this.selectedDot.setAttribute("aria-current","step"))},r.PageDots=u,Object.assign(r.defaults,{pageDots:!0}),r.create.pageDots=function(){this.options.pageDots&&(this.pageDots=new u,this.handlePageDotsClick=this.onPageDotsClick.bind(this),this.on("activate",this.activatePageDots),this.on("select",this.updateSelectedPageDots),this.on("cellChange",this.updatePageDots),this.on("resize",this.updatePageDots),this.on("deactivate",this.deactivatePageDots))};let t=r.prototype;return t.activatePageDots=function(){this.pageDots.setDots(this.slides.length),this.focusableElems.push(...this.pageDots.dots),this.pageDots.holder.addEventListener("click",this.handlePageDotsClick),this.element.append(this.pageDots.holder)},t.onPageDotsClick=function(a){let o=this.pageDots.dots.indexOf(a.target);o!==-1&&(this.uiChange(),this.select(o))},t.updateSelectedPageDots=function(){this.pageDots.updateSelected(this.selectedIndex)}
27,t.updatePageDots=function(){this.pageDots.dots.forEach(a=>{c.removeFrom(this.focusableElems,a)}),this.pageDots.setDots(this.slides.length),this.focusableElems.push(...this.pageDots.dots)},t.deactivatePageDots=function(){this.pageDots.holder.remove(),this.pageDots.holder.removeEventListener("click",this.handlePageDotsClick)},r.PageDots=u,r})}(at)),at.exports}var lt={exports:{}},jt;function tn(){return jt||(jt=1,function(e){(function(n,r){e.exports?e.exports=r(D()):r(n.Flickity)})(typeof window<"u"?window:_,function(r){function c(t,a){this.autoPlay=t,this.onTick=a,this.state="stopped",this.onVisibilityChange=this.visibilityChange.bind(this),this.onVisibilityPlay=this.visibilityPlay.bind(this)}c.prototype.play=function(){if(this.state==="playing")return;if(document.hidden){document.addEventListener("visibilitychange",this.onVisibilityPlay);return}this.state="playing",document.addEventListener("visibilitychange",this.onVisibilityChange),this.tick()},c.prototype.tick=function(){if(this.state!=="playing")return;let t=typeof this.autoPlay=="number"?this.autoPlay:3e3;this.clear(),this.timeout=setTimeout(()=>{this.onTick(),this.tick()},t)},c.prototype.stop=function(){this.state="stopped",this.clear(),document.removeEventListener("visibilitychange",this.onVisibilityChange)},c.prototype.clear=function(){clearTimeout(this.timeout)},c.prototype.pause=function(){this.state==="playing"&&(this.state="paused",this.clear())},c.prototype.unpause=function(){this.state==="paused"&&this.play()},c.prototype.visibilityChange=function(){let t=document.hidden;this[t?"pause":"unpause"]()},c.prototype.visibilityPlay=function(){this.play(),document.removeEventListener("visibilitychange",this.onVisibilityPlay)},Object.assign(r.defaults,{pauseAutoPlayOnHover:!0}),r.create.player=function(){this.player=new c(this.options.autoPlay,()=>{this.next(!0)}),this.on("activate",this.activatePlayer),this.on("uiChange",this.stopPlayer),this.on("pointerDown",this.stopPlayer),this.on("deactivate",this.deactivatePlayer)};let u=r.prototype;return u.activatePlayer=function(){this.options.autoPlay&&(this.player.play(),this.element.addEventListener("mouseenter",this))},u.playPlayer=function(){this.player.play()},u.stopPlayer=function(){this.player.stop()},u.pausePlayer=function(){this.player.pause()},u.unpausePlayer=function(){this.player.unpause()},u.deactivatePlayer=function(){this.player.stop(),this.element.removeEventListener("mouseenter",this)},u.onmouseenter=function(){this.options.pauseAutoPlayOnHover&&(this.player.pause(),this.element.addEventListener("mouseleave",this))},u.onmouseleave=function(){this.player.unpause(),this.element.removeEventListener("mouseleave",this)},r.Player=c,r})}(lt)),lt.exports}var ct={exports:{}},Yt;function en(){return Yt||(Yt=1,function(e){(function(n,r){e.exports?e.exports=r(D(),B()):r(n.Flickity,n.fizzyUIUtils)})(typeof window<"u"?window:_,function(r,c){function u(a){let o=document.createDocumentFragment();return a.forEach(i=>o.appendChild(i.element)),o}let t=r.prototype;return t.insert=function(a,o){let i=this._makeCells(a);if(!i||!i.length)return;let l=this.cells.length;o=o===void 0?l:o;let s=u(i),d=o===l;if(d)this.slider.appendChild(s);else{let h=this.cells[o].element;this.slider.insertBefore(s,h)}if(o===0)this.cells=i.concat(this.cells);else if(d)this.cells=this.cells.concat(i);else{let h=this.cells.splice(o,l-o);this.cells=this.cells.concat(i).concat(h)}this._sizeCells(i),this.cellChange(o),this.positionSliderAtSelected()},t.append=function(a){this.insert(a,this.cells.length)},t.prepend=function(a){this.insert(a,0)},t.remove=function(a){let o=this.getCells(a);if(!o||!o.length)return;let i=this.cells.length-1;o.forEach(l=>{l.remove();let s=this.cells.indexOf(l);i=Math.min(s,i),c.removeFrom(this.cells,l)}),this.cellChange(i),this.positionSliderAtSelected()},t.cellSizeChange=function(a){let o=this.getCell(a);if(!o)return;o.getSize();let i=this.cells.indexOf(o);this.cellChange(i)},t.cellChange=function(a){let o=this.selectedElement;this._positionCells(a),this._updateWrapShiftCells(),this.setGallerySize();let i=this.getCell(o);i&&(this.selectedIndex=this.getCellSlideIndex(i)),this.selectedIndex=Math.min(this.slides.length-1,this.selectedIndex),this.emitEvent("cellChange",[a]),this.select(this.selectedIndex)},r})}(ct)),ct.exports}var ut={exports:{}},Qt;function nn(){return Qt||(Qt=1,function(e){(function(n,r){e.exports?e.exports=r(D(),B()):r(n.Flickity,n.fizzyUIUtils)})(typeof window<"u"?window:_,function(r,c){const u="data-flickity-lazyload",t=`${u}-src`,a=`${u}-srcset`,o=`img[${u}], img[${t}], img[${a}], source[${a}]`;r.create.lazyLoad=function(){this.on("select",this.lazyLoad),this.handleLazyLoadComplete=this.onLazyLoadComplete.bind(this)};let i=r.prototype;i.lazyLoad=function(){let{lazyLoad:d}=this.options;if(!d)return;let h=typeof d=="number"?d:0;
27this.getAdjacentCellElements(h).map(l).flat().forEach(m=>new s(m,this.handleLazyLoadComplete))};function l(d){if(d.matches("img")){let h=d.getAttribute(u),m=d.getAttribute(t),g=d.getAttribute(a);if(h||m||g)return d}return[...d.querySelectorAll(o)]}i.onLazyLoadComplete=function(d,h){let m=this.getParentCell(d),g=m&&m.element;this.cellSizeChange(g),this.dispatchEvent("lazyLoad",h,g)};function s(d,h){this.img=d,this.onComplete=h,this.load()}return s.prototype.handleEvent=c.handleEvent,s.prototype.load=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this);let d=this.img.getAttribute(u)||this.img.getAttribute(t),h=this.img.getAttribute(a);this.img.src=d,h&&this.img.setAttribute("srcset",h),this.img.removeAttribute(u),this.img.removeAttribute(t),this.img.removeAttribute(a)},s.prototype.onload=function(d){this.complete(d,"flickity-lazyloaded")},s.prototype.onerror=function(d){this.complete(d,"flickity-lazyerror")},s.prototype.complete=function(d,h){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this),(this.img.parentNode.matches("picture")?this.img.parentNode:this.img).classList.add(h),this.onComplete(this.img,d)},r.LazyLoader=s,r})}(ut)),ut.exports}var dt={exports:{}},ht={exports:{}};/*! 28 * imagesLoaded v5.0.0 29 * JavaScript is all like "You images are done yet or what?" 30 * MIT License 31 */var Kt;function rn(){return Kt||(Kt=1,function(e){(function(n,r){e.exports?e.exports=r(n,Ct()):n.imagesLoaded=r(n,n.EvEmitter)})(typeof window<"u"?window:_,function(r,c){let u=r.jQuery,t=r.console;function a(h){return Array.isArray(h)?h:typeof h=="object"&&typeof h.length=="number"?[...h]:[h]}function o(h,m,g){if(!(this instanceof o))return new o(h,m,g);let f=h;if(typeof h=="string"&&(f=document.querySelectorAll(h)),!f){t.error(`Bad element for imagesLoaded ${f||h}`);return}this.elements=a(f),this.options={},typeof m=="function"?g=m:Object.assign(this.options,m),g&&this.on("always",g),this.getImages(),u&&(this.jqDeferred=new u.Deferred),setTimeout(this.check.bind(this))}o.prototype=Object.create(c.prototype),o.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)};const i=[1,9,11];o.prototype.addElementImages=function(h){h.nodeName==="IMG"&&this.addImage(h),this.options.background===!0&&this.addElementBackgroundImages(h);let{nodeType:m}=h;if(!m||!i.includes(m))return;let g=h.querySelectorAll("img");for(let f of g)this.addImage(f);if(typeof this.options.background=="string"){let f=h.querySelectorAll(this.options.background);for(let C of f)this.addElementBackgroundImages(C)}};const l=/url\((['"])?(.*?)\1\)/gi;o.prototype.addElementBackgroundImages=function(h){let m=getComputedStyle(h);if(!m)return;let g=l.exec(m.backgroundImage);for(;g!==null;){let f=g&&g[2];f&&this.addBackground(f,h),g=l.exec(m.backgroundImage)}},o.prototype.addImage=function(h){let m=new s(h);this.images.push(m)},o.prototype.addBackground=function(h,m){let g=new d(h,m);this.images.push(g)},o.prototype.check=function(){if(this.progressedCount=0,this.hasAnyBroken=!1,!this.images.length){this.complete();return}let h=(m,g,f)=>{setTimeout(()=>{this.progress(m,g,f)})};this.images.forEach(function(m){m.once("progress",h),m.check()})},o.prototype.progress=function(h,m,g){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!h.isLoaded,this.emitEvent("progress",[this,h,m]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,h),this.progressedCount===this.images.length&&this.complete(),this.options.debug&&t&&t.log(`progress: ${g}`,h,m)},o.prototype.complete=function(){let h=this.hasAnyBroken?"fail":"done";if(this.isComplete=!0,this.emitEvent(h,[this]),this.emitEvent("always",[this]),this.jqDeferred){let m=this.hasAnyBroken?"reject":"resolve";this.jqDeferred[m](this)}};function s(h){this.img=h}s.prototype=Object.create(c.prototype),s.prototype.check=function(){if(this.getIsImageComplete()){this.confirm(this.img.naturalWidth!==0,"naturalWidth");return}this.proxyImage=new Image,this.img.crossOrigin&&(this.proxyImage.crossOrigin=this.img.crossOrigin),this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.proxyImage.src=this.img.currentSrc||this.img.src},s.prototype.getIsImageComplete=function(){return this.img.complete&&this.img.naturalWi
31dth},s.prototype.confirm=function(h,m){this.isLoaded=h;let{parentNode:g}=this.img,f=g.nodeName==="PICTURE"?g:this.img;this.emitEvent("progress",[this,f,m])},s.prototype.handleEvent=function(h){let m="on"+h.type;this[m]&&this[m](h)},s.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},s.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},s.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)};function d(h,m){this.url=h,this.element=m,this.img=new Image}return d.prototype=Object.create(s.prototype),d.prototype.check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url,this.getIsImageComplete()&&(this.confirm(this.img.naturalWidth!==0,"naturalWidth"),this.unbindEvents())},d.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},d.prototype.confirm=function(h,m){this.isLoaded=h,this.emitEvent("progress",[this,this.element,m])},o.makeJQueryPlugin=function(h){h=h||r.jQuery,h&&(u=h,u.fn.imagesLoaded=function(m,g){return new o(this,m,g).jqDeferred.promise(u(this))})},o.makeJQueryPlugin(),o})}(ht)),ht.exports}var Jt;function sn(){return Jt||(Jt=1,function(e){(function(n,r){e.exports?e.exports=r(D(),rn()):r(n.Flickity,n.imagesLoaded)})(typeof window<"u"?window:_,function(r,c){return r.create.imagesLoaded=function(){this.on("activate",this.imagesLoaded)},r.prototype.imagesLoaded=function(){if(!this.options.imagesLoaded)return;let u=(t,a)=>{let o=this.getParentCell(a.img);this.cellSizeChange(o&&o.element),this.options.freeScroll||this.positionSliderAtSelected()};c(this.slider).on("progress",u)},r})}(dt)),dt.exports}/*! 32 * Flickity v3.0.0 33 * Touch, responsive, flickable carousels 34 * 35 * Licensed GPLv3 for open source use 36 * or Flickity Commercial License for commercial use 37 * 38 * https://flickity.metafizzy.co 39 * Copyright 2015-2022 Metafizzy 40 */(function(e){if(e.exports){const n=D();Ki(),Ji(),Zi(),tn(),en(),nn(),sn(),e.exports=n}})(Te);var qe=Te.exports;const k=W(qe),Zt=document.querySelectorAll(".carousel");if(Zt!==null)for(const e of Zt){const n=e.querySelector(".photo-slider");var ft=new k(n,{contain:!1,groupCells:!0,selectedAttraction:.015,wrapAround:!0,accessibility:!1});ft.resize,ft.on("change",function(r){var c=n.querySelectorAll(".is-selected");const u=n.querySelectorAll("a[tabindex]");if(u!==null)for(const a of u)a.setAttribute("tabindex","-1");for(const a of c){var t=a.querySelector("a");t!==null&&t.setAttribute("tabindex","0")}}),window.addEventListener("load",function(){ft.resize,window.dispatchEvent(new Event("resize"));var r=n.querySelectorAll(".is-selected");const c=n.querySelectorAll("a[tabindex]");if(c!==null)for(const t of c)t.setAttribute("tabindex","-1");for(const t of r){var u=t.querySelector("a");u!==null&&u.setAttribute("tabindex","0")}}),document.addEventListener("DOMContentLoaded",function(){var r=document.createElement("div");r.setAttribute("class","flickity-nav"),Array.prototype.forEach.call(e.querySelectorAll(".flickity-page-dots, .flickity-button"),c=>{r.appendChild(c)}),n.appendChild(r)})}const te=document.querySelectorAll(".stat-slider");if(te!==null)for(const e of te){const n=e.querySelector(".slider__carousel");var pt=new k(n,{contain:!1,groupCells:!0,selectedAttraction:.015,wrapAround:!0,accessibility:!1});pt.resize,pt.on("change",function(r){var c=n.querySelectorAll(".is-selected");const u=n.querySelectorAll("a[tabindex]");if(u!==null)for(const a of u)a.setAttribute("tabindex","-1");for(const a of c){var t=a.querySelector("a");t!==null&&t.setAttribute("tabindex","0")}}),window.addEventListener("load",function(){pt.resize,window.dispatchEvent(new Event("resize"));var r=n.querySelectorAll(".is-selected");const c=n.querySelectorAll("a[tabindex]");if(c!==null)for(const t of c)t.setAttribute("tabindex","-1");for(const t of r){var u=t.querySelector("a");u!==null&&u.setAttribute("tabindex","0")}})}var on={exports:{}};/*! 41 * Flickity sync v2.0.0 42 * enable sync for Flickity 43 */(function(e){(function(n,r){e.exports?e.exports=r(qe,B()):r(n.Flickity,n.fizzyUIUtils)})(typeof window<"u"?window:_,function(r,c){r.create.sync=function(){this.syncers={};let t=this.options.sync;this.on("destroy",this.unsyncAll),t&&setTimeout(()=>{this.sync(t)})};let u=r.prototype;return u.sync=function(t){t=c.getQueryElement(t);let a=r.data(t);a&&(this._syncCompanion(a),a._syncCompanion(this))},u._syncCompanion=function(t){let a=this;function o(){let i=a.selectedIndex;t.selectedIndex!==i&&t.select(i)}this.on("select",o),this.syncers[t.guid]={flickity:t,listener:o}},u.unsync=function(t){t=c.getQueryElement(t);let a=r.data(t);this._unsync(a)},u._unsync=function(t){t&&(this._unsyncCompanion(t),t._unsyncCompanion(this))},u._unsyncCompanion=function(t){let a=t.guid,o=this.syncers[a];this.off("select",o.listener),delete this.syncers[a]},u.unsyncAll=function(){for(let t in this.syncers){let a=this.syncers[t];this._unsync(a.flickity)}},r})})(on);const an=document.querySelectorAll(".Highlights");for(const e of an){const n=e.querySelector(".Highlights__background"),r=e.querySelector(".Highlights__detail"),c=e.querySelector(".Highlights__nav"),u=e.querySelectorAll(".Highlights__button");
43if(n&&r&&c){const t=new k(n,{accessibility:!1,imagesLoaded:!0,wrapAround:!0,pageDots:!1,prevNextButtons:!1}),a=document.createElement("div");a.classList.add("flickity-counter");const o=new k(r,{sync:n,pageDots:!1,prevNextButtons:!1,wrapAround:!0,accessibility:!1,on:{ready:()=>{r?.appendChild(a),a.innerHTML=`1/${r?.querySelector(".flickity-slider")?.children.length}`}}});o.on("select",()=>{a.innerHTML=`${o.selectedIndex+1}/${o.cells.length}`});const i=new k(c,{accessibility:!1,sync:n,wrapAround:!0,imagesLoaded:!0,contain:!0,cellAlign:"left",pageDots:!0,prevNextButtons:!0});for(const l of u)l.addEventListener("click",()=>{const s=[...u].indexOf(l);i.select(s)});i.resize,i.on("change",function(l){var s=c.querySelectorAll(".is-selected");const d=c.querySelectorAll("a[tabindex]");if(d!==null)for(const m of d)m.setAttribute("tabindex","-1");for(const m of s){var h=m.querySelector("a");h!==null&&h.setAttribute("tabindex","0")}}),window.addEventListener("load",function(){i.resize,window.dispatchEvent(new Event("resize"));var l=c.querySelectorAll(".is-selected");const s=c.querySelectorAll("a[tabindex]");if(s!==null)for(const h of s)h.setAttribute("tabindex","-1");for(const h of l){var d=h.querySelector("a");d!==null&&d.setAttribute("tabindex","0")}}),window.addEventListener("load",t.resize),window.addEventListener("load",o.resize),window.addEventListener("load",i.resize)}}const ln=document.querySelectorAll(".Swoop__control"),cn=document.querySelectorAll(".Swoop__caption-toggle");for(const e of ln){const n=e.closest(".Swoop")?.querySelector("video");if(n){const r=n.textTracks;for(let u=0;u<r.length;u++)r[u].mode="hidden";const c=u=>{let t=!1;for(let a=0;a<r.length;a++)r[a].mode==="showing"?r[a].mode="hidden":(r[a].mode="showing",t=!0);t?u.classList.add("caption--active"):u.classList.remove("caption--active")};n.addEventListener("pause",()=>{e.classList.add("Swoop__control--paused")}),n.addEventListener("play",()=>{e.classList.remove("Swoop__control--paused")}),e.addEventListener("click",()=>{n.paused?n.play():n.pause()});for(const u of cn)u.addEventListener("click",t=>{t.stopPropagation(),u.closest(".Swoop")?.querySelector("video")&&c(u)})}}const ee=document.querySelectorAll(".news-slider"),ie=document.querySelectorAll(".events-slider");if(ee!==null)for(const e of ee){const n=e.querySelector(".slider__carousel");var z=new k(n,{contain:!0,groupCells:!0,wrapAround:!0,accessibility:!1});z.resize,z.on("change",function(r){var c=n.querySelectorAll(".is-selected");n.querySelectorAll("a[tabindex]");for(const t of c){var u=t.querySelector("a");u!==null&&u.setAttribute("tabindex","0")}}),window.addEventListener("load",function(){z.resize,window.dispatchEvent(new Event("resize"));var r=n.querySelectorAll(".is-selected");n.querySelectorAll("a[tabindex]");for(const u of r){var c=u.querySelector("a");c!==null&&c.setAttribute("tabindex","0")}})}if(ie!==null)for(const e of ie){const n=e.querySelector(".slider__carousel");var z=new k(n,{contain:!0,groupCells:!0,wrapAround:!0,accessibility:!1});z.resize,z.on("change",function(c){var u=n.querySelectorAll(".is-selected");n.querySelectorAll("a[tabindex]");for(const a of u){var t=a.querySelector("a");t!==null&&t.setAttribute("tabindex","0")}}),window.addEventListener("load",function(){z.resize,window.dispatchEvent(new Event("resize"));var c=n.querySelectorAll(".is-selected");n.querySelectorAll("a[tabindex]");for(const t of c){var u=t.querySelector("a");u!==null&&u.setAttribute("tabindex","0")}})}const un=document.querySelectorAll(".Testimonial__slider");for(const e of un){const n=document.createElement("div");n.classList.add("flickity-counter");const r=new k(e,{wrapAround:!0,imagesLoaded:!0,pageDots:!0,dragThreshold:50,accessibility:!1,on:{ready:()=>{e.appendChild(n)}}});e.classList.add("flickity-resize"),window.addEventListener("resize",()=>{e.classList.remove("flickity-resize"),r.resize(),e.classList.add("flickity-resize")}),r.on("select",()=>{n.innerHTML=`${r.selectedIndex+1}/${r.cells.length}`}),document.addEventListener("DOMContentLoaded",function(){var c=document.createElement("div");c.setAttribute("class","flickity-nav"),Array.prototype.forEach.call(e.querySelectorAll(".flickity-page-dots, .flickity-button"),u=>{c.appendChild(u)}),e.appendChild(c)}),window.addEventListener("load",r.resize)}const Ie=document.querySelectorAll(".social__feed"),dn=e=>{const n=document.createElement("div");return n.classList.add("social__item"),n.innerHTML=` 44 <img src="${e.image}" width="640" height="640" alt=""> 45 <div class="social__overlay"> 46 <div class="social__main zero"> 47 <p>${e.message}</p> 48 <div class="social__bottom"> 49 <a class="social__group name" href="${e.full_url}" target="_blank">
50 <span>@${e.poster_name}</span> 51 <span class="social__icon social__icon--instagram"></span> 52 </a> 53 </div> 54 </div> 55 </div> 56 `,n},hn=async e=>{const n=await fetch(e),{posts:{items:r}}=await n.json();r.forEach(c=>{const u=dn(c);Ie.forEach(t=>{t.getAttribute("data-feed")===e&&t.appendChild(u)})})};Ie.forEach(e=>{const n=e.getAttribute("data-feed");n&&hn(n);var r=new k(e,{watchCSS:!0,wrapAround:!0,groupCells:!0,contain:!0,accessibility:!1});r.resize,setTimeout(()=>{window.dispatchEvent(new Event("resize")),r.resize,e.classList.add("loaded"),console.log("load")},500)});var Pe={exports:{}};/** 57 * vivus - JavaScript library to make drawing animation on SVG 58 * @version v0.4.6 59 * @link https://github.com/maxwellito/vivus 60 * @license MIT 61 */(function(e,n){(function(){function r(i){if(typeof i>"u")throw new Error('Pathformer [constructor]: "element" parameter is required');if(i.constructor===String&&(i=document.getElementById(i),!i))throw new Error('Pathformer [constructor]: "element" parameter is not related to an existing ID');if(i instanceof window.SVGElement||i instanceof window.SVGGElement||/^svg$/i.test(i.nodeName))this.el=i;else throw new Error('Pathformer [constructor]: "element" parameter must be a string or a SVGelement');this.scan(i)}r.prototype.TYPES=["line","ellipse","circle","polygon","polyline","rect"],r.prototype.ATTR_WATCH=["cx","cy","points","r","rx","ry","x","x1","x2","y","y1","y2"],r.prototype.scan=function(i){for(var l,s,d,h,m=i.querySelectorAll(this.TYPES.join(",")),g=0;g<m.length;g++)s=m[g],l=this[s.tagName.toLowerCase()+"ToPath"],d=l(this.parseAttr(s.attributes)),h=this.pathMaker(s,d),s.parentNode.replaceChild(h,s)},r.prototype.lineToPath=function(i){var l={},s=i.x1||0,d=i.y1||0,h=i.x2||0,m=i.y2||0;return l.d="M"+s+","+d+"L"+h+","+m,l},r.prototype.rectToPath=function(i){var l={},s=parseFloat(i.x)||0,d=parseFloat(i.y)||0,h=parseFloat(i.width)||0,m=parseFloat(i.height)||0;if(i.rx||i.ry){var g=parseInt(i.rx,10)||-1,f=parseInt(i.ry,10)||-1;g=Math.min(Math.max(g<0?f:g,0),h/2),f=Math.min(Math.max(f<0?g:f,0),m/2),l.d="M "+(s+g)+","+d+" L "+(s+h-g)+","+d+" A "+g+","+f+",0,0,1,"+(s+h)+","+(d+f)+" L "+(s+h)+","+(d+m-f)+" A "+g+","+f+",0,0,1,"+(s+h-g)+","+(d+m)+" L "+(s+g)+","+(d+m)+" A "+g+","+f+",0,0,1,"+s+","+(d+m-f)+" L "+s+","+(d+f)+" A "+g+","+f+",0,0,1,"+(s+g)+","+d}else l.d="M"+s+" "+d+" L"+(s+h)+" "+d+" L"+(s+h)+" "+(d+m)+" L"+s+" "+(d+m)+" Z";return l},r.prototype.polylineToPath=function(i){var l={},s=i.points.trim().split(" "),d,h;
61if(i.points.indexOf(",")===-1){var m=[];for(d=0;d<s.length;d+=2)m.push(s[d]+","+s[d+1]);s=m}for(h="M"+s[0],d=1;d<s.length;d++)s[d].indexOf(",")!==-1&&(h+="L"+s[d]);return l.d=h,l},r.prototype.polygonToPath=function(i){var l=r.prototype.polylineToPath(i);return l.d+="Z",l},r.prototype.ellipseToPath=function(i){var l={},s=parseFloat(i.rx)||0,d=parseFloat(i.ry)||0,h=parseFloat(i.cx)||0,m=parseFloat(i.cy)||0,g=h-s,f=m,C=parseFloat(h)+parseFloat(s),E=m;return l.d="M"+g+","+f+"A"+s+","+d+" 0,1,1 "+C+","+E+"A"+s+","+d+" 0,1,1 "+g+","+E,l},r.prototype.circleToPath=function(i){var l={},s=parseFloat(i.r)||0,d=parseFloat(i.cx)||0,h=parseFloat(i.cy)||0,m=d-s,g=h,f=parseFloat(d)+parseFloat(s),C=h;return l.d="M"+m+","+g+"A"+s+","+s+" 0,1,1 "+f+","+C+"A"+s+","+s+" 0,1,1 "+m+","+C,l},r.prototype.pathMaker=function(i,l){var s,d,h=document.createElementNS("http://www.w3.org/2000/svg","path");for(s=0;s<i.attributes.length;s++)d=i.attributes[s],this.ATTR_WATCH.indexOf(d.name)===-1&&h.setAttribute(d.name,d.value);for(s in l)h.setAttribute(s,l[s]);return h},r.prototype.parseAttr=function(i){for(var l,s={},d=0;d<i.length;d++){if(l=i[d],this.ATTR_WATCH.indexOf(l.name)!==-1&&l.value.indexOf("%")!==-1)throw new Error("Pathformer [parseAttr]: a SVG shape got values in percentage. This cannot be transformed into 'path' tags. Please use 'viewBox'.");s[l.name]=l.value}return s};var c,u,t,a;function o(i,l,s){c(),this.isReady=!1,this.setElement(i,l),this.setOptions(l),this.setCallback(s),this.isReady&&this.init()}o.LINEAR=function(i){return i},o.EASE=function(i){return-Math.cos(i*Math.PI)/2+.5},o.EASE_OUT=function(i){return 1-Math.pow(1-i,3)},o.EASE_IN=function(i){return Math.pow(i,3)},o.EASE_OUT_BOUNCE=function(i){var l=-Math.cos(i*(.5*Math.PI))+1,s=Math.pow(l,1.5),d=Math.pow(1-i,2),h=-Math.abs(Math.cos(s*(2.5*Math.PI)))+1;return 1-d+h*d},o.prototype.setElement=function(i,l){var s,d;if(typeof i>"u")throw new Error('Vivus [constructor]: "element" parameter is required');if(i.constructor===String&&(i=document.getElementById(i),!i))throw new Error('Vivus [constructor]: "element" parameter is not related to an existing ID');if(this.parentEl=i,l&&l.file){d=this,s=function(){var m=document.createElement("div");m.innerHTML=this.responseText;var g=m.querySelector("svg");if(!g)throw new Error("Vivus [load]: Cannot find the SVG in the loaded file : "+l.file);d.el=g,d.el.setAttribute("width","100%"),d.el.setAttribute("height","100%"),d.parentEl.appendChild(d.el),d.isReady=!0,d.init(),d=null};var h=new window.XMLHttpRequest;h.addEventListener("load",s),h.open("GET",l.file),h.send();return}switch(i.constructor){case window.SVGSVGElement:case window.SVGElement:case window.SVGGElement:this.el=i,this.isReady=!0;break;case window.HTMLObjectElement:d=this,s=function(m){if(!d.isReady){if(d.el=i.contentDocument&&i.contentDocument.querySelector("svg"),!d.el&&m)throw new Error("Vivus [constructor]: object loaded does not contain any SVG");d.el&&(i.getAttribute("built-by-vivus")&&(d.parentEl.insertBefore(d.el,i),d.parentEl.removeChild(i),d.el.setAttribute("width","100%"),d.el.setAttribute("height","100%")),d.isReady=!0,d.init(),d=null)}},s()||i.addEventListener("load",s);break;default:throw new Error('Vivus [constructor]: "element" parameter is not valid (or miss the "file" attribute)')}},o.prototype.setOptions=function(i){var l=["delayed","sync","async","nsync","oneByOne","scenario","scenario-sync"],s=["inViewport","manual","autostart"];if(i!==void 0&&i.constructor!==Object)throw new Error('Vivus [constructor]: "options" parameter must be an object');if(i=i||{},i.type&&l.indexOf(i.type)===-1)throw new Error("Vivus [constructor]: "+i.type+" is not an existing animation `type`");if(this.type=i.type||l[0],i.start&&s.indexOf(i.start)===-1)throw new Error("Vivus [constructor]: "+i.start+" is not an existing `start` option");if(this.start=i.start||s[0],this.isIE=window.navigator.userAgent.indexOf("MSIE")!==-1||window.navigator.userAgent.indexOf("Trident/")!==-1||window.navigator.userAgent.indexOf("Edge/")!==-1,this.duration=a(i.duration,120),this.delay=a(i.delay,null),this.dashGap=a(i.dashGap,1),this.forceRender=i.hasOwnProperty("forceRender")?!!i.forceRender:this.isIE,this.reverseStack=!!i.reverseStack,this.selfDe
61stroy=!!i.selfDestroy,this.onReady=i.onReady,this.map=[],this.frameLength=this.currentFrame=this.delayUnit=this.speed=this.handle=null,this.ignoreInvisible=i.hasOwnProperty("ignoreInvisible")?!!i.ignoreInvisible:!1,this.animTimingFunction=i.animTimingFunction||o.LINEAR,this.pathTimingFunction=i.pathTimingFunction||o.LINEAR,this.delay>=this.duration)throw new Error("Vivus [constructor]: delay must be shorter than duration")},o.prototype.setCallback=function(i){if(i&&i.constructor!==Function)throw new Error('Vivus [constructor]: "callback" parameter must be a function');this.callback=i||function(){}},o.prototype.mapping=function(){var i,l,s,d,h,m,g,f,C,E;for(f=m=g=0,l=this.el.querySelectorAll("path"),E=!1,i=0;i<l.length;i++)if(s=l[i],!this.isInvisible(s)){if(h={el:s,length:0,startAt:0,duration:0,isResizeSensitive:!1},s.getAttribute("vector-effect")==="non-scaling-stroke"){var x=s.getBoundingClientRect(),S=s.getBBox();C=Math.max(x.width/S.width,x.height/S.height),h.isResizeSensitive=!0,E=!0}else C=1;if(h.length=Math.ceil(s.getTotalLength()*C),isNaN(h.length)){window.console&&console.warn&&console.warn("Vivus [mapping]: cannot retrieve a path element length",s);continue}this.map.push(h),s.style.strokeDasharray=h.length+" "+(h.length+this.dashGap*2),s.style.strokeDashoffset=h.length+this.dashGap,h.length+=this.dashGap,m+=h.length,this.renderPath(i)}for(E&&console.warn("Vivus: this SVG contains non-scaling-strokes. You should call instance.recalc() when the SVG is resized or you will encounter unwanted behaviour. See https://github.com/maxwellito/vivus#non-scaling for more info."),m=m===0?1:m,this.delay=this.delay===null?this.duration/3:this.delay,this.delayUnit=this.delay/(l.length>1?l.length-1:1),this.reverseStack&&this.map.reverse(),i=0;i<this.map.length;i++){switch(h=this.map[i],this.type){case"delayed":h.startAt=this.delayUnit*i,h.duration=this.duration-this.delay;break;case"oneByOne":h.startAt=g/m*this.duration,h.duration=h.length/m*this.duration;break;case"sync":case"async":case"nsync":h.startAt=0,h.duration=this.duration;break;case"scenario-sync":s=h.el,d=this.parseAttr(s),h.startAt=f+(a(d["data-delay"],this.delayUnit)||0),h.duration=a(d["data-duration"],this.duration),f=d["data-async"]!==void 0?h.startAt:h.startAt+h.duration,this.frameLength=Math.max(this.frameLength,h.startAt+h.duration);break;case"scenario":s=h.el,d=this.parseAttr(s),h.startAt=a(d["data-start"],this.delayUnit)||0,h.duration=a(d["data-duration"],this.duration),this.frameLength=Math.max(this.frameLength,h.startAt+h.duration);break}g+=h.length,this.frameLength=this.frameLength||this.duration}},o.prototype.recalc=function(){this.mustRecalcScale||(this.mustRecalcScale=u(function(){this.performLineRecalc()}.bind(this)))},o.prototype.performLineRecalc=function(){for(var i,l,s,d,h,m=0;m<this.map.length;m++)i=this.map[m],i.isResizeSensitive&&(l=i.el,s=l.getBoundingClientRect(),d=l.getBBox(),h=Math.max(s.width/d.width,s.height/d.height),i.length=Math.ceil(l.getTotalLength()*h),l.style.strokeDasharray=i.length+" "+(i.length+this.dashGap*2));this.trace(),this.mustRecalcScale=null},o.prototype.draw=function(){var i=this;if(this.currentFrame+=this.speed,this.currentFrame<=0)this.stop(),this.reset();else if(this.currentFrame>=this.frameLength)this.stop(),this.currentFrame=this.frameLength,this.trace(),this.selfDestroy&&this.destroy();else{this.trace(),this.handle=u(function(){i.draw()});return}this.callback(this),this.instanceCallback&&(this.instanceCallback(this),this.instanceCallback=null)},o.prototype.trace=function(){var i,l,s,d;for(d=this.animTimingFunction(this.currentFrame/this.frameLength)*this.frameLength,i=0;i<this.map.length;i++)s=this.map[i],l=(d-s.startAt)/s.duration,l=this.pathTimingFunction(Math.max(0,Math.min(1,l))),s.progress!==l&&(s.progress=l,s.el.style.strokeDashoffset=Math.floor(s.length*(1-l)),this.renderPath(i))},o.prototype.renderPath=function(i){if(this.forceRender&&this.map&&this.map[i]){var l=this.map[i],s=l.el.cloneNode(!0);l.el.parentNode.replaceChild(s,l.el),l.el=s}},o.prototype.init=function(){this.frameLength=0,this.currentFrame=0,this.map=[],new r(this.el),this.mapping(),this.starter(),this.onReady&&this.onReady(this)},o.prototype.starter=function(){switch(this.start){case"manual":return;case"autostart":this.play();break;case"inViewport":var i=this,l=function(){i.isInViewport(i.parentEl,1)&&(i.play(),window.removeEventListener("scroll",l))};window.addEventListener("scroll",l),l();break}},o.prototype.getStatus=function(){return this.currentFrame===0?"start":this.currentFrame===this.frameLength?"end":"progress"},o.prototype.reset=function(){return this.setFrameProgress(0)},o.prototype.finish=function(){return this.setFrameProgress(1)},o.prototype.setFrameProgress=function(i){return i=Math.min(1,Math.max(0,i)),this.currentFrame=Math.round(this.frameLength*i),this.trace(),this},o.prototype.play=function(i,l){if(this.instanceCallback=null,i&&typeof i=="function")this.instanceCallback=i,i=null;else if(i&&typeof i!="number")throw new Error("Vivus [play]: invali
61d speed");return l&&typeof l=="function"&&!this.instanceCallback&&(this.instanceCallback=l),this.speed=i||1,this.handle||this.draw(),this},o.prototype.stop=function(){return this.handle&&(t(this.handle),this.handle=null),this},o.prototype.destroy=function(){this.stop();var i,l;for(i=0;i<this.map.length;i++)l=this.map[i],l.el.style.strokeDashoffset=null,l.el.style.strokeDasharray=null,this.renderPath(i)},o.prototype.isInvisible=function(i){var l,s=i.getAttribute("data-ignore");return s!==null?s!=="false":this.ignoreInvisible?(l=i.getBoundingClientRect(),!l.width&&!l.height):!1},o.prototype.parseAttr=function(i){var l,s={};if(i&&i.attributes)for(var d=0;d<i.attributes.length;d++)l=i.attributes[d],s[l.name]=l.value;return s},o.prototype.isInViewport=function(i,l){var s=this.scrollY(),d=s+this.getViewportH(),h=i.getBoundingClientRect(),m=h.height,g=s+h.top,f=g+m;return l=l||0,g+m*l<=d&&f>=s},o.prototype.getViewportH=function(){var i=this.docElem.clientHeight,l=window.innerHeight;return i<l?l:i},o.prototype.scrollY=function(){return window.pageYOffset||this.docElem.scrollTop},c=function(){o.prototype.docElem||(o.prototype.docElem=window.document.documentElement,u=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(i){return window.setTimeout(i,1e3/60)}}(),t=function(){return window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||window.oCancelAnimationFrame||window.msCancelAnimationFrame||function(i){return window.clearTimeout(i)}}())},a=function(i,l){var s=parseInt(i,10);return s>=0?s:l},e.exports=o})()})(Pe);var fn=Pe.exports;const q=W(fn);document.getElementById("clockTower")!=null&&new q("clockTower",{type:"oneByOne",duration:150});document.getElementById("waterTower")!=null&&new q("waterTower",{type:"oneByOne",duration:150});document.getElementById("xavier")!=null&&new q("xavier",{type:"oneByOne",duration:150});document.getElementById("cupples")!=null&&new q("cupples",{type:"oneByOne",duration:150});document.getElementById("cook")!=null&&new q("cook",{type:"oneByOne",duration:150});document.getElementById("museum")!=null&&new q("museum",{type:"oneByOne",duration:150});document.getElementById("hospital")!=null&&new q("hospital",{type:"oneByOne",duration:150});document.getElementById("dubourg")!=null&&new q("dubourg",{type:"oneByOne",duration:150});function Fe(){for(var e=document.querySelectorAll(".dubourg-windows"),n=0,r=e.length;n<r;n++){var c=e[n],u=c.getBoundingClientRect().top-window.innerHeight;u<0&&c.classList.add("dubourg-animate")}requestAnimationFrame(Fe)}Fe();const pn=document.querySelectorAll(".home-events.double-slider");for(const e of pn){const n=e.querySelector(".text-slider"),r=e.querySelector(".photo-slider");document.createElement("div");const c=e.querySelectorAll(".media_inner"),u=r.querySelectorAll(".slide");var P=new k(r,{wrapAround:!0,selectedAttraction:.015,accessibility:!1,pageDots:!0,prevNextButtons:!0,adaptiveHeight:!0});P.on("scroll",function(){P.slides.forEach(function(t,a){var o=c[a],i=(t.target+P.x)*-1/4;o.style.backgroundPosition=i+"px"})}),u[1].classList.add("is-next"),u.forEach((t,a)=>{t.addEventListener("click",()=>{P.selectCell(a)})}),P.on("change",function(t){var a=t-1,o=t+1;P.slides.forEach(function(d,h){u[h].classList.remove("is-previous"),u[h].classList.remove("is-next"),u[a]&&u[a].classList.add("is-previous"),u[o]?u[o].classList.add("is-next"):u[0].classList.add("is-next")});var i=e.querySelectorAll(".is-selected");const l=e.querySelectorAll("a[tabindex]");if(l!==null)for(const d of l)d.setAttribute("tabindex","-1");for(const d of i){var s=d.querySelector("a");s!==null&&s.setAttribute("tabindex","0")}}),P.resize,window.addEventListener("load",function(){window.dispatchEvent(new Event("resize"));var t=e.querySelectorAll(".is-selected");const a=e.querySelectorAll("a[tabindex]");if(a!==null)for(const i of a)i.setAttribute("tabindex","-1");for(const i of t){var o=i.querySelector("a");o!==null&&o.setAttribute("tabindex","0")}}),document.addEventListener("DOMContentLoaded",function(){var t=document.createElement("div");t.setAttribute("class","flickity-nav"),Array.prototype.forEach.call(e.querySelectorAll(".flickity-page-dots, .flickity-button"),a=>{t.appendChild(a)}),n.appendChild(t)})}const mn=document.querySelectorAll(".Splash__control");for(const e of mn){const n=e.previousElementSibling?.querySelector("video");
61n&&(n.addEventListener("pause",()=>{e.classList.add("Splash__control--paused")}),n.addEventListener("play",()=>{e.classList.remove("Splash__control--paused")}),e.addEventListener("click",()=>{n.paused?n.play():n.pause()}))}const gn=document.querySelectorAll(".programs__link");document.querySelector("#background-panel");gn.forEach(e=>{e.addEventListener("mouseover",function(){document.querySelector(e.dataset.show).style.opacity=1}),e.addEventListener("mouseout",function(){document.querySelector(e.dataset.show).style.opacity=0})});const ne=document.querySelectorAll(".cards-slider");if(ne!==null)for(const e of ne){const n=e.querySelector(".slider__carousel");var mt=new k(n,{pageDots:!0,prevNextButtons:!0,wrapAround:!0,contain:!0,cellAlign:"left",groupCells:!0,accessibility:!1});mt.resize,mt.on("change",function(r){var c=n.querySelectorAll(".is-selected");const u=n.querySelectorAll("a[tabindex]");if(u!==null)for(const a of u)a.setAttribute("tabindex","-1");for(const a of c){var t=a.querySelectorAll("a");if(t!==null)for(const o of t)o.setAttribute("tabindex","0")}}),window.addEventListener("load",function(){mt.resize,window.dispatchEvent(new Event("resize"));var r=n.querySelectorAll(".is-selected");const c=n.querySelectorAll("a[tabindex]");if(c!==null)for(const t of c)t.setAttribute("tabindex","-1");for(const t of r){var u=t.querySelectorAll("a");if(u!==null)for(const a of u)a.setAttribute("tabindex","0")}setTimeout(function(){n.classList.add("loaded")})}),window.addEventListener("resize",function(){n.classList.remove("loaded"),setTimeout(function(){n.classList.add("loaded")},500)})}var re=document.querySelectorAll(".accordion__toggle");for(var gt=0,vn=re.length;gt<vn;gt++){var yn=re[gt];yn.addEventListener("click",function(e){this.parentNode.classList.toggle("accordion__item--active"),e.preventDefault()})}const se=document.querySelectorAll(".panorama");if(se!==null)for(const e of se){const n=e.querySelector(".photo-slider");var vt=new k(n,{contain:!1,groupCells:!0,wrapAround:!0,accessibility:!1});vt.resize,vt.on("change",function(r){var c=n.querySelectorAll(".is-selected");const u=n.querySelectorAll("a[tabindex]");if(u!==null)for(const a of u)a.setAttribute("tabindex","-1");for(const a of c){var t=a.querySelector("a");t!==null&&t.setAttribute("tabindex","0")}}),window.addEventListener("load",function(){vt.resize,window.dispatchEvent(new Event("resize"));var r=n.querySelectorAll(".is-selected");const c=n.querySelectorAll("a[tabindex]");if(c!==null)for(const t of c)t.setAttribute("tabindex","-1");for(const t of r){var u=t.querySelector("a");u!==null&&u.setAttribute("tabindex","0")}}),document.addEventListener("DOMContentLoaded",function(){var r=document.createElement("div");r.setAttribute("class","flickity-nav"),Array.prototype.forEach.call(e.querySelectorAll(".flickity-page-dots, .flickity-button"),c=>{r.appendChild(c)}),n.appendChild(r)})}var oe=document.querySelectorAll(".alert__close");for(var yt=0,bn=oe.length;yt<bn;yt++){var wn=oe[yt];wn.addEventListener("click",function(e){var n=this.closest(".alert");n.parentNode.removeChild(n),e.preventDefault()})}var ae=document.querySelectorAll(".subnav__toggle");for(var bt=0,An=ae.length;bt<An;bt++){var En=ae[bt];En.addEventListener("click",function(e){this.parentNode.classList.toggle("subnav__item--active"),e.preventDefault()})}const Lt=document.documentElement,xn=document.querySelectorAll(".header__main .header__menu-toggle"),Sn=document.querySelectorAll(".header__sticky .header__menu-toggle"),Cn=document.querySelectorAll(".header__cta .header__menu-toggle");for(const e of xn){e.addEventListener("click",()=>{const r=e.closest(".header__main");r&&r.getBoundingClientRect().top>0&&r.scrollIntoView({behavior:"smooth"})});let n=window.innerWidth;window.addEventListener("resize",()=>{window.innerWidth!==n&&(Lt.removeAttribute("data-menu-active"),e.setAttribute("aria-expanded","false"))})}for(const e of Sn){e.addEventListener("click",()=>{const r=e.closest(".header__sticky");e.setAttribute("aria-expanded","false"),r&&r.getBoundingClientRect().top>0&&r.scrollIntoView({behavior:"smooth"})});let n=window.innerWidth;window.addEventListener("resize",()=>{window.innerWidth!==n&&(Lt.removeAttribute("data-sticky-menu-active"),e.setAttribute("aria-expanded","fal
61se"))})}for(const e of Cn){e.addEventListener("click",()=>{const r=e.closest(".header__cta");e.setAttribute("aria-expanded","true"),r&&r.getBoundingClientRect().top>0&&r.scrollIntoView({behavior:"smooth"})});let n=window.innerWidth;window.addEventListener("resize",()=>{window.innerWidth!==n&&(Lt.removeAttribute("data-sticky-menu-active"),setTimeout(()=>{e.setAttribute("aria-expanded","true")},300))})}const Ln=document.querySelectorAll(".header__subnav .header__menu-close");for(const e of Ln){e.addEventListener("click",()=>{document.body.click()});let n=window.innerWidth;window.addEventListener("resize",()=>{window.innerWidth!==n&&setTimeout(()=>{e.setAttribute("aria-expanded","true")},300)})}const _n=document.querySelectorAll(".header__search-toggle");for(const e of _n)e.addEventListener("click",()=>{e.nextElementSibling?.querySelector(".header__input"),e.getAttribute("aria-expanded")});window.addEventListener("load",()=>{const e=document.querySelectorAll(".header__actions");for(const n of e)n.classList.add("loaded")});const kn=document.querySelectorAll(".Header__search-toggle");for(const e of kn)e.addEventListener("click",()=>{const n=e.nextElementSibling?.querySelector(".Header__input");e.getAttribute("aria-expanded")==="true"&&setTimeout(()=>{n?.focus()},400)});
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.