PageSourceSearch

https://www.gf.org/build/assets/app-g6lFE5CF.js

js gf.org collected 2026-10-01 09:19:59 UTC 283,556 bytes, 65 lines download raw bytes

vendor: 7,033 bytes, lines 1-2
1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/swiper-DYRdfygD.js","assets/utils-CwJohvjA.js","assets/index-g_Fkinj2.js"])))=>i.map(i=>d[i]);
2var Pr=function(){function i(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),t}}();function Ir(i,t){if(!(i instanceof t))throw new TypeError("Cannot call a class as a function")}(function(){if(typeof window>"u"||typeof Element>"u")return;var i=Array.prototype.slice,t=Element.prototype.matches||Element.prototype.msMatchesSelector,e=["a[href]","area[href]","input:not([disabled])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","details","summary","iframe","object","embed","video","[contenteditable]"].join(","),n=function(){function c(l,h){Ir(this,c),this._inertManager=h,this._rootElement=l,this._managedNodes=new Set,this._rootElement.hasAttribute("aria-hidden")?this._savedAriaHidden=this._rootElement.getAttribute("aria-hidden"):this._savedAriaHidden=null,this._rootElement.setAttribute("aria-hidden","true"),this._makeSubtreeUnfocusable(this._rootElement),this._observer=new MutationObserver(this._onMutation.bind(this)),this._observer.observe(this._rootElement,{attributes:!0,childList:!0,subtree:!0})}return Pr(c,[{key:"destructor",value:function(){this._observer.disconnect(),this._rootElement&&(this._savedAriaHidden!==null?this._rootElement.setAttribute("aria-hidden",this._savedAriaHidden):this._rootElement.removeAttribute("aria-hidden")),this._managedNodes.forEach(function(h){this._unmanageNode(h.node)},this),this._observer=null,this._rootElement=null,this._managedNodes=null,this._inertManager=null}},{key:"_makeSubtreeUnfocusable",value:function(h){var d=this;o(h,function(m){return d._visitNode(m)});var p=document.activeElement;if(!document.body.contains(h)){for(var v=h,f=void 0;v;){if(v.nodeType===Node.DOCUMENT_FRAGMENT_NODE){f=v;break}v=v.parentNode}f&&(p=f.activeElement)}h.contains(p)&&(p.blur(),p===document.activeElement&&document.body.focus())}},{key:"_visitNode",value:function(h){if(h.nodeType===Node.ELEMENT_NODE){var d=h;d!==this._rootElement&&d.hasAttribute("inert")&&this._adoptInertRoot(d),(t.call(d,e)||d.hasAttribute("tabindex"))&&this._manageNode(d)}}},{key:"_manageNode",value:function(h){var d=this._inertManager.register(h,this);this._managedNodes.add(d)}},{key:"_unmanageNode",value:function(h){var d=this._inertManager.deregister(h,this);d&&this._managedNodes.delete(d)}},{key:"_unmanageSubtree",value:function(h){var d=this;o(h,function(p){return d._unmanageNode(p)})}},{key:"_adoptInertRoot",value:function(h){var d=this._inertManager.getInertRoot(h);d||(this._inertManager.setInert(h,!0),d=this._inertManager.getInertRoot(h)),d.managedNodes.forEach(function(p){this._manageNode(p.node)},this)}},{key:"_onMutation",value:function(h,d){h.forEach(function(p){var v=p.target;if(p.type==="childList")i.call(p.addedNodes).forEach(function(m){this._makeSubtreeUnfocusable(m)},this),i.call(p.removedNodes).forEach(function(m){this._unmanageSubtree(m)},this);else if(p.type==="attributes"){if(p.attributeName==="tabindex")this._manageNode(v);else if(v!==this._rootElement&&p.attributeName==="inert"&&v.hasAttribute("inert")){this._adoptInertRoot(v);var f=this._inertManager.getInertRoot(v);this._managedNodes.forEach(function(m){v.contains(m.node)&&f._manageNode(m.node)})}}},this)}},{key:"managedNodes",get:function(){return new Set(this._managedNodes)}},{key:"hasSavedAriaHidden",get:function(){return this._savedAriaHidden!==null}},{key:"savedAriaHidden",set:function(h){this._savedAriaHidden=h},get:function(){return this._savedAriaHidden}}]),c}(),r=function(){function c(l,h){Ir(this,c),this._node=l,this._overrodeFocusMethod=!1,this._inertRoots=new Set([h]),this._savedTabIndex=null,this._destroyed=!1,this.ensureUntabbable()}return Pr(c,[{key:"destructor",value:function(){if(this._throwIfDestroyed(),this._node&&this._node.nodeType===Node.ELEMENT_NODE){var h=this._node;this._savedTabIndex!==null?h.setAttribute("tabindex",this._savedTabIndex):h.removeAttribute("tabindex"),this._overrodeFocusMethod&&delete h.focus}this._node=null,this._inertRoots=null,this._destroyed=!0}},{key:"_throwIfDestroyed",value:function(){if(this.destroyed)throw new Error("Trying to access destroyed InertNode")}},{key:"ensureUntabbable",value:function(){if(this.node.nodeType===Node.ELEMENT_NODE){var h=this.node;if(t.call(h,e)){if(h.tabIndex===-1&&this.hasSavedTabIndex)return;h.hasAttribute("tabindex")&&(this._savedTabIndex=h.tabIndex),h.setAttribute("tabindex","-1"),h.nodeType===Node.ELEMENT_NODE&&(h.focus=function(){},this._overrodeFocusMethod=!0)}else h.hasAttribute("tabindex")&&(this._savedTabIndex=h.tabIndex,h.removeAttribute("tabindex"))}}},{key:"addInertRoot",value:function(h){this._throwIfDestroyed(),this._inertRoots.add(h)}},{key:"removeInertRoot",value:function(h){this._throwIfDestroyed(),this._inertRoots.delete(h),this._inertRoots.size===0&&this.destructor()}},{key:"destroyed",get:function(){return this._destroyed}},{key:"hasSavedTabIndex",get:function(){return this._savedTabIndex!==null}},{key:"node",get:function(){return this._throwIfDestroyed(),this._node}},{key:"savedTabIndex",set:function(h){this._throwIfDestroyed(),this._savedTabIndex=h},get:function(){return this._throwIfDestroyed(),this._savedTabIndex}}]),c}(),s=function(){function c(l){if(Ir(this,c),!l)throw new Error("Missing required argument; InertManager needs to wrap a document.");this._document=l,this._managedNodes=new Map,this._inertRoots=new Map,this._observer=new MutationObserver(this._watchForInert.bind(this)),a(l.head||l.body||l.documentElement),l.readyState==="loading"?l.addEventListener("DOMContentLoaded",this._onDocumentLoaded.bind(this)):this._onDocumentLoaded()}return Pr(c,[{key:"setInert",value:function(h,d){if(d){if(this._inertRoots.has(h))return;var p=new n(h,this);if(h.setAttribute("inert",""),this._inertRoots.set(h,p),!this._document.body.contains(h))for(var v=h.parentNode;v;)v.nodeType===11&&a(v),v=v.parentNode}else{if(!this._inertRoots.has(h))return;var f=this._inertRoots.get(h);f.destructor(),this._inertRoots.delete(h),h.removeAttribute("inert")}}},{key:"getInertRoot",value:function(h){return this._inertRoots.get(h)}},{key:"register",value:function(h,d){var p=this._managedNodes.get(h);return p!==void 0?p.addInertRoot(d):p=new r(h,d),this._managedNodes.set(h,p),p}},{key:"deregister",value:function(h,d){var p=this._managedNodes.get(h);return p?(p.removeInertRoot(d),p.destroyed&&this._managedNodes.delete(h),p):null}},{key:"_onDocumentLoaded",value:function(){var h=i.call(this._document.querySelectorAll("[inert]"));h.forEach(function(d){this.setInert(d,!0)},this),this._observer.observe(this._document.body||this._document.documentElement,{attributes:!0,subtree:!0,childList:!0})}},{key:"_watchForInert",value:function(h,d){var p=this;h.forEach(function(v){switch(v.type){case"childList":i.call(v.addedNodes).forEac
2h(function(g){if(g.nodeType===Node.ELEMENT_NODE){var _=i.call(g.querySelectorAll("[inert]"));t.call(g,"[inert]")&&_.unshift(g),_.forEach(function(y){this.setInert(y,!0)},p)}},p);break;case"attributes":if(v.attributeName!=="inert")return;var f=v.target,m=f.hasAttribute("inert");p.setInert(f,m);break}},this)}}]),c}();function o(c,l,h){if(c.nodeType==Node.ELEMENT_NODE){var d=c;l&&l(d);var p=d.shadowRoot;if(p){o(p,l);return}if(d.localName=="content"){for(var v=d,f=v.getDistributedNodes?v.getDistributedNodes():[],m=0;m<f.length;m++)o(f[m],l);return}if(d.localName=="slot"){for(var g=d,_=g.assignedNodes?g.assignedNodes({flatten:!0}):[],y=0;y<_.length;y++)o(_[y],l);return}}for(var b=c.firstChild;b!=null;)o(b,l),b=b.nextSibling}function a(c){if(!c.querySelector("style#inert-style, link#inert-style")){var l=document.createElement("style");l.setAttribute("id","inert-style"),l.textContent=`
3[inert] {
4  pointer-events: none;
5  cursor: default;
6}
7
8[inert], [inert] * {
9  -webkit-user-select: none;
10  -moz-user-select: none;
11  -ms-user-select: none;
12  user-select: none;
13}
14`,c.appendChild(l)}}if(!HTMLElement.prototype.hasOwnProperty("inert")){var u=new s(document);Object.defineProperty(HTMLElement.prototype,"inert",{enumerable:!0,get:function(){return this.hasAttribute("inert")},set:function(l){u.setInert(this,l)}})}})();const _c="modulepreload",yc=function(i){return"/build/"+i},Oo={},Gn=function(t,e,n){let r=Promise.resolve();if(e&&e.length>0){document.getElementsByTagName("link");const s=document.querySelector("meta[property=csp-nonce]"),o=(s==null?void 0:s.nonce)||(s==null?void 0:s.getAttribute("nonce"));r=Promise.all(e.map(a=>{if(a=yc(a),a in Oo)return;Oo[a]=!0;const u=a.endsWith(".css"),c=u?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${a}"]${c}`))return;const l=document.createElement("link");if(l.rel=u?"stylesheet":_c,u||(l.as="script",l.crossOrigin=""),l.href=a,o&&l.setAttribute("nonce",o),document.head.appendChild(l),u)return new Promise((h,d)=>{l.addEventListener("load",h),l.addEventListener("error",()=>d(new Error(`Unable to preload CSS for ${a}`)))})}))}return r.then(()=>t()).catch(s=>{const o=new Event("vite:preloadError",{cancelable:!0});if(o.payload=s,window.dispatchEvent(o),!o.defaultPrevented)throw s})};var Ec={};const Mi=function(){return typeof window>"u"?"":getComputedStyle(document.documentElement).getPropertyValue("--breakpoint").trim().replace(/"/g,"")},wc=function(){var i,t=250,e=Mi();function n(){var r=Mi();window.dispatchEvent(new CustomEvent("resized",{detail:{breakpoint:r}})),r!==e&&(window.A17&&(window.A17.currentMediaQuery=r),window.dispatchEvent(new CustomEvent("mediaQueryUpdated",{detail:{breakpoint:r,prevBreakpoint:e}})),e=r)}if(window.addEventListener("resize",function(){clearTimeout(i),i=setTimeout(n,t)}),typeof ResizeObserver=="function"){let r=null;new ResizeObserver(o=>{clearTimeout(r),r=setTimeout(()=>{window.A17.currentMediaQuery!==Mi()&&window.dispatchEvent(new Event("resize"))},t+1)}).observe(document.documentElement)}e===""?window.requestAnimationFrame(n):window.A17&&(window.A17.currentMediaQuery=e)},is=function(i,t){if(!i)return console.error("You need to pass a breakpoint name!"),!1;const e=new RegExp("\\+$|\\-$");let n=["xs","sm","md","lg","xl","xxl"];window.A17&&window.A17.breakpoints&&(Array.isArray(window.A17.breakpoints)?n=window.A17.breakpoints:console.warn("A17.breakpoints should be an array. Using defaults.")),t&&(Array.isArray(t)?n=t:console.warn("isBreakpoint breakpoints should be an array. Using defaults."));const r=Mi(),s=n.indexOf(r),o=e.exec(i),a=o?o[0]:!1,u=o?i.slice(0,-1):i,c=n.indexOf(u);return c<0?(console.warn("Unrecognized breakpoint. Supported breakpoints are: "+n.join(", ")),!1):a==="+"&&s>=c||a==="-"&&s<=c||!a&&i===r},bc=function(i){for(var t in i)i.hasOwnProperty(t)&&delete i[t]};function ns(i,t={}){if(!i||!(i instanceof Element))throw new Error("Node argument is required");return this.$node=i,this.options=Object.assign({intersectionOptions:{rootMargin:"20%"}},t.options||{}),this.__isEnabled=!1,this.__children=t.children,this.__breakpoints=t.breakpoints,this.__abortController=new AbortController,this.customMethodNames.forEac
14h(e=>{this[e]=this.methods[e].bind(this)}),this._binds={},this._data=new Proxy(this._binds,{set:(e,n,r)=>(this.updateBinds(n,r),e[n]=r,!0)}),this.__isIntersecting=!1,this.__intersectionObserver=null,this}ns.prototype=Object.freeze({updateBinds(i,t){this.$node.querySelectorAll("[data-"+this.name.toLowerCase()+"-bindel*="+i+"]").forEach(r=>{r.innerHTML=t}),this.$node.querySelectorAll("[data-"+this.name.toLowerCase()+'-bindattr*="'+i+':"]').forEach(r=>{r.dataset[this.name.toLowerCase()+"Bindattr"].split(",").forEach(o=>{o=o.split(":"),o[0]===i&&(o[1]==="class"?(this._binds[i]!==t&&r.classList.remove(this._binds[i]),t&&r.classList.add(t)):r.setAttribute(o[1],t))})})},init(){var t,e;const i=new RegExp("^data-"+this.name+"-(.*)","i");for(let n=0;n<this.$node.attributes.length;n++){const r=this.$node.attributes[n],s=i.exec(r.nodeName);s!=null&&s.length>=2&&(this.options[s[1]]&&console.warn(`Ignoring ${s[1]} option, as it already exists on the ${name} behavior. Please choose another name.`),this.options[s[1]]=r.value)}typeof((t=this.lifecycle)==null?void 0:t.init)=="function"&&this.lifecycle.init.call(this),typeof((e=this.lifecycle)==null?void 0:e.resized)=="function"&&(this.__resizedBind=this.__resized.bind(this),window.addEventListener("resized",this.__resizedBind)),(typeof this.lifecycle.mediaQueryUpdated=="function"||this.options.media)&&(this.__mediaQueryUpdatedBind=this.__mediaQueryUpdated.bind(this),window.addEventListener("mediaQueryUpdated",this.__mediaQueryUpdatedBind)),this.options.media?this.__toggleEnabled():this.enable(),this.__intersections()},destroy(){var i;this.__abortController.abort(),this.__isEnabled===!0&&this.disable(),typeof((i=this.lifecycle)==null?void 0:i.destroy)=="function"&&this.lifecycle.destroy.call(this),typeof this.lifecycle.resized=="function"&&window.removeEventListener("resized",this.__resizedBind),(typeof this.lifecycle.mediaQueryUpdated=="function"||this.options.media)&&window.removeEventListener("mediaQueryUpdated",this.__mediaQueryUpdatedBind),(this.lifecycle.intersectionIn!=null||this.lifecycle.intersectionOut!=null)&&(this.__intersectionObserver.unobserve(this.$node),this.__intersectionObserver.disconnect()),bc(this)},getChild(i,t,e=!1){let n;return this.__children!=null&&this.__children[i]!=null?n=this.__children[i]:i instanceof NodeList?(n=i,e=!0):i instanceof Element||i instanceof HTMLDocument||i===window?(n=i,e=!1):(t==null&&(t=this.$node),n=t[e?"querySelectorAll":"querySelector"]("[data-"+this.name.toLowerCase()+"-"+i.toLowerCase()+"]")),e&&(n==null?void 0:n.length)>0?(n.on=(r,s,o)=>{n.forEach(a=>{this.__on(a,r,s,o)})},n.off=(r,s)=>{n.forEach(o=>{this.__off(o,r,s)})}
14,n.forEach(r=>{r.on=r.on?r.on:(s,o,a)=>{this.__on(r,s,o,a)},r.off=r.off?r.off:(s,o)=>{this.__off(r,s,o)}})):n&&(n.on=n.on?n.on:(r,s,o)=>{this.__on(n,r,s,o)},n.off=n.off?n.off:(r,s)=>{this.__off(n,r,s)}),n},getChildren(i,t){return this.getChild(i,t,!0)},isEnabled(){return this.__isEnabled},enable(){this.__isEnabled=!0,typeof this.lifecycle.enabled=="function"&&this.lifecycle.enabled.call(this)},disable(){this.__isEnabled=!1,typeof this.lifecycle.disabled=="function"&&this.lifecycle.disabled.call(this)},addSubBehavior(i,t=this.$node,e={}){const n=au;typeof i=="string"?n.initBehavior(i,t,e):(n.add(i),n.initBehavior(i.prototype.behaviorName,t,e))},isBreakpoint(i){return is(i,this.__breakpoints)},__on(i,t,e,n){typeof n=="boolean"&&n===!0&&(n={passive:!0});const r={signal:this.__abortController.signal,...n};i.attachedListeners||(i.attachedListeners={}),Object.values(i.attachedListeners).find(o=>o.type===t&&o.fn===e)||(i.attachedListeners[Object.values(i.attachedListeners).length]={type:t,fn:e},i.addEventListener(t,e,r))},__off(i,t,e){i.attachedListeners?Object.keys(i.attachedListeners).forEach(n=>{const r=i.attachedListeners[n];(!t&&!e||t===r.type&&!e||t===r.type&&e===r.fn)&&(delete i.attachedListeners[n],i.removeEventListener(r.type,r.fn))}):i.removeEventListener(t,e)},__toggleEnabled(){const i=is(this.options.media,this.__breakpoints);i&&!this.__isEnabled?this.enable():!i&&this.__isEnabled&&this.disable()},__mediaQueryUpdated(i){var t;typeof((t=this.lifecycle)==null?void 0:t.mediaQueryUpdated)=="function"&&this.lifecycle.mediaQueryUpdated.call(this,i),this.options.media&&this.__toggleEnabled()},__resized(i){var t;typeof((t=this.lifecycle)==null?void 0:t.resized)=="function"&&this.lifecycle.resized.call(this,i)},__intersections(){(this.lifecycle.intersectionIn!=null||this.lifecycle.intersectionOut!=null)&&(this.__intersectionObserver=new IntersectionObserver(i=>{i.forEach(t=>{t.target===this.$node&&(t.isIntersecting?!this.__isIntersecting&&typeof this.lifecycle.intersectionIn=="function"&&(this.__isIntersecting=!0,this.lifecycle.intersectionIn.call(this)):this.__isIntersecting&&typeof this.lifecycle.intersectionOut=="function"&&(this.__isIntersecting=!1,this.lifecycle.intersectionOut.call(this)))})},this.options.intersectionOptions),this.__intersectionObserver.observe(this.$node))}});const W=(i,t={},e={})=>{const n=function(...a){ns.apply(this,a)},r=[],s={name:{get(){return this.behaviorName}},behaviorName:{value:i,writable:!0},lifecycle:{value:e},methods:{value:t},customMethodNames:{value:r}};return Object.keys(t).forEach(a=>{r.push(a)}),n.prototype=Object.create(ns.prototype,s),n};let oe={dataAttr:"behavior",lazyAttr:"behavior-lazy",intersectionOptions:{rootMargin:"20%"},breakpoints:["xs","sm","md","lg","xl","xxl"]},Re=[],ru=!1;const Yn={},di=new Map,Ni=new Map;let fr;const oi=new Map,fi=new Map;function Co(i,t){return t=t.toLowerCase().replace(/-([a-zA-Z0-9])/ig,(e,n)=>n.toUpperCase()),i.dataset&&i.dataset[t]?i.dataset[t].split(" ").filter(e=>e):[]}function Nn(i){const t=Re.indexOf(i);t>-1&&Re.splice(t,1)}function Tc(i,t){const e=di.get(t);if(!e||!e[i]){console.warn(`No behavior '${i}' instance on:`,t);return}e[i].destroy(),delete e[i],Object.keys(e).length===0&&di.delete(t)}function Ac(i){const t=Array.from(di.keys());t.push(i),t.forEach(e=>{if(i===e||i.contains(e)){const n=di.get(e);n&&Object.keys(n).forEach(r=>{Tc(r,e),fr.unobserve(e),oi.delete(e),fi.delete(e)})}})}function Sc(i,t){if(Re.indexOf(i)>-1){const e=Ni.get(i)||[];e.includes(t)||e.push(t),Ni.set(i,e);return}Re.push(i);try{Gn(()=>import(`/home/deployer/sites/gf-production/releases/78/resources/frontend/scripts/behaviors/${(Ec.BEHAVIORS_COMPONENT_PATHS[i]||"").replace(/^\/|\/$/ig,"")}/${i}.js`),[]).then(e=>{$o(i,t,e)}).catch(e=>{console.warn(`No loaded behavior called: ${i}`),Nn(i)})}catch{try{Gn(()=>import(`/home/deployer/sites/gf-production/releases/78/resources/frontend/scripts/behaviors/${i}.js`),[]).then(n=>{$o(i,t,n)}).catch(n=>{console.warn(`No loaded behavior called: ${i}`),Nn(i)})}catch{console.warn(`Unknown behavior called: ${i}. 
15It maybe the behavior doesn't exist, check for typos and check Webpack has generated your file. 
16If you are using dynamically imported behaviors, you may also want to check your webpack config. See https://github.com/area17/a17-behaviors/wiki/Setup#webpack-config`),Nn(i)}}}function $o(i,t,e){e.default&&typeof e.default=="function"?(Yn[i]=e.default,Ki(i,t),Ni.get(i)&&(Ni.get(i).forEac
16h(n=>{Ki(i,n)}),Ni.delete(i))):(console.warn(`Tried to import ${i}, but it seems to not be a behavior`),Nn(i))}function Ms(i){if(!("querySelectorAll"in i))return;[i,...i.querySelectorAll(`[data-${oe.dataAttr}]`)].forEach(n=>{const r=Co(n,oe.dataAttr);r&&r.forEach(s=>{Ki(s,n)})}),[i,...i.querySelectorAll(`[data-${oe.lazyAttr}]`)].forEach(n=>{const r=Co(n,oe.lazyAttr),s=new Map;r.forEach(o=>{const a=n.dataset[`${o.toLowerCase()}Lazymedia`];s.set(o,a||!1)}),n!==document&&(oi.set(n,s),fi.set(n,!1),fr.observe(n))})}function Lc(){ru=!0,new MutationObserver(t=>{t.forEach(e=>{e.removedNodes.forEach(n=>{Ac(n)}),e.addedNodes.forEach(n=>{Ms(n)})})}).observe(document.body,{childList:!0,subtree:!0,attributes:!1,characterData:!1})}function su(i){i.forEach(t=>{if(fi.get(t)!==void 0&&fi.get(t)===!1)return;let e=oi.get(t);e&&e.forEach((n,r)=>{(!n||is(n,oe.breakpoints))&&(Ki(r,t),e.delete(r),e.size===0?(fr.unobserve(t),oi.delete(t)):oi.set(t,e))})})}function Oc(i){i.forEach(t=>{t.isIntersecting?(fi.set(t.target,!0),su([t.target])):fi.set(t.target,!1)})}function Cc(){su(Array.from(oi.keys()))}function Ki(i,t,e={}){if(!Yn[i]){Sc(i,t);return}e={breakpoints:oe.breakpoints,...e};const n=di.get(t)||{};if(Object.keys(n).length===0||!n[i]){const r=new Yn[i](t,e);n[i]=r,di.set(t,n);try{return r.init(),r}catch(s){console.log(`Error in behavior '${i}' on:`,t),console.log(s)}}}function ou(i){typeof i=="function"&&i.prototype.behaviorName&&(i={[i.prototype.behaviorName]:i}),typeof i=="string"&&arguments.length>1&&(i={[i]:W(...arguments)});const t=Object.keys(i).filter(e=>Re.indexOf(e)===-1);t.length&&(Re=Re.concat(t),t.forEach(e=>{Yn[e]=i[e]}))}function $c(i,t={}){oe={...oe,...t},wc(),fr=new IntersectionObserver(Oc,oe.intersectionOptions),i&&ou(i),Ms(document),ru||Lc(),window.addEventListener("mediaQueryUpdated",Cc)}function Pc(){arguments&&(ou.apply(null,arguments),Ms(document))}let au={init:$c,add:Pc,initBehavior:Ki,get currentBreakpoint(){return Mi()}};const rs={toObject(i){if(typeof i!="string")return{};var t={},e=i&&i.indexOf("?")>-1?i.split("?")[1]:location.search;return e.replace(new RegExp("([^?=&]+)(=([^&]*))?","g"),function(n,r,s,o){t[r]=o}),t},fromObject(i){var t="",e=0;if(Object.getOwnPropertyNames(i).length>0){t="?";for(var n in i)i.hasOwnProperty(n)&&(t+=(e>0?"&":"")+n+"="+encodeURIComponent(i[n]).replace(/[!'()*]/g,function(r){return"%"+r.charCodeAt(0).toString(16)}),e++)}return t},updateParameter(i,t,e){var n=new RegExp("([?&])"+t+"=.*?(&|#|$)","i");if(i.match(n))return i.replace(n,"$1"+t+"="+e+"$2");var r="";i.indexOf("#")!==-1&&(r=i.replace(/.*#/,"#"),i=i.replace(/#.*/,""));var s=i.indexOf("?")!==-1?"&":"?";return i+s+t+"="+e+r}},Ic=function(){const i="data-focus-method",t="touch",e="mouse",n="key";let r="",s="";function o(){r=n}function a(){r!==t&&(r=e)}function u(){r=t}function c(d){r||(r=s),d.target&&typeof d.target.setAttribute=="function"&&(d.target.setAttribute(i,r),s=r,r="")}function l(d){d.target&&typeof d.target.removeAttribute=="function"&&d.target.removeAttribute(i)}function h(){r=null}document.addEventListener("keydown",o,!0),document.addEventListener("mousedown",a,!0),document.addEventListener("touchstart",u,!0),document.addEventListener("focus",c,!0),document.addEventListener("blur",l,!0),window.addEventListener("blur",h)},Dc=function(i){if(typeof i.checkVisibility=="function")return i.checkVisibility({checkOpacity:!0,checkVisibilityCSS:!0});if(i.getClientRects().length!==0){let t=getComputedStyle(i);return!(t.visibility==="hidden"||t.opacity<.1||t.overflow==="hidden"&&i.clientHeight===0)}return i.getClientRects().length!==0};function Po(i){return!(i.closest("[inert]")||i.getAttribute("tabindex")==="-1"||!Dc(i)||i.tagName.match(/INPUT|SELECT|TEXTAREA|BUTTON/)&&(i.disabled||i.closest("fieldset[disabled]")))}const Xi=function(i,t=!1){i||(i=document.body);const e=i.querySelectorAll('a[href], button, input, select, textarea, audio[controls], video[controls], [contenteditable]:not([contenteditable="false"]), details > summary:first-of-type, [tabindex]');let n=Array.from(e).filter(r=>Po(r));return t&&Po(i)&&n.unshift(i),n};var An=function(i,t=!0){if(!(!(i instanceof Element)&&!(i instanceof Document)))if(t)i.focus(),document.activeElement!==i&&(i.setAttribute("tabindex","-1"),i.focus({preventScroll:!0}),i.removeAttribute("tabindex"));else{const e=Xi(i,!0)[0]||i;e?e.focus({preventScroll:!0}):(i.setAttribute("tabindex","-1"),i.focus({preventScroll:!0}),i.removeAttribute("tabindex"))}};const kc=function(){let i,t=[],e;const n=a=>
16{i&&a.keyCode&&a.keyCode===9&&(a.shiftKey?document.activeElement.isEqualNode(t[0])&&(An(t[t.length-1]),a.preventDefault()):document.activeElement.isEqualNode(t[t.length-1])&&(An(t[0]),a.preventDefault()))},r=a=>{i&&document.activeElement!==i&&!i.contains(document.activeElement)&&(a.stopImmediatePropagation(),a.preventDefault(),An(t[0]))},s=a=>{try{document.removeEventListener("focusin",r,!0),document.removeEventListener("keydown",n,!0)}catch{}i=a.detail.el||a.detail.element||a.detail.target||a.detail.$target,i&&(t=Xi(i),t.length===0&&(t=[i]),e=new MutationObserver(u=>{t=Xi(i)}),e.observe(i,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["inert","disabled","tabindex","hidden","style"],characterData:!1}),document.addEventListener("focusin",r,!0),document.addEventListener("keydown",n,!0),An(t[0]),i.dataset.focustrapped="true")},o=()=>{i&&(document.removeEventListener("focusin",r,!0),document.removeEventListener("keydown",n,!0),e.disconnect(),i.removeAttribute("data-focustrapped"),i=null,t=[],e=null)};document.addEventListener("focus:trap",s,!1),document.addEventListener("focus:untrap",o,!1)},Dr=function(){return typeof window>"u"?"":getComputedStyle(document.documentElement).getPropertyValue("--breakpoint").trim().replace(/"/g,"")},xc=function(){if(typeof window>"u")return;function i(){const t=Math.max(document.documentElement.clientHeight||0,window.innerHeight||0)*.01;document.documentElement.style.setProperty("--vh",`${t}px`)}window.addEventListener("resize",i),i()},Rc=function(){var i,t=250,e=Dr();function n(){var r=Dr();window.dispatchEvent(new CustomEvent("resized",{detail:{breakpoint:r}})),r!==e&&(window.A17&&(window.A17.currentMediaQuery=r),window.dispatchEvent(new CustomEvent("mediaQueryUpdated",{detail:{breakpoint:r,prevBreakpoint:e}})),e=r)}if(window.addEventListener("resize",function(){clearTimeout(i),i=setTimeout(n,t)}),typeof ResizeObserver=="function"){let r=null;new ResizeObserver(o=>{clearTimeout(r),r=setTimeout(()=>{window.A17.currentMediaQuery!==Dr()&&window.dispatchEvent(new Event("resize"))},t+1)}).observe(document.documentElement)}e===""?window.requestAnimationFrame(n):window.A17&&(window.A17.currentMediaQuery=e)};function Mc(){function i(){const t=document.querySelectorAll("img[srcset][sizes], source[srcset][sizes]");for(let e=0;e<t.length;e++)t[e].sizes+=""}window.addEventListener("resized",i),document.addEventListener("page:updated",i)}let pr=!1;if(typeof window<"u"){const i={get passive(){pr=!0}};window.addEventListener("testPassive",null,i),window.removeEventListener("testPassive",null,i)}const pi=typeof window<"u"&&window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||window.navigator.platform==="MacIntel"&&window.navigator.maxTouchPoints>1);let Xt=[],yt=new Map,vi=!1,Ns=-1,Fi,ki,Yt,Bi;const uu=i=>Xt.some(t=>!!(t.options.allowTouchMove&&t.options.allowTouchMove(i))),Qi=i=>{const t=i||window.event;return uu(t.target)||t.touches.length>1?!0:(t.preventDefault&&t.preventDefault(),!1)},Nc=i=>{if(Bi===void 0){const t=!!i&&i.reserveScrollBarGap===!0,e=window.innerWidth-document.documentElement.getBoundingClientRect().width;if(t&&e>0){const n=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right"),10);Bi=document.body.style.paddingRight,document.body.style.paddingRight=`${n+e}px`}}Fi===void 0&&(Fi=document.body.style.overflow,document.body.style.overflow="hidden")},lu=()=>{Bi!==void 0&&(document.body.style.paddingRight=Bi,Bi=void 0),Fi!==void 0&&(document.body.style.overflow=Fi,Fi=void 0)},Fc=()=>window.requestAnimationFrame(()=>{const i=document.documentElement,t=document.body;if(Yt===void 0){ki={...i.style},Yt={...t.style};const{scrollY:e,scrollX:n,innerHeight:r}=window;i.style.height="100%",i.style.overflow="hidden",t.style.position="fixed",t.style.top=`${-e}px`,t.style.left=`${-n}px`,t.style.width="100%",t.style.height="auto",t.style.overflow="hidden",setTimeout(()=>window.requestAnimationFrame(()=>{const s=r-window.innerHeight;s&&e>=r&&(t.style.top=-(e+s)+"px")}),300)}}),cu=()=>{if(Yt!==void 0){const i=-parseInt(document.body.style.top,10),t=-parseInt(document.body.style.left,10),e=document.documentElement,n=document.body;e.style.height=(ki==null?void 0:ki.height)||"",e.style.overflow=(ki==null?void 0:ki.overflow)||"",n.style.position=Yt.position||"",n.style.top=Yt.top||"",n.style.left=Yt.left||"",n.style.width=Yt.width||"",n.style.height=Yt.height||"",n.style.overflow=Yt.overflow||"",window.scrollTo(t,i),Yt=void 0}},Bc=i=>i?i.scrollHeight-i.scrollTop<=i.clientHeight:!1,Vc=(i,t)=>{const e=i.targetTouches[0].clientY-Ns;return uu(i.target)?!1:t&&t.scrollTop===0&&e>0||Bc(t)&&e<0?Qi(i):(i.stopPropagation(),!0)},hu=(i,t)=>{if(!i){console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");return}if(yt.set(i,yt!=null&&yt.get(i)?(yt==null?void 0:yt.get(i))+1:1),Xt.some(n=>n.targetElement===i))return;const e={targetElement:i,options:t||{}};Xt=[...Xt,e],pi?Fc():Nc(t),pi&&(i.ontouchstart=n=>{n.targetTouches.length===1&&(Ns=n.targetTouches[0].clientY)},i.ontouchmove=n=>{n.targetTouches.length===1&&Vc(n,i)},vi||(document.addEventListener("touchmove",Qi,pr?{passive:!1}:void 0),vi=!0))},Fs=()=>{pi&&(Xt.forEach(i=>
16{i.targetElement.ontouchstart=null,i.targetElement.ontouchmove=null}),vi&&(document.removeEventListener("touchmove",Qi,pr?{passive:!1}:void 0),vi=!1),Ns=-1),pi?cu():lu(),Xt=[],yt.clear()},du=i=>{if(!i){console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.");return}yt.set(i,yt!=null&&yt.get(i)?(yt==null?void 0:yt.get(i))-1:0),(yt==null?void 0:yt.get(i))===0&&(Xt=Xt.filter(t=>t.targetElement!==i),yt==null||yt.delete(i)),pi&&(i.ontouchstart=null,i.ontouchmove=null,vi&&Xt.length===0&&(document.removeEventListener("touchmove",Qi,pr?{passive:!1}:void 0),vi=!1)),Xt.length===0&&(pi?cu():lu())};let $i=null,kr=[];const Uc=()=>{const i=e=>{e.setAttribute("data-loaded","true")},t=e=>{i(e.target)};kr.forEach(e=>{$i==null||$i.unobserve(e)}),$i=new IntersectionObserver((e,n)=>{e.forEach(r=>{r.isIntersecting&&(r.target.setAttribute("data-in-view","true"),n.unobserve(r.target))})},{root:null,rootMargin:"0px",threshold:.1}),kr=document.querySelectorAll("img:not([data-no-reveal]):not(.no-reveal)"),kr.forEach(e=>{e.complete?i(e):e.addEventListener("load",t),$i.observe(e)})},Io="data-anchornavigation-watcher",zc="data-active",Do="data-selected",Hc=W("anchorNavigation",{handleClick(i,t){this.$watchers[t]&&(i.preventDefault(),i.stopPropagation(),this.$watchers[t].scrollIntoView({behavior:"smooth",block:"start"}))},setActiveSection(i){this.activeSection.includes(i)||this.activeSection.push(i),this.displayActiveSection()},removeActiveSection(i){this.activeSection=this.activeSection.filter(t=>t!==i),this.displayActiveSection()},displayActiveSection(){if(this.activeSection.length<1)return;const i=Math.min(...this.activeSection);this.$node.setAttribute(zc,i),this.$links.forEach((t,e)=>{e===i?t.setAttribute(Do,"true"):t.removeAttribute(Do)})}},{init(){this.activeSection=[],this.$links=this.getChildren("links"),this.$sections=[],this.$links.forEach(i=>{const t=i.getAttribute("href");this.$sections.push(document.querySelector(t))}),this.$watchers=[],this.$sections.forEach(i=>{this.$watchers.push(i.querySelector("["+Io+"]"))}),this.IO=new IntersectionObserver(i=>{i.forEach(t=>{const e=parseInt(t.target.getAttribute(Io),10);t.isIntersecting?this.setActiveSection(e):this.removeActiveSection(e)})}),this.$watchers.forEach(i=>{this.IO.observe(i)}),this.$links.forEach((i,t)=>{i.addEventListener("click",e=>{this.handleClick(e,t)})})},destroy(){this.IO.disconnect(),this.$links.forEach((i,t)=>{i.removeEventListener("click",e=>{this.handleClick(e,t)})})}});function ne(i){if(i===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return i}function fu(i,t){i.prototype=Object.create(t.prototype),i.prototype.constructor=i,i.__proto__=t}/*!
17 * GSAP 3.12.7
18 * https://gsap.com
19 *
20 * @license Copyright 2008-2025, GreenSock. All rights reserved.
21 * Subject to the terms at https://gsap.com/standard-license or for
22 * Club GSAP members, the agreement issued with that membership.
23 * @author: Jack Doyle, [email protected]
24*/var Dt={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},mi={duration:.5,overwrite:!1,delay:0},Bs,vt,tt,Nt=1e8,X=1/Nt,ss=Math.PI*2,qc=ss/4,Wc=0,pu=Math.sqrt,Gc=Math.cos,Yc=Math.sin,ft=function(t){return typeof t=="string"},ot=function(t){return typeof t=="function"},ce=function(t){return typeof t=="number"},Vs=function(t){return typeof t>"u"},Jt=function(t){return typeof t=="object"},Tt=function(t){return t!==!1},Us=function(){return typeof window<"u"},Sn=function(t){return ot(t)||ft(t)},vu=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},gt=Array.isArray,os=/(?:-?\.?\d|\.)+/gi,mu=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,ni=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,xr=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,gu=/[+-]=-?[.\d]+/,_u=/[^,'"\[\]\s]+/gi,jc=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,et,jt,as,zs,kt={},jn={},yu,Eu=function(t){return(jn=gi(t,kt))&&Ot},Hs=function(t,e){return console.warn("Invalid property",t,"set to",e,"Missing plugin? gsap.registerPlugin()")},Zi=function(t,e){return!e&&console.warn(t)},wu=function(t,e){return t&&(kt[t]=e)&&jn&&(jn[t]=e)||kt},Ji=function(){return 0},Kc={suppressEvents:!0,isStart:!0,kill:!1},Fn={suppressEvents:!0,kill:!1},Xc={suppressEvents:!0},qs={},_e=[],us={},bu,$t={},Rr={},ko=30,Bn=[],Ws="",Gs=function(t){var e=t[0],n,r;if(Jt(e)||ot(e)||(t=[t]),!(n=(e._gsap||{}).harness)){for(r=Bn.length;r--&&!Bn[r].targetTest(e););n=Bn[r]}for(r=t.length;r--;)t[r]&&(t[r]._gsap||(t[r]._gsap=new Gu(t[r],n)))||t.splice(r,1);return t},Me=function(t){return t._gsap||Gs(Ft(t))[0]._gsap},Tu=function(t,e,n){return(n=t[e])&&ot(n)?t[e]():Vs(n)&&t.getAttribute&&t.getAttribute(e)||n}
vendor: 6,182 bytes, line 24
24,At=function(t,e){return(t=t.split(",")).forEach(e)||t},at=function(t){return Math.round(t*1e5)/1e5||0},ct=function(t){return Math.round(t*1e7)/1e7||0},ai=function(t,e){var n=e.charAt(0),r=parseFloat(e.substr(2));return t=parseFloat(t),n==="+"?t+r:n==="-"?t-r:n==="*"?t*r:t/r},Qc=function(t,e){for(var n=e.length,r=0;t.indexOf(e[r])<0&&++r<n;);return r<n},Kn=function(){var t=_e.length,e=_e.slice(0),n,r;for(us={},_e.length=0,n=0;n<t;n++)r=e[n],r&&r._lazy&&(r.render(r._lazy[0],r._lazy[1],!0)._lazy=0)},Au=function(t,e,n,r){_e.length&&!vt&&Kn(),t.render(e,n,vt&&e<0&&(t._initted||t._startAt)),_e.length&&!vt&&Kn()},Su=function(t){var e=parseFloat(t);return(e||e===0)&&(t+"").match(_u).length<2?e:ft(t)?t.trim():t},Lu=function(t){return t},xt=function(t,e){for(var n in e)n in t||(t[n]=e[n]);return t},Zc=function(t){return function(e,n){for(var r in n)r in e||r==="duration"&&t||r==="ease"||(e[r]=n[r])}},gi=function(t,e){for(var n in e)t[n]=e[n];return t},xo=function i(t,e){for(var n in e)n!=="__proto__"&&n!=="constructor"&&n!=="prototype"&&(t[n]=Jt(e[n])?i(t[n]||(t[n]={}),e[n]):e[n]);return t},Xn=function(t,e){var n={},r;for(r in t)r in e||(n[r]=t[r]);return n},Vi=function(t){var e=t.parent||et,n=t.keyframes?Zc(gt(t.keyframes)):xt;if(Tt(t.inherit))for(;e;)n(t,e.vars.defaults),e=e.parent||e._dp;return t},Jc=function(t,e){for(var n=t.length,r=n===e.length;r&&n--&&t[n]===e[n];);return n<0},Ou=function(t,e,n,r,s){var o=t[r],a;if(s)for(a=e[s];o&&o[s]>a;)o=o._prev;return o?(e._next=o._next,o._next=e):(e._next=t[n],t[n]=e),e._next?e._next._prev=e:t[r]=e,e._prev=o,e.parent=e._dp=t,e},vr=function(t,e,n,r){n===void 0&&(n="_first"),r===void 0&&(r="_last");var s=e._prev,o=e._next;s?s._next=o:t[n]===e&&(t[n]=o),o?o._prev=s:t[r]===e&&(t[r]=s),e._next=e._prev=e.parent=null},Ee=function(t,e){t.parent&&(!e||t.parent.autoRemoveChildren)&&t.parent.remove&&t.parent.remove(t),t._act=0},Ne=function(t,e){if(t&&(!e||e._end>t._dur||e._start<0))for(var n=t;n;)n._dirty=1,n=n.parent;return t},th=function(t){for(var e=t.parent;e&&e.parent;)e._dirty=1,e.totalDuration(),e=e.parent;return t},ls=function(t,e,n,r){return t._startAt&&(vt?t._startAt.revert(Fn):t.vars.immediateRender&&!t.vars.autoRevert||t._startAt.render(e,!0,r))},eh=function i(t){return!t||t._ts&&i(t.parent)},Ro=function(t){return t._repeat?_i(t._tTime,t=t.duration()+t._rDelay)*t:0},_i=function(t,e){var n=Math.floor(t=ct(t/e));return t&&n===t?n-1:n},Qn=function(t,e){return(t-e._start)*e._ts+(e._ts>=0?0:e._dirty?e.totalDuration():e._tDur)},mr=function(t){return t._end=ct(t._start+(t._tDur/Math.abs(t._ts||t._rts||X)||0))},gr=function(t,e){var n=t._dp;return n&&n.smoothChildTiming&&t._ts&&(t._start=ct(n._time-(t._ts>0?e/t._ts:((t._dirty?t.totalDuration():t._tDur)-e)/-t._ts)),mr(t),n._dirty||Ne(n,t)),t},Cu=function(t,e){var n;if((e._time||!e._dur&&e._initted||e._start<t._time&&(e._dur||!e.add))&&(n=Qn(t.rawTime(),e),(!e._dur||pn(0,e.totalDuration(),n)-e._tTime>X)&&e.render(n,!0)),Ne(t,e)._dp&&t._initted&&t._time>=t._dur&&t._ts){if(t._dur<t.duration())for(n=t;n._dp;)n.rawTime()>=0&&n.totalTime(n._tTime),n=n._dp;t._zTime=-X}},Kt=function(t,e,n,r){return e.parent&&Ee(e),e._start=ct((ce(n)?n:n||t!==et?Rt(t,n,e):t._time)+e._delay),e._end=ct(e._start+(e.totalDuration()/Math.abs(e.timeScale())||0)),Ou(t,e,"_first","_last",t._sort?"_start":0),cs(e)||(t._recent=e),r||Cu(t,e),t._ts<0&&gr(t,t._tTime),t},$u=function(t,e){return(kt.ScrollTrigger||Hs("scrollTrigger",e))&&kt.ScrollTrigger.create(e,t)},Pu=function(t,e,n,r,s){if(js(t,e,s),!t._initted)return 1;if(!n&&t._pt&&!vt&&(t._dur&&t.vars.lazy!==!1||!t._dur&&t.vars.lazy)&&bu!==Pt.frame)return _e.push(t),t._lazy=[s,r],1},ih=function i(t){var e=t.parent;return e&&e._ts&&e._initted&&!e._lock&&(e.rawTime()<0||i(e))},cs=function(t){var e=t.data;return e==="isFromStart"||e==="isStart"},nh=function(t,e,n,r){var s=t.ratio,o=e<0||!e&&(!t._start&&ih(t)&&!(!t._initted&&cs(t))||(t._ts<0||t._dp._ts<0)&&!cs(t))?0:1,a=t._rDelay,u=0,c,l,h;if(a&&t._repeat&&(u=pn(0,t._tDur,e),l=_i(u,a),t._yoyo&&l&1&&(o=1-o),l!==_i(t._tTime,a)&&(s=1-o,t.vars.repeatRefresh&&t._initted&&t.invalidate())),o!==s||vt||r||t._zTime===X||!e&&t._zTime){if(!t._initted&&Pu(t,e,r,n,u))return;for(h=t._zTime,t._zTime=e||(n?X:0),n||(n=e&&!h),t.ratio=o,t._from&&(o=1-o),t._time=0,t._tTime=u,c=t._pt;c;)c.r(o,c.d),c=c._next;e<0&&ls(t,e,n,!0),t._onUpdate&&!n&&It(t,"onUpdate"),u&&t._repeat&&!n&&t.parent&&It(t,"onRepeat"),(e>=t._tDur||e<0)&&t.ratio===o&&(o&&Ee(t,1),!n&&!vt&&(It(t,o?"onComplete":"onReverseComplete",!0),t._prom&&t._prom()))}else t._zTime||(t._zTime=e)},rh=function(t,e,n){var r;if(n>e)for(r=t._first;r&&r._start<=n;){if(r.data==="isPause"&&r._start>e)return r;r=r._next}else for(r=t._last;r&&r._start>=n;){if(r.data==="isPause"&&r._start<e)return r;r=r._prev}},yi=function(t,e,n,r){var s=t._repeat,o=ct(e)||0,a=t._tTime/t._tDur;return a&&!r&&(t._time*=o/t._dur),t._dur=o,t._tDur=s?s<0?1e10:ct(o*(s+1)+t._rDelay*s):o,a>0&&!r&&gr(t,t._tTime=t._tDur*a),t.parent&&mr(t),n||Ne(t.parent,t),t},Mo=function(t){return t instanceof Et?Ne(t):yi(t,t._dur)},sh={_start:0,endTime:Ji,totalDuration:Ji},Rt=function i(t,e,n){var r=t.labels,s=t._recent||sh,o=t.duration()>=Nt?s.endTime(!1):t._dur,a,u,c;return ft(e)&&(isNaN(e)||e in r)?(u=e.charAt(0),c=e.substr(-1)==="%",a=e.indexOf("="),u==="<"||u===">"?(a>=0&&(e=e.replace(/=/,"")),(u==="<"?s._start:s.endTime(s._repeat>=0))+(parseFloat(e.substr(1))||0)*(c?(a<0?s:n).totalDuration()/100:1)):a<0?(e in r||(r[e]=o),r[e]):(u=parseFloat(e.charAt(a-1)+e.substr(a+1)),c&&n&&(u=u/100*(gt(n)?n[0]:n).totalDuration()),a>1?i(t,e.substr(0,a-1),n)+u:o+u)):e==null?o:+e},Ui=function(t,e,n){var r=ce(e[1]),s=(r?2:1)+(t<2?0:1),o=e[s],a,u;if(r&&(o.duration=e[1]),o.parent=n,t){for(a=o,u=n;u&&!("immediateRender"in a);)a=u.vars.defaults||{},u=Tt(u.vars.inherit)&&u.parent;o.immediateRender=Tt(a.immediateRender),t<2?o.runBackwards=1:o.startAt=e[s-1]}return new lt(e[0],o,e[s+1])},Se=function(t,e){return t||t===0?e(t):e},pn=function(t,e,n){return n<t?t:n>e?e:n},mt=function(t,e){return!ft(t)||!(e=jc.exec(t))?"":e[1]},oh=function(t,e,n){return Se(n,function(r){return pn(t,e,r)})},hs=[].slice,Iu=function(t,e){return t&&Jt(t)&&"length"in t&&(!e&&!t.length||t.length-1 
vendor: 6,870 bytes, line 24
24in t&&Jt(t[0]))&&!t.nodeType&&t!==jt},ah=function(t,e,n){return n===void 0&&(n=[]),t.forEach(function(r){var s;return ft(r)&&!e||Iu(r,1)?(s=n).push.apply(s,Ft(r)):n.push(r)})||n},Ft=function(t,e,n){return tt&&!e&&tt.selector?tt.selector(t):ft(t)&&!n&&(as||!Ei())?hs.call((e||zs).querySelectorAll(t),0):gt(t)?ah(t,n):Iu(t)?hs.call(t,0):t?[t]:[]},ds=function(t){return t=Ft(t)[0]||Zi("Invalid scope")||{},function(e){var n=t.current||t.nativeElement||t;return Ft(e,n.querySelectorAll?n:n===t?Zi("Invalid scope")||zs.createElement("div"):t)}},Du=function(t){return t.sort(function(){return .5-Math.random()})},ku=function(t){if(ot(t))return t;var e=Jt(t)?t:{each:t},n=Fe(e.ease),r=e.from||0,s=parseFloat(e.base)||0,o={},a=r>0&&r<1,u=isNaN(r)||a,c=e.axis,l=r,h=r;return ft(r)?l=h={center:.5,edges:.5,end:1}[r]||0:!a&&u&&(l=r[0],h=r[1]),function(d,p,v){var f=(v||e).length,m=o[f],g,_,y,b,T,O,A,L,S;if(!m){if(S=e.grid==="auto"?0:(e.grid||[1,Nt])[1],!S){for(A=-Nt;A<(A=v[S++].getBoundingClientRect().left)&&S<f;);S<f&&S--}for(m=o[f]=[],g=u?Math.min(S,f)*l-.5:r%S,_=S===Nt?0:u?f*h/S-.5:r/S|0,A=0,L=Nt,O=0;O<f;O++)y=O%S-g,b=_-(O/S|0),m[O]=T=c?Math.abs(c==="y"?b:y):pu(y*y+b*b),T>A&&(A=T),T<L&&(L=T);r==="random"&&Du(m),m.max=A-L,m.min=L,m.v=f=(parseFloat(e.amount)||parseFloat(e.each)*(S>f?f-1:c?c==="y"?f/S:S:Math.max(S,f/S))||0)*(r==="edges"?-1:1),m.b=f<0?s-f:s,m.u=mt(e.amount||e.each)||0,n=n&&f<0?Hu(n):n}return f=(m[d]-m.min)/m.max||0,ct(m.b+(n?n(f):f)*m.v)+m.u}},fs=function(t){var e=Math.pow(10,((t+"").split(".")[1]||"").length);return function(n){var r=ct(Math.round(parseFloat(n)/t)*t*e);return(r-r%1)/e+(ce(n)?0:mt(n))}},xu=function(t,e){var n=gt(t),r,s;return!n&&Jt(t)&&(r=n=t.radius||Nt,t.values?(t=Ft(t.values),(s=!ce(t[0]))&&(r*=r)):t=fs(t.increment)),Se(e,n?ot(t)?function(o){return s=t(o),Math.abs(s-o)<=r?s:o}:function(o){for(var a=parseFloat(s?o.x:o),u=parseFloat(s?o.y:0),c=Nt,l=0,h=t.length,d,p;h--;)s?(d=t[h].x-a,p=t[h].y-u,d=d*d+p*p):d=Math.abs(t[h]-a),d<c&&(c=d,l=h);return l=!r||c<=r?t[l]:o,s||l===o||ce(o)?l:l+mt(o)}:fs(t))},Ru=function(t,e,n,r){return Se(gt(t)?!e:n===!0?!!(n=0):!r,function(){return gt(t)?t[~~(Math.random()*t.length)]:(n=n||1e-5)&&(r=n<1?Math.pow(10,(n+"").length-2):1)&&Math.floor(Math.round((t-n/2+Math.random()*(e-t+n*.99))/n)*n*r)/r})},uh=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return function(r){return e.reduce(function(s,o){return o(s)},r)}},lh=function(t,e){return function(n){return t(parseFloat(n))+(e||mt(n))}},ch=function(t,e,n){return Nu(t,e,0,1,n)},Mu=function(t,e,n){return Se(n,function(r){return t[~~e(r)]})},hh=function i(t,e,n){var r=e-t;return gt(t)?Mu(t,i(0,t.length),e):Se(n,function(s){return(r+(s-t)%r)%r+t})},dh=function i(t,e,n){var r=e-t,s=r*2;return gt(t)?Mu(t,i(0,t.length-1),e):Se(n,function(o){return o=(s+(o-t)%s)%s||0,t+(o>r?s-o:o)})},tn=function(t){for(var e=0,n="",r,s,o,a;~(r=t.indexOf("random(",e));)o=t.indexOf(")",r),a=t.charAt(r+7)==="[",s=t.substr(r+7,o-r-7).match(a?_u:os),n+=t.substr(e,r-e)+Ru(a?s:+s[0],a?0:+s[1],+s[2]||1e-5),e=o+1;return n+t.substr(e,t.length-e)},Nu=function(t,e,n,r,s){var o=e-t,a=r-n;return Se(s,function(u){return n+((u-t)/o*a||0)})},fh=function i(t,e,n,r){var s=isNaN(t+e)?0:function(p){return(1-p)*t+p*e};if(!s){var o=ft(t),a={},u,c,l,h,d;if(n===!0&&(r=1)&&(n=null),o)t={p:t},e={p:e};else if(gt(t)&&!gt(e)){for(l=[],h=t.length,d=h-2,c=1;c<h;c++)l.push(i(t[c-1],t[c]));h--,s=function(v){v*=h;var f=Math.min(d,~~v);return l[f](v-f)},n=e}else r||(t=gi(gt(t)?[]:{},t));if(!l){for(u in e)Ys.call(a,t,u,"get",e[u]);s=function(v){return Qs(v,a)||(o?t.p:t)}}}return Se(n,s)},No=function(t,e,n){var r=t.labels,s=Nt,o,a,u;for(o in r)a=r[o]-e,a<0==!!n&&a&&s>(a=Math.abs(a))&&(u=o,s=a);return u},It=function(t,e,n){var r=t.vars,s=r[e],o=tt,a=t._ctx,u,c,l;if(s)return u=r[e+"Params"],c=r.callbackScope||t,n&&_e.length&&Kn(),a&&(tt=a),l=u?s.apply(c,u):s.call(c),tt=o,l},xi=function(t){return Ee(t),t.scrollTrigger&&t.scrollTrigger.kill(!!vt),t.progress()<1&&It(t,"onInterrupt"),t},ri,Fu=[],Bu=function(t){if(t)if(t=!t.name&&t.default||t,Us()||t.headless){var e=t.name,n=ot(t),r=e&&!n&&t.init?function(){this._props=[]}:t,s={init:Ji,render:Qs,add:Ys,kill:$h,modifier:Ch,rawVars:0},o={targetTest:0,get:0,getSetter:Xs,aliases:{},register:0};if(Ei(),t!==r){if($t[e])return;xt(r,xt(Xn(t,s),o)),gi(r.prototype,gi(s,Xn(t,o))),$t[r.prop=e]=r,t.targetTest&&(Bn.push(r),qs[e]=1),e=(e==="css"?"CSS":e.charAt(0).toUpperCase()+e.substr(1))+"Plugin"}wu(e,r),t.register&&t.register(Ot,r,St)}else Fu.push(t)},K=255,Ri={aqua:[0,K,K],lime:[0,K,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,K],navy:[0,0,128],white:[K,K,K],olive:[128,128,0],yellow:[K,K,0],orange:[K,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[K,0,0],pink:[K,192,203],cyan:[0,K,K],transparent:[K,K,K,0]},Mr=function(t,e,n){return t+=t<0?1:t>1?-1:0,(t*6<1?e+(n-e)*t*6:t<.5?n:t*3<2?e+(n-e)*(2/3-t)*6:e)*K+.5|0},Vu=function(t,e,n){var r=t?ce(t)?[t>>16,t>>8&K,t&K]:0:Ri.black,s,o,a,u,c,l,h,d,p,v;if(!r){if(t.substr(-1)===","&&(t=t.substr(0,t.length-1)),Ri[t])r=Ri[t];else if(t.charAt(0)==="#"){if(t.length<6&&(s=t.charAt(1),o=t.charAt(2),a=t.charAt(3),t="#"+s+s+o+o+a+a+(t.length===5?t.charAt(4)+t.charAt(4):"")),t.length===9)return r=parseInt(t.substr(1,6),16),[r>>16,r>>8&K,r&K,parseInt(t.substr(7),16)/255];t=parseInt(t.substr(1),16),r=[t>>16,t>>8&K,t&K]}else if(t.substr(0,3)==="hsl"){if(r=v=t.match(os),!e)u=+r[0]%360/360,c=+r[1]/100,l=+r[2]/100,o=l<=.5?l*(c+1):l+c-l*c,s=l*2-o,r.length>3&&(r[3]*=1),r[0]=Mr(u+1/3,s,o),r[1]=Mr(u,s,o),r[2]=Mr(u-1/3,s,o);else if(~t.indexOf("="))return r=t.match(mu),n&&r.length<4&&(r[3]=1),r}else r=t.match(os)||Ri.transparent;r=r.map(Number)}return e&&!v&&(s=r[0]/K,o=r[1]/K,a=r[2]/K,h=Math.max(s,o,a),d=Math.min(s,o,a),l=(h+d)/2,h===d?u=c=0:(p=h-d,c=l>.5?p/(2-h-d):p/(h+d),u=h===s?(o-a)/p+(o<a?6:0):h===o?(a-s)/p+2:(s-o)/p+4,u*=60),r[0]=~~(u+.5),r[1]=~~(c*100+.5),r[2]=~~(l*100+.5)),n&&r.length<4&&(r[3]=1),r},Uu=function(t){var e=[],n=[],r=-1;return t.split(ye).forEach(function(s){var o=s.match(ni)||[];e.push.apply(e,o),n.push(r+=o.length+1)}),e.c=n,e},Fo=function(t,e,n){var r="",s=(t+r).match(ye),o=e?"hsla(":"rgba(",a=0,u,c,l,h;if(!s)return t;if(s=s.map(function(d){return(d=Vu(d,e,1))&&o+(e?d[0]+","+d[1]+"%,"+d[2]+"%,"+d[3]:d.join(","))+")"}),n&&(l=Uu(t),u=n.c,u.join(r)!==l.c.join(r)))for(c=t.replace(ye,"1").split(ni),h=c.length-1;a<h;a++)r+=c[a]+(~u.indexOf(a)?s.shift()||o+"0,0,0,0)":(l.length?l:s.length?s:n).shift());if(!c)for(c=t.split(ye),h=c.length-1;a<h;a++)r+=c[a]+s[a];return r+c[h]},ye=function(){var i="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",t;for(t in Ri)i+="|"+t+"\\b";return new RegExp(i+")","gi")}(),ph=/hsl[a]?\(/,zu=function(t){var e=t.join(" "),n;if(ye.lastIndex=0,ye.test(e))return n=ph.test(e),t[1]=Fo(t[1],n),t[0]=Fo(t[0],n,Uu(t[1])
vendor: 11,453 bytes, line 24
24),!0},en,Pt=function(){var i=Date.now,t=500,e=33,n=i(),r=n,s=1e3/240,o=s,a=[],u,c,l,h,d,p,v=function f(m){var g=i()-r,_=m===!0,y,b,T,O;if((g>t||g<0)&&(n+=g-e),r+=g,T=r-n,y=T-o,(y>0||_)&&(O=++h.frame,d=T-h.time*1e3,h.time=T=T/1e3,o+=y+(y>=s?4:s-y),b=1),_||(u=c(f)),b)for(p=0;p<a.length;p++)a[p](T,d,O,m)};return h={time:0,frame:0,tick:function(){v(!0)},deltaRatio:function(m){return d/(1e3/(m||60))},wake:function(){yu&&(!as&&Us()&&(jt=as=window,zs=jt.document||{},kt.gsap=Ot,(jt.gsapVersions||(jt.gsapVersions=[])).push(Ot.version),Eu(jn||jt.GreenSockGlobals||!jt.gsap&&jt||{}),Fu.forEach(Bu)),l=typeof requestAnimationFrame<"u"&&requestAnimationFrame,u&&h.sleep(),c=l||function(m){return setTimeout(m,o-h.time*1e3+1|0)},en=1,v(2))},sleep:function(){(l?cancelAnimationFrame:clearTimeout)(u),en=0,c=Ji},lagSmoothing:function(m,g){t=m||1/0,e=Math.min(g||33,t)},fps:function(m){s=1e3/(m||240),o=h.time*1e3+s},add:function(m,g,_){var y=g?function(b,T,O,A){m(b,T,O,A),h.remove(y)}:m;return h.remove(m),a[_?"unshift":"push"](y),Ei(),y},remove:function(m,g){~(g=a.indexOf(m))&&a.splice(g,1)&&p>=g&&p--},_listeners:a},h}(),Ei=function(){return!en&&Pt.wake()},G={},vh=/^[\d.\-M][\d.\-,\s]/,mh=/["']/g,gh=function(t){for(var e={},n=t.substr(1,t.length-3).split(":"),r=n[0],s=1,o=n.length,a,u,c;s<o;s++)u=n[s],a=s!==o-1?u.lastIndexOf(","):u.length,c=u.substr(0,a),e[r]=isNaN(c)?c.replace(mh,"").trim():+c,r=u.substr(a+1).trim();return e},_h=function(t){var e=t.indexOf("(")+1,n=t.indexOf(")"),r=t.indexOf("(",e);return t.substring(e,~r&&r<n?t.indexOf(")",n+1):n)},yh=function(t){var e=(t+"").split("("),n=G[e[0]];return n&&e.length>1&&n.config?n.config.apply(null,~t.indexOf("{")?[gh(e[1])]:_h(t).split(",").map(Su)):G._CE&&vh.test(t)?G._CE("",t):n},Hu=function(t){return function(e){return 1-t(1-e)}},qu=function i(t,e){for(var n=t._first,r;n;)n instanceof Et?i(n,e):n.vars.yoyoEase&&(!n._yoyo||!n._repeat)&&n._yoyo!==e&&(n.timeline?i(n.timeline,e):(r=n._ease,n._ease=n._yEase,n._yEase=r,n._yoyo=e)),n=n._next},Fe=function(t,e){return t&&(ot(t)?t:G[t]||yh(t))||e},Xe=function(t,e,n,r){n===void 0&&(n=function(u){return 1-e(1-u)}),r===void 0&&(r=function(u){return u<.5?e(u*2)/2:1-e((1-u)*2)/2});var s={easeIn:e,easeOut:n,easeInOut:r},o;return At(t,function(a){G[a]=kt[a]=s,G[o=a.toLowerCase()]=n;for(var u in s)G[o+(u==="easeIn"?".in":u==="easeOut"?".out":".inOut")]=G[a+"."+u]=s[u]}),s},Wu=function(t){return function(e){return e<.5?(1-t(1-e*2))/2:.5+t((e-.5)*2)/2}},Nr=function i(t,e,n){var r=e>=1?e:1,s=(n||(t?.3:.45))/(e<1?e:1),o=s/ss*(Math.asin(1/r)||0),a=function(l){return l===1?1:r*Math.pow(2,-10*l)*Yc((l-o)*s)+1},u=t==="out"?a:t==="in"?function(c){return 1-a(1-c)}:Wu(a);return s=ss/s,u.config=function(c,l){return i(t,c,l)},u},Fr=function i(t,e){e===void 0&&(e=1.70158);var n=function(o){return o?--o*o*((e+1)*o+e)+1:0},r=t==="out"?n:t==="in"?function(s){return 1-n(1-s)}:Wu(n);return r.config=function(s){return i(t,s)},r};At("Linear,Quad,Cubic,Quart,Quint,Strong",function(i,t){var e=t<5?t+1:t;Xe(i+",Power"+(e-1),t?function(n){return Math.pow(n,e)}:function(n){return n},function(n){return 1-Math.pow(1-n,e)},function(n){return n<.5?Math.pow(n*2,e)/2:1-Math.pow((1-n)*2,e)/2})});G.Linear.easeNone=G.none=G.Linear.easeIn;Xe("Elastic",Nr("in"),Nr("out"),Nr());(function(i,t){var e=1/t,n=2*e,r=2.5*e,s=function(a){return a<e?i*a*a:a<n?i*Math.pow(a-1.5/t,2)+.75:a<r?i*(a-=2.25/t)*a+.9375:i*Math.pow(a-2.625/t,2)+.984375};Xe("Bounce",function(o){return 1-s(1-o)},s)})(7.5625,2.75);Xe("Expo",function(i){return Math.pow(2,10*(i-1))*i+i*i*i*i*i*i*(1-i)});Xe("Circ",function(i){return-(pu(1-i*i)-1)});Xe("Sine",function(i){return i===1?1:-Gc(i*qc)+1});Xe("Back",Fr("in"),Fr("out"),Fr());G.SteppedEase=G.steps=kt.SteppedEase={config:function(t,e){t===void 0&&(t=1);var n=1/t,r=t+(e?0:1),s=e?1:0,o=1-X;return function(a){return((r*pn(0,o,a)|0)+s)*n}}};mi.ease=G["quad.out"];At("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(i){return Ws+=i+","+i+"Params,"});var Gu=function(t,e){this.id=Wc++,t._gsap=this,this.target=t,this.harness=e,this.get=e?e.get:Tu,this.set=e?e.getSetter:Xs},nn=function(){function i(e){this.vars=e,this._delay=+e.delay||0,(this._repeat=e.repeat===1/0?-2:e.repeat||0)&&(this._rDelay=e.repeatDelay||0,this._yoyo=!!e.yoyo||!!e.yoyoEase),this._ts=1,yi(this,+e.duration,1,1),this.data=e.data,tt&&(this._ctx=tt,tt.data.push(this)),en||Pt.wake()}var t=i.prototype;return t.delay=function(n){return n||n===0?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+n-this._delay),this._delay=n,this):this._delay},t.duration=function(n){return arguments.length?this.totalDuration(this._repeat>0?n+(n+this._rDelay)*this._repeat:n):this.totalDuration()&&this._dur},t.totalDuration=function(n){return arguments.length?(this._dirty=0,yi(this,this._repeat<0?n:(n-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},t.totalTime=function(n,r){if(Ei(),!arguments.length)return this._tTime;var s=this._dp;if(s&&s.smoothChildTiming&&this._ts){for(gr(this,n),!s._dp||s.parent||Cu(s,this);s&&s.parent;)s.parent._time!==s._start+(s._ts>=0?s._tTime/s._ts:(s.totalDuration()-s._tTime)/-s._ts)&&s.totalTime(s._tTime,!0),s=s.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&n<this._tDur||this._ts<0&&n>0||!this._tDur&&!n)&&Kt(this._dp,this,this._start-this._delay)}return(this._tTime!==n||!this._dur&&!r||this._initted&&Math.abs(this._zTime)===X||!n&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=n),Au(this,n,r)),this},t.time=function(n,r){return arguments.length?this.totalTime(Math.min(this.totalDuration(),n+Ro(this))%(this._dur+this._rDelay)||(n?this._dur:0),r):this._time},t.totalProgress=function(n,r){return arguments.length?this.totalTime(this.totalDuration()*n,r):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},t.progress=function(n,r){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-n:n)+Ro(this),r):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},t.iteration=function(n,r){var s=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(n-1)*s,r):this._repeat?_i(this._tTime,s)+1:1},t.timeScale=function(n,r){if(!arguments.length)return this._rts===-X?0:this._rts;if(this._rts===n)return this;var s=this.parent&&this._ts?Qn(this.parent._time,this):this._tTime;return this._rts=+n||0,this._ts=this._ps||n===-X?0:this._rts,this.totalTime(pn(-Math.abs(this._delay),this._tDur,s),r!==!1),mr(this),th(this)},t.paused=function(n){return arguments.length?(this._ps!==n&&(this._ps=n,n?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(Ei(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==X&&(this._tTime-=X)))),this):this._ps},t.startTime=function(n){if(arguments.length){this._start=n;var r=this.parent||this._dp;return r&&(r._sort||!this.parent)&&Kt(r,this,n-this._delay),this}return this._start},t.endTime=function(n){return this._start+(Tt(n)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},t.rawTime=function(n){var r=this.parent||this._dp;return r?n&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?Qn(r.rawTime(n),this):this._tTime:this._tTime},t.revert=function(n){n===void 0&&(n=Xc);var r=vt;return vt=n,(this._initted||this._startAt)&&(this.timeline&&this.timeline.revert(n),this.totalTime(-.01,n.suppressEvents)),this.data!=="nested"&&n.kill!==!1&&this.kill(),vt=r,this},t.globalTime=function(n){for(var r=this,s=arguments.length?n:r.rawTime();r;)s=r._start+s/(Math.abs(r._ts)||1),r=r._dp;return!this.parent&&this._sat?this._sat.globalTime(n):s},t.repeat=function(n){return arguments.length?(this._repeat=n===1/0?-2:n,Mo(this)):this._repeat===-2?1/0:this._repeat},t.repeatDelay=function(n){if(arguments.length){var r=this._time;return this._rDelay=n,Mo(this),r?this.time(r):this}return this._rDelay},t.yoyo=function(n){return arguments.length?(this._yoyo=n,this):this._yoyo},t.seek=function(n,r){return this.totalTime(Rt(this,n),Tt(r))},t.restart=function(n,r){return this.play().totalTime(n?-this._delay:0,Tt(r)),this._dur||(this._zTime=-X),this},t.play=function(n,r){return n!=null&&this.seek(n,r),this.reversed(!1).paused(!1)},t.reverse=function(n,r){return n!=null&&this.seek(n||this.totalDuration(),r),this.reversed(!0).paused(!1)},t.pause=function(n,r){return n!=null&&this.seek(n,r),this.paused(!0)},t.resume=function(){return this.paused(!1)},t.reversed=function(n){return arguments.length?(!!n!==this.reversed()&&this.timeScale(-this._rts||(n?-X:0)),this):this._rts<0},t.invalidate=function(){return this._initted=this._act=0,this._zTime=-X,this},t.isActive=function(){var n=this.parent||this._dp,r=this._start,s;return!!(!n||this._ts&&this._initted&&n.isActive()&&(s=n.rawTime(!0))>=r&&s<this.endTime(!0)-X)},t.eventCallback=function(n,r,s){var o=this.vars;return arguments.length>1?(r?(o[n]=r,s&&(o[n+"Params"]=s),n==="onUpdate"&&(this._onUpdate=r)):delete o[n],this):o[n]},t.then=function(n){var r=this;return new Promise(function(s){var o=ot(n)?n:Lu,a=function(){var c=r.then;r.then=null,ot(o)&&(o=o(r))&&(o.then||o===r)&&(r.then=c),s(o),r.then=c};r._initted&&r.totalProgress()===1&&r._ts>=0||!r._tTime&&r._ts<0?a():r._prom=a})},t.kill=function(){xi(this)},i}();xt(nn.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-X,_prom:0,_ps:!1,_rts:1});var Et=function(i){fu(t,i);function t(n,r){var s;return n===void 0&&(n={}),s=i.call(this,n)||this,s.labels={},s.smoothChildTiming=!!n.smoothChildTiming,s.autoRemoveChildren=!!n.autoRemoveChildren,s._sort=Tt(n.sortChildren),et&&Kt(n.parent||et,ne(s),r),n.reversed&&s.reverse(),n.paused&&s.paused(!0),n.scrollTrigger&&$u(ne(s),n.scrollTrigger),s}var e=t.prototype;return e.to=function(r,s,o){return Ui(0,arguments,this),this},e.from=function(r,s,o){return Ui(1,arguments,this),this},e.fromTo=function(r,s,o,a){return Ui(2,arguments,this),this},e.set=function(r,s,o){return s.duration=0,s.parent=this,Vi(s).repeatDelay||(s.repeat=0),s.immediateRender=!!s.immediateRender,new lt(r,s,Rt(this,o),1),this},e.call=function(r,s,o){return Kt(this,lt.delayedCall(0,r,s),o)},e.staggerTo=function(r,s,o,a,u,c,l){return o.duration=s,o.stagger=o.stagger||a,o.onComplete=c,o.onCompleteParams=l,o.parent=this,new lt(r,o,Rt(this,u)),this},e.staggerFrom=function(r,s,o,a,u,c,l){return o.runBackwards=1,Vi(o).immediateRender=Tt(o.immediateRender),this.staggerTo(r,s,o,a,u,c,l)},e.staggerFromTo=function(r,s,o,a,u,c,l,h){return a.startAt=o,Vi(a).immediateRender=Tt(a.immediateRender),this.staggerTo(r,s,a,u,c,l,h)},e.render=function(r,s,o){var a=this._time,u=this._dirty?this.totalDuration():this._tDur,c=this._dur,l=r<=0?0:ct(r),h=this._zTime<0!=r<0&&(this._initted||!c),d,p,v,f,m,g,_,y,b,T,O,A;if(this!==et&&l>u&&r>=0&&(l=u),l!==this._tTime||o||h){if(a!==this._time&&c&&(l+=this._time-a,r+=this._time-a),d=l,b=this._start,y=this._ts,g=!y,h&&(c||(a=this._zTime),(r||!s)&&(this._zTime=r)),this._repeat){if(O=this._yoyo,m=c+this._rDelay,this._repeat<-1&&r<0)return this.totalTime(m*100+r,s,o);if(d=ct(l%m),l===u?(f=this._repeat,d=c):(T=ct(l/m),f=~~T,f&&f===T&&(d=c,f--),d>c&&(d=c)),T=_i(this._tTime,m),!a&&this._tTime&&T!==f&&this._tTime-T*m-this._dur<=0&&(T=f),O&&f&1&&
vendor: 4,824 bytes, line 24
24(d=c-d,A=1),f!==T&&!this._lock){var L=O&&T&1,S=L===(O&&f&1);if(f<T&&(L=!L),a=L?0:l%c?c:l,this._lock=1,this.render(a||(A?0:ct(f*m)),s,!c)._lock=0,this._tTime=l,!s&&this.parent&&It(this,"onRepeat"),this.vars.repeatRefresh&&!A&&(this.invalidate()._lock=1),a&&a!==this._time||g!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(c=this._dur,u=this._tDur,S&&(this._lock=2,a=L?c:-1e-4,this.render(a,!0),this.vars.repeatRefresh&&!A&&this.invalidate()),this._lock=0,!this._ts&&!g)return this;qu(this,A)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(_=rh(this,ct(a),ct(d)),_&&(l-=d-(d=_._start))),this._tTime=l,this._time=d,this._act=!y,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=r,a=0),!a&&d&&!s&&!f&&(It(this,"onStart"),this._tTime!==l))return this;if(d>=a&&r>=0)for(p=this._first;p;){if(v=p._next,(p._act||d>=p._start)&&p._ts&&_!==p){if(p.parent!==this)return this.render(r,s,o);if(p.render(p._ts>0?(d-p._start)*p._ts:(p._dirty?p.totalDuration():p._tDur)+(d-p._start)*p._ts,s,o),d!==this._time||!this._ts&&!g){_=0,v&&(l+=this._zTime=-X);break}}p=v}else{p=this._last;for(var P=r<0?r:d;p;){if(v=p._prev,(p._act||P<=p._end)&&p._ts&&_!==p){if(p.parent!==this)return this.render(r,s,o);if(p.render(p._ts>0?(P-p._start)*p._ts:(p._dirty?p.totalDuration():p._tDur)+(P-p._start)*p._ts,s,o||vt&&(p._initted||p._startAt)),d!==this._time||!this._ts&&!g){_=0,v&&(l+=this._zTime=P?-X:X);break}}p=v}}if(_&&!s&&(this.pause(),_.render(d>=a?0:-X)._zTime=d>=a?1:-1,this._ts))return this._start=b,mr(this),this.render(r,s,o);this._onUpdate&&!s&&It(this,"onUpdate",!0),(l===u&&this._tTime>=this.totalDuration()||!l&&a)&&(b===this._start||Math.abs(y)!==Math.abs(this._ts))&&(this._lock||((r||!c)&&(l===u&&this._ts>0||!l&&this._ts<0)&&Ee(this,1),!s&&!(r<0&&!a)&&(l||a||!u)&&(It(this,l===u&&r>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(l<u&&this.timeScale()>0)&&this._prom())))}return this},e.add=function(r,s){var o=this;if(ce(s)||(s=Rt(this,s,r)),!(r instanceof nn)){if(gt(r))return r.forEach(function(a){return o.add(a,s)}),this;if(ft(r))return this.addLabel(r,s);if(ot(r))r=lt.delayedCall(0,r);else return this}return this!==r?Kt(this,r,s):this},e.getChildren=function(r,s,o,a){r===void 0&&(r=!0),s===void 0&&(s=!0),o===void 0&&(o=!0),a===void 0&&(a=-Nt);for(var u=[],c=this._first;c;)c._start>=a&&(c instanceof lt?s&&u.push(c):(o&&u.push(c),r&&u.push.apply(u,c.getChildren(!0,s,o)))),c=c._next;return u},e.getById=function(r){for(var s=this.getChildren(1,1,1),o=s.length;o--;)if(s[o].vars.id===r)return s[o]},e.remove=function(r){return ft(r)?this.removeLabel(r):ot(r)?this.killTweensOf(r):(r.parent===this&&vr(this,r),r===this._recent&&(this._recent=this._last),Ne(this))},e.totalTime=function(r,s){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=ct(Pt.time-(this._ts>0?r/this._ts:(this.totalDuration()-r)/-this._ts))),i.prototype.totalTime.call(this,r,s),this._forcing=0,this):this._tTime},e.addLabel=function(r,s){return this.labels[r]=Rt(this,s),this},e.removeLabel=function(r){return delete this.labels[r],this},e.addPause=function(r,s,o){var a=lt.delayedCall(0,s||Ji,o);return a.data="isPause",this._hasPause=1,Kt(this,a,Rt(this,r))},e.removePause=function(r){var s=this._first;for(r=Rt(this,r);s;)s._start===r&&s.data==="isPause"&&Ee(s),s=s._next},e.killTweensOf=function(r,s,o){for(var a=this.getTweensOf(r,o),u=a.length;u--;)pe!==a[u]&&a[u].kill(r,s);return this},e.getTweensOf=function(r,s){for(var o=[],a=Ft(r),u=this._first,c=ce(s),l;u;)u instanceof lt?Qc(u._targets,a)&&(c?(!pe||u._initted&&u._ts)&&u.globalTime(0)<=s&&u.globalTime(u.totalDuration())>s:!s||u.isActive())&&o.push(u):(l=u.getTweensOf(a,s)).length&&o.push.apply(o,l),u=u._next;return o},e.tweenTo=function(r,s){s=s||{};var o=this,a=Rt(o,r),u=s,c=u.startAt,l=u.onStart,h=u.onStartParams,d=u.immediateRender,p,v=lt.to(o,xt({ease:s.ease||"none",lazy:!1,immediateRender:!1,time:a,overwrite:"auto",duration:s.duration||Math.abs((a-(c&&"time"in c?c.time:o._time))/o.timeScale())||X,onStart:function(){if(o.pause(),!p){var m=s.duration||Math.abs((a-(c&&"time"in c?c.time:o._time))/o.timeScale());v._dur!==m&&yi(v,m,0,1).render(v._time,!0,!0),p=1}l&&l.apply(v,h||[])}},s));return d?v.render(0):v},e.tweenFromTo=function(r,s,o){return this.tweenTo(s,xt({startAt:{time:Rt(this,r)}},o))},e.recent=function(){return this._recent},e.nextLabel=function(r){return r===void 0&&(r=this._time),No(this,Rt(this,r))},e.previousLabel=function(r){return r===void 0&&(r=this._time),No(this,Rt(this,r),1)},e.currentLabel=function(r){return arguments.length?this.seek(r,!0):this.previousLabel(this._time+X)},e.shiftChildren=function(r,s,o){o===void 0&&(o=0);for(var a=this._first,u=this.labels,c;a;)a._start>=o&&(a._start+=r,a._end+=r),a=a._next;if(s)for(c in u)u[c]>=o&&(u[c]+=r);return Ne(this)}
vendor: 4,708 bytes, line 24
24,e.invalidate=function(r){var s=this._first;for(this._lock=0;s;)s.invalidate(r),s=s._next;return i.prototype.invalidate.call(this,r)},e.clear=function(r){r===void 0&&(r=!0);for(var s=this._first,o;s;)o=s._next,this.remove(s),s=o;return this._dp&&(this._time=this._tTime=this._pTime=0),r&&(this.labels={}),Ne(this)},e.totalDuration=function(r){var s=0,o=this,a=o._last,u=Nt,c,l,h;if(arguments.length)return o.timeScale((o._repeat<0?o.duration():o.totalDuration())/(o.reversed()?-r:r));if(o._dirty){for(h=o.parent;a;)c=a._prev,a._dirty&&a.totalDuration(),l=a._start,l>u&&o._sort&&a._ts&&!o._lock?(o._lock=1,Kt(o,a,l-a._delay,1)._lock=0):u=l,l<0&&a._ts&&(s-=l,(!h&&!o._dp||h&&h.smoothChildTiming)&&(o._start+=l/o._ts,o._time-=l,o._tTime-=l),o.shiftChildren(-l,!1,-1/0),u=0),a._end>s&&a._ts&&(s=a._end),a=c;yi(o,o===et&&o._time>s?o._time:s,1,1),o._dirty=0}return o._tDur},t.updateRoot=function(r){if(et._ts&&(Au(et,Qn(r,et)),bu=Pt.frame),Pt.frame>=ko){ko+=Dt.autoSleep||120;var s=et._first;if((!s||!s._ts)&&Dt.autoSleep&&Pt._listeners.length<2){for(;s&&!s._ts;)s=s._next;s||Pt.sleep()}}},t}(nn);xt(Et.prototype,{_lock:0,_hasPause:0,_forcing:0});var Eh=function(t,e,n,r,s,o,a){var u=new St(this._pt,t,e,0,1,Zu,null,s),c=0,l=0,h,d,p,v,f,m,g,_;for(u.b=n,u.e=r,n+="",r+="",(g=~r.indexOf("random("))&&(r=tn(r)),o&&(_=[n,r],o(_,t,e),n=_[0],r=_[1]),d=n.match(xr)||[];h=xr.exec(r);)v=h[0],f=r.substring(c,h.index),p?p=(p+1)%5:f.substr(-5)==="rgba("&&(p=1),v!==d[l++]&&(m=parseFloat(d[l-1])||0,u._pt={_next:u._pt,p:f||l===1?f:",",s:m,c:v.charAt(1)==="="?ai(m,v)-m:parseFloat(v)-m,m:p&&p<4?Math.round:0},c=xr.lastIndex);return u.c=c<r.length?r.substring(c,r.length):"",u.fp=a,(gu.test(r)||g)&&(u.e=0),this._pt=u,u},Ys=function(t,e,n,r,s,o,a,u,c,l){ot(r)&&(r=r(s||0,t,o));var h=t[e],d=n!=="get"?n:ot(h)?c?t[e.indexOf("set")||!ot(t["get"+e.substr(3)])?e:"get"+e.substr(3)](c):t[e]():h,p=ot(h)?c?Sh:Xu:Ks,v;if(ft(r)&&(~r.indexOf("random(")&&(r=tn(r)),r.charAt(1)==="="&&(v=ai(d,r)+(mt(d)||0),(v||v===0)&&(r=v))),!l||d!==r||ps)return!isNaN(d*r)&&r!==""?(v=new St(this._pt,t,e,+d||0,r-(d||0),typeof h=="boolean"?Oh:Qu,0,p),c&&(v.fp=c),a&&v.modifier(a,this,t),this._pt=v):(!h&&!(e in t)&&Hs(e,r),Eh.call(this,t,e,d,r,p,u||Dt.stringFilter,c))},wh=function(t,e,n,r,s){if(ot(t)&&(t=zi(t,s,e,n,r)),!Jt(t)||t.style&&t.nodeType||gt(t)||vu(t))return ft(t)?zi(t,s,e,n,r):t;var o={},a;for(a in t)o[a]=zi(t[a],s,e,n,r);return o},Yu=function(t,e,n,r,s,o){var a,u,c,l;if($t[t]&&(a=new $t[t]).init(s,a.rawVars?e[t]:wh(e[t],r,s,o,n),n,r,o)!==!1&&(n._pt=u=new St(n._pt,s,t,0,1,a.render,a,0,a.priority),n!==ri))for(c=n._ptLookup[n._targets.indexOf(s)],l=a._props.length;l--;)c[a._props[l]]=u;return a},pe,ps,js=function i(t,e,n){var r=t.vars,s=r.ease,o=r.startAt,a=r.immediateRender,u=r.lazy,c=r.onUpdate,l=r.runBackwards,h=r.yoyoEase,d=r.keyframes,p=r.autoRevert,v=t._dur,f=t._startAt,m=t._targets,g=t.parent,_=g&&g.data==="nested"?g.vars.targets:m,y=t._overwrite==="auto"&&!Bs,b=t.timeline,T,O,A,L,S,P,C,E,w,$,D,x,N;if(b&&(!d||!s)&&(s="none"),t._ease=Fe(s,mi.ease),t._yEase=h?Hu(Fe(h===!0?s:h,mi.ease)):0,h&&t._yoyo&&!t._repeat&&(h=t._yEase,t._yEase=t._ease,t._ease=h),t._from=!b&&!!r.runBackwards,!b||d&&!r.stagger){if(E=m[0]?Me(m[0]).harness:0,x=E&&r[E.prop],T=Xn(r,qs),f&&(f._zTime<0&&f.progress(1),e<0&&l&&a&&!p?f.render(-1,!0):f.revert(l&&v?Fn:Kc),f._lazy=0),o){if(Ee(t._startAt=lt.set(m,xt({data:"isStart",overwrite:!1,parent:g,immediateRender:!0,lazy:!f&&Tt(u),startAt:null,delay:0,onUpdate:c&&function(){return It(t,"onUpdate")},stagger:0},o))),t._startAt._dp=0,t._startAt._sat=t,e<0&&(vt||!a&&!p)&&t._startAt.revert(Fn),a&&v&&e<=0&&n<=0){e&&(t._zTime=e);return}}else if(l&&v&&!f){if(e&&(a=!1),A=xt({overwrite:!1,data:"isFromStart",lazy:a&&!f&&Tt(u),immediateRender:a,stagger:0,parent:g},T),x&&(A[E.prop]=x),Ee(t._startAt=lt.set(m,A)),t._startAt._dp=0,t._startAt._sat=t,e<0&&(vt?t._startAt.revert(Fn):t._startAt.render(-1,!0)),t._zTime=e,!a)i(t._startAt,X,X);else if(!e)return}for(t._pt=t._ptCache=0,u=v&&Tt(u)||u&&!v,O=0;O<m.length;O++){if(S=m[O],C=S._gsap||Gs(m)[O]._gsap,t._ptLookup[O]=$={},us[C.id]&&_e.length&&Kn(),D=_===m?O:_.indexOf(S),E&&(w=new E).init(S,x||T,t,D,_)!==!1&&(t._pt=L=new St(t._pt,S,w.name,0,1,w.render,w,0,w.priority),w._props.forEach(function(R){$[R]=L}),w.priority&&(P=1)),!E||x)for(A in T)$t[A]&&(w=Yu(A,T,t,D,S,_))?w.priority&&(P=1):$[A]=L=Ys.call(t,S,A,"get",T[A],D,_,0,r.stringFilter);t._op&&t._op[O]&&t.kill(S,t._op[O]),y&&t._pt&&(pe=t,et.killTweensOf(S,$,t.globalTime(e)),N=!t.parent,pe=0),t._pt&&u&&(us[C.id]=1)}P&&Ju(t),t._onInit&&t._onInit(t)}t._onUpdate=c,t._initted=(!t._op||t._pt)&&!N,d&&e<=0&&b.render(Nt,!0,!0)},bh=function(t,e,n,r,s,o,a,u){var c=(t._pt&&t._ptCache||(t._ptCache={}))[e],l,h,d,p;
vendor: 4,550 bytes, line 24
24if(!c)for(c=t._ptCache[e]=[],d=t._ptLookup,p=t._targets.length;p--;){if(l=d[p][e],l&&l.d&&l.d._pt)for(l=l.d._pt;l&&l.p!==e&&l.fp!==e;)l=l._next;if(!l)return ps=1,t.vars[e]="+=0",js(t,a),ps=0,u?Zi(e+" not eligible for reset"):1;c.push(l)}for(p=c.length;p--;)h=c[p],l=h._pt||h,l.s=(r||r===0)&&!s?r:l.s+(r||0)+o*l.c,l.c=n-l.s,h.e&&(h.e=at(n)+mt(h.e)),h.b&&(h.b=l.s+mt(h.b))},Th=function(t,e){var n=t[0]?Me(t[0]).harness:0,r=n&&n.aliases,s,o,a,u;if(!r)return e;s=gi({},e);for(o in r)if(o in s)for(u=r[o].split(","),a=u.length;a--;)s[u[a]]=s[o];return s},Ah=function(t,e,n,r){var s=e.ease||r||"power1.inOut",o,a;if(gt(e))a=n[t]||(n[t]=[]),e.forEach(function(u,c){return a.push({t:c/(e.length-1)*100,v:u,e:s})});else for(o in e)a=n[o]||(n[o]=[]),o==="ease"||a.push({t:parseFloat(t),v:e[o],e:s})},zi=function(t,e,n,r,s){return ot(t)?t.call(e,n,r,s):ft(t)&&~t.indexOf("random(")?tn(t):t},ju=Ws+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",Ku={};At(ju+",id,stagger,delay,duration,paused,scrollTrigger",function(i){return Ku[i]=1});var lt=function(i){fu(t,i);function t(n,r,s,o){var a;typeof r=="number"&&(s.duration=r,r=s,s=null),a=i.call(this,o?r:Vi(r))||this;var u=a.vars,c=u.duration,l=u.delay,h=u.immediateRender,d=u.stagger,p=u.overwrite,v=u.keyframes,f=u.defaults,m=u.scrollTrigger,g=u.yoyoEase,_=r.parent||et,y=(gt(n)||vu(n)?ce(n[0]):"length"in r)?[n]:Ft(n),b,T,O,A,L,S,P,C;if(a._targets=y.length?Gs(y):Zi("GSAP target "+n+" not found. https://gsap.com",!Dt.nullTargetWarn)||[],a._ptLookup=[],a._overwrite=p,v||d||Sn(c)||Sn(l)){if(r=a.vars,b=a.timeline=new Et({data:"nested",defaults:f||{},targets:_&&_.data==="nested"?_.vars.targets:y}),b.kill(),b.parent=b._dp=ne(a),b._start=0,d||Sn(c)||Sn(l)){if(A=y.length,P=d&&ku(d),Jt(d))for(L in d)~ju.indexOf(L)&&(C||(C={}),C[L]=d[L]);for(T=0;T<A;T++)O=Xn(r,Ku),O.stagger=0,g&&(O.yoyoEase=g),C&&gi(O,C),S=y[T],O.duration=+zi(c,ne(a),T,S,y),O.delay=(+zi(l,ne(a),T,S,y)||0)-a._delay,!d&&A===1&&O.delay&&(a._delay=l=O.delay,a._start+=l,O.delay=0),b.to(S,O,P?P(T,S,y):0),b._ease=G.none;b.duration()?c=l=0:a.timeline=0}else if(v){Vi(xt(b.vars.defaults,{ease:"none"})),b._ease=Fe(v.ease||r.ease||"none");var E=0,w,$,D;if(gt(v))v.forEach(function(x){return b.to(y,x,">")}),b.duration();else{O={};for(L in v)L==="ease"||L==="easeEach"||Ah(L,v[L],O,v.easeEach);for(L in O)for(w=O[L].sort(function(x,N){return x.t-N.t}),E=0,T=0;T<w.length;T++)$=w[T],D={ease:$.e,duration:($.t-(T?w[T-1].t:0))/100*c},D[L]=$.v,b.to(y,D,E),E+=D.duration;b.duration()<c&&b.to({},{duration:c-b.duration()})}}c||a.duration(c=b.duration())}else a.timeline=0;return p===!0&&!Bs&&(pe=ne(a),et.killTweensOf(y),pe=0),Kt(_,ne(a),s),r.reversed&&a.reverse(),r.paused&&a.paused(!0),(h||!c&&!v&&a._start===ct(_._time)&&Tt(h)&&eh(ne(a))&&_.data!=="nested")&&(a._tTime=-X,a.render(Math.max(0,-l)||0)),m&&$u(ne(a),m),a}var e=t.prototype;return e.render=function(r,s,o){var a=this._time,u=this._tDur,c=this._dur,l=r<0,h=r>u-X&&!l?u:r<X?0:r,d,p,v,f,m,g,_,y,b;if(!c)nh(this,r,s,o);else if(h!==this._tTime||!r||o||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==l||this._lazy){if(d=h,y=this.timeline,this._repeat){if(f=c+this._rDelay,this._repeat<-1&&l)return this.totalTime(f*100+r,s,o);if(d=ct(h%f),h===u?(v=this._repeat,d=c):(m=ct(h/f),v=~~m,v&&v===m?(d=c,v--):d>c&&(d=c)),g=this._yoyo&&v&1,g&&(b=this._yEase,d=c-d),m=_i(this._tTime,f),d===a&&!o&&this._initted&&v===m)return this._tTime=h,this;v!==m&&(y&&this._yEase&&qu(y,g),this.vars.repeatRefresh&&!g&&!this._lock&&d!==f&&this._initted&&(this._lock=o=1,this.render(ct(f*v),!0).invalidate()._lock=0))}if(!this._initted){if(Pu(this,l?r:d,o,s,h))return this._tTime=0,this;if(a!==this._time&&!(o&&this.vars.repeatRefresh&&v!==m))return this;if(c!==this._dur)return this.render(r,s,o)}if(this._tTime=h,this._time=d,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=_=(b||this._ease)(d/c),this._from&&(this.ratio=_=1-_),d&&!a&&!s&&!v&&(It(this,"onStart"),this._tTime!==h))return this;for(p=this._pt;p;)p.r(_,p.d),p=p._next;y&&y.render(r<0?r:y._dur*y._ease(d/this._dur),s,o)||this._startAt&&(this._zTime=r),this._onUpdate&&!s&&(l&&ls(this,r,s,o),It(this,"onUpdate")),this._repeat&&v!==m&&this.vars.onRepeat&&!s&&this.parent&&It(this,"onRepeat"),(h===this._tDur||!h)&&this._tTime===h&&(l&&!this._onUpdate&&ls(this,r,!0,!0),(r||!c)&&(h===this._tDur&&this._ts>0||!h&&this._ts<0)&&Ee(this,1),!s&&!(l&&!a)&&(h||a||g)&&(It(this,h===u?"onComplete":"onReverseComplete",!0),this._prom&&!(h<u&&this.timeScale()>0)&&this._prom()))}return this},e.targets=function(){return this._targets}
vendor: 6,571 bytes, line 24
24,e.invalidate=function(r){return(!r||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(r),i.prototype.invalidate.call(this,r)},e.resetTo=function(r,s,o,a,u){en||Pt.wake(),this._ts||this.play();var c=Math.min(this._dur,(this._dp._time-this._start)*this._ts),l;return this._initted||js(this,c),l=this._ease(c/this._dur),bh(this,r,s,o,a,l,c,u)?this.resetTo(r,s,o,a,1):(gr(this,0),this.parent||Ou(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},e.kill=function(r,s){if(s===void 0&&(s="all"),!r&&(!s||s==="all"))return this._lazy=this._pt=0,this.parent?xi(this):this.scrollTrigger&&this.scrollTrigger.kill(!!vt),this;if(this.timeline){var o=this.timeline.totalDuration();return this.timeline.killTweensOf(r,s,pe&&pe.vars.overwrite!==!0)._first||xi(this),this.parent&&o!==this.timeline.totalDuration()&&yi(this,this._dur*this.timeline._tDur/o,0,1),this}var a=this._targets,u=r?Ft(r):a,c=this._ptLookup,l=this._pt,h,d,p,v,f,m,g;if((!s||s==="all")&&Jc(a,u))return s==="all"&&(this._pt=0),xi(this);for(h=this._op=this._op||[],s!=="all"&&(ft(s)&&(f={},At(s,function(_){return f[_]=1}),s=f),s=Th(a,s)),g=a.length;g--;)if(~u.indexOf(a[g])){d=c[g],s==="all"?(h[g]=s,v=d,p={}):(p=h[g]=h[g]||{},v=s);for(f in v)m=d&&d[f],m&&((!("kill"in m.d)||m.d.kill(f)===!0)&&vr(this,m,"_pt"),delete d[f]),p!=="all"&&(p[f]=1)}return this._initted&&!this._pt&&l&&xi(this),this},t.to=function(r,s){return new t(r,s,arguments[2])},t.from=function(r,s){return Ui(1,arguments)},t.delayedCall=function(r,s,o,a){return new t(s,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:r,onComplete:s,onReverseComplete:s,onCompleteParams:o,onReverseCompleteParams:o,callbackScope:a})},t.fromTo=function(r,s,o){return Ui(2,arguments)},t.set=function(r,s){return s.duration=0,s.repeatDelay||(s.repeat=0),new t(r,s)},t.killTweensOf=function(r,s,o){return et.killTweensOf(r,s,o)},t}(nn);xt(lt.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});At("staggerTo,staggerFrom,staggerFromTo",function(i){lt[i]=function(){var t=new Et,e=hs.call(arguments,0);return e.splice(i==="staggerFromTo"?5:4,0,0),t[i].apply(t,e)}});var Ks=function(t,e,n){return t[e]=n},Xu=function(t,e,n){return t[e](n)},Sh=function(t,e,n,r){return t[e](r.fp,n)},Lh=function(t,e,n){return t.setAttribute(e,n)},Xs=function(t,e){return ot(t[e])?Xu:Vs(t[e])&&t.setAttribute?Lh:Ks},Qu=function(t,e){return e.set(e.t,e.p,Math.round((e.s+e.c*t)*1e6)/1e6,e)},Oh=function(t,e){return e.set(e.t,e.p,!!(e.s+e.c*t),e)},Zu=function(t,e){var n=e._pt,r="";if(!t&&e.b)r=e.b;else if(t===1&&e.e)r=e.e;else{for(;n;)r=n.p+(n.m?n.m(n.s+n.c*t):Math.round((n.s+n.c*t)*1e4)/1e4)+r,n=n._next;r+=e.c}e.set(e.t,e.p,r,e)},Qs=function(t,e){for(var n=e._pt;n;)n.r(t,n.d),n=n._next},Ch=function(t,e,n,r){for(var s=this._pt,o;s;)o=s._next,s.p===r&&s.modifier(t,e,n),s=o},$h=function(t){for(var e=this._pt,n,r;e;)r=e._next,e.p===t&&!e.op||e.op===t?vr(this,e,"_pt"):e.dep||(n=1),e=r;return!n},Ph=function(t,e,n,r){r.mSet(t,e,r.m.call(r.tween,n,r.mt),r)},Ju=function(t){for(var e=t._pt,n,r,s,o;e;){for(n=e._next,r=s;r&&r.pr>e.pr;)r=r._next;(e._prev=r?r._prev:o)?e._prev._next=e:s=e,(e._next=r)?r._prev=e:o=e,e=n}t._pt=s},St=function(){function i(e,n,r,s,o,a,u,c,l){this.t=n,this.s=s,this.c=o,this.p=r,this.r=a||Qu,this.d=u||this,this.set=c||Ks,this.pr=l||0,this._next=e,e&&(e._prev=this)}var t=i.prototype;return t.modifier=function(n,r,s){this.mSet=this.mSet||this.set,this.set=Ph,this.m=n,this.mt=s,this.tween=r},i}();At(Ws+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",function(i){return qs[i]=1});kt.TweenMax=kt.TweenLite=lt;kt.TimelineLite=kt.TimelineMax=Et;et=new Et({sortChildren:!1,defaults:mi,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});Dt.stringFilter=zu;var Be=[],Vn={},Ih=[],Bo=0,Dh=0,Br=function(t){return(Vn[t]||Ih).map(function(e){return e()})},vs=function(){var t=Date.now(),e=[];t-Bo>2&&(Br("matchMediaInit"),Be.forEach(function(n){var r=n.queries,s=n.conditions,o,a,u,c;for(a in r)o=jt.matchMedia(r[a]).matches,o&&(u=1),o!==s[a]&&(s[a]=o,c=1);c&&(n.revert(),u&&e.push(n))}),Br("matchMediaRevert"),e.forEach(function(n){return n.onMatch(n,function(r){return n.add(null,r)})}),Bo=t,Br("matchMedia"))},tl=function(){function i(e,n){this.selector=n&&ds(n),this.data=[],this._r=[],this.isReverted=!1,this.id=Dh++,e&&this.add(e)}var t=i.prototype;return t.add=function(n,r,s){ot(n)&&(s=r,r=n,n=ot);var o=this,a=function(){var c=tt,l=o.selector,h;return c&&c!==o&&c.data.push(o),s&&(o.selector=ds(s)),tt=o,h=r.apply(o,arguments),ot(h)&&o._r.push(h),tt=c,o.selector=l,o.isReverted=!1,h};return o.last=a,n===ot?a(o,function(u){return o.add(null,u)}):n?o[n]=a:a},t.ignore=function(n){var r=tt;tt=null,n(this),tt=r},t.getTweens=function(){var n=[];return this.data.forEach(function(r){return r instanceof i?n.push.apply(n,r.getTweens()):r instanceof lt&&!(r.parent&&r.parent.data==="nested")&&n.push(r)}),n},t.clear=function(){this._r.length=this.data.length=0},t.kill=function(n,r){var s=this;if(n?function(){for(var a=s.getTweens(),u=s.data.length,c;u--;)c=s.data[u],c.data==="isFlip"&&(c.revert(),c.getChildren(!0,!0,!1).forEach(function(l){return a.splice(a.indexOf(l),1)}));for(a.map(function(l){return{g:l._dur||l._delay||l._sat&&!l._sat.vars.immediateRender?l.globalTime(0):-1/0,t:l}}).sort(function(l,h){return h.g-l.g||-1/0}).forEach(function(l){return l.t.revert(n)}),u=s.data.length;u--;)c=s.data[u],c instanceof Et?c.data!=="nested"&&(c.scrollTrigger&&c.scrollTrigger.revert(),c.kill()):!(c instanceof lt)&&c.revert&&c.revert(n);s._r.forEach(function(l){return l(n,s)}),s.isReverted=!0}():this.data.forEach(function(a){return a.kill&&a.kill()}),this.clear(),r)for(var o=Be.length;o--;)Be[o].id===this.id&&Be.splice(o,1)},t.revert=function(n){this.kill(n||{})},i}(),kh=function(){function i(e){this.contexts=[],this.scope=e,tt&&tt.data.push(this)}var t=i.prototype;return t.add=function(n,r,s){Jt(n)||(n={matches:n});var o=new tl(0,s||this.scope),a=o.conditions={},u,c,l;tt&&!o.selector&&(o.selector=tt.selector),this.contexts.push(o),r=o.add("onMatch",r),o.queries=n;for(c in n)c==="all"?l=1:(u=jt.matchMedia(n[c]),u&&(Be.indexOf(o)<0&&Be.push(o),(a[c]=u.matches)&&(l=1),u.addListener?u.addListener(vs):u.addEventListener("change",vs)));return l&&r(o,function(h){return o.add(null,h)}),this},t.revert=function(n){this.kill(n||{})}
vendor: 8,361 bytes, lines 24-32
24,t.kill=function(n){this.contexts.forEach(function(r){return r.kill(n,!0)})},i}(),Zn={registerPlugin:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];e.forEach(function(r){return Bu(r)})},timeline:function(t){return new Et(t)},getTweensOf:function(t,e){return et.getTweensOf(t,e)},getProperty:function(t,e,n,r){ft(t)&&(t=Ft(t)[0]);var s=Me(t||{}).get,o=n?Lu:Su;return n==="native"&&(n=""),t&&(e?o(($t[e]&&$t[e].get||s)(t,e,n,r)):function(a,u,c){return o(($t[a]&&$t[a].get||s)(t,a,u,c))})},quickSetter:function(t,e,n){if(t=Ft(t),t.length>1){var r=t.map(function(l){return Ot.quickSetter(l,e,n)}),s=r.length;return function(l){for(var h=s;h--;)r[h](l)}}t=t[0]||{};var o=$t[e],a=Me(t),u=a.harness&&(a.harness.aliases||{})[e]||e,c=o?function(l){var h=new o;ri._pt=0,h.init(t,n?l+n:l,ri,0,[t]),h.render(1,h),ri._pt&&Qs(1,ri)}:a.set(t,u);return o?c:function(l){return c(t,u,n?l+n:l,a,1)}},quickTo:function(t,e,n){var r,s=Ot.to(t,xt((r={},r[e]="+=0.1",r.paused=!0,r.stagger=0,r),n||{})),o=function(u,c,l){return s.resetTo(e,u,c,l)};return o.tween=s,o},isTweening:function(t){return et.getTweensOf(t,!0).length>0},defaults:function(t){return t&&t.ease&&(t.ease=Fe(t.ease,mi.ease)),xo(mi,t||{})},config:function(t){return xo(Dt,t||{})},registerEffect:function(t){var e=t.name,n=t.effect,r=t.plugins,s=t.defaults,o=t.extendTimeline;(r||"").split(",").forEach(function(a){return a&&!$t[a]&&!kt[a]&&Zi(e+" effect requires "+a+" plugin.")}),Rr[e]=function(a,u,c){return n(Ft(a),xt(u||{},s),c)},o&&(Et.prototype[e]=function(a,u,c){return this.add(Rr[e](a,Jt(u)?u:(c=u)&&{},this),c)})},registerEase:function(t,e){G[t]=Fe(e)},parseEase:function(t,e){return arguments.length?Fe(t,e):G},getById:function(t){return et.getById(t)},exportRoot:function(t,e){t===void 0&&(t={});var n=new Et(t),r,s;for(n.smoothChildTiming=Tt(t.smoothChildTiming),et.remove(n),n._dp=0,n._time=n._tTime=et._time,r=et._first;r;)s=r._next,(e||!(!r._dur&&r instanceof lt&&r.vars.onComplete===r._targets[0]))&&Kt(n,r,r._start-r._delay),r=s;return Kt(et,n,0),n},context:function(t,e){return t?new tl(t,e):tt},matchMedia:function(t){return new kh(t)},matchMediaRefresh:function(){return Be.forEach(function(t){var e=t.conditions,n,r;for(r in e)e[r]&&(e[r]=!1,n=1);n&&t.revert()})||vs()},addEventListener:function(t,e){var n=Vn[t]||(Vn[t]=[]);~n.indexOf(e)||n.push(e)},removeEventListener:function(t,e){var n=Vn[t],r=n&&n.indexOf(e);r>=0&&n.splice(r,1)},utils:{wrap:hh,wrapYoyo:dh,distribute:ku,random:Ru,snap:xu,normalize:ch,getUnit:mt,clamp:oh,splitColor:Vu,toArray:Ft,selector:ds,mapRange:Nu,pipe:uh,unitize:lh,interpolate:fh,shuffle:Du},install:Eu,effects:Rr,ticker:Pt,updateRoot:Et.updateRoot,plugins:$t,globalTimeline:et,core:{PropTween:St,globals:wu,Tween:lt,Timeline:Et,Animation:nn,getCache:Me,_removeLinkedListItem:vr,reverting:function(){return vt},context:function(t){return t&&tt&&(tt.data.push(t),t._ctx=tt),tt},suppressOverwrites:function(t){return Bs=t}}};At("to,from,fromTo,delayedCall,set,killTweensOf",function(i){return Zn[i]=lt[i]});Pt.add(Et.updateRoot);ri=Zn.to({},{duration:0});var xh=function(t,e){for(var n=t._pt;n&&n.p!==e&&n.op!==e&&n.fp!==e;)n=n._next;return n},Rh=function(t,e){var n=t._targets,r,s,o;for(r in e)for(s=n.length;s--;)o=t._ptLookup[s][r],o&&(o=o.d)&&(o._pt&&(o=xh(o,r)),o&&o.modifier&&o.modifier(e[r],t,n[s],r))},Vr=function(t,e){return{name:t,rawVars:1,init:function(r,s,o){o._onInit=function(a){var u,c;if(ft(s)&&(u={},At(s,function(l){return u[l]=1}),s=u),e){u={};for(c in s)u[c]=e(s[c]);s=u}Rh(a,s)}}}},Ot=Zn.registerPlugin({name:"attr",init:function(t,e,n,r,s){var o,a,u;this.tween=n;for(o in e)u=t.getAttribute(o)||"",a=this.add(t,"setAttribute",(u||0)+"",e[o],r,s,0,0,o),a.op=o,a.b=u,this._props.push(o)},render:function(t,e){for(var n=e._pt;n;)vt?n.set(n.t,n.p,n.b,n):n.r(t,n.d),n=n._next}},{name:"endArray",init:function(t,e){for(var n=e.length;n--;)this.add(t,n,t[n]||0,e[n],0,0,0,0,0,1)}},Vr("roundProps",fs),Vr("modifiers"),Vr("snap",xu))||Zn;lt.version=Et.version=Ot.version="3.12.7";yu=1;Us()&&Ei();G.Power0;G.Power1;G.Power2;G.Power3;G.Power4;G.Linear;G.Quad;G.Cubic;G.Quart;G.Quint;G.Strong;G.Elastic;G.Back;G.SteppedEase;G.Bounce;G.Sine;G.Expo;G.Circ;/*!
25 * CSSPlugin 3.12.7
26 * https://gsap.com
27 *
28 * Copyright 2008-2025, GreenSock. All rights reserved.
29 * Subject to the terms at https://gsap.com/standard-license or for
30 * Club GSAP members, the agreement issued with that membership.
31 * @author: Jack Doyle, [email protected]
32*/var Vo,ve,ui,Zs,xe,Uo,Js,Mh=function(){return typeof window<"u"},he={},De=180/Math.PI,li=Math.PI/180,Je=Math.atan2,zo=1e8,to=/([A-Z])/g,Nh=/(left|right|width|margin|padding|x)/i,Fh=/[\s,\(]\S/,Qt={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},ms=function(t,e){return e.set(e.t,e.p,Math.round((e.s+e.c*t)*1e4)/1e4+e.u,e)},Bh=function(t,e){return e.set(e.t,e.p,t===1?e.e:Math.round((e.s+e.c*t)*1e4)/1e4+e.u,e)},Vh=function(t,e){return e.set(e.t,e.p,t?Math.round((e.s+e.c*t)*1e4)/1e4+e.u:e.b,e)},Uh=function(t,e){var n=e.s+e.c*t;e.set(e.t,e.p,~~(n+(n<0?-.5:.5))+e.u,e)},el=function(t,e){return e.set(e.t,e.p,t?e.e:e.b,e)},il=function(t,e){return e.set(e.t,e.p,t!==1?e.b:e.e,e)},zh=function(t,e,n){return t.style[e]=n},Hh=function(t,e,n){return t.style.setProperty(e,n)},qh=function(t,e,n){return t._gsap[e]=n},Wh=function(t,e,n){return t._gsap.scaleX=t._gsap.scaleY=n},Gh=function(t,e,n,r,s){var o=t._gsap;o.scaleX=o.scaleY=n,o.renderTransform(s,o)},Yh=function(t,e,n,r,s){var o=t._gsap;o[e]=n,o.renderTransform(s,o)},it="transform",Lt=it+"Origin",jh=function i(t,e){var n=this,r=this.target,s=r.style,o=r._gsap;if(t in he&&s){if(this.tfm=this.tfm||{},t!=="transform")t=Qt[t]||t,~t.indexOf(",")?t.split(",").forEach(function(a){return n.tfm[a]=re(r,a)}):this.tfm[t]=o.x?o[t]:re(r,t),t===Lt&&(this.tfm.zOrigin=o.zOrigin);else return Qt.transform.split(",").forEach(function(a){return i.call(n,a,e)});if(this.props.indexOf(it)>=0)return;o.svg&&(this.svgo=r.getAttribute("data-svg-origin"),this.props.push(Lt,e,"")),t=it}(s||e)&&this.props.push(t,e,s[t])},nl=function(t){t.translate&&(t.removeProperty("translate"),t.removeProperty("scale"),t.removeProperty("rotate"))},Kh=function(){var t=this.props,e=this.target,n=e.style,r=e._gsap,s,o;for(s=0;s<t.length;s+=3)t[s+1]?t[s+1]===2?e[t[s]](t[s+2]):e[t[s]]=t[s+2]:t[s+2]?n[t[s]]=t[s+2]:n.removeProperty(t[s].substr(0,2)==="--"?t[s]:t[s].replace(to,"-$1").toLowerCase());if(this.tfm){for(o in this.tfm)r[o]=this.tfm[o];r.svg&&(r.renderTransform(),e.setAttribute("data-svg-origin",this.svgo||"")),s=Js(),(!s||!s.isStart)&&!n[it]&&(nl(n),r.zOrigin&&n[Lt]&&(n[Lt]+=" "+r.zOrigin+"px",r.zOrigin=0,r.renderTransform()),r.uncache=1)}},rl=function(t,e){var n={target:t,props:[],revert:Kh,save:jh};return t._gsap||Ot.core.getCache(t),e&&t.style&&t.nodeType&&e.split(",").forEach(function(r){return n.save(r)}),n},sl,gs=function(t,e){var n=ve.createElementNS?ve.createElementNS((e||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),t):ve.createElement(t);return n&&n.style?n:ve.createElement(t)},Zt=function i(t,e,n){var r=getComputedStyle(t);return r[e]||r.getPropertyValue(e.replace(to,"-$1").toLowerCase())||r.getPropertyValue(e)||!n&&i(t,wi(e)||e,1)||""},Ho="O,Moz,ms,Ms,Webkit".split(","),wi=function(t,e,n){var r=e||xe,s=r.style,o=5;if(t in s&&!n)return t;for(t=t.charAt(0).toUpperCase()+t.substr(1);o--&&!(Ho[o]+t in s););return o<0?null:(o===3?"ms":o>=0?Ho[o]:"")+t},_s=function(){Mh()&&window.document&&(Vo=window,ve=Vo.document,ui=ve.documentElement,xe=gs("div")||{style:{}},gs("div"),it=wi(it),Lt=it+"Origin",xe.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",sl=!!wi("perspective"),Js=Ot.core.reverting,Zs=1)},qo=function(t){var e=t.ownerSVGElement,n=gs("svg",e&&e.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),r=t.cloneNode(!0),s;r.style.display="block",n.appendChild(r),ui.appendChild(n);try{s=r.getBBox()}catch{}return n.removeChild(r),ui.removeChild(n),s},Wo=function(t,e){for(var n=e.length;n--;)if(t.hasAttribute(e[n]))return t.getAttribute(e[n])},ol=function(t){var e,n;try{e=t.getBBox()}catch{e=qo(t),n=1}return e&&(e.width||e.height)||n||(e=qo(t)),e&&!e.width&&!e.x&&!e.y?{x:+Wo(t,["x","cx","x1"])||0,y:+Wo(t,["y","cy","y1"])||0,width:0,height:0}:e},al=function(t){return!!(t.getCTM&&(!t.parentNode||t.ownerSVGElement)&&ol(t))},qe=function(t,e){if(e){var n=t.style,r;
vendor: 8,051 bytes, line 32
32e in he&&e!==Lt&&(e=it),n.removeProperty?(r=e.substr(0,2),(r==="ms"||e.substr(0,6)==="webkit")&&(e="-"+e),n.removeProperty(r==="--"?e:e.replace(to,"-$1").toLowerCase())):n.removeAttribute(e)}},me=function(t,e,n,r,s,o){var a=new St(t._pt,e,n,0,1,o?il:el);return t._pt=a,a.b=r,a.e=s,t._props.push(n),a},Go={deg:1,rad:1,turn:1},Xh={grid:1,flex:1},we=function i(t,e,n,r){var s=parseFloat(n)||0,o=(n+"").trim().substr((s+"").length)||"px",a=xe.style,u=Nh.test(e),c=t.tagName.toLowerCase()==="svg",l=(c?"client":"offset")+(u?"Width":"Height"),h=100,d=r==="px",p=r==="%",v,f,m,g;if(r===o||!s||Go[r]||Go[o])return s;if(o!=="px"&&!d&&(s=i(t,e,n,"px")),g=t.getCTM&&al(t),(p||o==="%")&&(he[e]||~e.indexOf("adius")))return v=g?t.getBBox()[u?"width":"height"]:t[l],at(p?s/v*h:s/100*v);if(a[u?"width":"height"]=h+(d?o:r),f=r!=="rem"&&~e.indexOf("adius")||r==="em"&&t.appendChild&&!c?t:t.parentNode,g&&(f=(t.ownerSVGElement||{}).parentNode),(!f||f===ve||!f.appendChild)&&(f=ve.body),m=f._gsap,m&&p&&m.width&&u&&m.time===Pt.time&&!m.uncache)return at(s/m.width*h);if(p&&(e==="height"||e==="width")){var _=t.style[e];t.style[e]=h+r,v=t[l],_?t.style[e]=_:qe(t,e)}else(p||o==="%")&&!Xh[Zt(f,"display")]&&(a.position=Zt(t,"position")),f===t&&(a.position="static"),f.appendChild(xe),v=xe[l],f.removeChild(xe),a.position="absolute";return u&&p&&(m=Me(f),m.time=Pt.time,m.width=f[l]),at(d?v*s/h:v&&s?h/v*s:0)},re=function(t,e,n,r){var s;return Zs||_s(),e in Qt&&e!=="transform"&&(e=Qt[e],~e.indexOf(",")&&(e=e.split(",")[0])),he[e]&&e!=="transform"?(s=sn(t,r),s=e!=="transformOrigin"?s[e]:s.svg?s.origin:tr(Zt(t,Lt))+" "+s.zOrigin+"px"):(s=t.style[e],(!s||s==="auto"||r||~(s+"").indexOf("calc("))&&(s=Jn[e]&&Jn[e](t,e,n)||Zt(t,e)||Tu(t,e)||(e==="opacity"?1:0))),n&&!~(s+"").trim().indexOf(" ")?we(t,e,s,n)+n:s},Qh=function(t,e,n,r){if(!n||n==="none"){var s=wi(e,t,1),o=s&&Zt(t,s,1);o&&o!==n?(e=s,n=o):e==="borderColor"&&(n=Zt(t,"borderTopColor"))}var a=new St(this._pt,t.style,e,0,1,Zu),u=0,c=0,l,h,d,p,v,f,m,g,_,y,b,T;if(a.b=n,a.e=r,n+="",r+="",r==="auto"&&(f=t.style[e],t.style[e]=r,r=Zt(t,e)||r,f?t.style[e]=f:qe(t,e)),l=[n,r],zu(l),n=l[0],r=l[1],d=n.match(ni)||[],T=r.match(ni)||[],T.length){for(;h=ni.exec(r);)m=h[0],_=r.substring(u,h.index),v?v=(v+1)%5:(_.substr(-5)==="rgba("||_.substr(-5)==="hsla(")&&(v=1),m!==(f=d[c++]||"")&&(p=parseFloat(f)||0,b=f.substr((p+"").length),m.charAt(1)==="="&&(m=ai(p,m)+b),g=parseFloat(m),y=m.substr((g+"").length),u=ni.lastIndex-y.length,y||(y=y||Dt.units[e]||b,u===r.length&&(r+=y,a.e+=y)),b!==y&&(p=we(t,e,f,y)||0),a._pt={_next:a._pt,p:_||c===1?_:",",s:p,c:g-p,m:v&&v<4||e==="zIndex"?Math.round:0});a.c=u<r.length?r.substring(u,r.length):""}else a.r=e==="display"&&r==="none"?il:el;return gu.test(r)&&(a.e=0),this._pt=a,a},Yo={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},Zh=function(t){var e=t.split(" "),n=e[0],r=e[1]||"50%";return(n==="top"||n==="bottom"||r==="left"||r==="right")&&(t=n,n=r,r=t),e[0]=Yo[n]||n,e[1]=Yo[r]||r,e.join(" ")},Jh=function(t,e){if(e.tween&&e.tween._time===e.tween._dur){var n=e.t,r=n.style,s=e.u,o=n._gsap,a,u,c;if(s==="all"||s===!0)r.cssText="",u=1;else for(s=s.split(","),c=s.length;--c>-1;)a=s[c],he[a]&&(u=1,a=a==="transformOrigin"?Lt:it),qe(n,a);u&&(qe(n,it),o&&(o.svg&&n.removeAttribute("transform"),r.scale=r.rotate=r.translate="none",sn(n,1),o.uncache=1,nl(r)))}},Jn={clearProps:function(t,e,n,r,s){if(s.data!=="isFromStart"){var o=t._pt=new St(t._pt,e,n,0,0,Jh);return o.u=r,o.pr=-10,o.tween=s,t._props.push(n),1}}},rn=[1,0,0,1,0,0],ul={},ll=function(t){return t==="matrix(1, 0, 0, 1, 0, 0)"||t==="none"||!t},jo=function(t){var e=Zt(t,it);return ll(e)?rn:e.substr(7).match(mu).map(at)},eo=function(t,e){var n=t._gsap||Me(t),r=t.style,s=jo(t),o,a,u,c;return n.svg&&t.getAttribute("transform")?(u=t.transform.baseVal.consolidate().matrix,s=[u.a,u.b,u.c,u.d,u.e,u.f],s.join(",")==="1,0,0,1,0,0"?rn:s):(s===rn&&!t.offsetParent&&t!==ui&&!n.svg&&(u=r.display,r.display="block",o=t.parentNode,(!o||!t.offsetParent&&!t.getBoundingClientRect().width)&&(c=1,a=t.nextElementSibling,ui.appendChild(t)),s=jo(t),u?r.display=u:qe(t,"display"),c&&(a?o.insertBefore(t,a):o?o.appendChild(t):ui.removeChild(t))),e&&s.length>6?[s[0],s[1],s[4],s[5],s[12],s[13]]:s)},ys=function(t,e,n,r,s,o){var a=t._gsap,u=s||eo(t,!0),c=a.xOrigin||0,l=a.yOrigin||0,h=a.xOffset||0,d=a.yOffset||0,p=u[0],v=u[1],f=u[2],m=u[3],g=u[4],_=u[5],y=e.split(" "),b=parseFloat(y[0])||0,T=parseFloat(y[1])||0,O,A,L,S;n?u!==rn&&(A=p*m-v*f)&&(L=b*(m/A)+T*(-f/A)+(f*_-m*g)/A,S=b*(-v/A)+T*(p/A)-(p*_-v*g)/A,b=L,T=S):(O=ol(t),b=O.x+(~y[0].indexOf("%")?b/100*O.width:b),T=O.y+(~(y[1]||y[0]).indexOf("%")?T/100*O.height:T)),r||r!==!1&&a.smooth?(g=b-c,_=T-l,a.xOffset=h+(g*p+_*f)-g,a.yOffset=d+(g*v+_*m)-_):a.xOffset=a.yOffset=0,a.xOrigin=b,a.yOrigin=T,a.smooth=!!r,a.origin=e,a.originIsAbsolute=!!n,t.style[Lt]="0px 0px",o&&(me(o,a,"xOrigin",c,b),me(o,a,"yOrigin",l,T),me(o,a,"xOffset",h,a.xOffset),me(o,a,"yOffset",d,a.yOffset)),t.setAttribute("data-svg-origin",b+" "+T)},sn=function(t,e){var n=t._gsap||new Gu(t);if("x"in n&&!e&&!n.uncache)return n;var r=t.style,s=n.scaleX<0,o="px",a="deg",u=getComputedStyle(t),c=Zt(t,Lt)||"0",l,h,d,p,v,f,m,g,_,y,b,T,O,A,L,S,P,C,E,w,$,D,x,N,R,M,I,B,z,U,H,rt;return l=h=d=f=m=g=_=y=b=0,p=v=1,n.svg=!!(t.getCTM&&al(t)),u.translate&&((u.translate!=="none"||u.scale!=="none"||u.rotate!=="none")&&(r[it]=(u.translate!=="none"?"translate3d("+(u.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(u.rotate!=="none"?"rotate("+u.rotate+") ":"")+(u.scale!=="none"?"scale("+u.scale.split(" ").join(",")+") ":"")+(u[it]!=="none"?u[it]:"")),r.scale=r.rotate=r.translate="none"),A=eo(t,n.svg),n.svg&&(n.uncache?(R=t.getBBox(),c=n.xOrigin-R.x+"px "+(n.yOrigin-R.y)+"px",N=""):N=!e&&t.getAttribute("data-svg-origin"),ys(t,N||c,!!N||n.originIsAbsolute,n.smooth!==!1,A)),T=n.xOrigin||0,O=n.yOrigin||0,A!==rn&&(C=A[0],E=A[1],w=A[2],$=A[3],l=D=A[4],h=x=A[5],A.length===6?(p=Math.sqrt(C*C+E*E),v=Math.sqrt($*$+w*w),f=C||E?Je(E,C)*De:0,_=w||$?Je(w,$)*De+f:0,_&&(v*=Math.abs(Math.cos(_*li))),n.svg&&(l-=T-(T*C+O*w),h-=O-(T*E+O*$))):(rt=A[6],U=A[7],I=A[8],B=A[9],z=A[10],H=A[11],l=A[12],h=A[13],d=A[14],L=Je(rt,z),m=L*De,L&&(S=Math.cos(-L),P=Math.sin(-L),N=D*S+I*P,R=x*S+B*P,M=rt*S+z*P,I=D*-P+I*S,B=x*-P+B*S,z=rt*-P+z*S,H=U*-P+H*S,D=N,x=R,rt=M),L=Je(-w,z),g=L*De,L&&(S=Math.cos(-L),P=Math.sin(-L),N=C*S-I*P,R=E*S-B*P,M=w*S-z*P,H=$*P+H*S,C=N,E=R,w=M),L=Je(E,C),f=L*De,L&&(S=Math.cos(L),P=Math.sin(L),N=C*S+E*P,R=D*S+x*P,E=E*S-C*P,x=x*S-D*P,C=N,D=R),m&&Math.abs(m)+Math.abs(f)>359.9&&(m=f=0,g=180-g),p=at(Math.sqrt(C*C+E*E+w*w)),v=at(Math.sqrt(x*x+rt*rt)),L=Je(D,x),_=Math.abs(L)>2e-4?L*De:0,b=H?1/(H<0?-H:H):0),n.svg&&(N=t.getAttribute("transform"),n.forceCSS=t.setAttribute("transform","")||!ll(Zt(t,it)),N&&t.setAttribute("transform",N))),Math.abs(_)>90&&Math.abs(_)<270&&(s?(p*=-1,_+=f<=0?180:-180,f+=f<=0?180:-180):(v*=-1,_+=_<=0?180:-180)),e=e||n.uncache,n.x=l-((n.xPercent=l&&(!e&&n.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-l)?-50:0)))?t.offsetWidth*n.xPercent/100:0)+o,n.y=h-((n.yPercent=h&&(!e&&n.yPercent||(Math.round(t.offsetHeight/2)===Math.round(-h)?-50:0)))?t.offsetHeight*n.yPercent/100:0)+o,n.z=d+o,n.scaleX=at(p),n.scaleY=at(v),n.rotation=at(f)+a,n.rotationX=at(m)+a,n.rotationY=at(g)+a,n.skewX=_+a,n.skewY=y+a,n.transformPerspective=b+o,(n.zOrigin=parseFloat(c.split(" ")[2])||!e&&n.zOrigin||0)&&(r[Lt]=tr(c)),n.xOffset=n.yOffset=0,n.force3D=Dt.force3D,n.renderTransform=n.svg?ed:sl?cl:td,n.uncache=0,n},tr=function(t){return(t=t.split(" "))[0]+" "+t[1]},Ur=function(t,e,n){var r=mt(e);return at(parseFloat(e)+parseFloat(we(t,"x",n+"px",r)))+r},td=function(t,e){e.z="0px",e.rotationY=e.rotationX="0deg",e.force3D=0,cl(t,e)},$e="0deg",Pi="0px",Pe=") ",cl=function(t,e){var n=e||this,r=n.xPercent,s=n.yPercent,o=n.x,a=n.y,u=n.z,c=n.rotation,l=n.rotationY,h=n.rotationX,d=n.skewX,p=n.skewY,v=n.scaleX,f=n.scaleY,m=n.transformPerspective,g=n.force3D,_=n.target,y=n.zOrigin,b="",T=g==="auto"&&t&&t!==1||g===!0;if(y&&(h!==$e||l!==$e)){var O=parseFloat(l)*li,A=Math.sin(O),L=Math.cos(O),S;
vendor: 6,746 bytes, line 32
32O=parseFloat(h)*li,S=Math.cos(O),o=Ur(_,o,A*S*-y),a=Ur(_,a,-Math.sin(O)*-y),u=Ur(_,u,L*S*-y+y)}m!==Pi&&(b+="perspective("+m+Pe),(r||s)&&(b+="translate("+r+"%, "+s+"%) "),(T||o!==Pi||a!==Pi||u!==Pi)&&(b+=u!==Pi||T?"translate3d("+o+", "+a+", "+u+") ":"translate("+o+", "+a+Pe),c!==$e&&(b+="rotate("+c+Pe),l!==$e&&(b+="rotateY("+l+Pe),h!==$e&&(b+="rotateX("+h+Pe),(d!==$e||p!==$e)&&(b+="skew("+d+", "+p+Pe),(v!==1||f!==1)&&(b+="scale("+v+", "+f+Pe),_.style[it]=b||"translate(0, 0)"},ed=function(t,e){var n=e||this,r=n.xPercent,s=n.yPercent,o=n.x,a=n.y,u=n.rotation,c=n.skewX,l=n.skewY,h=n.scaleX,d=n.scaleY,p=n.target,v=n.xOrigin,f=n.yOrigin,m=n.xOffset,g=n.yOffset,_=n.forceCSS,y=parseFloat(o),b=parseFloat(a),T,O,A,L,S;u=parseFloat(u),c=parseFloat(c),l=parseFloat(l),l&&(l=parseFloat(l),c+=l,u+=l),u||c?(u*=li,c*=li,T=Math.cos(u)*h,O=Math.sin(u)*h,A=Math.sin(u-c)*-d,L=Math.cos(u-c)*d,c&&(l*=li,S=Math.tan(c-l),S=Math.sqrt(1+S*S),A*=S,L*=S,l&&(S=Math.tan(l),S=Math.sqrt(1+S*S),T*=S,O*=S)),T=at(T),O=at(O),A=at(A),L=at(L)):(T=h,L=d,O=A=0),(y&&!~(o+"").indexOf("px")||b&&!~(a+"").indexOf("px"))&&(y=we(p,"x",o,"px"),b=we(p,"y",a,"px")),(v||f||m||g)&&(y=at(y+v-(v*T+f*A)+m),b=at(b+f-(v*O+f*L)+g)),(r||s)&&(S=p.getBBox(),y=at(y+r/100*S.width),b=at(b+s/100*S.height)),S="matrix("+T+","+O+","+A+","+L+","+y+","+b+")",p.setAttribute("transform",S),_&&(p.style[it]=S)},id=function(t,e,n,r,s){var o=360,a=ft(s),u=parseFloat(s)*(a&&~s.indexOf("rad")?De:1),c=u-r,l=r+c+"deg",h,d;return a&&(h=s.split("_")[1],h==="short"&&(c%=o,c!==c%(o/2)&&(c+=c<0?o:-o)),h==="cw"&&c<0?c=(c+o*zo)%o-~~(c/o)*o:h==="ccw"&&c>0&&(c=(c-o*zo)%o-~~(c/o)*o)),t._pt=d=new St(t._pt,e,n,r,c,Bh),d.e=l,d.u="deg",t._props.push(n),d},Ko=function(t,e){for(var n in e)t[n]=e[n];return t},nd=function(t,e,n){var r=Ko({},n._gsap),s="perspective,force3D,transformOrigin,svgOrigin",o=n.style,a,u,c,l,h,d,p,v;r.svg?(c=n.getAttribute("transform"),n.setAttribute("transform",""),o[it]=e,a=sn(n,1),qe(n,it),n.setAttribute("transform",c)):(c=getComputedStyle(n)[it],o[it]=e,a=sn(n,1),o[it]=c);for(u in he)c=r[u],l=a[u],c!==l&&s.indexOf(u)<0&&(p=mt(c),v=mt(l),h=p!==v?we(n,u,c,v):parseFloat(c),d=parseFloat(l),t._pt=new St(t._pt,a,u,h,d-h,ms),t._pt.u=v||0,t._props.push(u));Ko(a,r)};At("padding,margin,Width,Radius",function(i,t){var e="Top",n="Right",r="Bottom",s="Left",o=(t<3?[e,n,r,s]:[e+s,e+n,r+n,r+s]).map(function(a){return t<2?i+a:"border"+a+i});Jn[t>1?"border"+i:i]=function(a,u,c,l,h){var d,p;if(arguments.length<4)return d=o.map(function(v){return re(a,v,c)}),p=d.join(" "),p.split(d[0]).length===5?d[0]:p;d=(l+"").split(" "),p={},o.forEach(function(v,f){return p[v]=d[f]=d[f]||d[(f-1)/2|0]}),a.init(u,p,h)}});var hl={name:"css",register:_s,targetTest:function(t){return t.style&&t.nodeType},init:function(t,e,n,r,s){var o=this._props,a=t.style,u=n.vars.startAt,c,l,h,d,p,v,f,m,g,_,y,b,T,O,A,L;Zs||_s(),this.styles=this.styles||rl(t),L=this.styles.props,this.tween=n;for(f in e)if(f!=="autoRound"&&(l=e[f],!($t[f]&&Yu(f,e,n,r,t,s)))){if(p=typeof l,v=Jn[f],p==="function"&&(l=l.call(n,r,t,s),p=typeof l),p==="string"&&~l.indexOf("random(")&&(l=tn(l)),v)v(this,t,f,l,n)&&(A=1);else if(f.substr(0,2)==="--")c=(getComputedStyle(t).getPropertyValue(f)+"").trim(),l+="",ye.lastIndex=0,ye.test(c)||(m=mt(c),g=mt(l)),g?m!==g&&(c=we(t,f,c,g)+g):m&&(l+=m),this.add(a,"setProperty",c,l,r,s,0,0,f),o.push(f),L.push(f,0,a[f]);else if(p!=="undefined"){if(u&&f in u?(c=typeof u[f]=="function"?u[f].call(n,r,t,s):u[f],ft(c)&&~c.indexOf("random(")&&(c=tn(c)),mt(c+"")||c==="auto"||(c+=Dt.units[f]||mt(re(t,f))||""),(c+"").charAt(1)==="="&&(c=re(t,f))):c=re(t,f),d=parseFloat(c),_=p==="string"&&l.charAt(1)==="="&&l.substr(0,2),_&&(l=l.substr(2)),h=parseFloat(l),f in Qt&&(f==="autoAlpha"&&(d===1&&re(t,"visibility")==="hidden"&&h&&(d=0),L.push("visibility",0,a.visibility),me(this,a,"visibility",d?"inherit":"hidden",h?"inherit":"hidden",!h)),f!=="scale"&&f!=="transform"&&(f=Qt[f],~f.indexOf(",")&&(f=f.split(",")[0]))),y=f in he,y){if(this.styles.save(f),b||(T=t._gsap,T.renderTransform&&!e.parseTransform||sn(t,e.parseTransform),O=e.smoothOrigin!==!1&&T.smooth,b=this._pt=new St(this._pt,a,it,0,1,T.renderTransform,T,0,-1),b.dep=1),f==="scale")this._pt=new St(this._pt,T,"scaleY",T.scaleY,(_?ai(T.scaleY,_+h):h)-T.scaleY||0,ms),this._pt.u=0,o.push("scaleY",f),f+="X";else if(f==="transformOrigin"){L.push(Lt,0,a[Lt]),l=Zh(l),T.svg?ys(t,l,0,O,0,this):(g=parseFloat(l.split(" ")[2])||0,g!==T.zOrigin&&me(this,T,"zOrigin",T.zOrigin,g),me(this,a,f,tr(c),tr(l)));continue}else if(f==="svgOrigin"){ys(t,l,1,O,0,this);continue}else if(f in ul){id(this,T,f,d,_?ai(d,_+l):l);continue}else if(f==="smoothOrigin"){me(this,T,"smooth",T.smooth,l);continue}else if(f==="force3D"){T[f]=l;continue}else if(f==="transform"){nd(this,l,t);continue}}else f in a||(f=wi(f)||f);if(y||(h||h===0)&&(d||d===0)&&!Fh.test(l)&&f in a)m=(c+"").substr((d+"").length),h||(h=0),g=mt(l)||(f in Dt.units?Dt.units[f]:m),m!==g&&(d=we(t,f,c,g)),this._pt=new St(this._pt,y?T:a,f,d,(_?ai(d,_+h):h)-d,!y&&(g==="px"||f==="zIndex")&&e.autoRound!==!1?Uh:ms),this._pt.u=g||0,m!==g&&g!=="%"&&(this._pt.b=c,this._pt.r=Vh);else if(f in a)Qh.call(this,t,f,c,_?_+l:l);else if(f in t)this.add(t,f,c||t[f],_?_+l:l,r,s);else if(f!=="parseTransform"){Hs(f,l);continue}y||(f in a?L.push(f,0,a[f]):typeof t[f]=="function"?L.push(f,2,t[f]()):L.push(f,1,c||t[f])),o.push(f)}}A&&Ju(this)},render:function(t,e){if(e.tween._time||!Js())for(var n=e._pt;n;)n.r(t,n.d),n=n._next;else e.styles.revert()},get:re,aliases:Qt,getSetter:function(t,e,n){var r=Qt[e];return r&&r.indexOf(",")<0&&(e=r),e in he&&e!==Lt&&(t._gsap.x||re(t,"x"))?n&&Uo===n?e==="scale"?Wh:qh:(Uo=n||{})&&(e==="scale"?Gh:Yh):t.style&&!Vs(t.style[e])?zh:~e.indexOf("-")?Hh:Xs(t,e)},core:{_removeProperty:qe,_getMatrix:eo}};Ot.utils.checkPrefix=wi;Ot.core.getStyleSaver=rl;(function(i,t,e,n){var r=At(i+","+t+","+e,function(s){he[s]=1});At(t,function(s){Dt.units[s]="deg",ul[s]=1}),Qt[r[13]]=i+","+t,At(n,function(s){var o=s.split(":");Qt[o[1]]=r[o[0]]})})("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY","transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective","0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY");At("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(i){Dt.units[i]="px"});Ot.registerPlugin(hl);var Es=Ot.registerPlugin(hl)||Ot;Es.core.Tween;const F={HEADER_OPENED:"Header:openedMenu",HEADER_CLOSED:"Header:hiddenMenu",HEADER_CLOSE_MENU:"Header:closeMenu",HEADER_UPDATE_COLOR:"Header:updateColor",INVIEWPORT_VISIBLE:"InViewport:visible",INVIEWPORT_NOT_VISIBLE:"InViewport:notVisible",CAROUSEL_INIT:"Carousel:Init",CAROUSEL_DESTROY:"Carousel:
32Destroy",CAROUSEL_CHANGE:"Carousel:Change",MODAL_NODE_TOOLTIP_ENABLE:"Tooltip:enable",PAGECOLOR_RESET:"pageColor:reset",SEARCH_SUBMIT:"Search:submit",FILTER_FORM_RESET:"FilterForm:reset",FILTER_FORM_UPDATE:"FilterForm:update",MODAL_CONTENT_HIDE_ALL:"ModalContent:hideAll",MODAL_NODE_CLOSED:"Modal:closed",MODAL_NODE_OPENED:"Modal:opened",MODAL_NODE_OPEN:"Modal:open",MODAL_NODE_TOGGLE:"Modal:toggle",MODAL_NODE_CLOSE:"Modal:close",MODAL_CLOSE_ALL:"Modal:closeAll",SWUP_ANIMATION_END:"Swup:animationEnd",SWUP_ANIMATION_START:"Swup:animationStart",SWUP_CONTENT_REPLACED:"Swup:contentReplaced"},rd="data-visible",sd=W("animDigit",{play(i=3){const t=this.$units.querySelector("p").getBoundingClientRect().height,e=-this.targetTens*t,n=-this.targetUnits*t,r=Es.timeline({defaults:{ease:"none"},repeat:-1,repeatDelay:1,paused:!0});r.add("p1").to(this.$tens,{y:e,duration:i},"p1").to(this.$units,{y:n,repeat:1,duration:i/2,onComplete:()=>{this.$intro&&this.$intro.setAttribute(rd,"true")}},"p1"),Es.to(r,i,{progress:1,ease:"power3.inOut"})},addEvents(){document.addEventListener(F.SWUP_CONTENT_REPLACED,this.onRefreshStart)},removeEvents(){document.removeEventListener(F.SWUP_CONTENT_REPLACED,this.onRefreshStart)}},{init(){this.$tens=this.getChild("tens"),this.$units=this.getChild("units"),this.targetTens=this.options.tens||"2",this.targetUnits=this.options.units||"5",this.$intro=document.querySelector("[data-AnimDigit-intro]")||null,window.setTimeout(()=>this.play(),400),this.addEvents()},resized(){this.play(1)},destroy(){this.removeEvents()}});function od(i,t){for(var e=0;e<t.length;e++){var n=t[e];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(i,n.key,n)}}function ad(i,t,e){return t&&od(i.prototype,t),Object.defineProperty(i,"prototype",{writable:!1}),i}/*!
33 * Splide.js
34 * Version  : 4.1.4
35 * License  : MIT
36 * Copyright: 2022 Naotoshi Fujita
37 */var Xo="(prefers-reduced-motion: reduce)",si=1,ud=2,bi=3,Si=4,vn=5,Un=6,er=7,ld={CREATED:si,MOUNTED:ud,IDLE:bi,MOVING:Si,SCROLLING:vn,DRAGGING:Un,DESTROYED:er};function de(i){i.length=0}function Le(i,t,e){return Array.prototype.slice.call(i,t,e)}function Q(i){return i.bind.apply(i,[null].concat(Le(arguments,1)))}var dl=setTimeout,ws=function(){};function Qo(i){return requestAnimationFrame(i)}function _r(i,t){return typeof t===i}function on(i){return!no(i)&&_r("object",i)}var io=Array.isArray,fl=Q(_r,"function"),be=Q(_r,"string"),mn=Q(_r,"undefined");function no(i){return i===null}function pl(i){try{return i instanceof(i.ownerDocument.defaultView||window).HTMLElement}catch{return!1}}function gn(i){return io(i)?i:[i]}function Vt(i,t){gn(i).forEach(t)}function ro(i,t){return i.indexOf(t)>-1}function zn(i,t){return i.push.apply(i,gn(t)),i}function ae(i,t,e){i&&Vt(t,function(n){n&&i.classList[e?"add":"remove"](n)})}function te(i,t){ae(i,be(t)?t.split(" "):t,!0)}function _n(i,t){Vt(t,i.appendChild.bind(i))}function so(i,t){Vt(i,function(e){var n=(t||e).parentNode;n&&n.insertBefore(e,t)})}function an(i,t){return pl(i)&&(i.msMatchesSelector||i.matches).call(i,t)}function vl(i,t){var e=i?Le(i.children):[];return t?e.filter(function(n){return an(n,t)}):e}function yn(i,t){return t?vl(i,t)[0]:i.firstElementChild}var un=Object.keys;function Ve(i,t,e){return i&&(e?un(i).reverse():un(i)).forEach(function(n){n!=="__proto__"&&t(i[n],n)}),i}function ln(i){return Le(arguments,1).forEach(function(t){Ve(t,function(e,n){i[n]=t[n]})}),i}function ge(i){return Le(arguments,1).forEach(function(t){Ve(t,function(e,n){io(e)?i[n]=e.slice():on(e)?i[n]=ge({},on(i[n])?i[n]:{},e):i[n]=e})}),i}function Zo(i,t){Vt(t||un(i),function(e){delete i[e]})}function ee(i,t){Vt(i,function(e){Vt(t,function(n){e&&e.removeAttribute(n)})})}function q(i,t,e){on(t)?Ve(t,function(n,r){q(i,r,n)}):Vt(i,function(n){no(e)||e===""?ee(n,t):n.setAttribute(t,String(e))})}function ci(i,t,e){var n=document.createElement(i);return t&&(be(t)?te(n,t):q(n,t)),e&&_n(e,n),n}function zt(i,t,e){if(mn(e))return getComputedStyle(i)[t];no(e)||(i.style[t]=""+e)}function cn(i,t){zt(i,"display",t)}function ml(i){i.setActive&&i.setActive()||i.focus({preventScroll:!0})}function Ht(i,t){return i.getAttribute(t)}function Jo(i,t){return i&&i.classList.contains(t)}function Mt(i){return i.getBoundingClientRect()}function We(i){Vt(i,function(t){t&&t.parentNode&&t.parentNode.removeChild(t)})}function gl(i){return yn(new DOMParser().parseFromString(i,"text/html").body)}function se(i,t){i.preventDefault(),t&&(i.stopPropagation(),i.stopImmediatePropagation())}function _l(i,t){return i&&i.querySelector(t)}function oo(i,t){return t?Le(i.querySelectorAll(t)):[]}function ue(i,t){ae(i,t,!1)}function bs(i){return i.timeStamp}function Ie(i){return be(i)?i:i?i+"px":""}var En="splide",ao="data-"+En;function Hi(i,t){if(!i)throw new Error("["+En+"] "+(t||""))}var Te=Math.min,ir=Math.max,nr=Math.floor,hn=Math.ceil,bt=Math.abs;function yl(i,t,e){return bt(i-t)<e}function Hn(i,t,e,n){var r=Te(t,e),s=ir(t,e);return n?r<i&&i<s:r<=i&&i<=s}function ei(i,t,e){var n=Te(t,e),r=ir(t,e);return Te(ir(n,i),r)}function Ts(i){return+(i>0)-+(i<0)}function As(i,t){return Vt(t,function(e){i=i.replace("%s",""+e)}),i}function uo(i){return i<10?"0"+i:""+i}var ta={};function cd(i){return""+i+uo(ta[i]=(ta[i]||0)+1)}function El(){var i=[];function t(o,a,u,c){r(o,a,function(l,h,d){var p="addEventListener"in l,v=p?l.removeEventListener.bind(l,h,u,c):l.removeListener.bind(l,u);p?l.addEventListener(h,u,c):l.addListener(u),i.push([l,h,d,u,v])})}function e(o,a,u){r(o,a,function(c,l,h){i=i.filter(function(d){return d[0]===c&&d[1]===l&&d[2]===
vendor: 1,972 bytes, line 37
37h&&(!u||d[3]===u)?(d[4](),!1):!0})})}function n(o,a,u){var c,l=!0;return typeof CustomEvent=="function"?c=new CustomEvent(a,{bubbles:l,detail:u}):(c=document.createEvent("CustomEvent"),c.initCustomEvent(a,l,!1,u)),o.dispatchEvent(c),c}function r(o,a,u){Vt(o,function(c){c&&Vt(a,function(l){l.split(" ").forEach(function(h){var d=h.split(".");u(c,d[0],d[1])})})})}function s(){i.forEach(function(o){o[4]()}),de(i)}return{bind:t,unbind:e,dispatch:n,destroy:s}}var Qe="mounted",ea="ready",Ae="move",wn="moved",wl="click",hd="active",dd="inactive",fd="visible",pd="hidden",ht="refresh",Ct="updated",dn="resize",lo="resized",vd="drag",md="dragging",gd="dragged",co="scroll",Li="scrolled",_d="overflow",bl="destroy",yd="arrows:mounted",Ed="arrows:updated",wd="pagination:mounted",bd="pagination:updated",Tl="navigation:mounted",Al="autoplay:play",Td="autoplay:playing",Sl="autoplay:pause",Ll="lazyload:loaded",Ol="sk",Cl="sh",rr="ei";function nt(i){var t=i?i.event.bus:document.createDocumentFragment(),e=El();function n(s,o){e.bind(t,gn(s).join(" "),function(a){o.apply(o,io(a.detail)?a.detail:[])})}function r(s){e.dispatch(t,s,Le(arguments,1))}return i&&i.event.on(bl,e.destroy),ln(e,{bus:t,on:n,off:Q(e.unbind,t),emit:r})}function yr(i,t,e,n){var r=Date.now,s,o=0,a,u=!0,c=0;function l(){if(!u){if(o=i?Te((r()-s)/i,1):1,e&&e(o),o>=1&&(t(),s=r(),n&&++c>=n))return d();a=Qo(l)}}function h(g){g||v(),s=r()-(g?o*i:0),u=!1,a=Qo(l)}function d(){u=!0}function p(){s=r(),o=0,e&&e(o)}function v(){a&&cancelAnimationFrame(a),o=0,a=0,u=!0}function f(g){i=g}function m(){return u}return{start:h,rewind:p,pause:d,cancel:v,set:f,isPaused:m}}function Ad(i){var t=i;function e(r){t=r}function n(r){return ro(gn(r),t)}return{set:e,is:n}}function Sd(i,t){var e=yr(0,i,null,1);return function(){e.isPaused()&&e.start()}}function Ld(i,t,e){var n=i.state,r=e.breakpoints||{},s=e.reducedMotion||{},o=El(),a=[];function u(){var v=e.mediaQuery==="min";un(r).sort(function(f,m){return v?+f-+m:+m-+f}
vendor: 13,047 bytes, line 37
37).forEach(function(f){l(r[f],"("+(v?"min":"max")+"-width:"+f+"px)")}),l(s,Xo),h()}function c(v){v&&o.destroy()}function l(v,f){var m=matchMedia(f);o.bind(m,"change",h),a.push([v,m])}function h(){var v=n.is(er),f=e.direction,m=a.reduce(function(g,_){return ge(g,_[1].matches?_[0]:{})},{});Zo(e),p(m),e.destroy?i.destroy(e.destroy==="completely"):v?(c(!0),i.mount()):f!==e.direction&&i.refresh()}function d(v){matchMedia(Xo).matches&&(v?ge(e,s):Zo(e,un(s)))}function p(v,f,m){ge(e,v),f&&ge(Object.getPrototypeOf(e),v),(m||!n.is(si))&&i.emit(Ct,e)}return{setup:u,destroy:c,reduce:d,set:p}}var Er="Arrow",wr=Er+"Left",br=Er+"Right",$l=Er+"Up",Pl=Er+"Down",ia="rtl",Tr="ttb",zr={width:["height"],left:["top","right"],right:["bottom","left"],x:["y"],X:["Y"],Y:["X"],ArrowLeft:[$l,br],ArrowRight:[Pl,wr]};function Od(i,t,e){function n(s,o,a){a=a||e.direction;var u=a===ia&&!o?1:a===Tr?0:-1;return zr[s]&&zr[s][u]||s.replace(/width|left|right/i,function(c,l){var h=zr[c.toLowerCase()][u]||c;return l>0?h.charAt(0).toUpperCase()+h.slice(1):h})}function r(s){return s*(e.direction===ia?1:-1)}return{resolve:n,orient:r}}var le="role",hi="tabindex",Cd="disabled",qt="aria-",bn=qt+"controls",Il=qt+"current",na=qt+"selected",Bt=qt+"label",ho=qt+"labelledby",Dl=qt+"hidden",fo=qt+"orientation",fn=qt+"roledescription",ra=qt+"live",sa=qt+"busy",oa=qt+"atomic",po=[le,hi,Cd,bn,Il,Bt,ho,Dl,fo,fn],ie=En+"__",Oe="is-",Hr=En,aa=ie+"track",$d=ie+"list",Ar=ie+"slide",kl=Ar+"--clone",Pd=Ar+"__container",vo=ie+"arrows",Sr=ie+"arrow",xl=Sr+"--prev",Rl=Sr+"--next",Lr=ie+"pagination",Ml=Lr+"__page",Id=ie+"progress",Dd=Id+"__bar",kd=ie+"toggle",xd=ie+"spinner",Rd=ie+"sr",Md=Oe+"initialized",Ge=Oe+"active",Nl=Oe+"prev",Fl=Oe+"next",Ss=Oe+"visible",Ls=Oe+"loading",Bl=Oe+"focus-in",Vl=Oe+"overflow",Nd=[Ge,Ss,Nl,Fl,Ls,Bl,Vl],Fd={slide:Ar,clone:kl,arrows:vo,arrow:Sr,prev:xl,next:Rl,pagination:Lr,page:Ml,spinner:xd};function Bd(i,t){if(fl(i.closest))return i.closest(t);for(var e=i;e&&e.nodeType===1&&!an(e,t);)e=e.parentElement;return e}var Vd=5,ua=200,Ul="touchstart mousedown",qr="touchmove mousemove",Wr="touchend touchcancel mouseup click";function Ud(i,t,e){var n=nt(i),r=n.on,s=n.bind,o=i.root,a=e.i18n,u={},c=[],l=[],h=[],d,p,v;function f(){y(),b(),_()}function m(){r(ht,g),r(ht,f),r(Ct,_),s(document,Ul+" keydown",function(A){v=A.type==="keydown"},{capture:!0}),s(o,"focusin",function(){ae(o,Bl,!!v)})}function g(A){var L=po.concat("style");de(c),ue(o,l),ue(d,h),ee([d,p],L),ee(o,A?L:["style",fn])}function _(){ue(o,l),ue(d,h),l=O(Hr),h=O(aa),te(o,l),te(d,h),q(o,Bt,e.label),q(o,ho,e.labelledby)}function y(){d=T("."+aa),p=yn(d,"."+$d),Hi(d&&p,"A track/list element is missing."),zn(c,vl(p,"."+Ar+":not(."+kl+")")),Ve({arrows:vo,pagination:Lr,prev:xl,next:Rl,bar:Dd,toggle:kd},function(A,L){u[L]=T("."+A)}),ln(u,{root:o,track:d,list:p,slides:c})}function b(){var A=o.id||cd(En),L=e.role;o.id=A,d.id=d.id||A+"-track",p.id=p.id||A+"-list",!Ht(o,le)&&o.tagName!=="SECTION"&&L&&q(o,le,L),q(o,fn,a.carousel),q(p,le,"presentation")}function T(A){var L=_l(o,A);return L&&Bd(L,"."+Hr)===o?L:void 0}function O(A){return[A+"--"+e.type,A+"--"+e.direction,e.drag&&A+"--draggable",e.isNavigation&&A+"--nav",A===Hr&&Ge]}return ln(u,{setup:f,mount:m,destroy:g})}var Ti="slide",Oi="loop",Tn="fade";function zd(i,t,e,n){var r=nt(i),s=r.on,o=r.emit,a=r.bind,u=i.Components,c=i.root,l=i.options,h=l.isNavigation,d=l.updateOnMove,p=l.i18n,v=l.pagination,f=l.slideFocus,m=u.Direction.resolve,g=Ht(n,"style"),_=Ht(n,Bt),y=e>-1,b=yn(n,"."+Pd),T;function O(){y||(n.id=c.id+"-slide"+uo(t+1),q(n,le,v?"tabpanel":"group"),q(n,fn,p.slide),q(n,Bt,_||As(p.slideLabel,[t+1,i.length]))),A()}function A(){a(n,"click",Q(o,wl,R)),a(n,"keydown",Q(o,Ol,R)),s([wn,Cl,Li],C),s(Tl,S),d&&s(Ae,P)}function L(){T=!0,r.destroy(),ue(n,Nd),ee(n,po),q(n,"style",g),q(n,Bt,_||"")}function S(){var M=i.splides.map(function(I){var B=I.splide.Components.Slides.getAt(t);return B?B.slide.id:""}).join(" ");q(n,Bt,As(p.slideX,(y?e:t)+1)),q(n,bn,M),q(n,le,f?"button":""),f&&ee(n,fn)}function P(){T||C()}function C(){if(!T){var M=i.index;E(),w(),ae(n,Nl,t===M-1),ae(n,Fl,t===M+1)}}function E(){var M=D();M!==Jo(n,Ge)&&(ae(n,Ge,M),q(n,Il,h&&M||""),o(M?hd:dd,R))}function w(){var M=x(),I=!M&&(!D()||y);if(i.state.is([Si,vn])||q(n,Dl,I||""),q(oo(n,l.focusableNodes||""),hi,I?-1:""),f&&q(n,hi,I?-1:0),M!==Jo(n,Ss)&&(ae(n,Ss,M),o(M?fd:pd,R)),!M&&document.activeElement===n){var B=u.Slides.getAt(i.index);B&&ml(B.slide)}}function $(M,I,B){zt(B&&b||n,M,I)}function D(){var M=i.index;return M===t||l.cloneStatus&&M===e}function x(){if(i.is(Tn))return D();var M=Mt(u.Elements.track),I=Mt(n),B=m("left",!0),z=m("right",!0);return nr(M[B])<=hn(I[B])&&nr(I[z])<=hn(M[z])}function N(M,I){var B=bt(M-t);return!y&&(l.rewind||i.is(Oi))&&(B=Te(B,i.length-B)),B<=I}var R={index:t,slideIndex:e,slide:n,container:b,isClone:y,mount:O,destroy:L,update:C,style:$,isWithin:N};return R}function Hd(i,t,e){var n=nt(i),r=n.on,s=n.emit,o=n.bind,a=t.Elements,u=a.slides,c=a.list,l=[];function h(){d(),r(ht,p),r(ht,d)}function d(){u.forEach(function(C,E){f(C,E,-1)})}function p(){T(function(C){C.destroy()}),de(l)}function v(){T(function(C){C.update()})}function f(C,E,w){var $=zd(i,E,w,C);$.mount(),l.push($),l.sort(function(D,x){return D.index-x.index})}function m(C){return C?O(function(E){return!E.isClone}):l}function g(C){var E=t.Controller,w=E.toIndex(C),$=E.hasFocus()?1:e.perPage;return O(function(D){return Hn(D.index,w,w+$-1)})}function _(C){return O(C)[0]}function y(C,E){Vt(C,function(w){if(be(w)&&(w=gl(w)),pl(w)){var $=u[E];$?so(w,$):_n(c,w),te(w,e.classes.slide),L(w,Q(s,dn))}}),s(ht)}function b(C){We(O(C).map(function(E){return E.slide})),s(ht)}function T(C,E){m(E).forEach(C)}function O(C){return l.filter(fl(C)?C:function(E){return be(C)?an(E.slide,C):ro(gn(C),E.index)})}function A(C,E,w){T(function($){$.style(C,E,w)})}function L(C,E){var w=oo(C,"img"),$=w.length;$?w.forEach(function(D){o(D,"load error",function(){--$||E()})}):E()}function S(C){return C?u.length:l.length}function P(){return l.length>e.perPage}return{mount:h,destroy:p,update:v,register:f,get:m,getIn:g,getAt:_,add:y,remove:b,forEach:T,filter:O,style:A,getLength:S,isEnough:P}}function qd(i,t,e){var n=nt(i),r=n.on,s=n.bind,o=n.emit,a=t.Slides,u=t.Direction.resolve,c=t.Elements,l=c.root,h=c.track,d=c.list,p=a.getAt,v=a.style,f,m,g;function _(){y(),s(window,"resize load",Sd(Q(o,dn))),r([Ct,ht],y),r(dn,b)}function y(){f=e.direction===Tr,zt(l,"maxWidth",Ie(e.width)),zt(h,u("paddingLeft"),T(!1)),zt(h,u("paddingRight"),T(!0)),b(!0)}function b(R){var M=Mt(l);(R||m.width!==M.width||m.height!==M.height)&&(zt(h,"height",O()),v(u("marginRight"),Ie(e.gap)),v("width",L()),v("height",S(),!0),m=M,o(lo),g!==(g=N())&&(ae(l,Vl,g),o(_d,g)))}function T(R){var M=e.padding,I=u(R?"right":"left");return M&&Ie(M[I]||(on(M)?0:M))||"0px"}function O(){var R="";return f&&(R=A(),Hi(R,"height or heightRatio is missing."),R="calc("+R+" - "+T(!1)+" - "+T(!0)+")"),R}function A(){return Ie(e.height||Mt(d).width*e.heightRatio)}function L(){return e.autoWidth?null:Ie(e.fixedWidth)||(f?"":P())}function S(){return Ie(e.fixedHeight)||(f?e.autoHeight?null:P():A())}function P(){var R=Ie(e.gap);return"calc((100%"+(R&&" + "+R)+")/"+(e.perPage||1)+(R&&" - "+R)+")"}function C(){return Mt(d)[u("width")]}function E(R,M){var I=p(R||0);return I?Mt(I.slide)[u("width")]+(M?0:D()):0}function w(R,M){var I=p(R);if(I){var B=Mt(I.slide)[u("right")],z=Mt(d)[u("left")];return bt(B-z)+(M?0:D())}return 0}function $(R){return w(i.length-1)-w(0)+E(0,R)}function D(){var R=p(0);return R&&parseFloat(zt(R.slide,u("marginRight")))||0}function x(R){return parseFloat(zt(h,u("padding"+(R?"Right":"Left"))))||0}function N(){return i.is(Tn)||$(!0)>C()}return{mount:_,resize:b,listSize:C,slideSize:E,sliderSize:$,totalSize:w,getPadding:x,isOverflow:N}}var Wd=2;function Gd(i,t,e){var n=nt(i),r=n.on,s=t.Elements,o=t.Slides,a=t.Direction.resolve,u=[],c;function l(){r(ht,h),r([Ct,dn],p),(c=m())&&(v(c),t.Layout.resize(!0))}function h(){d(),l()}function d(){We(u),de(u),n.destroy()}function p(){var g=m();c!==g&&(c<g||!g)&&n.emit(ht)}function v(g){var _=o.get().slice(),y=_.length;if(y){for(;_.length<g;)zn(_,_);zn(_.slice(-g),_.slice(0,g)).forEach(function(b,T){var O=T<g,A=f(b.slide,T);O?so(A,_[0].slide):_n(s.list,A),zn(u,A),o.register(A,T-g+(O?0:y),b.index)})}}function f(g,_){var y=g.cloneNode(!0);return te(y,e.classes.clone),y.id=i.root.id+"-clone"+uo(_+1),y}function m(){var g=e.clones;if(!i.is(Oi))g=0;else if(mn(g)){var _=e[a("fixedWidth")]&&t.Layout.slideSize(0),y=_&&hn(Mt(s.track)[a("width")]/_);g=y||e[a("autoWidth")]&&i.length||e.perPage*Wd}return g}return{mount:l,destroy:d}}function Yd(i,t,e){var n=nt(i),r=n.on,s=n.emit,o=i.state.set,a=t.Layout,u=a.slideSize,c=a.getPadding,l=a.totalSize,h=a.listSize,d=a.sliderSize,p=t.Direction,v=p.resolve,f=p.orient,m=t.Elements,g=m.list,_=m.track,y;function b(){y=t.Transition,r([Qe,lo,Ct,ht],T)}function T(){t.Controller.isBusy()||(t.Scroll.cancel(),A(i.index),t.Slides.update())}function O(I,B,z,U){I!==B&&R(I>z)&&(C(),L(P($(),I>z),!0)),o(Si),s(Ae,B,z,I),y.start(B,function(){o(bi),s(wn,B,z,I),U&&U()})}function A(I){L(w(I,!0))}function L(I,B){if(!i.is(Tn)){var z=B?I:S(I);zt(g,"transform","translate"+v("X")+"("+z+"px)"),I!==z&&s(Cl)}}function S(I){if(i.is(Oi)){var B=E(I),z=B>t.Controller.getEnd(),U=B<0;(U||z)&&(I=P(I,z))}return I}function P(I,B){var z=I-N(B),U=d();return I-=f(U*(hn(bt(z)/U)||1))*(B?1:-1),I}function C(){L($(),!0),y.cancel()}function E(I){for(var B=t.Slides.get(),z=0,U=1/0,H=0;H<B.length;H++){var rt=B[H].index,k=bt(w(rt,!0)-I);if(k<=U)U=k,z=rt;else break}return z}function w(I,B){var z=f(l(I-1)-x(I));return B?D(z):z}function $(){var I=v("left");return Mt(g)[I]-Mt(_)[I]+f(c(!1))}function D(I){return e.trimSpace&&i.is(Ti)&&(I=ei(I,0,f(d(!0)-h()))),I}function x(I){var B=e.focus;return B==="center"?(h()-u(I,!0))/2:+B*u(I)||0}function N(I){return w(I?t.Controller.getEnd():0,!!e.trimSpace)}function R(I){var B=f(P($(),I));return I?B>=0:B<=g[v("scrollWidth")]-Mt(_)[v("width")]}function M(I,B){B=mn(B)?$():B;var z=I!==!0&&f(B)<f(N(!1)),U=I!==!1&&f(B)>f(N(!0));return z||U}return{mount:b,move:O,jump:A,translate:L,shift:P,cancel:C,toIndex:E,toPosition:w,getPosition:$,getLimit:N,exceededLimit:M,reposition:T}}function jd(i,t,e){var n=nt(i),r=n.on,s=n.emit,o=t.Move,a=o.getPosition,u=o.getLimit,c=o.toPosition,l=t.Slides,h=l.isEnough,d=l.getLength,p=e.omitEnd,v=i.is(Oi),f=i.is(Ti),m=Q($,!1),g=Q($,!0),_=e.start||0,y,b=_,T,O,A;function L(){S(),r([Ct,ht,rr],S),r(lo,P)}function S(){T=d(!0),O=e.perMove,A=e.perPage,y=R();var k=ei(_,0,p?y:T-1);k!==_&&(_=k,o.reposition())}function P(){y!==R()&&s(rr)}function C(k,j,wt){if(!rt()){var ut=w(k),_t=N(ut);_t>-1&&(j||_t!==_)&&(z(_t),o.move(ut,_t,b,wt))}}function E(k,j,wt,ut){t.Scroll.scroll(k,j,wt,function(){var _t=N(o.toIndex(a()));z(p?Te(_t,y):_t),ut&&ut()})}function w(k){var j=_;if(be(k)){var wt=k.match(/([+\-<>])(\d+)?/)||[],ut=wt[1],_t=wt[2];ut==="+"||ut==="-"?j=D(_+ +(""+ut+(+_t||1)),_):ut===">"?j=_t?M(+_t):m(!0):ut==="<"&&(j=g(!0))}else j=v?k:ei(k,0,y);return j}function $(k,j){var wt=O||(H()?1:A),ut=D(_+wt*(k?-1:1),_,!(O||H()));return ut===-1&&f&&!yl(a(),u(!k),1)?k?0:y:j?ut:N(ut)}function D(k,j,wt){if(h()||H()){var ut=x(k);ut!==k&&(j=k,k=ut,wt=!1),k<0||k>y?!O&&(Hn(0,k,j,!0)||Hn(y,j,k,!0))?k=M(I(k)):v?k=wt?k<0?-(T%A||A):T:k:e.rewind?k=k<0?y:0:k=-1:wt&&k!==j&&(k=M(I(j)+(k<j?-1:1)))}else k=-1;return k}function x(k){if(f&&e.trimSpace==="move"&&k!==_)for(var j=a();j===c(k,!0)&&Hn(k,0,i.length-1,!e.rewind);)k<_?--k:++k;return k}function N(k){return v?(k+T)%T||0:k}function R(){for(var k=T-(H()||v&&O?1:A);p&&k-- >0;)if(c(T-1,!0)!==c(k,!0)){k++;break}return ei(k,0,T-1)}function M(k){return ei(H()?k:A*k,0,y)}function I(k){return H()?Te(k,y):nr((k>=y?T-1:k)/A)}function B(k){var j=o.toIndex(k);return f?ei(j,0,y):j}function z(k){k!==_&&(b=_,_=k)}function U(k){return k?b:_}function H(){return!mn(e.focus)||e.isNavigation}function rt(){return i.state.is([Si,vn])&&!!e.waitForTransition}return{mount:L,go:C,scroll:E,getNext:m,getPrev:g,getAdjacent:$,getEnd:R,setIndex:z,getIndex:U,toIndex:M,toPage:I,toDest:B,hasFocus:H,isBusy:rt}}var Kd="http://www.w3.org/2000/svg",Xd="m15.5 0.932-4.3 4.38 14.5 14.6-14.5 14.5 4.3 4.4 14.6-14.6 4.4-4.3-4.4-4.4-14.6-14.6z",Ln=40;function Qd(i,t,e){var n=nt(i),r=n.on,s=n.bind,o=n.emit,a=e.classes,u=e.i18n,c=t.Elements,l=t.Controller,h=c.arrows,d=c.track,p=h,v=c.prev,f=c.next,m,g,_={};function y(){T(),r(Ct,b)}function b(){O(),y()}function T(){var E=e.arrows;E&&!(v&&f)&&S(),v&&f&&(ln(_,{prev:v,next:f}),cn(p,E?"":"none"),te(p,g=vo+"--"+e.direction),E&&(A(),C(),q([v,f],bn,d.id),o(yd,v,f)))}function O(){n.destroy(),ue(p,g),m?(We(h?[v,f]:p),v=f=null):ee([v,f],po)}function A(){r([Qe,wn,ht,Li,rr],C),s(f,"click",Q(L,">")),s(v,"click",Q(L,"<"))}function L(E){l.go(E,!0)}function S(){p=h||ci("div",a.arrows),v=P(!0),f=P(!1),m=!0,_n(p,[v,f]),!h&&so(p,d)}function P(E){var w='<button class="'+a.arrow+" "+(E?a.prev:a.next)+'" type="button"><svg xmlns="'+Kd+'" viewBox="0 0 '+Ln+" "+Ln+'" width="'+Ln+'" height="'+Ln+'" focusable="false">
37<path d="'+(e.arrowPath||Xd)+'" />';return gl(w)}function C(){if(v&&f){var E=i.index,w=l.getPrev(),$=l.getNext(),D=w>-1&&E<w?u.last:u.prev,x=$>-1&&E>$?u.first:u.next;v.disabled=w<0,f.disabled=$<0,q(v,Bt,D),q(f,Bt,x),o(Ed,v,f,w,$)}}return{arrows:_,mount:y,destroy:O,update:C}}var Zd=ao+"-interval";function Jd(i,t,e){var n=nt(i),r=n.on,s=n.bind,o=n.emit,a=yr(e.interval,i.go.bind(i,">"),A),u=a.isPaused,c=t.Elements,l=t.Elements,h=l.root,d=l.toggle,p=e.autoplay,v,f,m=p==="pause";function g(){p&&(_(),d&&q(d,bn,c.track.id),m||y(),O())}function _(){e.pauseOnHover&&s(h,"mouseenter mouseleave",function(S){v=S.type==="mouseenter",T()}),e.pauseOnFocus&&s(h,"focusin focusout",function(S){f=S.type==="focusin",T()}),d&&s(d,"click",function(){m?y():b(!0)}),r([Ae,co,ht],a.rewind),r(Ae,L)}function y(){u()&&t.Slides.isEnough()&&(a.start(!e.resetProgress),f=v=m=!1,O(),o(Al))}function b(S){S===void 0&&(S=!0),m=!!S,O(),u()||(a.pause(),o(Sl))}function T(){m||(v||f?b(!1):y())}function O(){d&&(ae(d,Ge,!m),q(d,Bt,e.i18n[m?"play":"pause"]))}function A(S){var P=c.bar;P&&zt(P,"width",S*100+"%"),o(Td,S)}function L(S){var P=t.Slides.getAt(S);a.set(P&&+Ht(P.slide,Zd)||e.interval)}return{mount:g,destroy:a.cancel,play:y,pause:b,isPaused:u}}function tf(i,t,e){var n=nt(i),r=n.on;function s(){e.cover&&(r(Ll,Q(a,!0)),r([Qe,Ct,ht],Q(o,!0)))}function o(u){t.Slides.forEach(function(c){var l=yn(c.container||c.slide,"img");l&&l.src&&a(u,l,c)})}function a(u,c,l){l.style("background",u?'center/cover no-repeat url("'+c.src+'")':"",!0),cn(c,u?"none":"")}return{mount:s,destroy:Q(o,!1)}}var ef=10,nf=600,rf=.6,sf=1.5,of=800;function af(i,t,e){var n=nt(i),r=n.on,s=n.emit,o=i.state.set,a=t.Move,u=a.getPosition,c=a.getLimit,l=a.exceededLimit,h=a.translate,d=i.is(Ti),p,v,f=1;function m(){r(Ae,b),r([Ct,ht],T)}function g(A,L,S,P,C){var E=u();if(b(),S&&(!d||!l())){var w=t.Layout.sliderSize(),$=Ts(A)*w*nr(bt(A)/w)||0;A=a.toPosition(t.Controller.toDest(A%w))+$}var D=yl(E,A,1);f=1,L=D?0:L||ir(bt(A-E)/sf,of),v=P,p=yr(L,_,Q(y,E,A,C),1),o(vn),s(co),p.start()}function _(){o(bi),v&&v(),s(Li)}function y(A,L,S,P){var C=u(),E=A+(L-A)*O(P),w=(E-C)*f;h(C+w),d&&!S&&l()&&(f*=rf,bt(w)<ef&&g(c(l(!0)),nf,!1,v,!0))}function b(){p&&p.cancel()}function T(){p&&!p.isPaused()&&(b(),_())}function O(A){var L=e.easingFunc;return L?L(A):1-Math.pow(1-A,4)}return{mount:m,destroy:b,scroll:g,cancel:T}}var ii={passive:!1,capture:!0};function uf(i,t,e){var n=nt(i),r=n.on,s=n.emit,o=n.bind,a=n.unbind,u=i.state,c=t.Move,l=t.Scroll,h=t.Controller,d=t.Elements.track,p=t.Media.reduce,v=t.Direction,f=v.resolve,m=v.orient,g=c.getPosition,_=c.exceededLimit,y,b,T,O,A,L=!1,S,P,C;function E(){o(d,qr,ws,ii),o(d,Wr,ws,ii),o(d,Ul,$,ii),o(d,"click",N,{capture:!0}),o(d,"dragstart",se),r([Qe,Ct],w)}function w(){var V=e.drag;Lo(!V),O=V==="free"}function $(V){if(S=!1,!P){var J=_t(V);ut(V.target)&&(J||!V.button)&&(h.isBusy()?se(V,!0):(C=J?d:window,A=u.is([Si,vn]),T=null,o(C,qr,D,ii),o(C,Wr,x,ii),c.cancel(),l.cancel(),R(V)))}}function D(V){if(u.is(Un)||(u.set(Un),s(vd)),V.cancelable)if(A){c.translate(y+wt(H(V)));var J=rt(V)>ua,Ce=L!==(L=_());(J||Ce)&&R(V),S=!0,s(md),se(V)}else B(V)&&(A=I(V),se(V))}function x(V){u.is(Un)&&(u.set(bi),s(gd)),A&&(M(V),se(V)),a(C,qr,D),a(C,Wr,x),A=!1}function N(V){!P&&S&&se(V,!0)}function R(V){T=b,b=V,y=g()}function M(V){var J=z(V),Ce=U(J),Ci=e.rewind&&e.rewindByDrag;p(!1),O?h.scroll(Ce,0,e.snap):i.is(Tn)?h.go(m(Ts(J))<0?Ci?"<":"-":Ci?">":"+"):i.is(Ti)&&L&&Ci?h.go(_(!0)?">":"<"):h.go(h.toDest(Ce),!0),p(!0)}function I(V){var J=e.dragMinThreshold,Ce=on(J),Ci=Ce&&J.mouse||0,gc=(Ce?J.touch:+J)||10;return bt(H(V))>(_t(V)?gc:Ci)}function B(V){return bt(H(V))>bt(H(V,!0))}function z(V){if(i.is(Oi)||!L){var J=rt(V);if(J&&J<ua)return H(V)/J}return 0}function U(V){return g()+Ts(V)*Te(bt(V)*(e.flickPower||600),O?1/0:t.Layout.listSize()*(e.flickMaxPages||1))}function H(V,J){return j(V,J)-j(k(V),J)}function rt(V){return bs(V)-bs(k(V))}function k(V){return b===V&&T||b}function j(V,J){return(_t(V)?V.changedTouches[0]:V)["page"+f(J?"Y":"X")]}function wt(V){return V/(L&&i.is(Ti)?Vd:1)}function ut(V){var J=e.noDrag;return!an(V,"."+Ml+", ."+Sr)&&(!J||!an(V,J))}function _t(V){return typeof TouchEvent<"u"&&V instanceof TouchEvent}function mc(){return A}function Lo(V){P=V}return{mount:E,disable:Lo,isDragging:mc}}var lf={Spacebar:" ",Right:br,Left:wr,Up:$l,Down:Pl};function mo(i){return i=be(i)?i:i.key,lf[i]||i}var la="keydown";function cf(i,t,e){var n=nt(i),r=n.on,s=n.bind,o=n.unbind,a=i.root,u=t.Direction.resolve,c,l;function h(){d(),r(Ct,p),r(Ct,d),r(Ae,f)}function d(){var g=e.keyboard;g&&(c=g==="global"?window:a,s(c,la,m))}function p(){o(c,la)}function v(g){l=g}function f(){var g=l;l=!0,dl(function(){l=g})}function m(g){if(!l){var _=mo(g);_===u(wr)?i.go("<"):_===u(br)&&i.go(">")}}return{mount:h,destroy:p,disable:v}}var qi=ao+"-lazy",qn=qi+"-srcset",hf="["+qi+"], ["+qn+"]";function df(i,t,e){var n=nt(i),r=n.on,s=n.off,o=n.bind,a=n.emit,u=e.lazyLoad==="sequential",c=[wn,Li],l=[];function h(){e.lazyLoad&&(d(),r(ht,d))}function d(){de(l),p(),u?g():(s(c),r(c,v),v())}
vendor: 8,703 bytes, lines 37-42
37function p(){t.Slides.forEach(function(_){oo(_.slide,hf).forEach(function(y){var b=Ht(y,qi),T=Ht(y,qn);if(b!==y.src||T!==y.srcset){var O=e.classes.spinner,A=y.parentElement,L=yn(A,"."+O)||ci("span",O,A);l.push([y,_,L]),y.src||cn(y,"none")}})})}function v(){l=l.filter(function(_){var y=e.perPage*((e.preloadPages||1)+1)-1;return _[1].isWithin(i.index,y)?f(_):!0}),l.length||s(c)}function f(_){var y=_[0];te(_[1].slide,Ls),o(y,"load error",Q(m,_)),q(y,"src",Ht(y,qi)),q(y,"srcset",Ht(y,qn)),ee(y,qi),ee(y,qn)}function m(_,y){var b=_[0],T=_[1];ue(T.slide,Ls),y.type!=="error"&&(We(_[2]),cn(b,""),a(Ll,b,T),a(dn)),u&&g()}function g(){l.length&&f(l.shift())}return{mount:h,destroy:Q(de,l),check:v}}function ff(i,t,e){var n=nt(i),r=n.on,s=n.emit,o=n.bind,a=t.Slides,u=t.Elements,c=t.Controller,l=c.hasFocus,h=c.getIndex,d=c.go,p=t.Direction.resolve,v=u.pagination,f=[],m,g;function _(){y(),r([Ct,ht,rr],_);var P=e.pagination;v&&cn(v,P?"":"none"),P&&(r([Ae,co,Li],S),b(),S(),s(wd,{list:m,items:f},L(i.index)))}function y(){m&&(We(v?Le(m.children):m),ue(m,g),de(f),m=null),n.destroy()}function b(){var P=i.length,C=e.classes,E=e.i18n,w=e.perPage,$=l()?c.getEnd()+1:hn(P/w);m=v||ci("ul",C.pagination,u.track.parentElement),te(m,g=Lr+"--"+A()),q(m,le,"tablist"),q(m,Bt,E.select),q(m,fo,A()===Tr?"vertical":"");for(var D=0;D<$;D++){var x=ci("li",null,m),N=ci("button",{class:C.page,type:"button"},x),R=a.getIn(D).map(function(I){return I.slide.id}),M=!l()&&w>1?E.pageX:E.slideX;o(N,"click",Q(T,D)),e.paginationKeyboard&&o(N,"keydown",Q(O,D)),q(x,le,"presentation"),q(N,le,"tab"),q(N,bn,R.join(" ")),q(N,Bt,As(M,D+1)),q(N,hi,-1),f.push({li:x,button:N,page:D})}}function T(P){d(">"+P,!0)}function O(P,C){var E=f.length,w=mo(C),$=A(),D=-1;w===p(br,!1,$)?D=++P%E:w===p(wr,!1,$)?D=(--P+E)%E:w==="Home"?D=0:w==="End"&&(D=E-1);var x=f[D];x&&(ml(x.button),d(">"+D),se(C,!0))}function A(){return e.paginationDirection||e.direction}function L(P){return f[c.toPage(P)]}function S(){var P=L(h(!0)),C=L(h());if(P){var E=P.button;ue(E,Ge),ee(E,na),q(E,hi,-1)}if(C){var w=C.button;te(w,Ge),q(w,na,!0),q(w,hi,"")}s(bd,{list:m,items:f},P,C)}return{items:f,mount:_,destroy:y,getAt:L,update:S}}var pf=[" ","Enter"];function vf(i,t,e){var n=e.isNavigation,r=e.slideFocus,s=[];function o(){i.splides.forEach(function(v){v.isParent||(c(i,v.splide),c(v.splide,i))}),n&&l()}function a(){s.forEach(function(v){v.destroy()}),de(s)}function u(){a(),o()}function c(v,f){var m=nt(v);m.on(Ae,function(g,_,y){f.go(f.is(Oi)?y:g)}),s.push(m)}function l(){var v=nt(i),f=v.on;f(wl,d),f(Ol,p),f([Qe,Ct],h),s.push(v),v.emit(Tl,i.splides)}function h(){q(t.Elements.list,fo,e.direction===Tr?"vertical":"")}function d(v){i.go(v.index)}function p(v,f){ro(pf,mo(f))&&(d(v),se(f))}return{setup:Q(t.Media.set,{slideFocus:mn(r)?n:r},!0),mount:o,destroy:a,remount:u}}function mf(i,t,e){var n=nt(i),r=n.bind,s=0;function o(){e.wheel&&r(t.Elements.track,"wheel",a,ii)}function a(c){if(c.cancelable){var l=c.deltaY,h=l<0,d=bs(c),p=e.wheelMinThreshold||0,v=e.wheelSleep||0;bt(l)>p&&d-s>v&&(i.go(h?"<":">"),s=d),u(h)&&se(c)}}function u(c){return!e.releaseWheel||i.state.is(Si)||t.Controller.getAdjacent(c)!==-1}return{mount:o}}var gf=90;function _f(i,t,e){var n=nt(i),r=n.on,s=t.Elements.track,o=e.live&&!e.isNavigation,a=ci("span",Rd),u=yr(gf,Q(l,!1));function c(){o&&(d(!t.Autoplay.isPaused()),q(s,oa,!0),a.textContent="…",r(Al,Q(d,!0)),r(Sl,Q(d,!1)),r([wn,Li],Q(l,!0)))}function l(p){q(s,sa,p),p?(_n(s,a),u.start()):(We(a),u.cancel())}function h(){ee(s,[ra,oa,sa]),We(a)}function d(p){o&&q(s,ra,p?"off":"polite")}return{mount:c,disable:d,destroy:h}}var yf=Object.freeze({__proto__:null,Media:Ld,Direction:Od,Elements:Ud,Slides:Hd,Layout:qd,Clones:Gd,Move:Yd,Controller:jd,Arrows:Qd,Autoplay:Jd,Cover:tf,Scroll:af,Drag:uf,Keyboard:cf,LazyLoad:df,Pagination:ff,Sync:vf,Wheel:mf,Live:_f}),Ef={prev:"Previous slide",next:"Next slide",first:"Go to first slide",last:"Go to last slide",slideX:"Go to slide %s",pageX:"Go to page %s",play:"Start autoplay",pause:"Pause autoplay",carousel:"carousel",slide:"slide",select:"Select a slide to show",slideLabel:"%s of %s"},wf={type:"slide",role:"region",speed:400,perPage:1,cloneStatus:!0,arrows:!0,pagination:!0,paginationKeyboard:!0,interval:5e3,pauseOnHover:!0,pauseOnFocus:!0,resetProgress:!0,easing:"cubic-bezier(0.25, 1, 0.5, 1)",drag:!0,direction:"ltr",trimSpace:!0,focusableNodes:"a, button, textarea, input, select, iframe",live:!0,classes:Fd,i18n:Ef,reducedMotion:{speed:0,rewindSpeed:0,autoplay:"pause"}};function bf(i,t,e){var n=t.Slides;function r(){nt(i).on([Qe,ht],s)}function s(){n.forEach(function(a){a.style("transform","translateX(-"+100*a.index+"%)")})}function o(a,u){n.style("transition","opacity "+e.speed+"ms "+e.easing),dl(u)}return{mount:r,start:o,cancel:ws}}function Tf(i,t,e){var n=t.Move,r=t.Controller,s=t.Scroll,o=t.Elements.list,a=Q(zt,o,"transition"),u;function c(){nt(i).bind(o,"transitionend",function(p){p.target===o&&u&&(h(),u())})}function l(p,v){var f=n.toPosition(p,!0),m=n.getPosition(),g=d(p);bt(f-m)>=1&&g>=1?e.useScroll?s.scroll(f,g,!1,v):(a("transform "+g+"ms "+e.easing),n.translate(f,!0),u=v):(n.jump(p),v())}function h(){a(""),s.cancel()}function d(p){var v=e.rewindSpeed;if(i.is(Ti)&&v){var f=r.getIndex(!0),m=r.getEnd();if(f===0&&p>=m||f>=m&&p===0)return v}return e.speed}return{mount:c,start:l,cancel:h}}var Af=function(){function i(e,n){this.event=nt(),this.Components={},this.state=Ad(si),this.splides=[],this._o={},this._E={};var r=be(e)?_l(document,e):e;Hi(r,r+" is invalid."),this.root=r,n=ge({label:Ht(r,Bt)||"",labelledby:Ht(r,ho)||""},wf,i.defaults,n||{});try{ge(n,JSON.parse(Ht(r,ao)))}catch{Hi(!1,"Invalid JSON")}this._o=Object.create(ge({},n))}var t=i.prototype;return t.mount=function(n,r){var s=this,o=this.state,a=this.Components;Hi(o.is([si,er]),"Already mounted!"),o.set(si),this._C=a,this._T=r||this._T||(this.is(Tn)?bf:Tf),this._E=n||this._E;var u=ln({},yf,this._E,{Transition:this._T});return Ve(u,function(c,l){var h=c(s,a,s._o);a[l]=h,h.setup&&h.setup()}),Ve(a,function(c){c.mount&&c.mount()}),this.emit(Qe),te(this.root,Md),o.set(bi),this.emit(ea),this},t.sync=function(n){return this.splides.push({splide:n}),n.splides.push({splide:this,isParent:!0}),this.state.is(bi)&&(this._C.Sync.remount(),n.Components.Sync.remount()),this},t.go=function(n){return this._C.Controller.go(n),this},t.on=function(n,r){return this.event.on(n,r),this},t.off=function(n){return this.event.off(n),this},t.emit=function(n){var r;return(r=this.event).emit.apply(r,[n].concat(Le(arguments,1))),this},t.add=function(n,r){return this._C.Slides.add(n,r),this},t.remove=function(n){return this._C.Slides.remove(n),this},t.is=function(n){return this._o.type===n},t.refresh=function(){return this.emit(ht),this},t.destroy=function(n){n===void 0&&(n=!0);var r=this.event,s=this.state;return s.is(si)?nt(this).on(ea,this.destroy.bind(this,n)):(Ve(this._C,function(o){o.destroy&&o.destroy(n)},!0),r.emit(bl),r.destroy(),n&&de(this.splides),s.set(er)),this},ad(i,[{key:"options",get:function(){return this._o},set:function(n){this._C.Media.set(n,!0,!0)}},{key:"length",get:function(){return this._C.Slides.getLength(!0)}},{key:"index",get:function(){return this._C.Controller.getIndex()}}]),i}(),go=Af;go.defaults={};go.STATES=ld;/*!
38 * @splidejs/splide-extension-auto-scroll
39 * Version  : 0.5.3
40 * License  : MIT
41 * Copyright: 2022 Naotoshi Fujita
42 */function Sf(i){i.length=0}function _o(i,t,e){return Array.prototype.slice.call(i,t,e)}function Or(i){return i.bind.apply(i,[null].concat(_o(arguments,1)))}function ca(i){return requestAnimationFrame(i)}function yo(i,t){return typeof t===i}var zl=Array.isArray;Or(yo,"function");Or(yo,"string");Or(yo,"undefined");function Hl(i){return zl(i)?i:[i]}function ha(i,t){Hl(i).forEach(t)}var Lf=Object.keys;function Of(i,t,e){if(i){var n=Lf(i);n=n;for(var r=0;r<n.length;r++){var s=n[r];if(s!=="__proto__"&&t(i[s],s)===!1)break}}return i}function Cf(i){return _o(arguments,1).forEach(function(t){Of(t,function(e,n){i[n]=t[n]})}),i}var $f=Math.min;function Pf(){var i=[];function t(o,a,u,c){r(o,a,function(l,h,d){var p="addEventListener"in l,v=p?l.removeEventListener.bind(l,h,u,c):l.removeListener.bind(l,u);p?l.addEventListener(h,u,c):l.addListener(u),i.push([l,h,d,u,v])})}function e(o,a,u){r(o,a,function(c,l,h){i=i.filter(function(d){return d[0]===c&&d[1]===l&&d[2]===h&&(!u||d[3]===u)?(d[4](),!1):!0})})}function n(o,a,u){var c,l=!0;return typeof CustomEvent=="function"?c=new CustomEvent(a,{bubbles:l,detail:u}):(c=document.createEvent("CustomEvent"),c.initCustomEvent(a,l,!1,u)),o.dispatchEvent(c),c}function r(o,a,u){ha(o,function(c){c&&ha(a,function(l){l.split(" ").forEach(function(h){var d=h.split(".");u(c,d[0],d[1])})})})}
42function s(){i.forEach(function(o){o[4]()}),Sf(i)}return{bind:t,unbind:e,dispatch:n,destroy:s}}var da="move",fa="moved",If="updated",pa="drag",Df="dragged",va="scroll",ma="scrolled",kf="destroy";function xf(i){var t=i?i.event.bus:document.createDocumentFragment(),e=Pf();function n(s,o){e.bind(t,Hl(s).join(" "),function(a){o.apply(o,zl(a.detail)?a.detail:[])})}function r(s){e.dispatch(t,s,_o(arguments,1))}return i&&i.event.on(kf,e.destroy),Cf(e,{bus:t,on:n,off:Or(e.unbind,t),emit:r})}function ql(i,t,e,n){var r=Date.now,s,o=0,a,u=!0,c=0;function l(){if(!u){if(o=i?$f((r()-s)/i,1):1,e&&e(o),o>=1&&(t(),s=r(),n&&++c>=n))return d();ca(l)}}function h(g){!g&&v(),s=r()-(g?o*i:0),u=!1,ca(l)}function d(){u=!0}function p(){s=r(),o=0,e&&e(o)}function v(){a&&cancelAnimationFrame(a),o=0,a=0,u=!0}function f(g){i=g}function m(){return u}return{start:h,rewind:p,pause:d,cancel:v,set:f,isPaused:m}}function Rf(i,t){var e;function n(){e||(e=ql(t,function(){i(),e=null},null,1),e.start())}return n}var Mf="is-active",Nf="slide",Ff="fade";function Wl(i,t,e){return Array.prototype.slice.call(i,t,e)}function Eo(i){return i.bind(null,...Wl(arguments,1))}function Cr(i,t){return typeof t===i}function Os(i){return!Gl(i)&&Cr("object",i)}const Bf=Array.isArray;Eo(Cr,"function");Eo(Cr,"string");const Vf=Eo(Cr,"undefined");function Gl(i){return i===null}function Uf(i){return Bf(i)?i:[i]}function sr(i,t){Uf(i).forEach(t)}function zf(i,t,e){i&&sr(t,n=>{n&&i.classList[e?"add":"remove"](n)})}const Hf=Object.keys;function Yl(i,t,e){if(i){let n=Hf(i);n=n;for(let r=0;r<n.length;r++){const s=n[r];if(s!=="__proto__"&&t(i[s],s)===!1)break}}return i}function ga(i){return Wl(arguments,1).forEach(t=>{Yl(t,(e,n)=>{i[n]=t[n]})}),i}function qf(i,t){sr(i,e=>{sr(t,n=>{e&&e.removeAttribute(n)})})}function jl(i,t,e){Os(t)?Yl(t,(n,r)=>{jl(i,r,n)}):sr(i,n=>{Gl(e)||e===""?qf(n,t):n.setAttribute(t,String(e))})}const{min:_a,max:ya,floor:Fm,ceil:Bm,abs:Vm}=Math;function Wf(i,t,e){const n=_a(t,e),r=ya(t,e);return _a(ya(n,i),r)}const Gf={speed:1,autoStart:!0,pauseOnHover:!0,pauseOnFocus:!0},Yf={startScroll:"Start auto scroll",pauseScroll:"Pause auto scroll"};function jf(i,t,e){const{on:n,off:r,bind:s,unbind:o}=xf(i),{translate:a,getPosition:u,toIndex:c,getLimit:l}=t.Move,{setIndex:h,getIndex:d}=t.Controller,{orient:p}=t.Direction,{toggle:v}=t.Elements,{Live:f}=t,{root:m}=i,g=Rf(t.Arrows.update,500);let _={},y,b,T,O,A,L;function S(){const{autoScroll:U}=e;_=ga({},Gf,Os(U)?U:{})}function P(){i.is(Ff)||!y&&e.autoScroll!==!1&&(y=ql(0,R),E(),$())}function C(){y&&(y.cancel(),y=null,L=void 0,r([da,pa,va,fa,ma]),o(m,"mouseenter mouseleave focusin focusout"),o(v,"click"))}function E(){_.pauseOnHover&&s(m,"mouseenter mouseleave",U=>{T=U.type==="mouseenter",N()}),_.pauseOnFocus&&s(m,"focusin focusout",U=>{O=U.type==="focusin",N()}),_.useToggleButton&&s(v,"click",()=>{b?D():x()}),n(If,w),n([da,pa,va],()=>{A=!0,x(!1)}),n([fa,Df,ma],()=>{A=!1,N()})}function w(){const{autoScroll:U}=e;U!==!1?(_=ga({},_,Os(U)?U:{}),P()):C(),y&&!Vf(L)&&a(L)}function $(){_.autoStart&&(document.readyState==="complete"?D():s(window,"load",D))}function D(){z()&&(y.start(!0),f.disable(!0),O=T=b=!1,B())}function x(U=!0){b||(b=U,B(),z()||(y.pause(),f.disable(!1)))}function N(){b||(T||O||A?x(!1):D())}function R(){const U=u(),H=M(U);U!==H?(a(H),I(L=u())):(x(!1),_.rewind&&i.go(_.speed>0?0:t.Controller.getEnd())),g()}function M(U){const H=_.speed||1;return U+=p(H),i.is(Nf)&&(U=Wf(U,l(!1),l(!0))),U}function I(U){const{length:H}=i,rt=(c(U)+H)%H;rt!==d()&&(h(rt),t.Slides.update(),t.Pagination.update(),e.lazyLoad==="nearby"&&t.LazyLoad.check())}function B(){if(v){const U=b?"startScroll":"pauseScroll";zf(v,Mf,!b),jl(v,"aria-label",e.i18n[U]||Yf[U])}}function z(){return!y||y.isPaused()}return{setup:S,mount:P,destroy:C,play:D,pause:x,isPaused:z}}const Kf=W("autoplayCarousel",{},{init(){this.splide=new go(this.$node,{autoWidth:!0,arrows:!1,type:"loop",focus:"left",autoScroll:{speed:.3},pagination:!1}),this.splide.mount({AutoScroll:jf})},destroy(){var i;(i=this.splide)==null||i.destroy()}}),Xf="https://sky.blackbaudcdn.net/static/donor-form-loader/2/main.js";let On=null;const Qf=()=>window.BBDonorFormLoader?Promise.resolve():(On||(On=new Promise((i,t)=>{const e=document.createElement("script");e.src=Xf,e.async=!0,e.onload=i,e.onerror=n=>{On=null,t(n)},document.head.appendChild(e)})),On),Zf=W("bbForm",{initForm(){const{bbformPublicId:i,bbformFormId:t}=this.$node.dataset;!i||!t||Qf().then(()=>{BBDonorFormLoader.newBlackbaudDonationFormZoned("tcs",i,t,"usa")})}},{init(){this.initForm()},destroy(){}});function Wi(){return Wi=Object.assign?Object.assign.bind():function(i){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(i[n]=e[n])}return i},Wi.apply(this,arguments)}const Ea=i=>String(i).split(".").map(t=>String(parseInt(t||"0",10))).concat(["0","0"]).slice(0,3).join(".");let Ze=class{constructor(){this.isSwupPlugin=!0,this.swup=void 0,this.version=void 0,this.requires={},this.handlersToUnregister=[]}mount(){}unmount(){this.handlersToUnregister.forEach(t=>t()),this.handlersToUnregister=[]}_beforeMount(){if(!this.name)throw new Error("You must define a name of plugin when creating a class.")}_afterUnmount(){}_checkRequirements(){return typeof this.requires!="object"||Object.entries(this.requires).forEac
42h(([t,e])=>{if(!function(n,r,s){const o=function(a,u){var c;if(a==="swup")return(c=u.version)!=null?c:"";{var l;const h=u.findPlugin(a);return(l=h==null?void 0:h.version)!=null?l:""}}(n,s);return!!o&&((a,u)=>u.every(c=>{const[,l,h]=c.match(/^([\D]+)?(.*)$/)||[];var d,p;return((v,f)=>{const m={"":g=>g===0,">":g=>g>0,">=":g=>g>=0,"<":g=>g<0,"<=":g=>g<=0};return(m[f]||m[""])(v)})((p=h,d=Ea(d=a),p=Ea(p),d.localeCompare(p,void 0,{numeric:!0})),l||">=")}))(o,r)}(t,e=Array.isArray(e)?e:[e],this.swup)){const n=`${t} ${e.join(", ")}`;throw new Error(`Plugin version mismatch: ${this.name} requires ${n}`)}}),!0}on(t,e,n={}){var r;e=!(r=e).name.startsWith("bound ")||r.hasOwnProperty("prototype")?e.bind(this):e;const s=this.swup.hooks.on(t,e,n);return this.handlersToUnregister.push(s),s}once(t,e,n={}){return this.on(t,e,Wi({},n,{once:!0}))}before(t,e,n={}){return this.on(t,e,Wi({},n,{before:!0}))}replace(t,e,n={}){return this.on(t,e,Wi({},n,{replace:!0}))}off(t,e){return this.swup.hooks.off(t,e)}};(function(){if(!(typeof window>"u"||typeof document>"u"||typeof HTMLElement>"u")){var i=!1;try{var t=document.createElement("div");t.addEventListener("focus",function(s){s.preventDefault(),s.stopPropagation()},!0),t.focus(Object.defineProperty({},"preventScroll",{get:function(){if(navigator&&typeof navigator.userAgent<"u"&&navigator.userAgent&&navigator.userAgent.match(/Edge\/1[7-8]/))return i=!1;i=!0}}))}catch{}if(HTMLElement.prototype.nativeFocus===void 0&&!i){HTMLElement.prototype.nativeFocus=HTMLElement.prototype.focus;var e=function(s){for(var o=s.parentNode,a=[],u=document.scrollingElement||document.documentElement;o&&o!==u;)(o.offsetHeight<o.scrollHeight||o.offsetWidth<o.scrollWidth)&&a.push([o,o.scrollTop,o.scrollLeft]),o=o.parentNode;return o=u,a.push([o,o.scrollTop,o.scrollLeft]),a},n=function(s){for(var o=0;o<s.length;o++)s[o][0].scrollTop=s[o][1],s[o][0].scrollLeft=s[o][2];s=[]},r=function(s){if(s&&s.preventScroll){var o=e(this);if(typeof setTimeout=="function"){var a=this;setTimeout(function(){a.nativeFocus(),n(o)},0)}else this.nativeFocus(),n(o)}else this.nativeFocus()};HTMLElement.prototype.focus=r}}})();const Gr=new WeakMap;function Yr(i,t,e,n){if(!i&&!Gr.has(t))return!1;const r=Gr.get(t)??new WeakMap;Gr.set(t,r);const s=r.get(e)??new Set;r.set(e,s);const o=s.has(n);return i?s.add(n):s.delete(n),o&&i}function Jf(i,t){let e=i.target;if(e instanceof Text&&(e=e.parentElement),e instanceof Element&&i.currentTarget instanceof Element){const n=e.closest(t);if(n&&i.currentTarget.contains(n))return n}}function tp(i,t,e,n={}){const{signal:r,base:s=document}=n;if(r!=null&&r.aborted)return;const{once:o,...a}=n,u=s instanceof Document?s.documentElement:s,c=!!(typeof n=="object"?n.capture:n),l=p=>{const v=Jf(p,String(i));if(v){const f=Object.assign(p,{delegateTarget:v});e.call(u,f),o&&(u.removeEventListener(t,l,a),Yr(!1,u,e,h))}},h=JSON.stringify({selector:i,type:t,capture:c});Yr(!0,u,e,h)||u.addEventListener(t,l,a),r==null||r.addEventListener("abort",()=>{Yr(!1,u,e,h)})}function ep(i){for(var t=[],e=0;e<i.length;){var n=i[e];if(n==="*"||n==="+"||n==="?"){t.push({type:"MODIFIER",index:e,value:i[e++]});continue}if(n==="\\"){t.push({type:"ESCAPED_CHAR",index:e++,value:i[e++]});continue}if(n==="{"){t.push({type:"OPEN",index:e,value:i[e++]});continue}if(n==="}"){t.push({type:"CLOSE",index:e,value:i[e++]});continue}if(n===":"){for(var r="",s=e+1;s<i.length;){var o=i.charCodeAt(s);if(o>=48&&o<=57||o>=65&&o<=90||o>=97&&o<=122||o===95){r+=i[s++];continue}break}if(!r)throw new TypeError("Missing parameter name at ".concat(e));t.push({type:"NAME",index:e,value:r}),e=s;continue}if(n==="("){var a=1,u="",s=e+1;if(i[s]==="?")throw new TypeError('Pattern cannot start with "?" at '.concat(s));for(;s<i.length;){if(i[s]==="\\"){u+=i[s++]+i[s++];continue}if(i[s]===")"){if(a--,a===0){s++;break}}else if(i[s]==="("&&(a++,i[s+1]!=="?"))throw new TypeError("Capturing groups are not allowed at ".concat(s));u+=i[s++]}if(a)throw new TypeError("Unbalanced pattern at ".concat(e));if(!u)throw new TypeError("Missing pattern at ".concat(e));t.push({type:"PATTERN",index:e,value:u}),e=s;continue}t.push({type:"CHAR",index:e,value:i[e++]})}return t.push({type:"END",index:e,value:""}),t}function ip(i,t){t===void 0&&(t={});for(var e=ep(i),n=t.prefixes,r=n===void 0?"./":n,s=t.delimiter,o=s===void 0?"/#?":s,a=[],u=0,c=0,l="",h=function(S){if(c<e.length&&e[c].type===S)return e[c++].value},d=function(S){var P=h(S);if(P!==void 0)return P;var C=e[c],E=C.type,w=C.index;throw new TypeError("Unexpected ".concat(E," at ").concat(w,", expected ").concat(S))},p=function(){for(var S="",P;P=h("CHAR")||h("ESCAPED_CHAR");)S+=P;return S},v=function(S){for(var P=0,C=o;P<C.length;P++){var E=C[P];if(S.indexOf(E)>-1)return!0}return!1},f=function(S){var P=a[a.length-1],C=S||(P&&typeof P=="string"?P:"");
42if(P&&!C)throw new TypeError('Must have text between two parameters, missing text after "'.concat(P.name,'"'));return!C||v(C)?"[^".concat(fe(o),"]+?"):"(?:(?!".concat(fe(C),")[^").concat(fe(o),"])+?")};c<e.length;){var m=h("CHAR"),g=h("NAME"),_=h("PATTERN");if(g||_){var y=m||"";r.indexOf(y)===-1&&(l+=y,y=""),l&&(a.push(l),l=""),a.push({name:g||u++,prefix:y,suffix:"",pattern:_||f(y),modifier:h("MODIFIER")||""});continue}var b=m||h("ESCAPED_CHAR");if(b){l+=b;continue}l&&(a.push(l),l="");var T=h("OPEN");if(T){var y=p(),O=h("NAME")||"",A=h("PATTERN")||"",L=p();d("CLOSE"),a.push({name:O||(A?u++:""),pattern:O&&!A?f(y):A,prefix:y,suffix:L,modifier:h("MODIFIER")||""});continue}d("END")}return a}function np(i,t){var e=[],n=Xl(i,e,t);return rp(n,e,t)}function rp(i,t,e){e===void 0&&(e={});var n=e.decode,r=n===void 0?function(s){return s}:n;return function(s){var o=i.exec(s);if(!o)return!1;for(var a=o[0],u=o.index,c=Object.create(null),l=function(d){if(o[d]===void 0)return"continue";var p=t[d-1];p.modifier==="*"||p.modifier==="+"?c[p.name]=o[d].split(p.prefix+p.suffix).map(function(v){return r(v,p)}):c[p.name]=r(o[d],p)},h=1;h<o.length;h++)l(h);return{path:a,index:u,params:c}}}function fe(i){return i.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function Kl(i){return i&&i.sensitive?"":"i"}function sp(i,t){if(!t)return i;for(var e=/\((?:\?<(.*?)>)?(?!\?)/g,n=0,r=e.exec(i.source);r;)t.push({name:r[1]||n++,prefix:"",suffix:"",modifier:"",pattern:""}),r=e.exec(i.source);return i}function op(i,t,e){var n=i.map(function(r){return Xl(r,t,e).source});return new RegExp("(?:".concat(n.join("|"),")"),Kl(e))}function ap(i,t,e){return up(ip(i,e),t,e)}function up(i,t,e){e===void 0&&(e={});for(var n=e.strict,r=n===void 0?!1:n,s=e.start,o=s===void 0?!0:s,a=e.end,u=a===void 0?!0:a,c=e.encode,l=c===void 0?function(P){return P}:c,h=e.delimiter,d=h===void 0?"/#?":h,p=e.endsWith,v=p===void 0?"":p,f="[".concat(fe(v),"]|$"),m="[".concat(fe(d),"]"),g=o?"^":"",_=0,y=i;_<y.length;_++){var b=y[_];if(typeof b=="string")g+=fe(l(b));else{var T=fe(l(b.prefix)),O=fe(l(b.suffix));if(b.pattern)if(t&&t.push(b),T||O)if(b.modifier==="+"||b.modifier==="*"){var A=b.modifier==="*"?"?":"";g+="(?:".concat(T,"((?:").concat(b.pattern,")(?:").concat(O).concat(T,"(?:").concat(b.pattern,"))*)").concat(O,")").concat(A)}else g+="(?:".concat(T,"(").concat(b.pattern,")").concat(O,")").concat(b.modifier);else{if(b.modifier==="+"||b.modifier==="*")throw new TypeError('Can not repeat "'.concat(b.name,'" without a prefix and suffix'));g+="(".concat(b.pattern,")").concat(b.modifier)}else g+="(?:".concat(T).concat(O,")").concat(b.modifier)}}if(u)r||(g+="".concat(m,"?")),g+=e.endsWith?"(?=".concat(f,")"):"$";else{var L=i[i.length-1],S=typeof L=="string"?m.indexOf(L[L.length-1])>-1:L===void 0;r||(g+="(?:".concat(m,"(?=").concat(f,"))?")),S||(g+="(?=".concat(m,"|").concat(f,")"))}return new RegExp(g,Kl(e))}function Xl(i,t,e){return i instanceof RegExp?sp(i,t):Array.isArray(i)?op(i,t,e):ap(i,t,e)}function dt(){return dt=Object.assign?Object.assign.bind():function(i){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var n in e)({}).hasOwnProperty.call(e,n)&&(i[n]=e[n])}return i},dt.apply(null,arguments)}const wo=(i,t)=>String(i).toLowerCase().replace(/[\s/_.]+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+|-+$/g,"")||t||"",Ye=({hash:i}={})=>window.location.pathname+window.location.search+(i?window.location.hash:""),$r=(i,t={})=>{const e=dt({url:i=i||Ye({hash:!0}),random:Math.random(),source:"swup"},t);window.history.pushState(e,"",i)},Gi=(i=null,t={})=>{i=i||Ye({hash:!0});const e=dt({},window.history.state||{},{url:i,random:Math.random(),source:"swup"},t);window.history.replaceState(e,"",i)},lp=(i,t,e,n)=>{const r=new AbortController;return n=dt({},n,{signal:r.signal}),tp(i,t,e,n),{destroy:()=>r.abort()}};let st=class Wn extends URL{constructor(t,e=document.baseURI){super(t.toString(),e),Object.setPrototypeOf(this,Wn.prototype)}get url(){return this.pathname+this.search}static fromElement(t){const e=t.getAttribute("href")||t.getAttribute("xlink:href")||"";return new Wn(e)}static fromUrl(t){return new Wn(t)}};const wa=(i,t)=>{try{return np(i,t)}catch(e){throw new Error(`[swup] Error parsing path "${String(i)}":
43${String(e)}`)}};
43let Cn=class extends Error{constructor(t,e){super(t),this.url=void 0,this.status=void 0,this.aborted=void 0,this.timedOut=void 0,this.name="FetchError",this.url=e.url,this.status=e.status,this.aborted=e.aborted||!1,this.timedOut=e.timedOut||!1}};async function cp(i,t={}){var e;i=st.fromUrl(i).url;const{visit:n=this.visit}=t,r=dt({},this.options.requestHeaders,t.headers),s=(e=t.timeout)!=null?e:this.options.timeout,o=new AbortController,{signal:a}=o;t=dt({},t,{headers:r,signal:a});let u,c=!1,l=null;s&&s>0&&(l=setTimeout(()=>{c=!0,o.abort("timeout")},s));try{u=await this.hooks.call("fetch:request",n,{url:i,options:t},(m,{url:g,options:_})=>fetch(g,_)),l&&clearTimeout(l)}catch(m){throw c?(this.hooks.call("fetch:timeout",n,{url:i}),new Cn(`Request timed out: ${i}`,{url:i,timedOut:c})):(m==null?void 0:m.name)==="AbortError"||a.aborted?new Cn(`Request aborted: ${i}`,{url:i,aborted:!0}):m}const{status:h,url:d}=u,p=await u.text();if(h===500)throw this.hooks.call("fetch:error",n,{status:h,response:u,url:d}),new Cn(`Server error: ${d}`,{status:h,url:d});if(!p)throw new Cn(`Empty response: ${d}`,{status:h,url:d});const{url:v}=st.fromUrl(d),f={url:v,html:p};return!n.cache.write||t.method&&t.method!=="GET"||i!==v||this.cache.set(f.url,f),f}let hp=class{constructor(t){this.swup=void 0,this.pages=new Map,this.swup=t}get size(){return this.pages.size}get all(){const t=new Map;return this.pages.forEach((e,n)=>{t.set(n,dt({},e))}),t}has(t){return this.pages.has(this.resolve(t))}get(t){const e=this.pages.get(this.resolve(t));return e&&dt({},e)}set(t,e){e=dt({},e,{url:t=this.resolve(t)}),this.pages.set(t,e),this.swup.hooks.callSync("cache:set",void 0,{page:e})}update(t,e){t=this.resolve(t);const n=dt({},this.get(t),e,{url:t});this.pages.set(t,n)}delete(t){this.pages.delete(this.resolve(t))}clear(){this.pages.clear(),this.swup.hooks.callSync("cache:clear",void 0,void 0)}prune(t){this.pages.forEach((e,n)=>{t(n,e)&&this.delete(n)})}resolve(t){const{url:e}=st.fromUrl(t);return this.swup.resolveUrl(e)}};const Cs=(i,t=document)=>t.querySelector(i),bo=(i,t=document)=>Array.from(t.querySelectorAll(i)),Ql=()=>new Promise(i=>{requestAnimationFrame(()=>{requestAnimationFrame(()=>{i()})})});function Zl(i){return!!i&&(typeof i=="object"||typeof i=="function")&&typeof i.then=="function"}function dp(i,t=[]){return new Promise((e,n)=>{const r=i(...t);Zl(r)?r.then(e,n):e(r)})}function ba(i,t){const e=i==null?void 0:i.closest(`[${t}]`);return e!=null&&e.hasAttribute(t)?(e==null?void 0:e.getAttribute(t))||!0:void 0}class fp{constructor(t){this.swup=void 0,this.swupClasses=["to-","is-changing","is-rendering","is-popstate","is-animating","is-leaving"],this.swup=t}get selectors(){const{scope:t}=this.swup.visit.animation;return t==="containers"?this.swup.visit.containers:t==="html"?["html"]:Array.isArray(t)?t:[]}get selector(){return this.selectors.join(",")}get targets(){return this.selector.trim()?bo(this.selector):[]}add(...t){this.targets.forEach(e=>e.classList.add(...t))}remove(...t){this.targets.forEach(e=>e.classList.remove(...t))}clear(){this.targets.forEach(t=>{const e=t.className.split(" ").filter(n=>this.isSwupClass(n));t.classList.remove(...e)})}isSwupClass(t){return this.swupClasses.some(e=>t.startsWith(e))}}let Jl=class{constructor(t,e){this.id=void 0,this.state=void 0,this.from=void 0,this.to=void 0,this.containers=void 0,this.animation=void 0,this.trigger=void 0,this.cache=void 0,this.history=void 0,this.scroll=void 0;const{to:n,from:r,hash:s,el:o,event:a}=e;this.id=Math.random(),this.state=1,this.from={url:r??t.location.url,hash:t.location.hash},this.to={url:n,hash:s},this.containers=t.options.containers,this.animation={animate:!0,wait:!1,name:void 0,native:t.options.native,scope:t.options.animationScope,selector:t.options.animationSelector},this.trigger={el:o,event:a},this.cache={read:t.options.cache,write:t.options.cache},this.history={action:"push",popstate:!1,direction:void 0},this.scroll={reset:!0,target:void 0}}advance(t){this.state<t&&(this.state=t)}abort(){this.state=8}get done(){return this.state>=7}};function pp(i){return new Jl(this,i)}let vp=class{constructor(t){this.swup=void 0,this.registry=new Map,this.hooks=["animation:out:start","animation:out:await","animation:out:end","animation:in:start","animation:in:await","animation:in:end","animation:skip","cache:clear","cache:set","content:replace","content:scroll","enable","disable","fetch:request","fetch:error","fetch:timeout","history:popstate","link:click","link:self","link:anchor","link:newtab","page:load","page:view","scroll:top","scroll:anchor","visit:start","visit:transition","visit:abort","visit:end"],this.swup=t,this.init()}init(){this.hooks.forEach(t=>this.create(t))}create(t){this.registry.has(t)||this.registry.set(t,new Map)}exists(t){return this.registry.has(t)}get(t){const e=this.registry.get(t);if(e)return e;console.error(`Unknown hook '${t}'`)}
43clear(){this.registry.forEach(t=>t.clear())}on(t,e,n={}){const r=this.get(t);if(!r)return console.warn(`Hook '${t}' not found.`),()=>{};const s=dt({},n,{id:r.size+1,hook:t,handler:e});return r.set(e,s),()=>this.off(t,e)}before(t,e,n={}){return this.on(t,e,dt({},n,{before:!0}))}replace(t,e,n={}){return this.on(t,e,dt({},n,{replace:!0}))}once(t,e,n={}){return this.on(t,e,dt({},n,{once:!0}))}off(t,e){const n=this.get(t);n&&e?n.delete(e)||console.warn(`Handler for hook '${t}' not found.`):n&&n.clear()}async call(t,e,n,r){const[s,o,a]=this.parseCallArgs(t,e,n,r),{before:u,handler:c,after:l}=this.getHandlers(t,a);await this.run(u,s,o);const[h]=await this.run(c,s,o,!0);return await this.run(l,s,o),this.dispatchDomEvent(t,s,o),h}callSync(t,e,n,r){const[s,o,a]=this.parseCallArgs(t,e,n,r),{before:u,handler:c,after:l}=this.getHandlers(t,a);this.runSync(u,s,o);const[h]=this.runSync(c,s,o,!0);return this.runSync(l,s,o),this.dispatchDomEvent(t,s,o),h}parseCallArgs(t,e,n,r){return e instanceof Jl||typeof e!="object"&&typeof n!="function"?[e,n,r]:[void 0,e,n]}async run(t,e=this.swup.visit,n,r=!1){const s=[];for(const{hook:o,handler:a,defaultHandler:u,once:c}of t)if(e==null||!e.done){c&&this.off(o,a);try{const l=await dp(a,[e,n,u]);s.push(l)}catch(l){if(r)throw l;console.error(`Error in hook '${o}':`,l)}}return s}runSync(t,e=this.swup.visit,n,r=!1){const s=[];for(const{hook:o,handler:a,defaultHandler:u,once:c}of t)if(e==null||!e.done){c&&this.off(o,a);try{const l=a(e,n,u);s.push(l),Zl(l)&&console.warn(`Swup will not await Promises in handler for synchronous hook '${o}'.`)}catch(l){if(r)throw l;console.error(`Error in hook '${o}':`,l)}}return s}getHandlers(t,e){const n=this.get(t);if(!n)return{found:!1,before:[],handler:[],after:[],replaced:!1};const r=Array.from(n.values()),s=this.sortRegistrations,o=r.filter(({before:h,replace:d})=>h&&!d).sort(s),a=r.filter(({replace:h})=>h).filter(h=>!0).sort(s),u=r.filter(({before:h,replace:d})=>!h&&!d).sort(s),c=a.length>0;let l=[];if(e&&(l=[{id:0,hook:t,handler:e}],c)){const h=a.length-1,d=p=>{const v=a[p-1];return v?(f,m)=>v.handler(f,m,d(p-1)):e};l=[{id:0,hook:t,handler:a[h].handler,defaultHandler:d(h)}]}return{found:!0,before:o,handler:l,after:u,replaced:c}}sortRegistrations(t,e){var n,r;return((n=t.priority)!=null?n:0)-((r=e.priority)!=null?r:0)||t.id-e.id||0}dispatchDomEvent(t,e,n){if(e!=null&&e.done)return;const r={hook:t,args:n,visit:e||this.swup.visit};document.dispatchEvent(new CustomEvent("swup:any",{detail:r,bubbles:!0})),document.dispatchEvent(new CustomEvent(`swup:${t}`,{detail:r,bubbles:!0}))}};const mp=i=>{if(i&&i.charAt(0)==="#"&&(i=i.substring(1)),!i)return null;const t=decodeURIComponent(i);let e=document.getElementById(i)||document.getElementById(t)||Cs(`a[name='${CSS.escape(i)}']`)||Cs(`a[name='${CSS.escape(t)}']`);return e||i!=="top"||(e=document.body),e},$n="transition",jr="animation";async function gp({selector:i,elements:t}){if(i===!1&&!t)return;let e=[];
43if(t)e=Array.from(t);else if(i&&(e=bo(i,document.body),!e.length))return void console.warn(`[swup] No elements found matching animationSelector \`${i}\``);const n=e.map(r=>function(s){const{type:o,timeout:a,propCount:u}=function(c){const l=window.getComputedStyle(c),h=Pn(l,`${$n}Delay`),d=Pn(l,`${$n}Duration`),p=Ta(h,d),v=Pn(l,`${jr}Delay`),f=Pn(l,`${jr}Duration`),m=Ta(v,f),g=Math.max(p,m),_=g>0?p>m?$n:jr:null;return{type:_,timeout:g,propCount:_?_===$n?d.length:f.length:0}}(s);return!(!o||!a)&&new Promise(c=>{const l=`${o}end`,h=performance.now();let d=0;const p=()=>{s.removeEventListener(l,v),c()},v=f=>{f.target===s&&((performance.now()-h)/1e3<f.elapsedTime||++d>=u&&p())};setTimeout(()=>{d<u&&p()},a+1),s.addEventListener(l,v)})}(r));n.filter(Boolean).length>0?await Promise.all(n):i&&console.warn(`[swup] No CSS animation duration defined on elements matching \`${i}\``)}function Pn(i,t){return(i[t]||"").split(", ")}function Ta(i,t){for(;i.length<t.length;)i=i.concat(i);return Math.max(...t.map((e,n)=>Aa(e)+Aa(i[n])))}function Aa(i){return 1e3*parseFloat(i)}function _p(i,t={},e={}){if(typeof i!="string")throw new Error("swup.navigate() requires a URL parameter");if(this.shouldIgnoreVisit(i,{el:e.el,event:e.event}))return void window.location.assign(i);const{url:n,hash:r}=st.fromUrl(i),s=this.createVisit(dt({},e,{to:n,hash:r}));this.performNavigation(s,t)}async function yp(i,t={}){if(this.navigating){if(this.visit.state>=6)return i.state=2,void(this.onVisitEnd=()=>this.performNavigation(i,t));await this.hooks.call("visit:abort",this.visit,void 0),delete this.visit.to.document,this.visit.state=8}this.navigating=!0,this.visit=i;const{el:e}=i.trigger;t.referrer=t.referrer||this.location.url,t.animate===!1&&(i.animation.animate=!1),i.animation.animate||this.classes.clear();const n=t.history||ba(e,"data-swup-history");typeof n=="string"&&["push","replace"].includes(n)&&(i.history.action=n);const r=t.animation||ba(e,"data-swup-animation");var s,o;typeof r=="string"&&(i.animation.name=r),typeof t.cache=="object"?(i.cache.read=(s=t.cache.read)!=null?s:i.cache.read,i.cache.write=(o=t.cache.write)!=null?o:i.cache.write):t.cache!==void 0&&(i.cache={read:!!t.cache,write:!!t.cache}),delete t.cache;try{await this.hooks.call("visit:start",i,void 0),i.state=3;const a=this.hooks.call("page:load",i,{options:t},async(c,l)=>{let h;return c.cache.read&&(h=this.cache.get(c.to.url)),l.page=h||await this.fetchPage(c.to.url,l.options),l.cache=!!h,l.page});a.then(({html:c})=>{i.advance(5),i.to.html=c,i.to.document=new DOMParser().parseFromString(c,"text/html")});const u=i.to.url+i.to.hash;if(i.history.popstate||(i.history.action==="replace"||i.to.url===this.location.url?Gi(u):(this.currentHistoryIndex++,$r(u,{index:this.currentHistoryIndex}))),this.location=st.fromUrl(u),i.history.popstate&&this.classes.add("is-popstate"),i.animation.name&&this.classes.add(`to-${wo(i.animation.name)}`),i.animation.wait&&await a,i.done||(await this.hooks.call("visit:transition",i,void 0,async()=>{if(!i.animation.animate)return await this.hooks.call("animation:skip",void 0),void await this.renderPage(i,await a);i.advance(4),await this.animatePageOut(i),i.animation.native&&document.startViewTransition?await document.startViewTransition(async()=>await this.renderPage(i,await a)).finished:await this.renderPage(i,await a),await this.animatePageIn(i)}),i.done))return;await this.hooks.call("visit:end",i,void 0,()=>this.classes.clear()),i.state=7,this.navigating=!1,this.onVisitEnd&&(this.onVisitEnd(),this.onVisitEnd=void 0)}catch(a){if(!a||a!=null&&a.aborted)return void(i.state=8);i.state=9,console.error(a),this.options.skipPopStateHandling=()=>(window.location.assign(i.to.url+i.to.hash),!0),window.history.back()}finally{delete i.to.document}}const Ep=async function(i){await this.hooks.call("animation:out:start",i,void 0,()=>{this.classes.add("is-changing","is-animating","is-leaving")}),await this.hooks.call("animation:out:await",i,{skip:!1},(t,{skip:e})=>{if(!e)return this.awaitAnimations({selector:t.animation.selector})}),await this.hooks.call("animation:out:end",i,void 0)},wp=function(i){var t;const e=i.to.document;if(!e)return!1;const n=((t=e.querySelector("title"))==null?void 0:t.innerText)||"";document.title=n;const r=bo('[data-swup-persist]:not([data-swup-persist=""])'),s=i.containers.map(o=>{const a=document.querySelector(o),u=e.querySelector(o);return a&&u?(a.replaceWith(u.cloneNode(!0)),!0):(a||console.warn(`[swup] Container missing in current document: ${o}`),u||console.warn(`[swup] Container missing in incoming document: ${o}`),!1)}
43).filter(Boolean);return r.forEach(o=>{const a=o.getAttribute("data-swup-persist"),u=Cs(`[data-swup-persist="${a}"]`);u&&u!==o&&u.replaceWith(o)}),s.length===i.containers.length},bp=function(i){const t={behavior:"auto"},{target:e,reset:n}=i.scroll,r=e??i.to.hash;let s=!1;return r&&(s=this.hooks.callSync("scroll:anchor",i,{hash:r,options:t},(o,{hash:a,options:u})=>{const c=this.getAnchorElement(a);return c&&c.scrollIntoView(u),!!c})),n&&!s&&(s=this.hooks.callSync("scroll:top",i,{options:t},(o,{options:a})=>(window.scrollTo(dt({top:0,left:0},a)),!0))),s},Tp=async function(i){if(i.done)return;const t=this.hooks.call("animation:in:await",i,{skip:!1},(e,{skip:n})=>{if(!n)return this.awaitAnimations({selector:e.animation.selector})});await Ql(),await this.hooks.call("animation:in:start",i,void 0,()=>{this.classes.remove("is-animating")}),await t,await this.hooks.call("animation:in:end",i,void 0)},Ap=async function(i,t){if(i.done)return;i.advance(6);const{url:e}=t;this.isSameResolvedUrl(Ye(),e)||(Gi(e),this.location=st.fromUrl(e),i.to.url=this.location.url,i.to.hash=this.location.hash),await this.hooks.call("content:replace",i,{page:t},(n,{})=>{if(this.classes.remove("is-leaving"),n.animation.animate&&this.classes.add("is-rendering"),!this.replaceContent(n))throw new Error("[swup] Container mismatch, aborting");n.animation.animate&&(this.classes.add("is-changing","is-animating","is-rendering"),n.animation.name&&this.classes.add(`to-${wo(n.animation.name)}`))}),await this.hooks.call("content:scroll",i,void 0,()=>this.scrollToContent(i)),await this.hooks.call("page:view",i,{url:this.location.url,title:document.title})},Sp=function(i){var t;if(t=i,!!(t!=null&&t.isSwupPlugin)){if(i.swup=this,!i._checkRequirements||i._checkRequirements())return i._beforeMount&&i._beforeMount(),i.mount(),this.plugins.push(i),this.plugins}else console.error("Not a swup plugin instance",i)};function Lp(i){const t=this.findPlugin(i);if(t)return t.unmount(),t._afterUnmount&&t._afterUnmount(),this.plugins=this.plugins.filter(e=>e!==t),this.plugins;console.error("No such plugin",t)}function Op(i){return this.plugins.find(t=>t===i||t.name===i||t.name===`Swup${String(i)}`)}function Cp(i){if(typeof this.options.resolveUrl!="function")return console.warn("[swup] options.resolveUrl expects a callback function."),i;const t=this.options.resolveUrl(i);return t&&typeof t=="string"?t.startsWith("//")||t.startsWith("http")?(console.warn("[swup] options.resolveUrl needs to return a relative url"),i):t:(console.warn("[swup] options.resolveUrl needs to return a url"),i)}function $p(i,t){return this.resolveUrl(i)===this.resolveUrl(t)}const Pp={animateHistoryBrowsing:!1,animationSelector:'[class*="transition-"]',animationScope:"html",cache:!0,containers:["#swup"],ignoreVisit:(i,{el:t}={})=>!(t==null||!t.closest("[data-no-swup]")),linkSelector:"a[href]",linkToSelf:"scroll",native:!1,plugins:[],resolveUrl:i=>i,requestHeaders:{"X-Requested-With":"swup",Accept:"text/html, application/xhtml+xml"},skipPopStateHandling:i=>{var t;return((t=i.state)==null?void 0:t.source)!=="swup"},timeout:0};class tc{get currentPageUrl(){return this.location.url}constructor(t={}){var e,n;this.version="4.7.0",this.options=void 0,this.defaults=Pp,this.plugins=[],this.visit=void 0,this.cache=void 0,this.hooks=void 0,this.classes=void 0,this.location=st.fromUrl(window.location.href),this.currentHistoryIndex=void 0,this.clickDelegate=void 0,this.navigating=!1,this.onVisitEnd=void 0,this.use=Sp,this.unuse=Lp,this.findPlugin=Op,this.log=()=>{},this.navigate=_p,this.performNavigation=yp,this.createVisit=pp,this.delegateEvent=lp,this.fetchPage=cp,this.awaitAnimations=gp,this.renderPage=Ap,this.replaceContent=wp,this.animatePageIn=Tp,this.animatePageOut=Ep,this.scrollToContent=bp,this.getAnchorElement=mp,this.getCurrentUrl=Ye,this.resolveUrl=Cp,this.isSameResolvedUrl=$p,this.options=dt({},this.defaults,t),this.handleLinkClick=this.handleLinkClick.bind(this),this.handlePopState=this.handlePopState.bind(this),this.cache=new hp(this),this.classes=new fp(this),this.hooks=new vp(this),this.visit=this.createVisit({to:""}),this.currentHistoryIndex=(e=(n=window.history.state)==null?void 0:n.index)!=null?e:1,this.enable()}async enable(){var t;const{linkSelector:e}=this.options;this.clickDelegate=this.delegateEvent(e,"click",this.handleLinkClick),window.addEventListener("popstate",this.handlePopState),this.options.animateHistoryBrowsing&&(window.history.scrollRestoration="manual"),this.options.native=this.options.native&&!!document.startViewTransition,this.options.plugins.forEach(n=>this.use(n)),((t=window.history.state)==null?void 0:t.source)!=="swup"&&Gi(null,{index:this.currentHistoryIndex}),await Ql(),await this.hooks.call("enable",void 0,void 0,()=>{const n=document.documentElement;n.classList.add("swup-enabled"),n.classList.toggle("swup-native",this.options.native)})}async destroy(){this.clickDelegate.destroy(),window.removeEventListener("popstate",this.handlePopState),this.cache.clear(),this.options.plugins.forEach(t=>this.unuse(t)),await this.hooks.call("disable",void 0,void 0,()=>{const t=document.documentElement;t.classList.remove("swup-enabled"),t.classList.remove("swup-native")}
43),this.hooks.clear()}shouldIgnoreVisit(t,{el:e,event:n}={}){const{origin:r,url:s,hash:o}=st.fromUrl(t);return r!==window.location.origin||!(!e||!this.triggerWillOpenNewWindow(e))||!!this.options.ignoreVisit(s+o,{el:e,event:n})}handleLinkClick(t){const e=t.delegateTarget,{href:n,url:r,hash:s}=st.fromElement(e);if(this.shouldIgnoreVisit(n,{el:e,event:t}))return;if(this.navigating&&r===this.visit.to.url)return void t.preventDefault();const o=this.createVisit({to:r,hash:s,el:e,event:t});t.metaKey||t.ctrlKey||t.shiftKey||t.altKey?this.hooks.callSync("link:newtab",o,{href:n}):t.button===0&&this.hooks.callSync("link:click",o,{el:e,event:t},()=>{var a;const u=(a=o.from.url)!=null?a:"";t.preventDefault(),r&&r!==u?this.isSameResolvedUrl(r,u)||this.performNavigation(o):s?this.hooks.callSync("link:anchor",o,{hash:s},()=>{Gi(r+s),this.scrollToContent(o)}):this.hooks.callSync("link:self",o,void 0,()=>{this.options.linkToSelf==="navigate"?this.performNavigation(o):(Gi(r),this.scrollToContent(o))})})}handlePopState(t){var e,n,r,s;const o=(e=(n=t.state)==null?void 0:n.url)!=null?e:window.location.href;if(this.options.skipPopStateHandling(t)||this.isSameResolvedUrl(Ye(),this.location.url))return;const{url:a,hash:u}=st.fromUrl(o),c=this.createVisit({to:a,hash:u,event:t});c.history.popstate=!0;const l=(r=(s=t.state)==null?void 0:s.index)!=null?r:0;l&&l!==this.currentHistoryIndex&&(c.history.direction=l-this.currentHistoryIndex>0?"forwards":"backwards",this.currentHistoryIndex=l),c.animation.animate=!1,c.scroll.reset=!1,c.scroll.target=!1,this.options.animateHistoryBrowsing&&(c.animation.animate=!0,c.scroll.reset=!0),this.hooks.callSync("history:popstate",c,{event:t},()=>{this.performNavigation(c)})}triggerWillOpenNewWindow(t){return!!t.matches('[download], [target="_blank"]')}}function $s(){return $s=Object.assign?Object.assign.bind():function(i){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(i[n]=e[n])}return i},$s.apply(this,arguments)}function Sa(i,t){return Object.keys(t).reduce((e,n)=>e.replace(`{${n}}`,t[n]||""),i||"")}let Ip=class{constructor(){var t;this.id="swup-announcer",this.style="position:absolute;top:0;left:0;clip:rect(0 0 0 0);clip-path:inset(50%);overflow:hidden;white-space:nowrap;word-wrap:normal;width:1px;height:1px;",this.region=void 0,this.region=(t=this.getRegion())!=null?t:this.createRegion()}getRegion(){return document.getElementById(this.id)}createRegion(){const t=function(e){const n=document.createElement("template");return n.innerHTML=e,n.content.children[0]}(`<p aria-live="assertive" aria-atomic="true" id="${this.id}" style="${this.style}"></p>`);return document.body.appendChild(t),t}announce(t,e=0){return new Promise(n=>{setTimeout(()=>{this.region.textContent===t&&(t=`${t}.`),this.region.textContent="",this.region.textContent=t,n()},e)})}};function La(i){let t;if(t=typeof i=="string"?document.querySelector(i):i,!(t instanceof HTMLElement))return;const e=t.getAttribute("tabindex");t.setAttribute("tabindex","-1"),t.focus({preventScroll:!0}),e!==null&&t.setAttribute("tabindex",e)}let Dp=class extends Ze{constructor(t={}){super(),this.name="SwupA11yPlugin",this.requires={swup:">=4"},this.defaults={headingSelector:"h1",respectReducedMotion:!0,autofocus:!1,announcements:{visit:"Navigated to: {title}",url:"New page at {url}"}},this.options=void 0,this.announcer=void 0,this.announcementDelay=100,this.rootSelector="body",this.handleAnchorScroll=(e,{hash:n})=>{const r=this.swup.getAnchorElement(n);r instanceof HTMLElement&&La(r)},this.options=$s({},this.defaults,t),this.announcer=new Ip}mount(){this.swup.hooks.create("content:announce"),this.swup.hooks.create("content:focus"),this.before("visit:start",this.prepareVisit),this.on("visit:start",this.markAsBusy),this.on("visit:end",this.unmarkAsBusy),this.on("visit:end",this.focusContent),this.on("visit:end",this.announceContent),this.on("scroll:anchor",this.handleAnchorScroll),this.before("visit:start",this.disableAnimations),this.before("link:self",this.disableAnimations),this.before("link:anchor",this.disableAnimations),this.swup.announce=this.announce.bind(this)}unmount(){this.swup.announce=void 0}async announce(t){await this.announcer.announce(t)}markAsBusy(){document.documentElement.setAttribute("aria-busy","true")}unmarkAsBusy(){document.documentElement.removeAttribute("aria-busy")}prepareVisit(t){t.a11y={announce:void 0,focus:this.rootSelector}}announceContent(t){this.swup.hooks.callSync("content:announce",t,void 0,e=>{e.a11y.announce===void 0&&(e.a11y.announce=this.getPageAnnouncement()),e.a11y.announce&&this.announcer.announce(e.a11y.announce,this.announcementDelay)})}focusContent(t){this.swup.hooks.callSync("content:focus",t,void 0,e=>{e.a11y.focus&&(this.options.autofocus&&function(){const n=function(){const r=document.querySelector("body [autofocus]");if(r&&!r.closest('[inert], [aria-disabled], [aria-hidden="true"]'))return r}();return!!n&&(n!==document.activeElement&&n.focus(),!0)}()===!0||La(e.a11y.focus))})}getPageAnnouncement(){const{headingSelector:t,announcements:e}=this.options;return function({headingSelector:n="h1",announcements:r={}}){var s,o;const a=document.documentElement.lang||"*",{href:u,url:c,pathname:l}=st.fromUrl(window.location.href),h=(s=(o=r[a])!=null?o:r["*"])!=null?s:r;if(typeof h!="object")return;const d=document.querySelector(n);d||console.warn(`SwupA11yPlugin: No main heading (${n}) found on new page`);const p=(d==null?void 0:d.getAttribute("aria-label"))||(d==null?void 0:d.textContent)||document.title||Sa(h.url,{href:u,url:c,path:l});return Sa(h.visit,{title:p,href:u,url:c,path:l})}({headingSelector:t,announcements:e})}disableAnimations(t){this.options.respectReducedMotion&&window.matchMedia("(prefers-reduced-motion: reduce)").matches&&(t.animation.animate=!1,t.scroll.animate=!1)}};function Ps(){return Ps=Object.assign?Object.assign.bind():function(i){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(i[n]=e[n])}return i},Ps.apply(this,arguments)}let kp=class extends Ze{constructor(t={}){super(),this.name="SwupBodyClassPlugin",this.requires={swup:">=4.6"},this.defaults={prefix:""},this.options=void 0,this.updateBodyClass=e=>{this.updateClassNames(document.body,e.to.document.body)},this.options=Ps({},this.defaults,t)}mount(){this.on("content:replace",this.updateBodyClass)}updateClassNames(t,e){const n=[...t.classList].filter(s=>this.isValidClassName(s)),r=[...e.classList].filter(s=>this.isValidClassName(s));t.classList.remove(...n),t.classList.add(...r)}isValidClassName(t){return t&&t.startsWith(this.options.prefix)}};function je(){return je=Object.assign?Object.assign.bind():function(i){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var n in e)({}).hasOwnProperty.call(e,n)&&(i[n]=e[n])}return i},je.apply(null,arguments)}window.process||(window.process={}),window.process.env||(window.process.env={});const ec=["test"].includes("production"),Z=["development","test"].includes("production"),ic=(i,t,e)=>i==null?i:`\x1B[${t}m${String(i)}\x1B[${e}m`,Kr=i=>ec?i:`🧩 ${(t=>ic(t,1,22))(i)}`,pt=i=>ec?i:(t=>ic(t,94,39))(i);class xp{log(...t){const e=t.shift();console.log(Kr(e),...t)}warn(...t){const e=t.shift();console.warn(Kr(e),...t)}error(...t){const e=t.shift();console.error(Kr(e),...t)}logIf(t,...e){t&&this.log(...e)}warnIf(t,...e){t&&this.warn(...e)}errorIf(t,...e){t&&this.error(...e)}}const nc=i=>{(function({parsedRules:t,swup:e,logger:n}){const r=e.getCurrentUrl();t.filter(s=>
43s.matchesFrom(r)||s.matchesTo(r)).forEach(s=>{s.containers.forEach(o=>{const a=or(`${o}:not([data-swup-fragment])`,e);if(!a)return;const u=a.getAttribute("data-swup-fragment-url");u&&Z&&(n==null||n.log(`fragment url ${pt(u)} for ${pt(o)} provided by server`));const{url:c}=st.fromUrl(u||r);a.setAttribute("data-swup-fragment",""),a.__swupFragment={url:c,selector:o}})})})(i),function({logger:t,swup:e}){const n="data-swup-link-to-fragment";document.querySelectorAll(`a[${n}]`).forEach(r=>{var s;const o=r.getAttribute(n);if(!o)return void(Z&&(t==null||t.warn(`[${n}] needs to contain a valid fragment selector`)));const a=or(o,e);if(!a)return void(Z&&(t==null||t.log(`ignoring ${pt(`[${n}="${o}"]`)} as ${pt(o)} is missing`)));const u=(s=a.__swupFragment)==null?void 0:s.url;u?(To(u,e.getCurrentUrl())&&Z&&(t==null||t.warn(`The fragment URL of ${o} is identical to the current URL. This could mean that [data-swup-fragment-url] needs to be provided by the server.`)),r.href=u):Z&&(t==null||t.warn(`no fragment infos found on ${o}`))})}(i),function({logger:t}){document.querySelectorAll("dialog[data-swup-fragment]").forEach(e=>{e.__swupFragment?e.__swupFragment.modalShown||(e.__swupFragment.modalShown=!0,e.removeAttribute("open"),e.showModal==null||e.showModal(),e.addEventListener("keydown",n=>n.key==="Escape"&&n.preventDefault())):Z&&(t==null||t.warn("fragment properties missing on element:",e))})}(i)},Is=(i,t)=>{var e;const n=(e=i.__swupFragment)==null?void 0:e.url;return!!n&&To(n,t)},To=(i,t)=>Oa(i)===Oa(t),Oa=i=>{if(!i.trim())return i;const t=st.fromUrl(i);return t.searchParams.sort(),t.pathname.replace(/\/+$/g,"")+t.search},rc=i=>{const t=i.from.url,e=i.to.url;if(t&&e)return{from:t,to:e}},Ao=(i,t)=>{if(i==null||!i.name)return;const{name:e,containers:n}=i;n.forEach(r=>{var s;(s=document.querySelector(r))==null||s.classList.toggle(`to-${e}`,t)})},sc=(i,t,e)=>t.find(n=>n.matches(i,e));function oc(i){return!!i&&i.containers.every(t=>{var e;return((e=document.querySelector(t))==null||(e=e.tagName)==null?void 0:e.toLowerCase())==="template"})}function or(i,t){for(const e of t.options.containers){const n=document.querySelector(e);if(n!=null&&n.matches(i))return n;const r=n==null?void 0:n.querySelector(i);if(r)return r}}function Ca(i){if(!Array.isArray(i))throw new Error("cloneRules() expects an array of rules");return i.map(t=>je({},t,{from:Array.isArray(t.from)?[...t.from]:t.from,to:Array.isArray(t.to)?[...t.to]:t.to,containers:[...t.containers]}))}class Rp{constructor(t){var e,n;this.matchesFrom=void 0,this.matchesTo=void 0,this.swup=void 0,this.from=void 0,this.to=void 0,this.containers=void 0,this.name=void 0,this.scroll=!1,this.focus=void 0,this.logger=void 0,this.if=()=>!0,this.swup=t.swup,this.logger=t.logger,this.from=t.from||"",this.to=t.to||"",t.name&&(this.name=wo(t.name)),t.scroll!==void 0&&(this.scroll=t.scroll),t.focu
43s!==void 0&&(this.focus=t.focus),typeof t.if=="function"&&(this.if=t.if),this.containers=this.parseContainers(t.containers),Z&&((e=this.logger)==null||e.errorIf(!this.to,"Every fragment rule must contain a 'to' path",this),(n=this.logger)==null||n.errorIf(!this.from,"Every fragment rule must contain a 'from' path",this)),this.matchesFrom=wa(this.from),this.matchesTo=wa(this.to)}parseContainers(t){var e,n;return Array.isArray(t)&&t.length?(n=t.map(r=>r.trim()),[...new Set(n)]).filter(r=>{var s;const o=this.validateSelector(r);return(s=this.logger)==null||s.errorIf(o instanceof Error,o),o===!0}):(Z&&((e=this.logger)==null||e.error("Every fragment rule must contain an array of containers",this.getDebugInfo())),[])}validateSelector(t){return t.startsWith("#")?!t.match(/\s|>/)||new Error(`fragment selectors must not be nested: ${t}`):new Error(`fragment selectors must be IDs: ${t}`)}getDebugInfo(){const{from:t,to:e,containers:n}=this;return{from:String(t),to:String(e),containers:String(n)}}matches(t,e){var n;if(!this.if(e))return Z&&((n=this.logger)==null||n.log("ignoring fragment rule due to custom rule.if:",this)),!1;const{url:r}=st.fromUrl(t.from),{url:s}=st.fromUrl(t.to);if(!this.matchesFrom(r)||!this.matchesTo(s))return!1;for(const a of this.containers){const u=this.validateFragmentSelectorForMatch(a);var o;if(u instanceof Error)return Z&&((o=this.logger)==null||o.error(u,this.getDebugInfo())),!1}return!0}validateFragmentSelectorForMatch(t){return document.querySelector(t)?!!or(t,this.swup)||new Error(`skipping rule since ${pt(t)} is outside of swup's default containers`):new Error(`skipping rule since ${pt(t)} doesn't exist in the current document`)}}const Mp=function(i){const t=rc(i);t&&sc(t,this.parsedRules,i)&&(i.scroll.reset=!1)},Np=async function(i){const t=rc(i);if(!t)return;const e=this.getFragmentVisit(t,i);if(!e)return;var n;i.fragmentVisit=e,Z&&((n=this.logger)==null||n.log(`fragment visit: ${pt(i.fragmentVisit.containers.join(", "))}`)),i.scroll=function(o,a){return typeof o.scroll=="boolean"?je({},a,{reset:o.scroll}):typeof o.scroll!="string"||a.target?a:je({},a,{target:o.scroll})}(e,i.scroll);const r=i.a11y;var s;e.focus!==void 0&&(Z&&((s=this.logger)==null||s.errorIf(!r,"Can't set visit.a11y.focus. Is @swup/a11y-plugin installed?")),r&&(r.focus=e.focus)),i.animation.scope=i.fragmentVisit.containers,i.containers=i.fragmentVisit.containers,i.animation.selector=i.fragmentVisit.containers.join(","),Ao(e,!0)},Fp=function(i,t){var e,n;i.fragmentVisit&&oc(i.fragmentVisit)&&(Z&&((e=this.logger)==null||e.log(`${pt("out")}-animation skipped for ${pt((n=i.fragmentVisit)==null?void 0:n.containers.toString())}`)),t.skip=!0)},Bp=function(i,t){var e,n;i.fragmentVisit&&oc(i.fragmentVisit)&&(Z&&((e=this.logger)==null||e.log(`${pt("in")}-animation skipped for ${pt((n=i.fragmentVisit)==null?void 0:n.containers.toString())}`)),t.skip=!0)},Vp=function(i,t){var e;if(i.trigger.el||!i.to.url)return;const n=this.swup.cache.get(i.to.url);n&&n.fragmentHtml&&(i.to.document=new DOMParser().parseFromString(n.fragmentHtml,"text/html"),i.to.html=n.fragmentHtml,Z&&((e=this.logger)==null||e.log(`fragment cache used for ${pt(i.to.url)}`)))},Up=function(i){Ao(i.fragmentVisit,!0),nc(this),(({swup:t,logger:e})=>{const n=t.getCurrentUrl(),r=t.cache,s=r.get(n);if(!s)return;const o=new DOMParser().parseFromString(s.html,"text/html"),a=[],u=Array.from(document.querySelectorAll("[data-swup-fragment]")).filter(c=>!c.matches("template")&&!Is(c,n));u.length&&(t.options.cache?(u.forEach(c=>{var l,h;if(c.querySelector("[data-swup-fragment]")!=null)return;const d=(l=c.__swupFragment)==null?void 0:l.url;if(!d)return void(Z&&(e==null||e.warn("no fragment url found:",c)));const p=(h=c.__swupFragment)==null?void 0:h.selector;if(!p)return void(Z&&(e==null||e.warn("no fragment selector found:",c)));const v=r.get(d);if(!v)return;const f=o.querySelector(p);if(!f)return;const m=new DOMParser().parseFromString(v.html,"text/html").querySelector(p);m&&(m.setAttribute("data-swup-fragment-url",d),f.replaceWith(m),a.push(c))}),a.length&&(r.update(n,{fragmentHtml:o.documentElement.outerHTML}),a.forEach(c=>{var l,h;const d=((l=c.__swupFragment)==null?void 0:l.url)||"",p=((h=c.__swupFragment)==null?void 0:h.selector)||"";Z&&(e==null||e.log(`updated cache with ${pt(p)} from ${pt(d)}`))}))):Z&&(e==null||e.warn("can't cache foreign fragment elements without swup's cache")))})(this)},zp=function(i){Ao(i.fragmentVisit,!1)};class Hp extends Ze{get parsedRules(){return this._parsedRules}constructor(t){super(),this.name="SwupFragmentPlugin",this.requires={swup:">=4.6"},this._rawRules=[],this._parsedRules=[],this.options=void 0,this.defaults={rules:[],debug:!1},this.logger=void 0,this.options=je({},this.defaults,t)}mount(){const t=this.swup;var e;this.setRules(this.options.rules),Z&&this.options.debug&&(this.logger=new xp),this.before("link:self",Mp),this.on("visit:start",Np),this.before("animation:out:await",Fp),this.before("animation:in:await",Bp),this.before("content:replace",Vp),this.on("content:replace",Up),this.on("visit:end",zp),Z&&((e=this.logger)==null||e.warnIf(!t.options.cache,"fragment caching will only work with swup's cache being active")),nc(this)}unmount(){super.unmount(),document.querySelectorAll("[data-swup-fragment]").forEach(t=>{t.removeAttribute("data-swup-fragment-url"),delete t.__swupFragment})}setRules(t){var e;this._rawRules=Ca(t),this._parsedRules=t.map(n=>this.parseRule(n)),Z&&((e=this.logger)==null||e.log("Updated fragment rules",this.getRules()))}getRules(){return Ca(this._rawRules)}prependRule(t){this.setRules([t,...this.getRules()])}appendRule(t){this.setRules([...this.getRules(),t])}parseRule(t){return new Rp(je({},t,{logger:this.logger,swup:this.swup}))}getFragmentVisit(t,e){const n=sc(t,this.parsedRules,e||this.swup.createVisit(t));if(!n)return;const r=((u,c,l,h)=>
43{let d=c.map(v=>{const f=document.querySelector(v);return f?or(v,l)?{selector:v,el:f}:(Z&&(h==null||h.error(`${pt(v)} is outside of swup's default containers`)),!1):(Z&&(h==null||h.log(`${pt(v)} missing in current document`)),!1)}).filter(v=>!!v);const p=d.every(v=>Is(v.el,u.to));return To(u.from,u.to)||p&&l.options.linkToSelf==="navigate"||(d=d.filter(v=>!Is(v.el,u.to)||(Z&&(h==null||h.log(`ignoring fragment ${pt(v.selector)} as it already matches the current URL`)),!1))),d.map(v=>v.selector)})(t,n.containers,this.swup,this.logger);if(!r.length)return;const{name:s,scroll:o,focus:a}=n;return{containers:r,name:s,scroll:o,focus:a}}}function Yi(){return Yi=Object.assign?Object.assign.bind():function(i){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(i[n]=e[n])}return i},Yi.apply(this,arguments)}const $a=i=>String(i).split(".").map(t=>String(parseInt(t||"0",10))).concat(["0","0"]).slice(0,3).join(".");let qp=class{constructor(){this.isSwupPlugin=!0,this.swup=void 0,this.version=void 0,this.requires={},this.handlersToUnregister=[]}mount(){}unmount(){this.handlersToUnregister.forEach(t=>t()),this.handlersToUnregister=[]}_beforeMount(){if(!this.name)throw new Error("You must define a name of plugin when creating a class.")}_afterUnmount(){}_checkRequirements(){return typeof this.requires!="object"||Object.entries(this.requires).forEach(([t,e])=>{if(!function(n,r,s){const o=function(a,u){var c;if(a==="swup")return(c=u.version)!=null?c:"";{var l;const h=u.findPlugin(a);return(l=h==null?void 0:h.version)!=null?l:""}}
43(n,s);return!!o&&((a,u)=>u.every(c=>{const[,l,h]=c.match(/^([\D]+)?(.*)$/)||[];var d,p;return((v,f)=>{const m={"":g=>g===0,">":g=>g>0,">=":g=>g>=0,"<":g=>g<0,"<=":g=>g<=0};return(m[f]||m[""])(v)})((p=h,d=$a(d=a),p=$a(p),d.localeCompare(p,void 0,{numeric:!0})),l||">=")}))(o,r)}(t,e=Array.isArray(e)?e:[e],this.swup)){const n=`${t} ${e.join(", ")}`;throw new Error(`Plugin version mismatch: ${this.name} requires ${n}`)}}),!0}on(t,e,n={}){var r;e=!(r=e).name.startsWith("bound ")||r.hasOwnProperty("prototype")?e.bind(this):e;const s=this.swup.hooks.on(t,e,n);return this.handlersToUnregister.push(s),s}once(t,e,n={}){return this.on(t,e,Yi({},n,{once:!0}))}before(t,e,n={}){return this.on(t,e,Yi({},n,{before:!0}))}replace(t,e,n={}){return this.on(t,e,Yi({},n,{replace:!0}))}off(t,e){return this.swup.hooks.off(t,e)}},Wp=class extends qp{constructor(...t){super(...t),this.name="SwupGtmPlugin"}mount(){this.on("page:view",this.trackPageview)}trackPageview(){if(typeof window.dataLayer!="object")return void console.warn("GTM is not loaded on the page");const t=window.location.pathname+window.location.search,e=document.title;window.dataLayer.push({event:"VirtualPageview",virtualPageURL:t,virtualPageTitle:e}),this.swup.log(`GTM page view: ${t}`)}};function ar(){return ar=Object.assign?Object.assign.bind():function(i){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var n in e)({}).hasOwnProperty.call(e,n)&&(i[n]=e[n])}return i},ar.apply(null,arguments)}function Pa(i){return i.localName!=="title"&&!i.matches("[data-swup-theme]")}function Ia(i,t){return i.outerHTML===t.outerHTML}function Da(i,t=[]){const e=Array.from(i.attributes);return t.length?e.filter(({name:n})=>t.some(r=>r instanceof RegExp?r.test(n):n===r)):e}function Gp(i){return i.matches("link[rel=stylesheet][href]")}let Yp=class extends Ze{constructor(t={}){var e;super(),e=this,this.name="SwupHeadPlugin",this.requires={swup:">=4.6"},this.defaults={persistTags:!1,persistAssets:!1,awaitAssets:!1,attributes:["lang","dir"],timeout:3e3},this.options=void 0,this.updateHead=async function(n,{page:{}}){const{awaitAssets:r,attributes:s,timeout:o}=e.options,a=n.to.document,{removed:u,added:c}=function(l,h,{shouldPersist:d=()=>!1}={}){const p=Array.from(l.children),v=Array.from(h.children),f=(m=p,v.reduce((y,b,T)=>(m.some(O=>Ia(b,O))||y.push({el:b,index:T}),y),[]));var m;const g=function(y,b){return y.reduce((T,O)=>(b.some(A=>Ia(O,A))||T.push({el:O}),T),[])}(p,v);g.reverse().filter(({el:y})=>Pa(y)).filter(({el:y})=>!d(y)).forEach(({el:y})=>l.removeChild(y));const _=f.filter(({el:y})=>Pa(y)).map(y=>{let b=y.el.cloneNode(!0);return l.insertBefore(b,l.children[(y.index||0)+1]||null),ar({},y,{el:b})});return{removed:g.map(({el:y})=>y),added:_.map(({el:y})=>y)}}(document.head,a.head,{shouldPersist:l=>e.isPersistentTag(l)});if(e.swup.log(`Removed ${u.length} / added ${c.length} tags in head`),s!=null&&s.length&&function(l,h,d=[]){const p=new Set;for(const{name:v,value:f}of Da(h,d))l.setAttribute(v,f),p.add(v);for(const{name:v}of Da(l,d))p.has(v)||l.removeAttribute(v)}(document.documentElement,a.documentElement,s),r){const l=function(h,d=0){return h.filter(Gp).map(p=>function(v,f=0){let m;const g=_=>{v.sheet?_():m=setTimeout(()=>g(_),10)};return new Promise(_=>{g(()=>_(v)),f>0&&setTimeout(()=>{m&&clearTimeout(m),_(v)},f)})}(p,d))}(c,o);l.length&&(e.swup.log(`Waiting for ${l.length} assets to load`),await Promise.all(l))}},this.options=ar({},this.defaults,t),this.options.persistAssets&&!this.options.persistTags&&(this.options.persistTags="link[rel=stylesheet], script[src], style")}mount(){this.before("content:replace",this.updateHead)}isPersistentTag(t){const{persistTags:e}=this.options;return typeof e=="function"?e(t):typeof e=="string"&&e.length>0?t.matches(e):!!e}};function ur(){return ur=Object.assign?Object.assign.bind():function(i){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var n in e)({}).hasOwnProperty.call(e,n)&&(i[n]=e[n])}return i},ur.apply(null,arguments)}function ka(){return window.matchMedia("(hover: hover)").matches}function In(i){return!!i&&(i instanceof HTMLAnchorElement||i instanceof SVGAElement)}const xa=window.requestIdleCallback||(i=>setTimeout(i,1)),jp=["preloadVisibleLinks"];class Kp extends Ze{constructor(t={}){var e;super(),e=this,this.name="SwupPreloadPlugin",this.requires={swup:">=4.5"},this.defaults={throttle:5,preloadInitialPage:!0,preloadHoveredLinks:!0,preloadVisibleLinks:{enabled:!1,threshold:.2,delay:500,containers:["body"],ignore:()=>!1}},this.options=void 0,this.queue=void 0,this.preloadObserver=void 0,this.preloadPromises=new Map,this.mouseEnterDelegate=void 0,this.touchStartDelegate=void 0,this.focusDelegate=void 0,this.onPageLoad=(s,o,a)=>{const{url:u}=s.to;return u&&this.preloadPromises.has(u)?this.preloadPromises.get(u):a(s,o)},this.onMouseEnter=async function(s){if(s.target!==s.delegateTarget||!ka())return;const o=s.delegateTarget;if(!In(o))return;const{url:a,hash:u}
43=st.fromElement(o),c=e.swup.createVisit({to:a,hash:u,el:o,event:s});e.swup.hooks.callSync("link:hover",c,{el:o,event:s}),e.preload(o,{priority:!0})},this.onTouchStart=s=>{if(ka())return;const o=s.delegateTarget;In(o)&&this.preload(o,{priority:!0})},this.onFocus=s=>{const o=s.delegateTarget;In(o)&&this.preload(o,{priority:!0})};const{preloadVisibleLinks:n}=t,r=function(s,o){if(s==null)return{};var a={};for(var u in s)if({}.hasOwnProperty.call(s,u)){if(o.includes(u))continue;a[u]=s[u]}return a}(t,jp);this.options=ur({},this.defaults,r),typeof n=="object"?this.options.preloadVisibleLinks=ur({},this.options.preloadVisibleLinks,{enabled:!0},n):this.options.preloadVisibleLinks.enabled=!!n,this.preload=this.preload.bind(this),this.queue=function(s=1){const o=[],a=[];let u=0,c=0;function l(){c<s&&u>0&&((a.shift()||o.shift()||(()=>{}))(),u--,c++)}return{add:function(h,d=!1){if(h.__queued){if(!d)return;{const p=o.indexOf(h);if(p>=0){const v=o.splice(p,1);u-=v.length}}}h.__queued=!0,(d?a:o).push(h),u++,u<=1&&l()},next:function(){c--,l()}}}(this.options.throttle)}mount(){const t=this.swup;t.options.cache?(t.hooks.create("page:preload"),t.hooks.create("link:hover"),t.preload=this.preload,t.preloadLinks=this.preloadLinks,this.replace("page:load",this.onPageLoad),this.preloadLinks(),this.on("page:view",()=>this.preloadLinks()),this.options.preloadVisibleLinks.enabled&&(this.preloadVisibleLinks(),this.on("page:view",()=>this.preloadVisibleLinks())),this.options.preloadHoveredLinks&&this.preloadLinksOnAttention(),this.options.preloadInitialPage&&this.preload(Ye())):console.warn("SwupPreloadPlugin: swup cache needs to be enabled for preloading")}unmount(){var t,e,n;this.swup.preload=void 0,this.swup.preloadLinks=void 0,this.preloadPromises.clear(),(t=this.mouseEnterDelegate)==null||t.destroy(),(e=this.touchStartDelegate)==null||e.destroy(),(n=this.focusDelegate)==null||n.destroy(),this.stopPreloadingVisibleLinks()}async preload(t,e={}){var n;let r,s;const o=(n=e.priority)!=null&&n;if(Array.isArray(t))return Promise.all(t.map(u=>this.preload(u)));if(In(t))s=t,{href:r}=st.fromElement(t);else{if(typeof t!="string")return;r=t}if(!r)return;if(this.swup.cache.has(r))return this.swup.cache.get(r);if(this.preloadPromises.has(r))return this.preloadPromises.get(r);if(!this.shouldPreload(r,{el:s}))return;const a=new Promise(u=>{this.queue.add(()=>{this.performPreload(r).catch(()=>{}).then(c=>u(c)).finally(()=>{this.queue.next(),this.preloadPromises.delete(r)})},o)});return this.preloadPromises.set(r,a),a}preloadLinks(){xa(()=>{Array.from(document.querySelectorAll("a[data-swup-preload], [data-swup-preload-all] a")).forEach(t=>this.preload(t))})}preloadLinksOnAttention(){const{swup:t}=this,{linkSelector:e}=t.options,n={passive:!0,capture:!0};this.mouseEnterDelegate=t.delegateEvent(e,"mouseenter",this.onMouseEnter,n),this.touchStartDelegate=t.delegateEvent(e,"touchstart",this.onTouchStart,n),this.focusDelegate=t.delegateEvent(e,"focus",this.onFocus,n)}preloadVisibleLinks(){if(this.preloadObserver)return void this.preloadObserver.update();const{threshold:t,delay:e,containers:n}=this.options.preloadVisibleLinks;this.preloadObserver=function({threshold:r,delay:s,containers:o,callback:a,filter:u}){const c=new Map,l=new IntersectionObserver(v=>{v.forEach(f=>{f.isIntersecting?h(f.target):d(f.target)})},{threshold:r}),h=v=>{var f;const{href:m}=st.fromElement(v),g=(f=c.get(m))!=null?f:new Set;c.set(m,g),g.add(v),setTimeout(()=>{const _=c.get(m);_!=null&&_.size&&(a(v),l.unobserve(v),_.delete(v))},s)},d=v=>{var f;const{href:m}=st.fromElement(v);(f=c.get(m))==null||f.delete(v)},p=()=>{xa(()=>{const v=o.map(f=>`${f} a[*|href]`).join(", ");Array.from(document.querySelectorAll(v)).filter(f=>u(f)).forEach(f=>l.observe(f))})};return{start:()=>p(),stop:()=>l.disconnect(),update:()=>(c.clear(),p())}}({threshold:t,delay:e,containers:n,callback:r=>this.preload(r),filter:r=>{if(this.options.preloadVisibleLinks.ignore(r)||!r.matches(this.swup.options.linkSelector))return!1;const{href:s}=st.fromElement(r);return this.shouldPreload(s,{el:r})}}),this.preloadObserver.start()}stopPreloadingVisibleLinks(){this.preloadObserver&&this.preloadObserver.stop()}shouldPreload(t,{el:e}={}){const{url:n,href:r}=st.fromUrl(t);return!(!function(){if(navigator.connection){var s;if(navigator.connection.saveData||(s=navigator.connection.effectiveType)!=null&&s.endsWith("2g"))return!1}return!0}()||this.swup.cache.has(n)||this.preloadPromises.has(n)||this.swup.shouldIgnoreVisit(r,{el:e})||e&&this.swup.resolveUrl(n)===this.swup.resolveUrl(Ye()))}async performPreload(t){var e=this;const{url:n}=st.fromUrl(t),r=this.swup.createVisit({to:n});return await this.swup.hooks.call("page:preload",r,{url:n},async function(o,a){return a.page=await e.swup.fetchPage(t,{visit:o}),a.page})}}function Ds(){return Ds=Object.assign?Object.assign.bind():function(i){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(i[n]=e[n])}return i},Ds.apply(this,arguments)}let Xp=class{constructor({className:t,styleAttr:e,animationDuration:n,minValue:r,initialValue:s,trickleValue:o}={}){this.value=0,this.visible=!1,this.hiding=!1,this.className="progress-bar",this.styleAttr="data-progressbar-styles data-swup-theme",this.animationDuration=300,this.minValue=.1,this.initialValue=.25,this.trickleValue=.03,this.trickleInterval=void 0,this.styleElement=void 0,this.progressElement=void 0,this.trickle=()=>{const a=Math.random()*this.trickleValue;this.setValue(this.value+a)},t!==void 0&&(this.className=String(t)),e!==void 0&&(this.styleAttr=String(e)),n!==void 0&&(this.animationDuration=Number(n)),r!==void 0&&(this.minValue=Number(r)),s!==void 0&&(this.initialValue=Number(s)),o!==void 0&&(this.trickleValue=Number(o)),this.styleElement=this.createStyleElement(),this.progressElement=this.createProgressElement()}get defaultStyles(){return`
44		.${this.className} {
45			position: fixed;
46			display: block;
47			top: 0;
48			left: 0;
49      width: 100%;
50			height: 3px;
51			background-color: black;
52			z-index: 9999;
53			transition:
54				transform ${this.animationDuration}ms ease-out,
55				opacity ${this.animationDuration/2}ms ${this.animationDuration/2}ms ease-in;
56	  transform: translate3d(0, 0, 0) scaleX(var(--progress, 0));
57      transform-origin: 0;
58		}
59	`}show(){this.visible||(this.visible=!0,this.installStyleElement(),this.installProgressElement(),this.startTrickling())}hide(){this.visible&&!this.hiding&&(this.hiding=!0,this.fadeProgressElement(()=>{this.uninstallProgressElement(),this.stopTrickling(),this.visible=!1,this.hiding=!1}))}setValue(t){this.value=Math.min(1,Math.max(this.minValue,t)),this.refresh()}installStyleElement(){document.head.prepend(this.styleElement)}installProgressElement(){this.progressElement.style.setProperty("--progress",String(0)),this.progressElement.style.opacity="1",document.body.prepend(this.progressElement),this.progressElement.scrollTop=0,this.setValue(Math.random()*this.initialValue)}fadeProgressElement(t){this.progressElement.style.opacity="0",setTimeout(t,1.5*this.animationDuration)}uninstallProgressElement(){this.progressElement.remove()}startTrickling(){this.trickleInterval||(this.trickleInterval=window.setInterval(this.trickle,this.animationDuration))}stopTrickling(){window.clearInterval(this.trickleInterval),delete this.trickleInterval}refresh(){requestAnimationFrame(()=>{this.progressElement.style.setProperty("--progress",String(this.value))})}createStyleElement(){const t=document.createElement("style");
59return this.styleAttr.split(" ").forEach(e=>t.setAttribute(e,"")),t.textContent=this.defaultStyles,t}createProgressElement(){const t=document.createElement("div");return t.className=this.className,t.setAttribute("aria-hidden","true"),t}};class Qp extends Ze{constructor(t={}){super(),this.name="SwupProgressPlugin",this.defaults={className:"swup-progress-bar",delay:300,transition:300,minValue:.1,initialValue:.25,finishAnimation:!0},this.options=void 0,this.progressBar=void 0,this.showProgressBarTimeout=void 0,this.hideProgressBarTimeout=void 0,this.options=Ds({},this.defaults,t);const{className:e,minValue:n,initialValue:r,transition:s}=this.options;this.progressBar=new Xp({className:e,minValue:n,initialValue:r,animationDuration:s})}mount(){this.on("visit:start",this.startShowingProgress),this.on("page:view",this.stopShowingProgress)}startShowingProgress(){this.progressBar.setValue(0),this.showProgressBarAfterDelay()}stopShowingProgress(){this.progressBar.setValue(1),this.options.finishAnimation?this.finishAnimationAndHideProgressBar():this.hideProgressBar()}showProgressBar(){this.cancelHideProgressBarTimeout(),this.progressBar.show()}showProgressBarAfterDelay(){this.cancelShowProgressBarTimeout(),this.cancelHideProgressBarTimeout(),this.showProgressBarTimeout=window.setTimeout(this.showProgressBar.bind(this),this.options.delay)}hideProgressBar(){this.cancelShowProgressBarTimeout(),this.progressBar.hide()}finishAnimationAndHideProgressBar(){this.cancelShowProgressBarTimeout(),this.hideProgressBarTimeout=window.setTimeout(this.hideProgressBar.bind(this),this.options.transition)}cancelShowProgressBarTimeout(){window.clearTimeout(this.showProgressBarTimeout),delete this.showProgressBarTimeout}cancelHideProgressBarTimeout(){window.clearTimeout(this.hideProgressBarTimeout),delete this.hideProgressBarTimeout}}function ks(){return ks=Object.assign?Object.assign.bind():function(i){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(i[n]=e[n])}return i},ks.apply(this,arguments)}class Zp extends Ze{constructor(t={}){super(),this.name="SwupScriptsPlugin",this.requires={swup:">=4"},this.defaults={head:!0,body:!0,optin:!1},this.options=void 0,this.options=ks({},this.defaults,t)}mount(){this.on("content:replace",this.runScripts)}runScripts(){const{head:t,body:e,optin:n}=this.options,r=this.getScope({head:t,body:e});if(!r)return;const s=Array.from(r.querySelectorAll(n?"script[data-swup-reload-script]":"script:not([data-swup-ignore-script])"));s.forEach(o=>this.runScript(o)),this.swup.log(`Executed ${s.length} scripts.`)}runScript(t){const e=document.createElement("script");for(const{name:n,value:r}of t.attributes)e.setAttribute(n,r);return e.textContent=t.textContent,t.replaceWith(e),e}getScope({head:t,body:e}){return t&&e?document:t?document.head:e?document.body:null}}let Ut=null;const Ra=["/fellows/:slug","/fellows","/fellows\\?q=:query","/fellows\\?filter-year=:year","/fellows\\?filter-fields=:fields","/fellows\\?filter-between=:between","/fellows\\?page=:page"],Jp=[`a[href^="${window.location.origin}"]`,'a[href^="/"]','a[href^="#"]'],tv=["[download]",'[target="_blank"]',"[data-no-swup]",'[href$=".pdf"]'],ev=tv.map(i=>`:not(${i})`).join(""),iv=Jp.map(i=>`${i}${ev}`).join(","),nv=({onContentReplaced:i=()=>{}})=>(Ut=new tc({containers:["#pjax-wrapper","[data-pjax-links]","#menu-current-item"],animateHistoryBrowsing:!1,animationSelector:'[class*="transition-page"]',linkSelector:iv,plugins:[new Qp,new Kp({preloadInitialPage:!1,preloadHoveredLinks:!1}),new Dp,new Wp,new Yp({persistAssets:!0,awaitAssets:!0}),new kp,new Zp({head:!1,body:!0}),new Hp({debug:!0,rules:[{from:Ra,to:Ra,containers:["#filtered-list","#filters-modal","#icon-sprite","#fellow-modal"],name:"refresh-listing",focus:!0,scroll:"#filtered-list"}]})]}),Ut.hooks.on("visit:start",()=>{document.dispatchEvent(new CustomEvent(F.PAGECOLOR_RESET)),document.dispatchEvent(new CustomEvent(F.HEADER_UPDATE_COLOR,{detail:{color:null}}))}),Ut.hooks.on("content:replace",t=>{typeof i=="function"&&(i(),t.to.url.includes("fellows/")||Fs()),document.dispatchEvent(new CustomEvent(F.SWUP_CONTENT_REPLACED))}),Ut.hooks.on("animation:in:start",()=>
59{document.dispatchEvent(new CustomEvent(F.SWUP_ANIMATION_START))}),Ut.hooks.on("animation:in:end",()=>{document.dispatchEvent(new CustomEvent(F.SWUP_ANIMATION_END)),window.setTimeout(()=>{document.dispatchEvent(new CustomEvent(F.HEADER_CLOSE_MENU))},10)}),Ut.hooks.on("link:click",()=>{window.setTimeout(()=>{document.dispatchEvent(new CustomEvent(F.HEADER_CLOSE_MENU))},20),window.setTimeout(()=>{document.dispatchEvent(new CustomEvent("Modal:closeAll"))},200)}),Ut),ac=async(i,t={force:!1,method:"GET",data:{}})=>{if(Ut instanceof tc&&!t.force){await Ut.cache.delete(i),await Ut.preload(i);const e={url:i,method:t.method||"GET"};t.method==="POST"&&(e.data=t.data||{}),Ut.navigate(i,e)}else(t.method||"GET")==="GET"&&window.location.assign(i)},rv="filtered-list",Xr="data-name",sv="data-value",ov=W("clearFilters",{handleClick(i){i.preventDefault();const t=i.target.hasAttribute(Xr)?i.target:i.target.closest("["+Xr+"]");let e=new URL(location.href);const n=t.getAttribute(Xr),r=t.getAttribute(sv);if(e.searchParams.has(n)){let o=e.searchParams.get(n).split(",");o=o.filter(a=>!r.split(",").includes(a)),o.length?e.searchParams.set(n,o.join(",")):e.searchParams.delete(n)}for(const o of[...e.searchParams.keys()])e.searchParams.get(o)||e.searchParams.delete(o);const s=document.getElementById(rv);s&&s.classList.add("is-loading"),ac(e.href)}},{init(){this.$btns=this.getChildren("btn"),this.$btns.forEach(i=>{i.addEventListener("click",this.handleClick)})},destroy(){this.$btns.forEach(i=>{i.removeEventListener("click",this.handleClick)})}}),av=W("copyToClipboard",{pageUrl(){const i=this.options.url;return i&&i.length>0?i:window.location.href},copy(i){i.preventDefault(),i.stopPropagation(),navigator.clipboard.writeText(this.pageUrl()).then(()=>{const t=this.getChild("icon-copy"),e=this.getChild("icon-checkmark"),n=this.getChild("message");t.classList.add("hidden"),e.classList.remove("hidden"),n.setAttribute("role","alert"),n.setAttribute("aria-hidden","false"),setTimeout(()=>{t&&e&&n&&(t.classList.remove("hidden"),e.classList.add("hidden"),n.removeAttribute("role"),n.setAttribute("aria-hidden","true"))},3e3)},()=>{console.warn("Copy failed")})}},{init(){this.$node.addEventListener("click",this.copy)},destroy(){this.$node.removeEventListener("click",this.copy)}}),uv=W("demo",{onLoad(){console.log("demo loaded")}},{init(){console.log("demo init")},destroy(){}}),Dn="s-disabled",lv=W("filterYears",{activeCheckboxes(){var i,t;(i=this.$checkboxes)==null||i.forEach(e=>{e.classList.remove(Dn),e.querySelector("input").disabled=!1}),(t=this.$rangeInputs)==null||t.forEach(e=>{e.classList.add(Dn),e.disabled=!0}),this.updateSubmitBtn()},updateSubmitBtn(){window.setTimeout(()=>{document.dispatchEvent(new CustomEvent(F.FILTER_FORM_UPDATE))},50)},activeRange(){var i,t;(i=this.$checkboxes)==null||i.forEach(e=>{e.classList.add(Dn),e.querySelector("input").disabled=!0}),(t=this.$rangeInputs)==null||t.forEach(e=>{e.classList.remove(Dn),e.disabled=!1}),this.updateSubmitBtn()},setInitialState(){const i=Array.from(this.$rangeInputs).some(e=>e.value!==""),t=Array.from(this.$checkboxes).some(e=>e.querySelector("input").checked);i?this.activeRange():t&&this.activeCheckboxes()}},{init(){var i;this.$checkboxes=this.getChildren("checkbox"),this.$rangeInputs=this.getChildren("range"),this.$checkboxesWrapper=this.getChild("checkboxes-wrapper"),this.$rangeWrapper=this.getChild("range-wrapper"),this.setInitialState(),this.$checkboxesWrapper.addEventListener("click",this.activeCheckboxes),this.$rangeWrapper.addEventListener("click",this.activeRange),(i=this.$rangeInputs)==null||i.forEach(t=>{t.addEventListener("input",this.updateSubmitBtn)})},destroy(){var i;this.$checkboxesWrapper.removeEventListener("click",this.activeCheckboxes),this.$rangeWrapper.removeEventListener("click",this.activeRange),(i=this.$rangeInputs)==null||i.forEach(t=>{t.removeEventListener("input",this.updateSubmitBtn)})}}),So=(i,t)=>{let e,n,r;return function(){const s=this,o=arguments;e?(clearTimeout(n),n=setTimeout(function(){Date.now()-r>=t&&(i.apply(s,o),r=Date.now())},Math.max(t-(Date.now()-r),0))):(i.apply(s,o),r=Date.now(),e=!0)}},cv=function(i){const t={};if(typeof i=="object"&&i.nodeName==="FORM"){const n=i.elements.length;for(let r=0;r<n;r++){const s=i.elements[r];if(s.name&&!s.disabled&&s.type!=="file"&&s.type!=="reset"&&s.type!=="submit"&&s.type!=="button")if(s.dataset.type==="range")s.value.trim()!==""&&(t[s.name]?t[s.name]=[t[s.name],s.value].join(","):t[s.name]=s.value);else if(s.type==="select-multiple")for(var e=i.elements[r].options.length-1;e>=0;e--)s.options[e].selected&&(t[s.name]=s.options[e].value);else(s.type!=="checkbox"&&s.type!=="radio"||s.checked)&&(s.type==="checkbox"||s.type==="radio"?s.value!=="on"&&(t[s.name]?t[s.name]=[t[s.name],s.value].join(","):t[s.name]=s.value):t[s.name]=s.value)}}return t},hv="filtered-list",dv="filters-modal",Qr="q",fv=W("formFilter",{navigateToNewUrl(i){if(this.isLoading)return;const t=document.getElementById(hv);t&&t.classList.add("is-loading"),this.isLoading=!0,ac(i)},onContentReplace(){this.isLoading=!1;const i=this.getQueryString(),e=this.options["reset-url"]+i;window.location.href.replace(/[?&]page=\d+/,"")!==e&&this.$node.dispatchEvent(new Event("submit"))},getQueryString(){const i=cv(this.$node);return(i[Qr]===null||i[Qr]==="")&&delete i[Qr],rs.fromObject(i)},handleSubmit(i){i.preventDefault();const t=this.options["reset-url"],e=this.getQueryString(),n=t+e;if(e==="")this.handleReset();
59else{if(this.$modal&&this.$modal.dispatchEvent(new CustomEvent(F.MODAL_NODE_CLOSE)),n===window.location.href)return;this.navigateToNewUrl(n)}return!1},handleReset(){document.dispatchEvent(new CustomEvent(F.MODAL_CLOSE_ALL)),document.dispatchEvent(new CustomEvent(F.FILTER_FORM_RESET));const i=rs.toObject(window.location.href);Object.keys(i).length>0&&this.navigateToNewUrl(this.options["reset-url"])},isValidYearRange(){if(this.$yearInputs.length!==2)return!1;const i=Array.from(this.$yearInputs).map(t=>({disabled:t.disabled,value:t.value.trim()}));return i.every(({disabled:t})=>t)||i.every(({value:t})=>t==="")||i.every(({value:t})=>/^\d{4}$/.test(t))},updateFormState(){if(!this.isValidYearRange()){this.updateSubmitBtn(0);return}this.getResultsCount()},updateSubmitBtn(i){this.$submitCount.textContent=i,this.$submit.disabled=i<1},getResultsCount(){const i=this.getQueryString();So(fetch(this.options.endpoint+i,{method:"GET",credentials:"same-origin",mode:"no-cors",headers:{"Content-Type":"application/json",Accept:"application/json","X-Requested-With":"XMLHttpRequest"}}).then(t=>{if(!t.ok)throw this.updateSubmitBtn(0),new Error(`An error occurred: ${t.statusText}`);return t.json()}).then(t=>{(t==null?void 0:t.total)!==void 0&&(t==null?void 0:t.total)!==null&&this.updateSubmitBtn(t.total)}).catch(t=>{console.log(t)}),300)},registerEvents(){this.$node.addEventListener("submit",this.handleSubmit),this.$node.addEventListener("change",this.updateFormState),this.$reset.addEventListener("click",this.handleReset),document.addEventListener(F.SEARCH_SUBMIT,this.handleSubmit),document.addEventListener(F.FILTER_FORM_UPDATE,this.updateFormState),document.addEventListener(F.SWUP_CONTENT_REPLACED,this.onContentReplace)},disposeEvents(){this.$node.removeEventListener("submit",this.handleSubmit),this.$node.removeEventListener("change",this.updateFormState),this.$reset.removeEventListener("click",this.handleReset),document.removeEventListener(F.SEARCH_SUBMIT,this.handleSubmit),document.removeEventListener(F.FILTER_FORM_UPDATE,this.updateFormState),document.removeEventListener(F.SWUP_CONTENT_REPLACED,this.onContentReplace)}},{init(){this.$reset=this.getChild("reset-trigger"),this.$submit=this.getChild("submit-trigger"),this.$submitCount=this.getChild("submit-count"),this.$yearInputs=this.$node.querySelectorAll("[data-FilterYears-range]"),this.$modal=document.getElementById(dv),this.isLoading=!1,this.registerEvents()},destroy(){this.disposeEvents()}}),Ue={BG_DYNAMIC:"--bg-dynamic"},Ai={DEFAULT:"#FFFFFF",DARK_MODE:"#121212"},ze={DARK_MODE:"data-dark-mode"},Ma=77,pv=88,Na="--sticky",vv=W("header",{scrollWatcher(){if(!this.$node)return;const i=Math.max(0,document.documentElement.scrollTop||document.body.scrollTop);i!==this.lastScrollTop&&(i<=0?(this.$node.setAttribute("data-header-sticky",!1),this.$node.setAttribute("data-header-reveal",!0)):i>this.headerHeight&&(this.$node.setAttribute("data-header-sticky",!0),this.lastScrollTop>i?(this.$node.setAttribute("data-header-reveal",!0),document.documentElement.style.setProperty(Na,`${this.headerHeight-48}px`)):(this.$node.setAttribute("data-header-reveal",!1),document.documentElement.style.setProperty(Na,"0px")))),this.lastScrollTop=i,typeof this.scrollWatcher=="function"&&window.requestAnimationFrame(this.scrollWatcher)},toggleMenu(){this.openMenu?this.hideMenu():this.showMenu()},resizedUI(){const i=["lg","xl","xxl"].includes(A17.currentMediaQuery);this.headerHeight=i?pv:Ma},updateColor(i){var e;const t=((e=i==null?void 0:i.detail)==null?void 0:e.color)||null;if(!t){this.$node.style.removeProperty(Ue.BG_DYNAMIC),this.$node.removeAttribute(ze.DARK_MODE);return}t==="dark-mode"?(this.$node.style.setProperty(Ue.BG_DYNAMIC,Ai.DARK_MODE),this.$node.setAttribute(ze.DARK_MODE,"true")):(this.$node.style.setProperty(Ue.BG_DYNAMIC,t||Ai.DEFAULT),this.$node.removeAttribute(ze.DARK_MODE))},onRefreshStart(){this.lastScrollTop=-2,this.scrollWatcher()},onRefreshEnd(){this.lastScrollTop=-1,this.scrollWatcher()},addEvents(){document.addEventListener(F.SWUP_ANIMATION_END,this.onRefreshEnd),document.addEventListener(F.SWUP_CONTENT_REPLACED,this.onRefreshStart),document.addEventListener(F.HEADER_UPDATE_COLOR,this.updateColor)},removeEvents(){document.removeEventListener(F.SWUP_ANIMATION_END,this.onRefreshEnd),document.removeEventListener(F.SWUP_CONTENT_REPLACED,this.onRefreshStart),document.removeEventListener(F.HEADER_UPDATE_COLOR,this.updateColor)}},{init(){this.headerHeight=Ma,this.lastScrollTop=-1,this.addEvents(),this.scrollWatcher(),this.resizedUI()},mediaQueryUpdated(){this.resizedUI()},destroy(){this.removeEvents()}}
59),mv="--progress",gv=W("homeCarousel",{updateInfos(){this.$currentInfo=this.$node.querySelector(`[data-homecarousel-info-id="${this.activeIndex}"]`),this.$infoTriggers.forEach(i=>{this.toggleBoolAttribute(i,"hidden",i.getAttribute("data-homecarousel-info-trigger-id")!==this.activeIndex.toString(),"")})},handleInfoTrigger(i){const t=i.currentTarget,e=t.getAttribute("aria-expanded")==="false"?"true":"false";this.hideInfos(),e==="true"?this.swiper.autoplay.stop():this.swiper.autoplay.start(),t.setAttribute("aria-expanded",e),this.$infos.forEach(n=>{this.toggleBoolAttribute(n,"data-visible",n===this.$currentInfo&&e==="true")})},hideInfos(){this.$infoTriggers&&this.$infoTriggers.forEach(i=>i.setAttribute("aria-expanded","false")),this.$infos&&this.$infos.forEach(i=>i.removeAttribute("data-visible"))},toggleBoolAttribute(i,t,e,n="true"){e?i.setAttribute(t,n):i.removeAttribute(t)},onSlideChange(){this.swiper&&(this.activeIndex=this.swiper.realIndex,this.updateInfos())},handleAutoplayProgress(i,t,e){this.$progress.style.setProperty(mv,1-e)},onSwiperInit(i){i.detail.swiper&&(this.swiper=i.detail.swiper,this.swiper.on("autoplayTimeLeft",this.handleAutoplayProgress))}},{init(){this.$infoTriggers=this.getChildren("info-trigger"),this.$infos=this.getChildren("info-id")||[],this.$currentInfo=null,this.$carousel=this.getChild("carousel"),this.$progress=this.getChild("progress"),this.activeIndex=null,this.swiper=null,this.$infoTriggers&&this.$infoTriggers.forEach(i=>{i.addEventListener("click",this.handleInfoTrigger,!1)}),this.$carousel&&this.$carousel.addEventListener(F.CAROUSEL_INIT,this.onSwiperInit),document.addEventListener(F.CAROUSEL_CHANGE,this.onSlideChange)},destroy(){this.$infoTriggers&&this.$infoTriggers.forEach(i=>{i.removeEventListener("click",this.handleInfoTrigger,!1)}),this.$carousel&&this.$carousel.removeEventListener(F.CAROUSEL_INIT,this.onSwiperInit),document.removeEventListener(F.CAROUSEL_CHANGE,this.onSlideChange),this.swiper&&this.swiper.off("autoplayTimeLeft",this.handleAutoplayProgress)}}),Fa="data-visible",_v=W("innerCredits",{handleToggle(){const i=this.$trigger.getAttribute("aria-expanded")==="false"?"true":"false";i==="true"?this.$infos.setAttribute(Fa,"true"):this.$infos.removeAttribute(Fa),this.$trigger.setAttribute("aria-expanded",i)},updateWidth(){if(!this.$img||!this.$container||!this.options.ratio)return;const i=this.$img.getBoundingClientRect().height*this.options.ratio;this.$container.style.width=i+"px"}},{init(){this.$trigger=this.getChild("trigger"),this.$infos=this.getChild("infos"),this.options.fittocontainedheight&&(this.$container=this.getChild("container"),this.$img=this.$node.querySelector("img"),this.updateWidth()),this.$trigger&&this.$trigger.addEventListener("click",this.handleToggle,!1)},resized(){this.options.fittocontainedheight&&this.updateWidth()},destroy(){this.$trigger&&this.$trigger.removeEventListener("click",this.handleToggle,!1)}}),yv=W("InViewport",{setup(){this.IO=new IntersectionObserver(i=>{i.forEach(t=>{t.isIntersecting?(t.target.setAttribute("data-in-viewport",""),t.target.dispatchEvent(new CustomEvent(F.INVIEWPORT_VISIBLE)),"inviewportOnce"in t.target.dataset&&this.IO.unobserve(t.target)):(t.target.dispatchEvent(new CustomEvent(F.INVIEWPORT_NOT_VISIBLE)),t.target.removeAttribute("data-in-viewport"))})},{threshold:.05}),this.items=Array.from(this.getChildren("el")),this.items.forEach(i=>{i.hasAttribute("data-in-viewport")&&"inviewportOnce"in i.dataset||this.IO.observe(i)})}},{init(){this.setup(),document.addEventListener("swup:content:replace",this.setup)},destroy(){this.IO.disconnect(),document.removeEventListener("swup:content:replace",this.setup)}});/*!
60* tabbable 6.2.0
61* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
62*/var uc=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],lr=uc.join(","),lc=typeof Element>"u",Ke=lc?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,cr=!lc&&Element.prototype.getRootNode?function(i){var t;return i==null||(t=i.getRootNode)===null||t===void 0?void 0:t.call(i)}:function(i){return i==null?void 0:i.ownerDocument},hr=function i(t,e){var n;e===void 0&&(e=!0);var r=t==null||(n=t.getAttribute)===null||n===void 0?void 0:n.call(t,"inert"),s=r===""||r==="true",o=s||e&&t&&i(t.parentNode);return o},Ev=function(t){var e,n=t==null||(e=t.getAttribute)===null||e===void 0?void 0:e.call(t,"contenteditable");return n===""||n==="true"},cc=function(t,e,n){if(hr(t))return[];var r=Array.prototype.slice.apply(t.querySelectorAll(lr));return e&&Ke.call(t,lr)&&r.unshift(t),r=r.filter(n),r},hc=function i(t,e,n){for(var r=[],s=Array.from(t);s.length;){var o=s.shift();if(!hr(o,!1))if(o.tagName==="SLOT"){var a=o.assignedElements(),u=a.length?a:o.children,c=i(u,!0,n);
vendor: 4,746 bytes, lines 62-65
62n.flatten?r.push.apply(r,c):r.push({scopeParent:o,candidates:c})}else{var l=Ke.call(o,lr);l&&n.filter(o)&&(e||!t.includes(o))&&r.push(o);var h=o.shadowRoot||typeof n.getShadowRoot=="function"&&n.getShadowRoot(o),d=!hr(h,!1)&&(!n.shadowRootFilter||n.shadowRootFilter(o));if(h&&d){var p=i(h===!0?o.children:h.children,!0,n);n.flatten?r.push.apply(r,p):r.push({scopeParent:o,candidates:p})}else s.unshift.apply(s,o.children)}}return r},dc=function(t){return!isNaN(parseInt(t.getAttribute("tabindex"),10))},ke=function(t){if(!t)throw new Error("No node provided");return t.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName)||Ev(t))&&!dc(t)?0:t.tabIndex},wv=function(t,e){var n=ke(t);return n<0&&e&&!dc(t)?0:n},bv=function(t,e){return t.tabIndex===e.tabIndex?t.documentOrder-e.documentOrder:t.tabIndex-e.tabIndex},fc=function(t){return t.tagName==="INPUT"},Tv=function(t){return fc(t)&&t.type==="hidden"},Av=function(t){var e=t.tagName==="DETAILS"&&Array.prototype.slice.apply(t.children).some(function(n){return n.tagName==="SUMMARY"});return e},Sv=function(t,e){for(var n=0;n<t.length;n++)if(t[n].checked&&t[n].form===e)return t[n]},Lv=function(t){if(!t.name)return!0;var e=t.form||cr(t),n=function(a){return e.querySelectorAll('input[type="radio"][name="'+a+'"]')},r;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")r=n(window.CSS.escape(t.name));else try{r=n(t.name)}catch(o){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",o.message),!1}var s=Sv(r,t.form);return!s||s===t},Ov=function(t){return fc(t)&&t.type==="radio"},Cv=function(t){return Ov(t)&&!Lv(t)},$v=function(t){var e,n=t&&cr(t),r=(e=n)===null||e===void 0?void 0:e.host,s=!1;if(n&&n!==t){var o,a,u;for(s=!!((o=r)!==null&&o!==void 0&&(a=o.ownerDocument)!==null&&a!==void 0&&a.contains(r)||t!=null&&(u=t.ownerDocument)!==null&&u!==void 0&&u.contains(t));!s&&r;){var c,l,h;n=cr(r),r=(c=n)===null||c===void 0?void 0:c.host,s=!!((l=r)!==null&&l!==void 0&&(h=l.ownerDocument)!==null&&h!==void 0&&h.contains(r))}}return s},Ba=function(t){var e=t.getBoundingClientRect(),n=e.width,r=e.height;return n===0&&r===0},Pv=function(t,e){var n=e.displayCheck,r=e.getShadowRoot;if(getComputedStyle(t).visibility==="hidden")return!0;var s=Ke.call(t,"details>summary:first-of-type"),o=s?t.parentElement:t;if(Ke.call(o,"details:not([open]) *"))return!0;if(!n||n==="full"||n==="legacy-full"){if(typeof r=="function"){for(var a=t;t;){var u=t.parentElement,c=cr(t);if(u&&!u.shadowRoot&&r(u)===!0)return Ba(t);t.assignedSlot?t=t.assignedSlot:!u&&c!==t.ownerDocument?t=c.host:t=u}t=a}if($v(t))return!t.getClientRects().length;if(n!=="legacy-full")return!0}else if(n==="non-zero-area")return Ba(t);return!1},Iv=function(t){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))for(var e=t.parentElement;e;){if(e.tagName==="FIELDSET"&&e.disabled){for(var n=0;n<e.children.length;n++){var r=e.children.item(n);if(r.tagName==="LEGEND")return Ke.call(e,"fieldset[disabled] *")?!0:!r.contains(t)}return!0}e=e.parentElement}return!1},dr=function(t,e){return!(e.disabled||hr(e)||Tv(e)||Pv(e,t)||Av(e)||Iv(e))},xs=function(t,e){return!(Cv(e)||ke(e)<0||!dr(t,e))},Dv=function(t){var e=parseInt(t.getAttribute("tabindex"),10);return!!(isNaN(e)||e>=0)},kv=function i(t){var e=[],n=[];return t.forEach(function(r,s){var o=!!r.scopeParent,a=o?r.scopeParent:r,u=wv(a,o),c=o?i(r.candidates):a;u===0?o?e.push.apply(e,c):e.push(a):n.push({documentOrder:s,tabIndex:u,item:r,isScope:o,content:c})}),n.sort(bv).reduce(function(r,s){return s.isScope?r.push.apply(r,s.content):r.push(s.content),r},[]).concat(e)},xv=function(t,e){e=e||{};var n;return e.getShadowRoot?n=hc([t],e.includeContainer,{filter:xs.bind(null,e),flatten:!1,getShadowRoot:e.getShadowRoot,shadowRootFilter:Dv}):n=cc(t,e.includeContainer,xs.bind(null,e)),kv(n)},Rv=function(t,e){e=e||{};var n;return e.getShadowRoot?n=hc([t],e.includeContainer,{filter:dr.bind(null,e),flatten:!0,getShadowRoot:e.getShadowRoot}):n=cc(t,e.includeContainer,dr.bind(null,e)),n},ti=function(t,e){if(e=e||{},!t)throw new Error("No node provided");return Ke.call(t,lr)===!1?!1:xs(e,t)},Mv=uc.concat("iframe").join(","),Zr=function(t,e){if(e=e||{},!t)throw new Error("No node provided");return Ke.call(t,Mv)===!1?!1:dr(e,t)};/*!
63* focus-trap 7.5.4
64* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
65*/function Va(i,t){var e=Object.keys(i);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(i);t&&(n=n.filter(function(r){return Object.getOwnPropertyDescriptor(i,r).enumerable})),e.push.apply(e,n)}return e}function Ua(i){for(var t=1;t<arguments.length;t++){var e=arguments[t]!=null?arguments[t]:{};
65t%2?Va(Object(e),!0).forEach(function(n){Nv(i,n,e[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(e)):Va(Object(e)).forEach(function(n){Object.defineProperty(i,n,Object.getOwnPropertyDescriptor(e,n))})}return i}function Nv(i,t,e){return t=Bv(t),t in i?Object.defineProperty(i,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):i[t]=e,i}function Fv(i,t){if(typeof i!="object"||i===null)return i;var e=i[Symbol.toPrimitive];if(e!==void 0){var n=e.call(i,t||"default");if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(i)}function Bv(i){var t=Fv(i,"string");return typeof t=="symbol"?t:String(t)}var za={activateTrap:function(t,e){if(t.length>0){var n=t[t.length-1];n!==e&&n.pause()}var r=t.indexOf(e);r===-1||t.splice(r,1),t.push(e)},deactivateTrap:function(t,e){var n=t.indexOf(e);n!==-1&&t.splice(n,1),t.length>0&&t[t.length-1].unpause()}},Vv=function(t){return t.tagName&&t.tagName.toLowerCase()==="input"&&typeof t.select=="function"},Uv=function(t){return(t==null?void 0:t.key)==="Escape"||(t==null?void 0:t.key)==="Esc"||(t==null?void 0:t.keyCode)===27},ji=function(t){return(t==null?void 0:t.key)==="Tab"||(t==null?void 0:t.keyCode)===9},zv=function(t){return ji(t)&&!t.shiftKey},Hv=function(t){return ji(t)&&t.shiftKey},Ha=function(t){return setTimeout(t,0)},qa=function(t,e){var n=-1;return t.every(function(r,s){return e(r)?(n=s,!1):!0}),n},Ii=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return typeof t=="function"?t.apply(void 0,n):t},kn=function(t){return t.target.shadowRoot&&typeof t.composedPath=="function"?t.composedPath()[0]:t.target},qv=[],pc=function(t,e){var n=(e==null?void 0:e.document)||document,r=(e==null?void 0:e.trapStack)||qv,s=Ua({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:zv,isKeyBackward:Hv},e),o={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},a,u=function(E,w,$){return E&&E[w]!==void 0?E[w]:s[$||w]},c=function(E,w){var $=typeof(w==null?void 0:w.composedPath)=="function"?w.composedPath():void 0;return o.containerGroups.findIndex(function(D){var x=D.container,N=D.tabbableNodes;return x.contains(E)||($==null?void 0:$.includes(x))||N.find(function(R){return R===E})})},l=function(E){var w=s[E];if(typeof w=="function"){for(var $=arguments.length,D=new Array($>1?$-1:0),x=1;x<$;x++)D[x-1]=arguments[x];w=w.apply(void 0,D)}if(w===!0&&(w=void 0),!w){if(w===void 0||w===!1)return w;throw new Error("`".concat(E,"` was specified but was not a node, or did not return a node"))}var N=w;if(typeof w=="string"&&(N=n.querySelector(w),!N))throw new Error("`".concat(E,"` as selector refers to no known node"));return N},h=function(){var E=l("initialFocus");if(E===!1)return!1;if(E===void 0||!Zr(E,s.tabbableOptions))if(c(n.activeElement)>=0)E=n.activeElement;else{var w=o.tabbableGroups[0],$=w&&w.firstTabbableNode;E=$||l("fallbackFocus")}if(!E)throw new Error("Your focus-trap needs to have at least one focusable element");return E},d=function(){if(o.containerGroups=o.containers.map(function(E){var w=xv(E,s.tabbableOptions),$=Rv(E,s.tabbableOptions),D=w.length>0?w[0]:void 0,x=w.length>0?w[w.length-1]:void 0,N=$.find(function(I){return ti(I)}),R=$.slice().reverse().find(function(I){return ti(I)}),M=!!w.find(function(I){return ke(I)>0});return{container:E,tabbableNodes:w,focusableNodes:$,posTabIndexesFound:M,firstTabbableNode:D,lastTabbableNode:x,firstDomTabbableNode:N,lastDomTabbableNode:R,nextTabbableNode:function(B){var z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,U=w.indexOf(B);return U<0?z?$.slice($.indexOf(B)+1).find(function(H){return ti(H)}):$.slice(0,$.indexOf(B)).reverse().find(function(H){return ti(H)}):w[U+(z?1:-1)]}}}),o.tabbableGroups=o.containerGroups.filter(function(E){return E.tabbableNodes.length>0}),o.tabbableGroups.length<=0&&!l("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(o.containerGroups.find(function(E){return E.posTabIndexesFound})&&o.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},p=function C(E){var w=E.activeElement;if(w)return w.shadowRoot&&w.shadowRoot.activeElement!==null?C(w.shadowRoot):w}
65,v=function C(E){if(E!==!1&&E!==p(document)){if(!E||!E.focus){C(h());return}E.focus({preventScroll:!!s.preventScroll}),o.mostRecentlyFocusedNode=E,Vv(E)&&E.select()}},f=function(E){var w=l("setReturnFocus",E);return w||(w===!1?!1:E)},m=function(E){var w=E.target,$=E.event,D=E.isBackward,x=D===void 0?!1:D;w=w||kn($),d();var N=null;if(o.tabbableGroups.length>0){var R=c(w,$),M=R>=0?o.containerGroups[R]:void 0;if(R<0)x?N=o.tabbableGroups[o.tabbableGroups.length-1].lastTabbableNode:N=o.tabbableGroups[0].firstTabbableNode;else if(x){var I=qa(o.tabbableGroups,function(k){var j=k.firstTabbableNode;return w===j});if(I<0&&(M.container===w||Zr(w,s.tabbableOptions)&&!ti(w,s.tabbableOptions)&&!M.nextTabbableNode(w,!1))&&(I=R),I>=0){var B=I===0?o.tabbableGroups.length-1:I-1,z=o.tabbableGroups[B];N=ke(w)>=0?z.lastTabbableNode:z.lastDomTabbableNode}else ji($)||(N=M.nextTabbableNode(w,!1))}else{var U=qa(o.tabbableGroups,function(k){var j=k.lastTabbableNode;return w===j});if(U<0&&(M.container===w||Zr(w,s.tabbableOptions)&&!ti(w,s.tabbableOptions)&&!M.nextTabbableNode(w))&&(U=R),U>=0){var H=U===o.tabbableGroups.length-1?0:U+1,rt=o.tabbableGroups[H];N=ke(w)>=0?rt.firstTabbableNode:rt.firstDomTabbableNode}else ji($)||(N=M.nextTabbableNode(w))}}else N=l("fallbackFocus");return N},g=function(E){var w=kn(E);if(!(c(w,E)>=0)){if(Ii(s.clickOutsideDeactivates,E)){a.deactivate({returnFocus:s.returnFocusOnDeactivate});return}Ii(s.allowOutsideClick,E)||E.preventDefault()}},_=function(E){var w=kn(E),$=c(w,E)>=0;if($||w instanceof Document)$&&(o.mostRecentlyFocusedNode=w);else{E.stopImmediatePropagation();var D,x=!0;if(o.mostRecentlyFocusedNode)if(ke(o.mostRecentlyFocusedNode)>0){var N=c(o.mostRecentlyFocusedNode),R=o.containerGroups[N].tabbableNodes;if(R.length>0){var M=R.findIndex(function(I){return I===o.mostRecentlyFocusedNode});M>=0&&(s.isKeyForward(o.recentNavEvent)?M+1<R.length&&(D=R[M+1],x=!1):M-1>=0&&(D=R[M-1],x=!1))}}else o.containerGroups.some(function(I){return I.tabbableNodes.some(function(B){return ke(B)>0})})||(x=!1);else x=!1;x&&(D=m({target:o.mostRecentlyFocusedNode,isBackward:s.isKeyBackward(o.recentNavEvent)})),v(D||o.mostRecentlyFocusedNode||h())}o.recentNavEvent=void 0},y=function(E){var w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;o.recentNavEvent=E;var $=m({event:E,isBackward:w});$&&(ji(E)&&E.preventDefault(),v($))},b=function(E){if(Uv(E)&&Ii(s.escapeDeactivates,E)!==!1){E.preventDefault(),a.deactivate();return}(s.isKeyForward(E)||s.isKeyBackward(E))&&y(E,s.isKeyBackward(E))},T=function(E){var w=kn(E);c(w,E)>=0||Ii(s.clickOutsideDeactivates,E)||Ii(s.allowOutsideClick,E)||(E.preventDefault(),E.stopImmediatePropagation())},O=function(){if(o.active)return za.activateTrap(r,a),o.delayInitialFocusTimer=s.delayInitialFocus?Ha(function(){v(h())}):v(h()),n.addEventListener("focusin",_,!0),n.addEventListener("mousedown",g,{capture:!0,passive:!1}),n.addEventListener("touchstart",g,{capture:!0,passive:!1}),n.addEventListener("click",T,{capture:!0,passive:!1}),n.addEventListener("keydown",b,{capture:!0,passive:!1}),a},A=function(){if(o.active)return n.removeEventListener("focusin",_,!0),n.removeEventListener("mousedown",g,!0),n.removeEventListener("touchstart",g,!0),n.removeEventListener("click",T,!0),n.removeEventListener("keydown",b,!0),a},L=function(E){var w=E.some(function($){var D=Array.from($.removedNodes);return D.some(function(x){return x===o.mostRecentlyFocusedNode})});w&&v(h())},S=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(L):void 0,P=function(){S&&(S.disconnect(),o.active&&!o.paused&&o.containers.map(function(E){S.observe(E,{subtree:!0,childList:!0})}))};return a={get active(){return o.active},get paused(){return o.paused},activate:function(E){if(o.active)return this;var w=u(E,"onActivate"),$=u(E,"onPostActivate"),D=u(E,"checkCanFocusTrap");D||d(),o.active=!0,o.paused=!1,o.nodeFocusedBeforeActivation=n.activeElement,w==null||w();var x=function(){D&&d(),O(),P(),$==null||$()};return D?(D(o.containers.concat()).then(x,x),this):(x(),this)},deactivate:function(E){if(!o.active)return this;var w=Ua({onDeactivate:s.onDeactivate,onPostDeactivate:s.onPostDeactivate,checkCanReturnFocus:s.checkCanReturnFocus},E);clearTimeout(o.delayInitialFocusTimer),o.delayInitialFocusTimer=void 0,A(),o.active=!1,o.paused=!1,P(),za.deactivateTrap(r,a);var $=u(w,"onDeactivate"),D=u(w,"onPostDeactivate"),x=u(w,"checkCanReturnFocus"),N=u(w,"returnFocus","returnFocusOnDeactivate");$==null||$();var R=function(){Ha(function(){N&&v(f(o.nodeFocusedBeforeActivation)),D==null||D()})};return N&&x?(x(f(o.nodeFocusedBeforeActivation)).then(R,R),this):(R(),this)},pause:function(E){if(o.paused||!o.active)return this;var w=u(E,"onPause"),$=u(E,"onPostPause");return o.paused=!0,w==null||w(),A(),P(),$==null||$(),this},unpause:function(E){if(!o.paused||!o.active)return this;var w=u(E,"onUnpause"),$=u(E,"onPostUnpause");return o.paused=!1,w==null||w(),d(),O(),P(),$==null||$(),this}
65,updateContainerElements:function(E){var w=[].concat(E).filter(Boolean);return o.containers=w.map(function($){return typeof $=="string"?n.querySelector($):$}),o.active&&d(),P(),this}},a.updateContainerElements(t),a};const Wv=W("menu",{handleEsc(i){i.key==="Escape"&&this.hideMenu()},toggleMenu(){this.openMenu?this.hideMenu():this.showMenu()},showMenu(){this.openMenu||(this.openMenu=!0,this.$menu.setAttribute("data-clicked",!0),this.$menu.setAttribute("aria-hidden","false"),this.$menu.removeAttribute("inert"),document.dispatchEvent(new CustomEvent(F.HEADER_OPENED)),this.$node.dispatchEvent(new CustomEvent(F.MODAL_NODE_TOOLTIP_ENABLE)),setTimeout(()=>{this.focusTrap.activate(),hu(this.$scroller,{reserveScrollBarGap:!0})},200))},hideMenu(){this.openMenu&&(this.openMenu=!1,this.$menu.setAttribute("aria-hidden","true"),this.$menu.setAttribute("inert",""),document.dispatchEvent(new CustomEvent(F.HEADER_CLOSED)),setTimeout(()=>{du(this.$scroller),this.focusTrap.deactivate()},200))},addEvents(){document.addEventListener("keyup",this.handleEsc,!1),document.addEventListener(F.HEADER_CLOSE_MENU,this.hideMenu),this.$showMenuBtn.addEventListener("click",this.toggleMenu,!1),this.$hideMenuBtn.addEventListener("click",this.hideMenu,!1)},removeEvents(){document.removeEventListener("keyup",this.handleEsc),document.removeEventListener(F.HEADER_CLOSE_MENU,this.hideMenu),this.$showMenuBtn.removeEventListener("click",this.toggleMenu),this.$hideMenuBtn.removeEventListener("click",this.hideMenu)}},{init(){this.openMenu=!1,this.$menu=this.$node,this.$showMenuBtn=document.querySelector("[data-menu-show]"),this.$hideMenuBtn=this.getChild("hide"),this.$scroller=this.getChild("scroller"),this.addEvents(),this.focusTrap=pc(this.$menu,{initialFocus:this.$hideMenuBtn,fallbackFocus:this.$menu,setReturnFocus:this.$showMenuBtn,preventScroll:!0})},destroy(){this.hideMenu(),Fs(),this.removeEvents()}}),Wa="data-animate",Ga="data-active",Gv="data-modal-content-target-animate",Yv=W("modalContent",{show(i){const t=document.querySelectorAll('[data-behavior="ModalContent"]');i?t==null||t.forEach(e=>{e.setAttribute(Wa,"true")}):t==null||t.forEach(e=>{e.removeAttribute(Wa)}),document.dispatchEvent(new CustomEvent(F.MODAL_CONTENT_HIDE_ALL)),this.$node.setAttribute(Ga,"true"),this.isActive=!0},handleTrigger(i){i.preventDefault(),i.stopPropagation();const e=i.currentTarget.hasAttribute(Gv)||!1;this.show(e)},hide(i){i==null||i.preventDefault(),i==null||i.stopPropagation(),this.isActive&&(this.$node.removeAttribute(Ga),this.isActive=!1)}},{init(){var i;this.isActive=!1,this.$modalContentId=this.$node.getAttribute("id"),this.$triggers=document.querySelectorAll(`[data-modal-content-target="#${this.$modalContentId}"]`),(i=this.$triggers)==null||i.forEach(t=>{t.addEventListener("click",this.handleTrigger)}),document.addEventListener(F.MODAL_CONTENT_HIDE_ALL,this.hide,!1)},destroy(){var i;(i=this.$triggers)==null||i.forEach(t=>{t.removeEventListener("click",this.handleTrigger)}),document.removeEventListener(F.MODAL_CONTENT_HIDE_ALL,this.hide)}}),Wt="hidden",jv="f-ui-01",Ya="data-visible",Kv=W("modalFellow",{open(){window.setTimeout(()=>
65{this.$node.dispatchEvent(new CustomEvent(F.MODAL_NODE_OPEN))},50)},closedModal(){window.setTimeout(()=>{this.resetModalContent()},200)},getFellow(i){const t=new FormData;t.append("slug",i),So(fetch(this.options.endpoint,{method:"POST",credentials:"same-origin",mode:"no-cors",headers:{"Content-Type":"application/json",Accept:"application/json","X-Requested-With":"XMLHttpRequest"},body:t}).then(e=>{if(!e.ok)throw new Error(`An error occurred: ${e.statusText}`);return e.json()}).then(e=>{e!=null&&e.fellow&&this.updateModalContent(e.fellow)}).catch(e=>{console.log(e)}),300)},handleTrigger(i){i.preventDefault(),i.stopPropagation();const t=i.currentTarget,e=t.getAttribute("data-modalFellow-target"),n=t.getAttribute("data-modalFellow-fellow");e&&(this.getFellow(n),$r(e,{}),this.$node.dispatchEvent(new CustomEvent(F.MODAL_NODE_OPEN)))},updateModalContent(i){var t,e,n,r,s,o,a,u;if(this.$ui.firstname.textContent=i.firstname??"",this.$ui.lastname.textContent=i.lastname??"",this.$ui.imageWrapper){const c=this.$ui.imageWrapper.querySelector("img");if(c&&i.image){const{src:l,alt:h,srcSet:d,srcSetWebp:p,width:v,height:f,sizes:m}=i.image;l&&c.setAttribute("src",l),h&&c.setAttribute("alt",h),(d||p)&&c.setAttribute("srcset",p||d),v&&c.setAttribute("width",v),f&&c.setAttribute("height",f),m&&c.setAttribute("sizes",m),this.$ui.imageWrapper.classList.remove(Wt)}else this.$ui.imageWrapper.classList.add(Wt)}i.study?(this.$ui.study.textContent=i.study,(t=this.$ui.studyContainer)==null||t.classList.remove(Wt)):(e=this.$ui.studyContainer)==null||e.classList.add(Wt),(n=i.awarded_years)!=null&&n.length?(this.$ui.awardedYears.textContent=i.awarded_years.join(", "),(r=this.$ui.awardedYearsContainer)==null||r.classList.remove(Wt)):(s=this.$ui.awardedYearsContainer)==null||s.classList.add(Wt),i.biography?(this.$ui.biography.innerHTML=i.biography,(o=this.$ui.biographyContainer)==null||o.classList.remove(Wt)):(a=this.$ui.biographyContainer)==null||a.classList.add(Wt),(u=i.stories)!=null&&u.length?(this.$ui.storiesList.innerHTML="",i.stories.forEach(({title:c,href:l})=>{if(c&&l){const h=document.createElement("a");h.href=l,h.textContent=c,h.classList.add(jv);const d=document.createElement("li");d.appendChild(h),this.$ui.storiesList.appendChild(d)}}),this.$ui.storiesContainer.classList.remove(Wt)):this.$ui.storiesContainer.classList.add(Wt),this.$ui.content.setAttribute(Ya,"true")},resetModalContent(){if(this.$ui.content.removeAttribute(Ya),this.$ui.scroller.scrollTop=0,this.$ui.imageWrapper){const i=this.$ui.imageWrapper.querySelector("img");i&&(i.removeAttribute("src"),i.removeAttribute("srcset"),i.removeAttribute("alt"))}}},{init(){var i;this.$ui={scroller:this.$node.querySelector("[data-modal-scroller]"),content:this.getChild("content"),firstname:this.getChild("firstname"),lastname:this.getChild("lastname"),imageWrapper:this.getChild("image"),studyContainer:this.getChild("study-container"),study:this.getChild("study"),awardedYearsContainer:this.getChild("awarded-years-container"),awardedYears:this.getChild("awarded-years"),biographyContainer:this.getChild("biography-container"),biography:this.getChild("biography"),storiesContainer:this.getChild("stories-container"),storiesList:this.getChild("stories-list")},this.options["active-on-init"]&&this.open(),this.$triggers=document.querySelectorAll("[data-modalFellow-target]"),(i=this.$triggers)==null||i.forEach(t=>{t.addEventListener("click",this.handleTrigger)}),this.$node.addEventListener(F.MODAL_NODE_CLOSED,this.closedModal,!1)},destroy(){var i;(i=this.$triggers)==null||i.forEach(t=>{t.removeEventListener("click",this.handleTrigger)}),this.$node.removeEventListener(F.MODAL_NODE_CLOSED,this.closedModal,!1)}}),ja="data-visible",Xv=W("modalFields",{open(){window.setTimeout(()=>
65{this.$node.dispatchEvent(new CustomEvent(F.MODAL_NODE_OPEN))},50)},closedModal(){window.setTimeout(()=>{this.resetModalContent()},200)},handleTrigger(i){i.preventDefault(),i.stopPropagation();const e=i.currentTarget.getAttribute("data-modalFields-target");e&&($r(e,{}),this.updateModalContent(),this.$node.dispatchEvent(new CustomEvent(F.MODAL_NODE_OPEN)))},updateModalContent(){this.$content.setAttribute(ja,"true")},resetModalContent(){this.$content.removeAttribute(ja)}},{init(){var i;this.$triggers=document.querySelectorAll(`[data-modalfields-target-id="${this.$node.id}"]`),(i=this.$triggers)==null||i.forEach(t=>{t.addEventListener("click",this.handleTrigger)}),this.$content=this.getChild("content"),this.$node.addEventListener(F.MODAL_NODE_CLOSED,this.closedModal,!1)},destroy(){var i;(i=this.$triggers)==null||i.forEach(t=>{t.removeEventListener("click",this.handleTrigger)}),this.$node.removeEventListener(F.MODAL_NODE_CLOSED,this.closedModal,!1)}}),Qv=W("modalNewsletter",{handleTrigger(i){i.preventDefault(),i.stopPropagation(),document.dispatchEvent(new CustomEvent(F.HEADER_CLOSE_MENU)),window.setTimeout(()=>
65{this.$node.dispatchEvent(new CustomEvent(F.MODAL_NODE_OPEN))},100)}},{init(){var i;this.$triggers=document.querySelectorAll("[data-modalNewsletter-target]"),(i=this.$triggers)==null||i.forEach(t=>{t.addEventListener("click",this.handleTrigger)})},destroy(){var i;(i=this.$triggers)==null||i.forEach(t=>{t.removeEventListener("click",this.handleTrigger)})}}),Zv=W("pageColor",{setPageColor(){this.options["dark-mode"]?this.$wrapper.setAttribute(ze.DARK_MODE,!0):(this.$wrapper.removeAttribute(ze.DARK_MODE),this.$wrapper.style.setProperty(Ue.BG_DYNAMIC,this.background))},resetPageColor(){this.$wrapper.style.setProperty(Ue.BG_DYNAMIC,Ai.DEFAULT)},addEvents(){var i,t;document.addEventListener(F.PAGECOLOR_RESET,this.resetPageColor),(i=this.$resetTrigger)==null||i.addEventListener(F.INVIEWPORT_VISIBLE,this.setPageColor),(t=this.$resetTrigger)==null||t.addEventListener(F.INVIEWPORT_NOT_VISIBLE,this.resetPageColor)},removeEvents(){var i,t;document.removeEventListener(F.PAGECOLOR_RESET,this.resetPageColor),(i=this.$resetTrigger)==null||i.removeEventListener(F.INVIEWPORT_VISIBLE,this.setPageColor),(t=this.$resetTrigger)==null||t.removeEventListener(F.INVIEWPORT_NOT_VISIBLE,this.resetPageColor)}},{init(){var i;this.$wrapper=document.body,this.$resetTrigger=this.getChild("reset-trigger"),this.background=this.options.background||((i=this.getChild("background"))==null?void 0:i.getAttribute("data-PageColor-background"))||Ai.DEFAULT,this.setPageColor(),this.addEvents()},destroy(){this.removeEvents()}}),Jv="data-SectionColor-watcher",Ka="data-index",tm="data-SectionColor-update-bg",em=W("sectionColor",{setActiveSection(i,t,e){this.activeSections.includes(i)||this.activeSections.push({index:i,color:t}),this.updateColor(e)},removeActiveSection(i){this.activeSections=this.activeSections.filter(t=>t.index!==i),this.updateColor()},updateColor(i){if(this.activeSections.length<1)return;const e=this.activeSections.reduce((n,r)=>r.index<n.index?r:n).color;i&&i.hasAttribute(tm)&&(e==="dark-mode"?(i.style.setProperty(Ue.BG_DYNAMIC,Ai.DARK_MODE),i.setAttribute(ze.DARK_MODE,"true")):(i.style.setProperty(Ue.BG_DYNAMIC,e||Ai.DEFAULT),i.removeAttribute(ze.DARK_MODE))),document.dispatchEvent(new CustomEvent(F.HEADER_UPDATE_COLOR,{detail:{color:e}}))}},{init(){this.activeSections=[],this.$watchers=this.getChildren("watcher"),this.IO=new IntersectionObserver(i=>{i.forEach(t=>{const e=parseInt(t.target.getAttribute(Ka),10),n=t.target.getAttribute(Jv);t.isIntersecting?this.setActiveSection(e,n,t.target):this.removeActiveSection(e)})},{rootMargin:"50px 0px 0px 0px",threshold:0}),this.$watchers.forEach((i,t)=>{i.setAttribute(Ka,t),this.IO.observe(i)})},destroy(){this.IO.disconnect()}}),im=i=>{typeof grecaptcha<"u"&&window.A17.recaptchaSiteKey?grecaptcha.ready(function(){grecaptcha.execute(window.A17.recaptchaSiteKey,{action:"submit"}).then(t=>{typeof i=="function"&&i(t)})}):typeof i=="function"&&i("missing_recaptcha_token")};var iu,nu;const Xa=((nu=(iu=window==null?void 0:window.A17)==null?void 0:iu.endpoint)==null?void 0:nu.token)||null;class nm{constructor(){this.response=null,this.fetching=!1,this.callbacks=[]}async get(t){if(this.token){t(this.token);return}if(Xa){if(this.callbacks.includes(t)||this.callbacks.push(t),!this.fetching){this.fetching=!0;let e=await fetch(Xa,{method:"GET",headers:{Cookie:document.cookie}});if(this.response=await e.json(),this.response){window.A17.token=this.response.token;const n=document.querySelector('meta[name="csrf-token"]');if(n)n.setAttribute("content",this.response.token);else{const r=document.createElement("meta");r.name="csrf-token",r.content=this.response.token,document.head.appendChild(r)}this.callbacks.forEach(r=>{typeof r=="function"&&r(this.response.token)})}this.callbacks=[],this.fetching=!1}}else console.log("getSessionToken: no endpoint")}}const Jr=new nm,rm=async i=>{Jr.token?i(Jr.token):await Jr.get(i)},Di="hidden",Qa="text-negative",Za="border-negative",sm="data-error-name",om=W("submitForm",{handleSuccess(i){this.$fields.forEach(t=>{t.value=""}),this.$response.innerHTML=i,this.$response.classList.remove(Qa),this.$response.classList.remove(Di)}
65,handleError(i,t){i&&Object.keys(i).forEach(e=>{const n=Array.from(this.$errors).find(s=>s.getAttribute(sm)===e);n&&(n.classList.remove(Di),n.textContent=i[e][0]);const r=this.$node.querySelector(`[name="${e}"]`);r&&r.classList.add(Za)}),this.$response.innerHTML=t,this.$response.classList.add(Qa),this.$response.classList.remove(Di)},reset(){this.$errors.forEach(i=>{i.classList.add(Di)}),this.$fields.forEach(i=>{i.classList.remove(Za)}),this.$response.classList.add(Di)},submit(i=null){i&&(i.preventDefault(),i.stopPropagation()),rm(t=>{im(e=>{const n=new FormData(this.$node);n.append("form_id",this.$node.id||"unknown-form"),n.append("_token",t),n.append("g-recaptcha-response",e),So(fetch(this.$node.action,{method:this.$node.method,body:n,credentials:"include",headers:{Cookie:document.cookie,"X-CSRF-Token":t}}).then(r=>r.json()).then(r=>{this.reset();const s=r.message||r["internal-message"]||"";if(r.success)this.handleSuccess(s);else{const o=r.errors||null;this.handleError(o,s)}}).catch(r=>{console.log(r)}),300)})})}},{init(){this.$response=this.getChild("response"),this.$errors=this.$node.querySelectorAll("[data-error-name]"),this.$fields=this.$node.querySelectorAll("input, textarea, select"),this.$node.addEventListener("submit",this.submit)},destroy(){this.$node.removeEventListener("submit",this.submit)}}),am=W("tabs",{setSelectedTab(i,t){if(this.current.tab===i)return;let e={tab:i,tabpanel:document.getElementById(i.getAttribute("aria-controls"))};this.transitionTime=16+parseInt(window.getComputedStyle(this.$node).getPropertyValue("--tab-transition-time")||200),(this.$node.dataset.tabsImmediate===!0||this.$node.dataset.tabsImmediate==="true")&&(this.transitionTime=0),this.current.tab.setAttribute("aria-selected","false"),this.current.tab.tabIndex=-1,this.current.tabpanel.inert=!0,this.current.tabpanel.dispatchEvent(new CustomEvent("Tab:hidden")),!t&&this.options.scrollonclick&&this.$node.scrollIntoView(!0),setTimeout(()=>{var r;this.current.tabpanel.hidden=!0,e.tab.setAttribute("aria-selected","true"),e.tab.removeAttribute("tabindex"),e.tabpanel.hidden=!1,window.requestAnimationFrame(()=>{e.tabpanel.inert=!1,e.tabpanel.dispatchEvent(new CustomEvent("Tab:shown"))}),this.current=e,this.$node.dataset.tabsImmediate=!1,t||document.dispatchEvent(new CustomEvent("tabs:opened",{detail:this.current}));const n=(r=this.$node)==null?void 0:r.querySelector("[data-dropdown-btn]");n&&(n.childNodes[0].nodeValue=i.textContent.trim())},this.transitionTime)},moveFocusToTab(i){i.focus()},moveFocusToPreviousTab(i){var t;i===this.firstTab?this.moveFocusToTab(this.lastTab):(t=this.tabs.indexOf(i),this.moveFocusToTab(this.tabs[t-1]))},moveFocusToNextTab(i){var t;i===this.lastTab?this.moveFocusToTab(this.firstTab):(t=this.tabs.indexOf(i),this.moveFocusToTab(this.tabs[t+1]))},onKeydown(i){var t=i.currentTarget,e=!1;switch(i.key){case"ArrowLeft":this.moveFocusToPreviousTab(t),e=!0;break;case"ArrowRight":this.moveFocusToNextTab(t),e=!0;break;case"Home":this.moveFocusToTab(this.firstTab),e=!0;break;case"End":this.moveFocusToTab(this.lastTab),e=!0;break}e&&(i.stopPropagation(),i.preventDefault())},onClick(i){i.preventDefault(),i.stopPropagation(),this.setSelectedTab(i.currentTarget,!1)},selectTab(i){i&&i.detail&&i.detail.immediate===!0&&(this.$node.dataset.tabsImmediate=!0),this.setSelectedTab(i.currentTarget,!0)},updateMediaQuerySelectedTab(){const t=["lg","xl","xxl"].includes(A17.currentMediaQuery)?this.$node.querySelector('[role="tab"][aria-selected="true"]:not([data-tabs-button-dropdown])'):this.$node.querySelector('[data-tabs-button-dropdown][role="tab"][aria-selected="true"]');t&&this.setSelectedTab(t,!0)}},{init(){this.transitionTime=216,this.options.scrollonclick=this.options.scrollonclick==="true",this.tablistNode=this.$node,this.tabs=[],this.firstTab=null,this.lastTab=null,this.firstTabPanel=null,this.tabs=Array.from(this.tablistNode.querySelectorAll("[role=tab]")),this.tabpanels=[];for(var i=0;i<this.tabs.length;i+=1){var t=this.tabs[i],e=document.getElementById(t.getAttribute("aria-controls"));t.getAttribute("aria-selected")||t.setAttribute("aria-selected","false"),this.tabpanels.push(e),t.addEventListener("keydown",this.onKeydown),t.addEventListener("click",this.onClick),t.addEventListener("tabs:select",this.selectTab),this.firstTab||(this.firstTab=t,this.firstTabPanel=e),this.lastTab=t,t.getAttribute("aria-selected")==="true"?this.current={tab:t,tabpanel:e}:(e.hidden=!0,e.inert=!0)}this.current||(this.current={tab:this.firstTab,tabpanel:this.firstTabPanel}),this.$node.dataset.tabsImmediate=!0,this.setSelectedTab(this.current.tab,!0),this.updateMediaQuerySelectedTab()},mediaQueryUpdated(){this.updateMediaQuerySelectedTab()},destroy(){for(var i=0;i<this.tabs.length;i+=1){var t=this.tabs[i];t.removeEventListener("keydown",this.onKeydown),t.removeEventListener("click",this.onClick),t.removeEventListener("tabs:select",this.selectTab)}}}),um=W("tooltipZone",{enableTooltip(){this.canEnable=!0,this.registerEnabledEvents(),window.setTimeout(()=>
65{this.$node.matches(":hover")?this.showTooltip():this.hideTooltip()},50)},disableTooltip(){this.canEnable=!1,this.disposeEnabledEvents()},updateTooltipPosition(i){this.$tooltip.style.transform=`translate(${i.clientX}px, ${i.clientY}px) translate(-50%, -50%)`},showTooltip(i){i&&this.updateTooltipPosition(i),this.$tooltip.setAttribute("data-visible","true")},hideTooltip(){this.$tooltip.removeAttribute("data-visible")},close(){this.closeUrl&&$r(this.closeUrl,{}),this.disposeEnabledEvents(),document.dispatchEvent(new CustomEvent("Modal:closeAll")),document.dispatchEvent(new CustomEvent(F.HEADER_CLOSE_MENU))},registerEnabledEvents(){document.addEventListener("mousemove",this.updateTooltipPosition),this.$node.addEventListener("mouseenter",this.showTooltip),this.$node.addEventListener("mouseleave",this.hideTooltip),this.$node.addEventListener("click",this.close)},disposeEnabledEvents(){document.removeEventListener("mousemove",this.updateTooltipPosition),this.$node.removeEventListener("click",this.close),this.$node.removeEventListener("mouseenter",this.showTooltip),this.$node.removeEventListener("mouseleave",this.hideTooltip)}},{init(){this.$tooltip=this.getChild("tooltip"),this.canEnable=!1,this.closeUrl=this.options["close-navigation-url"]||null,this.$parentModal=this.options["modal-id"]?document.querySelector(`#${this.options["modal-id"]}`):null,this.$parentModal&&(this.$parentModal.addEventListener(F.MODAL_NODE_TOOLTIP_ENABLE,this.enableTooltip),this.$parentModal.addEventListener(F.MODAL_NODE_OPENED,this.enableTooltip))},enabled(){this.canEnable&&this.enableTooltip()},disabled(){this.disableTooltip()},destroy(){this.$parentModal&&(this.$parentModal.removeEventListener(F.MODAL_NODE_TOOLTIP_ENABLE,this.enableTooltip),this.$parentModal.removeEventListener(F.MODAL_NODE_OPENED,this.enableTooltip)),this.disableTooltip()}}),xn="data-active",lm=W("triggerReveal",{revealEl(){this.$elToShow&&this.$elToShow.setAttribute(xn,"true"),this.$elToHide&&this.$elToHide.removeAttribute(xn)},hideEl(){this.$elToShow&&this.$elToShow.removeAttribute(xn),this.$elToHide&&this.$elToHide.setAttribute(xn,"true")},addEvents(){var i,t;(i=this.$trigger)==null||i.addEventListener(F.INVIEWPORT_VISIBLE,this.revealEl),(t=this.$trigger)==null||t.addEventListener(F.INVIEWPORT_NOT_VISIBLE,this.hideEl)},removeEvents(){var i,t;(i=this.$trigger)==null||i.removeEventListener(F.INVIEWPORT_VISIBLE,this.revealEl),(t=this.$trigger)==null||t.removeEventListener(F.INVIEWPORT_NOT_VISIBLE,this.hideEl)}},{init(){this.$trigger=document.querySelector("[data-TriggerReveal-trigger]"),this.$elToShow=document.querySelector("[data-TriggerReveal-el-to-show]"),this.$elToHide=document.querySelector("[data-TriggerReveal-el-to-hide]"),this.addEvents()},destroy(){this.removeEvents()}}),cm=W("typeToSearch",{clear(){this.$input.value=""},handleClearClick(){this.clear(),document.dispatchEvent(new CustomEvent(F.SEARCH_SUBMIT))},handleTriggerClick(i){i.preventDefault(),this.typingTimer&&clearTimeout(this.typingTimer),document.dispatchEvent(new CustomEvent(F.SEARCH_SUBMIT))},toggleMediaQueryInputs(){const i=A17.currentMediaQuery==="lg"||A17.currentMediaQuery==="xl"||A17.currentMediaQuery==="xxl";this.options.mobile?this.$input.disabled=i:this.$input.disabled=!i},registerEvents(){document.addEventListener(F.FILTER_FORM_RESET,this.clear),this.$submit.addEventListener("click",this.handleTriggerClick),this.$clear&&this.$clear.addEventListener("click",this.handleClearClick)},disposeEvents(){document.removeEventListener(F.FILTER_FORM_RESET,this.clear),this.$submit.removeEventListener("click",this.handleTriggerClick),this.$clear&&this.$clear.removeEventListener("click",this.handleClearClick)}},{init(){this.$input=this.getChild("input"),this.$submit=this.getChild("trigger-submit"),this.$clear=this.getChild("trigger-clear"),this.toggleMediaQueryInputs(),this.registerEvents()},mediaQueryUpdated(){this.toggleMediaQueryInputs()},destroy(){this.disposeEvents()}}),ts=60,hm=1500,dm=W("typewriter",{updateMinHeight(){var o;if(!this.$node||!this.words||this.words.length===0)return;const i=this.$node.cloneNode(!1);i.setAttribute("aria-hidden","true"),i.style.position="absolute",i.style.visibility="hidden",i.style.pointerEvents="none",i.style.whiteSpace="normal";const t=this.$node.clientWidth;t>0&&(i.style.width=`${t}px`),i.innerHTML="",(o=this.$node.parentNode)==null||o.insertBefore(i,this.$node.nextSibling);const e=window.getComputedStyle(this.$node);let n=e.lineHeight,r=0;n==="normal"?r=parseFloat(e.fontSize||"16")*1.2:r=parseFloat(n),(!r||isNaN(r))&&(r=16*1.2);let s=1;for(const a of this.words){i.textContent=a;const u=i.getBoundingClientRect().height;if(u&&r){const c=Math.max(1,Math.round(u/r));c>s&&(s=c)}}i.remove(),this.$node.style.minHeight=`${s}lh`,s>
651?this.$node.style.marginBottom="calc(-1lh)":this.$node.style.marginBottom=""},runTypewriter(){clearTimeout(this.timeout);const i=this.words[this.wordIndex];this.isDeleting?this.deletePreviousLetter(i):this.typeNextLetter(i)},typeNextLetter(i){this.lettersToShow<i.length?(this.lettersToShow++,this.displayText(i.substring(0,this.lettersToShow)),this.timeout=setTimeout(()=>this.runTypewriter(),ts)):(this.isDeleting=!0,this.timeout=setTimeout(()=>this.runTypewriter(),hm))},deletePreviousLetter(i){this.lettersToShow>0?(this.lettersToShow--,this.displayText(i.substring(0,this.lettersToShow)),this.timeout=setTimeout(()=>this.runTypewriter(),ts/1.5)):(this.isDeleting=!1,this.wordIndex=(this.wordIndex+1)%this.words.length,this.timeout=setTimeout(()=>this.runTypewriter(),ts))},displayText(i){this.$node.innerHTML=i}},{init(){this.words=JSON.parse(this.options.words)||[],this.wordIndex=0,this.lettersToShow=0,this.isDeleting=!1,this.updateMinHeight(),this.words.length>0&&this.runTypewriter()},mediaQueryUpdated(){this.updateMinHeight()},destroy(){this.timeout&&clearTimeout(this.timeout)}}),fm=Object.freeze(Object.defineProperty({__proto__:null,AnchorNavigation:Hc,AnimDigit:sd,AutoplayCarousel:Kf,BBForm:Zf,ClearFilters:ov,CopyToClipboard:av,Demo:uv,FilterYears:lv,FormFilter:fv,Header:vv,HomeCarousel:gv,InViewport:yv,InnerCredits:_v,Menu:Wv,ModalContent:Yv,ModalFellow:Kv,ModalFields:Xv,ModalNewsletter:Qv,PageColor:Zv,SectionColor:em,SubmitForm:om,Tabs:am,TooltipZone:um,TriggerReveal:lm,TypeToSearch:cm,Typewriter:dm},Symbol.toStringTag,{value:"Module"})),Y={ACCORDION_OPEN:"Accordion:open",ACCORDION_OPENED:"Accordion:opened",ACCORDION_CLOSED:"Accordion:closed",BANNER_CLOSED:"Banner:closed",CAROUSEL_INIT:"Carousel:Init",CAROUSEL_DESTROY:"Carousel:Destroy",CAROUSEL_CHANGE:"Carousel:Change",MODAL_CLOSED:"Modal:hasClosed",MODAL_OPENED:"Modal:hasOpened",MODAL_CLOSE_ALL:"Modal:closeAll",MODAL_OPEN_BY_ID:"Modal:openById",MODAL_NODE_CLOSED:"Modal:closed",MODAL_NODE_OPENED:"Modal:opened",MODAL_NODE_OPEN:"Modal:open",MODAL_NODE_TOGGLE:"Modal:toggle",MODAL_NODE_CLOSE:"Modal:close",VIDEO_PLAYED:"video:played",VIDEO_RESET:"video:reset",VIDEO_DESTROY:"video:destroy",VIDEO_BACKGROUND_MUTE_ALL:"VideoBackground:muteAll",DATE_INPUT_SELECT_DATE:"DateInput:SelectDate",DATE_INPUT_RANGE_VALIDATION:"DateInput:RangeValidation",DATE_PICKER_MIN_UPDATE:"DateInput:PickerMinUpdate",DATE_PICKER_MAX_UPDATE:"DateInput:PickerMaxUpdate",DATE_PICKER_CHANGE:"DatePicker:Change",DATE_PICKER_UPDATE:"DatePicker:MinMaxUpdate",INPUT_VALIDATED:"Input:Validated",INPUT_RESET:"Input:Reset",TABS_OPENED:"Tabs:opened",TABS_SHOWN:"Tabs:shown",TABS_HIDDEN:"Tabs:hidden"},Rn=16,pm=W("Accordion",{getTriggerIndex(i){return i.getAttribute("data-Accordion-index")},triggerClose(i){this.close(i),this._data.activeIndexes=this._data.activeIndexes.filter(t=>t!==i)},triggerOpen(i){this.open(i),this._data.activeIndexes.push(i),this.exclusive&&setTimeout(()=>{this.$triggers&&this.$triggers.forEach(t=>{const e=this.getTriggerIndex(t);this._data.activeIndexes.includes(e)&&e!==i&&this.triggerClose(e)})},Rn+1)},toggle(i){i.preventDefault();const t=this.getTriggerIndex(i.currentTarget);this._data.activeIndexes.includes(t)?this.triggerClose(t):this.triggerOpen(t)},close(i){const t=this.$triggers[i],e=this.$contents[i],n=e.offsetHeight;e.style.height=`${n}px`,setTimeout(()=>{e.style.height="0px"},Rn),t.setAttribute("aria-expanded","false"),t.setAttribute(`data-${this.name}-open`,"false"),e.setAttribute("aria-hidden","true"),e.setAttribute(`data-${this.name}-open`,"false"),e.setAttribute("inert","")},open(i){const t=this.$triggers[i],e=this.$contents[i],n=this.$contentInners[i];e.classList.remove("hidden"),e.removeAttribute("inert"),this.$node.dispatchEvent(new CustomEvent(Y.ACCORDION_OPEN)),setTimeout(()=>{const r=n.offsetHeight;e.style.height=`${r}px`,t.setAttribute("aria-expanded","true"),t.setAttribute(`data-${this.name}-open`,"true")},Rn)}
65,handleTransitionEnd(i){if(i.stopPropagation(),i.currentTarget)if(i.currentTarget.clientHeight===0){i.currentTarget.classList.add("hidden");let t=!0;this.$triggers.forEach(e=>{e.getAttribute("aria-expanded")==="true"&&(t=!1)}),t&&this.$node.dispatchEvent(new CustomEvent(Y.ACCORDION_CLOSED))}else i.currentTarget.dataset.setFixedHeight==="false"&&(i.currentTarget.style.height="auto"),i.currentTarget.setAttribute("aria-hidden","false"),i.currentTarget.setAttribute(`data-${this.name}-open`,"true"),this.scrollOnOpen&&this.$scrollElement.scrollTo({top:i.currentTarget.parentElement.offsetTop,behavior:"smooth"}),this.$node.dispatchEvent(new CustomEvent(Y.ACCORDION_OPENED))}},{init(){this._data.activeIndexes=[],this.scrollOnOpen=this.options["scroll-open"]==="true",this.exclusive=this.options.exclusive==="true",this.$initOpen=this.getChildren("init-open"),this.$triggers=this.getChildren("trigger"),this.$contents=this.getChildren("content"),this.$contentInners=this.getChildren("content-inner")},enabled(){this.scrollOnOpen&&(this.$scrollElement=this.$node.closest("[data-accordion-scroll-wrapper]")),this.$triggers.forEach(i=>{const t=this.getTriggerIndex(i);i.addEventListener("click",this.toggle,!1),this._data.activeIndexes.includes(t)&&this.triggerClose(t),i.getAttribute(`data-${this.name}-open`)==="true"&&this.triggerOpen(t)}),this.$contents.forEach(i=>{i.addEventListener("transitionend",this.handleTransitionEnd,!1)}),this.$initOpen.forEach(i=>{i.click()})},disabled(){this.$triggers.forEach(i=>{const t=this.getTriggerIndex(i);i.removeEventListener("click",this.toggle),this._data.activeIndexes.includes(t)||this.triggerOpen(t)}),setTimeout(()=>{this.$contents&&this.$contents.forEach(i=>{i.style.height=""})},Rn+1)}}),es="o-audio__rate--active",vm="Mute",mm="Unmute",Gt="hidden",gm=W("AudioPlayer",{closeMenu(){this.menuOpen&&(this.menuOpen=!1,this.rate.classList.remove(es),this.rateBtn.focus(),this.speedBtns.forEach(i=>{i.removeAttribute("tabindex")}))},formatTime(i){const t=Math.floor(i/60)||0,e=Math.floor(i-t*60)||0;return t+":"+(e<10?"0":"")+e},handleFocusout(i){document.documentElement.contains(i.relatedTarget)&&!this.getChild("rate").contains(i.relatedTarget)&&(this.menuOpen=!1)},handleKeyPress(i){if(this.getChild("volumewrapper").contains(i.target))switch(i.keyCode){case 35:i.preventDefault(),this.volume=100;break;case 36:i.preventDefault(),this.volume=0;break;case 33:i.preventDefault(),this.volume=Math.min(Math.max(this.volume-=10,0),100);break;case 34:i.preventDefault(),this.volume=Math.min(Math.max(this.volume+=10,0),100);break}else switch(i.keyCode){case 35:i.preventDefault(),this.currentSeconds=this.durationSeconds,this.audioPlayer.currentTime=this.currentSeconds;break;case 36:i.preventDefault(),this.currentSeconds=0,this.audioPlayer.currentTime=this.currentSeconds;break;case 33:i.preventDefault(),this.skip("back",5);break;case 34:i.preventDefault(),this.skip("forward",5);break}switch(i.keyCode){case 38:i.preventDefault(),this.volume=Math.min(Math.max(this.volume+=5,0),100);break;case 40:i.preventDefault(),this.volume=Math.min(Math.max(this.volume-=5,0),100);break;case 37:i.preventDefault(),this.skip("back");break;case 39:i.preventDefault(),this.skip();break;case 32:["BUTTON","LI"].includes(i.target.tagName)||this.toggleAudio();break}this.setVolume(this.volume)},load(){if(this.audioPlayer.readyState>=2)this.isLoaded=!0,this.durationSeconds=parseInt(this.audioPlayer.duration),this.duration.innerHTML=this.formatTime(this.durationSeconds),this.progressBar.setAttribute("max",this.durationSeconds),this.progressBar.setAttribute("aria-valuetext",`${this.formatTime(this.currentSeconds)} of ${this.formatTime(this.durationSeconds)}`);else throw new Error("Failed to load audio file.")},nextItem(i){const t=i.target,e=Array.from(this.speedBtns).indexOf(t),{0:n,[this.speedBtns.length-1]:r}=this.speedBtns;i.keyCode==38?t!==n?this.speedBtns[e-1].focus():r.focus():i.keyCode==40&&(t!==r?this.speedBtns[e+1].focus():n.focus())},seek(i){this.isLoaded&&(this.currentSeconds=i.target.value,this.audioPlayer.currentTime=i.target.value)},setVolume(i){let t;typeof i=="number"?t=i:i.target&&(t=i.target.value),t<=0?(this.isMuted=!1,this.toggleMute()):t>0&&(this.isMuted=!1,this.getChild("muteIcon").classList.remove(Gt),this.getChild("unmuteIcon").classList.add(Gt)),this.volume=t,this.audioPlayer.volume=t/100,this.volumeSlider.value=t,this.volumeSlider.setAttribute("aria-valuetext",this.volume),this.volumeSlider.style.setProperty("--value",`${t}`)},skip(i=null,t=null){const e=t||this.seekPercentage,r=(i==="back"?-1*e:e)*.01*this.audioPlayer.duration;this.audioPlayer.currentTime+=Math.round(r)},toggleAudio(){this.audioPlayer.paused?(this.audioPlayer.play(),this.isPlaying=!0,this.pauseIcon.classList.remove(Gt),this.playIcon.classList.add(Gt),this.playToggle.setAttribute("aria-label","Pause"),this.playToggle.querySelector("span").innerHTML="Pause"):(this.audioPlayer.pause(),this.isPlaying=!1,this.pauseIcon.classList.add(Gt),this.playIcon.classList.remove(Gt),this.playToggle.setAttribute("aria-label","Play"),this.playToggle.querySelector("span").innerHTML="Play")},toggleMenu(){this.menuOpen=!this.menuOpen,this.menuOpen?(this.rate.classList.add(es),this.speedBtns.forEach(i=>
65{i.setAttribute("tabindex",0),i.classList.contains("selected")&&setTimeout(()=>{i.focus()},5)})):(this.rate.classList.remove(es),this.speedBtns.forEach(i=>{i.removeAttribute("tabindex")}))},toggleMute(){this.isMuted=!this.isMuted,this.isMuted?(this.previousVolume=this.volumeSlider.value,this.volume=0,this.volumeSlider.style.setProperty("--value","0"),this.getChild("muteIcon").classList.add(Gt),this.getChild("unmuteIcon").classList.remove(Gt),this.muteBtn.setAttribute("aria-label",mm),this.volumeSlider.setAttribute("aria-valuetext",0),this.volumeSlider.style.setProperty("--value","0"),this.volumeSlider.value=0):(this.volume=this.previousVolume,this.getChild("muteIcon").classList.remove(Gt),this.getChild("unmuteIcon").classList.add(Gt),this.muteBtn.setAttribute("aria-label",vm),this.volumeSlider.setAttribute("aria-valuetext",this.volume),this.volumeSlider.style.setProperty("--value",`${this.volume}`),this.volumeSlider.value=this.volume),this.audioPlayer.volume=this.volume/100},updateTime(){this.currentSeconds=parseInt(this.audioPlayer.currentTime),this.currentTime.innerHTML=this.formatTime(this.currentSeconds),this.progressBar.value=this.currentSeconds,this.progressBar.setAttribute("aria-valuetext",`${this.formatTime(this.currentSeconds)} of ${this.formatTime(this.durationSeconds)}`);const i=parseInt(this.currentSeconds/this.durationSeconds*100);this.progressBar.style.setProperty("--value",isNaN(i)?0:i)},updateRate(i){const t=this.playbackRates[i];this.audioPlayer.playbackRate=t,this.playbackRate=t,this.currentRate.innerHTML=t,this.rateMenu.setAttribute("aria-activedescendant",`speed${i}`),this.rateBtn.setAttribute("aria-label",`Playback Speed: ${t}X`),this.speedBtns.forEach(e=>{e.classList.remove("selected"),e.setAttribute("aria-checked","false")}),this.speedBtns[i].classList.add("selected"),this.speedBtns[i].setAttribute("aria-checked","true"),this.closeMenu()}},{init(){this.audioPlayer=this.getChild("player"),this.backgroundVal=0,this.currentSeconds=0,this.currentRate=this.getChild("currentRate"),this.currentTime=this.getChild("currentTime"),this.duration=this.getChild("duration"),this.durationSeconds=0,this.forward=this.getChild("forward"),this.hoverValue=0,this.isLoaded=!1,this.isMuted=!1,this.isPlaying=!1,this.loadedAmount=0,this.menuOpen=!1,this.muteBtn=this.getChild("muteBtn"),this.playIcon=this.getChild("playIcon"),this.playbackRate=1,this.playbackRates=[.5,.75,1,1.25,1.5,1.75,2,2.25,2.5,2.75,3],this.playToggle=this.getChild("playToggle"),this.previousVolume=35,this.progressBar=this.getChild("progressBar"),this.pauseIcon=this.getChild("pauseIcon"),this.rewind=this.getChild("rewind"),this.rate=this.getChild("rate"),this.rateBtn=this.getChild("rateBtn"),this.rateMenu=this.getChild("rateMenu"),this.seekPercentage=1,this.speedBtns=this.getChildren("speed"),this.volume=100,this.volumeSlider=this.getChild("volumeslider"),this.audioPlayer.load(),this.$node.addEventListener("keydown",i=>{this.handleKeyPress(i)}),this.audioPlayer.addEventListener("loadeddata",()=>{this.load()}),this.audioPlayer.addEventListener("pause",()=>{this.isPlaying=!1}),this.audioPlayer.addEventListener("play",()=>{this.isPlaying=!0}),this.audioPlayer.addEventListener("timeupdate",()=>{this.updateTime()}),this.volumeSlider.addEventListener("change",i=>{this.setVolume(i)}),this.volumeSlider.addEventListener("click",i=>{this.setVolume(i)}),this.muteBtn.addEventListener("click",()=>{this.toggleMute()}),this.rate.addEventListener("focusout",i=>{this.handleFocusout(i)}),this.rate.addEventListener("keyup",i=>{i.key==="Escape"&&this.closeMenu()}),this.rateBtn.addEventListener("click",()=>{this.toggleMenu()}),this.rewind.addEventListener("click",()=>{this.skip("back")}),this.playToggle.addEventListener("click",()=>{this.toggleAudio()}),this.forward.addEventListener("click",()=>{this.skip()}),this.progressBar.addEventListener("change",i=>{this.seek(i)}),this.speedBtns.forEach((i,t)=>{i.addEventListener("click",()=>{this.updateRate(t)}),i.addEventListener("keydown",e=>{e.key=="Enter"?setTimeout(()=>{this.updateRate(t)},100):this.nextItem(e)})})},enabled(){},resized(){},mediaQueryUpdated(){},disabled(){},destroy(){}}),_m=W("Carousel",{async initCarousel(){var u;if(this.swiper)return;const{Swiper:i}=await Gn(async()=>{const{Swiper:c}=await import("./swiper-DYRdfygD.js");return{Swiper:c}},__vite__mapDeps([0,1])),{A11y:t,Autoplay:e,EffectFade:n,Navigation:r,Pagination:s}=await Gn(async()=>{const{A11y:c,Autoplay:l,EffectFade:h,Navigation:d,Pagination:p}=await import("./index-g_Fkinj2.js");return{A11y:c,Autoplay:l,EffectFade:h,Navigation:d,Pagination:p}}
65,__vite__mapDeps([2,1]));let o={};this.configuration&&((u=window.A17)!=null&&u.sliderConfigurations)&&this.configuration in window.A17.sliderConfigurations&&(o=window.A17.sliderConfigurations[this.configuration]);const a=[r,t];(this.options.pagination||o.pagination)&&a.push(s),(this.options.effect==="fade"||o.effect)&&a.push(n),(this.options.autoplay||o.autoplay)&&a.push(e),this.swiper=new i(this.$node,{loop:"loop"in this.options?this.options.loop==="true":!0,...this.options.effect==="fade"||o.effect&&{effect:"fade",fadeEffect:{crossFade:!0}},...this.options.pagination||o.pagination&&{pagination:{el:".swiper-pagination",type:"fraction"}},...this.opts,modules:a,...o}),this.$node.dispatchEvent(new CustomEvent(Y.CAROUSEL_INIT,{detail:{swiper:this.swiper}}))}},{init(){this.swiper=null,this.configuration=this.options.configuration,this.opts={on:{slideChange:i=>{document.dispatchEvent(new CustomEvent(Y.CAROUSEL_CHANGE,{detail:{sliderEl:this.$node,swiper:i}}))}},navigation:{nextEl:".swiper-next-btn",prevEl:".swiper-prev-btn"}}},enabled(){this.initCarousel()},disabled(){var i;(i=this.swiper)==null||i.destroy(),this.swiper=null,this.$node.dispatchEvent(new CustomEvent(Y.CAROUSEL_DESTROY))}}),ym=W("Dropdown",{toggleList(){this.isOpen?this.closeDropdown():this.openDropdown()},openDropdown(){const i=window.matchMedia("(prefers-reduced-motion: reduce)");let t=500;i.matches&&(t=100),this.isOpen=!0,this.$node.setAttribute("data-is-open","true"),this.$btn.setAttribute("aria-expanded","true"),this.initOutClick(),this.timeout=window.setTimeout(()=>{this.$focusableItems=this.$list?Xi(this.$list):[],this.$focusIndex=0,this.focusItem()},t)},focusAndCloseDropdown(){this.$btn.focus(),this.closeDropdown()},closeDropdown(){this.isOpen=!1,this.$node.removeAttribute("data-is-open"),this.$btn.setAttribute("aria-expanded","false"),this.disabledOutClick(this.$node),window.clearTimeout(this.timeout)},initOutClick(){document.addEventListener("click",this.clickOutside),window.addEventListener("keydown",this.checkKey)},disabledOutClick(){document.removeEventListener("click",this.clickOutside),window.removeEventListener("keydown",this.checkKey)},focusItem(){var i;(i=this.$focusableItems[this.$focusIndex])==null||i.focus()},checkKey(i){switch(i.key){case"Tab":if(i.preventDefault(),i.stopPropagation(),i.shiftKey){this.$focusIndex--,this.$focusIndex<0?(this.$focusIndex=0,this.focusAndCloseDropdown()):this.focusItem();return}else this.$focusIndex++,this.$focusIndex>=this.$focusableItems.length?this.focusAndCloseDropdown():this.focusItem();break;case"Up":case"ArrowUp":i.preventDefault(),this.$focusIndex--,this.$focusIndex<0&&(this.$focusIndex=0),this.focusItem();break;case"Down":case"ArrowDown":i.preventDefault(),this.$focusIndex++,this.$focusIndex>=this.$focusableItems.length&&(this.$focusIndex=this.$focusableItems.length-1),this.focusItem();break}},clickOutside(i){this.$node.contains(i.target)||this.toggleList()}},{init(){this.isOpen=!1,this.$btn=this.getChild("btn"),this.$list=this.getChild("list"),this.$focusableItems=this.$list?Xi(this.$list):[],this.timeout=null,this.$focusIndex=0,this.$btn.addEventListener("click",this.toggleList)},destroy(){this.$btn.removeEventListener("click",this.toggleList),this.disabledOutClick()}}),Ja="s-error",Em=W("Input",{resetErrorState(){this.$error.textContent="",this.$error.style.display="none",this.$node.classList.remove(Ja)},showErrorState(i){i&&(this.$error.textContent=i),this.$error.style.display="",this.$node.classList.add(Ja)},validated(i){let t=i!=null&&i.detail?i.detail:this.$input.validationMessage;t.length?this.showErrorState(t):this.resetErrorState()}},{init(){this.$input=this.getChild("input"),this.$error=this.getChild("error"),this.$input.addEventListener(Y.INPUT_VALIDATED,this.validated,!1),this.$input.addEventListener(Y.INPUT_RESET,this.resetErrorState,!1),this.$error.textContent.trim().length>0&&this.showErrorState()},destroy(){this.$input.removeEventListener(Y.INPUT_VALIDATED,this.validated),this.$input.removeEventListener(Y.INPUT_RESET,this.resetErrorState)}}),wm=W("Modal",{toggle(i){i.preventDefault(),i.stopPropagation(),this._data.isActive?this.close(i):this.open(i)},close(i){i==null||i.preventDefault(),i==null||i.stopPropagation(),this._data.isActive&&(this.$node.removeAttribute("data-active"),this._data.focusTrap.deactivate(),this._data.isActive=!1,setTimeout(()=>{this.$scroller&&du(this.$scroller)},200),this.$node.dispatchEvent(new CustomEvent(Y.MODAL_NODE_CLOSED)),document.dispatchEvent(new CustomEvent(Y.MODAL_CLOSED)),this.disposeOpenEvents())},openFromOutside(i){var t;((t=i.detail)==null?void 0:t.modalId)===this.$modalId&&!this._data.isActive&&(i.preventDefault(),i.stopPropagation(),this.open())},open(){document.dispatchEvent(new CustomEvent(Y.MODAL_CLOSE_ALL)),document.dispatchEvent(new CustomEvent(Y.MODAL_OPENED)),this.$node.dispatchEvent(new CustomEvent(Y.MODAL_NODE_OPENED)),hu(this.$scroller,{reserveScrollBarGap:!0}),this.$node.setAttribute("data-init","true"),this.$node.setAttribute("data-active","true"),this._data.isActive=!0,this.registerOpenEvents(),this._data.focusTrap.activate()},handleEsc(i){i.key==="Escape"&&this.close()},handleClickOutside(i){this._data.isActive&&!this.$focusTrap.contains(i.target)&&this.close(i)},registerOpenEvents(){this.$clickOutside&&(document.addEventListener("click",this.handleClickOutside,!1),this.$node.addEventListener("click",this.handleClickOutside,!1))},disposeOpenEvents(){this.$clickOutside&&(this.$focusTrap.removeEventListener("click",this.handleCloseInside,!1),document.removeEventListener("click",this.handleClickOutside,!1),this.$node.removeEventListener("click",this.handleClickOutside,!1))}},{init(){var i;this.$focusTrap=this.getChild("focus-trap"),this.$scroller=this.getChild("scroller")?this.getChild("scroller"):this.$focusTrap,this.$closeButtons=this.getChildren("close-trigger"),this.$initialFocus=this.getChild("initial-focus"),this.$clickOutside=this.options.panel||this.options.clickoutside,this.$initialFocus||console.warn("No initial focus element found. Add a `h1` with the attribute `data-Modal-initial-focus`. The `h1` should also have an id that matches the modal id with `_title` appended"),this._data.focusTrap=pc(this.$focusTrap,{initialFocus:this.$initialFocus,fallbackFocus:this.$node,clickOutsideDeactivates:this.$clickOutside}),this._data.isActive=!1,this.$closeButtons&&this.$closeButtons.forEach(t=>{t.addEventListener("click",this.close,!1)}),this.$node.addEventListener(Y.MODAL_NODE_OPEN,this.open,!1),this.$node.addEventListener(Y.MODAL_NODE_TOGGLE,this.toggle,!1),this.$node.addEventListener(Y.MODAL_NODE_CLOSE,this.close,!1),document.addEventListener(Y.MODAL_OPEN_BY_ID,this.openFromOutside,!1),document.addEventListener(Y.MODAL_CLOSE_ALL,this.close,!1),document.addEventListener("keyup",this.handleEsc,!1),this.$modalId=this.$node.getAttribute("id"),this.$triggers=document.querySelectorAll(`[data-modal-target="#${this.$modalId}
65"]`),(i=this.$triggers)==null||i.forEach(t=>{t.addEventListener("click",this.toggle)}),this.options.open&&this.open()},destroy(){var i;this.close(),this.$closeButtons&&this.$closeButtons.forEach(t=>{t.removeEventListener("click",this.close)}),this.$node.removeEventListener(Y.MODAL_NODE_OPEN,this.open),this.$node.removeEventListener(Y.MODAL_NODE_TOGGLE,this.toggle),this.$node.removeEventListener(Y.MODAL_NODE_CLOSE,this.close),this.$node.removeEventListener("click",this.handleClickOutside),document.removeEventListener(Y.MODAL_OPEN_BY_ID,this.openFromOutside),document.removeEventListener(Y.MODAL_CLOSE_ALL,this.close),document.removeEventListener("keyup",this.handleEsc),(i=this.$triggers)==null||i.forEach(t=>{t.removeEventListener("click",this.toggle)}),this.disposeOpenEvents()}}),bm=W("Pagination",{handlePagingDropdown(){window.location=this.$pagingDropdown.value}},{init(){this.$pagingDropdownWrapper=this.getChild("paging-dropdown"),this.$pagingDropdown=this.$pagingDropdownWrapper?this.$pagingDropdownWrapper.querySelector("select"):null,this.$pagingDropdown&&this.$pagingDropdown.addEventListener("change",this.handlePagingDropdown,!1)},enabled(){},resized(){},mediaQueryUpdated(){},disabled(){},destroy(){this.$pagingDropdown.removeEventListener("change",this.handlePagingDropdown)}}),Tm=W("RadioGroup",{resetErrorState(){this.$error.textContent="",this.$error.style.display="none",this.$node.classList.remove("s-error")},showErrorState(i){i&&(this.$error.textContent=i),this.$error.style.display="",this.$node.classList.add("s-error")},validate(i){let t=this.$node.querySelector("input:not(:disabled)"),e=i!=null&&i.detail?i.detail:t.validationMessage;e.length?this.showErrorState(e):this.resetErrorState()}},{init(){this.$error=this.getChild("error"),this.$node.addEventListener("RadioGroup:Validated",this.validate,!1),this.$error.textContent.trim().length>0&&this.showErrorState()},destroy(){this.$node.removeEventListener("RadioGroup:Validated",this.validate)}}),Am={rel:0,fs:1,modestbranding:1,playsinline:1,showinfo:0,enablejsapi:1,autoplay:1,origin:window.location.origin},Sm={color:"05d192",title:0,byline:0,portrait:0},Lm=W("ShowVideo",{handleClick(i){i.preventDefault(),i.stopPropagation(),this.$videoPlayer.classList.remove("hidden"),this.playVideo()},playVideo(){const i=this.options.type,t=this.options.id;if(this.videoInitialized)return;if(!i||!t)return console.warn("ShowVideo: missing type or id");const e=this.handleParams(i);let n="";i==="youtube"?n=`https://www.youtube.com/embed/${t}${e}`:i==="vimeo"&&(n=`https://player.vimeo.com/video/${t}${e}`),this.$videoPlayer.classList.remove("hidden"),this.$videoPlayer.innerHTML=`<iframe data-video-player title="Video Player" src="${n}" mozallowfullscreen webkitallowfullscreen allowfullscreen allow="autoplay" class="w-full h-full"></iframe>`,this.$node.classList.add("is-active"),this.videoInitialized=!0;const r=this.$videoPlayer.querySelector("iframe");r&&(r.onload=()=>{r.classList.add("is-loaded")}),this.$node.dispatchEvent(new CustomEvent(Y.VIDEO_PLAYED))},resetVideo(){this.destroyVideo(),this.$node.classList.remove("is-active"),this.videoInitialized=!1},destroyVideo(){this.videoInitialized&&(this.$videoPlayer.classList.add("hidden"),this.$videoPlayer.innerHTML="")},checkParams(){window.location.search.indexOf("playvideo")>-1&&this.playVideo()},handleParams(i){let t={};return i=="youtube"&&(t=Am),i=="vimeo"&&(t=Sm),t.autoplay=this.autoplay?1:0,rs.fromObject(t)}},{init(){this.videoInitialized=!1,this.autoplay=!!(this.options.autoplay&&this.options.autoplay!=="0"),this.$videoPlayer=this.getChild("player"),this.$trigger=this.getChild("media-container"),this.$trigger.addEventListener("click",this.handleClick,!1),this.$videoPlayer.innerHTML="",this.$node.addEventListener(Y.VIDEO_RESET,this.resetVideo,!1),this.$videoPlayer.addEventListener(Y.VIDEO_DESTROY,this.destroyVideo,!1),this.checkParams()},enabled(){},resized(){},mediaQueryUpdated(){},disabled(){},destroy(){this.$trigger.removeEventListener("click",this.handleClick),this.$node.removeEventListener(Y.VIDEO_RESET,this.resetVideo,!1),this.$videoPlayer.removeEventListener(Y.VIDEO_DESTROY,this.destroyVideo)}}),Mn=window.matchMedia("(prefers-reduced-motion: reduce)"),Om=(i=()=>{})=>{const t=()=>{typeof i=="function"&&i(Mn.matches)};return Mn.addEventListener("change",t),[Mn.matches,()=>{Mn.removeEventListener("change",t)}]}
65,Cm=W("VideoBackground",{togglePlay(i){i.preventDefault(),this.isPlaying?(this.pause(),this.$player.setAttribute("data-paused-manual","true")):this.play()},toggleMute(i){i&&i.preventDefault(),this.isMuted?this.unmute():this.mute()},play(){this.$player.play(),this.$player.removeAttribute("data-paused-manual")},pause(){this.$player.pause()},mute(){this.isMuted||(this.$player.muted=!0,this.updateMuteButton(!0))},unmute(){this.isMuted&&(this.muteAll(),this.$player.muted=!1,this.updateMuteButton(!1))},handlePlay(){this.updatePlayButton(!0)},handlePause(){this.updatePlayButton(!1)},startIntersectionObserver(){const i={threshold:[.25,.75]};this.observer=new IntersectionObserver(this.handleObserver,i),this.observer.observe(this.$player)},handleObserver(i){i.forEach(t=>{t.isIntersecting&&this.$player.dataset.pausedManual!=="true"?this.play():this.isPlaying&&this.isMuted&&this.pause()})},updatePlayButton(i){this.$pauseIcon.classList.toggle("hidden",!i),this.$playIcon.classList.toggle("hidden",i),this.$pauseButton.setAttribute("aria-label",i?this.buttonText.pause:this.buttonText.play),this.isPlaying=i},updateMuteButton(i){this.isMuted=i,this.$muteIcon.classList.toggle("hidden",i),this.$unmuteIcon.classList.toggle("hidden",!i),this.$muteButton.setAttribute("aria-label",i?this.buttonText.unmute:this.buttonText.mute)},muteAll(){document.dispatchEvent(new CustomEvent(Y.VIDEO_BACKGROUND_MUTE_ALL))},initState(){this.isPlaying=!0,this.isMuted=!0,this.buttonText={play:this.options["text-play"],pause:this.options["text-pause"],mute:this.options["text-mute"],unmute:this.options["text-unmute"]}},handleMotionReduceState(i){var t;i?((t=this.observer)==null||t.disconnect(),this.pause()):this.startIntersectionObserver()},initEvents(){document.addEventListener(Y.VIDEO_BACKGROUND_MUTE_ALL,this.mute,!1),this.$player&&(this.$player.addEventListener("play",this.handlePlay),this.$player.addEventListener("pause",this.handlePause)),this.$pauseButton&&this.$pauseButton.addEventListener("click",this.togglePlay,!1),this.$muteButton&&this.$muteButton.addEventListener("click",this.toggleMute,!1)}},{init(){this.initState(),this.$player=this.getChild("player"),this.$muteButton=this.getChild("mute"),this.$pauseButton=this.getChild("pause"),this.$muteIcon=this.getChild("icon-mute"),this.$unmuteIcon=this.getChild("icon-unmute"),this.$playIcon=this.getChild("icon-play"),this.$pauseIcon=this.getChild("icon-pause");const[i,t]=Om(this.handleMotionReduceState);this.handleMotionReduceState(i),this.motionReduceDestroy=t,this.initEvents()},destroy(){var i;this.$player&&(this.$player.removeEventListener("play",this.handlePlay),this.$player.removeEventListener("pause",this.handlePause)),document.removeEventListener(Y.VIDEO_BACKGROUND_MUTE_ALL,this.mute),this.$pauseButton&&this.$pauseButton.removeEventListener("click",this.togglePlay),this.$muteButton&&this.$muteButton.removeEventListener("click",this.toggleMute),this.motionReduceDestroy(),(i=this.observer)==null||i.disconnect()}}),$m=Object.freeze(Object.defineProperty({__proto__:null,Accordion:pm,AudioPlayer:gm,Carousel:_m,Dropdown:ym,Input:Em,Modal:wm,Pagination:bm,RadioGroup:Tm,ShowVideo:Lm,VideoBackground:Cm},Symbol.toStringTag,{value:"Module"})),He=function(){var i;(i=window.dataLayer)==null||i.push(arguments)},Pm=()=>{window.dataLayer=window.dataLayer||[],He("js",new Date),window.ga4ID&&He("config",window.ga4ID),He("set","url_passthrough",!0)},Im=()=>{He("consent","update",{analytics_storage:"granted"}),document.dispatchEvent(new CustomEvent("analytics:enabled"))},Dm=()=>{He("consent","update",{analytics_storage:"denied"})},km=()=>{He("consent","update",{ad_storage:"granted"})},xm=()=>{He("consent","update",{ad_storage:"denied"})},Rm=()=>{(function(i,t){var e=i.getElementsByTagName(t)[0],n=i.createElement(t);n.async=!0,n.src="//static.axept.io/sdk-slim.js",e.parentNode.insertBefore(n,e)})(document,"script")};let Rs=[];const vc=i=>{i.preventDefault(),window==null||window.openAxeptioCookies()},tu=()=>{Rs=Array.from(document.querySelectorAll('[href="#cookies-management"]')||[]),Rs.forEach(i=>i.addEventListener("click",vc))},Mm=()=>{window.axeptioEnabled&&(window.setTimeout(()=>{Rm(),tu()},100),window._axcb=window._axcb||[],window._axcb.push(function(i){i.on("cookies:complete",function(t){t.google_analytics?Im():Dm(),t.Google_Ads?km():xm(),t.clarity&&typeof(window==null?void 0:window.clarity)=="function"&&(window==null||window.clarity("consent"))})}),document.addEventListener("swup:visit:start",()=>{Rs.forEach(i=>
65i.removeEventListener("click",vc))}),document.addEventListener("swup:visit:end",()=>{tu()}))},Nm=()=>{window.A17=window.A17||{};const i=document.createElement("div");i.style.overflow="scroll",document.body.appendChild(i);const t=i.offsetWidth-i.clientWidth;document.body.removeChild(i),document.documentElement.style.setProperty("--scrollbar-width",`${t}px`),window.A17.scrollBarWidth=t};window.A17=window.A17||{};const eu=()=>{Mc(),Uc()};document.addEventListener("DOMContentLoaded",function(){xc(),Ic(),kc(),Rc(),Nm(),Pm(),Mm(),eu(),Fs(),window.A17.behaviors=au,window.A17.behaviors.init({...$m,...fm}),nv({onContentReplaced:eu})});

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.