const ae=(t,e)=>{const i=a=>Promise.allSettled(a.getAnimations().map(l=>l.finished)),r=a=>{const l=a.getAttribute("href"),d=a.getAttribute("data-automodal-type");return d||(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")},n=(a,l)=>`<iframe src="${a}" ${l&&`title="${l}"`} allow="autoplay; fullscreen;"></iframe>`,s=async a=>{const l=a.getAttribute("href"),d=r(a),c=a.getAttribute("data-automodal-alt")??"",u=a.getAttribute("data-automodal-title")??"";if(d==="fetch")return(await(await fetch(l)).text()).trim();if(d==="iframe")return n(l,u);if(d==="id")return document.querySelector(l).outerHTML.trim();if(d==="short"){const p=`https://www.youtube.com/embed/${l.split("/shorts/")[1]}`;return n(p,u)}if(d==="youtube"){let f="https://www.youtube.com/embed/";return l.includes("youtube.com")&&(f+=l.split("v=")[1].replace("&","?")),l.includes("youtu.be")&&(f+=l.split("youtu.be/")[1]),n(f,u)}if(d==="tiktok"){const p=`https://www.tiktok.com/embed/v2/${l.split("/video/")[1]}`;return n(p,u)}if(d==="instagram"){const p=`https://www.instagram.com/p/${l.split("/p/")[1].split("/")[0]}/embed/captioned/`;return n(p,u)}if(d==="reel"){const p=`https://www.instagram.com/reel/${l.split("/reel/")[1].split("/")[0]}/embed/captioned/`;return n(p,u)}if(d==="vimeo"){const p=`https://player.vimeo.com/video/${l.split("vimeo.com/")[1]}`;return n(p,u)}if(d==="map"){let f="https://www.google.com/maps/embed/v1/";if(l.includes("/maps/place/")){const p=l.match("(?:/maps/place/)([^/]+)")[1];f+=`place?key=${e.googleMapsAPIKey}&q=${p}`}if(l.includes("/maps/@")){const p=l.match("(?:/maps/@)([^z]+)")[1].split(",");f+=`view?key=${e.googleMapsAPIKey}&center=${p[0]},${p[1]}&zoom=${p[2]}z`}return n(f,u)}return`<img src="${l}" ${c&&`alt="${c}"`}>`},o=async a=>{const l=r(a),d=a.getAttribute("data-automodal")??"",c=await s(a),u=a.getAttribute("data-automodal-caption")??"";return`
      <div class="Automodal__item Automodal__item--${l} ${d&&`Automodal__item--${d}`}">
        <div class="Automodal__content">${c}</div>
        ${u&&`<div class="Automodal__caption">${u}</div>`}
      </div>
    `};t.addEventListener("click",a=>{a.preventDefault();let l=!1,d,c=t.getAttribute("data-automodal-group")??"";c&&(c=document.querySelectorAll(`[data-automodal-group="${c}"]`),d=[...c].indexOf(t));const u=document.createElement("dialog");u.classList.add("Automodal"),u.innerHTML=`
      <div class="Automodal__viewport" tabindex="0"></div>
      ${c&&`
        <button class="Automodal__nav Automodal__nav--prev" aria-label="Previous"></button>
        <button class="Automodal__nav Automodal__nav--next" aria-label="Next"></button>
      `}
      <button class="Automodal__close" aria-label="Close"></button>
    `;const f=u.querySelector(".Automodal__viewport"),p=u.querySelector(".Automodal__nav--prev"),y=u.querySelector(".Automodal__nav--next"),m=u.querySelector(".Automodal__close"),A=async g=>{f.insertAdjacentHTML("beforeend",await o(g)),g.dispatchEvent(new CustomEvent("load"))},L=async g=>{if(c&&!l){const x=f.firstElementChild;g==="prev"&&(d=d-1>=0?d-1:c.length-1),g==="next"&&(d=d+1<c.length?d+1:0),l=!0,u.classList.add(`Automodal--${g}`),x.classList.add("Automodal__item--remove"),await A(c[d]);const S=f.lastElementChild;S.classList.add("Automodal__item--add"),await i(x),x.remove(),S.classList.remove("Automodal__item--add"),u.classList.remove(`Automodal--${g}`),l=!1}},C=async()=>{u.classList.remove("Automodal--active"),await i(u),u.close(),u.remove()},_=g=>{g.key==="ArrowLeft"&&L("prev"),g.key==="ArrowRight"&&L("next"),g.key==="Tab"&&!g.shiftKey&&document.activeElement===m&&(g.preventDefault(),f.focus()),g.key==="Tab"&&g.shiftKey&&document.activeElement===f&&(g.preventDefault(),m.focus()),g.key==="Escape"&&(g.preventDefault(),C())},h=async()=>{document.body.append(u),u.showModal(),await A(t),u.classList.add("Automodal--active")},v=g=>{g.target===u&&C()},E=()=>{u.addEventListener("keydown",_),u.addEventListener("click",v),p?.addEventListener("click",()=>{L("prev")}),y?.addEventListener("click",()=>{L("next")}),m.addEventListener("click",C)};(()=>{h(),E()})()})},le=document.querySelectorAll("[data-automodal]");for(const t of le)ae(t);var gt="data-focus-lock",ce="data-focus-lock-disabled",ue="data-no-focus-lock",de="data-autofocus-inside",he="data-no-autofocus",D=function(t){for(var e=Array(t.length),i=0;i<t.length;++i)e[i]=t[i];return e},W=function(t){return Array.isArray(t)?t:[t]},Bt=function(t){return Array.isArray(t)?t[0]:t},fe=function(t){if(t.nodeType!==Node.ELEMENT_NODE)return!1;var e=window.getComputedStyle(t,null);return!e||!e.getPropertyValue?!1:e.getPropertyValue("display")==="none"||e.getPropertyValue("visibility")==="hidden"},Nt=function(t){return t.parentNode&&t.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE?t.parentNode.host:t.parentNode},Ht=function(t){return t===document||t&&t.nodeType===Node.DOCUMENT_NODE},pe=function(t,e){return!t||Ht(t)||!fe(t)&&e(Nt(t))},Ut=function(t,e){var i=t.get(e);if(i!==void 0)return i;var r=pe(e,Ut.bind(void 0,t));return t.set(e,r),r},ge=function(t,e){return t&&!Ht(t)?ye(t)?e(Nt(t)):!1:!0},Rt=function(t,e){var i=t.get(e);if(i!==void 0)return i;var r=ge(e,Rt.bind(void 0,t));return t.set(e,r),r},Gt=function(t){return t.dataset},me=function(t){return t.tagName==="BUTTON"},jt=function(t){return t.tagName==="INPUT"},Xt=function(t){return jt(t)&&t.type==="radio"},ve=function(t){return!((jt(t)||me(t))&&(t.type==="hidden"||t.disabled))},ye=function(t){var e=t.getAttribute(he);return![!0,"true",""].includes(e)},Qt=function(t){var e;return!!(t&&(!((e=Gt(t))===null||e===void 0)&&e.focusGuard))},mt=function(t){return!Qt(t)},be=function(t){return!!t},Ee=function(t,e){var i=t.tabIndex-e.tabIndex,r=t.index-e.index;if(i){if(!t.tabIndex)return 1;if(!e.tabIndex)return-1}return i||r},Yt=function(t,e,i){return D(t).map(function(r,n){return{node:r,index:n,tabIndex:i&&r.tabIndex===-1?(r.dataset||{}).focusGuard?0:-1:r.tabIndex}}).filter(function(r){return!e||r.tabIndex>=0}).sort(Ee)},xe=["button:enabled","select:enabled","textarea:enabled","input:enabled","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[tabindex]","[contenteditable]","[autofocus]"],dt=xe.join(","),Se="".concat(dt,", [data-focus-guard]"),Jt=function(t,e){return D((t.shadowRoot||t).children).reduce(function(i,r){return i.concat(r.matches(e?Se:dt)?[r]:[],Jt(r))},[])},Ae=function(t,e){var i;return t instanceof HTMLIFrameElement&&(!((i=t.contentDocument)===null||i===void 0)&&i.body)?st([t.contentDocument.body],e):[t]},st=function(t,e){return t.reduce(function(i,r){var n,s=Jt(r,e),o=(n=[]).concat.apply(n,s.map(function(a){return Ae(a,e)}));return i.concat(o,r.parentNode?D(r.parentNode.querySelectorAll(dt)).filter(function(a){return a===r}):[])},[])},Ce=function(t){var e=t.querySelectorAll("[".concat(de,"]"));return D(e).map(function(i){return st([i])}).reduce(function(i,r){return i.concat(r)},[])},ht=function(t,e){return D(t).filter(function(i){return Ut(e,i)}).filter(function(i){return ve(i)})},vt=function(t,e){return e===void 0&&(e=new Map),D(t).filter(function(i){return Rt(e,i)})},we=function(t,e,i){return Yt(ht(st(t,i),e),!0,i)},yt=function(t,e){return Yt(ht(st(t),e),!1)},Le=function(t,e){return ht(Ce(t),e)},F=function(t,e){return t.shadowRoot?F(t.shadowRoot,e):Object.getPrototypeOf(t).contains!==void 0&&Object.getPrototypeOf(t).contains.call(t,e)?!0:D(t.children).some(function(i){var r;if(i instanceof HTMLIFrameElement){var n=(r=i.contentDocument)===null||r===void 0?void 0:r.body;return n?F(n,e):!1}return F(i,e)})},_e=function(t){for(var e=new Set,i=t.length,r=0;r<i;r+=1)for(var n=r+1;n<i;n+=1){var s=t[r].compareDocumentPosition(t[n]);(s&Node.DOCUMENT_POSITION_CONTAINED_BY)>0&&e.add(n),(s&Node.DOCUMENT_POSITION_CONTAINS)>0&&e.add(r)}return t.filter(function(o,a){return!e.has(a)})},Kt=function(t){return t.parentNode?Kt(t.parentNode):t},Zt=function(t){var e=W(t);return e.filter(Boolean).reduce(function(i,r){var n=r.getAttribute(gt);return i.push.apply(i,n?_e(D(Kt(r).querySelectorAll("[".concat(gt,'="').concat(n,'"]:not([').concat(ce,'="disabled"])')))):[r]),i},[])},De=function(t){try{return t()}catch{return}},q=function(t){if(t===void 0&&(t=document),!(!t||!t.activeElement)){var e=t.activeElement;return e.shadowRoot?q(e.shadowRoot):e instanceof HTMLIFrameElement&&De(function(){return e.contentWindow.document})?q(e.contentWindow.document):e}},ke=function(t,e){return t===e},Pe=function(t,e){return!!D(t.querySelectorAll("iframe")).some(function(i){return ke(i,e)})},Ie=function(t,e){return e===void 0&&(e=q(Bt(t).ownerDocument)),!e||e.dataset&&e.dataset.focusGuard?!1:Zt(t).some(function(i){return F(i,e)||Pe(i,e)})},Te=function(t){t===void 0&&(t=document);var e=q(t);return e?D(t.querySelectorAll("[".concat(ue,"]"))).some(function(i){return F(i,e)}):!1},ze=function(t,e){return e.filter(Xt).filter(function(i){return i.name===t.name}).filter(function(i){return i.checked})[0]||t},ft=function(t,e){return Xt(t)&&t.name?ze(t,e):t},Fe=function(t){var e=new Set;return t.forEach(function(i){return e.add(ft(i,t))}),t.filter(function(i){return e.has(i)})},bt=function(t){return t[0]&&t.length>1?ft(t[0],t):t[0]},Et=function(t,e){return t.length>1?t.indexOf(ft(t[e],t)):e},te="NEW_FOCUS",Me=function(t,e,i,r){var n=t.length,s=t[0],o=t[n-1],a=Qt(i);if(!(i&&t.indexOf(i)>=0)){var l=i!==void 0?e.indexOf(i):-1,d=r?e.indexOf(r):l,c=r?t.indexOf(r):-1,u=l-d,f=e.indexOf(s),p=e.indexOf(o),y=Fe(e),m=i!==void 0?y.indexOf(i):-1,A=m-(r?y.indexOf(r):l),L=Et(t,0),C=Et(t,n-1);if(l===-1||c===-1)return te;if(!u&&c>=0)return c;if(l<=f&&a&&Math.abs(u)>1)return C;if(l>=p&&a&&Math.abs(u)>1)return L;if(u&&Math.abs(A)>1)return c;if(l<=f)return C;if(l>p)return L;if(u)return Math.abs(u)>1?c:(n+c+u)%n}},qe=function(t){return function(e){var i,r=(i=Gt(e))===null||i===void 0?void 0:i.autofocus;return e.autofocus||r!==void 0&&r!=="false"||t.indexOf(e)>=0}},Oe=function(t,e,i){var r=t.map(function(s){var o=s.node;return o}),n=vt(r.filter(qe(i)));return n&&n.length?bt(n):bt(vt(e))},lt=function(t,e){return e===void 0&&(e=[]),e.push(t),t.parentNode&&lt(t.parentNode.host||t.parentNode,e),e},rt=function(t,e){for(var i=lt(t),r=lt(e),n=0;n<i.length;n+=1){var s=i[n];if(r.indexOf(s)>=0)return s}return!1},$e=function(t,e,i){var r=W(t),n=W(e),s=r[0],o=!1;return n.filter(Boolean).forEach(function(a){o=rt(o||a,a)||o,i.filter(Boolean).forEach(function(l){var d=rt(s,l);d&&(!o||F(d,o)?o=d:o=rt(d,o))})}),o},We=function(t,e){return t.reduce(function(i,r){return i.concat(Le(r,e))},[])},Ve=function(t,e){var i=new Map;return e.forEach(function(r){return i.set(r.node,r)}),t.map(function(r){return i.get(r)}).filter(be)},Be=function(t,e){var i=q(W(t).length>0?document:Bt(t).ownerDocument),r=Zt(t).filter(mt),n=$e(i||t,t,r),s=new Map,o=yt(r,s),a=we(r,s).filter(function(p){var y=p.node;return mt(y)});if(!(!a[0]&&(a=o,!a[0]))){var l=yt([n],s).map(function(p){var y=p.node;return y}),d=Ve(l,a),c=d.map(function(p){var y=p.node;return y}),u=Me(c,l,i,e);if(u===te){var f=Oe(o,c,We(r,s));if(f)return{node:f};console.warn("focus-lock: cannot find any node to move focus into");return}return u===void 0?u:d[u]}},Ne=function(t,e){"focus"in t&&t.focus(e),"contentWindow"in t&&t.contentWindow&&t.contentWindow.focus()},ot=0,at=!1,He=function(t,e,i){i===void 0&&(i={});var r=Be(t,e);if(!at&&r){if(ot>2){console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),at=!0,setTimeout(function(){at=!1},1);return}ot++,Ne(r.node,i.focusOptions),ot--}},ct=0,xt=null,Ue=function(){return document&&document.activeElement===document.body},Re=function(){return Ue()||Te()},Ge=function(){var e=!1;if(ct){var i=ct;Re()||(i&&!Ie(i)&&(e=He(i,xt)),xt=document.activeElement)}return e},je=function(e){return e.filter(function(i){return i}).slice(-1)[0]},Xe=function(e){ct=e,e&&Ge()},I=[],V=function(e){return Xe(je(I))?(e&&e.preventDefault(),!0):!1},Qe=function(){document.addEventListener("focusin",V)},Ye=function(){document.removeEventListener("focusin",V)},St={on:function(e){I.length===0&&Qe(),I.indexOf(e)<0&&(I.push(e),V())},off:function(e){I=I.filter(function(i){return i!==e}),V(),I.length===0&&Ye()}};const Je=t=>{const e=document.documentElement,i=a=>a.getAttribute("aria-expanded")==="true",r=a=>{const l=a.getAttribute("data-expand"),d=a.getAttribute("data-expand-name");i(a)?(l==="popup"&&St.on(a.parentNode),d&&e.setAttribute(`data-expand-${d}`,"")):(l==="popup"&&St.off(a.parentNode),d&&e.removeAttribute(`data-expand-${d}`))},n=t.getAttribute("data-expand"),s=t.closest("[data-expand-tabs]");let o=s?.querySelectorAll('[data-expand="tab"]')||[];if(o=[...o].filter(a=>a.closest("[data-expand-tabs]")===s),!t.hasAttribute("aria-expanded")&&t.setAttribute("aria-expanded",!1),r(t),t.addEventListener("click",()=>{t.setAttribute("aria-expanded",!i(t)),r(t);for(const a of o)a.setAttribute("aria-expanded",a===t),r(a)}),n==="popup"){const a=()=>{t.setAttribute("aria-expanded",!1),r(t)};document.addEventListener("click",l=>{i(t)&&!t.parentNode.contains(l.target)&&a()}),document.addEventListener("keydown",l=>{i(t)&&l.key==="Escape"&&a()})}},Ke=document.querySelectorAll("[data-expand]");for(const t of Ke)Je(t);const $=document.documentElement;let At=0;const ee=()=>{const e=document.querySelector(".Header").getBoundingClientRect().bottom,i=$.getBoundingClientRect().top;e<0?i>At?$.setAttribute("data-scroll","up"):$.setAttribute("data-scroll","down"):$.setAttribute("data-scroll","top"),At=i};window.addEventListener("load",ee);window.addEventListener("scroll",ee);const Ze=document.querySelectorAll(".Hero__control");for(const t of Ze){const e=t.previousElementSibling;e&&(e.addEventListener("pause",()=>{t.classList.add("Hero__control--paused")}),e.addEventListener("play",()=>{t.classList.remove("Hero__control--paused")}),t.addEventListener("click",()=>{e.paused?e.play():e.pause()}))}const ti=document.querySelectorAll(".Hero__next");for(const t of ti){const e=t?.closest(".Hero")?.nextElementSibling?.nextElementSibling;t.addEventListener("click",()=>{e?.scrollIntoView({behavior:"smooth"})})}const ei=document.querySelectorAll("[data-finder]");for(const t of ei){let e={},i=[],r=0;const n=t.querySelector("[data-finder-form]"),s=t.querySelectorAll("[data-finder-filter]"),o=t.querySelector("[data-finder-active]"),a=t.querySelector("[data-finder-counter]"),l=t.querySelector("[data-finder-list]"),d=t.querySelector("[data-finder-pagination]"),c=parseInt(l?.getAttribute("data-finder-per")||"",10),u=l?.getAttribute("data-finder-list")||"",f=await(await fetch(u)).json(),p=()=>{const b=[];for(const g of f){const x=[];for(const[S,P]of Object.entries(e)){let z=!1;for(const O of P)if(S==="search"){const ne=g.name.toLowerCase().includes(O.toLowerCase()),se=g.content.toLowerCase().includes(O.toLowerCase()),re=!!g.keywords.filter(oe=>oe.toLowerCase().includes(O.toLowerCase())).length;(ne||se||re)&&(z=!0)}else g[S].includes(O)&&(z=!0);x.push(z)}x.includes(!1)||b.push(g)}return b},y=()=>{let b="";for(const[g,x]of Object.entries(e))for(const S of x)b+=`<button class="Finder__remove" type="button" data-finder-remove="${g}">${S}</button>`;o&&(o.innerHTML=b)},m=()=>{let b="";i=p();const g=i.slice(r*c,r*c+c);for(const x of g)b+=`
          <h3 class="Accordion__heading">
            <button class="Accordion__button" data-expand aria-expanded="false">
              ${x.name}
              <span class="Accordion__icon"></span>
            </button>
          </h3>
          <div class="Accordion__content">
            <div class="Accordion__wrap">
              <div class="Accordion__interior clear zero">
                ${x.content}
                <p><a class="Link" href="${x.link}">Visit Program Page</a></p>
              </div>
            </div>
          </div>
        `;l&&(l.innerHTML=b)},A=()=>{const b=i.length;a&&(a.innerHTML=`${b} result${b!==1?"s":""} based on your selections`)},L=()=>{let b="",g=0;const x=i.length,S=Math.ceil(x/c);for(;S>1&&g<S;)b+=`<button class="Pagination__item ${g===r?"Pagination__item--active":""}">${g+1}</button>`,g+=1;d&&(d.innerHTML=b)},C=()=>{setTimeout(()=>{const b=[...new FormData(n)].filter(([x,S])=>S),g=new URLSearchParams(b).toString();e={},r=0;for(const[x,S]of b)typeof S=="string"&&(e[x]=e[x]??[],e[x].push(S));window.history.replaceState(null,"",g?`?${g}`:location.pathname),y(),m(),A(),L()})},_=(b,g,x=!1)=>{const S=t.querySelector(`[name="${b}"][value="${g}"]`)||t.querySelector(`[name="${b}"]`),P=S?.getAttribute("type");if(S instanceof HTMLInputElement)switch(P){case"checkbox":S.checked=!x;break;case"radio":const z=t.querySelector(`[name="${b}"][value=""]`);x&&z?z.checked=!0:S.checked=!0;break;default:S.value=x?"":g}},h=b=>{const{target:g}=b;if(g instanceof HTMLButtonElement){const x=g.getAttribute("data-finder-remove")||"",S=g.innerText;_(x,S,!0),C()}},v=b=>{const{target:g}=b;if(g instanceof HTMLButtonElement){const x=d?.children||[],S=[...x].indexOf(g);x[r].classList.remove("Pagination__item--active"),r=S,x[r].classList.add("Pagination__item--active"),m(),a?.scrollIntoView({behavior:"smooth"})}},E=()=>{const b=new URLSearchParams(window.location.search);for(const[g,x]of b)_(g,x);C()};n?.addEventListener("submit",b=>b.preventDefault()),n?.addEventListener("reset",C);for(const b of s)b.addEventListener("input",C);o?.addEventListener("click",h),d?.addEventListener("click",v),E(),l?.addEventListener("click",b=>{const{target:g}=b;if(g instanceof HTMLButtonElement){const x=g.parentElement;g.getAttribute("aria-expanded")==="true"?(x?.removeAttribute("data-expanded"),g.setAttribute("aria-expanded","false")):(x?.setAttribute("data-expanded",""),g.setAttribute("aria-expanded","true"))}})}const ii=document.querySelectorAll("table");for(const t of ii)if(!t.classList.contains("cal-table")){t.outerHTML=`<div class="Table">${t.outerHTML}</div>`;}var w=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},B={},ni={get exports(){return B},set exports(t){B=t}},N={},si={get exports(){return N},set exports(t){N=t}},H={},ri={get exports(){return H},set exports(t){H=t}},Ct;function pt(){return Ct||(Ct=1,function(t){(function(e,i){t.exports?t.exports=i():e.EvEmitter=i()})(typeof window<"u"?window:w,function(){function e(){}let i=e.prototype;return i.on=function(r,n){if(!r||!n)return this;let s=this._events=this._events||{},o=s[r]=s[r]||[];return o.includes(n)||o.push(n),this},i.once=function(r,n){if(!r||!n)return this;this.on(r,n);let s=this._onceEvents=this._onceEvents||{},o=s[r]=s[r]||{};return o[n]=!0,this},i.off=function(r,n){let s=this._events&&this._events[r];if(!s||!s.length)return this;let o=s.indexOf(n);return o!=-1&&s.splice(o,1),this},i.emitEvent=function(r,n){let s=this._events&&this._events[r];if(!s||!s.length)return this;s=s.slice(0),n=n||[];let o=this._onceEvents&&this._onceEvents[r];for(let a of s)o&&o[a]&&(this.off(r,a),delete o[a]),a.apply(this,n);return this},i.allOff=function(){return delete this._events,delete this._onceEvents,this},e})}(ri)),H}var U={},oi={get exports(){return U},set exports(t){U=t}};/*!
 * Infinite Scroll v2.0.4
 * measure size of elements
 * MIT license
 */var wt;function ie(){return wt||(wt=1,function(t){(function(e,i){t.exports?t.exports=i():e.getSize=i()})(window,function(){function i(o){let a=parseFloat(o);return o.indexOf("%")==-1&&!isNaN(a)&&a}let r=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"];function n(){let o={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0};return r.forEach(a=>{o[a]=0}),o}function s(o){if(typeof o=="string"&&(o=document.querySelector(o)),!(o&&typeof o=="object"&&o.nodeType))return;let l=getComputedStyle(o);if(l.display=="none")return n();let d={};d.width=o.offsetWidth,d.height=o.offsetHeight;let c=d.isBorderBox=l.boxSizing=="border-box";r.forEach(_=>{let h=l[_],v=parseFloat(h);d[_]=isNaN(v)?0:v});let u=d.paddingLeft+d.paddingRight,f=d.paddingTop+d.paddingBottom,p=d.marginLeft+d.marginRight,y=d.marginTop+d.marginBottom,m=d.borderLeftWidth+d.borderRightWidth,A=d.borderTopWidth+d.borderBottomWidth,L=i(l.width);L!==!1&&(d.width=L+(c?0:u+m));let C=i(l.height);return C!==!1&&(d.height=C+(c?0:f+A)),d.innerWidth=d.width-(u+m),d.innerHeight=d.height-(f+A),d.outerWidth=d.width+p,d.outerHeight=d.height+y,d}return s})}(oi)),U}var R={},ai={get exports(){return R},set exports(t){R=t}},Lt;function T(){return Lt||(Lt=1,function(t){(function(e,i){t.exports?t.exports=i(e):e.fizzyUIUtils=i(e)})(w,function(i){let r={};r.extend=function(s,o){return Object.assign(s,o)},r.modulo=function(s,o){return(s%o+o)%o},r.makeArray=function(s){return Array.isArray(s)?s:s==null?[]:typeof s=="object"&&typeof s.length=="number"?[...s]:[s]},r.removeFrom=function(s,o){let a=s.indexOf(o);a!=-1&&s.splice(a,1)},r.getParent=function(s,o){for(;s.parentNode&&s!=document.body;)if(s=s.parentNode,s.matches(o))return s},r.getQueryElement=function(s){return typeof s=="string"?document.querySelector(s):s},r.handleEvent=function(s){let o="on"+s.type;this[o]&&this[o](s)},r.filterFindElements=function(s,o){return s=r.makeArray(s),s.filter(a=>a instanceof HTMLElement).reduce((a,l)=>{if(!o)return a.push(l),a;l.matches(o)&&a.push(l);let d=l.querySelectorAll(o);return a=a.concat(...d),a},[])},r.debounceMethod=function(s,o,a){a=a||100;let l=s.prototype[o],d=o+"Timeout";s.prototype[o]=function(){clearTimeout(this[d]);let c=arguments;this[d]=setTimeout(()=>{l.apply(this,c),delete this[d]},a)}},r.docReady=function(s){let o=document.readyState;o=="complete"||o=="interactive"?setTimeout(s):document.addEventListener("DOMContentLoaded",s)},r.toDashed=function(s){return s.replace(/(.)([A-Z])/g,function(o,a,l){return a+"-"+l}).toLowerCase()};let n=i.console;return r.htmlInit=function(s,o){r.docReady(function(){let l="data-"+r.toDashed(o),d=document.querySelectorAll(`[${l}]`),c=i.jQuery;[...d].forEach(u=>{let f=u.getAttribute(l),p;try{p=f&&JSON.parse(f)}catch(m){n&&n.error(`Error parsing ${l} on ${u.className}: ${m}`);return}let y=new s(u,p);c&&c.data(u,o,y)})})},r})}(ai)),R}var G={},li={get exports(){return G},set exports(t){G=t}},_t;function ci(){return _t||(_t=1,function(t){(function(e,i){t.exports?t.exports=i(ie()):(e.Flickity=e.Flickity||{},e.Flickity.Cell=i(e.getSize))})(typeof window<"u"?window:w,function(i){const r="flickity-cell";function n(o){this.element=o,this.element.classList.add(r),this.x=0,this.unselect()}let s=n.prototype;return s.destroy=function(){this.unselect(),this.element.classList.remove(r),this.element.style.transform="",this.element.removeAttribute("aria-hidden")},s.getSize=function(){this.size=i(this.element)},s.select=function(){this.element.classList.add("is-selected"),this.element.removeAttribute("aria-hidden")},s.unselect=function(){this.element.classList.remove("is-selected"),this.element.setAttribute("aria-hidden","true")},s.remove=function(){this.element.remove()},n})}(li)),G}var j={},ui={get exports(){return j},set exports(t){j=t}},Dt;function di(){return Dt||(Dt=1,function(t){(function(e,i){t.exports?t.exports=i():(e.Flickity=e.Flickity||{},e.Flickity.Slide=i())})(typeof window<"u"?window:w,function(){function i(n,s,o){this.beginMargin=n,this.endMargin=s,this.cellAlign=o,this.cells=[],this.outerWidth=0,this.height=0}let r=i.prototype;return r.addCell=function(n){this.cells.push(n),this.outerWidth+=n.size.outerWidth,this.height=Math.max(n.size.outerHeight,this.height),this.cells.length===1&&(this.x=n.x,this.firstMargin=n.size[this.beginMargin])},r.updateTarget=function(){let n=this.getLastCell(),s=n?n.size[this.endMargin]:0,o=this.outerWidth-(this.firstMargin+s);this.target=this.x+this.firstMargin+o*this.cellAlign},r.getLastCell=function(){return this.cells[this.cells.length-1]},r.select=function(){this.cells.forEach(n=>n.select())},r.unselect=function(){this.cells.forEach(n=>n.unselect())},r.getCellElements=function(){return this.cells.map(n=>n.element)},i})}(ui)),j}var X={},hi={get exports(){return X},set exports(t){X=t}},kt;function fi(){return kt||(kt=1,function(t){(function(e,i){t.exports?t.exports=i(T()):(e.Flickity=e.Flickity||{},e.Flickity.animatePrototype=i(e.fizzyUIUtils))})(typeof window<"u"?window:w,function(i){let r={};return r.startAnimation=function(){this.isAnimating||(this.isAnimating=!0,this.restingFrames=0,this.animate())},r.animate=function(){this.applyDragForce(),this.applySelectedAttraction();let n=this.x;this.integratePhysics(),this.positionSlider(),this.settle(n),this.isAnimating&&requestAnimationFrame(()=>this.animate())},r.positionSlider=function(){let n=this.x;this.isWrapping&&(n=i.modulo(n,this.slideableWidth)-this.slideableWidth,this.shiftWrapCells(n)),this.setTranslateX(n,this.isAnimating),this.dispatchScrollEvent()},r.setTranslateX=function(n,s){n+=this.cursorPosition,this.options.rightToLeft&&(n=-n);let o=this.getPositionValue(n);this.slider.style.transform=s?`translate3d(${o},0,0)`:`translateX(${o})`},r.dispatchScrollEvent=function(){let n=this.slides[0];if(!n)return;let s=-this.x-n.target,o=s/this.slidesWidth;this.dispatchEvent("scroll",null,[o,s])},r.positionSliderAtSelected=function(){this.cells.length&&(this.x=-this.selectedSlide.target,this.velocity=0,this.positionSlider())},r.getPositionValue=function(n){return this.options.percentPosition?Math.round(n/this.size.innerWidth*1e4)*.01+"%":Math.round(n)+"px"},r.settle=function(n){!this.isPointerDown&&Math.round(this.x*100)===Math.round(n*100)&&this.restingFrames++,this.restingFrames>2&&(this.isAnimating=!1,delete this.isFreeScrolling,this.positionSlider(),this.dispatchEvent("settle",null,[this.selectedIndex]))},r.shiftWrapCells=function(n){let s=this.cursorPosition+n;this._shiftCells(this.beforeShiftCells,s,-1);let o=this.size.innerWidth-(n+this.slideableWidth+this.cursorPosition);this._shiftCells(this.afterShiftCells,o,1)},r._shiftCells=function(n,s,o){n.forEach(a=>{let l=s>0?o:0;this._wrapShiftCell(a,l),s-=a.size.outerWidth})},r._unshiftCells=function(n){!n||!n.length||n.forEach(s=>this._wrapShiftCell(s,0))},r._wrapShiftCell=function(n,s){this._renderCellPosition(n,n.x+this.slideableWidth*s)},r.integratePhysics=function(){this.x+=this.velocity,this.velocity*=this.getFrictionFactor()},r.applyForce=function(n){this.velocity+=n},r.getFrictionFactor=function(){return 1-this.options[this.isFreeScrolling?"freeScrollFriction":"friction"]},r.getRestingPosition=function(){return this.x+this.velocity/(1-this.getFrictionFactor())},r.applyDragForce=function(){if(!this.isDraggable||!this.isPointerDown)return;let s=this.dragX-this.x-this.velocity;this.applyForce(s)},r.applySelectedAttraction=function(){if(this.isDraggable&&this.isPointerDown||this.isFreeScrolling||!this.slides.length)return;let o=(this.selectedSlide.target*-1-this.x)*this.options.selectedAttraction;this.applyForce(o)},r})}(hi)),X}var Pt;function k(){return Pt||(Pt=1,function(t){(function(e,i){if(t.exports)t.exports=i(e,pt(),ie(),T(),ci(),di(),fi());else{let r=e.Flickity;e.Flickity=i(e,e.EvEmitter,e.getSize,e.fizzyUIUtils,r.Cell,r.Slide,r.animatePrototype)}})(typeof window<"u"?window:w,function(i,r,n,s,o,a,l){const{getComputedStyle:d,console:c}=i;let{jQuery:u}=i,f=0,p={};function y(h,v){let E=s.getQueryElement(h);if(!E){c&&c.error(`Bad element for Flickity: ${E||h}`);return}if(this.element=E,this.element.flickityGUID){let b=p[this.element.flickityGUID];return b&&b.option(v),b}u&&(this.$element=u(this.element)),this.options={...this.constructor.defaults},this.option(v),this._create()}y.defaults={accessibility:!0,cellAlign:"center",freeScrollFriction:.075,friction:.28,namespaceJQueryEvents:!0,percentPosition:!0,resize:!0,selectedAttraction:.025,setGallerySize:!0},y.create={};let m=y.prototype;Object.assign(m,r.prototype),m._create=function(){let{resize:h,watchCSS:v,rightToLeft:E}=this.options,b=this.guid=++f;this.element.flickityGUID=b,p[b]=this,this.selectedIndex=0,this.restingFrames=0,this.x=0,this.velocity=0,this.beginMargin=E?"marginRight":"marginLeft",this.endMargin=E?"marginLeft":"marginRight",this.viewport=document.createElement("div"),this.viewport.className="flickity-viewport",this._createSlider(),this.focusableElems=[this.element],(h||v)&&i.addEventListener("resize",this);for(let g in this.options.on){let x=this.options.on[g];this.on(g,x)}for(let g in y.create)y.create[g].call(this);v?this.watchCSS():this.activate()},m.option=function(h){Object.assign(this.options,h)},m.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.getSize();let h=this._filterFindCellElements(this.element.children);this.slider.append(...h),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")},m._createSlider=function(){let h=document.createElement("div");h.className="flickity-slider",this.slider=h},m._filterFindCellElements=function(h){return s.filterFindElements(h,this.options.cellSelector)},m.reloadCells=function(){this.cells=this._makeCells(this.slider.children),this.positionCells(),this._updateWrapShiftCells(),this.setGallerySize()},m._makeCells=function(h){return this._filterFindCellElements(h).map(E=>new o(E))},m.getLastCell=function(){return this.cells[this.cells.length-1]},m.getLastSlide=function(){return this.slides[this.slides.length-1]},m.positionCells=function(){this._sizeCells(this.cells),this._positionCells(0)},m._positionCells=function(h){h=h||0,this.maxCellHeight=h&&this.maxCellHeight||0;let v=0;if(h>0){let E=this.cells[h-1];v=E.x+E.size.outerWidth}this.cells.slice(h).forEach(E=>{E.x=v,this._renderCellPosition(E,v),v+=E.size.outerWidth,this.maxCellHeight=Math.max(E.size.outerHeight,this.maxCellHeight)}),this.slideableWidth=v,this.updateSlides(),this._containSlides(),this.slidesWidth=this.cells.length?this.getLastSlide().target-this.slides[0].target:0},m._renderCellPosition=function(h,v){let E=this.options.rightToLeft?-1:1,b=v*E;this.options.percentPosition&&(b*=this.size.innerWidth/h.size.width);let g=this.getPositionValue(b);h.element.style.transform=`translateX( ${g} )`},m._sizeCells=function(h){h.forEach(v=>v.getSize())},m.updateSlides=function(){if(this.slides=[],!this.cells.length)return;let{beginMargin:h,endMargin:v}=this,E=new a(h,v,this.cellAlign);this.slides.push(E);let b=this._getCanCellFit();this.cells.forEach((g,x)=>{if(!E.cells.length){E.addCell(g);return}let S=E.outerWidth-E.firstMargin+(g.size.outerWidth-g.size[v]);b(x,S)||(E.updateTarget(),E=new a(h,v,this.cellAlign),this.slides.push(E)),E.addCell(g)}),E.updateTarget(),this.updateSelectedSlide()},m._getCanCellFit=function(){let{groupCells:h}=this.options;if(!h)return()=>!1;if(typeof h=="number"){let g=parseInt(h,10);return x=>x%g!==0}let v=1,E=typeof h=="string"&&h.match(/^(\d+)%$/);E&&(v=parseInt(E[1],10)/100);let b=(this.size.innerWidth+1)*v;return(g,x)=>x<=b},m._init=m.reposition=function(){this.positionCells(),this.positionSliderAtSelected()},m.getSize=function(){this.size=n(this.element),this.setCellAlign(),this.cursorPosition=this.size.innerWidth*this.cellAlign};let A={left:0,center:.5,right:1};m.setCellAlign=function(){let{cellAlign:h,rightToLeft:v}=this.options,E=A[h];this.cellAlign=E!==void 0?E:h,v&&(this.cellAlign=1-this.cellAlign)},m.setGallerySize=function(){if(!this.options.setGallerySize)return;let h=this.options.adaptiveHeight&&this.selectedSlide?this.selectedSlide.height:this.maxCellHeight;this.viewport.style.height=`${h}px`},m._updateWrapShiftCells=function(){if(this.isWrapping=this.getIsWrapping(),!this.isWrapping)return;this._unshiftCells(this.beforeShiftCells),this._unshiftCells(this.afterShiftCells);let h=this.cursorPosition,v=this.cells.length-1;this.beforeShiftCells=this._getGapCells(h,v,-1);let E=this.size.innerWidth-this.cursorPosition;this.afterShiftCells=this._getGapCells(E,0,1)},m.getIsWrapping=function(){let{wrapAround:h}=this.options;if(!h||this.slides.length<2)return!1;if(h!=="fill")return!0;let v=this.slideableWidth-this.size.innerWidth;if(v>this.size.innerWidth)return!0;for(let E of this.cells)if(E.size.outerWidth>v)return!1;return!0},m._getGapCells=function(h,v,E){let b=[];for(;h>0;){let g=this.cells[v];if(!g)break;b.push(g),v+=E,h-=g.size.outerWidth}return b},m._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],g=v-this.size.innerWidth*(1-this.cellAlign);this.slides.forEach(x=>{x.target=Math.max(x.target,b),x.target=Math.min(x.target,g)})}},m.dispatchEvent=function(h,v,E){let b=v?[v].concat(E):E;if(this.emitEvent(h,b),u&&this.$element){h+=this.options.namespaceJQueryEvents?".flickity":"";let g=h;if(v){let x=new u.Event(v);x.type=h,g=x}this.$element.trigger(g,E)}};const L=["dragStart","dragMove","dragEnd","pointerDown","pointerMove","pointerEnd","staticClick"];let C=m.emitEvent;m.emitEvent=function(h,v){if(h==="staticClick"){let x=this.getParentCell(v[0].target),S=x&&x.element,P=x&&this.cells.indexOf(x);v=v.concat(S,P)}if(C.call(this,h,v),!L.includes(h)||!u||!this.$element)return;h+=this.options.namespaceJQueryEvents?".flickity":"";let b=v.shift(0),g=new u.Event(b);g.type=h,this.$element.trigger(g,v)},m.select=function(h,v,E){if(!this.isActive||(h=parseInt(h,10),this._wrapSelect(h),(this.isWrapping||v)&&(h=s.modulo(h,this.slides.length)),!this.slides[h]))return;let b=this.selectedIndex;this.selectedIndex=h,this.updateSelectedSlide(),E?this.positionSliderAtSelected():this.startAnimation(),this.options.adaptiveHeight&&this.setGallerySize(),this.dispatchEvent("select",null,[h]),h!==b&&this.dispatchEvent("change",null,[h])},m._wrapSelect=function(h){if(!this.isWrapping)return;const{selectedIndex:v,slideableWidth:E,slides:{length:b}}=this;if(!this.isDragSelect){let g=s.modulo(h,b),x=Math.abs(g-v),S=Math.abs(g+b-v),P=Math.abs(g-b-v);S<x?h+=b:P<x&&(h-=b)}h<0?this.x-=E:h>=b&&(this.x+=E)},m.previous=function(h,v){this.select(this.selectedIndex-1,h,v)},m.next=function(h,v){this.select(this.selectedIndex+1,h,v)},m.updateSelectedSlide=function(){let h=this.slides[this.selectedIndex];h&&(this.unselectSelectedSlide(),this.selectedSlide=h,h.select(),this.selectedCells=h.cells,this.selectedElements=h.getCellElements(),this.selectedCell=h.cells[0],this.selectedElement=this.selectedElements[0])},m.unselectSelectedSlide=function(){this.selectedSlide&&this.selectedSlide.unselect()},m.selectInitialIndex=function(){let h=this.options.initialIndex;if(this.isInitActivated){this.select(this.selectedIndex,!1,!0);return}if(h&&typeof h=="string"&&this.queryCell(h)){this.selectCell(h,!1,!0);return}let v=0;h&&this.slides[h]&&(v=h),this.select(v,!1,!0)},m.selectCell=function(h,v,E){let b=this.queryCell(h);if(!b)return;let g=this.getCellSlideIndex(b);this.select(g,v,E)},m.getCellSlideIndex=function(h){let v=this.slides.find(E=>E.cells.includes(h));return this.slides.indexOf(v)},m.getCell=function(h){for(let v of this.cells)if(v.element===h)return v},m.getCells=function(h){return h=s.makeArray(h),h.map(v=>this.getCell(v)).filter(Boolean)},m.getCellElements=function(){return this.cells.map(h=>h.element)},m.getParentCell=function(h){let v=this.getCell(h);if(v)return v;let E=h.closest(".flickity-slider > *");return this.getCell(E)},m.getAdjacentCellElements=function(h,v){if(!h)return this.selectedSlide.getCellElements();v=v===void 0?this.selectedIndex:v;let E=this.slides.length;if(1+h*2>=E)return this.getCellElements();let b=[];for(let g=v-h;g<=v+h;g++){let x=this.isWrapping?s.modulo(g,E):g,S=this.slides[x];S&&(b=b.concat(S.getCellElements()))}return b},m.queryCell=function(h){return typeof h=="number"?this.cells[h]:(typeof h=="string"&&!h.match(/^[#.]?[\d/]/)&&(h=this.element.querySelector(h)),this.getCell(h))},m.uiChange=function(){this.emitEvent("uiChange")},m.onresize=function(){this.watchCSS(),this.resize()},s.debounceMethod(y,"onresize",150),m.resize=function(){if(!this.isActive||this.isAnimating||this.isDragging)return;this.getSize(),this.isWrapping&&(this.x=s.modulo(this.x,this.slideableWidth)),this.positionCells(),this._updateWrapShiftCells(),this.setGallerySize(),this.emitEvent("resize");let h=this.selectedElements&&this.selectedElements[0];this.selectCell(h,!1,!0)},m.watchCSS=function(){if(!this.options.watchCSS)return;d(this.element,":after").content.includes("flickity")?this.activate():this.deactivate()},m.onkeydown=function(h){let{activeElement:v}=document,E=y.keyboardHandlers[h.key];if(!this.options.accessibility||!v||!E)return;this.focusableElems.some(g=>v===g)&&E.call(this)},y.keyboardHandlers={ArrowLeft:function(){this.uiChange();let h=this.options.rightToLeft?"next":"previous";this[h]()},ArrowRight:function(){this.uiChange();let h=this.options.rightToLeft?"previous":"next";this[h]()}},m.focus=function(){this.element.focus({preventScroll:!0})},m.deactivate=function(){this.isActive&&(this.element.classList.remove("flickity-enabled"),this.element.classList.remove("flickity-rtl"),this.unselectSelectedSlide(),this.cells.forEach(h=>h.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"))},m.destroy=function(){this.deactivate(),i.removeEventListener("resize",this),this.allOff(),this.emitEvent("destroy"),u&&this.$element&&u.removeData(this.element,"flickity"),delete this.element.flickityGUID,delete p[this.guid]},Object.assign(m,l),y.data=function(h){if(h=s.getQueryElement(h),h)return p[h.flickityGUID]},s.htmlInit(y,"flickity");let{jQueryBridget:_}=i;return u&&_&&_("flickity",y,u),y.setJQuery=function(h){u=h},y.Cell=o,y.Slide=a,y})}(si)),N}var Q={},pi={get exports(){return Q},set exports(t){Q=t}},Y={},gi={get exports(){return Y},set exports(t){Y=t}};/*!
 * Unidragger v3.0.1
 * Draggable base class
 * MIT license
 */var It;function mi(){return It||(It=1,function(t){(function(e,i){t.exports?t.exports=i(e,pt()):e.Unidragger=i(e,e.EvEmitter)})(typeof window<"u"?window:w,function(i,r){function n(){}let s=n.prototype=Object.create(r.prototype);s.handleEvent=function(c){let u="on"+c.type;this[u]&&this[u](c)};let o,a;"ontouchstart"in i?(o="touchstart",a=["touchmove","touchend","touchcancel"]):i.PointerEvent?(o="pointerdown",a=["pointermove","pointerup","pointercancel"]):(o="mousedown",a=["mousemove","mouseup"]),s.touchActionValue="none",s.bindHandles=function(){this._bindHandles("addEventListener",this.touchActionValue)},s.unbindHandles=function(){this._bindHandles("removeEventListener","")},s._bindHandles=function(c,u){this.handles.forEach(f=>{f[c](o,this),f[c]("click",this),i.PointerEvent&&(f.style.touchAction=u)})},s.bindActivePointerEvents=function(){a.forEach(c=>{i.addEventListener(c,this)})},s.unbindActivePointerEvents=function(){a.forEach(c=>{i.removeEventListener(c,this)})},s.withPointer=function(c,u){u.pointerId===this.pointerIdentifier&&this[c](u,u)},s.withTouch=function(c,u){let f;for(let p of u.changedTouches)p.identifier===this.pointerIdentifier&&(f=p);f&&this[c](u,f)},s.onmousedown=function(c){this.pointerDown(c,c)},s.ontouchstart=function(c){this.pointerDown(c,c.changedTouches[0])},s.onpointerdown=function(c){this.pointerDown(c,c)};const l=["TEXTAREA","INPUT","SELECT","OPTION"],d=["radio","checkbox","button","submit","image","file"];return s.pointerDown=function(c,u){let f=l.includes(c.target.nodeName),p=d.includes(c.target.type),y=!f||p;!this.isPointerDown&&!c.button&&y&&(this.isPointerDown=!0,this.pointerIdentifier=u.pointerId!==void 0?u.pointerId:u.identifier,this.pointerDownPointer={pageX:u.pageX,pageY:u.pageY},this.bindActivePointerEvents(),this.emitEvent("pointerDown",[c,u]))},s.onmousemove=function(c){this.pointerMove(c,c)},s.onpointermove=function(c){this.withPointer("pointerMove",c)},s.ontouchmove=function(c){this.withTouch("pointerMove",c)},s.pointerMove=function(c,u){let f={x:u.pageX-this.pointerDownPointer.pageX,y:u.pageY-this.pointerDownPointer.pageY};this.emitEvent("pointerMove",[c,u,f]),!this.isDragging&&this.hasDragStarted(f)&&this.dragStart(c,u),this.isDragging&&this.dragMove(c,u,f)},s.hasDragStarted=function(c){return Math.abs(c.x)>3||Math.abs(c.y)>3},s.dragStart=function(c,u){this.isDragging=!0,this.isPreventingClicks=!0,this.emitEvent("dragStart",[c,u])},s.dragMove=function(c,u,f){this.emitEvent("dragMove",[c,u,f])},s.onmouseup=function(c){this.pointerUp(c,c)},s.onpointerup=function(c){this.withPointer("pointerUp",c)},s.ontouchend=function(c){this.withTouch("pointerUp",c)},s.pointerUp=function(c,u){this.pointerDone(),this.emitEvent("pointerUp",[c,u]),this.isDragging?this.dragEnd(c,u):this.staticClick(c,u)},s.dragEnd=function(c,u){this.isDragging=!1,setTimeout(()=>delete this.isPreventingClicks),this.emitEvent("dragEnd",[c,u])},s.pointerDone=function(){this.isPointerDown=!1,delete this.pointerIdentifier,this.unbindActivePointerEvents(),this.emitEvent("pointerDone")},s.onpointercancel=function(c){this.withPointer("pointerCancel",c)},s.ontouchcancel=function(c){this.withTouch("pointerCancel",c)},s.pointerCancel=function(c,u){this.pointerDone(),this.emitEvent("pointerCancel",[c,u])},s.onclick=function(c){this.isPreventingClicks&&c.preventDefault()},s.staticClick=function(c,u){let f=c.type==="mouseup";f&&this.isIgnoringMouseUp||(this.emitEvent("staticClick",[c,u]),f&&(this.isIgnoringMouseUp=!0,setTimeout(()=>{delete this.isIgnoringMouseUp},400)))},n})}(gi)),Y}var Tt;function vi(){return Tt||(Tt=1,function(t){(function(e,i){t.exports?t.exports=i(e,k(),mi(),T()):e.Flickity=i(e,e.Flickity,e.Unidragger,e.fizzyUIUtils)})(typeof window<"u"?window:w,function(i,r,n,s){Object.assign(r.defaults,{draggable:">1",dragThreshold:3});let o=r.prototype;Object.assign(o,n.prototype),o.touchActionValue="",r.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)},o.onActivateDrag=function(){this.handles=[this.viewport],this.bindHandles(),this.updateDraggable()},o.onDeactivateDrag=function(){this.unbindHandles(),this.element.classList.remove("is-draggable")},o.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)},o._uiChangeDrag=function(){delete this.isFreeScrolling},o.handlePointerDown=function(l){if(!this.isDraggable){this.bindActivePointerEvents(l);return}let d=l.type==="touchstart",c=l.pointerType==="touch",u=l.target.matches("input, textarea, select");!d&&!c&&!u&&l.preventDefault(),u||this.focus(),document.activeElement!==this.element&&document.activeElement.blur(),this.dragX=this.x,this.viewport.classList.add("is-pointer-down"),this.pointerDownScroll=a(),i.addEventListener("scroll",this),this.bindActivePointerEvents(l)},o.hasDragStarted=function(l){return Math.abs(l.x)>this.options.dragThreshold},o.handlePointerUp=function(){delete this.isTouchScrolling,this.viewport.classList.remove("is-pointer-down")},o.handlePointerDone=function(){i.removeEventListener("scroll",this),delete this.pointerDownScroll},o.handleDragStart=function(){this.isDraggable&&(this.dragStartPosition=this.x,this.startAnimation(),i.removeEventListener("scroll",this))},o.handleDragMove=function(l,d,c){if(!this.isDraggable)return;l.preventDefault(),this.previousDragX=this.dragX;let u=this.options.rightToLeft?-1:1;this.isWrapping&&(c.x%=this.slideableWidth);let f=this.dragStartPosition+c.x*u;if(!this.isWrapping){let p=Math.max(-this.slides[0].target,this.dragStartPosition);f=f>p?(f+p)*.5:f;let y=Math.min(-this.getLastSlide().target,this.dragStartPosition);f=f<y?(f+y)*.5:f}this.dragX=f,this.dragMoveTime=new Date},o.handleDragEnd=function(){if(!this.isDraggable)return;let{freeScroll:l}=this.options;l&&(this.isFreeScrolling=!0);let d=this.dragEndRestingSelect();if(l&&!this.isWrapping){let c=this.getRestingPosition();this.isFreeScrolling=-c>this.slides[0].target&&-c<this.getLastSlide().target}else!l&&d===this.selectedIndex&&(d+=this.dragEndBoostSelect());delete this.previousDragX,this.isDragSelect=this.isWrapping,this.select(d),delete this.isDragSelect},o.dragEndRestingSelect=function(){let l=this.getRestingPosition(),d=Math.abs(this.getSlideDistance(-l,this.selectedIndex)),c=this._getClosestResting(l,d,1),u=this._getClosestResting(l,d,-1);return c.distance<u.distance?c.index:u.index},o._getClosestResting=function(l,d,c){let u=this.selectedIndex,f=1/0,p=this.options.contain&&!this.isWrapping?(y,m)=>y<=m:(y,m)=>y<m;for(;p(d,f)&&(u+=c,f=d,d=this.getSlideDistance(-l,u),d!==null);)d=Math.abs(d);return{distance:f,index:u-c}},o.getSlideDistance=function(l,d){let c=this.slides.length,u=this.options.wrapAround&&c>1,f=u?s.modulo(d,c):d,p=this.slides[f];if(!p)return null;let y=u?this.slideableWidth*Math.floor(d/c):0;return l-(p.target+y)},o.dragEndBoostSelect=function(){if(this.previousDragX===void 0||!this.dragMoveTime||new Date-this.dragMoveTime>100)return 0;let l=this.getSlideDistance(-this.dragX,this.selectedIndex),d=this.previousDragX-this.dragX;return l>0&&d>0?1:l<0&&d<0?-1:0},o.onscroll=function(){let l=a(),d=this.pointerDownScroll.x-l.x,c=this.pointerDownScroll.y-l.y;(Math.abs(d)>3||Math.abs(c)>3)&&this.pointerDone()};function a(){return{x:i.pageXOffset,y:i.pageYOffset}}return r})}(pi)),Q}var J={},yi={get exports(){return J},set exports(t){J=t}},zt;function bi(){return zt||(zt=1,function(t){(function(e,i){t.exports?t.exports=i(k()):i(e.Flickity)})(typeof window<"u"?window:w,function(i){const r="http://www.w3.org/2000/svg";function n(a,l,d){this.increment=a,this.direction=l,this.isPrevious=a==="previous",this.isLeft=l==="left",this._create(d)}n.prototype._create=function(a){let l=this.element=document.createElement("button");l.className=`flickity-button flickity-prev-next-button ${this.increment}`;let d=this.isPrevious?"Previous":"Next";l.setAttribute("type","button"),l.setAttribute("aria-label",d),this.disable();let c=this.createSVG(d,a);l.append(c)},n.prototype.createSVG=function(a,l){let d=document.createElementNS(r,"svg");d.setAttribute("class","flickity-button-icon"),d.setAttribute("viewBox","0 0 100 100");let c=document.createElementNS(r,"title");c.append(a);let u=document.createElementNS(r,"path"),f=s(l);return u.setAttribute("d",f),u.setAttribute("class","arrow"),this.isLeft||u.setAttribute("transform","translate(100, 100) rotate(180)"),d.append(c,u),d};function s(a){if(typeof a=="string")return a;let{x0:l,x1:d,x2:c,x3:u,y1:f,y2:p}=a;return`M ${l}, 50
    L ${d}, ${f+50}
    L ${c}, ${p+50}
    L ${u}, 50
    L ${c}, ${50-p}
    L ${d}, ${50-f}
    Z`}n.prototype.enable=function(){this.element.removeAttribute("disabled")},n.prototype.disable=function(){this.element.setAttribute("disabled",!0)},Object.assign(i.defaults,{prevNextButtons:!0,arrowShape:{x0:10,x1:60,y1:50,x2:70,y2:40,x3:30}}),i.create.prevNextButtons=function(){if(!this.options.prevNextButtons)return;let{rightToLeft:a,arrowShape:l}=this.options,d=a?"right":"left",c=a?"left":"right";this.prevButton=new n("previous",d,l),this.nextButton=new n("next",c,l),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 o=i.prototype;return o.updatePrevNextButtons=function(){let a=this.slides.length?this.slides.length-1:0;this.updatePrevNextButton(this.prevButton,0),this.updatePrevNextButton(this.nextButton,a)},o.updatePrevNextButton=function(a,l){if(this.isWrapping&&this.slides.length>1){a.enable();return}let d=this.selectedIndex!==l;a[d?"enable":"disable"](),!d&&document.activeElement===a.element&&this.focus()},o.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)},o.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)},i.PrevNextButton=n,i})}(yi)),J}var K={},Ei={get exports(){return K},set exports(t){K=t}},Ft;function xi(){return Ft||(Ft=1,function(t){(function(e,i){t.exports?t.exports=i(k(),T()):i(e.Flickity,e.fizzyUIUtils)})(typeof window<"u"?window:w,function(i,r){function n(){this.holder=document.createElement("div"),this.holder.className="flickity-page-dots",this.dots=[]}n.prototype.setDots=function(o){let a=o-this.dots.length;a>0?this.addDots(a):a<0&&this.removeDots(-a)},n.prototype.addDots=function(o){let a=new Array(o).fill().map((l,d)=>{let c=document.createElement("button");c.setAttribute("type","button");let u=d+1+this.dots.length;return c.className="flickity-page-dot",c.textContent=`View slide ${u}`,c});this.holder.append(...a),this.dots=this.dots.concat(a)},n.prototype.removeDots=function(o){this.dots.splice(this.dots.length-o,o).forEach(l=>l.remove())},n.prototype.updateSelected=function(o){this.selectedDot&&(this.selectedDot.classList.remove("is-selected"),this.selectedDot.removeAttribute("aria-current")),this.dots.length&&(this.selectedDot=this.dots[o],this.selectedDot.classList.add("is-selected"),this.selectedDot.setAttribute("aria-current","step"))},i.PageDots=n,Object.assign(i.defaults,{pageDots:!0}),i.create.pageDots=function(){this.options.pageDots&&(this.pageDots=new n,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 s=i.prototype;return s.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)},s.onPageDotsClick=function(o){let a=this.pageDots.dots.indexOf(o.target);a!==-1&&(this.uiChange(),this.select(a))},s.updateSelectedPageDots=function(){this.pageDots.updateSelected(this.selectedIndex)},s.updatePageDots=function(){this.pageDots.dots.forEach(o=>{r.removeFrom(this.focusableElems,o)}),this.pageDots.setDots(this.slides.length),this.focusableElems.push(...this.pageDots.dots)},s.deactivatePageDots=function(){this.pageDots.holder.remove(),this.pageDots.holder.removeEventListener("click",this.handlePageDotsClick)},i.PageDots=n,i})}(Ei)),K}var Z={},Si={get exports(){return Z},set exports(t){Z=t}},Mt;function Ai(){return Mt||(Mt=1,function(t){(function(e,i){t.exports?t.exports=i(k()):i(e.Flickity)})(typeof window<"u"?window:w,function(i){function r(s,o){this.autoPlay=s,this.onTick=o,this.state="stopped",this.onVisibilityChange=this.visibilityChange.bind(this),this.onVisibilityPlay=this.visibilityPlay.bind(this)}r.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()},r.prototype.tick=function(){if(this.state!=="playing")return;let s=typeof this.autoPlay=="number"?this.autoPlay:3e3;this.clear(),this.timeout=setTimeout(()=>{this.onTick(),this.tick()},s)},r.prototype.stop=function(){this.state="stopped",this.clear(),document.removeEventListener("visibilitychange",this.onVisibilityChange)},r.prototype.clear=function(){clearTimeout(this.timeout)},r.prototype.pause=function(){this.state==="playing"&&(this.state="paused",this.clear())},r.prototype.unpause=function(){this.state==="paused"&&this.play()},r.prototype.visibilityChange=function(){let s=document.hidden;this[s?"pause":"unpause"]()},r.prototype.visibilityPlay=function(){this.play(),document.removeEventListener("visibilitychange",this.onVisibilityPlay)},Object.assign(i.defaults,{pauseAutoPlayOnHover:!0}),i.create.player=function(){this.player=new r(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 n=i.prototype;return n.activatePlayer=function(){this.options.autoPlay&&(this.player.play(),this.element.addEventListener("mouseenter",this))},n.playPlayer=function(){this.player.play()},n.stopPlayer=function(){this.player.stop()},n.pausePlayer=function(){this.player.pause()},n.unpausePlayer=function(){this.player.unpause()},n.deactivatePlayer=function(){this.player.stop(),this.element.removeEventListener("mouseenter",this)},n.onmouseenter=function(){this.options.pauseAutoPlayOnHover&&(this.player.pause(),this.element.addEventListener("mouseleave",this))},n.onmouseleave=function(){this.player.unpause(),this.element.removeEventListener("mouseleave",this)},i.Player=r,i})}(Si)),Z}var tt={},Ci={get exports(){return tt},set exports(t){tt=t}},qt;function wi(){return qt||(qt=1,function(t){(function(e,i){t.exports?t.exports=i(k(),T()):i(e.Flickity,e.fizzyUIUtils)})(typeof window<"u"?window:w,function(i,r){function n(o){let a=document.createDocumentFragment();return o.forEach(l=>a.appendChild(l.element)),a}let s=i.prototype;return s.insert=function(o,a){let l=this._makeCells(o);if(!l||!l.length)return;let d=this.cells.length;a=a===void 0?d:a;let c=n(l),u=a===d;if(u)this.slider.appendChild(c);else{let f=this.cells[a].element;this.slider.insertBefore(c,f)}if(a===0)this.cells=l.concat(this.cells);else if(u)this.cells=this.cells.concat(l);else{let f=this.cells.splice(a,d-a);this.cells=this.cells.concat(l).concat(f)}this._sizeCells(l),this.cellChange(a),this.positionSliderAtSelected()},s.append=function(o){this.insert(o,this.cells.length)},s.prepend=function(o){this.insert(o,0)},s.remove=function(o){let a=this.getCells(o);if(!a||!a.length)return;let l=this.cells.length-1;a.forEach(d=>{d.remove();let c=this.cells.indexOf(d);l=Math.min(c,l),r.removeFrom(this.cells,d)}),this.cellChange(l),this.positionSliderAtSelected()},s.cellSizeChange=function(o){let a=this.getCell(o);if(!a)return;a.getSize();let l=this.cells.indexOf(a);this.cellChange(l)},s.cellChange=function(o){let a=this.selectedElement;this._positionCells(o),this._updateWrapShiftCells(),this.setGallerySize();let l=this.getCell(a);l&&(this.selectedIndex=this.getCellSlideIndex(l)),this.selectedIndex=Math.min(this.slides.length-1,this.selectedIndex),this.emitEvent("cellChange",[o]),this.select(this.selectedIndex)},i})}(Ci)),tt}var et={},Li={get exports(){return et},set exports(t){et=t}},Ot;function _i(){return Ot||(Ot=1,function(t){(function(e,i){t.exports?t.exports=i(k(),T()):i(e.Flickity,e.fizzyUIUtils)})(typeof window<"u"?window:w,function(i,r){const n="data-flickity-lazyload",s=`${n}-src`,o=`${n}-srcset`,a=`img[${n}], img[${s}], img[${o}], source[${o}]`;i.create.lazyLoad=function(){this.on("select",this.lazyLoad),this.handleLazyLoadComplete=this.onLazyLoadComplete.bind(this)};let l=i.prototype;l.lazyLoad=function(){let{lazyLoad:u}=this.options;if(!u)return;let f=typeof u=="number"?u:0;this.getAdjacentCellElements(f).map(d).flat().forEach(p=>new c(p,this.handleLazyLoadComplete))};function d(u){if(u.matches("img")){let f=u.getAttribute(n),p=u.getAttribute(s),y=u.getAttribute(o);if(f||p||y)return u}return[...u.querySelectorAll(a)]}l.onLazyLoadComplete=function(u,f){let p=this.getParentCell(u),y=p&&p.element;this.cellSizeChange(y),this.dispatchEvent("lazyLoad",f,y)};function c(u,f){this.img=u,this.onComplete=f,this.load()}return c.prototype.handleEvent=r.handleEvent,c.prototype.load=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this);let u=this.img.getAttribute(n)||this.img.getAttribute(s),f=this.img.getAttribute(o);this.img.src=u,f&&this.img.setAttribute("srcset",f),this.img.removeAttribute(n),this.img.removeAttribute(s),this.img.removeAttribute(o)},c.prototype.onload=function(u){this.complete(u,"flickity-lazyloaded")},c.prototype.onerror=function(u){this.complete(u,"flickity-lazyerror")},c.prototype.complete=function(u,f){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this),(this.img.parentNode.matches("picture")?this.img.parentNode:this.img).classList.add(f),this.onComplete(this.img,u)},i.LazyLoader=c,i})}(Li)),et}var it={},Di={get exports(){return it},set exports(t){it=t}},nt={},ki={get exports(){return nt},set exports(t){nt=t}};/*!
 * imagesLoaded v5.0.0
 * JavaScript is all like "You images are done yet or what?"
 * MIT License
 */var $t;function Pi(){return $t||($t=1,function(t){(function(e,i){t.exports?t.exports=i(e,pt()):e.imagesLoaded=i(e,e.EvEmitter)})(typeof window<"u"?window:w,function(i,r){let n=i.jQuery,s=i.console;function o(f){return Array.isArray(f)?f:typeof f=="object"&&typeof f.length=="number"?[...f]:[f]}function a(f,p,y){if(!(this instanceof a))return new a(f,p,y);let m=f;if(typeof f=="string"&&(m=document.querySelectorAll(f)),!m){s.error(`Bad element for imagesLoaded ${m||f}`);return}this.elements=o(m),this.options={},typeof p=="function"?y=p:Object.assign(this.options,p),y&&this.on("always",y),this.getImages(),n&&(this.jqDeferred=new n.Deferred),setTimeout(this.check.bind(this))}a.prototype=Object.create(r.prototype),a.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)};const l=[1,9,11];a.prototype.addElementImages=function(f){f.nodeName==="IMG"&&this.addImage(f),this.options.background===!0&&this.addElementBackgroundImages(f);let{nodeType:p}=f;if(!p||!l.includes(p))return;let y=f.querySelectorAll("img");for(let m of y)this.addImage(m);if(typeof this.options.background=="string"){let m=f.querySelectorAll(this.options.background);for(let A of m)this.addElementBackgroundImages(A)}};const d=/url\((['"])?(.*?)\1\)/gi;a.prototype.addElementBackgroundImages=function(f){let p=getComputedStyle(f);if(!p)return;let y=d.exec(p.backgroundImage);for(;y!==null;){let m=y&&y[2];m&&this.addBackground(m,f),y=d.exec(p.backgroundImage)}},a.prototype.addImage=function(f){let p=new c(f);this.images.push(p)},a.prototype.addBackground=function(f,p){let y=new u(f,p);this.images.push(y)},a.prototype.check=function(){if(this.progressedCount=0,this.hasAnyBroken=!1,!this.images.length){this.complete();return}let f=(p,y,m)=>{setTimeout(()=>{this.progress(p,y,m)})};this.images.forEach(function(p){p.once("progress",f),p.check()})},a.prototype.progress=function(f,p,y){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!f.isLoaded,this.emitEvent("progress",[this,f,p]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,f),this.progressedCount===this.images.length&&this.complete(),this.options.debug&&s&&s.log(`progress: ${y}`,f,p)},a.prototype.complete=function(){let f=this.hasAnyBroken?"fail":"done";if(this.isComplete=!0,this.emitEvent(f,[this]),this.emitEvent("always",[this]),this.jqDeferred){let p=this.hasAnyBroken?"reject":"resolve";this.jqDeferred[p](this)}};function c(f){this.img=f}c.prototype=Object.create(r.prototype),c.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},c.prototype.getIsImageComplete=function(){return this.img.complete&&this.img.naturalWidth},c.prototype.confirm=function(f,p){this.isLoaded=f;let{parentNode:y}=this.img,m=y.nodeName==="PICTURE"?y:this.img;this.emitEvent("progress",[this,m,p])},c.prototype.handleEvent=function(f){let p="on"+f.type;this[p]&&this[p](f)},c.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},c.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},c.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)};function u(f,p){this.url=f,this.element=p,this.img=new Image}return u.prototype=Object.create(c.prototype),u.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())},u.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},u.prototype.confirm=function(f,p){this.isLoaded=f,this.emitEvent("progress",[this,this.element,p])},a.makeJQueryPlugin=function(f){f=f||i.jQuery,f&&(n=f,n.fn.imagesLoaded=function(p,y){return new a(this,p,y).jqDeferred.promise(n(this))})},a.makeJQueryPlugin(),a})}(ki)),nt}var Wt;function Ii(){return Wt||(Wt=1,function(t){(function(e,i){t.exports?t.exports=i(k(),Pi()):i(e.Flickity,e.imagesLoaded)})(typeof window<"u"?window:w,function(i,r){return i.create.imagesLoaded=function(){this.on("activate",this.imagesLoaded)},i.prototype.imagesLoaded=function(){if(!this.options.imagesLoaded)return;let n=(s,o)=>{let a=this.getParentCell(o.img);this.cellSizeChange(a&&a.element),this.options.freeScroll||this.positionSliderAtSelected()};r(this.slider).on("progress",n)},i})}(Di)),it}/*!
 * Flickity v3.0.0
 * Touch, responsive, flickable carousels
 *
 * Licensed GPLv3 for open source use
 * or Flickity Commercial License for commercial use
 *
 * https://flickity.metafizzy.co
 * Copyright 2015-2022 Metafizzy
 */(function(t){if(t.exports){const e=k();vi(),bi(),xi(),Ai(),wi(),_i(),Ii(),t.exports=e}})(ni);const M=B,Ti=document.querySelectorAll(".Carousel__slider");for(const t of Ti){const e=document.createElement("div");e.classList.add("flickity-counter");const i=new M(t,{wrapAround:!0,imagesLoaded:!0,pageDots:!1,on:{ready:()=>{t.appendChild(e)}}});t.classList.add("flickity-resize"),window.addEventListener("resize",()=>{t.classList.remove("flickity-resize"),i.resize(),t.classList.add("flickity-resize")}),i.on("select",()=>{e.innerHTML=`${i.selectedIndex+1}/${i.cells.length}`}),window.addEventListener("load",i.resize)}const zi=document.querySelectorAll(".Accordion__button");for(const t of zi)t.addEventListener("click",()=>{const e=t.parentElement;t.getAttribute("aria-expanded")==="true"?e?.setAttribute("data-expanded",""):e?.removeAttribute("data-expanded")});var ut=globalThis&&globalThis.__assign||function(){return(ut=Object.assign||function(t){for(var e,i=1,r=arguments.length;i<r;i++)for(var n in e=arguments[i])Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}).apply(this,arguments)},Fi=function(){function t(e,i,r){var n=this;this.endVal=i,this.options=r,this.version="2.6.0",this.defaults={startVal:0,decimalPlaces:0,duration:2,useEasing:!0,useGrouping:!0,useIndianSeparators:!1,smartEasingThreshold:999,smartEasingAmount:333,separator:",",decimal:".",prefix:"",suffix:"",enableScrollSpy:!1,scrollSpyDelay:200,scrollSpyOnce:!1},this.finalEndVal=null,this.useEasing=!0,this.countDown=!1,this.error="",this.startVal=0,this.paused=!0,this.once=!1,this.count=function(s){n.startTime||(n.startTime=s);var o=s-n.startTime;n.remaining=n.duration-o,n.useEasing?n.countDown?n.frameVal=n.startVal-n.easingFn(o,0,n.startVal-n.endVal,n.duration):n.frameVal=n.easingFn(o,n.startVal,n.endVal-n.startVal,n.duration):n.frameVal=n.startVal+(n.endVal-n.startVal)*(o/n.duration);var a=n.countDown?n.frameVal<n.endVal:n.frameVal>n.endVal;n.frameVal=a?n.endVal:n.frameVal,n.frameVal=Number(n.frameVal.toFixed(n.options.decimalPlaces)),n.printValue(n.frameVal),o<n.duration?n.rAF=requestAnimationFrame(n.count):n.finalEndVal!==null?n.update(n.finalEndVal):n.options.onCompleteCallback&&n.options.onCompleteCallback()},this.formatNumber=function(s){var o,a,l,d,c=s<0?"-":"";o=Math.abs(s).toFixed(n.options.decimalPlaces);var u=(o+="").split(".");if(a=u[0],l=u.length>1?n.options.decimal+u[1]:"",n.options.useGrouping){d="";for(var f=3,p=0,y=0,m=a.length;y<m;++y)n.options.useIndianSeparators&&y===4&&(f=2,p=1),y!==0&&p%f==0&&(d=n.options.separator+d),p++,d=a[m-y-1]+d;a=d}return n.options.numerals&&n.options.numerals.length&&(a=a.replace(/[0-9]/g,function(A){return n.options.numerals[+A]}),l=l.replace(/[0-9]/g,function(A){return n.options.numerals[+A]})),c+n.options.prefix+a+l+n.options.suffix},this.easeOutExpo=function(s,o,a,l){return a*(1-Math.pow(2,-10*s/l))*1024/1023+o},this.options=ut(ut({},this.defaults),r),this.formattingFn=this.options.formattingFn?this.options.formattingFn:this.formatNumber,this.easingFn=this.options.easingFn?this.options.easingFn:this.easeOutExpo,this.startVal=this.validateValue(this.options.startVal),this.frameVal=this.startVal,this.endVal=this.validateValue(i),this.options.decimalPlaces=Math.max(this.options.decimalPlaces),this.resetDuration(),this.options.separator=String(this.options.separator),this.useEasing=this.options.useEasing,this.options.separator===""&&(this.options.useGrouping=!1),this.el=typeof e=="string"?document.getElementById(e):e,this.el?this.printValue(this.startVal):this.error="[CountUp] target is null or undefined",typeof window<"u"&&this.options.enableScrollSpy&&(this.error?console.error(this.error,e):(window.onScrollFns=window.onScrollFns||[],window.onScrollFns.push(function(){return n.handleScroll(n)}),window.onscroll=function(){window.onScrollFns.forEach(function(s){return s()})},this.handleScroll(this)))}return t.prototype.handleScroll=function(e){if(e&&window&&!e.once){var i=window.innerHeight+window.scrollY,r=e.el.getBoundingClientRect(),n=r.top+window.pageYOffset,s=r.top+r.height+window.pageYOffset;s<i&&s>window.scrollY&&e.paused?(e.paused=!1,setTimeout(function(){return e.start()},e.options.scrollSpyDelay),e.options.scrollSpyOnce&&(e.once=!0)):(window.scrollY>s||n>i)&&!e.paused&&e.reset()}},t.prototype.determineDirectionAndSmartEasing=function(){var e=this.finalEndVal?this.finalEndVal:this.endVal;this.countDown=this.startVal>e;var i=e-this.startVal;if(Math.abs(i)>this.options.smartEasingThreshold&&this.options.useEasing){this.finalEndVal=e;var r=this.countDown?1:-1;this.endVal=e+r*this.options.smartEasingAmount,this.duration=this.duration/2}else this.endVal=e,this.finalEndVal=null;this.finalEndVal!==null?this.useEasing=!1:this.useEasing=this.options.useEasing},t.prototype.start=function(e){this.error||(e&&(this.options.onCompleteCallback=e),this.duration>0?(this.determineDirectionAndSmartEasing(),this.paused=!1,this.rAF=requestAnimationFrame(this.count)):this.printValue(this.endVal))},t.prototype.pauseResume=function(){this.paused?(this.startTime=null,this.duration=this.remaining,this.startVal=this.frameVal,this.determineDirectionAndSmartEasing(),this.rAF=requestAnimationFrame(this.count)):cancelAnimationFrame(this.rAF),this.paused=!this.paused},t.prototype.reset=function(){cancelAnimationFrame(this.rAF),this.paused=!0,this.resetDuration(),this.startVal=this.validateValue(this.options.startVal),this.frameVal=this.startVal,this.printValue(this.startVal)},t.prototype.update=function(e){cancelAnimationFrame(this.rAF),this.startTime=null,this.endVal=this.validateValue(e),this.endVal!==this.frameVal&&(this.startVal=this.frameVal,this.finalEndVal==null&&this.resetDuration(),this.finalEndVal=null,this.determineDirectionAndSmartEasing(),this.rAF=requestAnimationFrame(this.count))},t.prototype.printValue=function(e){var i;if(this.el){var r=this.formattingFn(e);(i=this.options.plugin)!==null&&i!==void 0&&i.render?this.options.plugin.render(this.el,r):this.el.tagName==="INPUT"?this.el.value=r:this.el.tagName==="text"||this.el.tagName==="tspan"?this.el.textContent=r:this.el.innerHTML=r}},t.prototype.ensureNumber=function(e){return typeof e=="number"&&!isNaN(e)},t.prototype.validateValue=function(e){var i=Number(e);return this.ensureNumber(i)?i:(this.error="[CountUp] invalid start or end value: ".concat(e),null)},t.prototype.resetDuration=function(){this.startTime=null,this.duration=1e3*Number(this.options.duration),this.remaining=this.duration},t}();const Mi=document.querySelectorAll("[data-count]");for(const t of Mi){const e=parseInt(t.innerHTML,10);new Fi(t,e,{enableScrollSpy:!0,scrollSpyOnce:!0}).start()}const qi=document.querySelectorAll(".Social__carousel"),Oi=t=>{const e=document.createElement("div");return e.classList.add("Social__item"),e.innerHTML=`
      <img src="${t.image}" width="640" height="640" alt="">
      <div class="Social__overlay">
        <div class="Social__top">
          <span class="Social__group">
            <span class="Social__icon Social__icon--instagram"></span> ${t.poster_name}
          </span>
        </div>
        <div class="Social__main zero">
          ${t.message}
        </div>
        <div class="Social__bottom">
          <span class="Social__group">
            <span class="screen-reader-text">Likes</span>
            <span class="Social__icon Social__icon--heart"></span> ${t.likes}
          </span>
          <span class="Social__group">
            <span class="screen-reader-text">Comments</span>
            <span class="Social__icon Social__icon--comment"></span> ${t.comments}
          </span>
          <a class="Social__group" href="${t.full_url}" target="_blank">
            <span class="screen-reader-text">View post</span>
            <span class="Social__icon Social__icon--link"></span>
          </a>
        </div>
      </div>
    `,e},$i=async(t,e)=>{const i=[],r=await(await fetch(t)).json(),{items:n}=r.posts;n.forEach(s=>{const o=Oi(s);i.push(o)}),e.insert(i,0)};qi.forEach(t=>{const e=t.getAttribute("data-feed"),i=document.createElement("div");i.classList.add("flickity-counter");const r=new M(t,{wrapAround:!0,imagesLoaded:!0,pageDots:!1,cellAlign:"left",on:{ready:()=>{t.appendChild(i)}}});r.on("select",()=>{i.innerHTML=`${r.selectedIndex+1}/${r.cells.length}`}),e&&$i(e,r),window.addEventListener("load",r.resize)});const Wi=document.querySelectorAll(".Stories__carousel");for(const t of Wi){const e=t.querySelectorAll(".Stories__item"),i=document.createElement("div");i.classList.add("flickity-counter");const r=new M(t,{imagesLoaded:!0,pageDots:!1,cellAlign:"left",on:{ready:()=>{t.appendChild(i)}}});r.on("select",()=>{i.innerHTML=`${r.selectedIndex+1}/${r.cells.length}`}),r.on("change",()=>{window.innerWidth>=1024&&r.reposition()});for(const n of e)n.addEventListener("click",s=>{const l=s.target.closest(".Stories__item")?.classList.contains("is-selected"),d=[...e].indexOf(n);l||r.select(d)});window.addEventListener("load",r.resize)}var Vt={},Vi={get exports(){return Vt},set exports(t){Vt=t}};/*!
 * Flickity sync v2.0.0
 * enable sync for Flickity
 */(function(t){(function(e,i){t.exports?t.exports=i(B,T()):i(e.Flickity,e.fizzyUIUtils)})(typeof window<"u"?window:w,function(i,r){i.create.sync=function(){this.syncers={};let s=this.options.sync;this.on("destroy",this.unsyncAll),s&&setTimeout(()=>{this.sync(s)})};let n=i.prototype;return n.sync=function(s){s=r.getQueryElement(s);let o=i.data(s);o&&(this._syncCompanion(o),o._syncCompanion(this))},n._syncCompanion=function(s){let o=this;function a(){let l=o.selectedIndex;s.selectedIndex!==l&&s.select(l)}this.on("select",a),this.syncers[s.guid]={flickity:s,listener:a}},n.unsync=function(s){s=r.getQueryElement(s);let o=i.data(s);this._unsync(o)},n._unsync=function(s){s&&(this._unsyncCompanion(s),s._unsyncCompanion(this))},n._unsyncCompanion=function(s){let o=s.guid,a=this.syncers[o];this.off("select",a.listener),delete this.syncers[o]},n.unsyncAll=function(){for(let s in this.syncers){let o=this.syncers[s];this._unsync(o.flickity)}},i})})(Vi);const Bi=document.querySelectorAll(".Highlights");for(const t of Bi){const e=t.querySelector(".Highlights__background"),i=t.querySelector(".Highlights__detail"),r=t.querySelector(".Highlights__nav"),n=t.querySelectorAll(".Highlights__button");if(e&&i&&r){const s=new M(e,{accessibility:!1,imagesLoaded:!0,pageDots:!1,prevNextButtons:!1}),o=document.createElement("div");o.classList.add("flickity-counter");const a=new M(i,{sync:e,pageDots:!1,on:{ready:()=>{i?.appendChild(o),o.innerHTML=`1/${i?.querySelector(".flickity-slider")?.children.length}`}}});a.on("select",()=>{o.innerHTML=`${a.selectedIndex+1}/${a.cells.length}`});const l=new M(r,{accessibility:!1,sync:e,imagesLoaded:!0,pageDots:!1,prevNextButtons:!1,cellAlign:"left"});for(const d of n)d.addEventListener("click",()=>{const c=[...n].indexOf(d);l.select(c)});window.addEventListener("load",s.resize),window.addEventListener("load",a.resize),window.addEventListener("load",l.resize)}}const Ni=document.querySelectorAll(".Alert__close");for(const t of Ni)t.addEventListener("click",()=>{t.parentElement?.remove()});const Hi=document.querySelectorAll(".Footer__back");for(const t of Hi){const e=document.querySelector(".skip-link");t.addEventListener("click",()=>{e?.focus(),document.activeElement?.blur(),scroll(0,0)})}const Ui=document.querySelectorAll(".Header__menu-toggle");for(const t of Ui)t.addEventListener("click",()=>{const e=t.closest(".Header");e&&e.getBoundingClientRect().top>0&&e.scrollIntoView({behavior:"smooth"})});const Ri=document.querySelectorAll(".Header__search-toggle");for(const t of Ri)t.addEventListener("click",()=>{const e=t.nextElementSibling?.querySelector(".Header__input");t.getAttribute("aria-expanded")==="true"&&setTimeout(()=>{e?.focus()},300)});
