const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_slug_-BJCgeKe5.js","assets/_slug_-DtX1dxsX.css","assets/default-NFWhMLka.js","assets/IconYT-BLfkgVRJ.js","assets/default-BDsK4KcH.css","assets/example-CwIXk9r9.js","assets/ButtonToggle-V3yqwJBB.js","assets/ButtonToggle-CZqZoMXc.css","assets/example-DDLPA9LR.css","assets/fellows-projects-DraDp4g3.js","assets/fellows-projects-k9n02-cf.css","assets/partners-BNtLCFcy.js","assets/HeroHeader-C1lqiZtG.js","assets/HeroHeader-BWqtW8Xi.css","assets/partners-BmU2IQYc.css","assets/people-BtTdOfTX.js","assets/PeopleGridList-DZ4xejH7.js","assets/PeopleGridList-C2QCYTaP.css","assets/people-DiMB7Jek.css","assets/perspectives-CP6r0l4G.js","assets/perspectives-BzjJ5RD_.css","assets/programs-D4adppiy.js","assets/programs-Dvc7sNzM.css","assets/signup-FOUQTrML.js","assets/signup-C9FcDUYJ.css"])))=>i.map(i=>d[i]);
var uk=Object.defineProperty;var ck=(t,e,n)=>e in t?uk(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var Le=(t,e,n)=>ck(t,typeof e!="symbol"?e+"":e,n);function fk(t,e){for(var n=0;n<e.length;n++){const r=e[n];if(typeof r!="string"&&!Array.isArray(r)){for(const i in r)if(i!=="default"&&!(i in t)){const o=Object.getOwnPropertyDescriptor(r,i);o&&Object.defineProperty(t,i,o.get?o:{enumerable:!0,get:()=>r[i]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const s of o.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();/*!
* shared v10.0.8
* (c) 2025 kazuya kawaguchi
* Released under the MIT License.
*/function dk(t,e){typeof console<"u"&&(console.warn("[intlify] "+t),e&&console.warn(e.stack))}const ed=typeof window<"u",Fs=(t,e=!1)=>e?Symbol.for(t):Symbol(t),hk=(t,e,n)=>pk({l:t,k:e,s:n}),pk=t=>JSON.stringify(t).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),zn=t=>typeof t=="number"&&isFinite(t),mk=t=>Bm(t)==="[object Date]",td=t=>Bm(t)==="[object RegExp]",$d=t=>Bt(t)&&Object.keys(t).length===0,sr=Object.assign,gk=Object.create,on=(t=null)=>gk(t);let V_;const Nm=()=>V_||(V_=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:on());function U_(t){return t.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\//g,"/").replace(/=/g,"=")}function j_(t){return t.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function _k(t){return t=t.replace(/(\w+)\s*=\s*"([^"]*)"/g,(r,i,o)=>`${i}="${j_(o)}"`),t=t.replace(/(\w+)\s*=\s*'([^']*)'/g,(r,i,o)=>`${i}='${j_(o)}'`),/\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(t)&&(t=t.replace(/(\s+)(on)(\w+\s*=)/gi,"$1on$3")),[/(\s+(?:href|src|action|formaction)\s*=\s*["']?)\s*javascript:/gi,/(style\s*=\s*["'][^"']*url\s*\(\s*)javascript:/gi].forEach(r=>{t=t.replace(r,"$1javascript:")}),t}const vk=Object.prototype.hasOwnProperty;function ji(t,e){return vk.call(t,e)}const Zn=Array.isArray,Tn=t=>typeof t=="function",et=t=>typeof t=="string",kn=t=>typeof t=="boolean",Yt=t=>t!==null&&typeof t=="object",yk=t=>Yt(t)&&Tn(t.then)&&Tn(t.catch),E1=Object.prototype.toString,Bm=t=>E1.call(t),Bt=t=>Bm(t)==="[object Object]",bk=t=>t==null?"":Zn(t)||Bt(t)&&t.toString===E1?JSON.stringify(t,null,2):String(t);function Vm(t,e=""){return t.reduce((n,r,i)=>i===0?n+r:n+e+r,"")}const Zc=t=>!Yt(t)||Zn(t);function Pf(t,e){if(Zc(t)||Zc(e))throw new Error("Invalid value");const n=[{src:t,des:e}];for(;n.length;){const{src:r,des:i}=n.pop();Object.keys(r).forEach(o=>{o!=="__proto__"&&(Yt(r[o])&&!Yt(i[o])&&(i[o]=Array.isArray(r[o])?[]:on()),Zc(i[o])||Zc(r[o])?i[o]=r[o]:n.push({src:r[o],des:i[o]}))})}}/*!
* message-compiler v10.0.8
* (c) 2025 kazuya kawaguchi
* Released under the MIT License.
*/function wk(t,e,n){return{line:t,column:e,offset:n}}function wp(t,e,n){return{start:t,end:e}}const nn={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14},Sk=17;function Hd(t,e,n={}){const{domain:r,messages:i,args:o}=n,s=t,a=new SyntaxError(String(s));return a.code=t,e&&(a.location=e),a.domain=r,a}function Tk(t){throw t}const Co=" ",Ek="\r",Fr=`
`,kk="\u2028",Ak="\u2029";function Rk(t){const e=t;let n=0,r=1,i=1,o=0;const s=L=>e[L]===Ek&&e[L+1]===Fr,a=L=>e[L]===Fr,u=L=>e[L]===Ak,c=L=>e[L]===kk,h=L=>s(L)||a(L)||u(L)||c(L),l=()=>n,d=()=>r,f=()=>i,_=()=>o,g=L=>s(L)||u(L)||c(L)?Fr:e[L],b=()=>g(n),y=()=>g(n+o);function w(){return o=0,h(n)&&(r++,i=0),s(n)&&n++,n++,i++,e[n]}function A(){return s(n+o)&&o++,o++,e[n+o]}function k(){n=0,r=1,i=1,o=0}function R(L=0){o=L}function x(){const L=n+o;for(;L!==n;)w();o=0}return{index:l,line:d,column:f,peekOffset:_,charAt:g,currentChar:b,currentPeek:y,next:w,peek:A,reset:k,resetPeek:R,skipToPeek:x}}const os=void 0,Ck=".",W_="'",xk="tokenizer";function Pk(t,e={}){const n=e.location!==!1,r=Rk(t),i=()=>r.index(),o=()=>wk(r.line(),r.column(),r.index()),s=o(),a=i(),u={currentType:13,offset:a,startLoc:s,endLoc:s,lastType:13,lastOffset:a,lastStartLoc:s,lastEndLoc:s,braceNest:0,inLinked:!1,text:""},c=()=>u,{onError:h}=e;function l(G,I,D,...Z){const fe=c();if(I.column+=D,I.offset+=D,h){const ue=n?wp(fe.startLoc,I):null,S=Hd(G,ue,{domain:xk,args:Z});h(S)}}function d(G,I,D){G.endLoc=o(),G.currentType=I;const Z={type:I};return n&&(Z.loc=wp(G.startLoc,G.endLoc)),D!=null&&(Z.value=D),Z}const f=G=>d(G,13);function _(G,I){return G.currentChar()===I?(G.next(),I):(l(nn.EXPECTED_TOKEN,o(),0,I),"")}function g(G){let I="";for(;G.currentPeek()===Co||G.currentPeek()===Fr;)I+=G.currentPeek(),G.peek();return I}function b(G){const I=g(G);return G.skipToPeek(),I}function y(G){if(G===os)return!1;const I=G.charCodeAt(0);return I>=97&&I<=122||I>=65&&I<=90||I===95}function w(G){if(G===os)return!1;const I=G.charCodeAt(0);return I>=48&&I<=57}function A(G,I){const{currentType:D}=I;if(D!==2)return!1;g(G);const Z=y(G.currentPeek());return G.resetPeek(),Z}function k(G,I){const{currentType:D}=I;if(D!==2)return!1;g(G);const Z=G.currentPeek()==="-"?G.peek():G.currentPeek(),fe=w(Z);return G.resetPeek(),fe}function R(G,I){const{currentType:D}=I;if(D!==2)return!1;g(G);const Z=G.currentPeek()===W_;return G.resetPeek(),Z}function x(G,I){const{currentType:D}=I;if(D!==7)return!1;g(G);const Z=G.currentPeek()===".";return G.resetPeek(),Z}function L(G,I){const{currentType:D}=I;if(D!==8)return!1;g(G);const Z=y(G.currentPeek());return G.resetPeek(),Z}function F(G,I){const{currentType:D}=I;if(!(D===7||D===11))return!1;g(G);const Z=G.currentPeek()===":";return G.resetPeek(),Z}function H(G,I){const{currentType:D}=I;if(D!==9)return!1;const Z=()=>{const ue=G.currentPeek();return ue==="{"?y(G.peek()):ue==="@"||ue==="|"||ue===":"||ue==="."||ue===Co||!ue?!1:ue===Fr?(G.peek(),Z()):ne(G,!1)},fe=Z();return G.resetPeek(),fe}function V(G){g(G);const I=G.currentPeek()==="|";return G.resetPeek(),I}function ne(G,I=!0){const D=(fe=!1,ue="")=>{const S=G.currentPeek();return S==="{"||S==="@"||!S?fe:S==="|"?!(ue===Co||ue===Fr):S===Co?(G.peek(),D(!0,Co)):S===Fr?(G.peek(),D(!0,Fr)):!0},Z=D();return I&&G.resetPeek(),Z}function $(G,I){const D=G.currentChar();return D===os?os:I(D)?(G.next(),D):null}function M(G){const I=G.charCodeAt(0);return I>=97&&I<=122||I>=65&&I<=90||I>=48&&I<=57||I===95||I===36}function z(G){return $(G,M)}function K(G){const I=G.charCodeAt(0);return I>=97&&I<=122||I>=65&&I<=90||I>=48&&I<=57||I===95||I===36||I===45}function B(G){return $(G,K)}function W(G){const I=G.charCodeAt(0);return I>=48&&I<=57}function oe(G){return $(G,W)}function se(G){const I=G.charCodeAt(0);return I>=48&&I<=57||I>=65&&I<=70||I>=97&&I<=102}function q(G){return $(G,se)}function pe(G){let I="",D="";for(;I=oe(G);)D+=I;return D}function Te(G){let I="";for(;;){const D=G.currentChar();if(D==="{"||D==="}"||D==="@"||D==="|"||!D)break;if(D===Co||D===Fr)if(ne(G))I+=D,G.next();else{if(V(G))break;I+=D,G.next()}else I+=D,G.next()}return I}function _e(G){b(G);let I="",D="";for(;I=B(G);)D+=I;return G.currentChar()===os&&l(nn.UNTERMINATED_CLOSING_BRACE,o(),0),D}function ye(G){b(G);let I="";return G.currentChar()==="-"?(G.next(),I+=`-${pe(G)}`):I+=pe(G),G.currentChar()===os&&l(nn.UNTERMINATED_CLOSING_BRACE,o(),0),I}function Ae(G){return G!==W_&&G!==Fr}function be(G){b(G),_(G,"'");let I="",D="";for(;I=$(G,Ae);)I==="\\"?D+=ie(G):D+=I;const Z=G.currentChar();return Z===Fr||Z===os?(l(nn.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,o(),0),Z===Fr&&(G.next(),_(G,"'")),D):(_(G,"'"),D)}function ie(G){const I=G.currentChar();switch(I){case"\\":case"'":return G.next(),`\\${I}`;case"u":return le(G,I,4);case"U":return le(G,I,6);default:return l(nn.UNKNOWN_ESCAPE_SEQUENCE,o(),0,I),""}}function le(G,I,D){_(G,I);let Z="";for(let fe=0;fe<D;fe++){const ue=q(G);if(!ue){l(nn.INVALID_UNICODE_ESCAPE_SEQUENCE,o(),0,`\\${I}${Z}${G.currentChar()}`);break}Z+=ue}return`\\${I}${Z}`}function he(G){return G!=="{"&&G!=="}"&&G!==Co&&G!==Fr}function Se(G){b(G);let I="",D="";for(;I=$(G,he);)D+=I;return D}function Ie(G){let I="",D="";for(;I=z(G);)D+=I;return D}function j(G){const I=D=>{const Z=G.currentChar();return Z==="{"||Z==="@"||Z==="|"||Z==="("||Z===")"||!Z||Z===Co?D:(D+=Z,G.next(),I(D))};return I("")}function P(G){b(G);const I=_(G,"|");return b(G),I}function Y(G,I){let D=null;switch(G.currentChar()){case"{":return I.braceNest>=1&&l(nn.NOT_ALLOW_NEST_PLACEHOLDER,o(),0),G.next(),D=d(I,2,"{"),b(G),I.braceNest++,D;case"}":return I.braceNest>0&&I.currentType===2&&l(nn.EMPTY_PLACEHOLDER,o(),0),G.next(),D=d(I,3,"}"),I.braceNest--,I.braceNest>0&&b(G),I.inLinked&&I.braceNest===0&&(I.inLinked=!1),D;case"@":return I.braceNest>0&&l(nn.UNTERMINATED_CLOSING_BRACE,o(),0),D=ee(G,I)||f(I),I.braceNest=0,D;default:{let fe=!0,ue=!0,S=!0;if(V(G))return I.braceNest>0&&l(nn.UNTERMINATED_CLOSING_BRACE,o(),0),D=d(I,1,P(G)),I.braceNest=0,I.inLinked=!1,D;if(I.braceNest>0&&(I.currentType===4||I.currentType===5||I.currentType===6))return l(nn.UNTERMINATED_CLOSING_BRACE,o(),0),I.braceNest=0,X(G,I);if(fe=A(G,I))return D=d(I,4,_e(G)),b(G),D;if(ue=k(G,I))return D=d(I,5,ye(G)),b(G),D;if(S=R(G,I))return D=d(I,6,be(G)),b(G),D;if(!fe&&!ue&&!S)return D=d(I,12,Se(G)),l(nn.INVALID_TOKEN_IN_PLACEHOLDER,o(),0,D.value),b(G),D;break}}return D}function ee(G,I){const{currentType:D}=I;let Z=null;const fe=G.currentChar();switch((D===7||D===8||D===11||D===9)&&(fe===Fr||fe===Co)&&l(nn.INVALID_LINKED_FORMAT,o(),0),fe){case"@":return G.next(),Z=d(I,7,"@"),I.inLinked=!0,Z;case".":return b(G),G.next(),d(I,8,".");case":":return b(G),G.next(),d(I,9,":");default:return V(G)?(Z=d(I,1,P(G)),I.braceNest=0,I.inLinked=!1,Z):x(G,I)||F(G,I)?(b(G),ee(G,I)):L(G,I)?(b(G),d(I,11,Ie(G))):H(G,I)?(b(G),fe==="{"?Y(G,I)||Z:d(I,10,j(G))):(D===7&&l(nn.INVALID_LINKED_FORMAT,o(),0),I.braceNest=0,I.inLinked=!1,X(G,I))}}function X(G,I){let D={type:13};if(I.braceNest>0)return Y(G,I)||f(I);if(I.inLinked)return ee(G,I)||f(I);switch(G.currentChar()){case"{":return Y(G,I)||f(I);case"}":return l(nn.UNBALANCED_CLOSING_BRACE,o(),0),G.next(),d(I,3,"}");case"@":return ee(G,I)||f(I);default:{if(V(G))return D=d(I,1,P(G)),I.braceNest=0,I.inLinked=!1,D;if(ne(G))return d(I,0,Te(G));break}}return D}function C(){const{currentType:G,offset:I,startLoc:D,endLoc:Z}=u;return u.lastType=G,u.lastOffset=I,u.lastStartLoc=D,u.lastEndLoc=Z,u.offset=i(),u.startLoc=o(),r.currentChar()===os?d(u,13):X(r,u)}return{nextToken:C,currentOffset:i,currentPosition:o,context:c}}const Ik="parser",Lk=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function Ok(t,e,n){switch(t){case"\\\\":return"\\";case"\\'":return"'";default:{const r=parseInt(e||n,16);return r<=55295||r>=57344?String.fromCodePoint(r):"�"}}}function Mk(t={}){const e=t.location!==!1,{onError:n}=t;function r(y,w,A,k,...R){const x=y.currentPosition();if(x.offset+=k,x.column+=k,n){const L=e?wp(A,x):null,F=Hd(w,L,{domain:Ik,args:R});n(F)}}function i(y,w,A){const k={type:y};return e&&(k.start=w,k.end=w,k.loc={start:A,end:A}),k}function o(y,w,A,k){e&&(y.end=w,y.loc&&(y.loc.end=A))}function s(y,w){const A=y.context(),k=i(3,A.offset,A.startLoc);return k.value=w,o(k,y.currentOffset(),y.currentPosition()),k}function a(y,w){const A=y.context(),{lastOffset:k,lastStartLoc:R}=A,x=i(5,k,R);return x.index=parseInt(w,10),y.nextToken(),o(x,y.currentOffset(),y.currentPosition()),x}function u(y,w){const A=y.context(),{lastOffset:k,lastStartLoc:R}=A,x=i(4,k,R);return x.key=w,y.nextToken(),o(x,y.currentOffset(),y.currentPosition()),x}function c(y,w){const A=y.context(),{lastOffset:k,lastStartLoc:R}=A,x=i(9,k,R);return x.value=w.replace(Lk,Ok),y.nextToken(),o(x,y.currentOffset(),y.currentPosition()),x}function h(y){const w=y.nextToken(),A=y.context(),{lastOffset:k,lastStartLoc:R}=A,x=i(8,k,R);return w.type!==11?(r(y,nn.UNEXPECTED_EMPTY_LINKED_MODIFIER,A.lastStartLoc,0),x.value="",o(x,k,R),{nextConsumeToken:w,node:x}):(w.value==null&&r(y,nn.UNEXPECTED_LEXICAL_ANALYSIS,A.lastStartLoc,0,io(w)),x.value=w.value||"",o(x,y.currentOffset(),y.currentPosition()),{node:x})}function l(y,w){const A=y.context(),k=i(7,A.offset,A.startLoc);return k.value=w,o(k,y.currentOffset(),y.currentPosition()),k}function d(y){const w=y.context(),A=i(6,w.offset,w.startLoc);let k=y.nextToken();if(k.type===8){const R=h(y);A.modifier=R.node,k=R.nextConsumeToken||y.nextToken()}switch(k.type!==9&&r(y,nn.UNEXPECTED_LEXICAL_ANALYSIS,w.lastStartLoc,0,io(k)),k=y.nextToken(),k.type===2&&(k=y.nextToken()),k.type){case 10:k.value==null&&r(y,nn.UNEXPECTED_LEXICAL_ANALYSIS,w.lastStartLoc,0,io(k)),A.key=l(y,k.value||"");break;case 4:k.value==null&&r(y,nn.UNEXPECTED_LEXICAL_ANALYSIS,w.lastStartLoc,0,io(k)),A.key=u(y,k.value||"");break;case 5:k.value==null&&r(y,nn.UNEXPECTED_LEXICAL_ANALYSIS,w.lastStartLoc,0,io(k)),A.key=a(y,k.value||"");break;case 6:k.value==null&&r(y,nn.UNEXPECTED_LEXICAL_ANALYSIS,w.lastStartLoc,0,io(k)),A.key=c(y,k.value||"");break;default:{r(y,nn.UNEXPECTED_EMPTY_LINKED_KEY,w.lastStartLoc,0);const R=y.context(),x=i(7,R.offset,R.startLoc);return x.value="",o(x,R.offset,R.startLoc),A.key=x,o(A,R.offset,R.startLoc),{nextConsumeToken:k,node:A}}}return o(A,y.currentOffset(),y.currentPosition()),{node:A}}function f(y){const w=y.context(),A=w.currentType===1?y.currentOffset():w.offset,k=w.currentType===1?w.endLoc:w.startLoc,R=i(2,A,k);R.items=[];let x=null;do{const H=x||y.nextToken();switch(x=null,H.type){case 0:H.value==null&&r(y,nn.UNEXPECTED_LEXICAL_ANALYSIS,w.lastStartLoc,0,io(H)),R.items.push(s(y,H.value||""));break;case 5:H.value==null&&r(y,nn.UNEXPECTED_LEXICAL_ANALYSIS,w.lastStartLoc,0,io(H)),R.items.push(a(y,H.value||""));break;case 4:H.value==null&&r(y,nn.UNEXPECTED_LEXICAL_ANALYSIS,w.lastStartLoc,0,io(H)),R.items.push(u(y,H.value||""));break;case 6:H.value==null&&r(y,nn.UNEXPECTED_LEXICAL_ANALYSIS,w.lastStartLoc,0,io(H)),R.items.push(c(y,H.value||""));break;case 7:{const V=d(y);R.items.push(V.node),x=V.nextConsumeToken||null;break}}}while(w.currentType!==13&&w.currentType!==1);const L=w.currentType===1?w.lastOffset:y.currentOffset(),F=w.currentType===1?w.lastEndLoc:y.currentPosition();return o(R,L,F),R}function _(y,w,A,k){const R=y.context();let x=k.items.length===0;const L=i(1,w,A);L.cases=[],L.cases.push(k);do{const F=f(y);x||(x=F.items.length===0),L.cases.push(F)}while(R.currentType!==13);return x&&r(y,nn.MUST_HAVE_MESSAGES_IN_PLURAL,A,0),o(L,y.currentOffset(),y.currentPosition()),L}function g(y){const w=y.context(),{offset:A,startLoc:k}=w,R=f(y);return w.currentType===13?R:_(y,A,k,R)}function b(y){const w=Pk(y,sr({},t)),A=w.context(),k=i(0,A.offset,A.startLoc);return e&&k.loc&&(k.loc.source=y),k.body=g(w),t.onCacheKey&&(k.cacheKey=t.onCacheKey(y)),A.currentType!==13&&r(w,nn.UNEXPECTED_LEXICAL_ANALYSIS,A.lastStartLoc,0,y[A.offset]||""),o(k,w.currentOffset(),w.currentPosition()),k}return{parse:b}}function io(t){if(t.type===13)return"EOF";const e=(t.value||"").replace(/\r?\n/gu,"\\n");return e.length>10?e.slice(0,9)+"…":e}function Fk(t,e={}){const n={ast:t,helpers:new Set};return{context:()=>n,helper:o=>(n.helpers.add(o),o)}}function z_(t,e){for(let n=0;n<t.length;n++)Um(t[n],e)}function Um(t,e){switch(t.type){case 1:z_(t.cases,e),e.helper("plural");break;case 2:z_(t.items,e);break;case 6:{Um(t.key,e),e.helper("linked"),e.helper("type");break}case 5:e.helper("interpolate"),e.helper("list");break;case 4:e.helper("interpolate"),e.helper("named");break}}function Dk(t,e={}){const n=Fk(t);n.helper("normalize"),t.body&&Um(t.body,n);const r=n.context();t.helpers=Array.from(r.helpers)}function $k(t){const e=t.body;return e.type===2?q_(e):e.cases.forEach(n=>q_(n)),t}function q_(t){if(t.items.length===1){const e=t.items[0];(e.type===3||e.type===9)&&(t.static=e.value,delete e.value)}else{const e=[];for(let n=0;n<t.items.length;n++){const r=t.items[n];if(!(r.type===3||r.type===9)||r.value==null)break;e.push(r.value)}if(e.length===t.items.length){t.static=Vm(e);for(let n=0;n<t.items.length;n++){const r=t.items[n];(r.type===3||r.type===9)&&delete r.value}}}}function Wa(t){switch(t.t=t.type,t.type){case 0:{const e=t;Wa(e.body),e.b=e.body,delete e.body;break}case 1:{const e=t,n=e.cases;for(let r=0;r<n.length;r++)Wa(n[r]);e.c=n,delete e.cases;break}case 2:{const e=t,n=e.items;for(let r=0;r<n.length;r++)Wa(n[r]);e.i=n,delete e.items,e.static&&(e.s=e.static,delete e.static);break}case 3:case 9:case 8:case 7:{const e=t;e.value&&(e.v=e.value,delete e.value);break}case 6:{const e=t;Wa(e.key),e.k=e.key,delete e.key,e.modifier&&(Wa(e.modifier),e.m=e.modifier,delete e.modifier);break}case 5:{const e=t;e.i=e.index,delete e.index;break}case 4:{const e=t;e.k=e.key,delete e.key;break}}delete t.type}function Hk(t,e){const{filename:n,breakLineCode:r,needIndent:i}=e,o=e.location!==!1,s={filename:n,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:r,needIndent:i,indentLevel:0};o&&t.loc&&(s.source=t.loc.source);const a=()=>s;function u(g,b){s.code+=g}function c(g,b=!0){const y=b?r:"";u(i?y+" ".repeat(g):y)}function h(g=!0){const b=++s.indentLevel;g&&c(b)}function l(g=!0){const b=--s.indentLevel;g&&c(b)}function d(){c(s.indentLevel)}return{context:a,push:u,indent:h,deindent:l,newline:d,helper:g=>`_${g}`,needIndent:()=>s.needIndent}}function Nk(t,e){const{helper:n}=t;t.push(`${n("linked")}(`),ml(t,e.key),e.modifier?(t.push(", "),ml(t,e.modifier),t.push(", _type")):t.push(", undefined, _type"),t.push(")")}function Bk(t,e){const{helper:n,needIndent:r}=t;t.push(`${n("normalize")}([`),t.indent(r());const i=e.items.length;for(let o=0;o<i&&(ml(t,e.items[o]),o!==i-1);o++)t.push(", ");t.deindent(r()),t.push("])")}function Vk(t,e){const{helper:n,needIndent:r}=t;if(e.cases.length>1){t.push(`${n("plural")}([`),t.indent(r());const i=e.cases.length;for(let o=0;o<i&&(ml(t,e.cases[o]),o!==i-1);o++)t.push(", ");t.deindent(r()),t.push("])")}}function Uk(t,e){e.body?ml(t,e.body):t.push("null")}function ml(t,e){const{helper:n}=t;switch(e.type){case 0:Uk(t,e);break;case 1:Vk(t,e);break;case 2:Bk(t,e);break;case 6:Nk(t,e);break;case 8:t.push(JSON.stringify(e.value),e);break;case 7:t.push(JSON.stringify(e.value),e);break;case 5:t.push(`${n("interpolate")}(${n("list")}(${e.index}))`,e);break;case 4:t.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(e.key)}))`,e);break;case 9:t.push(JSON.stringify(e.value),e);break;case 3:t.push(JSON.stringify(e.value),e);break}}const jk=(t,e={})=>{const n=et(e.mode)?e.mode:"normal",r=et(e.filename)?e.filename:"message.intl";e.sourceMap;const i=e.breakLineCode!=null?e.breakLineCode:n==="arrow"?";":`
`,o=e.needIndent?e.needIndent:n!=="arrow",s=t.helpers||[],a=Hk(t,{filename:r,breakLineCode:i,needIndent:o});a.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),a.indent(o),s.length>0&&(a.push(`const { ${Vm(s.map(h=>`${h}: _${h}`),", ")} } = ctx`),a.newline()),a.push("return "),ml(a,t),a.deindent(o),a.push("}"),delete t.helpers;const{code:u,map:c}=a.context();return{ast:t,code:u,map:c?c.toJSON():void 0}};function Wk(t,e={}){const n=sr({},e),r=!!n.jit,i=!!n.minify,o=n.optimize==null?!0:n.optimize,a=Mk(n).parse(t);return r?(o&&$k(a),i&&Wa(a),{ast:a,code:""}):(Dk(a,n),jk(a,n))}/*!
* core-base v10.0.8
* (c) 2025 kazuya kawaguchi
* Released under the MIT License.
*/function zk(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Nm().__INTLIFY_PROD_DEVTOOLS__=!1)}function vo(t){return Yt(t)&&jm(t)===0&&(ji(t,"b")||ji(t,"body"))}const k1=["b","body"];function qk(t){return Ds(t,k1)}const A1=["c","cases"];function Gk(t){return Ds(t,A1,[])}const R1=["s","static"];function Yk(t){return Ds(t,R1)}const C1=["i","items"];function Kk(t){return Ds(t,C1,[])}const x1=["t","type"];function jm(t){return Ds(t,x1)}const P1=["v","value"];function ef(t,e){const n=Ds(t,P1);if(n!=null)return n;throw Wu(e)}const I1=["m","modifier"];function Xk(t){return Ds(t,I1)}const L1=["k","key"];function Qk(t){const e=Ds(t,L1);if(e)return e;throw Wu(6)}function Ds(t,e,n){for(let r=0;r<e.length;r++){const i=e[r];if(ji(t,i)&&t[i]!=null)return t[i]}return n}const O1=[...k1,...A1,...R1,...C1,...L1,...I1,...P1,...x1];function Wu(t){return new Error(`unhandled node type: ${t}`)}function xh(t){return n=>Jk(n,t)}function Jk(t,e){const n=qk(e);if(n==null)throw Wu(0);if(jm(n)===1){const o=Gk(n);return t.plural(o.reduce((s,a)=>[...s,G_(t,a)],[]))}else return G_(t,n)}function G_(t,e){const n=Yk(e);if(n!=null)return t.type==="text"?n:t.normalize([n]);{const r=Kk(e).reduce((i,o)=>[...i,Sp(t,o)],[]);return t.normalize(r)}}function Sp(t,e){const n=jm(e);switch(n){case 3:return ef(e,n);case 9:return ef(e,n);case 4:{const r=e;if(ji(r,"k")&&r.k)return t.interpolate(t.named(r.k));if(ji(r,"key")&&r.key)return t.interpolate(t.named(r.key));throw Wu(n)}case 5:{const r=e;if(ji(r,"i")&&zn(r.i))return t.interpolate(t.list(r.i));if(ji(r,"index")&&zn(r.index))return t.interpolate(t.list(r.index));throw Wu(n)}case 6:{const r=e,i=Xk(r),o=Qk(r);return t.linked(Sp(t,o),i?Sp(t,i):void 0,t.type)}case 7:return ef(e,n);case 8:return ef(e,n);default:throw new Error(`unhandled node on format message part: ${n}`)}}const Zk=t=>t;let tf=on();function eA(t,e={}){let n=!1;const r=e.onError||Tk;return e.onError=i=>{n=!0,r(i)},{...Wk(t,e),detectError:n}}function tA(t,e){if(et(t)){kn(e.warnHtmlMessage)&&e.warnHtmlMessage;const r=(e.onCacheKey||Zk)(t),i=tf[r];if(i)return i;const{ast:o,detectError:s}=eA(t,{...e,location:!1,jit:!0}),a=xh(o);return s?a:tf[r]=a}else{const n=t.cacheKey;if(n){const r=tf[n];return r||(tf[n]=xh(t))}else return xh(t)}}let zu=null;function nA(t){zu=t}function rA(t,e,n){zu&&zu.emit("i18n:init",{timestamp:Date.now(),i18n:t,version:e,meta:n})}const iA=oA("function:translate");function oA(t){return e=>zu&&zu.emit(t,e)}const Vo={INVALID_ARGUMENT:Sk,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23},sA=24;function Uo(t){return Hd(t,null,void 0)}function Wm(t,e){return e.locale!=null?Y_(e.locale):Y_(t.locale)}let Ph;function Y_(t){if(et(t))return t;if(Tn(t)){if(t.resolvedOnce&&Ph!=null)return Ph;if(t.constructor.name==="Function"){const e=t();if(yk(e))throw Uo(Vo.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Ph=e}else throw Uo(Vo.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Uo(Vo.NOT_SUPPORT_LOCALE_TYPE)}function aA(t,e,n){return[...new Set([n,...Zn(e)?e:Yt(e)?Object.keys(e):et(e)?[e]:[n]])]}function M1(t,e,n){const r=et(n)?n:nd,i=t;i.__localeChainCache||(i.__localeChainCache=new Map);let o=i.__localeChainCache.get(r);if(!o){o=[];let s=[n];for(;Zn(s);)s=K_(o,s,e);const a=Zn(e)||!Bt(e)?e:e.default?e.default:null;s=et(a)?[a]:a,Zn(s)&&K_(o,s,!1),i.__localeChainCache.set(r,o)}return o}function K_(t,e,n){let r=!0;for(let i=0;i<e.length&&kn(r);i++){const o=e[i];et(o)&&(r=lA(t,e[i],n))}return r}function lA(t,e,n){let r;const i=e.split("-");do{const o=i.join("-");r=uA(t,o,n),i.splice(-1,1)}while(i.length&&r===!0);return r}function uA(t,e,n){let r=!1;if(!t.includes(e)&&(r=!0,e)){r=e[e.length-1]!=="!";const i=e.replace(/!/g,"");t.push(i),(Zn(n)||Bt(n))&&n[i]&&(r=n[i])}return r}const $s=[];$s[0]={w:[0],i:[3,0],"[":[4],o:[7]};$s[1]={w:[1],".":[2],"[":[4],o:[7]};$s[2]={w:[2],i:[3,0],0:[3,0]};$s[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};$s[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};$s[5]={"'":[4,0],o:8,l:[5,0]};$s[6]={'"':[4,0],o:8,l:[6,0]};const cA=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function fA(t){return cA.test(t)}function dA(t){const e=t.charCodeAt(0),n=t.charCodeAt(t.length-1);return e===n&&(e===34||e===39)?t.slice(1,-1):t}function hA(t){if(t==null)return"o";switch(t.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return t;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function pA(t){const e=t.trim();return t.charAt(0)==="0"&&isNaN(parseInt(t))?!1:fA(e)?dA(e):"*"+e}function mA(t){const e=[];let n=-1,r=0,i=0,o,s,a,u,c,h,l;const d=[];d[0]=()=>{s===void 0?s=a:s+=a},d[1]=()=>{s!==void 0&&(e.push(s),s=void 0)},d[2]=()=>{d[0](),i++},d[3]=()=>{if(i>0)i--,r=4,d[0]();else{if(i=0,s===void 0||(s=pA(s),s===!1))return!1;d[1]()}};function f(){const _=t[n+1];if(r===5&&_==="'"||r===6&&_==='"')return n++,a="\\"+_,d[0](),!0}for(;r!==null;)if(n++,o=t[n],!(o==="\\"&&f())){if(u=hA(o),l=$s[r],c=l[u]||l.l||8,c===8||(r=c[0],c[1]!==void 0&&(h=d[c[1]],h&&(a=o,h()===!1))))return;if(r===7)return e}}const X_=new Map;function gA(t,e){return Yt(t)?t[e]:null}function _A(t,e){if(!Yt(t))return null;let n=X_.get(e);if(n||(n=mA(e),n&&X_.set(e,n)),!n)return null;const r=n.length;let i=t,o=0;for(;o<r;){const s=n[o];if(O1.includes(s)&&vo(i))return null;const a=i[s];if(a===void 0||Tn(i))return null;i=a,o++}return i}const vA="10.0.8",Nd=-1,nd="en-US",Q_="",J_=t=>`${t.charAt(0).toLocaleUpperCase()}${t.substr(1)}`;function yA(){return{upper:(t,e)=>e==="text"&&et(t)?t.toUpperCase():e==="vnode"&&Yt(t)&&"__v_isVNode"in t?t.children.toUpperCase():t,lower:(t,e)=>e==="text"&&et(t)?t.toLowerCase():e==="vnode"&&Yt(t)&&"__v_isVNode"in t?t.children.toLowerCase():t,capitalize:(t,e)=>e==="text"&&et(t)?J_(t):e==="vnode"&&Yt(t)&&"__v_isVNode"in t?J_(t.children):t}}let F1;function bA(t){F1=t}let D1;function wA(t){D1=t}let $1;function SA(t){$1=t}let H1=null;const TA=t=>{H1=t},EA=()=>H1;let N1=null;const Z_=t=>{N1=t},kA=()=>N1;let ev=0;function AA(t={}){const e=Tn(t.onWarn)?t.onWarn:dk,n=et(t.version)?t.version:vA,r=et(t.locale)||Tn(t.locale)?t.locale:nd,i=Tn(r)?nd:r,o=Zn(t.fallbackLocale)||Bt(t.fallbackLocale)||et(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:i,s=Bt(t.messages)?t.messages:Ih(i),a=Bt(t.datetimeFormats)?t.datetimeFormats:Ih(i),u=Bt(t.numberFormats)?t.numberFormats:Ih(i),c=sr(on(),t.modifiers,yA()),h=t.pluralRules||on(),l=Tn(t.missing)?t.missing:null,d=kn(t.missingWarn)||td(t.missingWarn)?t.missingWarn:!0,f=kn(t.fallbackWarn)||td(t.fallbackWarn)?t.fallbackWarn:!0,_=!!t.fallbackFormat,g=!!t.unresolving,b=Tn(t.postTranslation)?t.postTranslation:null,y=Bt(t.processor)?t.processor:null,w=kn(t.warnHtmlMessage)?t.warnHtmlMessage:!0,A=!!t.escapeParameter,k=Tn(t.messageCompiler)?t.messageCompiler:F1,R=Tn(t.messageResolver)?t.messageResolver:D1||gA,x=Tn(t.localeFallbacker)?t.localeFallbacker:$1||aA,L=Yt(t.fallbackContext)?t.fallbackContext:void 0,F=t,H=Yt(F.__datetimeFormatters)?F.__datetimeFormatters:new Map,V=Yt(F.__numberFormatters)?F.__numberFormatters:new Map,ne=Yt(F.__meta)?F.__meta:{};ev++;const $={version:n,cid:ev,locale:r,fallbackLocale:o,messages:s,modifiers:c,pluralRules:h,missing:l,missingWarn:d,fallbackWarn:f,fallbackFormat:_,unresolving:g,postTranslation:b,processor:y,warnHtmlMessage:w,escapeParameter:A,messageCompiler:k,messageResolver:R,localeFallbacker:x,fallbackContext:L,onWarn:e,__meta:ne};return $.datetimeFormats=a,$.numberFormats=u,$.__datetimeFormatters=H,$.__numberFormatters=V,__INTLIFY_PROD_DEVTOOLS__&&rA($,n,ne),$}const Ih=t=>({[t]:on()});function zm(t,e,n,r,i){const{missing:o,onWarn:s}=t;if(o!==null){const a=o(t,n,e,i);return et(a)?a:e}else return e}function Xl(t,e,n){const r=t;r.__localeChainCache=new Map,t.localeFallbacker(t,n,e)}function RA(t,e){return t===e?!1:t.split("-")[0]===e.split("-")[0]}function CA(t,e){const n=e.indexOf(t);if(n===-1)return!1;for(let r=n+1;r<e.length;r++)if(RA(t,e[r]))return!0;return!1}function tv(t,...e){const{datetimeFormats:n,unresolving:r,fallbackLocale:i,onWarn:o,localeFallbacker:s}=t,{__datetimeFormatters:a}=t,[u,c,h,l]=Tp(...e),d=kn(h.missingWarn)?h.missingWarn:t.missingWarn;kn(h.fallbackWarn)?h.fallbackWarn:t.fallbackWarn;const f=!!h.part,_=Wm(t,h),g=s(t,i,_);if(!et(u)||u==="")return new Intl.DateTimeFormat(_,l).format(c);let b={},y,w=null;const A="datetime format";for(let x=0;x<g.length&&(y=g[x],b=n[y]||{},w=b[u],!Bt(w));x++)zm(t,u,y,d,A);if(!Bt(w)||!et(y))return r?Nd:u;let k=`${y}__${u}`;$d(l)||(k=`${k}__${JSON.stringify(l)}`);let R=a.get(k);return R||(R=new Intl.DateTimeFormat(y,sr({},w,l)),a.set(k,R)),f?R.formatToParts(c):R.format(c)}const B1=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function Tp(...t){const[e,n,r,i]=t,o=on();let s=on(),a;if(et(e)){const u=e.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!u)throw Uo(Vo.INVALID_ISO_DATE_ARGUMENT);const c=u[3]?u[3].trim().startsWith("T")?`${u[1].trim()}${u[3].trim()}`:`${u[1].trim()}T${u[3].trim()}`:u[1].trim();a=new Date(c);try{a.toISOString()}catch{throw Uo(Vo.INVALID_ISO_DATE_ARGUMENT)}}else if(mk(e)){if(isNaN(e.getTime()))throw Uo(Vo.INVALID_DATE_ARGUMENT);a=e}else if(zn(e))a=e;else throw Uo(Vo.INVALID_ARGUMENT);return et(n)?o.key=n:Bt(n)&&Object.keys(n).forEach(u=>{B1.includes(u)?s[u]=n[u]:o[u]=n[u]}),et(r)?o.locale=r:Bt(r)&&(s=r),Bt(i)&&(s=i),[o.key||"",a,o,s]}function nv(t,e,n){const r=t;for(const i in n){const o=`${e}__${i}`;r.__datetimeFormatters.has(o)&&r.__datetimeFormatters.delete(o)}}function rv(t,...e){const{numberFormats:n,unresolving:r,fallbackLocale:i,onWarn:o,localeFallbacker:s}=t,{__numberFormatters:a}=t,[u,c,h,l]=Ep(...e),d=kn(h.missingWarn)?h.missingWarn:t.missingWarn;kn(h.fallbackWarn)?h.fallbackWarn:t.fallbackWarn;const f=!!h.part,_=Wm(t,h),g=s(t,i,_);if(!et(u)||u==="")return new Intl.NumberFormat(_,l).format(c);let b={},y,w=null;const A="number format";for(let x=0;x<g.length&&(y=g[x],b=n[y]||{},w=b[u],!Bt(w));x++)zm(t,u,y,d,A);if(!Bt(w)||!et(y))return r?Nd:u;let k=`${y}__${u}`;$d(l)||(k=`${k}__${JSON.stringify(l)}`);let R=a.get(k);return R||(R=new Intl.NumberFormat(y,sr({},w,l)),a.set(k,R)),f?R.formatToParts(c):R.format(c)}const V1=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function Ep(...t){const[e,n,r,i]=t,o=on();let s=on();if(!zn(e))throw Uo(Vo.INVALID_ARGUMENT);const a=e;return et(n)?o.key=n:Bt(n)&&Object.keys(n).forEach(u=>{V1.includes(u)?s[u]=n[u]:o[u]=n[u]}),et(r)?o.locale=r:Bt(r)&&(s=r),Bt(i)&&(s=i),[o.key||"",a,o,s]}function iv(t,e,n){const r=t;for(const i in n){const o=`${e}__${i}`;r.__numberFormatters.has(o)&&r.__numberFormatters.delete(o)}}const xA=t=>t,PA=t=>"",IA="text",LA=t=>t.length===0?"":Vm(t),OA=bk;function ov(t,e){return t=Math.abs(t),e===2?t?t>1?1:0:1:t?Math.min(t,2):0}function MA(t){const e=zn(t.pluralIndex)?t.pluralIndex:-1;return t.named&&(zn(t.named.count)||zn(t.named.n))?zn(t.named.count)?t.named.count:zn(t.named.n)?t.named.n:e:e}function FA(t,e){e.count||(e.count=t),e.n||(e.n=t)}function DA(t={}){const e=t.locale,n=MA(t),r=Yt(t.pluralRules)&&et(e)&&Tn(t.pluralRules[e])?t.pluralRules[e]:ov,i=Yt(t.pluralRules)&&et(e)&&Tn(t.pluralRules[e])?ov:void 0,o=y=>y[r(n,y.length,i)],s=t.list||[],a=y=>s[y],u=t.named||on();zn(t.pluralIndex)&&FA(n,u);const c=y=>u[y];function h(y,w){const A=Tn(t.messages)?t.messages(y,!!w):Yt(t.messages)?t.messages[y]:!1;return A||(t.parent?t.parent.message(y):PA)}const l=y=>t.modifiers?t.modifiers[y]:xA,d=Bt(t.processor)&&Tn(t.processor.normalize)?t.processor.normalize:LA,f=Bt(t.processor)&&Tn(t.processor.interpolate)?t.processor.interpolate:OA,_=Bt(t.processor)&&et(t.processor.type)?t.processor.type:IA,b={list:a,named:c,plural:o,linked:(y,...w)=>{const[A,k]=w;let R="text",x="";w.length===1?Yt(A)?(x=A.modifier||x,R=A.type||R):et(A)&&(x=A||x):w.length===2&&(et(A)&&(x=A||x),et(k)&&(R=k||R));const L=h(y,!0)(b),F=R==="vnode"&&Zn(L)&&x?L[0]:L;return x?l(x)(F,R):F},message:h,type:_,interpolate:f,normalize:d,values:sr(on(),s,u)};return b}const sv=()=>"",ki=t=>Tn(t);function av(t,...e){const{fallbackFormat:n,postTranslation:r,unresolving:i,messageCompiler:o,fallbackLocale:s,messages:a}=t,[u,c]=kp(...e),h=kn(c.missingWarn)?c.missingWarn:t.missingWarn,l=kn(c.fallbackWarn)?c.fallbackWarn:t.fallbackWarn,d=kn(c.escapeParameter)?c.escapeParameter:t.escapeParameter,f=!!c.resolvedMessage,_=et(c.default)||kn(c.default)?kn(c.default)?o?u:()=>u:c.default:n?o?u:()=>u:null,g=n||_!=null&&(et(_)||Tn(_)),b=Wm(t,c);d&&$A(c);let[y,w,A]=f?[u,b,a[b]||on()]:U1(t,u,b,s,l,h),k=y,R=u;if(!f&&!(et(k)||vo(k)||ki(k))&&g&&(k=_,R=k),!f&&(!(et(k)||vo(k)||ki(k))||!et(w)))return i?Nd:u;let x=!1;const L=()=>{x=!0},F=ki(k)?k:j1(t,u,w,k,R,L);if(x)return k;const H=BA(t,w,A,c),V=DA(H),ne=HA(t,F,V);let $=r?r(ne,u):ne;if(d&&et($)&&($=_k($)),__INTLIFY_PROD_DEVTOOLS__){const M={timestamp:Date.now(),key:et(u)?u:ki(k)?k.key:"",locale:w||(ki(k)?k.locale:""),format:et(k)?k:ki(k)?k.source:"",message:$};M.meta=sr({},t.__meta,EA()||{}),iA(M)}return $}function $A(t){Zn(t.list)?t.list=t.list.map(e=>et(e)?U_(e):e):Yt(t.named)&&Object.keys(t.named).forEach(e=>{et(t.named[e])&&(t.named[e]=U_(t.named[e]))})}function U1(t,e,n,r,i,o){const{messages:s,onWarn:a,messageResolver:u,localeFallbacker:c}=t,h=c(t,r,n);let l=on(),d,f=null;const _="translate";for(let g=0;g<h.length&&(d=h[g],l=s[d]||on(),(f=u(l,e))===null&&(f=l[e]),!(et(f)||vo(f)||ki(f)));g++)if(!CA(d,h)){const b=zm(t,e,d,o,_);b!==e&&(f=b)}return[f,d,l]}function j1(t,e,n,r,i,o){const{messageCompiler:s,warnHtmlMessage:a}=t;if(ki(r)){const c=r;return c.locale=c.locale||n,c.key=c.key||e,c}if(s==null){const c=()=>r;return c.locale=n,c.key=e,c}const u=s(r,NA(t,n,i,r,a,o));return u.locale=n,u.key=e,u.source=r,u}function HA(t,e,n){return e(n)}function kp(...t){const[e,n,r]=t,i=on();if(!et(e)&&!zn(e)&&!ki(e)&&!vo(e))throw Uo(Vo.INVALID_ARGUMENT);const o=zn(e)?String(e):(ki(e),e);return zn(n)?i.plural=n:et(n)?i.default=n:Bt(n)&&!$d(n)?i.named=n:Zn(n)&&(i.list=n),zn(r)?i.plural=r:et(r)?i.default=r:Bt(r)&&sr(i,r),[o,i]}function NA(t,e,n,r,i,o){return{locale:e,key:n,warnHtmlMessage:i,onError:s=>{throw o&&o(s),s},onCacheKey:s=>hk(e,n,s)}}function BA(t,e,n,r){const{modifiers:i,pluralRules:o,messageResolver:s,fallbackLocale:a,fallbackWarn:u,missingWarn:c,fallbackContext:h}=t,d={locale:e,modifiers:i,pluralRules:o,messages:(f,_)=>{let g=s(n,f);if(g==null&&(h||_)){const[,,b]=U1(h||t,f,e,a,u,c);g=s(b,f)}if(et(g)||vo(g)){let b=!1;const w=j1(t,f,e,g,f,()=>{b=!0});return b?sv:w}else return ki(g)?g:sv}};return t.processor&&(d.processor=t.processor),r.list&&(d.list=r.list),r.named&&(d.named=r.named),zn(r.plural)&&(d.pluralIndex=r.plural),d}zk();/**
* @vue/shared v3.5.17
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**//*! #__NO_SIDE_EFFECTS__ */function qm(t){const e=Object.create(null);for(const n of t.split(","))e[n]=1;return n=>n in e}const dn={},tl=[],yo=()=>{},VA=()=>!1,Bd=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),Gm=t=>t.startsWith("onUpdate:"),ar=Object.assign,Ym=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},UA=Object.prototype.hasOwnProperty,tn=(t,e)=>UA.call(t,e),at=Array.isArray,nl=t=>_c(t)==="[object Map]",Vd=t=>_c(t)==="[object Set]",lv=t=>_c(t)==="[object Date]",ft=t=>typeof t=="function",Rn=t=>typeof t=="string",qi=t=>typeof t=="symbol",sn=t=>t!==null&&typeof t=="object",W1=t=>(sn(t)||ft(t))&&ft(t.then)&&ft(t.catch),z1=Object.prototype.toString,_c=t=>z1.call(t),jA=t=>_c(t).slice(8,-1),q1=t=>_c(t)==="[object Object]",Km=t=>Rn(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,bu=qm(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Ud=t=>{const e=Object.create(null);return n=>e[n]||(e[n]=t(n))},WA=/-(\w)/g,Fi=Ud(t=>t.replace(WA,(e,n)=>n?n.toUpperCase():"")),zA=/\B([A-Z])/g,Ra=Ud(t=>t.replace(zA,"-$1").toLowerCase()),jd=Ud(t=>t.charAt(0).toUpperCase()+t.slice(1)),Lh=Ud(t=>t?`on${jd(t)}`:""),ks=(t,e)=>!Object.is(t,e),If=(t,...e)=>{for(let n=0;n<t.length;n++)t[n](...e)},Ap=(t,e,n,r=!1)=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,writable:r,value:n})},rd=t=>{const e=parseFloat(t);return isNaN(e)?t:e},qA=t=>{const e=Rn(t)?Number(t):NaN;return isNaN(e)?t:e};let uv;const Wd=()=>uv||(uv=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Xm(t){if(at(t)){const e={};for(let n=0;n<t.length;n++){const r=t[n],i=Rn(r)?XA(r):Xm(r);if(i)for(const o in i)e[o]=i[o]}return e}else if(Rn(t)||sn(t))return t}const GA=/;(?![^(]*\))/g,YA=/:([^]+)/,KA=/\/\*[^]*?\*\//g;function XA(t){const e={};return t.replace(KA,"").split(GA).forEach(n=>{if(n){const r=n.split(YA);r.length>1&&(e[r[0].trim()]=r[1].trim())}}),e}function st(t){let e="";if(Rn(t))e=t;else if(at(t))for(let n=0;n<t.length;n++){const r=st(t[n]);r&&(e+=r+" ")}else if(sn(t))for(const n in t)t[n]&&(e+=n+" ");return e.trim()}const QA="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",JA=qm(QA);function G1(t){return!!t||t===""}function ZA(t,e){if(t.length!==e.length)return!1;let n=!0;for(let r=0;n&&r<t.length;r++)n=zd(t[r],e[r]);return n}function zd(t,e){if(t===e)return!0;let n=lv(t),r=lv(e);if(n||r)return n&&r?t.getTime()===e.getTime():!1;if(n=qi(t),r=qi(e),n||r)return t===e;if(n=at(t),r=at(e),n||r)return n&&r?ZA(t,e):!1;if(n=sn(t),r=sn(e),n||r){if(!n||!r)return!1;const i=Object.keys(t).length,o=Object.keys(e).length;if(i!==o)return!1;for(const s in t){const a=t.hasOwnProperty(s),u=e.hasOwnProperty(s);if(a&&!u||!a&&u||!zd(t[s],e[s]))return!1}}return String(t)===String(e)}function eR(t,e){return t.findIndex(n=>zd(n,e))}const Y1=t=>!!(t&&t.__v_isRef===!0),We=t=>Rn(t)?t:t==null?"":at(t)||sn(t)&&(t.toString===z1||!ft(t.toString))?Y1(t)?We(t.value):JSON.stringify(t,K1,2):String(t),K1=(t,e)=>Y1(e)?K1(t,e.value):nl(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((n,[r,i],o)=>(n[Oh(r,o)+" =>"]=i,n),{})}:Vd(e)?{[`Set(${e.size})`]:[...e.values()].map(n=>Oh(n))}:qi(e)?Oh(e):sn(e)&&!at(e)&&!q1(e)?String(e):e,Oh=(t,e="")=>{var n;return qi(t)?`Symbol(${(n=t.description)!=null?n:e})`:t};/**
* @vue/reactivity v3.5.17
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let wr;class X1{constructor(e=!1){this.detached=e,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=wr,!e&&wr&&(this.index=(wr.scopes||(wr.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let e,n;if(this.scopes)for(e=0,n=this.scopes.length;e<n;e++)this.scopes[e].pause();for(e=0,n=this.effects.length;e<n;e++)this.effects[e].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let e,n;if(this.scopes)for(e=0,n=this.scopes.length;e<n;e++)this.scopes[e].resume();for(e=0,n=this.effects.length;e<n;e++)this.effects[e].resume()}}run(e){if(this._active){const n=wr;try{return wr=this,e()}finally{wr=n}}}on(){++this._on===1&&(this.prevScope=wr,wr=this)}off(){this._on>0&&--this._on===0&&(wr=this.prevScope,this.prevScope=void 0)}stop(e){if(this._active){this._active=!1;let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(this.effects.length=0,n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!e){const i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0}}}function Qm(t){return new X1(t)}function Q1(){return wr}function tR(t,e=!1){wr&&wr.cleanups.push(t)}let mn;const Mh=new WeakSet;class J1{constructor(e){this.fn=e,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,wr&&wr.active&&wr.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Mh.has(this)&&(Mh.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||eb(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,cv(this),tb(this);const e=mn,n=Wi;mn=this,Wi=!0;try{return this.fn()}finally{nb(this),mn=e,Wi=n,this.flags&=-3}}stop(){if(this.flags&1){for(let e=this.deps;e;e=e.nextDep)eg(e);this.deps=this.depsTail=void 0,cv(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Mh.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Rp(this)&&this.run()}get dirty(){return Rp(this)}}let Z1=0,wu,Su;function eb(t,e=!1){if(t.flags|=8,e){t.next=Su,Su=t;return}t.next=wu,wu=t}function Jm(){Z1++}function Zm(){if(--Z1>0)return;if(Su){let e=Su;for(Su=void 0;e;){const n=e.next;e.next=void 0,e.flags&=-9,e=n}}let t;for(;wu;){let e=wu;for(wu=void 0;e;){const n=e.next;if(e.next=void 0,e.flags&=-9,e.flags&1)try{e.trigger()}catch(r){t||(t=r)}e=n}}if(t)throw t}function tb(t){for(let e=t.deps;e;e=e.nextDep)e.version=-1,e.prevActiveLink=e.dep.activeLink,e.dep.activeLink=e}function nb(t){let e,n=t.depsTail,r=n;for(;r;){const i=r.prevDep;r.version===-1?(r===n&&(n=i),eg(r),nR(r)):e=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=i}t.deps=e,t.depsTail=n}function Rp(t){for(let e=t.deps;e;e=e.nextDep)if(e.dep.version!==e.version||e.dep.computed&&(rb(e.dep.computed)||e.dep.version!==e.version))return!0;return!!t._dirty}function rb(t){if(t.flags&4&&!(t.flags&16)||(t.flags&=-17,t.globalVersion===qu)||(t.globalVersion=qu,!t.isSSR&&t.flags&128&&(!t.deps&&!t._dirty||!Rp(t))))return;t.flags|=2;const e=t.dep,n=mn,r=Wi;mn=t,Wi=!0;try{tb(t);const i=t.fn(t._value);(e.version===0||ks(i,t._value))&&(t.flags|=128,t._value=i,e.version++)}catch(i){throw e.version++,i}finally{mn=n,Wi=r,nb(t),t.flags&=-3}}function eg(t,e=!1){const{dep:n,prevSub:r,nextSub:i}=t;if(r&&(r.nextSub=i,t.prevSub=void 0),i&&(i.prevSub=r,t.nextSub=void 0),n.subs===t&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let o=n.computed.deps;o;o=o.nextDep)eg(o,!0)}!e&&!--n.sc&&n.map&&n.map.delete(n.key)}function nR(t){const{prevDep:e,nextDep:n}=t;e&&(e.nextDep=n,t.prevDep=void 0),n&&(n.prevDep=e,t.nextDep=void 0)}let Wi=!0;const ib=[];function Ko(){ib.push(Wi),Wi=!1}function Xo(){const t=ib.pop();Wi=t===void 0?!0:t}function cv(t){const{cleanup:e}=t;if(t.cleanup=void 0,e){const n=mn;mn=void 0;try{e()}finally{mn=n}}}let qu=0;class rR{constructor(e,n){this.sub=e,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class tg{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(e){if(!mn||!Wi||mn===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==mn)n=this.activeLink=new rR(mn,this),mn.deps?(n.prevDep=mn.depsTail,mn.depsTail.nextDep=n,mn.depsTail=n):mn.deps=mn.depsTail=n,ob(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=mn.depsTail,n.nextDep=void 0,mn.depsTail.nextDep=n,mn.depsTail=n,mn.deps===n&&(mn.deps=r)}return n}trigger(e){this.version++,qu++,this.notify(e)}notify(e){Jm();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Zm()}}}function ob(t){if(t.dep.sc++,t.sub.flags&4){const e=t.dep.computed;if(e&&!t.dep.subs){e.flags|=20;for(let r=e.deps;r;r=r.nextDep)ob(r)}const n=t.dep.subs;n!==t&&(t.prevSub=n,n&&(n.nextSub=t)),t.dep.subs=t}}const id=new WeakMap,sa=Symbol(""),Cp=Symbol(""),Gu=Symbol("");function Tr(t,e,n){if(Wi&&mn){let r=id.get(t);r||id.set(t,r=new Map);let i=r.get(n);i||(r.set(n,i=new tg),i.map=r,i.key=n),i.track()}}function Ho(t,e,n,r,i,o){const s=id.get(t);if(!s){qu++;return}const a=u=>{u&&u.trigger()};if(Jm(),e==="clear")s.forEach(a);else{const u=at(t),c=u&&Km(n);if(u&&n==="length"){const h=Number(r);s.forEach((l,d)=>{(d==="length"||d===Gu||!qi(d)&&d>=h)&&a(l)})}else switch((n!==void 0||s.has(void 0))&&a(s.get(n)),c&&a(s.get(Gu)),e){case"add":u?c&&a(s.get("length")):(a(s.get(sa)),nl(t)&&a(s.get(Cp)));break;case"delete":u||(a(s.get(sa)),nl(t)&&a(s.get(Cp)));break;case"set":nl(t)&&a(s.get(sa));break}}Zm()}function iR(t,e){const n=id.get(t);return n&&n.get(e)}function $a(t){const e=Nt(t);return e===t?e:(Tr(e,"iterate",Gu),Oi(t)?e:e.map(fr))}function qd(t){return Tr(t=Nt(t),"iterate",Gu),t}const oR={__proto__:null,[Symbol.iterator](){return Fh(this,Symbol.iterator,fr)},concat(...t){return $a(this).concat(...t.map(e=>at(e)?$a(e):e))},entries(){return Fh(this,"entries",t=>(t[1]=fr(t[1]),t))},every(t,e){return xo(this,"every",t,e,void 0,arguments)},filter(t,e){return xo(this,"filter",t,e,n=>n.map(fr),arguments)},find(t,e){return xo(this,"find",t,e,fr,arguments)},findIndex(t,e){return xo(this,"findIndex",t,e,void 0,arguments)},findLast(t,e){return xo(this,"findLast",t,e,fr,arguments)},findLastIndex(t,e){return xo(this,"findLastIndex",t,e,void 0,arguments)},forEach(t,e){return xo(this,"forEach",t,e,void 0,arguments)},includes(...t){return Dh(this,"includes",t)},indexOf(...t){return Dh(this,"indexOf",t)},join(t){return $a(this).join(t)},lastIndexOf(...t){return Dh(this,"lastIndexOf",t)},map(t,e){return xo(this,"map",t,e,void 0,arguments)},pop(){return Ql(this,"pop")},push(...t){return Ql(this,"push",t)},reduce(t,...e){return fv(this,"reduce",t,e)},reduceRight(t,...e){return fv(this,"reduceRight",t,e)},shift(){return Ql(this,"shift")},some(t,e){return xo(this,"some",t,e,void 0,arguments)},splice(...t){return Ql(this,"splice",t)},toReversed(){return $a(this).toReversed()},toSorted(t){return $a(this).toSorted(t)},toSpliced(...t){return $a(this).toSpliced(...t)},unshift(...t){return Ql(this,"unshift",t)},values(){return Fh(this,"values",fr)}};function Fh(t,e,n){const r=qd(t),i=r[e]();return r!==t&&!Oi(t)&&(i._next=i.next,i.next=()=>{const o=i._next();return o.value&&(o.value=n(o.value)),o}),i}const sR=Array.prototype;function xo(t,e,n,r,i,o){const s=qd(t),a=s!==t&&!Oi(t),u=s[e];if(u!==sR[e]){const l=u.apply(t,o);return a?fr(l):l}let c=n;s!==t&&(a?c=function(l,d){return n.call(this,fr(l),d,t)}:n.length>2&&(c=function(l,d){return n.call(this,l,d,t)}));const h=u.call(s,c,r);return a&&i?i(h):h}function fv(t,e,n,r){const i=qd(t);let o=n;return i!==t&&(Oi(t)?n.length>3&&(o=function(s,a,u){return n.call(this,s,a,u,t)}):o=function(s,a,u){return n.call(this,s,fr(a),u,t)}),i[e](o,...r)}function Dh(t,e,n){const r=Nt(t);Tr(r,"iterate",Gu);const i=r[e](...n);return(i===-1||i===!1)&&ig(n[0])?(n[0]=Nt(n[0]),r[e](...n)):i}function Ql(t,e,n=[]){Ko(),Jm();const r=Nt(t)[e].apply(t,n);return Zm(),Xo(),r}const aR=qm("__proto__,__v_isRef,__isVue"),sb=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(qi));function lR(t){qi(t)||(t=String(t));const e=Nt(this);return Tr(e,"has",t),e.hasOwnProperty(t)}class ab{constructor(e=!1,n=!1){this._isReadonly=e,this._isShallow=n}get(e,n,r){if(n==="__v_skip")return e.__v_skip;const i=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!i;if(n==="__v_isReadonly")return i;if(n==="__v_isShallow")return o;if(n==="__v_raw")return r===(i?o?vR:fb:o?cb:ub).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(r)?e:void 0;const s=at(e);if(!i){let u;if(s&&(u=oR[n]))return u;if(n==="hasOwnProperty")return lR}const a=Reflect.get(e,n,vn(e)?e:r);return(qi(n)?sb.has(n):aR(n))||(i||Tr(e,"get",n),o)?a:vn(a)?s&&Km(n)?a:a.value:sn(a)?i?hb(a):Ca(a):a}}class lb extends ab{constructor(e=!1){super(!1,e)}set(e,n,r,i){let o=e[n];if(!this._isShallow){const u=Qo(o);if(!Oi(r)&&!Qo(r)&&(o=Nt(o),r=Nt(r)),!at(e)&&vn(o)&&!vn(r))return u?!1:(o.value=r,!0)}const s=at(e)&&Km(n)?Number(n)<e.length:tn(e,n),a=Reflect.set(e,n,r,vn(e)?e:i);return e===Nt(i)&&(s?ks(r,o)&&Ho(e,"set",n,r):Ho(e,"add",n,r)),a}deleteProperty(e,n){const r=tn(e,n);e[n];const i=Reflect.deleteProperty(e,n);return i&&r&&Ho(e,"delete",n,void 0),i}has(e,n){const r=Reflect.has(e,n);return(!qi(n)||!sb.has(n))&&Tr(e,"has",n),r}ownKeys(e){return Tr(e,"iterate",at(e)?"length":sa),Reflect.ownKeys(e)}}class uR extends ab{constructor(e=!1){super(!0,e)}set(e,n){return!0}deleteProperty(e,n){return!0}}const cR=new lb,fR=new uR,dR=new lb(!0);const xp=t=>t,nf=t=>Reflect.getPrototypeOf(t);function hR(t,e,n){return function(...r){const i=this.__v_raw,o=Nt(i),s=nl(o),a=t==="entries"||t===Symbol.iterator&&s,u=t==="keys"&&s,c=i[t](...r),h=n?xp:e?od:fr;return!e&&Tr(o,"iterate",u?Cp:sa),{next(){const{value:l,done:d}=c.next();return d?{value:l,done:d}:{value:a?[h(l[0]),h(l[1])]:h(l),done:d}},[Symbol.iterator](){return this}}}}function rf(t){return function(...e){return t==="delete"?!1:t==="clear"?void 0:this}}function pR(t,e){const n={get(i){const o=this.__v_raw,s=Nt(o),a=Nt(i);t||(ks(i,a)&&Tr(s,"get",i),Tr(s,"get",a));const{has:u}=nf(s),c=e?xp:t?od:fr;if(u.call(s,i))return c(o.get(i));if(u.call(s,a))return c(o.get(a));o!==s&&o.get(i)},get size(){const i=this.__v_raw;return!t&&Tr(Nt(i),"iterate",sa),Reflect.get(i,"size",i)},has(i){const o=this.__v_raw,s=Nt(o),a=Nt(i);return t||(ks(i,a)&&Tr(s,"has",i),Tr(s,"has",a)),i===a?o.has(i):o.has(i)||o.has(a)},forEach(i,o){const s=this,a=s.__v_raw,u=Nt(a),c=e?xp:t?od:fr;return!t&&Tr(u,"iterate",sa),a.forEach((h,l)=>i.call(o,c(h),c(l),s))}};return ar(n,t?{add:rf("add"),set:rf("set"),delete:rf("delete"),clear:rf("clear")}:{add(i){!e&&!Oi(i)&&!Qo(i)&&(i=Nt(i));const o=Nt(this);return nf(o).has.call(o,i)||(o.add(i),Ho(o,"add",i,i)),this},set(i,o){!e&&!Oi(o)&&!Qo(o)&&(o=Nt(o));const s=Nt(this),{has:a,get:u}=nf(s);let c=a.call(s,i);c||(i=Nt(i),c=a.call(s,i));const h=u.call(s,i);return s.set(i,o),c?ks(o,h)&&Ho(s,"set",i,o):Ho(s,"add",i,o),this},delete(i){const o=Nt(this),{has:s,get:a}=nf(o);let u=s.call(o,i);u||(i=Nt(i),u=s.call(o,i)),a&&a.call(o,i);const c=o.delete(i);return u&&Ho(o,"delete",i,void 0),c},clear(){const i=Nt(this),o=i.size!==0,s=i.clear();return o&&Ho(i,"clear",void 0,void 0),s}}),["keys","values","entries",Symbol.iterator].forEach(i=>{n[i]=hR(i,t,e)}),n}function ng(t,e){const n=pR(t,e);return(r,i,o)=>i==="__v_isReactive"?!t:i==="__v_isReadonly"?t:i==="__v_raw"?r:Reflect.get(tn(n,i)&&i in r?n:r,i,o)}const mR={get:ng(!1,!1)},gR={get:ng(!1,!0)},_R={get:ng(!0,!1)};const ub=new WeakMap,cb=new WeakMap,fb=new WeakMap,vR=new WeakMap;function yR(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function bR(t){return t.__v_skip||!Object.isExtensible(t)?0:yR(jA(t))}function Ca(t){return Qo(t)?t:rg(t,!1,cR,mR,ub)}function db(t){return rg(t,!1,dR,gR,cb)}function hb(t){return rg(t,!0,fR,_R,fb)}function rg(t,e,n,r,i){if(!sn(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const o=bR(t);if(o===0)return t;const s=i.get(t);if(s)return s;const a=new Proxy(t,o===2?r:n);return i.set(t,a),a}function qo(t){return Qo(t)?qo(t.__v_raw):!!(t&&t.__v_isReactive)}function Qo(t){return!!(t&&t.__v_isReadonly)}function Oi(t){return!!(t&&t.__v_isShallow)}function ig(t){return t?!!t.__v_raw:!1}function Nt(t){const e=t&&t.__v_raw;return e?Nt(e):t}function og(t){return!tn(t,"__v_skip")&&Object.isExtensible(t)&&Ap(t,"__v_skip",!0),t}const fr=t=>sn(t)?Ca(t):t,od=t=>sn(t)?hb(t):t;function vn(t){return t?t.__v_isRef===!0:!1}function U(t){return pb(t,!1)}function _a(t){return pb(t,!0)}function pb(t,e){return vn(t)?t:new wR(t,e)}class wR{constructor(e,n){this.dep=new tg,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?e:Nt(e),this._value=n?e:fr(e),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(e){const n=this._rawValue,r=this.__v_isShallow||Oi(e)||Qo(e);e=r?e:Nt(e),ks(e,n)&&(this._rawValue=e,this._value=r?e:fr(e),this.dep.trigger())}}function ge(t){return vn(t)?t.value:t}function SR(t){return ft(t)?t():ge(t)}const TR={get:(t,e,n)=>e==="__v_raw"?t:ge(Reflect.get(t,e,n)),set:(t,e,n,r)=>{const i=t[e];return vn(i)&&!vn(n)?(i.value=n,!0):Reflect.set(t,e,n,r)}};function mb(t){return qo(t)?t:new Proxy(t,TR)}function gb(t){const e=at(t)?new Array(t.length):{};for(const n in t)e[n]=_b(t,n);return e}class ER{constructor(e,n,r){this._object=e,this._key=n,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0}get value(){const e=this._object[this._key];return this._value=e===void 0?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return iR(Nt(this._object),this._key)}}class kR{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function AR(t,e,n){return vn(t)?t:ft(t)?new kR(t):sn(t)&&arguments.length>1?_b(t,e,n):U(t)}function _b(t,e,n){const r=t[e];return vn(r)?r:new ER(t,e,n)}class RR{constructor(e,n,r){this.fn=e,this.setter=n,this._value=void 0,this.dep=new tg(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=qu-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&mn!==this)return eb(this,!0),!0}get value(){const e=this.dep.track();return rb(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}function CR(t,e,n=!1){let r,i;return ft(t)?r=t:(r=t.get,i=t.set),new RR(r,i,n)}const of={},sd=new WeakMap;let Ks;function xR(t,e=!1,n=Ks){if(n){let r=sd.get(n);r||sd.set(n,r=[]),r.push(t)}}function PR(t,e,n=dn){const{immediate:r,deep:i,once:o,scheduler:s,augmentJob:a,call:u}=n,c=k=>i?k:Oi(k)||i===!1||i===0?No(k,1):No(k);let h,l,d,f,_=!1,g=!1;if(vn(t)?(l=()=>t.value,_=Oi(t)):qo(t)?(l=()=>c(t),_=!0):at(t)?(g=!0,_=t.some(k=>qo(k)||Oi(k)),l=()=>t.map(k=>{if(vn(k))return k.value;if(qo(k))return c(k);if(ft(k))return u?u(k,2):k()})):ft(t)?e?l=u?()=>u(t,2):t:l=()=>{if(d){Ko();try{d()}finally{Xo()}}const k=Ks;Ks=h;try{return u?u(t,3,[f]):t(f)}finally{Ks=k}}:l=yo,e&&i){const k=l,R=i===!0?1/0:i;l=()=>No(k(),R)}const b=Q1(),y=()=>{h.stop(),b&&b.active&&Ym(b.effects,h)};if(o&&e){const k=e;e=(...R)=>{k(...R),y()}}let w=g?new Array(t.length).fill(of):of;const A=k=>{if(!(!(h.flags&1)||!h.dirty&&!k))if(e){const R=h.run();if(i||_||(g?R.some((x,L)=>ks(x,w[L])):ks(R,w))){d&&d();const x=Ks;Ks=h;try{const L=[R,w===of?void 0:g&&w[0]===of?[]:w,f];w=R,u?u(e,3,L):e(...L)}finally{Ks=x}}}else h.run()};return a&&a(A),h=new J1(l),h.scheduler=s?()=>s(A,!1):A,f=k=>xR(k,!1,h),d=h.onStop=()=>{const k=sd.get(h);if(k){if(u)u(k,4);else for(const R of k)R();sd.delete(h)}},e?r?A(!0):w=h.run():s?s(A.bind(null,!0),!0):h.run(),y.pause=h.pause.bind(h),y.resume=h.resume.bind(h),y.stop=y,y}function No(t,e=1/0,n){if(e<=0||!sn(t)||t.__v_skip||(n=n||new Set,n.has(t)))return t;if(n.add(t),e--,vn(t))No(t.value,e,n);else if(at(t))for(let r=0;r<t.length;r++)No(t[r],e,n);else if(Vd(t)||nl(t))t.forEach(r=>{No(r,e,n)});else if(q1(t)){for(const r in t)No(t[r],e,n);for(const r of Object.getOwnPropertySymbols(t))Object.prototype.propertyIsEnumerable.call(t,r)&&No(t[r],e,n)}return t}/**
* @vue/runtime-core v3.5.17
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/function vc(t,e,n,r){try{return r?t(...r):t()}catch(i){yc(i,e,n)}}function Gi(t,e,n,r){if(ft(t)){const i=vc(t,e,n,r);return i&&W1(i)&&i.catch(o=>{yc(o,e,n)}),i}if(at(t)){const i=[];for(let o=0;o<t.length;o++)i.push(Gi(t[o],e,n,r));return i}}function yc(t,e,n,r=!0){const i=e?e.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:s}=e&&e.appContext.config||dn;if(e){let a=e.parent;const u=e.proxy,c=`https://vuejs.org/error-reference/#runtime-${n}`;for(;a;){const h=a.ec;if(h){for(let l=0;l<h.length;l++)if(h[l](t,u,c)===!1)return}a=a.parent}if(o){Ko(),vc(o,null,10,[t,u,c]),Xo();return}}IR(t,n,i,r,s)}function IR(t,e,n,r=!0,i=!1){if(i)throw t;console.error(t)}const Br=[];let ao=-1;const rl=[];let hs=null,za=0;const vb=Promise.resolve();let ad=null;function Lt(t){const e=ad||vb;return t?e.then(this?t.bind(this):t):e}function LR(t){let e=ao+1,n=Br.length;for(;e<n;){const r=e+n>>>1,i=Br[r],o=Yu(i);o<t||o===t&&i.flags&2?e=r+1:n=r}return e}function sg(t){if(!(t.flags&1)){const e=Yu(t),n=Br[Br.length-1];!n||!(t.flags&2)&&e>=Yu(n)?Br.push(t):Br.splice(LR(e),0,t),t.flags|=1,yb()}}function yb(){ad||(ad=vb.then(wb))}function OR(t){at(t)?rl.push(...t):hs&&t.id===-1?hs.splice(za+1,0,t):t.flags&1||(rl.push(t),t.flags|=1),yb()}function dv(t,e,n=ao+1){for(;n<Br.length;n++){const r=Br[n];if(r&&r.flags&2){if(t&&r.id!==t.uid)continue;Br.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function bb(t){if(rl.length){const e=[...new Set(rl)].sort((n,r)=>Yu(n)-Yu(r));if(rl.length=0,hs){hs.push(...e);return}for(hs=e,za=0;za<hs.length;za++){const n=hs[za];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}hs=null,za=0}}const Yu=t=>t.id==null?t.flags&2?-1:1/0:t.id;function wb(t){try{for(ao=0;ao<Br.length;ao++){const e=Br[ao];e&&!(e.flags&8)&&(e.flags&4&&(e.flags&=-2),vc(e,e.i,e.i?15:14),e.flags&4||(e.flags&=-2))}}finally{for(;ao<Br.length;ao++){const e=Br[ao];e&&(e.flags&=-2)}ao=-1,Br.length=0,bb(),ad=null,(Br.length||rl.length)&&wb()}}let er=null,Sb=null;function ld(t){const e=er;return er=t,Sb=t&&t.type.__scopeId||null,e}function Di(t,e=er,n){if(!e||t._n)return t;const r=(...i)=>{r._d&&Rv(-1);const o=ld(e);let s;try{s=t(...i)}finally{ld(o),r._d&&Rv(1)}return s};return r._n=!0,r._c=!0,r._d=!0,r}function MR(t,e){if(er===null)return t;const n=Xd(er),r=t.dirs||(t.dirs=[]);for(let i=0;i<e.length;i++){let[o,s,a,u=dn]=e[i];o&&(ft(o)&&(o={mounted:o,updated:o}),o.deep&&No(s),r.push({dir:o,instance:n,value:s,oldValue:void 0,arg:a,modifiers:u}))}return t}function js(t,e,n,r){const i=t.dirs,o=e&&e.dirs;for(let s=0;s<i.length;s++){const a=i[s];o&&(a.oldValue=o[s].value);let u=a.dir[r];u&&(Ko(),Gi(u,n,8,[t.el,a,t,e]),Xo())}}const Tb=Symbol("_vte"),Eb=t=>t.__isTeleport,Tu=t=>t&&(t.disabled||t.disabled===""),hv=t=>t&&(t.defer||t.defer===""),pv=t=>typeof SVGElement<"u"&&t instanceof SVGElement,mv=t=>typeof MathMLElement=="function"&&t instanceof MathMLElement,Pp=(t,e)=>{const n=t&&t.to;return Rn(n)?e?e(n):null:n},kb={name:"Teleport",__isTeleport:!0,process(t,e,n,r,i,o,s,a,u,c){const{mc:h,pc:l,pbc:d,o:{insert:f,querySelector:_,createText:g,createComment:b}}=c,y=Tu(e.props);let{shapeFlag:w,children:A,dynamicChildren:k}=e;if(t==null){const R=e.el=g(""),x=e.anchor=g("");f(R,n,r),f(x,n,r);const L=(H,V)=>{w&16&&(i&&i.isCE&&(i.ce._teleportTarget=H),h(A,H,V,i,o,s,a,u))},F=()=>{const H=e.target=Pp(e.props,_),V=Ab(H,e,g,f);H&&(s!=="svg"&&pv(H)?s="svg":s!=="mathml"&&mv(H)&&(s="mathml"),y||(L(H,V),Lf(e,!1)))};y&&(L(n,x),Lf(e,!0)),hv(e.props)?(e.el.__isMounted=!1,Dr(()=>{F(),delete e.el.__isMounted},o)):F()}else{if(hv(e.props)&&t.el.__isMounted===!1){Dr(()=>{kb.process(t,e,n,r,i,o,s,a,u,c)},o);return}e.el=t.el,e.targetStart=t.targetStart;const R=e.anchor=t.anchor,x=e.target=t.target,L=e.targetAnchor=t.targetAnchor,F=Tu(t.props),H=F?n:x,V=F?R:L;if(s==="svg"||pv(x)?s="svg":(s==="mathml"||mv(x))&&(s="mathml"),k?(d(t.dynamicChildren,k,H,i,o,s,a),fg(t,e,!0)):u||l(t,e,H,V,i,o,s,a,!1),y)F?e.props&&t.props&&e.props.to!==t.props.to&&(e.props.to=t.props.to):sf(e,n,R,c,1);else if((e.props&&e.props.to)!==(t.props&&t.props.to)){const ne=e.target=Pp(e.props,_);ne&&sf(e,ne,null,c,0)}else F&&sf(e,x,L,c,1);Lf(e,y)}},remove(t,e,n,{um:r,o:{remove:i}},o){const{shapeFlag:s,children:a,anchor:u,targetStart:c,targetAnchor:h,target:l,props:d}=t;if(l&&(i(c),i(h)),o&&i(u),s&16){const f=o||!Tu(d);for(let _=0;_<a.length;_++){const g=a[_];r(g,e,n,f,!!g.dynamicChildren)}}},move:sf,hydrate:FR};function sf(t,e,n,{o:{insert:r},m:i},o=2){o===0&&r(t.targetAnchor,e,n);const{el:s,anchor:a,shapeFlag:u,children:c,props:h}=t,l=o===2;if(l&&r(s,e,n),(!l||Tu(h))&&u&16)for(let d=0;d<c.length;d++)i(c[d],e,n,2);l&&r(a,e,n)}function FR(t,e,n,r,i,o,{o:{nextSibling:s,parentNode:a,querySelector:u,insert:c,createText:h}},l){const d=e.target=Pp(e.props,u);if(d){const f=Tu(e.props),_=d._lpa||d.firstChild;if(e.shapeFlag&16)if(f)e.anchor=l(s(t),e,a(t),n,r,i,o),e.targetStart=_,e.targetAnchor=_&&s(_);else{e.anchor=s(t);let g=_;for(;g;){if(g&&g.nodeType===8){if(g.data==="teleport start anchor")e.targetStart=g;else if(g.data==="teleport anchor"){e.targetAnchor=g,d._lpa=e.targetAnchor&&s(e.targetAnchor);break}}g=s(g)}e.targetAnchor||Ab(d,e,h,c),l(_&&s(_),e,d,n,r,i,o)}Lf(e,f)}return e.anchor&&s(e.anchor)}const DR=kb;function Lf(t,e){const n=t.ctx;if(n&&n.ut){let r,i;for(e?(r=t.el,i=t.anchor):(r=t.targetStart,i=t.targetAnchor);r&&r!==i;)r.nodeType===1&&r.setAttribute("data-v-owner",n.uid),r=r.nextSibling;n.ut()}}function Ab(t,e,n,r){const i=e.targetStart=n(""),o=e.targetAnchor=n("");return i[Tb]=o,t&&(r(i,t),r(o,t)),o}const ps=Symbol("_leaveCb"),af=Symbol("_enterCb");function $R(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Ct(()=>{t.isMounted=!0}),wc(()=>{t.isUnmounting=!0}),t}const Si=[Function,Array],Rb={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Si,onEnter:Si,onAfterEnter:Si,onEnterCancelled:Si,onBeforeLeave:Si,onLeave:Si,onAfterLeave:Si,onLeaveCancelled:Si,onBeforeAppear:Si,onAppear:Si,onAfterAppear:Si,onAppearCancelled:Si},Cb=t=>{const e=t.subTree;return e.component?Cb(e.component):e},HR={name:"BaseTransition",props:Rb,setup(t,{slots:e}){const n=xl(),r=$R();return()=>{const i=e.default&&Ib(e.default(),!0);if(!i||!i.length)return;const o=xb(i),s=Nt(t),{mode:a}=s;if(r.isLeaving)return $h(o);const u=gv(o);if(!u)return $h(o);let c=Ip(u,s,r,n,l=>c=l);u.type!==Er&&Ku(u,c);let h=n.subTree&&gv(n.subTree);if(h&&h.type!==Er&&!ea(u,h)&&Cb(n).type!==Er){let l=Ip(h,s,r,n);if(Ku(h,l),a==="out-in"&&u.type!==Er)return r.isLeaving=!0,l.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete l.afterLeave,h=void 0},$h(o);a==="in-out"&&u.type!==Er?l.delayLeave=(d,f,_)=>{const g=Pb(r,h);g[String(h.key)]=h,d[ps]=()=>{f(),d[ps]=void 0,delete c.delayedLeave,h=void 0},c.delayedLeave=()=>{_(),delete c.delayedLeave,h=void 0}}:h=void 0}else h&&(h=void 0);return o}}};function xb(t){let e=t[0];if(t.length>1){for(const n of t)if(n.type!==Er){e=n;break}}return e}const NR=HR;function Pb(t,e){const{leavingVNodes:n}=t;let r=n.get(e.type);return r||(r=Object.create(null),n.set(e.type,r)),r}function Ip(t,e,n,r,i){const{appear:o,mode:s,persisted:a=!1,onBeforeEnter:u,onEnter:c,onAfterEnter:h,onEnterCancelled:l,onBeforeLeave:d,onLeave:f,onAfterLeave:_,onLeaveCancelled:g,onBeforeAppear:b,onAppear:y,onAfterAppear:w,onAppearCancelled:A}=e,k=String(t.key),R=Pb(n,t),x=(H,V)=>{H&&Gi(H,r,9,V)},L=(H,V)=>{const ne=V[1];x(H,V),at(H)?H.every($=>$.length<=1)&&ne():H.length<=1&&ne()},F={mode:s,persisted:a,beforeEnter(H){let V=u;if(!n.isMounted)if(o)V=b||u;else return;H[ps]&&H[ps](!0);const ne=R[k];ne&&ea(t,ne)&&ne.el[ps]&&ne.el[ps](),x(V,[H])},enter(H){let V=c,ne=h,$=l;if(!n.isMounted)if(o)V=y||c,ne=w||h,$=A||l;else return;let M=!1;const z=H[af]=K=>{M||(M=!0,K?x($,[H]):x(ne,[H]),F.delayedLeave&&F.delayedLeave(),H[af]=void 0)};V?L(V,[H,z]):z()},leave(H,V){const ne=String(t.key);if(H[af]&&H[af](!0),n.isUnmounting)return V();x(d,[H]);let $=!1;const M=H[ps]=z=>{$||($=!0,V(),z?x(g,[H]):x(_,[H]),H[ps]=void 0,R[ne]===t&&delete R[ne])};R[ne]=t,f?L(f,[H,M]):M()},clone(H){const V=Ip(H,e,n,r,i);return i&&i(V),V}};return F}function $h(t){if(bc(t))return t=Ps(t),t.children=null,t}function gv(t){if(!bc(t))return Eb(t.type)&&t.children?xb(t.children):t;if(t.component)return t.component.subTree;const{shapeFlag:e,children:n}=t;if(n){if(e&16)return n[0];if(e&32&&ft(n.default))return n.default()}}function Ku(t,e){t.shapeFlag&6&&t.component?(t.transition=e,Ku(t.component.subTree,e)):t.shapeFlag&128?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}function Ib(t,e=!1,n){let r=[],i=0;for(let o=0;o<t.length;o++){let s=t[o];const a=n==null?s.key:String(n)+String(s.key!=null?s.key:o);s.type===Ye?(s.patchFlag&128&&i++,r=r.concat(Ib(s.children,e,a))):(e||s.type!==Er)&&r.push(a!=null?Ps(s,{key:a}):s)}if(i>1)for(let o=0;o<r.length;o++)r[o].patchFlag=-2;return r}/*! #__NO_SIDE_EFFECTS__ */function Ji(t,e){return ft(t)?ar({name:t.name},e,{setup:t}):t}function ag(t){t.ids=[t.ids[0]+t.ids[2]+++"-",0,0]}function Eu(t,e,n,r,i=!1){if(at(t)){t.forEach((_,g)=>Eu(_,e&&(at(e)?e[g]:e),n,r,i));return}if(il(r)&&!i){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&Eu(t,e,n,r.component.subTree);return}const o=r.shapeFlag&4?Xd(r.component):r.el,s=i?null:o,{i:a,r:u}=t,c=e&&e.r,h=a.refs===dn?a.refs={}:a.refs,l=a.setupState,d=Nt(l),f=l===dn?()=>!1:_=>tn(d,_);if(c!=null&&c!==u&&(Rn(c)?(h[c]=null,f(c)&&(l[c]=null)):vn(c)&&(c.value=null)),ft(u))vc(u,a,12,[s,h]);else{const _=Rn(u),g=vn(u);if(_||g){const b=()=>{if(t.f){const y=_?f(u)?l[u]:h[u]:u.value;i?at(y)&&Ym(y,o):at(y)?y.includes(o)||y.push(o):_?(h[u]=[o],f(u)&&(l[u]=h[u])):(u.value=[o],t.k&&(h[t.k]=u.value))}else _?(h[u]=s,f(u)&&(l[u]=s)):g&&(u.value=s,t.k&&(h[t.k]=s))};s?(b.id=-1,Dr(b,n)):b()}}}const _v=t=>t.nodeType===8;Wd().requestIdleCallback;Wd().cancelIdleCallback;function BR(t,e){if(_v(t)&&t.data==="["){let n=1,r=t.nextSibling;for(;r;){if(r.nodeType===1){if(e(r)===!1)break}else if(_v(r))if(r.data==="]"){if(--n===0)break}else r.data==="["&&n++;r=r.nextSibling}}else e(t)}const il=t=>!!t.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function VR(t){ft(t)&&(t={loader:t});const{loader:e,loadingComponent:n,errorComponent:r,delay:i=200,hydrate:o,timeout:s,suspensible:a=!0,onError:u}=t;let c=null,h,l=0;const d=()=>(l++,c=null,f()),f=()=>{let _;return c||(_=c=e().catch(g=>{if(g=g instanceof Error?g:new Error(String(g)),u)return new Promise((b,y)=>{u(g,()=>b(d()),()=>y(g),l+1)});throw g}).then(g=>_!==c&&c?c:(g&&(g.__esModule||g[Symbol.toStringTag]==="Module")&&(g=g.default),h=g,g)))};return Ji({name:"AsyncComponentWrapper",__asyncLoader:f,__asyncHydrate(_,g,b){const y=o?()=>{const A=o(()=>{b()},k=>BR(_,k));A&&(g.bum||(g.bum=[])).push(A),(g.u||(g.u=[])).push(()=>!0)}:b;h?y():f().then(()=>!g.isUnmounted&&y())},get __asyncResolved(){return h},setup(){const _=Jn;if(ag(_),h)return()=>Hh(h,_);const g=A=>{c=null,yc(A,_,13,!r)};if(a&&_.suspense||gl)return f().then(A=>()=>Hh(A,_)).catch(A=>(g(A),()=>r?Ve(r,{error:A}):null));const b=U(!1),y=U(),w=U(!!i);return i&&setTimeout(()=>{w.value=!1},i),s!=null&&setTimeout(()=>{if(!b.value&&!y.value){const A=new Error(`Async component timed out after ${s}ms.`);g(A),y.value=A}},s),f().then(()=>{b.value=!0,_.parent&&bc(_.parent.vnode)&&_.parent.update()}).catch(A=>{g(A),y.value=A}),()=>{if(b.value&&h)return Hh(h,_);if(y.value&&r)return Ve(r,{error:y.value});if(n&&!w.value)return Ve(n)}}})}function Hh(t,e){const{ref:n,props:r,children:i,ce:o}=e.vnode,s=Ve(t,r,i);return s.ref=n,s.ce=o,delete e.vnode.ce,s}const bc=t=>t.type.__isKeepAlive;function Lb(t,e){Mb(t,"a",e)}function Ob(t,e){Mb(t,"da",e)}function Mb(t,e,n=Jn){const r=t.__wdc||(t.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return t()});if(Gd(e,r,n),n){let i=n.parent;for(;i&&i.parent;)bc(i.parent.vnode)&&UR(r,e,n,i),i=i.parent}}function UR(t,e,n,r){const i=Gd(e,t,r,!0);Vt(()=>{Ym(r[e],i)},n)}function Gd(t,e,n=Jn,r=!1){if(n){const i=n[t]||(n[t]=[]),o=e.__weh||(e.__weh=(...s)=>{Ko();const a=kc(n),u=Gi(e,n,t,s);return a(),Xo(),u});return r?i.unshift(o):i.push(o),o}}const es=t=>(e,n=Jn)=>{(!gl||t==="sp")&&Gd(t,(...r)=>e(...r),n)},Yd=es("bm"),Ct=es("m"),jR=es("bu"),Fb=es("u"),wc=es("bum"),Vt=es("um"),Sc=es("sp"),WR=es("rtg"),zR=es("rtc");function qR(t,e=Jn){Gd("ec",t,e)}const Db="components";function lg(t,e){return Hb(Db,t,!0,e)||t}const $b=Symbol.for("v-ndc");function va(t){return Rn(t)?Hb(Db,t,!1)||t:t||$b}function Hb(t,e,n=!0,r=!1){const i=er||Jn;if(i){const o=i.type;{const a=IC(o,!1);if(a&&(a===e||a===Fi(e)||a===jd(Fi(e))))return o}const s=vv(i[t]||o[t],e)||vv(i.appContext[t],e);return!s&&r?o:s}}function vv(t,e){return t&&(t[e]||t[Fi(e)]||t[jd(Fi(e))])}function ut(t,e,n,r){let i;const o=n,s=at(t);if(s||Rn(t)){const a=s&&qo(t);let u=!1,c=!1;a&&(u=!Oi(t),c=Qo(t),t=qd(t)),i=new Array(t.length);for(let h=0,l=t.length;h<l;h++)i[h]=e(u?c?od(fr(t[h])):fr(t[h]):t[h],h,void 0,o)}else if(typeof t=="number"){i=new Array(t);for(let a=0;a<t;a++)i[a]=e(a+1,a,void 0,o)}else if(sn(t))if(t[Symbol.iterator])i=Array.from(t,(a,u)=>e(a,u,void 0,o));else{const a=Object.keys(t);i=new Array(a.length);for(let u=0,c=a.length;u<c;u++){const h=a[u];i[u]=e(t[h],h,u,o)}}else i=[];return i}function Do(t,e,n={},r,i){if(er.ce||er.parent&&il(er.parent)&&er.parent.ce)return ae(),Kt(Ye,null,[Ve("slot",n,r)],64);let o=t[e];o&&o._c&&(o._d=!1),ae();const s=o&&Nb(o(n)),a=n.key||s&&s.key,u=Kt(Ye,{key:(a&&!qi(a)?a:`_${e}`)+(!s&&r?"_fb":"")},s||[],s&&t._===1?64:-2);return!i&&u.scopeId&&(u.slotScopeIds=[u.scopeId+"-s"]),o&&o._c&&(o._d=!0),u}function Nb(t){return t.some(e=>Qu(e)?!(e.type===Er||e.type===Ye&&!Nb(e.children)):!0)?t:null}const Lp=t=>t?ow(t)?Xd(t):Lp(t.parent):null,ku=ar(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>Lp(t.parent),$root:t=>Lp(t.root),$host:t=>t.ce,$emit:t=>t.emit,$options:t=>Vb(t),$forceUpdate:t=>t.f||(t.f=()=>{sg(t.update)}),$nextTick:t=>t.n||(t.n=Lt.bind(t.proxy)),$watch:t=>hC.bind(t)}),Nh=(t,e)=>t!==dn&&!t.__isScriptSetup&&tn(t,e),GR={get({_:t},e){if(e==="__v_skip")return!0;const{ctx:n,setupState:r,data:i,props:o,accessCache:s,type:a,appContext:u}=t;let c;if(e[0]!=="$"){const f=s[e];if(f!==void 0)switch(f){case 1:return r[e];case 2:return i[e];case 4:return n[e];case 3:return o[e]}else{if(Nh(r,e))return s[e]=1,r[e];if(i!==dn&&tn(i,e))return s[e]=2,i[e];if((c=t.propsOptions[0])&&tn(c,e))return s[e]=3,o[e];if(n!==dn&&tn(n,e))return s[e]=4,n[e];Op&&(s[e]=0)}}const h=ku[e];let l,d;if(h)return e==="$attrs"&&Tr(t.attrs,"get",""),h(t);if((l=a.__cssModules)&&(l=l[e]))return l;if(n!==dn&&tn(n,e))return s[e]=4,n[e];if(d=u.config.globalProperties,tn(d,e))return d[e]},set({_:t},e,n){const{data:r,setupState:i,ctx:o}=t;return Nh(i,e)?(i[e]=n,!0):r!==dn&&tn(r,e)?(r[e]=n,!0):tn(t.props,e)||e[0]==="$"&&e.slice(1)in t?!1:(o[e]=n,!0)},has({_:{data:t,setupState:e,accessCache:n,ctx:r,appContext:i,propsOptions:o}},s){let a;return!!n[s]||t!==dn&&tn(t,s)||Nh(e,s)||(a=o[0])&&tn(a,s)||tn(r,s)||tn(ku,s)||tn(i.config.globalProperties,s)},defineProperty(t,e,n){return n.get!=null?t._.accessCache[e]=0:tn(n,"value")&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}};function yv(t){return at(t)?t.reduce((e,n)=>(e[n]=null,e),{}):t}let Op=!0;function YR(t){const e=Vb(t),n=t.proxy,r=t.ctx;Op=!1,e.beforeCreate&&bv(e.beforeCreate,t,"bc");const{data:i,computed:o,methods:s,watch:a,provide:u,inject:c,created:h,beforeMount:l,mounted:d,beforeUpdate:f,updated:_,activated:g,deactivated:b,beforeDestroy:y,beforeUnmount:w,destroyed:A,unmounted:k,render:R,renderTracked:x,renderTriggered:L,errorCaptured:F,serverPrefetch:H,expose:V,inheritAttrs:ne,components:$,directives:M,filters:z}=e;if(c&&KR(c,r,null),s)for(const W in s){const oe=s[W];ft(oe)&&(r[W]=oe.bind(n))}if(i){const W=i.call(n,n);sn(W)&&(t.data=Ca(W))}if(Op=!0,o)for(const W in o){const oe=o[W],se=ft(oe)?oe.bind(n,n):ft(oe.get)?oe.get.bind(n,n):yo,q=!ft(oe)&&ft(oe.set)?oe.set.bind(n):yo,pe=xe({get:se,set:q});Object.defineProperty(r,W,{enumerable:!0,configurable:!0,get:()=>pe.value,set:Te=>pe.value=Te})}if(a)for(const W in a)Bb(a[W],r,n,W);if(u){const W=ft(u)?u.call(n):u;Reflect.ownKeys(W).forEach(oe=>{Of(oe,W[oe])})}h&&bv(h,t,"c");function B(W,oe){at(oe)?oe.forEach(se=>W(se.bind(n))):oe&&W(oe.bind(n))}if(B(Yd,l),B(Ct,d),B(jR,f),B(Fb,_),B(Lb,g),B(Ob,b),B(qR,F),B(zR,x),B(WR,L),B(wc,w),B(Vt,k),B(Sc,H),at(V))if(V.length){const W=t.exposed||(t.exposed={});V.forEach(oe=>{Object.defineProperty(W,oe,{get:()=>n[oe],set:se=>n[oe]=se})})}else t.exposed||(t.exposed={});R&&t.render===yo&&(t.render=R),ne!=null&&(t.inheritAttrs=ne),$&&(t.components=$),M&&(t.directives=M),H&&ag(t)}function KR(t,e,n=yo){at(t)&&(t=Mp(t));for(const r in t){const i=t[r];let o;sn(i)?"default"in i?o=Yr(i.from||r,i.default,!0):o=Yr(i.from||r):o=Yr(i),vn(o)?Object.defineProperty(e,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:s=>o.value=s}):e[r]=o}}function bv(t,e,n){Gi(at(t)?t.map(r=>r.bind(e.proxy)):t.bind(e.proxy),e,n)}function Bb(t,e,n,r){let i=r.includes(".")?Zb(n,r):()=>n[r];if(Rn(t)){const o=e[t];ft(o)&&Ne(i,o)}else if(ft(t))Ne(i,t.bind(n));else if(sn(t))if(at(t))t.forEach(o=>Bb(o,e,n,r));else{const o=ft(t.handler)?t.handler.bind(n):e[t.handler];ft(o)&&Ne(i,o,t)}}function Vb(t){const e=t.type,{mixins:n,extends:r}=e,{mixins:i,optionsCache:o,config:{optionMergeStrategies:s}}=t.appContext,a=o.get(e);let u;return a?u=a:!i.length&&!n&&!r?u=e:(u={},i.length&&i.forEach(c=>ud(u,c,s,!0)),ud(u,e,s)),sn(e)&&o.set(e,u),u}function ud(t,e,n,r=!1){const{mixins:i,extends:o}=e;o&&ud(t,o,n,!0),i&&i.forEach(s=>ud(t,s,n,!0));for(const s in e)if(!(r&&s==="expose")){const a=XR[s]||n&&n[s];t[s]=a?a(t[s],e[s]):e[s]}return t}const XR={data:wv,props:Sv,emits:Sv,methods:fu,computed:fu,beforeCreate:Lr,created:Lr,beforeMount:Lr,mounted:Lr,beforeUpdate:Lr,updated:Lr,beforeDestroy:Lr,beforeUnmount:Lr,destroyed:Lr,unmounted:Lr,activated:Lr,deactivated:Lr,errorCaptured:Lr,serverPrefetch:Lr,components:fu,directives:fu,watch:JR,provide:wv,inject:QR};function wv(t,e){return e?t?function(){return ar(ft(t)?t.call(this,this):t,ft(e)?e.call(this,this):e)}:e:t}function QR(t,e){return fu(Mp(t),Mp(e))}function Mp(t){if(at(t)){const e={};for(let n=0;n<t.length;n++)e[t[n]]=t[n];return e}return t}function Lr(t,e){return t?[...new Set([].concat(t,e))]:e}function fu(t,e){return t?ar(Object.create(null),t,e):e}function Sv(t,e){return t?at(t)&&at(e)?[...new Set([...t,...e])]:ar(Object.create(null),yv(t),yv(e??{})):e}function JR(t,e){if(!t)return e;if(!e)return t;const n=ar(Object.create(null),t);for(const r in e)n[r]=Lr(t[r],e[r]);return n}function Ub(){return{app:null,config:{isNativeTag:VA,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let ZR=0;function eC(t,e){return function(r,i=null){ft(r)||(r=ar({},r)),i!=null&&!sn(i)&&(i=null);const o=Ub(),s=new WeakSet,a=[];let u=!1;const c=o.app={_uid:ZR++,_component:r,_props:i,_container:null,_context:o,_instance:null,version:OC,get config(){return o.config},set config(h){},use(h,...l){return s.has(h)||(h&&ft(h.install)?(s.add(h),h.install(c,...l)):ft(h)&&(s.add(h),h(c,...l))),c},mixin(h){return o.mixins.includes(h)||o.mixins.push(h),c},component(h,l){return l?(o.components[h]=l,c):o.components[h]},directive(h,l){return l?(o.directives[h]=l,c):o.directives[h]},mount(h,l,d){if(!u){const f=c._ceVNode||Ve(r,i);return f.appContext=o,d===!0?d="svg":d===!1&&(d=void 0),t(f,h,d),u=!0,c._container=h,h.__vue_app__=c,Xd(f.component)}},onUnmount(h){a.push(h)},unmount(){u&&(Gi(a,c._instance,16),t(null,c._container),delete c._container.__vue_app__)},provide(h,l){return o.provides[h]=l,c},runWithContext(h){const l=aa;aa=c;try{return h()}finally{aa=l}}};return c}}let aa=null;function Of(t,e){if(Jn){let n=Jn.provides;const r=Jn.parent&&Jn.parent.provides;r===n&&(n=Jn.provides=Object.create(r)),n[t]=e}}function Yr(t,e,n=!1){const r=Jn||er;if(r||aa){let i=aa?aa._context.provides:r?r.parent==null||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(i&&t in i)return i[t];if(arguments.length>1)return n&&ft(e)?e.call(r&&r.proxy):e}}function jb(){return!!(Jn||er||aa)}const Wb={},zb=()=>Object.create(Wb),qb=t=>Object.getPrototypeOf(t)===Wb;function tC(t,e,n,r=!1){const i={},o=zb();t.propsDefaults=Object.create(null),Gb(t,e,i,o);for(const s in t.propsOptions[0])s in i||(i[s]=void 0);n?t.props=r?i:db(i):t.type.props?t.props=i:t.props=o,t.attrs=o}function nC(t,e,n,r){const{props:i,attrs:o,vnode:{patchFlag:s}}=t,a=Nt(i),[u]=t.propsOptions;let c=!1;if((r||s>0)&&!(s&16)){if(s&8){const h=t.vnode.dynamicProps;for(let l=0;l<h.length;l++){let d=h[l];if(Kd(t.emitsOptions,d))continue;const f=e[d];if(u)if(tn(o,d))f!==o[d]&&(o[d]=f,c=!0);else{const _=Fi(d);i[_]=Fp(u,a,_,f,t,!1)}else f!==o[d]&&(o[d]=f,c=!0)}}}else{Gb(t,e,i,o)&&(c=!0);let h;for(const l in a)(!e||!tn(e,l)&&((h=Ra(l))===l||!tn(e,h)))&&(u?n&&(n[l]!==void 0||n[h]!==void 0)&&(i[l]=Fp(u,a,l,void 0,t,!0)):delete i[l]);if(o!==a)for(const l in o)(!e||!tn(e,l))&&(delete o[l],c=!0)}c&&Ho(t.attrs,"set","")}function Gb(t,e,n,r){const[i,o]=t.propsOptions;let s=!1,a;if(e)for(let u in e){if(bu(u))continue;const c=e[u];let h;i&&tn(i,h=Fi(u))?!o||!o.includes(h)?n[h]=c:(a||(a={}))[h]=c:Kd(t.emitsOptions,u)||(!(u in r)||c!==r[u])&&(r[u]=c,s=!0)}if(o){const u=Nt(n),c=a||dn;for(let h=0;h<o.length;h++){const l=o[h];n[l]=Fp(i,u,l,c[l],t,!tn(c,l))}}return s}function Fp(t,e,n,r,i,o){const s=t[n];if(s!=null){const a=tn(s,"default");if(a&&r===void 0){const u=s.default;if(s.type!==Function&&!s.skipFactory&&ft(u)){const{propsDefaults:c}=i;if(n in c)r=c[n];else{const h=kc(i);r=c[n]=u.call(null,e),h()}}else r=u;i.ce&&i.ce._setProp(n,r)}s[0]&&(o&&!a?r=!1:s[1]&&(r===""||r===Ra(n))&&(r=!0))}return r}const rC=new WeakMap;function Yb(t,e,n=!1){const r=n?rC:e.propsCache,i=r.get(t);if(i)return i;const o=t.props,s={},a=[];let u=!1;if(!ft(t)){const h=l=>{u=!0;const[d,f]=Yb(l,e,!0);ar(s,d),f&&a.push(...f)};!n&&e.mixins.length&&e.mixins.forEach(h),t.extends&&h(t.extends),t.mixins&&t.mixins.forEach(h)}if(!o&&!u)return sn(t)&&r.set(t,tl),tl;if(at(o))for(let h=0;h<o.length;h++){const l=Fi(o[h]);Tv(l)&&(s[l]=dn)}else if(o)for(const h in o){const l=Fi(h);if(Tv(l)){const d=o[h],f=s[l]=at(d)||ft(d)?{type:d}:ar({},d),_=f.type;let g=!1,b=!0;if(at(_))for(let y=0;y<_.length;++y){const w=_[y],A=ft(w)&&w.name;if(A==="Boolean"){g=!0;break}else A==="String"&&(b=!1)}else g=ft(_)&&_.name==="Boolean";f[0]=g,f[1]=b,(g||tn(f,"default"))&&a.push(l)}}const c=[s,a];return sn(t)&&r.set(t,c),c}function Tv(t){return t[0]!=="$"&&!bu(t)}const ug=t=>t[0]==="_"||t==="$stable",cg=t=>at(t)?t.map(co):[co(t)],iC=(t,e,n)=>{if(e._n)return e;const r=Di((...i)=>cg(e(...i)),n);return r._c=!1,r},Kb=(t,e,n)=>{const r=t._ctx;for(const i in t){if(ug(i))continue;const o=t[i];if(ft(o))e[i]=iC(i,o,r);else if(o!=null){const s=cg(o);e[i]=()=>s}}},Xb=(t,e)=>{const n=cg(e);t.slots.default=()=>n},Qb=(t,e,n)=>{for(const r in e)(n||!ug(r))&&(t[r]=e[r])},oC=(t,e,n)=>{const r=t.slots=zb();if(t.vnode.shapeFlag&32){const i=e.__;i&&Ap(r,"__",i,!0);const o=e._;o?(Qb(r,e,n),n&&Ap(r,"_",o,!0)):Kb(e,r)}else e&&Xb(t,e)},sC=(t,e,n)=>{const{vnode:r,slots:i}=t;let o=!0,s=dn;if(r.shapeFlag&32){const a=e._;a?n&&a===1?o=!1:Qb(i,e,n):(o=!e.$stable,Kb(e,i)),s=e}else e&&(Xb(t,e),s={default:1});if(o)for(const a in i)!ug(a)&&s[a]==null&&delete i[a]},Dr=bC;function aC(t){return lC(t)}function lC(t,e){const n=Wd();n.__VUE__=!0;const{insert:r,remove:i,patchProp:o,createElement:s,createText:a,createComment:u,setText:c,setElementText:h,parentNode:l,nextSibling:d,setScopeId:f=yo,insertStaticContent:_}=t,g=(j,P,Y,ee=null,X=null,C=null,G=void 0,I=null,D=!!P.dynamicChildren)=>{if(j===P)return;j&&!ea(j,P)&&(ee=ie(j),Te(j,X,C,!0),j=null),P.patchFlag===-2&&(D=!1,P.dynamicChildren=null);const{type:Z,ref:fe,shapeFlag:ue}=P;switch(Z){case Ec:b(j,P,Y,ee);break;case Er:y(j,P,Y,ee);break;case Mf:j==null&&w(P,Y,ee,G);break;case Ye:$(j,P,Y,ee,X,C,G,I,D);break;default:ue&1?R(j,P,Y,ee,X,C,G,I,D):ue&6?M(j,P,Y,ee,X,C,G,I,D):(ue&64||ue&128)&&Z.process(j,P,Y,ee,X,C,G,I,D,Se)}fe!=null&&X?Eu(fe,j&&j.ref,C,P||j,!P):fe==null&&j&&j.ref!=null&&Eu(j.ref,null,C,j,!0)},b=(j,P,Y,ee)=>{if(j==null)r(P.el=a(P.children),Y,ee);else{const X=P.el=j.el;P.children!==j.children&&c(X,P.children)}},y=(j,P,Y,ee)=>{j==null?r(P.el=u(P.children||""),Y,ee):P.el=j.el},w=(j,P,Y,ee)=>{[j.el,j.anchor]=_(j.children,P,Y,ee,j.el,j.anchor)},A=({el:j,anchor:P},Y,ee)=>{let X;for(;j&&j!==P;)X=d(j),r(j,Y,ee),j=X;r(P,Y,ee)},k=({el:j,anchor:P})=>{let Y;for(;j&&j!==P;)Y=d(j),i(j),j=Y;i(P)},R=(j,P,Y,ee,X,C,G,I,D)=>{P.type==="svg"?G="svg":P.type==="math"&&(G="mathml"),j==null?x(P,Y,ee,X,C,G,I,D):H(j,P,X,C,G,I,D)},x=(j,P,Y,ee,X,C,G,I)=>{let D,Z;const{props:fe,shapeFlag:ue,transition:S,dirs:m}=j;if(D=j.el=s(j.type,C,fe&&fe.is,fe),ue&8?h(D,j.children):ue&16&&F(j.children,D,null,ee,X,Bh(j,C),G,I),m&&js(j,null,ee,"created"),L(D,j,j.scopeId,G,ee),fe){for(const N in fe)N!=="value"&&!bu(N)&&o(D,N,null,fe[N],C,ee);"value"in fe&&o(D,"value",null,fe.value,C),(Z=fe.onVnodeBeforeMount)&&oo(Z,ee,j)}m&&js(j,null,ee,"beforeMount");const T=uC(X,S);T&&S.beforeEnter(D),r(D,P,Y),((Z=fe&&fe.onVnodeMounted)||T||m)&&Dr(()=>{Z&&oo(Z,ee,j),T&&S.enter(D),m&&js(j,null,ee,"mounted")},X)},L=(j,P,Y,ee,X)=>{if(Y&&f(j,Y),ee)for(let C=0;C<ee.length;C++)f(j,ee[C]);if(X){let C=X.subTree;if(P===C||tw(C.type)&&(C.ssContent===P||C.ssFallback===P)){const G=X.vnode;L(j,G,G.scopeId,G.slotScopeIds,X.parent)}}},F=(j,P,Y,ee,X,C,G,I,D=0)=>{for(let Z=D;Z<j.length;Z++){const fe=j[Z]=I?ms(j[Z]):co(j[Z]);g(null,fe,P,Y,ee,X,C,G,I)}},H=(j,P,Y,ee,X,C,G)=>{const I=P.el=j.el;let{patchFlag:D,dynamicChildren:Z,dirs:fe}=P;D|=j.patchFlag&16;const ue=j.props||dn,S=P.props||dn;let m;if(Y&&Ws(Y,!1),(m=S.onVnodeBeforeUpdate)&&oo(m,Y,P,j),fe&&js(P,j,Y,"beforeUpdate"),Y&&Ws(Y,!0),(ue.innerHTML&&S.innerHTML==null||ue.textContent&&S.textContent==null)&&h(I,""),Z?V(j.dynamicChildren,Z,I,Y,ee,Bh(P,X),C):G||oe(j,P,I,null,Y,ee,Bh(P,X),C,!1),D>0){if(D&16)ne(I,ue,S,Y,X);else if(D&2&&ue.class!==S.class&&o(I,"class",null,S.class,X),D&4&&o(I,"style",ue.style,S.style,X),D&8){const T=P.dynamicProps;for(let N=0;N<T.length;N++){const re=T[N],ce=ue[re],Ee=S[re];(Ee!==ce||re==="value")&&o(I,re,ce,Ee,X,Y)}}D&1&&j.children!==P.children&&h(I,P.children)}else!G&&Z==null&&ne(I,ue,S,Y,X);((m=S.onVnodeUpdated)||fe)&&Dr(()=>{m&&oo(m,Y,P,j),fe&&js(P,j,Y,"updated")},ee)},V=(j,P,Y,ee,X,C,G)=>{for(let I=0;I<P.length;I++){const D=j[I],Z=P[I],fe=D.el&&(D.type===Ye||!ea(D,Z)||D.shapeFlag&198)?l(D.el):Y;g(D,Z,fe,null,ee,X,C,G,!0)}},ne=(j,P,Y,ee,X)=>{if(P!==Y){if(P!==dn)for(const C in P)!bu(C)&&!(C in Y)&&o(j,C,P[C],null,X,ee);for(const C in Y){if(bu(C))continue;const G=Y[C],I=P[C];G!==I&&C!=="value"&&o(j,C,I,G,X,ee)}"value"in Y&&o(j,"value",P.value,Y.value,X)}},$=(j,P,Y,ee,X,C,G,I,D)=>{const Z=P.el=j?j.el:a(""),fe=P.anchor=j?j.anchor:a("");let{patchFlag:ue,dynamicChildren:S,slotScopeIds:m}=P;m&&(I=I?I.concat(m):m),j==null?(r(Z,Y,ee),r(fe,Y,ee),F(P.children||[],Y,fe,X,C,G,I,D)):ue>0&&ue&64&&S&&j.dynamicChildren?(V(j.dynamicChildren,S,Y,X,C,G,I),(P.key!=null||X&&P===X.subTree)&&fg(j,P,!0)):oe(j,P,Y,fe,X,C,G,I,D)},M=(j,P,Y,ee,X,C,G,I,D)=>{P.slotScopeIds=I,j==null?P.shapeFlag&512?X.ctx.activate(P,Y,ee,G,D):z(P,Y,ee,X,C,G,D):K(j,P,D)},z=(j,P,Y,ee,X,C,G)=>{const I=j.component=AC(j,ee,X);if(bc(j)&&(I.ctx.renderer=Se),RC(I,!1,G),I.asyncDep){if(X&&X.registerDep(I,B,G),!j.el){const D=I.subTree=Ve(Er);y(null,D,P,Y)}}else B(I,j,P,Y,X,C,G)},K=(j,P,Y)=>{const ee=P.component=j.component;if(vC(j,P,Y))if(ee.asyncDep&&!ee.asyncResolved){W(ee,P,Y);return}else ee.next=P,ee.update();else P.el=j.el,ee.vnode=P},B=(j,P,Y,ee,X,C,G)=>{const I=()=>{if(j.isMounted){let{next:ue,bu:S,u:m,parent:T,vnode:N}=j;{const Pe=Jb(j);if(Pe){ue&&(ue.el=N.el,W(j,ue,G)),Pe.asyncDep.then(()=>{j.isUnmounted||I()});return}}let re=ue,ce;Ws(j,!1),ue?(ue.el=N.el,W(j,ue,G)):ue=N,S&&If(S),(ce=ue.props&&ue.props.onVnodeBeforeUpdate)&&oo(ce,T,ue,N),Ws(j,!0);const Ee=kv(j),De=j.subTree;j.subTree=Ee,g(De,Ee,l(De.el),ie(De),j,X,C),ue.el=Ee.el,re===null&&yC(j,Ee.el),m&&Dr(m,X),(ce=ue.props&&ue.props.onVnodeUpdated)&&Dr(()=>oo(ce,T,ue,N),X)}else{let ue;const{el:S,props:m}=P,{bm:T,m:N,parent:re,root:ce,type:Ee}=j,De=il(P);Ws(j,!1),T&&If(T),!De&&(ue=m&&m.onVnodeBeforeMount)&&oo(ue,re,P),Ws(j,!0);{ce.ce&&ce.ce._def.shadowRoot!==!1&&ce.ce._injectChildStyle(Ee);const Pe=j.subTree=kv(j);g(null,Pe,Y,ee,j,X,C),P.el=Pe.el}if(N&&Dr(N,X),!De&&(ue=m&&m.onVnodeMounted)){const Pe=P;Dr(()=>oo(ue,re,Pe),X)}(P.shapeFlag&256||re&&il(re.vnode)&&re.vnode.shapeFlag&256)&&j.a&&Dr(j.a,X),j.isMounted=!0,P=Y=ee=null}};j.scope.on();const D=j.effect=new J1(I);j.scope.off();const Z=j.update=D.run.bind(D),fe=j.job=D.runIfDirty.bind(D);fe.i=j,fe.id=j.uid,D.scheduler=()=>sg(fe),Ws(j,!0),Z()},W=(j,P,Y)=>{P.component=j;const ee=j.vnode.props;j.vnode=P,j.next=null,nC(j,P.props,ee,Y),sC(j,P.children,Y),Ko(),dv(j),Xo()},oe=(j,P,Y,ee,X,C,G,I,D=!1)=>{const Z=j&&j.children,fe=j?j.shapeFlag:0,ue=P.children,{patchFlag:S,shapeFlag:m}=P;if(S>0){if(S&128){q(Z,ue,Y,ee,X,C,G,I,D);return}else if(S&256){se(Z,ue,Y,ee,X,C,G,I,D);return}}m&8?(fe&16&&be(Z,X,C),ue!==Z&&h(Y,ue)):fe&16?m&16?q(Z,ue,Y,ee,X,C,G,I,D):be(Z,X,C,!0):(fe&8&&h(Y,""),m&16&&F(ue,Y,ee,X,C,G,I,D))},se=(j,P,Y,ee,X,C,G,I,D)=>{j=j||tl,P=P||tl;const Z=j.length,fe=P.length,ue=Math.min(Z,fe);let S;for(S=0;S<ue;S++){const m=P[S]=D?ms(P[S]):co(P[S]);g(j[S],m,Y,null,X,C,G,I,D)}Z>fe?be(j,X,C,!0,!1,ue):F(P,Y,ee,X,C,G,I,D,ue)},q=(j,P,Y,ee,X,C,G,I,D)=>{let Z=0;const fe=P.length;let ue=j.length-1,S=fe-1;for(;Z<=ue&&Z<=S;){const m=j[Z],T=P[Z]=D?ms(P[Z]):co(P[Z]);if(ea(m,T))g(m,T,Y,null,X,C,G,I,D);else break;Z++}for(;Z<=ue&&Z<=S;){const m=j[ue],T=P[S]=D?ms(P[S]):co(P[S]);if(ea(m,T))g(m,T,Y,null,X,C,G,I,D);else break;ue--,S--}if(Z>ue){if(Z<=S){const m=S+1,T=m<fe?P[m].el:ee;for(;Z<=S;)g(null,P[Z]=D?ms(P[Z]):co(P[Z]),Y,T,X,C,G,I,D),Z++}}else if(Z>S)for(;Z<=ue;)Te(j[Z],X,C,!0),Z++;else{const m=Z,T=Z,N=new Map;for(Z=T;Z<=S;Z++){const tt=P[Z]=D?ms(P[Z]):co(P[Z]);tt.key!=null&&N.set(tt.key,Z)}let re,ce=0;const Ee=S-T+1;let De=!1,Pe=0;const Be=new Array(Ee);for(Z=0;Z<Ee;Z++)Be[Z]=0;for(Z=m;Z<=ue;Z++){const tt=j[Z];if(ce>=Ee){Te(tt,X,C,!0);continue}let pt;if(tt.key!=null)pt=N.get(tt.key);else for(re=T;re<=S;re++)if(Be[re-T]===0&&ea(tt,P[re])){pt=re;break}pt===void 0?Te(tt,X,C,!0):(Be[pt-T]=Z+1,pt>=Pe?Pe=pt:De=!0,g(tt,P[pt],Y,null,X,C,G,I,D),ce++)}const Qe=De?cC(Be):tl;for(re=Qe.length-1,Z=Ee-1;Z>=0;Z--){const tt=T+Z,pt=P[tt],mt=tt+1<fe?P[tt+1].el:ee;Be[Z]===0?g(null,pt,Y,mt,X,C,G,I,D):De&&(re<0||Z!==Qe[re]?pe(pt,Y,mt,2):re--)}}},pe=(j,P,Y,ee,X=null)=>{const{el:C,type:G,transition:I,children:D,shapeFlag:Z}=j;if(Z&6){pe(j.component.subTree,P,Y,ee);return}if(Z&128){j.suspense.move(P,Y,ee);return}if(Z&64){G.move(j,P,Y,Se);return}if(G===Ye){r(C,P,Y);for(let ue=0;ue<D.length;ue++)pe(D[ue],P,Y,ee);r(j.anchor,P,Y);return}if(G===Mf){A(j,P,Y);return}if(ee!==2&&Z&1&&I)if(ee===0)I.beforeEnter(C),r(C,P,Y),Dr(()=>I.enter(C),X);else{const{leave:ue,delayLeave:S,afterLeave:m}=I,T=()=>{j.ctx.isUnmounted?i(C):r(C,P,Y)},N=()=>{ue(C,()=>{T(),m&&m()})};S?S(C,T,N):N()}else r(C,P,Y)},Te=(j,P,Y,ee=!1,X=!1)=>{const{type:C,props:G,ref:I,children:D,dynamicChildren:Z,shapeFlag:fe,patchFlag:ue,dirs:S,cacheIndex:m}=j;if(ue===-2&&(X=!1),I!=null&&(Ko(),Eu(I,null,Y,j,!0),Xo()),m!=null&&(P.renderCache[m]=void 0),fe&256){P.ctx.deactivate(j);return}const T=fe&1&&S,N=!il(j);let re;if(N&&(re=G&&G.onVnodeBeforeUnmount)&&oo(re,P,j),fe&6)Ae(j.component,Y,ee);else{if(fe&128){j.suspense.unmount(Y,ee);return}T&&js(j,null,P,"beforeUnmount"),fe&64?j.type.remove(j,P,Y,Se,ee):Z&&!Z.hasOnce&&(C!==Ye||ue>0&&ue&64)?be(Z,P,Y,!1,!0):(C===Ye&&ue&384||!X&&fe&16)&&be(D,P,Y),ee&&_e(j)}(N&&(re=G&&G.onVnodeUnmounted)||T)&&Dr(()=>{re&&oo(re,P,j),T&&js(j,null,P,"unmounted")},Y)},_e=j=>{const{type:P,el:Y,anchor:ee,transition:X}=j;if(P===Ye){ye(Y,ee);return}if(P===Mf){k(j);return}const C=()=>{i(Y),X&&!X.persisted&&X.afterLeave&&X.afterLeave()};if(j.shapeFlag&1&&X&&!X.persisted){const{leave:G,delayLeave:I}=X,D=()=>G(Y,C);I?I(j.el,C,D):D()}else C()},ye=(j,P)=>{let Y;for(;j!==P;)Y=d(j),i(j),j=Y;i(P)},Ae=(j,P,Y)=>{const{bum:ee,scope:X,job:C,subTree:G,um:I,m:D,a:Z,parent:fe,slots:{__:ue}}=j;Ev(D),Ev(Z),ee&&If(ee),fe&&at(ue)&&ue.forEach(S=>{fe.renderCache[S]=void 0}),X.stop(),C&&(C.flags|=8,Te(G,j,P,Y)),I&&Dr(I,P),Dr(()=>{j.isUnmounted=!0},P),P&&P.pendingBranch&&!P.isUnmounted&&j.asyncDep&&!j.asyncResolved&&j.suspenseId===P.pendingId&&(P.deps--,P.deps===0&&P.resolve())},be=(j,P,Y,ee=!1,X=!1,C=0)=>{for(let G=C;G<j.length;G++)Te(j[G],P,Y,ee,X)},ie=j=>{if(j.shapeFlag&6)return ie(j.component.subTree);if(j.shapeFlag&128)return j.suspense.next();const P=d(j.anchor||j.el),Y=P&&P[Tb];return Y?d(Y):P};let le=!1;const he=(j,P,Y)=>{j==null?P._vnode&&Te(P._vnode,null,null,!0):g(P._vnode||null,j,P,null,null,null,Y),P._vnode=j,le||(le=!0,dv(),bb(),le=!1)},Se={p:g,um:Te,m:pe,r:_e,mt:z,mc:F,pc:oe,pbc:V,n:ie,o:t};return{render:he,hydrate:void 0,createApp:eC(he)}}function Bh({type:t,props:e},n){return n==="svg"&&t==="foreignObject"||n==="mathml"&&t==="annotation-xml"&&e&&e.encoding&&e.encoding.includes("html")?void 0:n}function Ws({effect:t,job:e},n){n?(t.flags|=32,e.flags|=4):(t.flags&=-33,e.flags&=-5)}function uC(t,e){return(!t||t&&!t.pendingBranch)&&e&&!e.persisted}function fg(t,e,n=!1){const r=t.children,i=e.children;if(at(r)&&at(i))for(let o=0;o<r.length;o++){const s=r[o];let a=i[o];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=i[o]=ms(i[o]),a.el=s.el),!n&&a.patchFlag!==-2&&fg(s,a)),a.type===Ec&&(a.el=s.el),a.type===Er&&!a.el&&(a.el=s.el)}}function cC(t){const e=t.slice(),n=[0];let r,i,o,s,a;const u=t.length;for(r=0;r<u;r++){const c=t[r];if(c!==0){if(i=n[n.length-1],t[i]<c){e[r]=i,n.push(r);continue}for(o=0,s=n.length-1;o<s;)a=o+s>>1,t[n[a]]<c?o=a+1:s=a;c<t[n[o]]&&(o>0&&(e[r]=n[o-1]),n[o]=r)}}for(o=n.length,s=n[o-1];o-- >0;)n[o]=s,s=e[s];return n}function Jb(t){const e=t.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:Jb(e)}function Ev(t){if(t)for(let e=0;e<t.length;e++)t[e].flags|=8}const fC=Symbol.for("v-scx"),dC=()=>Yr(fC);function Tc(t,e){return dg(t,null,e)}function Ne(t,e,n){return dg(t,e,n)}function dg(t,e,n=dn){const{immediate:r,deep:i,flush:o,once:s}=n,a=ar({},n),u=e&&r||!e&&o!=="post";let c;if(gl){if(o==="sync"){const f=dC();c=f.__watcherHandles||(f.__watcherHandles=[])}else if(!u){const f=()=>{};return f.stop=yo,f.resume=yo,f.pause=yo,f}}const h=Jn;a.call=(f,_,g)=>Gi(f,h,_,g);let l=!1;o==="post"?a.scheduler=f=>{Dr(f,h&&h.suspense)}:o!=="sync"&&(l=!0,a.scheduler=(f,_)=>{_?f():sg(f)}),a.augmentJob=f=>{e&&(f.flags|=4),l&&(f.flags|=2,h&&(f.id=h.uid,f.i=h))};const d=PR(t,e,a);return gl&&(c?c.push(d):u&&d()),d}function hC(t,e,n){const r=this.proxy,i=Rn(t)?t.includes(".")?Zb(r,t):()=>r[t]:t.bind(r,r);let o;ft(e)?o=e:(o=e.handler,n=e);const s=kc(this),a=dg(i,o.bind(r),n);return s(),a}function Zb(t,e){const n=e.split(".");return()=>{let r=t;for(let i=0;i<n.length&&r;i++)r=r[n[i]];return r}}const pC=(t,e)=>e==="modelValue"||e==="model-value"?t.modelModifiers:t[`${e}Modifiers`]||t[`${Fi(e)}Modifiers`]||t[`${Ra(e)}Modifiers`];function mC(t,e,...n){if(t.isUnmounted)return;const r=t.vnode.props||dn;let i=n;const o=e.startsWith("update:"),s=o&&pC(r,e.slice(7));s&&(s.trim&&(i=n.map(h=>Rn(h)?h.trim():h)),s.number&&(i=n.map(rd)));let a,u=r[a=Lh(e)]||r[a=Lh(Fi(e))];!u&&o&&(u=r[a=Lh(Ra(e))]),u&&Gi(u,t,6,i);const c=r[a+"Once"];if(c){if(!t.emitted)t.emitted={};else if(t.emitted[a])return;t.emitted[a]=!0,Gi(c,t,6,i)}}function ew(t,e,n=!1){const r=e.emitsCache,i=r.get(t);if(i!==void 0)return i;const o=t.emits;let s={},a=!1;if(!ft(t)){const u=c=>{const h=ew(c,e,!0);h&&(a=!0,ar(s,h))};!n&&e.mixins.length&&e.mixins.forEach(u),t.extends&&u(t.extends),t.mixins&&t.mixins.forEach(u)}return!o&&!a?(sn(t)&&r.set(t,null),null):(at(o)?o.forEach(u=>s[u]=null):ar(s,o),sn(t)&&r.set(t,s),s)}function Kd(t,e){return!t||!Bd(e)?!1:(e=e.slice(2).replace(/Once$/,""),tn(t,e[0].toLowerCase()+e.slice(1))||tn(t,Ra(e))||tn(t,e))}function kv(t){const{type:e,vnode:n,proxy:r,withProxy:i,propsOptions:[o],slots:s,attrs:a,emit:u,render:c,renderCache:h,props:l,data:d,setupState:f,ctx:_,inheritAttrs:g}=t,b=ld(t);let y,w;try{if(n.shapeFlag&4){const k=i||r,R=k;y=co(c.call(R,k,h,l,f,d,_)),w=a}else{const k=e;y=co(k.length>1?k(l,{attrs:a,slots:s,emit:u}):k(l,null)),w=e.props?a:gC(a)}}catch(k){Au.length=0,yc(k,t,1),y=Ve(Er)}let A=y;if(w&&g!==!1){const k=Object.keys(w),{shapeFlag:R}=A;k.length&&R&7&&(o&&k.some(Gm)&&(w=_C(w,o)),A=Ps(A,w,!1,!0))}return n.dirs&&(A=Ps(A,null,!1,!0),A.dirs=A.dirs?A.dirs.concat(n.dirs):n.dirs),n.transition&&Ku(A,n.transition),y=A,ld(b),y}const gC=t=>{let e;for(const n in t)(n==="class"||n==="style"||Bd(n))&&((e||(e={}))[n]=t[n]);return e},_C=(t,e)=>{const n={};for(const r in t)(!Gm(r)||!(r.slice(9)in e))&&(n[r]=t[r]);return n};function vC(t,e,n){const{props:r,children:i,component:o}=t,{props:s,children:a,patchFlag:u}=e,c=o.emitsOptions;if(e.dirs||e.transition)return!0;if(n&&u>=0){if(u&1024)return!0;if(u&16)return r?Av(r,s,c):!!s;if(u&8){const h=e.dynamicProps;for(let l=0;l<h.length;l++){const d=h[l];if(s[d]!==r[d]&&!Kd(c,d))return!0}}}else return(i||a)&&(!a||!a.$stable)?!0:r===s?!1:r?s?Av(r,s,c):!0:!!s;return!1}function Av(t,e,n){const r=Object.keys(e);if(r.length!==Object.keys(t).length)return!0;for(let i=0;i<r.length;i++){const o=r[i];if(e[o]!==t[o]&&!Kd(n,o))return!0}return!1}function yC({vnode:t,parent:e},n){for(;e;){const r=e.subTree;if(r.suspense&&r.suspense.activeBranch===t&&(r.el=t.el),r===t)(t=e.vnode).el=n,e=e.parent;else break}}const tw=t=>t.__isSuspense;function bC(t,e){e&&e.pendingBranch?at(t)?e.effects.push(...t):e.effects.push(t):OR(t)}const Ye=Symbol.for("v-fgt"),Ec=Symbol.for("v-txt"),Er=Symbol.for("v-cmt"),Mf=Symbol.for("v-stc"),Au=[];let ci=null;function ae(t=!1){Au.push(ci=t?null:[])}function wC(){Au.pop(),ci=Au[Au.length-1]||null}let Xu=1;function Rv(t,e=!1){Xu+=t,t<0&&ci&&e&&(ci.hasOnce=!0)}function nw(t){return t.dynamicChildren=Xu>0?ci||tl:null,wC(),Xu>0&&ci&&ci.push(t),t}function me(t,e,n,r,i,o){return nw(J(t,e,n,r,i,o,!0))}function Kt(t,e,n,r,i){return nw(Ve(t,e,n,r,i,!0))}function Qu(t){return t?t.__v_isVNode===!0:!1}function ea(t,e){return t.type===e.type&&t.key===e.key}const rw=({key:t})=>t??null,Ff=({ref:t,ref_key:e,ref_for:n})=>(typeof t=="number"&&(t=""+t),t!=null?Rn(t)||vn(t)||ft(t)?{i:er,r:t,k:e,f:!!n}:t:null);function J(t,e=null,n=null,r=0,i=null,o=t===Ye?0:1,s=!1,a=!1){const u={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&rw(e),ref:e&&Ff(e),scopeId:Sb,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:er};return a?(hg(u,n),o&128&&t.normalize(u)):n&&(u.shapeFlag|=Rn(n)?8:16),Xu>0&&!s&&ci&&(u.patchFlag>0||o&6)&&u.patchFlag!==32&&ci.push(u),u}const Ve=SC;function SC(t,e=null,n=null,r=0,i=null,o=!1){if((!t||t===$b)&&(t=Er),Qu(t)){const a=Ps(t,e,!0);return n&&hg(a,n),Xu>0&&!o&&ci&&(a.shapeFlag&6?ci[ci.indexOf(t)]=a:ci.push(a)),a.patchFlag=-2,a}if(LC(t)&&(t=t.__vccOpts),e){e=TC(e);let{class:a,style:u}=e;a&&!Rn(a)&&(e.class=st(a)),sn(u)&&(ig(u)&&!at(u)&&(u=ar({},u)),e.style=Xm(u))}const s=Rn(t)?1:tw(t)?128:Eb(t)?64:sn(t)?4:ft(t)?2:0;return J(t,e,n,r,i,s,o,!0)}function TC(t){return t?ig(t)||qb(t)?ar({},t):t:null}function Ps(t,e,n=!1,r=!1){const{props:i,ref:o,patchFlag:s,children:a,transition:u}=t,c=e?iw(i||{},e):i,h={__v_isVNode:!0,__v_skip:!0,type:t.type,props:c,key:c&&rw(c),ref:e&&e.ref?n&&o?at(o)?o.concat(Ff(e)):[o,Ff(e)]:Ff(e):o,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:a,target:t.target,targetStart:t.targetStart,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==Ye?s===-1?16:s|16:s,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:u,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&Ps(t.ssContent),ssFallback:t.ssFallback&&Ps(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce};return u&&r&&Ku(h,u.clone(h)),h}function Ju(t=" ",e=0){return Ve(Ec,null,t,e)}function m8(t,e){const n=Ve(Mf,null,t);return n.staticCount=e,n}function bt(t="",e=!1){return e?(ae(),Kt(Er,null,t)):Ve(Er,null,t)}function co(t){return t==null||typeof t=="boolean"?Ve(Er):at(t)?Ve(Ye,null,t.slice()):Qu(t)?ms(t):Ve(Ec,null,String(t))}function ms(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:Ps(t)}function hg(t,e){let n=0;const{shapeFlag:r}=t;if(e==null)e=null;else if(at(e))n=16;else if(typeof e=="object")if(r&65){const i=e.default;i&&(i._c&&(i._d=!1),hg(t,i()),i._c&&(i._d=!0));return}else{n=32;const i=e._;!i&&!qb(e)?e._ctx=er:i===3&&er&&(er.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else ft(e)?(e={default:e,_ctx:er},n=32):(e=String(e),r&64?(n=16,e=[Ju(e)]):n=8);t.children=e,t.shapeFlag|=n}function iw(...t){const e={};for(let n=0;n<t.length;n++){const r=t[n];for(const i in r)if(i==="class")e.class!==r.class&&(e.class=st([e.class,r.class]));else if(i==="style")e.style=Xm([e.style,r.style]);else if(Bd(i)){const o=e[i],s=r[i];s&&o!==s&&!(at(o)&&o.includes(s))&&(e[i]=o?[].concat(o,s):s)}else i!==""&&(e[i]=r[i])}return e}function oo(t,e,n,r=null){Gi(t,e,7,[n,r])}const EC=Ub();let kC=0;function AC(t,e,n){const r=t.type,i=(e?e.appContext:t.appContext)||EC,o={uid:kC++,vnode:t,type:r,parent:e,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new X1(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:e?e.provides:Object.create(i.provides),ids:e?e.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Yb(r,i),emitsOptions:ew(r,i),emit:null,emitted:null,propsDefaults:dn,inheritAttrs:r.inheritAttrs,ctx:dn,data:dn,props:dn,attrs:dn,slots:dn,refs:dn,setupState:dn,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return o.ctx={_:o},o.root=e?e.root:o,o.emit=mC.bind(null,o),t.ce&&t.ce(o),o}let Jn=null;const xl=()=>Jn||er;let cd,Dp;{const t=Wd(),e=(n,r)=>{let i;return(i=t[n])||(i=t[n]=[]),i.push(r),o=>{i.length>1?i.forEach(s=>s(o)):i[0](o)}};cd=e("__VUE_INSTANCE_SETTERS__",n=>Jn=n),Dp=e("__VUE_SSR_SETTERS__",n=>gl=n)}const kc=t=>{const e=Jn;return cd(t),t.scope.on(),()=>{t.scope.off(),cd(e)}},Cv=()=>{Jn&&Jn.scope.off(),cd(null)};function ow(t){return t.vnode.shapeFlag&4}let gl=!1;function RC(t,e=!1,n=!1){e&&Dp(e);const{props:r,children:i}=t.vnode,o=ow(t);tC(t,r,o,e),oC(t,i,n||e);const s=o?CC(t,e):void 0;return e&&Dp(!1),s}function CC(t,e){const n=t.type;t.accessCache=Object.create(null),t.proxy=new Proxy(t.ctx,GR);const{setup:r}=n;if(r){Ko();const i=t.setupContext=r.length>1?PC(t):null,o=kc(t),s=vc(r,t,0,[t.props,i]),a=W1(s);if(Xo(),o(),(a||t.sp)&&!il(t)&&ag(t),a){if(s.then(Cv,Cv),e)return s.then(u=>{xv(t,u)}).catch(u=>{yc(u,t,0)});t.asyncDep=s}else xv(t,s)}else sw(t)}function xv(t,e,n){ft(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:sn(e)&&(t.setupState=mb(e)),sw(t)}function sw(t,e,n){const r=t.type;t.render||(t.render=r.render||yo);{const i=kc(t);Ko();try{YR(t)}finally{Xo(),i()}}}const xC={get(t,e){return Tr(t,"get",""),t[e]}};function PC(t){const e=n=>{t.exposed=n||{}};return{attrs:new Proxy(t.attrs,xC),slots:t.slots,emit:t.emit,expose:e}}function Xd(t){return t.exposed?t.exposeProxy||(t.exposeProxy=new Proxy(mb(og(t.exposed)),{get(e,n){if(n in e)return e[n];if(n in ku)return ku[n](t)},has(e,n){return n in e||n in ku}})):t.proxy}function IC(t,e=!0){return ft(t)?t.displayName||t.name:t.name||e&&t.__name}function LC(t){return ft(t)&&"__vccOpts"in t}const xe=(t,e)=>CR(t,e,gl);function Ac(t,e,n){const r=arguments.length;return r===2?sn(e)&&!at(e)?Qu(e)?Ve(t,null,[e]):Ve(t,e):Ve(t,null,e):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Qu(n)&&(n=[n]),Ve(t,e,n))}const OC="3.5.17";/**
* @vue/runtime-dom v3.5.17
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let $p;const Pv=typeof window<"u"&&window.trustedTypes;if(Pv)try{$p=Pv.createPolicy("vue",{createHTML:t=>t})}catch{}const aw=$p?t=>$p.createHTML(t):t=>t,MC="http://www.w3.org/2000/svg",FC="http://www.w3.org/1998/Math/MathML",Oo=typeof document<"u"?document:null,Iv=Oo&&Oo.createElement("template"),DC={insert:(t,e,n)=>{e.insertBefore(t,n||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,n,r)=>{const i=e==="svg"?Oo.createElementNS(MC,t):e==="mathml"?Oo.createElementNS(FC,t):n?Oo.createElement(t,{is:n}):Oo.createElement(t);return t==="select"&&r&&r.multiple!=null&&i.setAttribute("multiple",r.multiple),i},createText:t=>Oo.createTextNode(t),createComment:t=>Oo.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>Oo.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,n,r,i,o){const s=n?n.previousSibling:e.lastChild;if(i&&(i===o||i.nextSibling))for(;e.insertBefore(i.cloneNode(!0),n),!(i===o||!(i=i.nextSibling)););else{Iv.innerHTML=aw(r==="svg"?`<svg>${t}</svg>`:r==="mathml"?`<math>${t}</math>`:t);const a=Iv.content;if(r==="svg"||r==="mathml"){const u=a.firstChild;for(;u.firstChild;)a.appendChild(u.firstChild);a.removeChild(u)}e.insertBefore(a,n)}return[s?s.nextSibling:e.firstChild,n?n.previousSibling:e.lastChild]}},ss="transition",Jl="animation",Zu=Symbol("_vtc"),lw={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},$C=ar({},Rb,lw),HC=t=>(t.displayName="Transition",t.props=$C,t),g8=HC((t,{slots:e})=>Ac(NR,NC(t),e)),zs=(t,e=[])=>{at(t)?t.forEach(n=>n(...e)):t&&t(...e)},Lv=t=>t?at(t)?t.some(e=>e.length>1):t.length>1:!1;function NC(t){const e={};for(const $ in t)$ in lw||(e[$]=t[$]);if(t.css===!1)return e;const{name:n="v",type:r,duration:i,enterFromClass:o=`${n}-enter-from`,enterActiveClass:s=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:u=o,appearActiveClass:c=s,appearToClass:h=a,leaveFromClass:l=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:f=`${n}-leave-to`}=t,_=BC(i),g=_&&_[0],b=_&&_[1],{onBeforeEnter:y,onEnter:w,onEnterCancelled:A,onLeave:k,onLeaveCancelled:R,onBeforeAppear:x=y,onAppear:L=w,onAppearCancelled:F=A}=e,H=($,M,z,K)=>{$._enterCancelled=K,qs($,M?h:a),qs($,M?c:s),z&&z()},V=($,M)=>{$._isLeaving=!1,qs($,l),qs($,f),qs($,d),M&&M()},ne=$=>(M,z)=>{const K=$?L:w,B=()=>H(M,$,z);zs(K,[M,B]),Ov(()=>{qs(M,$?u:o),Po(M,$?h:a),Lv(K)||Mv(M,r,g,B)})};return ar(e,{onBeforeEnter($){zs(y,[$]),Po($,o),Po($,s)},onBeforeAppear($){zs(x,[$]),Po($,u),Po($,c)},onEnter:ne(!1),onAppear:ne(!0),onLeave($,M){$._isLeaving=!0;const z=()=>V($,M);Po($,l),$._enterCancelled?(Po($,d),$v()):($v(),Po($,d)),Ov(()=>{$._isLeaving&&(qs($,l),Po($,f),Lv(k)||Mv($,r,b,z))}),zs(k,[$,z])},onEnterCancelled($){H($,!1,void 0,!0),zs(A,[$])},onAppearCancelled($){H($,!0,void 0,!0),zs(F,[$])},onLeaveCancelled($){V($),zs(R,[$])}})}function BC(t){if(t==null)return null;if(sn(t))return[Vh(t.enter),Vh(t.leave)];{const e=Vh(t);return[e,e]}}function Vh(t){return qA(t)}function Po(t,e){e.split(/\s+/).forEach(n=>n&&t.classList.add(n)),(t[Zu]||(t[Zu]=new Set)).add(e)}function qs(t,e){e.split(/\s+/).forEach(r=>r&&t.classList.remove(r));const n=t[Zu];n&&(n.delete(e),n.size||(t[Zu]=void 0))}function Ov(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let VC=0;function Mv(t,e,n,r){const i=t._endId=++VC,o=()=>{i===t._endId&&r()};if(n!=null)return setTimeout(o,n);const{type:s,timeout:a,propCount:u}=UC(t,e);if(!s)return r();const c=s+"end";let h=0;const l=()=>{t.removeEventListener(c,d),o()},d=f=>{f.target===t&&++h>=u&&l()};setTimeout(()=>{h<u&&l()},a+1),t.addEventListener(c,d)}function UC(t,e){const n=window.getComputedStyle(t),r=_=>(n[_]||"").split(", "),i=r(`${ss}Delay`),o=r(`${ss}Duration`),s=Fv(i,o),a=r(`${Jl}Delay`),u=r(`${Jl}Duration`),c=Fv(a,u);let h=null,l=0,d=0;e===ss?s>0&&(h=ss,l=s,d=o.length):e===Jl?c>0&&(h=Jl,l=c,d=u.length):(l=Math.max(s,c),h=l>0?s>c?ss:Jl:null,d=h?h===ss?o.length:u.length:0);const f=h===ss&&/\b(transform|all)(,|$)/.test(r(`${ss}Property`).toString());return{type:h,timeout:l,propCount:d,hasTransform:f}}function Fv(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max(...e.map((n,r)=>Dv(n)+Dv(t[r])))}function Dv(t){return t==="auto"?0:Number(t.slice(0,-1).replace(",","."))*1e3}function $v(){return document.body.offsetHeight}function jC(t,e,n){const r=t[Zu];r&&(e=(e?[e,...r]:[...r]).join(" ")),e==null?t.removeAttribute("class"):n?t.setAttribute("class",e):t.className=e}const fd=Symbol("_vod"),uw=Symbol("_vsh"),WC={beforeMount(t,{value:e},{transition:n}){t[fd]=t.style.display==="none"?"":t.style.display,n&&e?n.beforeEnter(t):Zl(t,e)},mounted(t,{value:e},{transition:n}){n&&e&&n.enter(t)},updated(t,{value:e,oldValue:n},{transition:r}){!e!=!n&&(r?e?(r.beforeEnter(t),Zl(t,!0),r.enter(t)):r.leave(t,()=>{Zl(t,!1)}):Zl(t,e))},beforeUnmount(t,{value:e}){Zl(t,e)}};function Zl(t,e){t.style.display=e?t[fd]:"none",t[uw]=!e}const zC=Symbol(""),qC=/(^|;)\s*display\s*:/;function GC(t,e,n){const r=t.style,i=Rn(n);let o=!1;if(n&&!i){if(e)if(Rn(e))for(const s of e.split(";")){const a=s.slice(0,s.indexOf(":")).trim();n[a]==null&&Df(r,a,"")}else for(const s in e)n[s]==null&&Df(r,s,"");for(const s in n)s==="display"&&(o=!0),Df(r,s,n[s])}else if(i){if(e!==n){const s=r[zC];s&&(n+=";"+s),r.cssText=n,o=qC.test(n)}}else e&&t.removeAttribute("style");fd in t&&(t[fd]=o?r.display:"",t[uw]&&(r.display="none"))}const Hv=/\s*!important$/;function Df(t,e,n){if(at(n))n.forEach(r=>Df(t,e,r));else if(n==null&&(n=""),e.startsWith("--"))t.setProperty(e,n);else{const r=YC(t,e);Hv.test(n)?t.setProperty(Ra(r),n.replace(Hv,""),"important"):t[r]=n}}const Nv=["Webkit","Moz","ms"],Uh={};function YC(t,e){const n=Uh[e];if(n)return n;let r=Fi(e);if(r!=="filter"&&r in t)return Uh[e]=r;r=jd(r);for(let i=0;i<Nv.length;i++){const o=Nv[i]+r;if(o in t)return Uh[e]=o}return e}const Bv="http://www.w3.org/1999/xlink";function Vv(t,e,n,r,i,o=JA(e)){r&&e.startsWith("xlink:")?n==null?t.removeAttributeNS(Bv,e.slice(6,e.length)):t.setAttributeNS(Bv,e,n):n==null||o&&!G1(n)?t.removeAttribute(e):t.setAttribute(e,o?"":qi(n)?String(n):n)}function Uv(t,e,n,r,i){if(e==="innerHTML"||e==="textContent"){n!=null&&(t[e]=e==="innerHTML"?aw(n):n);return}const o=t.tagName;if(e==="value"&&o!=="PROGRESS"&&!o.includes("-")){const a=o==="OPTION"?t.getAttribute("value")||"":t.value,u=n==null?t.type==="checkbox"?"on":"":String(n);(a!==u||!("_value"in t))&&(t.value=u),n==null&&t.removeAttribute(e),t._value=n;return}let s=!1;if(n===""||n==null){const a=typeof t[e];a==="boolean"?n=G1(n):n==null&&a==="string"?(n="",s=!0):a==="number"&&(n=0,s=!0)}try{t[e]=n}catch{}s&&t.removeAttribute(i||e)}function ta(t,e,n,r){t.addEventListener(e,n,r)}function KC(t,e,n,r){t.removeEventListener(e,n,r)}const jv=Symbol("_vei");function XC(t,e,n,r,i=null){const o=t[jv]||(t[jv]={}),s=o[e];if(r&&s)s.value=r;else{const[a,u]=QC(e);if(r){const c=o[e]=ex(r,i);ta(t,a,c,u)}else s&&(KC(t,a,s,u),o[e]=void 0)}}const Wv=/(?:Once|Passive|Capture)$/;function QC(t){let e;if(Wv.test(t)){e={};let r;for(;r=t.match(Wv);)t=t.slice(0,t.length-r[0].length),e[r[0].toLowerCase()]=!0}return[t[2]===":"?t.slice(3):Ra(t.slice(2)),e]}let jh=0;const JC=Promise.resolve(),ZC=()=>jh||(JC.then(()=>jh=0),jh=Date.now());function ex(t,e){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Gi(tx(r,n.value),e,5,[r])};return n.value=t,n.attached=ZC(),n}function tx(t,e){if(at(e)){const n=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{n.call(t),t._stopped=!0},e.map(r=>i=>!i._stopped&&r&&r(i))}else return e}const zv=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,nx=(t,e,n,r,i,o)=>{const s=i==="svg";e==="class"?jC(t,r,s):e==="style"?GC(t,n,r):Bd(e)?Gm(e)||XC(t,e,n,r,o):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):rx(t,e,r,s))?(Uv(t,e,r),!t.tagName.includes("-")&&(e==="value"||e==="checked"||e==="selected")&&Vv(t,e,r,s,o,e!=="value")):t._isVueCE&&(/[A-Z]/.test(e)||!Rn(r))?Uv(t,Fi(e),r,o,e):(e==="true-value"?t._trueValue=r:e==="false-value"&&(t._falseValue=r),Vv(t,e,r,s))};function rx(t,e,n,r){if(r)return!!(e==="innerHTML"||e==="textContent"||e in t&&zv(e)&&ft(n));if(e==="spellcheck"||e==="draggable"||e==="translate"||e==="autocorrect"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA")return!1;if(e==="width"||e==="height"){const i=t.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return zv(e)&&Rn(n)?!1:e in t}const dd=t=>{const e=t.props["onUpdate:modelValue"]||!1;return at(e)?n=>If(e,n):e};function ix(t){t.target.composing=!0}function qv(t){const e=t.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const ol=Symbol("_assign"),_8={created(t,{modifiers:{lazy:e,trim:n,number:r}},i){t[ol]=dd(i);const o=r||i.props&&i.props.type==="number";ta(t,e?"change":"input",s=>{if(s.target.composing)return;let a=t.value;n&&(a=a.trim()),o&&(a=rd(a)),t[ol](a)}),n&&ta(t,"change",()=>{t.value=t.value.trim()}),e||(ta(t,"compositionstart",ix),ta(t,"compositionend",qv),ta(t,"change",qv))},mounted(t,{value:e}){t.value=e??""},beforeUpdate(t,{value:e,oldValue:n,modifiers:{lazy:r,trim:i,number:o}},s){if(t[ol]=dd(s),t.composing)return;const a=(o||t.type==="number")&&!/^0\d/.test(t.value)?rd(t.value):t.value,u=e??"";a!==u&&(document.activeElement===t&&t.type!=="range"&&(r&&e===n||i&&t.value.trim()===u)||(t.value=u))}},v8={deep:!0,created(t,{value:e,modifiers:{number:n}},r){const i=Vd(e);ta(t,"change",()=>{const o=Array.prototype.filter.call(t.options,s=>s.selected).map(s=>n?rd(hd(s)):hd(s));t[ol](t.multiple?i?new Set(o):o:o[0]),t._assigning=!0,Lt(()=>{t._assigning=!1})}),t[ol]=dd(r)},mounted(t,{value:e}){Gv(t,e)},beforeUpdate(t,e,n){t[ol]=dd(n)},updated(t,{value:e}){t._assigning||Gv(t,e)}};function Gv(t,e){const n=t.multiple,r=at(e);if(!(n&&!r&&!Vd(e))){for(let i=0,o=t.options.length;i<o;i++){const s=t.options[i],a=hd(s);if(n)if(r){const u=typeof a;u==="string"||u==="number"?s.selected=e.some(c=>String(c)===String(a)):s.selected=eR(e,a)>-1}else s.selected=e.has(a);else if(zd(hd(s),e)){t.selectedIndex!==i&&(t.selectedIndex=i);return}}!n&&t.selectedIndex!==-1&&(t.selectedIndex=-1)}}function hd(t){return"_value"in t?t._value:t.value}const ox=["ctrl","shift","alt","meta"],sx={stop:t=>t.stopPropagation(),prevent:t=>t.preventDefault(),self:t=>t.target!==t.currentTarget,ctrl:t=>!t.ctrlKey,shift:t=>!t.shiftKey,alt:t=>!t.altKey,meta:t=>!t.metaKey,left:t=>"button"in t&&t.button!==0,middle:t=>"button"in t&&t.button!==1,right:t=>"button"in t&&t.button!==2,exact:(t,e)=>ox.some(n=>t[`${n}Key`]&&!e.includes(n))},Yv=(t,e)=>{const n=t._withMods||(t._withMods={}),r=e.join(".");return n[r]||(n[r]=(i,...o)=>{for(let s=0;s<e.length;s++){const a=sx[e[s]];if(a&&a(i,e))return}return t(i,...o)})},ax=ar({patchProp:nx},DC);let Kv;function lx(){return Kv||(Kv=aC(ax))}const ux=(...t)=>{const e=lx().createApp(...t),{mount:n}=e;return e.mount=r=>{const i=fx(r);if(!i)return;const o=e._component;!ft(o)&&!o.render&&!o.template&&(o.template=i.innerHTML),i.nodeType===1&&(i.textContent="");const s=n(i,!1,cx(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),s},e};function cx(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function fx(t){return Rn(t)?document.querySelector(t):t}/*!
* vue-i18n v10.0.8
* (c) 2025 kazuya kawaguchi
* Released under the MIT License.
*/const dx="10.0.8";function hx(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Nm().__INTLIFY_PROD_DEVTOOLS__=!1)}const $i={UNEXPECTED_RETURN_TYPE:sA,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32};function Yi(t,...e){return Hd(t,null,void 0)}const Hp=Fs("__translateVNode"),Np=Fs("__datetimeParts"),Bp=Fs("__numberParts"),px=Fs("__setPluralRules"),mx=Fs("__injectWithOption"),Vp=Fs("__dispose");function ec(t){if(!Yt(t)||vo(t))return t;for(const e in t)if(ji(t,e))if(!e.includes("."))Yt(t[e])&&ec(t[e]);else{const n=e.split("."),r=n.length-1;let i=t,o=!1;for(let s=0;s<r;s++){if(n[s]==="__proto__")throw new Error(`unsafe key: ${n[s]}`);if(n[s]in i||(i[n[s]]=on()),!Yt(i[n[s]])){o=!0;break}i=i[n[s]]}if(o||(vo(i)?O1.includes(n[r])||delete t[e]:(i[n[r]]=t[e],delete t[e])),!vo(i)){const s=i[n[r]];Yt(s)&&ec(s)}}return t}function cw(t,e){const{messages:n,__i18n:r,messageResolver:i,flatJson:o}=e,s=Bt(n)?n:Zn(r)?on():{[t]:on()};if(Zn(r)&&r.forEach(a=>{if("locale"in a&&"resource"in a){const{locale:u,resource:c}=a;u?(s[u]=s[u]||on(),Pf(c,s[u])):Pf(c,s)}else et(a)&&Pf(JSON.parse(a),s)}),i==null&&o)for(const a in s)ji(s,a)&&ec(s[a]);return s}function fw(t){return t.type}function gx(t,e,n){let r=Yt(e.messages)?e.messages:on();"__i18nGlobal"in n&&(r=cw(t.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const i=Object.keys(r);i.length&&i.forEach(o=>{t.mergeLocaleMessage(o,r[o])});{if(Yt(e.datetimeFormats)){const o=Object.keys(e.datetimeFormats);o.length&&o.forEach(s=>{t.mergeDateTimeFormat(s,e.datetimeFormats[s])})}if(Yt(e.numberFormats)){const o=Object.keys(e.numberFormats);o.length&&o.forEach(s=>{t.mergeNumberFormat(s,e.numberFormats[s])})}}}function Xv(t){return Ve(Ec,null,t,0)}const Qv="__INTLIFY_META__",Jv=()=>[],_x=()=>!1;let Zv=0;function e0(t){return(e,n,r,i)=>t(n,r,xl()||void 0,i)}const vx=()=>{const t=xl();let e=null;return t&&(e=fw(t)[Qv])?{[Qv]:e}:null};function dw(t={}){const{__root:e,__injectWithOption:n}=t,r=e===void 0,i=t.flatJson,o=ed?U:_a;let s=kn(t.inheritLocale)?t.inheritLocale:!0;const a=o(e&&s?e.locale.value:et(t.locale)?t.locale:nd),u=o(e&&s?e.fallbackLocale.value:et(t.fallbackLocale)||Zn(t.fallbackLocale)||Bt(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:a.value),c=o(cw(a.value,t)),h=o(Bt(t.datetimeFormats)?t.datetimeFormats:{[a.value]:{}}),l=o(Bt(t.numberFormats)?t.numberFormats:{[a.value]:{}});let d=e?e.missingWarn:kn(t.missingWarn)||td(t.missingWarn)?t.missingWarn:!0,f=e?e.fallbackWarn:kn(t.fallbackWarn)||td(t.fallbackWarn)?t.fallbackWarn:!0,_=e?e.fallbackRoot:kn(t.fallbackRoot)?t.fallbackRoot:!0,g=!!t.fallbackFormat,b=Tn(t.missing)?t.missing:null,y=Tn(t.missing)?e0(t.missing):null,w=Tn(t.postTranslation)?t.postTranslation:null,A=e?e.warnHtmlMessage:kn(t.warnHtmlMessage)?t.warnHtmlMessage:!0,k=!!t.escapeParameter;const R=e?e.modifiers:Bt(t.modifiers)?t.modifiers:{};let x=t.pluralRules||e&&e.pluralRules,L;L=(()=>{r&&Z_(null);const S={version:dx,locale:a.value,fallbackLocale:u.value,messages:c.value,modifiers:R,pluralRules:x,missing:y===null?void 0:y,missingWarn:d,fallbackWarn:f,fallbackFormat:g,unresolving:!0,postTranslation:w===null?void 0:w,warnHtmlMessage:A,escapeParameter:k,messageResolver:t.messageResolver,messageCompiler:t.messageCompiler,__meta:{framework:"vue"}};S.datetimeFormats=h.value,S.numberFormats=l.value,S.__datetimeFormatters=Bt(L)?L.__datetimeFormatters:void 0,S.__numberFormatters=Bt(L)?L.__numberFormatters:void 0;const m=AA(S);return r&&Z_(m),m})(),Xl(L,a.value,u.value);function H(){return[a.value,u.value,c.value,h.value,l.value]}const V=xe({get:()=>a.value,set:S=>{a.value=S,L.locale=a.value}}),ne=xe({get:()=>u.value,set:S=>{u.value=S,L.fallbackLocale=u.value,Xl(L,a.value,S)}}),$=xe(()=>c.value),M=xe(()=>h.value),z=xe(()=>l.value);function K(){return Tn(w)?w:null}function B(S){w=S,L.postTranslation=S}function W(){return b}function oe(S){S!==null&&(y=e0(S)),b=S,L.missing=y}const se=(S,m,T,N,re,ce)=>{H();let Ee;try{__INTLIFY_PROD_DEVTOOLS__,r||(L.fallbackContext=e?kA():void 0),Ee=S(L)}finally{__INTLIFY_PROD_DEVTOOLS__,r||(L.fallbackContext=void 0)}if(T!=="translate exists"&&zn(Ee)&&Ee===Nd||T==="translate exists"&&!Ee){const[De,Pe]=m();return e&&_?N(e):re(De)}else{if(ce(Ee))return Ee;throw Yi($i.UNEXPECTED_RETURN_TYPE)}};function q(...S){return se(m=>Reflect.apply(av,null,[m,...S]),()=>kp(...S),"translate",m=>Reflect.apply(m.t,m,[...S]),m=>m,m=>et(m))}function pe(...S){const[m,T,N]=S;if(N&&!Yt(N))throw Yi($i.INVALID_ARGUMENT);return q(m,T,sr({resolvedMessage:!0},N||{}))}function Te(...S){return se(m=>Reflect.apply(tv,null,[m,...S]),()=>Tp(...S),"datetime format",m=>Reflect.apply(m.d,m,[...S]),()=>Q_,m=>et(m))}function _e(...S){return se(m=>Reflect.apply(rv,null,[m,...S]),()=>Ep(...S),"number format",m=>Reflect.apply(m.n,m,[...S]),()=>Q_,m=>et(m))}function ye(S){return S.map(m=>et(m)||zn(m)||kn(m)?Xv(String(m)):m)}const be={normalize:ye,interpolate:S=>S,type:"vnode"};function ie(...S){return se(m=>{let T;const N=m;try{N.processor=be,T=Reflect.apply(av,null,[N,...S])}finally{N.processor=null}return T},()=>kp(...S),"translate",m=>m[Hp](...S),m=>[Xv(m)],m=>Zn(m))}function le(...S){return se(m=>Reflect.apply(rv,null,[m,...S]),()=>Ep(...S),"number format",m=>m[Bp](...S),Jv,m=>et(m)||Zn(m))}function he(...S){return se(m=>Reflect.apply(tv,null,[m,...S]),()=>Tp(...S),"datetime format",m=>m[Np](...S),Jv,m=>et(m)||Zn(m))}function Se(S){x=S,L.pluralRules=x}function Ie(S,m){return se(()=>{if(!S)return!1;const T=et(m)?m:a.value,N=Y(T),re=L.messageResolver(N,S);return vo(re)||ki(re)||et(re)},()=>[S],"translate exists",T=>Reflect.apply(T.te,T,[S,m]),_x,T=>kn(T))}function j(S){let m=null;const T=M1(L,u.value,a.value);for(let N=0;N<T.length;N++){const re=c.value[T[N]]||{},ce=L.messageResolver(re,S);if(ce!=null){m=ce;break}}return m}function P(S){const m=j(S);return m??(e?e.tm(S)||{}:{})}function Y(S){return c.value[S]||{}}function ee(S,m){if(i){const T={[S]:m};for(const N in T)ji(T,N)&&ec(T[N]);m=T[S]}c.value[S]=m,L.messages=c.value}function X(S,m){c.value[S]=c.value[S]||{};const T={[S]:m};if(i)for(const N in T)ji(T,N)&&ec(T[N]);m=T[S],Pf(m,c.value[S]),L.messages=c.value}function C(S){return h.value[S]||{}}function G(S,m){h.value[S]=m,L.datetimeFormats=h.value,nv(L,S,m)}function I(S,m){h.value[S]=sr(h.value[S]||{},m),L.datetimeFormats=h.value,nv(L,S,m)}function D(S){return l.value[S]||{}}function Z(S,m){l.value[S]=m,L.numberFormats=l.value,iv(L,S,m)}function fe(S,m){l.value[S]=sr(l.value[S]||{},m),L.numberFormats=l.value,iv(L,S,m)}Zv++,e&&ed&&(Ne(e.locale,S=>{s&&(a.value=S,L.locale=S,Xl(L,a.value,u.value))}),Ne(e.fallbackLocale,S=>{s&&(u.value=S,L.fallbackLocale=S,Xl(L,a.value,u.value))}));const ue={id:Zv,locale:V,fallbackLocale:ne,get inheritLocale(){return s},set inheritLocale(S){s=S,S&&e&&(a.value=e.locale.value,u.value=e.fallbackLocale.value,Xl(L,a.value,u.value))},get availableLocales(){return Object.keys(c.value).sort()},messages:$,get modifiers(){return R},get pluralRules(){return x||{}},get isGlobal(){return r},get missingWarn(){return d},set missingWarn(S){d=S,L.missingWarn=d},get fallbackWarn(){return f},set fallbackWarn(S){f=S,L.fallbackWarn=f},get fallbackRoot(){return _},set fallbackRoot(S){_=S},get fallbackFormat(){return g},set fallbackFormat(S){g=S,L.fallbackFormat=g},get warnHtmlMessage(){return A},set warnHtmlMessage(S){A=S,L.warnHtmlMessage=S},get escapeParameter(){return k},set escapeParameter(S){k=S,L.escapeParameter=S},t:q,getLocaleMessage:Y,setLocaleMessage:ee,mergeLocaleMessage:X,getPostTranslationHandler:K,setPostTranslationHandler:B,getMissingHandler:W,setMissingHandler:oe,[px]:Se};return ue.datetimeFormats=M,ue.numberFormats=z,ue.rt=pe,ue.te=Ie,ue.tm=P,ue.d=Te,ue.n=_e,ue.getDateTimeFormat=C,ue.setDateTimeFormat=G,ue.mergeDateTimeFormat=I,ue.getNumberFormat=D,ue.setNumberFormat=Z,ue.mergeNumberFormat=fe,ue[mx]=n,ue[Hp]=ie,ue[Np]=he,ue[Bp]=le,ue}const pg={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:t=>t==="parent"||t==="global",default:"parent"},i18n:{type:Object}};function yx({slots:t},e){return e.length===1&&e[0]==="default"?(t.default?t.default():[]).reduce((r,i)=>[...r,...i.type===Ye?i.children:[i]],[]):e.reduce((n,r)=>{const i=t[r];return i&&(n[r]=i()),n},on())}function hw(){return Ye}const bx=Ji({name:"i18n-t",props:sr({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:t=>zn(t)||!isNaN(t)}},pg),setup(t,e){const{slots:n,attrs:r}=e,i=t.i18n||mg({useScope:t.scope,__useComponent:!0});return()=>{const o=Object.keys(n).filter(l=>l!=="_"),s=on();t.locale&&(s.locale=t.locale),t.plural!==void 0&&(s.plural=et(t.plural)?+t.plural:t.plural);const a=yx(e,o),u=i[Hp](t.keypath,a,s),c=sr(on(),r),h=et(t.tag)||Yt(t.tag)?t.tag:hw();return Ac(h,c,u)}}}),t0=bx;function wx(t){return Zn(t)&&!et(t[0])}function pw(t,e,n,r){const{slots:i,attrs:o}=e;return()=>{const s={part:!0};let a=on();t.locale&&(s.locale=t.locale),et(t.format)?s.key=t.format:Yt(t.format)&&(et(t.format.key)&&(s.key=t.format.key),a=Object.keys(t.format).reduce((d,f)=>n.includes(f)?sr(on(),d,{[f]:t.format[f]}):d,on()));const u=r(t.value,s,a);let c=[s.key];Zn(u)?c=u.map((d,f)=>{const _=i[d.type],g=_?_({[d.type]:d.value,index:f,parts:u}):[d.value];return wx(g)&&(g[0].key=`${d.type}-${f}`),g}):et(u)&&(c=[u]);const h=sr(on(),o),l=et(t.tag)||Yt(t.tag)?t.tag:hw();return Ac(l,h,c)}}const Sx=Ji({name:"i18n-n",props:sr({value:{type:Number,required:!0},format:{type:[String,Object]}},pg),setup(t,e){const n=t.i18n||mg({useScope:t.scope,__useComponent:!0});return pw(t,e,V1,(...r)=>n[Bp](...r))}}),n0=Sx,Tx=Ji({name:"i18n-d",props:sr({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},pg),setup(t,e){const n=t.i18n||mg({useScope:t.scope,__useComponent:!0});return pw(t,e,B1,(...r)=>n[Np](...r))}}),r0=Tx;function Ex(t,e){const n=t;if(t.mode==="composition")return n.__getInstance(e)||t.global;{const r=n.__getInstance(e);return r!=null?r.__composer:t.global.__composer}}function kx(t){const e=s=>{const{instance:a,value:u}=s;if(!a||!a.$)throw Yi($i.UNEXPECTED_ERROR);const c=Ex(t,a.$),h=i0(u);return[Reflect.apply(c.t,c,[...o0(h)]),c]};return{created:(s,a)=>{const[u,c]=e(a);ed&&t.global===c&&(s.__i18nWatcher=Ne(c.locale,()=>{a.instance&&a.instance.$forceUpdate()})),s.__composer=c,s.textContent=u},unmounted:s=>{ed&&s.__i18nWatcher&&(s.__i18nWatcher(),s.__i18nWatcher=void 0,delete s.__i18nWatcher),s.__composer&&(s.__composer=void 0,delete s.__composer)},beforeUpdate:(s,{value:a})=>{if(s.__composer){const u=s.__composer,c=i0(a);s.textContent=Reflect.apply(u.t,u,[...o0(c)])}},getSSRProps:s=>{const[a]=e(s);return{textContent:a}}}}function i0(t){if(et(t))return{path:t};if(Bt(t)){if(!("path"in t))throw Yi($i.REQUIRED_VALUE,"path");return t}else throw Yi($i.INVALID_VALUE)}function o0(t){const{path:e,locale:n,args:r,choice:i,plural:o}=t,s={},a=r||{};return et(n)&&(s.locale=n),zn(i)&&(s.plural=i),zn(o)&&(s.plural=o),[e,a,s]}function Ax(t,e,...n){const r=Bt(n[0])?n[0]:{};(kn(r.globalInstall)?r.globalInstall:!0)&&([t0.name,"I18nT"].forEach(o=>t.component(o,t0)),[n0.name,"I18nN"].forEach(o=>t.component(o,n0)),[r0.name,"I18nD"].forEach(o=>t.component(o,r0))),t.directive("t",kx(e))}const Rx=Fs("global-vue-i18n");function Cx(t={},e){const n=kn(t.globalInjection)?t.globalInjection:!0,r=new Map,[i,o]=xx(t),s=Fs("");function a(l){return r.get(l)||null}function u(l,d){r.set(l,d)}function c(l){r.delete(l)}const h={get mode(){return"composition"},async install(l,...d){if(l.__VUE_I18N_SYMBOL__=s,l.provide(l.__VUE_I18N_SYMBOL__,h),Bt(d[0])){const g=d[0];h.__composerExtend=g.__composerExtend,h.__vueI18nExtend=g.__vueI18nExtend}let f=null;n&&(f=$x(l,h.global)),Ax(l,h,...d);const _=l.unmount;l.unmount=()=>{f&&f(),h.dispose(),_()}},get global(){return o},dispose(){i.stop()},__instances:r,__getInstance:a,__setInstance:u,__deleteInstance:c};return h}function mg(t={}){const e=xl();if(e==null)throw Yi($i.MUST_BE_CALL_SETUP_TOP);if(!e.isCE&&e.appContext.app!=null&&!e.appContext.app.__VUE_I18N_SYMBOL__)throw Yi($i.NOT_INSTALLED);const n=Px(e),r=Lx(n),i=fw(e),o=Ix(t,i);if(o==="global")return gx(r,t,i),r;if(o==="parent"){let u=Ox(n,e,t.__useComponent);return u==null&&(u=r),u}const s=n;let a=s.__getInstance(e);if(a==null){const u=sr({},t);"__i18n"in i&&(u.__i18n=i.__i18n),r&&(u.__root=r),a=dw(u),s.__composerExtend&&(a[Vp]=s.__composerExtend(a)),Fx(s,e,a),s.__setInstance(e,a)}return a}function xx(t,e,n){const r=Qm(),i=r.run(()=>dw(t));if(i==null)throw Yi($i.UNEXPECTED_ERROR);return[r,i]}function Px(t){const e=Yr(t.isCE?Rx:t.appContext.app.__VUE_I18N_SYMBOL__);if(!e)throw Yi(t.isCE?$i.NOT_INSTALLED_WITH_PROVIDE:$i.UNEXPECTED_ERROR);return e}function Ix(t,e){return $d(t)?"__i18n"in e?"local":"global":t.useScope?t.useScope:"local"}function Lx(t){return t.mode==="composition"?t.global:t.global.__composer}function Ox(t,e,n=!1){let r=null;const i=e.root;let o=Mx(e,n);for(;o!=null;){const s=t;if(t.mode==="composition"&&(r=s.__getInstance(o)),r!=null||i===o)break;o=o.parent}return r}function Mx(t,e=!1){return t==null?null:e&&t.vnode.ctx||t.parent}function Fx(t,e,n){Ct(()=>{},e),Vt(()=>{const r=n;t.__deleteInstance(e);const i=r[Vp];i&&(i(),delete r[Vp])},e)}const Dx=["locale","fallbackLocale","availableLocales"],s0=["t","rt","d","n","tm","te"];function $x(t,e){const n=Object.create(null);return Dx.forEach(i=>{const o=Object.getOwnPropertyDescriptor(e,i);if(!o)throw Yi($i.UNEXPECTED_ERROR);const s=vn(o.value)?{get(){return o.value.value},set(a){o.value.value=a}}:{get(){return o.get&&o.get()}};Object.defineProperty(n,i,s)}),t.config.globalProperties.$i18n=n,s0.forEach(i=>{const o=Object.getOwnPropertyDescriptor(e,i);if(!o||!o.value)throw Yi($i.UNEXPECTED_ERROR);Object.defineProperty(t.config.globalProperties,`$${i}`,o)}),()=>{delete t.config.globalProperties.$i18n,s0.forEach(i=>{delete t.config.globalProperties[`$${i}`]})}}hx();bA(tA);wA(_A);SA(M1);if(__INTLIFY_PROD_DEVTOOLS__){const t=Nm();t.__INTLIFY__=!0,nA(t.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const Hx=Object.fromEntries(Object.entries(Object.assign({})).map(([t,e])=>{const n=t.endsWith(".yaml");return[t.slice(14,n?-5:-4),e.default]})),Nx=({app:t})=>{const e=Cx({locale:"en",messages:Hx});t.use(e)},Bx=Object.freeze(Object.defineProperty({__proto__:null,install:Nx},Symbol.toStringTag,{value:"Module"}));/*!
* pinia v2.3.1
* (c) 2025 Eduardo San Martin Morote
* @license MIT
*/let mw;const Qd=t=>mw=t,gw=Symbol();function Up(t){return t&&typeof t=="object"&&Object.prototype.toString.call(t)==="[object Object]"&&typeof t.toJSON!="function"}var Ru;(function(t){t.direct="direct",t.patchObject="patch object",t.patchFunction="patch function"})(Ru||(Ru={}));function Vx(){const t=Qm(!0),e=t.run(()=>U({}));let n=[],r=[];const i=og({install(o){Qd(i),i._a=o,o.provide(gw,i),o.config.globalProperties.$pinia=i,r.forEach(s=>n.push(s)),r=[]},use(o){return this._a?n.push(o):r.push(o),this},_p:n,_a:null,_e:t,_s:new Map,state:e});return i}const _w=()=>{};function a0(t,e,n,r=_w){t.push(e);const i=()=>{const o=t.indexOf(e);o>-1&&(t.splice(o,1),r())};return!n&&Q1()&&tR(i),i}function Ha(t,...e){t.slice().forEach(n=>{n(...e)})}const Ux=t=>t(),l0=Symbol(),Wh=Symbol();function jp(t,e){t instanceof Map&&e instanceof Map?e.forEach((n,r)=>t.set(r,n)):t instanceof Set&&e instanceof Set&&e.forEach(t.add,t);for(const n in e){if(!e.hasOwnProperty(n))continue;const r=e[n],i=t[n];Up(i)&&Up(r)&&t.hasOwnProperty(n)&&!vn(r)&&!qo(r)?t[n]=jp(i,r):t[n]=r}return t}const jx=Symbol();function Wx(t){return!Up(t)||!t.hasOwnProperty(jx)}const{assign:fs}=Object;function zx(t){return!!(vn(t)&&t.effect)}function qx(t,e,n,r){const{state:i,actions:o,getters:s}=e,a=n.state.value[t];let u;function c(){a||(n.state.value[t]=i?i():{});const h=gb(n.state.value[t]);return fs(h,o,Object.keys(s||{}).reduce((l,d)=>(l[d]=og(xe(()=>{Qd(n);const f=n._s.get(t);return s[d].call(f,f)})),l),{}))}return u=vw(t,c,e,n,r,!0),u}function vw(t,e,n={},r,i,o){let s;const a=fs({actions:{}},n),u={deep:!0};let c,h,l=[],d=[],f;const _=r.state.value[t];!o&&!_&&(r.state.value[t]={}),U({});let g;function b(F){let H;c=h=!1,typeof F=="function"?(F(r.state.value[t]),H={type:Ru.patchFunction,storeId:t,events:f}):(jp(r.state.value[t],F),H={type:Ru.patchObject,payload:F,storeId:t,events:f});const V=g=Symbol();Lt().then(()=>{g===V&&(c=!0)}),h=!0,Ha(l,H,r.state.value[t])}const y=o?function(){const{state:H}=n,V=H?H():{};this.$patch(ne=>{fs(ne,V)})}:_w;function w(){s.stop(),l=[],d=[],r._s.delete(t)}const A=(F,H="")=>{if(l0 in F)return F[Wh]=H,F;const V=function(){Qd(r);const ne=Array.from(arguments),$=[],M=[];function z(W){$.push(W)}function K(W){M.push(W)}Ha(d,{args:ne,name:V[Wh],store:R,after:z,onError:K});let B;try{B=F.apply(this&&this.$id===t?this:R,ne)}catch(W){throw Ha(M,W),W}return B instanceof Promise?B.then(W=>(Ha($,W),W)).catch(W=>(Ha(M,W),Promise.reject(W))):(Ha($,B),B)};return V[l0]=!0,V[Wh]=H,V},k={_p:r,$id:t,$onAction:a0.bind(null,d),$patch:b,$reset:y,$subscribe(F,H={}){const V=a0(l,F,H.detached,()=>ne()),ne=s.run(()=>Ne(()=>r.state.value[t],$=>{(H.flush==="sync"?h:c)&&F({storeId:t,type:Ru.direct,events:f},$)},fs({},u,H)));return V},$dispose:w},R=Ca(k);r._s.set(t,R);const L=(r._a&&r._a.runWithContext||Ux)(()=>r._e.run(()=>(s=Qm()).run(()=>e({action:A}))));for(const F in L){const H=L[F];if(vn(H)&&!zx(H)||qo(H))o||(_&&Wx(H)&&(vn(H)?H.value=_[F]:jp(H,_[F])),r.state.value[t][F]=H);else if(typeof H=="function"){const V=A(H,F);L[F]=V,a.actions[F]=H}}return fs(R,L),fs(Nt(R),L),Object.defineProperty(R,"$state",{get:()=>r.state.value[t],set:F=>{b(H=>{fs(H,F)})}}),r._p.forEach(F=>{fs(R,s.run(()=>F({store:R,app:r._a,pinia:r,options:a})))}),_&&o&&n.hydrate&&n.hydrate(R.$state,_),c=!0,h=!0,R}/*! #__NO_SIDE_EFFECTS__ */function Rc(t,e,n){let r,i;const o=typeof e=="function";typeof t=="string"?(r=t,i=o?n:e):(i=t,r=t.id);function s(a,u){const c=jb();return a=a||(c?Yr(gw,null):null),a&&Qd(a),a=mw,a._s.has(r)||(o?vw(r,e,i,a):qx(r,i,a)),a._s.get(r)}return s.$id=r,s}function yw(t){{const e=Nt(t),n={};for(const r in e){const i=e[r];i.effect?n[r]=xe({get:()=>t[r],set(o){t[r]=o}}):(vn(i)||qo(i))&&(n[r]=AR(t,r))}return n}}const Gx=({isClient:t,initialState:e,app:n})=>{const r=Vx();n.use(r),t?r.state.value=e.pinia||{}:e.pinia=r.state.value},Yx=Object.freeze(Object.defineProperty({__proto__:null,install:Gx},Symbol.toStringTag,{value:"Module"})),Kx="modulepreload",Xx=function(t){return"/"+t},u0={},zr=function(e,n,r){let i=Promise.resolve();if(n&&n.length>0){let s=function(c){return Promise.all(c.map(h=>Promise.resolve(h).then(l=>({status:"fulfilled",value:l}),l=>({status:"rejected",reason:l}))))};document.getElementsByTagName("link");const a=document.querySelector("meta[property=csp-nonce]"),u=(a==null?void 0:a.nonce)||(a==null?void 0:a.getAttribute("nonce"));i=s(n.map(c=>{if(c=Xx(c),c in u0)return;u0[c]=!0;const h=c.endsWith(".css"),l=h?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${c}"]${l}`))return;const d=document.createElement("link");if(d.rel=h?"stylesheet":Kx,h||(d.as="script"),d.crossOrigin="",d.href=c,u&&d.setAttribute("nonce",u),document.head.appendChild(d),h)return new Promise((f,_)=>{d.addEventListener("load",f),d.addEventListener("error",()=>_(new Error(`Unable to preload CSS for ${c}`)))})}))}function o(s){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=s,window.dispatchEvent(a),!a.defaultPrevented)throw s}return i.then(s=>{for(const a of s||[])a.status==="rejected"&&o(a.reason);return e().catch(o)})};/*!
* vue-router v4.5.1
* (c) 2025 Eduardo San Martin Morote
* @license MIT
*/const qa=typeof document<"u";function bw(t){return typeof t=="object"||"displayName"in t||"props"in t||"__vccOpts"in t}function Qx(t){return t.__esModule||t[Symbol.toStringTag]==="Module"||t.default&&bw(t.default)}const Zt=Object.assign;function zh(t,e){const n={};for(const r in e){const i=e[r];n[r]=Ki(i)?i.map(t):t(i)}return n}const Cu=()=>{},Ki=Array.isArray,ww=/#/g,Jx=/&/g,Zx=/\//g,e2=/=/g,t2=/\?/g,Sw=/\+/g,n2=/%5B/g,r2=/%5D/g,Tw=/%5E/g,i2=/%60/g,Ew=/%7B/g,o2=/%7C/g,kw=/%7D/g,s2=/%20/g;function gg(t){return encodeURI(""+t).replace(o2,"|").replace(n2,"[").replace(r2,"]")}function a2(t){return gg(t).replace(Ew,"{").replace(kw,"}").replace(Tw,"^")}function Wp(t){return gg(t).replace(Sw,"%2B").replace(s2,"+").replace(ww,"%23").replace(Jx,"%26").replace(i2,"`").replace(Ew,"{").replace(kw,"}").replace(Tw,"^")}function l2(t){return Wp(t).replace(e2,"%3D")}function u2(t){return gg(t).replace(ww,"%23").replace(t2,"%3F")}function c2(t){return t==null?"":u2(t).replace(Zx,"%2F")}function tc(t){try{return decodeURIComponent(""+t)}catch{}return""+t}const f2=/\/$/,d2=t=>t.replace(f2,"");function qh(t,e,n="/"){let r,i={},o="",s="";const a=e.indexOf("#");let u=e.indexOf("?");return a<u&&a>=0&&(u=-1),u>-1&&(r=e.slice(0,u),o=e.slice(u+1,a>-1?a:e.length),i=t(o)),a>-1&&(r=r||e.slice(0,a),s=e.slice(a,e.length)),r=g2(r??e,n),{fullPath:r+(o&&"?")+o+s,path:r,query:i,hash:tc(s)}}function h2(t,e){const n=e.query?t(e.query):"";return e.path+(n&&"?")+n+(e.hash||"")}function c0(t,e){return!e||!t.toLowerCase().startsWith(e.toLowerCase())?t:t.slice(e.length)||"/"}function p2(t,e,n){const r=e.matched.length-1,i=n.matched.length-1;return r>-1&&r===i&&_l(e.matched[r],n.matched[i])&&Aw(e.params,n.params)&&t(e.query)===t(n.query)&&e.hash===n.hash}function _l(t,e){return(t.aliasOf||t)===(e.aliasOf||e)}function Aw(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(const n in t)if(!m2(t[n],e[n]))return!1;return!0}function m2(t,e){return Ki(t)?f0(t,e):Ki(e)?f0(e,t):t===e}function f0(t,e){return Ki(e)?t.length===e.length&&t.every((n,r)=>n===e[r]):t.length===1&&t[0]===e}function g2(t,e){if(t.startsWith("/"))return t;if(!t)return e;const n=e.split("/"),r=t.split("/"),i=r[r.length-1];(i===".."||i===".")&&r.push("");let o=n.length-1,s,a;for(s=0;s<r.length;s++)if(a=r[s],a!==".")if(a==="..")o>1&&o--;else break;return n.slice(0,o).join("/")+"/"+r.slice(s).join("/")}const as={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var nc;(function(t){t.pop="pop",t.push="push"})(nc||(nc={}));var xu;(function(t){t.back="back",t.forward="forward",t.unknown=""})(xu||(xu={}));function _2(t){if(!t)if(qa){const e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return t[0]!=="/"&&t[0]!=="#"&&(t="/"+t),d2(t)}const v2=/^[^#]+#/;function y2(t,e){return t.replace(v2,"#")+e}function b2(t,e){const n=document.documentElement.getBoundingClientRect(),r=t.getBoundingClientRect();return{behavior:e.behavior,left:r.left-n.left-(e.left||0),top:r.top-n.top-(e.top||0)}}const Jd=()=>({left:window.scrollX,top:window.scrollY});function w2(t){let e;if("el"in t){const n=t.el,r=typeof n=="string"&&n.startsWith("#"),i=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!i)return;e=b2(i,t)}else e=t;"scrollBehavior"in document.documentElement.style?window.scrollTo(e):window.scrollTo(e.left!=null?e.left:window.scrollX,e.top!=null?e.top:window.scrollY)}function d0(t,e){return(history.state?history.state.position-e:-1)+t}const zp=new Map;function S2(t,e){zp.set(t,e)}function T2(t){const e=zp.get(t);return zp.delete(t),e}let E2=()=>location.protocol+"//"+location.host;function Rw(t,e){const{pathname:n,search:r,hash:i}=e,o=t.indexOf("#");if(o>-1){let a=i.includes(t.slice(o))?t.slice(o).length:1,u=i.slice(a);return u[0]!=="/"&&(u="/"+u),c0(u,"")}return c0(n,t)+r+i}function k2(t,e,n,r){let i=[],o=[],s=null;const a=({state:d})=>{const f=Rw(t,location),_=n.value,g=e.value;let b=0;if(d){if(n.value=f,e.value=d,s&&s===_){s=null;return}b=g?d.position-g.position:0}else r(f);i.forEach(y=>{y(n.value,_,{delta:b,type:nc.pop,direction:b?b>0?xu.forward:xu.back:xu.unknown})})};function u(){s=n.value}function c(d){i.push(d);const f=()=>{const _=i.indexOf(d);_>-1&&i.splice(_,1)};return o.push(f),f}function h(){const{history:d}=window;d.state&&d.replaceState(Zt({},d.state,{scroll:Jd()}),"")}function l(){for(const d of o)d();o=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",h)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",h,{passive:!0}),{pauseListeners:u,listen:c,destroy:l}}function h0(t,e,n,r=!1,i=!1){return{back:t,current:e,forward:n,replaced:r,position:window.history.length,scroll:i?Jd():null}}function A2(t){const{history:e,location:n}=window,r={value:Rw(t,n)},i={value:e.state};i.value||o(r.value,{back:null,current:r.value,forward:null,position:e.length-1,replaced:!0,scroll:null},!0);function o(u,c,h){const l=t.indexOf("#"),d=l>-1?(n.host&&document.querySelector("base")?t:t.slice(l))+u:E2()+t+u;try{e[h?"replaceState":"pushState"](c,"",d),i.value=c}catch(f){console.error(f),n[h?"replace":"assign"](d)}}function s(u,c){const h=Zt({},e.state,h0(i.value.back,u,i.value.forward,!0),c,{position:i.value.position});o(u,h,!0),r.value=u}function a(u,c){const h=Zt({},i.value,e.state,{forward:u,scroll:Jd()});o(h.current,h,!0);const l=Zt({},h0(r.value,u,null),{position:h.position+1},c);o(u,l,!1),r.value=u}return{location:r,state:i,push:a,replace:s}}function R2(t){t=_2(t);const e=A2(t),n=k2(t,e.state,e.location,e.replace);function r(o,s=!0){s||n.pauseListeners(),history.go(o)}const i=Zt({location:"",base:t,go:r,createHref:y2.bind(null,t)},e,n);return Object.defineProperty(i,"location",{enumerable:!0,get:()=>e.location.value}),Object.defineProperty(i,"state",{enumerable:!0,get:()=>e.state.value}),i}function C2(t){return typeof t=="string"||t&&typeof t=="object"}function Cw(t){return typeof t=="string"||typeof t=="symbol"}const xw=Symbol("");var p0;(function(t){t[t.aborted=4]="aborted",t[t.cancelled=8]="cancelled",t[t.duplicated=16]="duplicated"})(p0||(p0={}));function vl(t,e){return Zt(new Error,{type:t,[xw]:!0},e)}function Io(t,e){return t instanceof Error&&xw in t&&(e==null||!!(t.type&e))}const m0="[^/]+?",x2={sensitive:!1,strict:!1,start:!0,end:!0},P2=/[.+*?^${}()[\]/\\]/g;function I2(t,e){const n=Zt({},x2,e),r=[];let i=n.start?"^":"";const o=[];for(const c of t){const h=c.length?[]:[90];n.strict&&!c.length&&(i+="/");for(let l=0;l<c.length;l++){const d=c[l];let f=40+(n.sensitive?.25:0);if(d.type===0)l||(i+="/"),i+=d.value.replace(P2,"\\$&"),f+=40;else if(d.type===1){const{value:_,repeatable:g,optional:b,regexp:y}=d;o.push({name:_,repeatable:g,optional:b});const w=y||m0;if(w!==m0){f+=10;try{new RegExp(`(${w})`)}catch(k){throw new Error(`Invalid custom RegExp for param "${_}" (${w}): `+k.message)}}let A=g?`((?:${w})(?:/(?:${w}))*)`:`(${w})`;l||(A=b&&c.length<2?`(?:/${A})`:"/"+A),b&&(A+="?"),i+=A,f+=20,b&&(f+=-8),g&&(f+=-20),w===".*"&&(f+=-50)}h.push(f)}r.push(h)}if(n.strict&&n.end){const c=r.length-1;r[c][r[c].length-1]+=.7000000000000001}n.strict||(i+="/?"),n.end?i+="$":n.strict&&!i.endsWith("/")&&(i+="(?:/|$)");const s=new RegExp(i,n.sensitive?"":"i");function a(c){const h=c.match(s),l={};if(!h)return null;for(let d=1;d<h.length;d++){const f=h[d]||"",_=o[d-1];l[_.name]=f&&_.repeatable?f.split("/"):f}return l}function u(c){let h="",l=!1;for(const d of t){(!l||!h.endsWith("/"))&&(h+="/"),l=!1;for(const f of d)if(f.type===0)h+=f.value;else if(f.type===1){const{value:_,repeatable:g,optional:b}=f,y=_ in c?c[_]:"";if(Ki(y)&&!g)throw new Error(`Provided param "${_}" is an array but it is not repeatable (* or + modifiers)`);const w=Ki(y)?y.join("/"):y;if(!w)if(b)d.length<2&&(h.endsWith("/")?h=h.slice(0,-1):l=!0);else throw new Error(`Missing required param "${_}"`);h+=w}}return h||"/"}return{re:s,score:r,keys:o,parse:a,stringify:u}}function L2(t,e){let n=0;for(;n<t.length&&n<e.length;){const r=e[n]-t[n];if(r)return r;n++}return t.length<e.length?t.length===1&&t[0]===80?-1:1:t.length>e.length?e.length===1&&e[0]===80?1:-1:0}function Pw(t,e){let n=0;const r=t.score,i=e.score;for(;n<r.length&&n<i.length;){const o=L2(r[n],i[n]);if(o)return o;n++}if(Math.abs(i.length-r.length)===1){if(g0(r))return 1;if(g0(i))return-1}return i.length-r.length}function g0(t){const e=t[t.length-1];return t.length>0&&e[e.length-1]<0}const O2={type:0,value:""},M2=/[a-zA-Z0-9_]/;function F2(t){if(!t)return[[]];if(t==="/")return[[O2]];if(!t.startsWith("/"))throw new Error(`Invalid path "${t}"`);function e(f){throw new Error(`ERR (${n})/"${c}": ${f}`)}let n=0,r=n;const i=[];let o;function s(){o&&i.push(o),o=[]}let a=0,u,c="",h="";function l(){c&&(n===0?o.push({type:0,value:c}):n===1||n===2||n===3?(o.length>1&&(u==="*"||u==="+")&&e(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:c,regexp:h,repeatable:u==="*"||u==="+",optional:u==="*"||u==="?"})):e("Invalid state to consume buffer"),c="")}function d(){c+=u}for(;a<t.length;){if(u=t[a++],u==="\\"&&n!==2){r=n,n=4;continue}switch(n){case 0:u==="/"?(c&&l(),s()):u===":"?(l(),n=1):d();break;case 4:d(),n=r;break;case 1:u==="("?n=2:M2.test(u)?d():(l(),n=0,u!=="*"&&u!=="?"&&u!=="+"&&a--);break;case 2:u===")"?h[h.length-1]=="\\"?h=h.slice(0,-1)+u:n=3:h+=u;break;case 3:l(),n=0,u!=="*"&&u!=="?"&&u!=="+"&&a--,h="";break;default:e("Unknown state");break}}return n===2&&e(`Unfinished custom RegExp for param "${c}"`),l(),s(),i}function D2(t,e,n){const r=I2(F2(t.path),n),i=Zt(r,{record:t,parent:e,children:[],alias:[]});return e&&!i.record.aliasOf==!e.record.aliasOf&&e.children.push(i),i}function $2(t,e){const n=[],r=new Map;e=b0({strict:!1,end:!0,sensitive:!1},e);function i(l){return r.get(l)}function o(l,d,f){const _=!f,g=v0(l);g.aliasOf=f&&f.record;const b=b0(e,l),y=[g];if("alias"in l){const k=typeof l.alias=="string"?[l.alias]:l.alias;for(const R of k)y.push(v0(Zt({},g,{components:f?f.record.components:g.components,path:R,aliasOf:f?f.record:g})))}let w,A;for(const k of y){const{path:R}=k;if(d&&R[0]!=="/"){const x=d.record.path,L=x[x.length-1]==="/"?"":"/";k.path=d.record.path+(R&&L+R)}if(w=D2(k,d,b),f?f.alias.push(w):(A=A||w,A!==w&&A.alias.push(w),_&&l.name&&!y0(w)&&s(l.name)),Iw(w)&&u(w),g.children){const x=g.children;for(let L=0;L<x.length;L++)o(x[L],w,f&&f.children[L])}f=f||w}return A?()=>{s(A)}:Cu}function s(l){if(Cw(l)){const d=r.get(l);d&&(r.delete(l),n.splice(n.indexOf(d),1),d.children.forEach(s),d.alias.forEach(s))}else{const d=n.indexOf(l);d>-1&&(n.splice(d,1),l.record.name&&r.delete(l.record.name),l.children.forEach(s),l.alias.forEach(s))}}function a(){return n}function u(l){const d=B2(l,n);n.splice(d,0,l),l.record.name&&!y0(l)&&r.set(l.record.name,l)}function c(l,d){let f,_={},g,b;if("name"in l&&l.name){if(f=r.get(l.name),!f)throw vl(1,{location:l});b=f.record.name,_=Zt(_0(d.params,f.keys.filter(A=>!A.optional).concat(f.parent?f.parent.keys.filter(A=>A.optional):[]).map(A=>A.name)),l.params&&_0(l.params,f.keys.map(A=>A.name))),g=f.stringify(_)}else if(l.path!=null)g=l.path,f=n.find(A=>A.re.test(g)),f&&(_=f.parse(g),b=f.record.name);else{if(f=d.name?r.get(d.name):n.find(A=>A.re.test(d.path)),!f)throw vl(1,{location:l,currentLocation:d});b=f.record.name,_=Zt({},d.params,l.params),g=f.stringify(_)}const y=[];let w=f;for(;w;)y.unshift(w.record),w=w.parent;return{name:b,path:g,params:_,matched:y,meta:N2(y)}}t.forEach(l=>o(l));function h(){n.length=0,r.clear()}return{addRoute:o,resolve:c,removeRoute:s,clearRoutes:h,getRoutes:a,getRecordMatcher:i}}function _0(t,e){const n={};for(const r of e)r in t&&(n[r]=t[r]);return n}function v0(t){const e={path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:t.aliasOf,beforeEnter:t.beforeEnter,props:H2(t),children:t.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in t?t.components||null:t.component&&{default:t.component}};return Object.defineProperty(e,"mods",{value:{}}),e}function H2(t){const e={},n=t.props||!1;if("component"in t)e.default=n;else for(const r in t.components)e[r]=typeof n=="object"?n[r]:n;return e}function y0(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function N2(t){return t.reduce((e,n)=>Zt(e,n.meta),{})}function b0(t,e){const n={};for(const r in t)n[r]=r in e?e[r]:t[r];return n}function B2(t,e){let n=0,r=e.length;for(;n!==r;){const o=n+r>>1;Pw(t,e[o])<0?r=o:n=o+1}const i=V2(t);return i&&(r=e.lastIndexOf(i,r-1)),r}function V2(t){let e=t;for(;e=e.parent;)if(Iw(e)&&Pw(t,e)===0)return e}function Iw({record:t}){return!!(t.name||t.components&&Object.keys(t.components).length||t.redirect)}function U2(t){const e={};if(t===""||t==="?")return e;const r=(t[0]==="?"?t.slice(1):t).split("&");for(let i=0;i<r.length;++i){const o=r[i].replace(Sw," "),s=o.indexOf("="),a=tc(s<0?o:o.slice(0,s)),u=s<0?null:tc(o.slice(s+1));if(a in e){let c=e[a];Ki(c)||(c=e[a]=[c]),c.push(u)}else e[a]=u}return e}function w0(t){let e="";for(let n in t){const r=t[n];if(n=l2(n),r==null){r!==void 0&&(e+=(e.length?"&":"")+n);continue}(Ki(r)?r.map(o=>o&&Wp(o)):[r&&Wp(r)]).forEach(o=>{o!==void 0&&(e+=(e.length?"&":"")+n,o!=null&&(e+="="+o))})}return e}function j2(t){const e={};for(const n in t){const r=t[n];r!==void 0&&(e[n]=Ki(r)?r.map(i=>i==null?null:""+i):r==null?r:""+r)}return e}const W2=Symbol(""),S0=Symbol(""),Zd=Symbol(""),_g=Symbol(""),qp=Symbol("");function eu(){let t=[];function e(r){return t.push(r),()=>{const i=t.indexOf(r);i>-1&&t.splice(i,1)}}function n(){t=[]}return{add:e,list:()=>t.slice(),reset:n}}function gs(t,e,n,r,i,o=s=>s()){const s=r&&(r.enterCallbacks[i]=r.enterCallbacks[i]||[]);return()=>new Promise((a,u)=>{const c=d=>{d===!1?u(vl(4,{from:n,to:e})):d instanceof Error?u(d):C2(d)?u(vl(2,{from:e,to:d})):(s&&r.enterCallbacks[i]===s&&typeof d=="function"&&s.push(d),a())},h=o(()=>t.call(r&&r.instances[i],e,n,c));let l=Promise.resolve(h);t.length<3&&(l=l.then(c)),l.catch(d=>u(d))})}function Gh(t,e,n,r,i=o=>o()){const o=[];for(const s of t)for(const a in s.components){let u=s.components[a];if(!(e!=="beforeRouteEnter"&&!s.instances[a]))if(bw(u)){const h=(u.__vccOpts||u)[e];h&&o.push(gs(h,n,r,s,a,i))}else{let c=u();o.push(()=>c.then(h=>{if(!h)throw new Error(`Couldn't resolve component "${a}" at "${s.path}"`);const l=Qx(h)?h.default:h;s.mods[a]=h,s.components[a]=l;const f=(l.__vccOpts||l)[e];return f&&gs(f,n,r,s,a,i)()}))}}return o}function T0(t){const e=Yr(Zd),n=Yr(_g),r=xe(()=>{const u=ge(t.to);return e.resolve(u)}),i=xe(()=>{const{matched:u}=r.value,{length:c}=u,h=u[c-1],l=n.matched;if(!h||!l.length)return-1;const d=l.findIndex(_l.bind(null,h));if(d>-1)return d;const f=E0(u[c-2]);return c>1&&E0(h)===f&&l[l.length-1].path!==f?l.findIndex(_l.bind(null,u[c-2])):d}),o=xe(()=>i.value>-1&&K2(n.params,r.value.params)),s=xe(()=>i.value>-1&&i.value===n.matched.length-1&&Aw(n.params,r.value.params));function a(u={}){if(Y2(u)){const c=e[ge(t.replace)?"replace":"push"](ge(t.to)).catch(Cu);return t.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>c),c}return Promise.resolve()}return{route:r,href:xe(()=>r.value.href),isActive:o,isExactActive:s,navigate:a}}function z2(t){return t.length===1?t[0]:t}const q2=Ji({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:T0,setup(t,{slots:e}){const n=Ca(T0(t)),{options:r}=Yr(Zd),i=xe(()=>({[k0(t.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[k0(t.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=e.default&&z2(e.default(n));return t.custom?o:Ac("a",{"aria-current":n.isExactActive?t.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:i.value},o)}}}),G2=q2;function Y2(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&!(t.button!==void 0&&t.button!==0)){if(t.currentTarget&&t.currentTarget.getAttribute){const e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}function K2(t,e){for(const n in e){const r=e[n],i=t[n];if(typeof r=="string"){if(r!==i)return!1}else if(!Ki(i)||i.length!==r.length||r.some((o,s)=>o!==i[s]))return!1}return!0}function E0(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const k0=(t,e,n)=>t??e??n,X2=Ji({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:e,slots:n}){const r=Yr(qp),i=xe(()=>t.route||r.value),o=Yr(S0,0),s=xe(()=>{let c=ge(o);const{matched:h}=i.value;let l;for(;(l=h[c])&&!l.components;)c++;return c}),a=xe(()=>i.value.matched[s.value]);Of(S0,xe(()=>s.value+1)),Of(W2,a),Of(qp,i);const u=U();return Ne(()=>[u.value,a.value,t.name],([c,h,l],[d,f,_])=>{h&&(h.instances[l]=c,f&&f!==h&&c&&c===d&&(h.leaveGuards.size||(h.leaveGuards=f.leaveGuards),h.updateGuards.size||(h.updateGuards=f.updateGuards))),c&&h&&(!f||!_l(h,f)||!d)&&(h.enterCallbacks[l]||[]).forEach(g=>g(c))},{flush:"post"}),()=>{const c=i.value,h=t.name,l=a.value,d=l&&l.components[h];if(!d)return A0(n.default,{Component:d,route:c});const f=l.props[h],_=f?f===!0?c.params:typeof f=="function"?f(c):f:null,b=Ac(d,Zt({},_,e,{onVnodeUnmounted:y=>{y.component.isUnmounted&&(l.instances[h]=null)},ref:u}));return A0(n.default,{Component:b,route:c})||b}}});function A0(t,e){if(!t)return null;const n=t(e);return n.length===1?n[0]:n}const Q2=X2;function J2(t){const e=$2(t.routes,t),n=t.parseQuery||U2,r=t.stringifyQuery||w0,i=t.history,o=eu(),s=eu(),a=eu(),u=_a(as);let c=as;qa&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const h=zh.bind(null,ie=>""+ie),l=zh.bind(null,c2),d=zh.bind(null,tc);function f(ie,le){let he,Se;return Cw(ie)?(he=e.getRecordMatcher(ie),Se=le):Se=ie,e.addRoute(Se,he)}function _(ie){const le=e.getRecordMatcher(ie);le&&e.removeRoute(le)}function g(){return e.getRoutes().map(ie=>ie.record)}function b(ie){return!!e.getRecordMatcher(ie)}function y(ie,le){if(le=Zt({},le||u.value),typeof ie=="string"){const Y=qh(n,ie,le.path),ee=e.resolve({path:Y.path},le),X=i.createHref(Y.fullPath);return Zt(Y,ee,{params:d(ee.params),hash:tc(Y.hash),redirectedFrom:void 0,href:X})}let he;if(ie.path!=null)he=Zt({},ie,{path:qh(n,ie.path,le.path).path});else{const Y=Zt({},ie.params);for(const ee in Y)Y[ee]==null&&delete Y[ee];he=Zt({},ie,{params:l(Y)}),le.params=l(le.params)}const Se=e.resolve(he,le),Ie=ie.hash||"";Se.params=h(d(Se.params));const j=h2(r,Zt({},ie,{hash:a2(Ie),path:Se.path})),P=i.createHref(j);return Zt({fullPath:j,hash:Ie,query:r===w0?j2(ie.query):ie.query||{}},Se,{redirectedFrom:void 0,href:P})}function w(ie){return typeof ie=="string"?qh(n,ie,u.value.path):Zt({},ie)}function A(ie,le){if(c!==ie)return vl(8,{from:le,to:ie})}function k(ie){return L(ie)}function R(ie){return k(Zt(w(ie),{replace:!0}))}function x(ie){const le=ie.matched[ie.matched.length-1];if(le&&le.redirect){const{redirect:he}=le;let Se=typeof he=="function"?he(ie):he;return typeof Se=="string"&&(Se=Se.includes("?")||Se.includes("#")?Se=w(Se):{path:Se},Se.params={}),Zt({query:ie.query,hash:ie.hash,params:Se.path!=null?{}:ie.params},Se)}}function L(ie,le){const he=c=y(ie),Se=u.value,Ie=ie.state,j=ie.force,P=ie.replace===!0,Y=x(he);if(Y)return L(Zt(w(Y),{state:typeof Y=="object"?Zt({},Ie,Y.state):Ie,force:j,replace:P}),le||he);const ee=he;ee.redirectedFrom=le;let X;return!j&&p2(r,Se,he)&&(X=vl(16,{to:ee,from:Se}),pe(Se,Se,!0,!1)),(X?Promise.resolve(X):V(ee,Se)).catch(C=>Io(C)?Io(C,2)?C:q(C):oe(C,ee,Se)).then(C=>{if(C){if(Io(C,2))return L(Zt({replace:P},w(C.to),{state:typeof C.to=="object"?Zt({},Ie,C.to.state):Ie,force:j}),le||ee)}else C=$(ee,Se,!0,P,Ie);return ne(ee,Se,C),C})}function F(ie,le){const he=A(ie,le);return he?Promise.reject(he):Promise.resolve()}function H(ie){const le=ye.values().next().value;return le&&typeof le.runWithContext=="function"?le.runWithContext(ie):ie()}function V(ie,le){let he;const[Se,Ie,j]=Z2(ie,le);he=Gh(Se.reverse(),"beforeRouteLeave",ie,le);for(const Y of Se)Y.leaveGuards.forEach(ee=>{he.push(gs(ee,ie,le))});const P=F.bind(null,ie,le);return he.push(P),be(he).then(()=>{he=[];for(const Y of o.list())he.push(gs(Y,ie,le));return he.push(P),be(he)}).then(()=>{he=Gh(Ie,"beforeRouteUpdate",ie,le);for(const Y of Ie)Y.updateGuards.forEach(ee=>{he.push(gs(ee,ie,le))});return he.push(P),be(he)}).then(()=>{he=[];for(const Y of j)if(Y.beforeEnter)if(Ki(Y.beforeEnter))for(const ee of Y.beforeEnter)he.push(gs(ee,ie,le));else he.push(gs(Y.beforeEnter,ie,le));return he.push(P),be(he)}).then(()=>(ie.matched.forEach(Y=>Y.enterCallbacks={}),he=Gh(j,"beforeRouteEnter",ie,le,H),he.push(P),be(he))).then(()=>{he=[];for(const Y of s.list())he.push(gs(Y,ie,le));return he.push(P),be(he)}).catch(Y=>Io(Y,8)?Y:Promise.reject(Y))}function ne(ie,le,he){a.list().forEach(Se=>H(()=>Se(ie,le,he)))}function $(ie,le,he,Se,Ie){const j=A(ie,le);if(j)return j;const P=le===as,Y=qa?history.state:{};he&&(Se||P?i.replace(ie.fullPath,Zt({scroll:P&&Y&&Y.scroll},Ie)):i.push(ie.fullPath,Ie)),u.value=ie,pe(ie,le,he,P),q()}let M;function z(){M||(M=i.listen((ie,le,he)=>{if(!Ae.listening)return;const Se=y(ie),Ie=x(Se);if(Ie){L(Zt(Ie,{replace:!0,force:!0}),Se).catch(Cu);return}c=Se;const j=u.value;qa&&S2(d0(j.fullPath,he.delta),Jd()),V(Se,j).catch(P=>Io(P,12)?P:Io(P,2)?(L(Zt(w(P.to),{force:!0}),Se).then(Y=>{Io(Y,20)&&!he.delta&&he.type===nc.pop&&i.go(-1,!1)}).catch(Cu),Promise.reject()):(he.delta&&i.go(-he.delta,!1),oe(P,Se,j))).then(P=>{P=P||$(Se,j,!1),P&&(he.delta&&!Io(P,8)?i.go(-he.delta,!1):he.type===nc.pop&&Io(P,20)&&i.go(-1,!1)),ne(Se,j,P)}).catch(Cu)}))}let K=eu(),B=eu(),W;function oe(ie,le,he){q(ie);const Se=B.list();return Se.length?Se.forEach(Ie=>Ie(ie,le,he)):console.error(ie),Promise.reject(ie)}function se(){return W&&u.value!==as?Promise.resolve():new Promise((ie,le)=>{K.add([ie,le])})}function q(ie){return W||(W=!ie,z(),K.list().forEach(([le,he])=>ie?he(ie):le()),K.reset()),ie}function pe(ie,le,he,Se){const{scrollBehavior:Ie}=t;if(!qa||!Ie)return Promise.resolve();const j=!he&&T2(d0(ie.fullPath,0))||(Se||!he)&&history.state&&history.state.scroll||null;return Lt().then(()=>Ie(ie,le,j)).then(P=>P&&w2(P)).catch(P=>oe(P,ie,le))}const Te=ie=>i.go(ie);let _e;const ye=new Set,Ae={currentRoute:u,listening:!0,addRoute:f,removeRoute:_,clearRoutes:e.clearRoutes,hasRoute:b,getRoutes:g,resolve:y,options:t,push:k,replace:R,go:Te,back:()=>Te(-1),forward:()=>Te(1),beforeEach:o.add,beforeResolve:s.add,afterEach:a.add,onError:B.add,isReady:se,install(ie){const le=this;ie.component("RouterLink",G2),ie.component("RouterView",Q2),ie.config.globalProperties.$router=le,Object.defineProperty(ie.config.globalProperties,"$route",{enumerable:!0,get:()=>ge(u)}),qa&&!_e&&u.value===as&&(_e=!0,k(i.location).catch(Ie=>{}));const he={};for(const Ie in as)Object.defineProperty(he,Ie,{get:()=>u.value[Ie],enumerable:!0});ie.provide(Zd,le),ie.provide(_g,db(he)),ie.provide(qp,u);const Se=ie.unmount;ye.add(ie),ie.unmount=function(){ye.delete(ie),ye.size<1&&(c=as,M&&M(),M=null,u.value=as,_e=!1,W=!1),Se()}}};function be(ie){return ie.reduce((le,he)=>le.then(()=>H(he)),Promise.resolve())}return Ae}function Z2(t,e){const n=[],r=[],i=[],o=Math.max(e.matched.length,t.matched.length);for(let s=0;s<o;s++){const a=e.matched[s];a&&(t.matched.find(c=>_l(c,a))?r.push(a):n.push(a));const u=t.matched[s];u&&(e.matched.find(c=>_l(c,u))||i.push(u))}return[n,r,i]}function Pl(){return Yr(Zd)}function Il(t){return Yr(_g)}const eP=["href","rel","target"],Lw={__name:"AppLink",props:{to:{type:String,required:!0},rel:{type:String,default:null},target:{type:String,default:null},params:{type:String,default:null}},setup(t){const e=Il(),n=t,r=u=>typeof u=="string"&&(u.startsWith("http")||u.startsWith("mailto:")||u.startsWith("tel:")),i=xe(()=>r(n.to)||n.target==="_blank"||n.to.includes("tel:")||n.to.includes("mailto:")),o=xe(()=>typeof n.target=="string"?n.target:i.value?"_blank":"_self"),s=()=>{typeof window<"u"&&e.fullPath===n.to&&window.location.reload()},a=xe(()=>n.params?n.to+n.params:n.to);return(u,c)=>{const h=lg("router-link");return ge(i)?(ae(),me("a",{key:0,href:ge(a),rel:t.rel,target:ge(o),"c-cursor":"no-custom",class:"link"},[Do(u.$slots,"default")],8,eP)):(ae(),Kt(h,{key:1,to:ge(a),"c-cursor":"no-custom",class:"link",onClick:s},{default:Di(()=>[Do(u.$slots,"default")]),_:3},8,["to"]))}}},tP=!0,pi=()=>typeof window<"u",nP=()=>typeof document<"u"&&!!document.body,Ow=!pi(),rP=()=>pi(),ya=pi()?window.navigator.userAgent:"",iP=pi()?window.location.href:"",Mw=pi()?window.location.search:"",oP=pi()?window.safari:!1,vg=pi()?navigator.vendor:"",R0=pi()?navigator.platform:"",yg=pi()?navigator.maxTouchPoints:0,sP=yg>1,qn=ya.toLowerCase(),aP=new URLSearchParams(Mw),lP=qn.includes("mac"),uP=qn.includes("windows"),Fw=/apple/i.test(vg)||oP,cP=/firefox/.test(qn),fP=/edge\/\d+/.test(ya),dP=qn.includes("trident")&&ya.includes("rv:11"),bg=/(iphone|ipod)/.test(qn),wg=/(ipad)/.test(qn)||R0==="iPad"||!bg&&/MacIntel/.test(R0)&&yg>0,Cc=bg||wg,Sg=/(android)/.test(qn),eh=wg||/(tablet|ipad|playbook|silk)|(android(?!.*mobi))/i.test(qn),th=Cc||eh||Sg,nh=!th,hP=th&&!eh,pP=th&&!eh,mP=!Cc&&Fw&&!yg,Tg=/fban\/messengerforios/.test(qn)||/fb_iab\/messenger/.test(qn),Dw=!1,gP=/(fban|fbav)/.test(qn)&&!Tg&&!Dw,_P=/instagram/.test(qn),vP=/micromessenger/.test(qn),yP=/weibo/.test(qn),bP=/ucbrowser/.test(qn),wP=/samsung/.test(qn),SP=/(crios|fxios|opios|mercury|ucbrowser|fbav|fban|instagram)/.test(qn),TP=/(opera|ucbrowser|samsung|fbav|fban|instagram)/.test(qn),EP=Cc&&!SP,kP=Cc&&/crios/.test(qn),AP=Sg&&!TP&&/chrome/.test(qn)&&!Tg,RP=nh&&/Chrome/.test(ya)&&/Google Inc/.test(vg)&&!/Edg/.test(ya),CP=nh&&/Chrome/.test(ya)&&/Google Inc/.test(vg)&&/Edg/.test(ya),xP=!1,PP="https://graphql.kontent.ai/",IP="null",$w="4bb91847-d552-009a-ce6f-52272156c6c2",LP=!1,OP=PP+$w,MP="https://videos.breakthroughenergy.org/breakthroughenergy/video/fetch/w_1308/q_auto/g_auto/ar_16:9/c_fill/",FP="",DP="https://videos.breakthroughenergy.org/",$P=2,HP=pi()?Math.min(window.devicePixelRatio||1,$P):1,NP=async function(){},lt={get hasDocument(){return nP()},get hasWindow(){return pi()},get isClient(){return rP()},window:pi()?window:{},isSSR:Ow,touchScreen:sP,mobile:th,tablet:eh,desktop:nh,phone:hP,mac:lP,windows:uP,href:iP,queryString:Mw,urlParams:aP,pixelRatio:HP,ios:Cc,iphone:bg,ipad:wg,android:Sg,learnMobile:pP,facebook_video_ad:Dw,facebook:gP,messenger:Tg,instagram:_P,wechat:vP,weibo:yP,ucbrowser:bP,samsung:wP,edge:fP,ie11:dP,safari:Fw,ios_safari:EP,ios_chrome:kP,desktop_safari:mP,desktop_chrome:RP,desktop_edge:CP,webp:()=>tP,android_chrome:AP,firefox:cP,init:NP,localhost:xP,graphQLURL:OP,kontentAPIKey:IP,kontentEnvID:$w,usePreview:LP,cloudinaryVideoURL:MP,cloudinaryAssetURL:FP,videoPrefix:DP};function BP(){if(!pi)return;const t=Ow?null:document.querySelector("html"),e={};for(const n in lt)t&<[n]===!0&&t.classList.add(e[n]||n)}BP();function Mo(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Hw(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}/*!
* GSAP 3.13.0
* https://gsap.com
*
* @license Copyright 2008-2025, GreenSock. All rights reserved.
* Subject to the terms at https://gsap.com/standard-license
* @author: Jack Doyle, jack@greensock.com
*/var hi={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},yl={duration:.5,overwrite:!1,delay:0},Eg,hr,bn,Ci=1e8,fn=1/Ci,Gp=Math.PI*2,VP=Gp/4,UP=0,Nw=Math.sqrt,jP=Math.cos,WP=Math.sin,lr=function(e){return typeof e=="string"},On=function(e){return typeof e=="function"},Jo=function(e){return typeof e=="number"},kg=function(e){return typeof e>"u"},wo=function(e){return typeof e=="object"},Kr=function(e){return e!==!1},Ag=function(){return typeof window<"u"},lf=function(e){return On(e)||lr(e)},Bw=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},xr=Array.isArray,Yp=/(?:-?\.?\d|\.)+/gi,Vw=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,Ja=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,Yh=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,Uw=/[+-]=-?[.\d]+/,jw=/[^,'"\[\]\s]+/gi,zP=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,En,lo,Kp,Rg,mi={},pd={},Ww,zw=function(e){return(pd=bl(e,mi))&&ti},Cg=function(e,n){return console.warn("Invalid property",e,"set to",n,"Missing plugin? gsap.registerPlugin()")},rc=function(e,n){return!n&&console.warn(e)},qw=function(e,n){return e&&(mi[e]=n)&&pd&&(pd[e]=n)||mi},ic=function(){return 0},qP={suppressEvents:!0,isStart:!0,kill:!1},$f={suppressEvents:!0,kill:!1},GP={suppressEvents:!0},xg={},As=[],Xp={},Gw,si={},Kh={},C0=30,Hf=[],Pg="",Ig=function(e){var n=e[0],r,i;if(wo(n)||On(n)||(e=[e]),!(r=(n._gsap||{}).harness)){for(i=Hf.length;i--&&!Hf[i].targetTest(n););r=Hf[i]}for(i=e.length;i--;)e[i]&&(e[i]._gsap||(e[i]._gsap=new _S(e[i],r)))||e.splice(i,1);return e},la=function(e){return e._gsap||Ig(xi(e))[0]._gsap},Yw=function(e,n,r){return(r=e[n])&&On(r)?e[n]():kg(r)&&e.getAttribute&&e.getAttribute(n)||r},Xr=function(e,n){return(e=e.split(",")).forEach(n)||e},Dn=function(e){return Math.round(e*1e5)/1e5||0},jn=function(e){return Math.round(e*1e7)/1e7||0},sl=function(e,n){var r=n.charAt(0),i=parseFloat(n.substr(2));return e=parseFloat(e),r==="+"?e+i:r==="-"?e-i:r==="*"?e*i:e/i},YP=function(e,n){for(var r=n.length,i=0;e.indexOf(n[i])<0&&++i<r;);return i<r},md=function(){var e=As.length,n=As.slice(0),r,i;for(Xp={},As.length=0,r=0;r<e;r++)i=n[r],i&&i._lazy&&(i.render(i._lazy[0],i._lazy[1],!0)._lazy=0)},Lg=function(e){return!!(e._initted||e._startAt||e.add)},Kw=function(e,n,r,i){As.length&&!hr&&md(),e.render(n,r,!!(hr&&n<0&&Lg(e))),As.length&&!hr&&md()},Xw=function(e){var n=parseFloat(e);return(n||n===0)&&(e+"").match(jw).length<2?n:lr(e)?e.trim():e},Qw=function(e){return e},gi=function(e,n){for(var r in n)r in e||(e[r]=n[r]);return e},KP=function(e){return function(n,r){for(var i in r)i in n||i==="duration"&&e||i==="ease"||(n[i]=r[i])}},bl=function(e,n){for(var r in n)e[r]=n[r];return e},x0=function t(e,n){for(var r in n)r!=="__proto__"&&r!=="constructor"&&r!=="prototype"&&(e[r]=wo(n[r])?t(e[r]||(e[r]={}),n[r]):n[r]);return e},gd=function(e,n){var r={},i;for(i in e)i in n||(r[i]=e[i]);return r},Pu=function(e){var n=e.parent||En,r=e.keyframes?KP(xr(e.keyframes)):gi;if(Kr(e.inherit))for(;n;)r(e,n.vars.defaults),n=n.parent||n._dp;return e},XP=function(e,n){for(var r=e.length,i=r===n.length;i&&r--&&e[r]===n[r];);return r<0},Jw=function(e,n,r,i,o){var s=e[i],a;if(o)for(a=n[o];s&&s[o]>a;)s=s._prev;return s?(n._next=s._next,s._next=n):(n._next=e[r],e[r]=n),n._next?n._next._prev=n:e[i]=n,n._prev=s,n.parent=n._dp=e,n},rh=function(e,n,r,i){r===void 0&&(r="_first"),i===void 0&&(i="_last");var o=n._prev,s=n._next;o?o._next=s:e[r]===n&&(e[r]=s),s?s._prev=o:e[i]===n&&(e[i]=o),n._next=n._prev=n.parent=null},Is=function(e,n){e.parent&&(!n||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},ua=function(e,n){if(e&&(!n||n._end>e._dur||n._start<0))for(var r=e;r;)r._dirty=1,r=r.parent;return e},QP=function(e){for(var n=e.parent;n&&n.parent;)n._dirty=1,n.totalDuration(),n=n.parent;return e},Qp=function(e,n,r,i){return e._startAt&&(hr?e._startAt.revert($f):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(n,!0,i))},JP=function t(e){return!e||e._ts&&t(e.parent)},P0=function(e){return e._repeat?wl(e._tTime,e=e.duration()+e._rDelay)*e:0},wl=function(e,n){var r=Math.floor(e=jn(e/n));return e&&r===e?r-1:r},_d=function(e,n){return(e-n._start)*n._ts+(n._ts>=0?0:n._dirty?n.totalDuration():n._tDur)},ih=function(e){return e._end=jn(e._start+(e._tDur/Math.abs(e._ts||e._rts||fn)||0))},oh=function(e,n){var r=e._dp;return r&&r.smoothChildTiming&&e._ts&&(e._start=jn(r._time-(e._ts>0?n/e._ts:((e._dirty?e.totalDuration():e._tDur)-n)/-e._ts)),ih(e),r._dirty||ua(r,e)),e},Zw=function(e,n){var r;if((n._time||!n._dur&&n._initted||n._start<e._time&&(n._dur||!n.add))&&(r=_d(e.rawTime(),n),(!n._dur||xc(0,n.totalDuration(),r)-n._tTime>fn)&&n.render(r,!0)),ua(e,n)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur<e.duration())for(r=e;r._dp;)r.rawTime()>=0&&r.totalTime(r._tTime),r=r._dp;e._zTime=-fn}},ho=function(e,n,r,i){return n.parent&&Is(n),n._start=jn((Jo(r)?r:r||e!==En?Ei(e,r,n):e._time)+n._delay),n._end=jn(n._start+(n.totalDuration()/Math.abs(n.timeScale())||0)),Jw(e,n,"_first","_last",e._sort?"_start":0),Jp(n)||(e._recent=n),i||Zw(e,n),e._ts<0&&oh(e,e._tTime),e},eS=function(e,n){return(mi.ScrollTrigger||Cg("scrollTrigger",n))&&mi.ScrollTrigger.create(n,e)},tS=function(e,n,r,i,o){if(Mg(e,n,o),!e._initted)return 1;if(!r&&e._pt&&!hr&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&Gw!==li.frame)return As.push(e),e._lazy=[o,i],1},ZP=function t(e){var n=e.parent;return n&&n._ts&&n._initted&&!n._lock&&(n.rawTime()<0||t(n))},Jp=function(e){var n=e.data;return n==="isFromStart"||n==="isStart"},eI=function(e,n,r,i){var o=e.ratio,s=n<0||!n&&(!e._start&&ZP(e)&&!(!e._initted&&Jp(e))||(e._ts<0||e._dp._ts<0)&&!Jp(e))?0:1,a=e._rDelay,u=0,c,h,l;if(a&&e._repeat&&(u=xc(0,e._tDur,n),h=wl(u,a),e._yoyo&&h&1&&(s=1-s),h!==wl(e._tTime,a)&&(o=1-s,e.vars.repeatRefresh&&e._initted&&e.invalidate())),s!==o||hr||i||e._zTime===fn||!n&&e._zTime){if(!e._initted&&tS(e,n,i,r,u))return;for(l=e._zTime,e._zTime=n||(r?fn:0),r||(r=n&&!l),e.ratio=s,e._from&&(s=1-s),e._time=0,e._tTime=u,c=e._pt;c;)c.r(s,c.d),c=c._next;n<0&&Qp(e,n,r,!0),e._onUpdate&&!r&&fi(e,"onUpdate"),u&&e._repeat&&!r&&e.parent&&fi(e,"onRepeat"),(n>=e._tDur||n<0)&&e.ratio===s&&(s&&Is(e,1),!r&&!hr&&(fi(e,s?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=n)},tI=function(e,n,r){var i;if(r>n)for(i=e._first;i&&i._start<=r;){if(i.data==="isPause"&&i._start>n)return i;i=i._next}else for(i=e._last;i&&i._start>=r;){if(i.data==="isPause"&&i._start<n)return i;i=i._prev}},Sl=function(e,n,r,i){var o=e._repeat,s=jn(n)||0,a=e._tTime/e._tDur;return a&&!i&&(e._time*=s/e._dur),e._dur=s,e._tDur=o?o<0?1e10:jn(s*(o+1)+e._rDelay*o):s,a>0&&!i&&oh(e,e._tTime=e._tDur*a),e.parent&&ih(e),r||ua(e.parent,e),e},I0=function(e){return e instanceof Vr?ua(e):Sl(e,e._dur)},nI={_start:0,endTime:ic,totalDuration:ic},Ei=function t(e,n,r){var i=e.labels,o=e._recent||nI,s=e.duration()>=Ci?o.endTime(!1):e._dur,a,u,c;return lr(n)&&(isNaN(n)||n in i)?(u=n.charAt(0),c=n.substr(-1)==="%",a=n.indexOf("="),u==="<"||u===">"?(a>=0&&(n=n.replace(/=/,"")),(u==="<"?o._start:o.endTime(o._repeat>=0))+(parseFloat(n.substr(1))||0)*(c?(a<0?o:r).totalDuration()/100:1)):a<0?(n in i||(i[n]=s),i[n]):(u=parseFloat(n.charAt(a-1)+n.substr(a+1)),c&&r&&(u=u/100*(xr(r)?r[0]:r).totalDuration()),a>1?t(e,n.substr(0,a-1),r)+u:s+u)):n==null?s:+n},Iu=function(e,n,r){var i=Jo(n[1]),o=(i?2:1)+(e<2?0:1),s=n[o],a,u;if(i&&(s.duration=n[1]),s.parent=r,e){for(a=s,u=r;u&&!("immediateRender"in a);)a=u.vars.defaults||{},u=Kr(u.vars.inherit)&&u.parent;s.immediateRender=Kr(a.immediateRender),e<2?s.runBackwards=1:s.startAt=n[o-1]}return new Un(n[0],s,n[o+1])},Hs=function(e,n){return e||e===0?n(e):n},xc=function(e,n,r){return r<e?e:r>n?n:r},kr=function(e,n){return!lr(e)||!(n=zP.exec(e))?"":n[1]},rI=function(e,n,r){return Hs(r,function(i){return xc(e,n,i)})},Zp=[].slice,nS=function(e,n){return e&&wo(e)&&"length"in e&&(!n&&!e.length||e.length-1 in e&&wo(e[0]))&&!e.nodeType&&e!==lo},iI=function(e,n,r){return r===void 0&&(r=[]),e.forEach(function(i){var o;return lr(i)&&!n||nS(i,1)?(o=r).push.apply(o,xi(i)):r.push(i)})||r},xi=function(e,n,r){return bn&&!n&&bn.selector?bn.selector(e):lr(e)&&!r&&(Kp||!Tl())?Zp.call((n||Rg).querySelectorAll(e),0):xr(e)?iI(e,r):nS(e)?Zp.call(e,0):e?[e]:[]},em=function(e){return e=xi(e)[0]||rc("Invalid scope")||{},function(n){var r=e.current||e.nativeElement||e;return xi(n,r.querySelectorAll?r:r===e?rc("Invalid scope")||Rg.createElement("div"):e)}},rS=function(e){return e.sort(function(){return .5-Math.random()})},iS=function(e){if(On(e))return e;var n=wo(e)?e:{each:e},r=ca(n.ease),i=n.from||0,o=parseFloat(n.base)||0,s={},a=i>0&&i<1,u=isNaN(i)||a,c=n.axis,h=i,l=i;return lr(i)?h=l={center:.5,edges:.5,end:1}[i]||0:!a&&u&&(h=i[0],l=i[1]),function(d,f,_){var g=(_||n).length,b=s[g],y,w,A,k,R,x,L,F,H;if(!b){if(H=n.grid==="auto"?0:(n.grid||[1,Ci])[1],!H){for(L=-Ci;L<(L=_[H++].getBoundingClientRect().left)&&H<g;);H<g&&H--}for(b=s[g]=[],y=u?Math.min(H,g)*h-.5:i%H,w=H===Ci?0:u?g*l/H-.5:i/H|0,L=0,F=Ci,x=0;x<g;x++)A=x%H-y,k=w-(x/H|0),b[x]=R=c?Math.abs(c==="y"?k:A):Nw(A*A+k*k),R>L&&(L=R),R<F&&(F=R);i==="random"&&rS(b),b.max=L-F,b.min=F,b.v=g=(parseFloat(n.amount)||parseFloat(n.each)*(H>g?g-1:c?c==="y"?g/H:H:Math.max(H,g/H))||0)*(i==="edges"?-1:1),b.b=g<0?o-g:o,b.u=kr(n.amount||n.each)||0,r=r&&g<0?pS(r):r}return g=(b[d]-b.min)/b.max||0,jn(b.b+(r?r(g):g)*b.v)+b.u}},tm=function(e){var n=Math.pow(10,((e+"").split(".")[1]||"").length);return function(r){var i=jn(Math.round(parseFloat(r)/e)*e*n);return(i-i%1)/n+(Jo(r)?0:kr(r))}},oS=function(e,n){var r=xr(e),i,o;return!r&&wo(e)&&(i=r=e.radius||Ci,e.values?(e=xi(e.values),(o=!Jo(e[0]))&&(i*=i)):e=tm(e.increment)),Hs(n,r?On(e)?function(s){return o=e(s),Math.abs(o-s)<=i?o:s}:function(s){for(var a=parseFloat(o?s.x:s),u=parseFloat(o?s.y:0),c=Ci,h=0,l=e.length,d,f;l--;)o?(d=e[l].x-a,f=e[l].y-u,d=d*d+f*f):d=Math.abs(e[l]-a),d<c&&(c=d,h=l);return h=!i||c<=i?e[h]:s,o||h===s||Jo(s)?h:h+kr(s)}:tm(e))},sS=function(e,n,r,i){return Hs(xr(e)?!n:r===!0?!!(r=0):!i,function(){return xr(e)?e[~~(Math.random()*e.length)]:(r=r||1e-5)&&(i=r<1?Math.pow(10,(r+"").length-2):1)&&Math.floor(Math.round((e-r/2+Math.random()*(n-e+r*.99))/r)*r*i)/i})},oI=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return function(i){return n.reduce(function(o,s){return s(o)},i)}},sI=function(e,n){return function(r){return e(parseFloat(r))+(n||kr(r))}},aI=function(e,n,r){return lS(e,n,0,1,r)},aS=function(e,n,r){return Hs(r,function(i){return e[~~n(i)]})},lI=function t(e,n,r){var i=n-e;return xr(e)?aS(e,t(0,e.length),n):Hs(r,function(o){return(i+(o-e)%i)%i+e})},uI=function t(e,n,r){var i=n-e,o=i*2;return xr(e)?aS(e,t(0,e.length-1),n):Hs(r,function(s){return s=(o+(s-e)%o)%o||0,e+(s>i?o-s:s)})},oc=function(e){for(var n=0,r="",i,o,s,a;~(i=e.indexOf("random(",n));)s=e.indexOf(")",i),a=e.charAt(i+7)==="[",o=e.substr(i+7,s-i-7).match(a?jw:Yp),r+=e.substr(n,i-n)+sS(a?o:+o[0],a?0:+o[1],+o[2]||1e-5),n=s+1;return r+e.substr(n,e.length-n)},lS=function(e,n,r,i,o){var s=n-e,a=i-r;return Hs(o,function(u){return r+((u-e)/s*a||0)})},cI=function t(e,n,r,i){var o=isNaN(e+n)?0:function(f){return(1-f)*e+f*n};if(!o){var s=lr(e),a={},u,c,h,l,d;if(r===!0&&(i=1)&&(r=null),s)e={p:e},n={p:n};else if(xr(e)&&!xr(n)){for(h=[],l=e.length,d=l-2,c=1;c<l;c++)h.push(t(e[c-1],e[c]));l--,o=function(_){_*=l;var g=Math.min(d,~~_);return h[g](_-g)},r=n}else i||(e=bl(xr(e)?[]:{},e));if(!h){for(u in n)Og.call(a,e,u,"get",n[u]);o=function(_){return $g(_,a)||(s?e.p:e)}}}return Hs(r,o)},L0=function(e,n,r){var i=e.labels,o=Ci,s,a,u;for(s in i)a=i[s]-n,a<0==!!r&&a&&o>(a=Math.abs(a))&&(u=s,o=a);return u},fi=function(e,n,r){var i=e.vars,o=i[n],s=bn,a=e._ctx,u,c,h;if(o)return u=i[n+"Params"],c=i.callbackScope||e,r&&As.length&&md(),a&&(bn=a),h=u?o.apply(c,u):o.call(c),bn=s,h},du=function(e){return Is(e),e.scrollTrigger&&e.scrollTrigger.kill(!!hr),e.progress()<1&&fi(e,"onInterrupt"),e},Za,uS=[],cS=function(e){if(e)if(e=!e.name&&e.default||e,Ag()||e.headless){var n=e.name,r=On(e),i=n&&!r&&e.init?function(){this._props=[]}:e,o={init:ic,render:$g,add:Og,kill:AI,modifier:kI,rawVars:0},s={targetTest:0,get:0,getSetter:Dg,aliases:{},register:0};if(Tl(),e!==i){if(si[n])return;gi(i,gi(gd(e,o),s)),bl(i.prototype,bl(o,gd(e,s))),si[i.prop=n]=i,e.targetTest&&(Hf.push(i),xg[n]=1),n=(n==="css"?"CSS":n.charAt(0).toUpperCase()+n.substr(1))+"Plugin"}qw(n,i),e.register&&e.register(ti,i,Qr)}else uS.push(e)},cn=255,hu={aqua:[0,cn,cn],lime:[0,cn,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,cn],navy:[0,0,128],white:[cn,cn,cn],olive:[128,128,0],yellow:[cn,cn,0],orange:[cn,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[cn,0,0],pink:[cn,192,203],cyan:[0,cn,cn],transparent:[cn,cn,cn,0]},Xh=function(e,n,r){return e+=e<0?1:e>1?-1:0,(e*6<1?n+(r-n)*e*6:e<.5?r:e*3<2?n+(r-n)*(2/3-e)*6:n)*cn+.5|0},fS=function(e,n,r){var i=e?Jo(e)?[e>>16,e>>8&cn,e&cn]:0:hu.black,o,s,a,u,c,h,l,d,f,_;if(!i){if(e.substr(-1)===","&&(e=e.substr(0,e.length-1)),hu[e])i=hu[e];else if(e.charAt(0)==="#"){if(e.length<6&&(o=e.charAt(1),s=e.charAt(2),a=e.charAt(3),e="#"+o+o+s+s+a+a+(e.length===5?e.charAt(4)+e.charAt(4):"")),e.length===9)return i=parseInt(e.substr(1,6),16),[i>>16,i>>8&cn,i&cn,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),i=[e>>16,e>>8&cn,e&cn]}else if(e.substr(0,3)==="hsl"){if(i=_=e.match(Yp),!n)u=+i[0]%360/360,c=+i[1]/100,h=+i[2]/100,s=h<=.5?h*(c+1):h+c-h*c,o=h*2-s,i.length>3&&(i[3]*=1),i[0]=Xh(u+1/3,o,s),i[1]=Xh(u,o,s),i[2]=Xh(u-1/3,o,s);else if(~e.indexOf("="))return i=e.match(Vw),r&&i.length<4&&(i[3]=1),i}else i=e.match(Yp)||hu.transparent;i=i.map(Number)}return n&&!_&&(o=i[0]/cn,s=i[1]/cn,a=i[2]/cn,l=Math.max(o,s,a),d=Math.min(o,s,a),h=(l+d)/2,l===d?u=c=0:(f=l-d,c=h>.5?f/(2-l-d):f/(l+d),u=l===o?(s-a)/f+(s<a?6:0):l===s?(a-o)/f+2:(o-s)/f+4,u*=60),i[0]=~~(u+.5),i[1]=~~(c*100+.5),i[2]=~~(h*100+.5)),r&&i.length<4&&(i[3]=1),i},dS=function(e){var n=[],r=[],i=-1;return e.split(Rs).forEach(function(o){var s=o.match(Ja)||[];n.push.apply(n,s),r.push(i+=s.length+1)}),n.c=r,n},O0=function(e,n,r){var i="",o=(e+i).match(Rs),s=n?"hsla(":"rgba(",a=0,u,c,h,l;if(!o)return e;if(o=o.map(function(d){return(d=fS(d,n,1))&&s+(n?d[0]+","+d[1]+"%,"+d[2]+"%,"+d[3]:d.join(","))+")"}),r&&(h=dS(e),u=r.c,u.join(i)!==h.c.join(i)))for(c=e.replace(Rs,"1").split(Ja),l=c.length-1;a<l;a++)i+=c[a]+(~u.indexOf(a)?o.shift()||s+"0,0,0,0)":(h.length?h:o.length?o:r).shift());if(!c)for(c=e.split(Rs),l=c.length-1;a<l;a++)i+=c[a]+o[a];return i+c[l]},Rs=function(){var t="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",e;for(e in hu)t+="|"+e+"\\b";return new RegExp(t+")","gi")}(),fI=/hsl[a]?\(/,hS=function(e){var n=e.join(" "),r;if(Rs.lastIndex=0,Rs.test(n))return r=fI.test(n),e[1]=O0(e[1],r),e[0]=O0(e[0],r,dS(e[1])),!0},sc,li=function(){var t=Date.now,e=500,n=33,r=t(),i=r,o=1e3/240,s=o,a=[],u,c,h,l,d,f,_=function g(b){var y=t()-i,w=b===!0,A,k,R,x;if((y>e||y<0)&&(r+=y-n),i+=y,R=i-r,A=R-s,(A>0||w)&&(x=++l.frame,d=R-l.time*1e3,l.time=R=R/1e3,s+=A+(A>=o?4:o-A),k=1),w||(u=c(g)),k)for(f=0;f<a.length;f++)a[f](R,d,x,b)};return l={time:0,frame:0,tick:function(){_(!0)},deltaRatio:function(b){return d/(1e3/(b||60))},wake:function(){Ww&&(!Kp&&Ag()&&(lo=Kp=window,Rg=lo.document||{},mi.gsap=ti,(lo.gsapVersions||(lo.gsapVersions=[])).push(ti.version),zw(pd||lo.GreenSockGlobals||!lo.gsap&&lo||{}),uS.forEach(cS)),h=typeof requestAnimationFrame<"u"&&requestAnimationFrame,u&&l.sleep(),c=h||function(b){return setTimeout(b,s-l.time*1e3+1|0)},sc=1,_(2))},sleep:function(){(h?cancelAnimationFrame:clearTimeout)(u),sc=0,c=ic},lagSmoothing:function(b,y){e=b||1/0,n=Math.min(y||33,e)},fps:function(b){o=1e3/(b||240),s=l.time*1e3+o},add:function(b,y,w){var A=y?function(k,R,x,L){b(k,R,x,L),l.remove(A)}:b;return l.remove(b),a[w?"unshift":"push"](A),Tl(),A},remove:function(b,y){~(y=a.indexOf(b))&&a.splice(y,1)&&f>=y&&f--},_listeners:a},l}(),Tl=function(){return!sc&&li.wake()},Dt={},dI=/^[\d.\-M][\d.\-,\s]/,hI=/["']/g,pI=function(e){for(var n={},r=e.substr(1,e.length-3).split(":"),i=r[0],o=1,s=r.length,a,u,c;o<s;o++)u=r[o],a=o!==s-1?u.lastIndexOf(","):u.length,c=u.substr(0,a),n[i]=isNaN(c)?c.replace(hI,"").trim():+c,i=u.substr(a+1).trim();return n},mI=function(e){var n=e.indexOf("(")+1,r=e.indexOf(")"),i=e.indexOf("(",n);return e.substring(n,~i&&i<r?e.indexOf(")",r+1):r)},gI=function(e){var n=(e+"").split("("),r=Dt[n[0]];return r&&n.length>1&&r.config?r.config.apply(null,~e.indexOf("{")?[pI(n[1])]:mI(e).split(",").map(Xw)):Dt._CE&&dI.test(e)?Dt._CE("",e):r},pS=function(e){return function(n){return 1-e(1-n)}},mS=function t(e,n){for(var r=e._first,i;r;)r instanceof Vr?t(r,n):r.vars.yoyoEase&&(!r._yoyo||!r._repeat)&&r._yoyo!==n&&(r.timeline?t(r.timeline,n):(i=r._ease,r._ease=r._yEase,r._yEase=i,r._yoyo=n)),r=r._next},ca=function(e,n){return e&&(On(e)?e:Dt[e]||gI(e))||n},xa=function(e,n,r,i){r===void 0&&(r=function(u){return 1-n(1-u)}),i===void 0&&(i=function(u){return u<.5?n(u*2)/2:1-n((1-u)*2)/2});var o={easeIn:n,easeOut:r,easeInOut:i},s;return Xr(e,function(a){Dt[a]=mi[a]=o,Dt[s=a.toLowerCase()]=r;for(var u in o)Dt[s+(u==="easeIn"?".in":u==="easeOut"?".out":".inOut")]=Dt[a+"."+u]=o[u]}),o},gS=function(e){return function(n){return n<.5?(1-e(1-n*2))/2:.5+e((n-.5)*2)/2}},Qh=function t(e,n,r){var i=n>=1?n:1,o=(r||(e?.3:.45))/(n<1?n:1),s=o/Gp*(Math.asin(1/i)||0),a=function(h){return h===1?1:i*Math.pow(2,-10*h)*WP((h-s)*o)+1},u=e==="out"?a:e==="in"?function(c){return 1-a(1-c)}:gS(a);return o=Gp/o,u.config=function(c,h){return t(e,c,h)},u},Jh=function t(e,n){n===void 0&&(n=1.70158);var r=function(s){return s?--s*s*((n+1)*s+n)+1:0},i=e==="out"?r:e==="in"?function(o){return 1-r(1-o)}:gS(r);return i.config=function(o){return t(e,o)},i};Xr("Linear,Quad,Cubic,Quart,Quint,Strong",function(t,e){var n=e<5?e+1:e;xa(t+",Power"+(n-1),e?function(r){return Math.pow(r,n)}:function(r){return r},function(r){return 1-Math.pow(1-r,n)},function(r){return r<.5?Math.pow(r*2,n)/2:1-Math.pow((1-r)*2,n)/2})});Dt.Linear.easeNone=Dt.none=Dt.Linear.easeIn;xa("Elastic",Qh("in"),Qh("out"),Qh());(function(t,e){var n=1/e,r=2*n,i=2.5*n,o=function(a){return a<n?t*a*a:a<r?t*Math.pow(a-1.5/e,2)+.75:a<i?t*(a-=2.25/e)*a+.9375:t*Math.pow(a-2.625/e,2)+.984375};xa("Bounce",function(s){return 1-o(1-s)},o)})(7.5625,2.75);xa("Expo",function(t){return Math.pow(2,10*(t-1))*t+t*t*t*t*t*t*(1-t)});xa("Circ",function(t){return-(Nw(1-t*t)-1)});xa("Sine",function(t){return t===1?1:-jP(t*VP)+1});xa("Back",Jh("in"),Jh("out"),Jh());Dt.SteppedEase=Dt.steps=mi.SteppedEase={config:function(e,n){e===void 0&&(e=1);var r=1/e,i=e+(n?0:1),o=n?1:0,s=1-fn;return function(a){return((i*xc(0,s,a)|0)+o)*r}}};yl.ease=Dt["quad.out"];Xr("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(t){return Pg+=t+","+t+"Params,"});var _S=function(e,n){this.id=UP++,e._gsap=this,this.target=e,this.harness=n,this.get=n?n.get:Yw,this.set=n?n.getSetter:Dg},ac=function(){function t(n){this.vars=n,this._delay=+n.delay||0,(this._repeat=n.repeat===1/0?-2:n.repeat||0)&&(this._rDelay=n.repeatDelay||0,this._yoyo=!!n.yoyo||!!n.yoyoEase),this._ts=1,Sl(this,+n.duration,1,1),this.data=n.data,bn&&(this._ctx=bn,bn.data.push(this)),sc||li.wake()}var e=t.prototype;return e.delay=function(r){return r||r===0?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+r-this._delay),this._delay=r,this):this._delay},e.duration=function(r){return arguments.length?this.totalDuration(this._repeat>0?r+(r+this._rDelay)*this._repeat:r):this.totalDuration()&&this._dur},e.totalDuration=function(r){return arguments.length?(this._dirty=0,Sl(this,this._repeat<0?r:(r-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(r,i){if(Tl(),!arguments.length)return this._tTime;var o=this._dp;if(o&&o.smoothChildTiming&&this._ts){for(oh(this,r),!o._dp||o.parent||Zw(o,this);o&&o.parent;)o.parent._time!==o._start+(o._ts>=0?o._tTime/o._ts:(o.totalDuration()-o._tTime)/-o._ts)&&o.totalTime(o._tTime,!0),o=o.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&r<this._tDur||this._ts<0&&r>0||!this._tDur&&!r)&&ho(this._dp,this,this._start-this._delay)}return(this._tTime!==r||!this._dur&&!i||this._initted&&Math.abs(this._zTime)===fn||!r&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=r),Kw(this,r,i)),this},e.time=function(r,i){return arguments.length?this.totalTime(Math.min(this.totalDuration(),r+P0(this))%(this._dur+this._rDelay)||(r?this._dur:0),i):this._time},e.totalProgress=function(r,i){return arguments.length?this.totalTime(this.totalDuration()*r,i):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},e.progress=function(r,i){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-r:r)+P0(this),i):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},e.iteration=function(r,i){var o=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(r-1)*o,i):this._repeat?wl(this._tTime,o)+1:1},e.timeScale=function(r,i){if(!arguments.length)return this._rts===-fn?0:this._rts;if(this._rts===r)return this;var o=this.parent&&this._ts?_d(this.parent._time,this):this._tTime;return this._rts=+r||0,this._ts=this._ps||r===-fn?0:this._rts,this.totalTime(xc(-Math.abs(this._delay),this.totalDuration(),o),i!==!1),ih(this),QP(this)},e.paused=function(r){return arguments.length?(this._ps!==r&&(this._ps=r,r?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(Tl(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==fn&&(this._tTime-=fn)))),this):this._ps},e.startTime=function(r){if(arguments.length){this._start=r;var i=this.parent||this._dp;return i&&(i._sort||!this.parent)&&ho(i,this,r-this._delay),this}return this._start},e.endTime=function(r){return this._start+(Kr(r)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(r){var i=this.parent||this._dp;return i?r&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?_d(i.rawTime(r),this):this._tTime:this._tTime},e.revert=function(r){r===void 0&&(r=GP);var i=hr;return hr=r,Lg(this)&&(this.timeline&&this.timeline.revert(r),this.totalTime(-.01,r.suppressEvents)),this.data!=="nested"&&r.kill!==!1&&this.kill(),hr=i,this},e.globalTime=function(r){for(var i=this,o=arguments.length?r:i.rawTime();i;)o=i._start+o/(Math.abs(i._ts)||1),i=i._dp;return!this.parent&&this._sat?this._sat.globalTime(r):o},e.repeat=function(r){return arguments.length?(this._repeat=r===1/0?-2:r,I0(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(r){if(arguments.length){var i=this._time;return this._rDelay=r,I0(this),i?this.time(i):this}return this._rDelay},e.yoyo=function(r){return arguments.length?(this._yoyo=r,this):this._yoyo},e.seek=function(r,i){return this.totalTime(Ei(this,r),Kr(i))},e.restart=function(r,i){return this.play().totalTime(r?-this._delay:0,Kr(i)),this._dur||(this._zTime=-fn),this},e.play=function(r,i){return r!=null&&this.seek(r,i),this.reversed(!1).paused(!1)},e.reverse=function(r,i){return r!=null&&this.seek(r||this.totalDuration(),i),this.reversed(!0).paused(!1)},e.pause=function(r,i){return r!=null&&this.seek(r,i),this.paused(!0)},e.resume=function(){return this.paused(!1)},e.reversed=function(r){return arguments.length?(!!r!==this.reversed()&&this.timeScale(-this._rts||(r?-fn:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-fn,this},e.isActive=function(){var r=this.parent||this._dp,i=this._start,o;return!!(!r||this._ts&&this._initted&&r.isActive()&&(o=r.rawTime(!0))>=i&&o<this.endTime(!0)-fn)},e.eventCallback=function(r,i,o){var s=this.vars;return arguments.length>1?(i?(s[r]=i,o&&(s[r+"Params"]=o),r==="onUpdate"&&(this._onUpdate=i)):delete s[r],this):s[r]},e.then=function(r){var i=this;return new Promise(function(o){var s=On(r)?r:Qw,a=function(){var c=i.then;i.then=null,On(s)&&(s=s(i))&&(s.then||s===i)&&(i.then=c),o(s),i.then=c};i._initted&&i.totalProgress()===1&&i._ts>=0||!i._tTime&&i._ts<0?a():i._prom=a})},e.kill=function(){du(this)},t}();gi(ac.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:-fn,_prom:0,_ps:!1,_rts:1});var Vr=function(t){Hw(e,t);function e(r,i){var o;return r===void 0&&(r={}),o=t.call(this,r)||this,o.labels={},o.smoothChildTiming=!!r.smoothChildTiming,o.autoRemoveChildren=!!r.autoRemoveChildren,o._sort=Kr(r.sortChildren),En&&ho(r.parent||En,Mo(o),i),r.reversed&&o.reverse(),r.paused&&o.paused(!0),r.scrollTrigger&&eS(Mo(o),r.scrollTrigger),o}var n=e.prototype;return n.to=function(i,o,s){return Iu(0,arguments,this),this},n.from=function(i,o,s){return Iu(1,arguments,this),this},n.fromTo=function(i,o,s,a){return Iu(2,arguments,this),this},n.set=function(i,o,s){return o.duration=0,o.parent=this,Pu(o).repeatDelay||(o.repeat=0),o.immediateRender=!!o.immediateRender,new Un(i,o,Ei(this,s),1),this},n.call=function(i,o,s){return ho(this,Un.delayedCall(0,i,o),s)},n.staggerTo=function(i,o,s,a,u,c,h){return s.duration=o,s.stagger=s.stagger||a,s.onComplete=c,s.onCompleteParams=h,s.parent=this,new Un(i,s,Ei(this,u)),this},n.staggerFrom=function(i,o,s,a,u,c,h){return s.runBackwards=1,Pu(s).immediateRender=Kr(s.immediateRender),this.staggerTo(i,o,s,a,u,c,h)},n.staggerFromTo=function(i,o,s,a,u,c,h,l){return a.startAt=s,Pu(a).immediateRender=Kr(a.immediateRender),this.staggerTo(i,o,a,u,c,h,l)},n.render=function(i,o,s){var a=this._time,u=this._dirty?this.totalDuration():this._tDur,c=this._dur,h=i<=0?0:jn(i),l=this._zTime<0!=i<0&&(this._initted||!c),d,f,_,g,b,y,w,A,k,R,x,L;if(this!==En&&h>u&&i>=0&&(h=u),h!==this._tTime||s||l){if(a!==this._time&&c&&(h+=this._time-a,i+=this._time-a),d=h,k=this._start,A=this._ts,y=!A,l&&(c||(a=this._zTime),(i||!o)&&(this._zTime=i)),this._repeat){if(x=this._yoyo,b=c+this._rDelay,this._repeat<-1&&i<0)return this.totalTime(b*100+i,o,s);if(d=jn(h%b),h===u?(g=this._repeat,d=c):(R=jn(h/b),g=~~R,g&&g===R&&(d=c,g--),d>c&&(d=c)),R=wl(this._tTime,b),!a&&this._tTime&&R!==g&&this._tTime-R*b-this._dur<=0&&(R=g),x&&g&1&&(d=c-d,L=1),g!==R&&!this._lock){var F=x&&R&1,H=F===(x&&g&1);if(g<R&&(F=!F),a=F?0:h%c?c:h,this._lock=1,this.render(a||(L?0:jn(g*b)),o,!c)._lock=0,this._tTime=h,!o&&this.parent&&fi(this,"onRepeat"),this.vars.repeatRefresh&&!L&&(this.invalidate()._lock=1),a&&a!==this._time||y!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(c=this._dur,u=this._tDur,H&&(this._lock=2,a=F?c:-1e-4,this.render(a,!0),this.vars.repeatRefresh&&!L&&this.invalidate()),this._lock=0,!this._ts&&!y)return this;mS(this,L)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(w=tI(this,jn(a),jn(d)),w&&(h-=d-(d=w._start))),this._tTime=h,this._time=d,this._act=!A,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=i,a=0),!a&&h&&!o&&!R&&(fi(this,"onStart"),this._tTime!==h))return this;if(d>=a&&i>=0)for(f=this._first;f;){if(_=f._next,(f._act||d>=f._start)&&f._ts&&w!==f){if(f.parent!==this)return this.render(i,o,s);if(f.render(f._ts>0?(d-f._start)*f._ts:(f._dirty?f.totalDuration():f._tDur)+(d-f._start)*f._ts,o,s),d!==this._time||!this._ts&&!y){w=0,_&&(h+=this._zTime=-fn);break}}f=_}else{f=this._last;for(var V=i<0?i:d;f;){if(_=f._prev,(f._act||V<=f._end)&&f._ts&&w!==f){if(f.parent!==this)return this.render(i,o,s);if(f.render(f._ts>0?(V-f._start)*f._ts:(f._dirty?f.totalDuration():f._tDur)+(V-f._start)*f._ts,o,s||hr&&Lg(f)),d!==this._time||!this._ts&&!y){w=0,_&&(h+=this._zTime=V?-fn:fn);break}}f=_}}if(w&&!o&&(this.pause(),w.render(d>=a?0:-fn)._zTime=d>=a?1:-1,this._ts))return this._start=k,ih(this),this.render(i,o,s);this._onUpdate&&!o&&fi(this,"onUpdate",!0),(h===u&&this._tTime>=this.totalDuration()||!h&&a)&&(k===this._start||Math.abs(A)!==Math.abs(this._ts))&&(this._lock||((i||!c)&&(h===u&&this._ts>0||!h&&this._ts<0)&&Is(this,1),!o&&!(i<0&&!a)&&(h||a||!u)&&(fi(this,h===u&&i>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(h<u&&this.timeScale()>0)&&this._prom())))}return this},n.add=function(i,o){var s=this;if(Jo(o)||(o=Ei(this,o,i)),!(i instanceof ac)){if(xr(i))return i.forEach(function(a){return s.add(a,o)}),this;if(lr(i))return this.addLabel(i,o);if(On(i))i=Un.delayedCall(0,i);else return this}return this!==i?ho(this,i,o):this},n.getChildren=function(i,o,s,a){i===void 0&&(i=!0),o===void 0&&(o=!0),s===void 0&&(s=!0),a===void 0&&(a=-Ci);for(var u=[],c=this._first;c;)c._start>=a&&(c instanceof Un?o&&u.push(c):(s&&u.push(c),i&&u.push.apply(u,c.getChildren(!0,o,s)))),c=c._next;return u},n.getById=function(i){for(var o=this.getChildren(1,1,1),s=o.length;s--;)if(o[s].vars.id===i)return o[s]},n.remove=function(i){return lr(i)?this.removeLabel(i):On(i)?this.killTweensOf(i):(i.parent===this&&rh(this,i),i===this._recent&&(this._recent=this._last),ua(this))},n.totalTime=function(i,o){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=jn(li.time-(this._ts>0?i/this._ts:(this.totalDuration()-i)/-this._ts))),t.prototype.totalTime.call(this,i,o),this._forcing=0,this):this._tTime},n.addLabel=function(i,o){return this.labels[i]=Ei(this,o),this},n.removeLabel=function(i){return delete this.labels[i],this},n.addPause=function(i,o,s){var a=Un.delayedCall(0,o||ic,s);return a.data="isPause",this._hasPause=1,ho(this,a,Ei(this,i))},n.removePause=function(i){var o=this._first;for(i=Ei(this,i);o;)o._start===i&&o.data==="isPause"&&Is(o),o=o._next},n.killTweensOf=function(i,o,s){for(var a=this.getTweensOf(i,s),u=a.length;u--;)vs!==a[u]&&a[u].kill(i,o);return this},n.getTweensOf=function(i,o){for(var s=[],a=xi(i),u=this._first,c=Jo(o),h;u;)u instanceof Un?YP(u._targets,a)&&(c?(!vs||u._initted&&u._ts)&&u.globalTime(0)<=o&&u.globalTime(u.totalDuration())>o:!o||u.isActive())&&s.push(u):(h=u.getTweensOf(a,o)).length&&s.push.apply(s,h),u=u._next;return s},n.tweenTo=function(i,o){o=o||{};var s=this,a=Ei(s,i),u=o,c=u.startAt,h=u.onStart,l=u.onStartParams,d=u.immediateRender,f,_=Un.to(s,gi({ease:o.ease||"none",lazy:!1,immediateRender:!1,time:a,overwrite:"auto",duration:o.duration||Math.abs((a-(c&&"time"in c?c.time:s._time))/s.timeScale())||fn,onStart:function(){if(s.pause(),!f){var b=o.duration||Math.abs((a-(c&&"time"in c?c.time:s._time))/s.timeScale());_._dur!==b&&Sl(_,b,0,1).render(_._time,!0,!0),f=1}h&&h.apply(_,l||[])}},o));return d?_.render(0):_},n.tweenFromTo=function(i,o,s){return this.tweenTo(o,gi({startAt:{time:Ei(this,i)}},s))},n.recent=function(){return this._recent},n.nextLabel=function(i){return i===void 0&&(i=this._time),L0(this,Ei(this,i))},n.previousLabel=function(i){return i===void 0&&(i=this._time),L0(this,Ei(this,i),1)},n.currentLabel=function(i){return arguments.length?this.seek(i,!0):this.previousLabel(this._time+fn)},n.shiftChildren=function(i,o,s){s===void 0&&(s=0);for(var a=this._first,u=this.labels,c;a;)a._start>=s&&(a._start+=i,a._end+=i),a=a._next;if(o)for(c in u)u[c]>=s&&(u[c]+=i);return ua(this)},n.invalidate=function(i){var o=this._first;for(this._lock=0;o;)o.invalidate(i),o=o._next;return t.prototype.invalidate.call(this,i)},n.clear=function(i){i===void 0&&(i=!0);for(var o=this._first,s;o;)s=o._next,this.remove(o),o=s;return this._dp&&(this._time=this._tTime=this._pTime=0),i&&(this.labels={}),ua(this)},n.totalDuration=function(i){var o=0,s=this,a=s._last,u=Ci,c,h,l;if(arguments.length)return s.timeScale((s._repeat<0?s.duration():s.totalDuration())/(s.reversed()?-i:i));if(s._dirty){for(l=s.parent;a;)c=a._prev,a._dirty&&a.totalDuration(),h=a._start,h>u&&s._sort&&a._ts&&!s._lock?(s._lock=1,ho(s,a,h-a._delay,1)._lock=0):u=h,h<0&&a._ts&&(o-=h,(!l&&!s._dp||l&&l.smoothChildTiming)&&(s._start+=h/s._ts,s._time-=h,s._tTime-=h),s.shiftChildren(-h,!1,-1/0),u=0),a._end>o&&a._ts&&(o=a._end),a=c;Sl(s,s===En&&s._time>o?s._time:o,1,1),s._dirty=0}return s._tDur},e.updateRoot=function(i){if(En._ts&&(Kw(En,_d(i,En)),Gw=li.frame),li.frame>=C0){C0+=hi.autoSleep||120;var o=En._first;if((!o||!o._ts)&&hi.autoSleep&&li._listeners.length<2){for(;o&&!o._ts;)o=o._next;o||li.sleep()}}},e}(ac);gi(Vr.prototype,{_lock:0,_hasPause:0,_forcing:0});var _I=function(e,n,r,i,o,s,a){var u=new Qr(this._pt,e,n,0,1,TS,null,o),c=0,h=0,l,d,f,_,g,b,y,w;for(u.b=r,u.e=i,r+="",i+="",(y=~i.indexOf("random("))&&(i=oc(i)),s&&(w=[r,i],s(w,e,n),r=w[0],i=w[1]),d=r.match(Yh)||[];l=Yh.exec(i);)_=l[0],g=i.substring(c,l.index),f?f=(f+1)%5:g.substr(-5)==="rgba("&&(f=1),_!==d[h++]&&(b=parseFloat(d[h-1])||0,u._pt={_next:u._pt,p:g||h===1?g:",",s:b,c:_.charAt(1)==="="?sl(b,_)-b:parseFloat(_)-b,m:f&&f<4?Math.round:0},c=Yh.lastIndex);return u.c=c<i.length?i.substring(c,i.length):"",u.fp=a,(Uw.test(i)||y)&&(u.e=0),this._pt=u,u},Og=function(e,n,r,i,o,s,a,u,c,h){On(i)&&(i=i(o||0,e,s));var l=e[n],d=r!=="get"?r:On(l)?c?e[n.indexOf("set")||!On(e["get"+n.substr(3)])?n:"get"+n.substr(3)](c):e[n]():l,f=On(l)?c?SI:wS:Fg,_;if(lr(i)&&(~i.indexOf("random(")&&(i=oc(i)),i.charAt(1)==="="&&(_=sl(d,i)+(kr(d)||0),(_||_===0)&&(i=_))),!h||d!==i||nm)return!isNaN(d*i)&&i!==""?(_=new Qr(this._pt,e,n,+d||0,i-(d||0),typeof l=="boolean"?EI:SS,0,f),c&&(_.fp=c),a&&_.modifier(a,this,e),this._pt=_):(!l&&!(n in e)&&Cg(n,i),_I.call(this,e,n,d,i,f,u||hi.stringFilter,c))},vI=function(e,n,r,i,o){if(On(e)&&(e=Lu(e,o,n,r,i)),!wo(e)||e.style&&e.nodeType||xr(e)||Bw(e))return lr(e)?Lu(e,o,n,r,i):e;var s={},a;for(a in e)s[a]=Lu(e[a],o,n,r,i);return s},vS=function(e,n,r,i,o,s){var a,u,c,h;if(si[e]&&(a=new si[e]).init(o,a.rawVars?n[e]:vI(n[e],i,o,s,r),r,i,s)!==!1&&(r._pt=u=new Qr(r._pt,o,e,0,1,a.render,a,0,a.priority),r!==Za))for(c=r._ptLookup[r._targets.indexOf(o)],h=a._props.length;h--;)c[a._props[h]]=u;return a},vs,nm,Mg=function t(e,n,r){var i=e.vars,o=i.ease,s=i.startAt,a=i.immediateRender,u=i.lazy,c=i.onUpdate,h=i.runBackwards,l=i.yoyoEase,d=i.keyframes,f=i.autoRevert,_=e._dur,g=e._startAt,b=e._targets,y=e.parent,w=y&&y.data==="nested"?y.vars.targets:b,A=e._overwrite==="auto"&&!Eg,k=e.timeline,R,x,L,F,H,V,ne,$,M,z,K,B,W;if(k&&(!d||!o)&&(o="none"),e._ease=ca(o,yl.ease),e._yEase=l?pS(ca(l===!0?o:l,yl.ease)):0,l&&e._yoyo&&!e._repeat&&(l=e._yEase,e._yEase=e._ease,e._ease=l),e._from=!k&&!!i.runBackwards,!k||d&&!i.stagger){if($=b[0]?la(b[0]).harness:0,B=$&&i[$.prop],R=gd(i,xg),g&&(g._zTime<0&&g.progress(1),n<0&&h&&a&&!f?g.render(-1,!0):g.revert(h&&_?$f:qP),g._lazy=0),s){if(Is(e._startAt=Un.set(b,gi({data:"isStart",overwrite:!1,parent:y,immediateRender:!0,lazy:!g&&Kr(u),startAt:null,delay:0,onUpdate:c&&function(){return fi(e,"onUpdate")},stagger:0},s))),e._startAt._dp=0,e._startAt._sat=e,n<0&&(hr||!a&&!f)&&e._startAt.revert($f),a&&_&&n<=0&&r<=0){n&&(e._zTime=n);return}}else if(h&&_&&!g){if(n&&(a=!1),L=gi({overwrite:!1,data:"isFromStart",lazy:a&&!g&&Kr(u),immediateRender:a,stagger:0,parent:y},R),B&&(L[$.prop]=B),Is(e._startAt=Un.set(b,L)),e._startAt._dp=0,e._startAt._sat=e,n<0&&(hr?e._startAt.revert($f):e._startAt.render(-1,!0)),e._zTime=n,!a)t(e._startAt,fn,fn);else if(!n)return}for(e._pt=e._ptCache=0,u=_&&Kr(u)||u&&!_,x=0;x<b.length;x++){if(H=b[x],ne=H._gsap||Ig(b)[x]._gsap,e._ptLookup[x]=z={},Xp[ne.id]&&As.length&&md(),K=w===b?x:w.indexOf(H),$&&(M=new $).init(H,B||R,e,K,w)!==!1&&(e._pt=F=new Qr(e._pt,H,M.name,0,1,M.render,M,0,M.priority),M._props.forEach(function(oe){z[oe]=F}),M.priority&&(V=1)),!$||B)for(L in R)si[L]&&(M=vS(L,R,e,K,H,w))?M.priority&&(V=1):z[L]=F=Og.call(e,H,L,"get",R[L],K,w,0,i.stringFilter);e._op&&e._op[x]&&e.kill(H,e._op[x]),A&&e._pt&&(vs=e,En.killTweensOf(H,z,e.globalTime(n)),W=!e.parent,vs=0),e._pt&&u&&(Xp[ne.id]=1)}V&&ES(e),e._onInit&&e._onInit(e)}e._onUpdate=c,e._initted=(!e._op||e._pt)&&!W,d&&n<=0&&k.render(Ci,!0,!0)},yI=function(e,n,r,i,o,s,a,u){var c=(e._pt&&e._ptCache||(e._ptCache={}))[n],h,l,d,f;if(!c)for(c=e._ptCache[n]=[],d=e._ptLookup,f=e._targets.length;f--;){if(h=d[f][n],h&&h.d&&h.d._pt)for(h=h.d._pt;h&&h.p!==n&&h.fp!==n;)h=h._next;if(!h)return nm=1,e.vars[n]="+=0",Mg(e,a),nm=0,u?rc(n+" not eligible for reset"):1;c.push(h)}for(f=c.length;f--;)l=c[f],h=l._pt||l,h.s=(i||i===0)&&!o?i:h.s+(i||0)+s*h.c,h.c=r-h.s,l.e&&(l.e=Dn(r)+kr(l.e)),l.b&&(l.b=h.s+kr(l.b))},bI=function(e,n){var r=e[0]?la(e[0]).harness:0,i=r&&r.aliases,o,s,a,u;if(!i)return n;o=bl({},n);for(s in i)if(s in o)for(u=i[s].split(","),a=u.length;a--;)o[u[a]]=o[s];return o},wI=function(e,n,r,i){var o=n.ease||i||"power1.inOut",s,a;if(xr(n))a=r[e]||(r[e]=[]),n.forEach(function(u,c){return a.push({t:c/(n.length-1)*100,v:u,e:o})});else for(s in n)a=r[s]||(r[s]=[]),s==="ease"||a.push({t:parseFloat(e),v:n[s],e:o})},Lu=function(e,n,r,i,o){return On(e)?e.call(n,r,i,o):lr(e)&&~e.indexOf("random(")?oc(e):e},yS=Pg+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",bS={};Xr(yS+",id,stagger,delay,duration,paused,scrollTrigger",function(t){return bS[t]=1});var Un=function(t){Hw(e,t);function e(r,i,o,s){var a;typeof i=="number"&&(o.duration=i,i=o,o=null),a=t.call(this,s?i:Pu(i))||this;var u=a.vars,c=u.duration,h=u.delay,l=u.immediateRender,d=u.stagger,f=u.overwrite,_=u.keyframes,g=u.defaults,b=u.scrollTrigger,y=u.yoyoEase,w=i.parent||En,A=(xr(r)||Bw(r)?Jo(r[0]):"length"in i)?[r]:xi(r),k,R,x,L,F,H,V,ne;if(a._targets=A.length?Ig(A):rc("GSAP target "+r+" not found. https://gsap.com",!hi.nullTargetWarn)||[],a._ptLookup=[],a._overwrite=f,_||d||lf(c)||lf(h)){if(i=a.vars,k=a.timeline=new Vr({data:"nested",defaults:g||{},targets:w&&w.data==="nested"?w.vars.targets:A}),k.kill(),k.parent=k._dp=Mo(a),k._start=0,d||lf(c)||lf(h)){if(L=A.length,V=d&&iS(d),wo(d))for(F in d)~yS.indexOf(F)&&(ne||(ne={}),ne[F]=d[F]);for(R=0;R<L;R++)x=gd(i,bS),x.stagger=0,y&&(x.yoyoEase=y),ne&&bl(x,ne),H=A[R],x.duration=+Lu(c,Mo(a),R,H,A),x.delay=(+Lu(h,Mo(a),R,H,A)||0)-a._delay,!d&&L===1&&x.delay&&(a._delay=h=x.delay,a._start+=h,x.delay=0),k.to(H,x,V?V(R,H,A):0),k._ease=Dt.none;k.duration()?c=h=0:a.timeline=0}else if(_){Pu(gi(k.vars.defaults,{ease:"none"})),k._ease=ca(_.ease||i.ease||"none");var $=0,M,z,K;if(xr(_))_.forEach(function(B){return k.to(A,B,">")}),k.duration();else{x={};for(F in _)F==="ease"||F==="easeEach"||wI(F,_[F],x,_.easeEach);for(F in x)for(M=x[F].sort(function(B,W){return B.t-W.t}),$=0,R=0;R<M.length;R++)z=M[R],K={ease:z.e,duration:(z.t-(R?M[R-1].t:0))/100*c},K[F]=z.v,k.to(A,K,$),$+=K.duration;k.duration()<c&&k.to({},{duration:c-k.duration()})}}c||a.duration(c=k.duration())}else a.timeline=0;return f===!0&&!Eg&&(vs=Mo(a),En.killTweensOf(A),vs=0),ho(w,Mo(a),o),i.reversed&&a.reverse(),i.paused&&a.paused(!0),(l||!c&&!_&&a._start===jn(w._time)&&Kr(l)&&JP(Mo(a))&&w.data!=="nested")&&(a._tTime=-fn,a.render(Math.max(0,-h)||0)),b&&eS(Mo(a),b),a}var n=e.prototype;return n.render=function(i,o,s){var a=this._time,u=this._tDur,c=this._dur,h=i<0,l=i>u-fn&&!h?u:i<fn?0:i,d,f,_,g,b,y,w,A,k;if(!c)eI(this,i,o,s);else if(l!==this._tTime||!i||s||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==h||this._lazy){if(d=l,A=this.timeline,this._repeat){if(g=c+this._rDelay,this._repeat<-1&&h)return this.totalTime(g*100+i,o,s);if(d=jn(l%g),l===u?(_=this._repeat,d=c):(b=jn(l/g),_=~~b,_&&_===b?(d=c,_--):d>c&&(d=c)),y=this._yoyo&&_&1,y&&(k=this._yEase,d=c-d),b=wl(this._tTime,g),d===a&&!s&&this._initted&&_===b)return this._tTime=l,this;_!==b&&(A&&this._yEase&&mS(A,y),this.vars.repeatRefresh&&!y&&!this._lock&&d!==g&&this._initted&&(this._lock=s=1,this.render(jn(g*_),!0).invalidate()._lock=0))}if(!this._initted){if(tS(this,h?i:d,s,o,l))return this._tTime=0,this;if(a!==this._time&&!(s&&this.vars.repeatRefresh&&_!==b))return this;if(c!==this._dur)return this.render(i,o,s)}if(this._tTime=l,this._time=d,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=w=(k||this._ease)(d/c),this._from&&(this.ratio=w=1-w),!a&&l&&!o&&!b&&(fi(this,"onStart"),this._tTime!==l))return this;for(f=this._pt;f;)f.r(w,f.d),f=f._next;A&&A.render(i<0?i:A._dur*A._ease(d/this._dur),o,s)||this._startAt&&(this._zTime=i),this._onUpdate&&!o&&(h&&Qp(this,i,o,s),fi(this,"onUpdate")),this._repeat&&_!==b&&this.vars.onRepeat&&!o&&this.parent&&fi(this,"onRepeat"),(l===this._tDur||!l)&&this._tTime===l&&(h&&!this._onUpdate&&Qp(this,i,!0,!0),(i||!c)&&(l===this._tDur&&this._ts>0||!l&&this._ts<0)&&Is(this,1),!o&&!(h&&!a)&&(l||a||y)&&(fi(this,l===u?"onComplete":"onReverseComplete",!0),this._prom&&!(l<u&&this.timeScale()>0)&&this._prom()))}return this},n.targets=function(){return this._targets},n.invalidate=function(i){return(!i||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(i),t.prototype.invalidate.call(this,i)},n.resetTo=function(i,o,s,a,u){sc||li.wake(),this._ts||this.play();var c=Math.min(this._dur,(this._dp._time-this._start)*this._ts),h;return this._initted||Mg(this,c),h=this._ease(c/this._dur),yI(this,i,o,s,a,h,c,u)?this.resetTo(i,o,s,a,1):(oh(this,0),this.parent||Jw(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},n.kill=function(i,o){if(o===void 0&&(o="all"),!i&&(!o||o==="all"))return this._lazy=this._pt=0,this.parent?du(this):this.scrollTrigger&&this.scrollTrigger.kill(!!hr),this;if(this.timeline){var s=this.timeline.totalDuration();return this.timeline.killTweensOf(i,o,vs&&vs.vars.overwrite!==!0)._first||du(this),this.parent&&s!==this.timeline.totalDuration()&&Sl(this,this._dur*this.timeline._tDur/s,0,1),this}var a=this._targets,u=i?xi(i):a,c=this._ptLookup,h=this._pt,l,d,f,_,g,b,y;if((!o||o==="all")&&XP(a,u))return o==="all"&&(this._pt=0),du(this);for(l=this._op=this._op||[],o!=="all"&&(lr(o)&&(g={},Xr(o,function(w){return g[w]=1}),o=g),o=bI(a,o)),y=a.length;y--;)if(~u.indexOf(a[y])){d=c[y],o==="all"?(l[y]=o,_=d,f={}):(f=l[y]=l[y]||{},_=o);for(g in _)b=d&&d[g],b&&((!("kill"in b.d)||b.d.kill(g)===!0)&&rh(this,b,"_pt"),delete d[g]),f!=="all"&&(f[g]=1)}return this._initted&&!this._pt&&h&&du(this),this},e.to=function(i,o){return new e(i,o,arguments[2])},e.from=function(i,o){return Iu(1,arguments)},e.delayedCall=function(i,o,s,a){return new e(o,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:i,onComplete:o,onReverseComplete:o,onCompleteParams:s,onReverseCompleteParams:s,callbackScope:a})},e.fromTo=function(i,o,s){return Iu(2,arguments)},e.set=function(i,o){return o.duration=0,o.repeatDelay||(o.repeat=0),new e(i,o)},e.killTweensOf=function(i,o,s){return En.killTweensOf(i,o,s)},e}(ac);gi(Un.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});Xr("staggerTo,staggerFrom,staggerFromTo",function(t){Un[t]=function(){var e=new Vr,n=Zp.call(arguments,0);return n.splice(t==="staggerFromTo"?5:4,0,0),e[t].apply(e,n)}});var Fg=function(e,n,r){return e[n]=r},wS=function(e,n,r){return e[n](r)},SI=function(e,n,r,i){return e[n](i.fp,r)},TI=function(e,n,r){return e.setAttribute(n,r)},Dg=function(e,n){return On(e[n])?wS:kg(e[n])&&e.setAttribute?TI:Fg},SS=function(e,n){return n.set(n.t,n.p,Math.round((n.s+n.c*e)*1e6)/1e6,n)},EI=function(e,n){return n.set(n.t,n.p,!!(n.s+n.c*e),n)},TS=function(e,n){var r=n._pt,i="";if(!e&&n.b)i=n.b;else if(e===1&&n.e)i=n.e;else{for(;r;)i=r.p+(r.m?r.m(r.s+r.c*e):Math.round((r.s+r.c*e)*1e4)/1e4)+i,r=r._next;i+=n.c}n.set(n.t,n.p,i,n)},$g=function(e,n){for(var r=n._pt;r;)r.r(e,r.d),r=r._next},kI=function(e,n,r,i){for(var o=this._pt,s;o;)s=o._next,o.p===i&&o.modifier(e,n,r),o=s},AI=function(e){for(var n=this._pt,r,i;n;)i=n._next,n.p===e&&!n.op||n.op===e?rh(this,n,"_pt"):n.dep||(r=1),n=i;return!r},RI=function(e,n,r,i){i.mSet(e,n,i.m.call(i.tween,r,i.mt),i)},ES=function(e){for(var n=e._pt,r,i,o,s;n;){for(r=n._next,i=o;i&&i.pr>n.pr;)i=i._next;(n._prev=i?i._prev:s)?n._prev._next=n:o=n,(n._next=i)?i._prev=n:s=n,n=r}e._pt=o},Qr=function(){function t(n,r,i,o,s,a,u,c,h){this.t=r,this.s=o,this.c=s,this.p=i,this.r=a||SS,this.d=u||this,this.set=c||Fg,this.pr=h||0,this._next=n,n&&(n._prev=this)}var e=t.prototype;return e.modifier=function(r,i,o){this.mSet=this.mSet||this.set,this.set=RI,this.m=r,this.mt=o,this.tween=i},t}();Xr(Pg+"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(t){return xg[t]=1});mi.TweenMax=mi.TweenLite=Un;mi.TimelineLite=mi.TimelineMax=Vr;En=new Vr({sortChildren:!1,defaults:yl,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});hi.stringFilter=hS;var fa=[],Nf={},CI=[],M0=0,xI=0,Zh=function(e){return(Nf[e]||CI).map(function(n){return n()})},rm=function(){var e=Date.now(),n=[];e-M0>2&&(Zh("matchMediaInit"),fa.forEach(function(r){var i=r.queries,o=r.conditions,s,a,u,c;for(a in i)s=lo.matchMedia(i[a]).matches,s&&(u=1),s!==o[a]&&(o[a]=s,c=1);c&&(r.revert(),u&&n.push(r))}),Zh("matchMediaRevert"),n.forEach(function(r){return r.onMatch(r,function(i){return r.add(null,i)})}),M0=e,Zh("matchMedia"))},kS=function(){function t(n,r){this.selector=r&&em(r),this.data=[],this._r=[],this.isReverted=!1,this.id=xI++,n&&this.add(n)}var e=t.prototype;return e.add=function(r,i,o){On(r)&&(o=i,i=r,r=On);var s=this,a=function(){var c=bn,h=s.selector,l;return c&&c!==s&&c.data.push(s),o&&(s.selector=em(o)),bn=s,l=i.apply(s,arguments),On(l)&&s._r.push(l),bn=c,s.selector=h,s.isReverted=!1,l};return s.last=a,r===On?a(s,function(u){return s.add(null,u)}):r?s[r]=a:a},e.ignore=function(r){var i=bn;bn=null,r(this),bn=i},e.getTweens=function(){var r=[];return this.data.forEach(function(i){return i instanceof t?r.push.apply(r,i.getTweens()):i instanceof Un&&!(i.parent&&i.parent.data==="nested")&&r.push(i)}),r},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(r,i){var o=this;if(r?function(){for(var a=o.getTweens(),u=o.data.length,c;u--;)c=o.data[u],c.data==="isFlip"&&(c.revert(),c.getChildren(!0,!0,!1).forEach(function(h){return a.splice(a.indexOf(h),1)}));for(a.map(function(h){return{g:h._dur||h._delay||h._sat&&!h._sat.vars.immediateRender?h.globalTime(0):-1/0,t:h}}).sort(function(h,l){return l.g-h.g||-1/0}).forEach(function(h){return h.t.revert(r)}),u=o.data.length;u--;)c=o.data[u],c instanceof Vr?c.data!=="nested"&&(c.scrollTrigger&&c.scrollTrigger.revert(),c.kill()):!(c instanceof Un)&&c.revert&&c.revert(r);o._r.forEach(function(h){return h(r,o)}),o.isReverted=!0}():this.data.forEach(function(a){return a.kill&&a.kill()}),this.clear(),i)for(var s=fa.length;s--;)fa[s].id===this.id&&fa.splice(s,1)},e.revert=function(r){this.kill(r||{})},t}(),PI=function(){function t(n){this.contexts=[],this.scope=n,bn&&bn.data.push(this)}var e=t.prototype;return e.add=function(r,i,o){wo(r)||(r={matches:r});var s=new kS(0,o||this.scope),a=s.conditions={},u,c,h;bn&&!s.selector&&(s.selector=bn.selector),this.contexts.push(s),i=s.add("onMatch",i),s.queries=r;for(c in r)c==="all"?h=1:(u=lo.matchMedia(r[c]),u&&(fa.indexOf(s)<0&&fa.push(s),(a[c]=u.matches)&&(h=1),u.addListener?u.addListener(rm):u.addEventListener("change",rm)));return h&&i(s,function(l){return s.add(null,l)}),this},e.revert=function(r){this.kill(r||{})},e.kill=function(r){this.contexts.forEach(function(i){return i.kill(r,!0)})},t}(),vd={registerPlugin:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];n.forEach(function(i){return cS(i)})},timeline:function(e){return new Vr(e)},getTweensOf:function(e,n){return En.getTweensOf(e,n)},getProperty:function(e,n,r,i){lr(e)&&(e=xi(e)[0]);var o=la(e||{}).get,s=r?Qw:Xw;return r==="native"&&(r=""),e&&(n?s((si[n]&&si[n].get||o)(e,n,r,i)):function(a,u,c){return s((si[a]&&si[a].get||o)(e,a,u,c))})},quickSetter:function(e,n,r){if(e=xi(e),e.length>1){var i=e.map(function(h){return ti.quickSetter(h,n,r)}),o=i.length;return function(h){for(var l=o;l--;)i[l](h)}}e=e[0]||{};var s=si[n],a=la(e),u=a.harness&&(a.harness.aliases||{})[n]||n,c=s?function(h){var l=new s;Za._pt=0,l.init(e,r?h+r:h,Za,0,[e]),l.render(1,l),Za._pt&&$g(1,Za)}:a.set(e,u);return s?c:function(h){return c(e,u,r?h+r:h,a,1)}},quickTo:function(e,n,r){var i,o=ti.to(e,gi((i={},i[n]="+=0.1",i.paused=!0,i.stagger=0,i),r||{})),s=function(u,c,h){return o.resetTo(n,u,c,h)};return s.tween=o,s},isTweening:function(e){return En.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=ca(e.ease,yl.ease)),x0(yl,e||{})},config:function(e){return x0(hi,e||{})},registerEffect:function(e){var n=e.name,r=e.effect,i=e.plugins,o=e.defaults,s=e.extendTimeline;(i||"").split(",").forEach(function(a){return a&&!si[a]&&!mi[a]&&rc(n+" effect requires "+a+" plugin.")}),Kh[n]=function(a,u,c){return r(xi(a),gi(u||{},o),c)},s&&(Vr.prototype[n]=function(a,u,c){return this.add(Kh[n](a,wo(u)?u:(c=u)&&{},this),c)})},registerEase:function(e,n){Dt[e]=ca(n)},parseEase:function(e,n){return arguments.length?ca(e,n):Dt},getById:function(e){return En.getById(e)},exportRoot:function(e,n){e===void 0&&(e={});var r=new Vr(e),i,o;for(r.smoothChildTiming=Kr(e.smoothChildTiming),En.remove(r),r._dp=0,r._time=r._tTime=En._time,i=En._first;i;)o=i._next,(n||!(!i._dur&&i instanceof Un&&i.vars.onComplete===i._targets[0]))&&ho(r,i,i._start-i._delay),i=o;return ho(En,r,0),r},context:function(e,n){return e?new kS(e,n):bn},matchMedia:function(e){return new PI(e)},matchMediaRefresh:function(){return fa.forEach(function(e){var n=e.conditions,r,i;for(i in n)n[i]&&(n[i]=!1,r=1);r&&e.revert()})||rm()},addEventListener:function(e,n){var r=Nf[e]||(Nf[e]=[]);~r.indexOf(n)||r.push(n)},removeEventListener:function(e,n){var r=Nf[e],i=r&&r.indexOf(n);i>=0&&r.splice(i,1)},utils:{wrap:lI,wrapYoyo:uI,distribute:iS,random:sS,snap:oS,normalize:aI,getUnit:kr,clamp:rI,splitColor:fS,toArray:xi,selector:em,mapRange:lS,pipe:oI,unitize:sI,interpolate:cI,shuffle:rS},install:zw,effects:Kh,ticker:li,updateRoot:Vr.updateRoot,plugins:si,globalTimeline:En,core:{PropTween:Qr,globals:qw,Tween:Un,Timeline:Vr,Animation:ac,getCache:la,_removeLinkedListItem:rh,reverting:function(){return hr},context:function(e){return e&&bn&&(bn.data.push(e),e._ctx=bn),bn},suppressOverwrites:function(e){return Eg=e}}};Xr("to,from,fromTo,delayedCall,set,killTweensOf",function(t){return vd[t]=Un[t]});li.add(Vr.updateRoot);Za=vd.to({},{duration:0});var II=function(e,n){for(var r=e._pt;r&&r.p!==n&&r.op!==n&&r.fp!==n;)r=r._next;return r},LI=function(e,n){var r=e._targets,i,o,s;for(i in n)for(o=r.length;o--;)s=e._ptLookup[o][i],s&&(s=s.d)&&(s._pt&&(s=II(s,i)),s&&s.modifier&&s.modifier(n[i],e,r[o],i))},ep=function(e,n){return{name:e,headless:1,rawVars:1,init:function(i,o,s){s._onInit=function(a){var u,c;if(lr(o)&&(u={},Xr(o,function(h){return u[h]=1}),o=u),n){u={};for(c in o)u[c]=n(o[c]);o=u}LI(a,o)}}}},ti=vd.registerPlugin({name:"attr",init:function(e,n,r,i,o){var s,a,u;this.tween=r;for(s in n)u=e.getAttribute(s)||"",a=this.add(e,"setAttribute",(u||0)+"",n[s],i,o,0,0,s),a.op=s,a.b=u,this._props.push(s)},render:function(e,n){for(var r=n._pt;r;)hr?r.set(r.t,r.p,r.b,r):r.r(e,r.d),r=r._next}},{name:"endArray",headless:1,init:function(e,n){for(var r=n.length;r--;)this.add(e,r,e[r]||0,n[r],0,0,0,0,0,1)}},ep("roundProps",tm),ep("modifiers"),ep("snap",oS))||vd;Un.version=Vr.version=ti.version="3.13.0";Ww=1;Ag()&&Tl();Dt.Power0;Dt.Power1;Dt.Power2;Dt.Power3;Dt.Power4;Dt.Linear;Dt.Quad;Dt.Cubic;Dt.Quart;Dt.Quint;Dt.Strong;Dt.Elastic;Dt.Back;Dt.SteppedEase;Dt.Bounce;Dt.Sine;Dt.Expo;Dt.Circ;/*!
* CSSPlugin 3.13.0
* https://gsap.com
*
* Copyright 2008-2025, GreenSock. All rights reserved.
* Subject to the terms at https://gsap.com/standard-license
* @author: Jack Doyle, jack@greensock.com
*/var F0,ys,al,Hg,ra,D0,Ng,OI=function(){return typeof window<"u"},Zo={},Xs=180/Math.PI,ll=Math.PI/180,Na=Math.atan2,$0=1e8,Bg=/([A-Z])/g,MI=/(left|right|width|margin|padding|x)/i,FI=/[\s,\(]\S/,po={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},im=function(e,n){return n.set(n.t,n.p,Math.round((n.s+n.c*e)*1e4)/1e4+n.u,n)},DI=function(e,n){return n.set(n.t,n.p,e===1?n.e:Math.round((n.s+n.c*e)*1e4)/1e4+n.u,n)},$I=function(e,n){return n.set(n.t,n.p,e?Math.round((n.s+n.c*e)*1e4)/1e4+n.u:n.b,n)},HI=function(e,n){var r=n.s+n.c*e;n.set(n.t,n.p,~~(r+(r<0?-.5:.5))+n.u,n)},AS=function(e,n){return n.set(n.t,n.p,e?n.e:n.b,n)},RS=function(e,n){return n.set(n.t,n.p,e!==1?n.b:n.e,n)},NI=function(e,n,r){return e.style[n]=r},BI=function(e,n,r){return e.style.setProperty(n,r)},VI=function(e,n,r){return e._gsap[n]=r},UI=function(e,n,r){return e._gsap.scaleX=e._gsap.scaleY=r},jI=function(e,n,r,i,o){var s=e._gsap;s.scaleX=s.scaleY=r,s.renderTransform(o,s)},WI=function(e,n,r,i,o){var s=e._gsap;s[n]=r,s.renderTransform(o,s)},An="transform",Jr=An+"Origin",zI=function t(e,n){var r=this,i=this.target,o=i.style,s=i._gsap;if(e in Zo&&o){if(this.tfm=this.tfm||{},e!=="transform")e=po[e]||e,~e.indexOf(",")?e.split(",").forEach(function(a){return r.tfm[a]=$o(i,a)}):this.tfm[e]=s.x?s[e]:$o(i,e),e===Jr&&(this.tfm.zOrigin=s.zOrigin);else return po.transform.split(",").forEach(function(a){return t.call(r,a,n)});if(this.props.indexOf(An)>=0)return;s.svg&&(this.svgo=i.getAttribute("data-svg-origin"),this.props.push(Jr,n,"")),e=An}(o||n)&&this.props.push(e,n,o[e])},CS=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},qI=function(){var e=this.props,n=this.target,r=n.style,i=n._gsap,o,s;for(o=0;o<e.length;o+=3)e[o+1]?e[o+1]===2?n[e[o]](e[o+2]):n[e[o]]=e[o+2]:e[o+2]?r[e[o]]=e[o+2]:r.removeProperty(e[o].substr(0,2)==="--"?e[o]:e[o].replace(Bg,"-$1").toLowerCase());if(this.tfm){for(s in this.tfm)i[s]=this.tfm[s];i.svg&&(i.renderTransform(),n.setAttribute("data-svg-origin",this.svgo||"")),o=Ng(),(!o||!o.isStart)&&!r[An]&&(CS(r),i.zOrigin&&r[Jr]&&(r[Jr]+=" "+i.zOrigin+"px",i.zOrigin=0,i.renderTransform()),i.uncache=1)}},xS=function(e,n){var r={target:e,props:[],revert:qI,save:zI};return e._gsap||ti.core.getCache(e),n&&e.style&&e.nodeType&&n.split(",").forEach(function(i){return r.save(i)}),r},PS,om=function(e,n){var r=ys.createElementNS?ys.createElementNS((n||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):ys.createElement(e);return r&&r.style?r:ys.createElement(e)},Pi=function t(e,n,r){var i=getComputedStyle(e);return i[n]||i.getPropertyValue(n.replace(Bg,"-$1").toLowerCase())||i.getPropertyValue(n)||!r&&t(e,El(n)||n,1)||""},H0="O,Moz,ms,Ms,Webkit".split(","),El=function(e,n,r){var i=n||ra,o=i.style,s=5;if(e in o&&!r)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);s--&&!(H0[s]+e in o););return s<0?null:(s===3?"ms":s>=0?H0[s]:"")+e},sm=function(){OI()&&window.document&&(F0=window,ys=F0.document,al=ys.documentElement,ra=om("div")||{style:{}},om("div"),An=El(An),Jr=An+"Origin",ra.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",PS=!!El("perspective"),Ng=ti.core.reverting,Hg=1)},N0=function(e){var n=e.ownerSVGElement,r=om("svg",n&&n.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),i=e.cloneNode(!0),o;i.style.display="block",r.appendChild(i),al.appendChild(r);try{o=i.getBBox()}catch{}return r.removeChild(i),al.removeChild(r),o},B0=function(e,n){for(var r=n.length;r--;)if(e.hasAttribute(n[r]))return e.getAttribute(n[r])},IS=function(e){var n,r;try{n=e.getBBox()}catch{n=N0(e),r=1}return n&&(n.width||n.height)||r||(n=N0(e)),n&&!n.width&&!n.x&&!n.y?{x:+B0(e,["x","cx","x1"])||0,y:+B0(e,["y","cy","y1"])||0,width:0,height:0}:n},LS=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&IS(e))},ba=function(e,n){if(n){var r=e.style,i;n in Zo&&n!==Jr&&(n=An),r.removeProperty?(i=n.substr(0,2),(i==="ms"||n.substr(0,6)==="webkit")&&(n="-"+n),r.removeProperty(i==="--"?n:n.replace(Bg,"-$1").toLowerCase())):r.removeAttribute(n)}},bs=function(e,n,r,i,o,s){var a=new Qr(e._pt,n,r,0,1,s?RS:AS);return e._pt=a,a.b=i,a.e=o,e._props.push(r),a},V0={deg:1,rad:1,turn:1},GI={grid:1,flex:1},Ls=function t(e,n,r,i){var o=parseFloat(r)||0,s=(r+"").trim().substr((o+"").length)||"px",a=ra.style,u=MI.test(n),c=e.tagName.toLowerCase()==="svg",h=(c?"client":"offset")+(u?"Width":"Height"),l=100,d=i==="px",f=i==="%",_,g,b,y;if(i===s||!o||V0[i]||V0[s])return o;if(s!=="px"&&!d&&(o=t(e,n,r,"px")),y=e.getCTM&&LS(e),(f||s==="%")&&(Zo[n]||~n.indexOf("adius")))return _=y?e.getBBox()[u?"width":"height"]:e[h],Dn(f?o/_*l:o/100*_);if(a[u?"width":"height"]=l+(d?s:i),g=i!=="rem"&&~n.indexOf("adius")||i==="em"&&e.appendChild&&!c?e:e.parentNode,y&&(g=(e.ownerSVGElement||{}).parentNode),(!g||g===ys||!g.appendChild)&&(g=ys.body),b=g._gsap,b&&f&&b.width&&u&&b.time===li.time&&!b.uncache)return Dn(o/b.width*l);if(f&&(n==="height"||n==="width")){var w=e.style[n];e.style[n]=l+i,_=e[h],w?e.style[n]=w:ba(e,n)}else(f||s==="%")&&!GI[Pi(g,"display")]&&(a.position=Pi(e,"position")),g===e&&(a.position="static"),g.appendChild(ra),_=ra[h],g.removeChild(ra),a.position="absolute";return u&&f&&(b=la(g),b.time=li.time,b.width=g[h]),Dn(d?_*o/l:_&&o?l/_*o:0)},$o=function(e,n,r,i){var o;return Hg||sm(),n in po&&n!=="transform"&&(n=po[n],~n.indexOf(",")&&(n=n.split(",")[0])),Zo[n]&&n!=="transform"?(o=uc(e,i),o=n!=="transformOrigin"?o[n]:o.svg?o.origin:bd(Pi(e,Jr))+" "+o.zOrigin+"px"):(o=e.style[n],(!o||o==="auto"||i||~(o+"").indexOf("calc("))&&(o=yd[n]&&yd[n](e,n,r)||Pi(e,n)||Yw(e,n)||(n==="opacity"?1:0))),r&&!~(o+"").trim().indexOf(" ")?Ls(e,n,o,r)+r:o},YI=function(e,n,r,i){if(!r||r==="none"){var o=El(n,e,1),s=o&&Pi(e,o,1);s&&s!==r?(n=o,r=s):n==="borderColor"&&(r=Pi(e,"borderTopColor"))}var a=new Qr(this._pt,e.style,n,0,1,TS),u=0,c=0,h,l,d,f,_,g,b,y,w,A,k,R;if(a.b=r,a.e=i,r+="",i+="",i.substring(0,6)==="var(--"&&(i=Pi(e,i.substring(4,i.indexOf(")")))),i==="auto"&&(g=e.style[n],e.style[n]=i,i=Pi(e,n)||i,g?e.style[n]=g:ba(e,n)),h=[r,i],hS(h),r=h[0],i=h[1],d=r.match(Ja)||[],R=i.match(Ja)||[],R.length){for(;l=Ja.exec(i);)b=l[0],w=i.substring(u,l.index),_?_=(_+1)%5:(w.substr(-5)==="rgba("||w.substr(-5)==="hsla(")&&(_=1),b!==(g=d[c++]||"")&&(f=parseFloat(g)||0,k=g.substr((f+"").length),b.charAt(1)==="="&&(b=sl(f,b)+k),y=parseFloat(b),A=b.substr((y+"").length),u=Ja.lastIndex-A.length,A||(A=A||hi.units[n]||k,u===i.length&&(i+=A,a.e+=A)),k!==A&&(f=Ls(e,n,g,A)||0),a._pt={_next:a._pt,p:w||c===1?w:",",s:f,c:y-f,m:_&&_<4||n==="zIndex"?Math.round:0});a.c=u<i.length?i.substring(u,i.length):""}else a.r=n==="display"&&i==="none"?RS:AS;return Uw.test(i)&&(a.e=0),this._pt=a,a},U0={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},KI=function(e){var n=e.split(" "),r=n[0],i=n[1]||"50%";return(r==="top"||r==="bottom"||i==="left"||i==="right")&&(e=r,r=i,i=e),n[0]=U0[r]||r,n[1]=U0[i]||i,n.join(" ")},XI=function(e,n){if(n.tween&&n.tween._time===n.tween._dur){var r=n.t,i=r.style,o=n.u,s=r._gsap,a,u,c;if(o==="all"||o===!0)i.cssText="",u=1;else for(o=o.split(","),c=o.length;--c>-1;)a=o[c],Zo[a]&&(u=1,a=a==="transformOrigin"?Jr:An),ba(r,a);u&&(ba(r,An),s&&(s.svg&&r.removeAttribute("transform"),i.scale=i.rotate=i.translate="none",uc(r,1),s.uncache=1,CS(i)))}},yd={clearProps:function(e,n,r,i,o){if(o.data!=="isFromStart"){var s=e._pt=new Qr(e._pt,n,r,0,0,XI);return s.u=i,s.pr=-10,s.tween=o,e._props.push(r),1}}},lc=[1,0,0,1,0,0],OS={},MS=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},j0=function(e){var n=Pi(e,An);return MS(n)?lc:n.substr(7).match(Vw).map(Dn)},Vg=function(e,n){var r=e._gsap||la(e),i=e.style,o=j0(e),s,a,u,c;return r.svg&&e.getAttribute("transform")?(u=e.transform.baseVal.consolidate().matrix,o=[u.a,u.b,u.c,u.d,u.e,u.f],o.join(",")==="1,0,0,1,0,0"?lc:o):(o===lc&&!e.offsetParent&&e!==al&&!r.svg&&(u=i.display,i.display="block",s=e.parentNode,(!s||!e.offsetParent&&!e.getBoundingClientRect().width)&&(c=1,a=e.nextElementSibling,al.appendChild(e)),o=j0(e),u?i.display=u:ba(e,"display"),c&&(a?s.insertBefore(e,a):s?s.appendChild(e):al.removeChild(e))),n&&o.length>6?[o[0],o[1],o[4],o[5],o[12],o[13]]:o)},am=function(e,n,r,i,o,s){var a=e._gsap,u=o||Vg(e,!0),c=a.xOrigin||0,h=a.yOrigin||0,l=a.xOffset||0,d=a.yOffset||0,f=u[0],_=u[1],g=u[2],b=u[3],y=u[4],w=u[5],A=n.split(" "),k=parseFloat(A[0])||0,R=parseFloat(A[1])||0,x,L,F,H;r?u!==lc&&(L=f*b-_*g)&&(F=k*(b/L)+R*(-g/L)+(g*w-b*y)/L,H=k*(-_/L)+R*(f/L)-(f*w-_*y)/L,k=F,R=H):(x=IS(e),k=x.x+(~A[0].indexOf("%")?k/100*x.width:k),R=x.y+(~(A[1]||A[0]).indexOf("%")?R/100*x.height:R)),i||i!==!1&&a.smooth?(y=k-c,w=R-h,a.xOffset=l+(y*f+w*g)-y,a.yOffset=d+(y*_+w*b)-w):a.xOffset=a.yOffset=0,a.xOrigin=k,a.yOrigin=R,a.smooth=!!i,a.origin=n,a.originIsAbsolute=!!r,e.style[Jr]="0px 0px",s&&(bs(s,a,"xOrigin",c,k),bs(s,a,"yOrigin",h,R),bs(s,a,"xOffset",l,a.xOffset),bs(s,a,"yOffset",d,a.yOffset)),e.setAttribute("data-svg-origin",k+" "+R)},uc=function(e,n){var r=e._gsap||new _S(e);if("x"in r&&!n&&!r.uncache)return r;var i=e.style,o=r.scaleX<0,s="px",a="deg",u=getComputedStyle(e),c=Pi(e,Jr)||"0",h,l,d,f,_,g,b,y,w,A,k,R,x,L,F,H,V,ne,$,M,z,K,B,W,oe,se,q,pe,Te,_e,ye,Ae;return h=l=d=g=b=y=w=A=k=0,f=_=1,r.svg=!!(e.getCTM&&LS(e)),u.translate&&((u.translate!=="none"||u.scale!=="none"||u.rotate!=="none")&&(i[An]=(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[An]!=="none"?u[An]:"")),i.scale=i.rotate=i.translate="none"),L=Vg(e,r.svg),r.svg&&(r.uncache?(oe=e.getBBox(),c=r.xOrigin-oe.x+"px "+(r.yOrigin-oe.y)+"px",W=""):W=!n&&e.getAttribute("data-svg-origin"),am(e,W||c,!!W||r.originIsAbsolute,r.smooth!==!1,L)),R=r.xOrigin||0,x=r.yOrigin||0,L!==lc&&(ne=L[0],$=L[1],M=L[2],z=L[3],h=K=L[4],l=B=L[5],L.length===6?(f=Math.sqrt(ne*ne+$*$),_=Math.sqrt(z*z+M*M),g=ne||$?Na($,ne)*Xs:0,w=M||z?Na(M,z)*Xs+g:0,w&&(_*=Math.abs(Math.cos(w*ll))),r.svg&&(h-=R-(R*ne+x*M),l-=x-(R*$+x*z))):(Ae=L[6],_e=L[7],q=L[8],pe=L[9],Te=L[10],ye=L[11],h=L[12],l=L[13],d=L[14],F=Na(Ae,Te),b=F*Xs,F&&(H=Math.cos(-F),V=Math.sin(-F),W=K*H+q*V,oe=B*H+pe*V,se=Ae*H+Te*V,q=K*-V+q*H,pe=B*-V+pe*H,Te=Ae*-V+Te*H,ye=_e*-V+ye*H,K=W,B=oe,Ae=se),F=Na(-M,Te),y=F*Xs,F&&(H=Math.cos(-F),V=Math.sin(-F),W=ne*H-q*V,oe=$*H-pe*V,se=M*H-Te*V,ye=z*V+ye*H,ne=W,$=oe,M=se),F=Na($,ne),g=F*Xs,F&&(H=Math.cos(F),V=Math.sin(F),W=ne*H+$*V,oe=K*H+B*V,$=$*H-ne*V,B=B*H-K*V,ne=W,K=oe),b&&Math.abs(b)+Math.abs(g)>359.9&&(b=g=0,y=180-y),f=Dn(Math.sqrt(ne*ne+$*$+M*M)),_=Dn(Math.sqrt(B*B+Ae*Ae)),F=Na(K,B),w=Math.abs(F)>2e-4?F*Xs:0,k=ye?1/(ye<0?-ye:ye):0),r.svg&&(W=e.getAttribute("transform"),r.forceCSS=e.setAttribute("transform","")||!MS(Pi(e,An)),W&&e.setAttribute("transform",W))),Math.abs(w)>90&&Math.abs(w)<270&&(o?(f*=-1,w+=g<=0?180:-180,g+=g<=0?180:-180):(_*=-1,w+=w<=0?180:-180)),n=n||r.uncache,r.x=h-((r.xPercent=h&&(!n&&r.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-h)?-50:0)))?e.offsetWidth*r.xPercent/100:0)+s,r.y=l-((r.yPercent=l&&(!n&&r.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-l)?-50:0)))?e.offsetHeight*r.yPercent/100:0)+s,r.z=d+s,r.scaleX=Dn(f),r.scaleY=Dn(_),r.rotation=Dn(g)+a,r.rotationX=Dn(b)+a,r.rotationY=Dn(y)+a,r.skewX=w+a,r.skewY=A+a,r.transformPerspective=k+s,(r.zOrigin=parseFloat(c.split(" ")[2])||!n&&r.zOrigin||0)&&(i[Jr]=bd(c)),r.xOffset=r.yOffset=0,r.force3D=hi.force3D,r.renderTransform=r.svg?JI:PS?FS:QI,r.uncache=0,r},bd=function(e){return(e=e.split(" "))[0]+" "+e[1]},tp=function(e,n,r){var i=kr(n);return Dn(parseFloat(n)+parseFloat(Ls(e,"x",r+"px",i)))+i},QI=function(e,n){n.z="0px",n.rotationY=n.rotationX="0deg",n.force3D=0,FS(e,n)},Gs="0deg",tu="0px",Ys=") ",FS=function(e,n){var r=n||this,i=r.xPercent,o=r.yPercent,s=r.x,a=r.y,u=r.z,c=r.rotation,h=r.rotationY,l=r.rotationX,d=r.skewX,f=r.skewY,_=r.scaleX,g=r.scaleY,b=r.transformPerspective,y=r.force3D,w=r.target,A=r.zOrigin,k="",R=y==="auto"&&e&&e!==1||y===!0;if(A&&(l!==Gs||h!==Gs)){var x=parseFloat(h)*ll,L=Math.sin(x),F=Math.cos(x),H;x=parseFloat(l)*ll,H=Math.cos(x),s=tp(w,s,L*H*-A),a=tp(w,a,-Math.sin(x)*-A),u=tp(w,u,F*H*-A+A)}b!==tu&&(k+="perspective("+b+Ys),(i||o)&&(k+="translate("+i+"%, "+o+"%) "),(R||s!==tu||a!==tu||u!==tu)&&(k+=u!==tu||R?"translate3d("+s+", "+a+", "+u+") ":"translate("+s+", "+a+Ys),c!==Gs&&(k+="rotate("+c+Ys),h!==Gs&&(k+="rotateY("+h+Ys),l!==Gs&&(k+="rotateX("+l+Ys),(d!==Gs||f!==Gs)&&(k+="skew("+d+", "+f+Ys),(_!==1||g!==1)&&(k+="scale("+_+", "+g+Ys),w.style[An]=k||"translate(0, 0)"},JI=function(e,n){var r=n||this,i=r.xPercent,o=r.yPercent,s=r.x,a=r.y,u=r.rotation,c=r.skewX,h=r.skewY,l=r.scaleX,d=r.scaleY,f=r.target,_=r.xOrigin,g=r.yOrigin,b=r.xOffset,y=r.yOffset,w=r.forceCSS,A=parseFloat(s),k=parseFloat(a),R,x,L,F,H;u=parseFloat(u),c=parseFloat(c),h=parseFloat(h),h&&(h=parseFloat(h),c+=h,u+=h),u||c?(u*=ll,c*=ll,R=Math.cos(u)*l,x=Math.sin(u)*l,L=Math.sin(u-c)*-d,F=Math.cos(u-c)*d,c&&(h*=ll,H=Math.tan(c-h),H=Math.sqrt(1+H*H),L*=H,F*=H,h&&(H=Math.tan(h),H=Math.sqrt(1+H*H),R*=H,x*=H)),R=Dn(R),x=Dn(x),L=Dn(L),F=Dn(F)):(R=l,F=d,x=L=0),(A&&!~(s+"").indexOf("px")||k&&!~(a+"").indexOf("px"))&&(A=Ls(f,"x",s,"px"),k=Ls(f,"y",a,"px")),(_||g||b||y)&&(A=Dn(A+_-(_*R+g*L)+b),k=Dn(k+g-(_*x+g*F)+y)),(i||o)&&(H=f.getBBox(),A=Dn(A+i/100*H.width),k=Dn(k+o/100*H.height)),H="matrix("+R+","+x+","+L+","+F+","+A+","+k+")",f.setAttribute("transform",H),w&&(f.style[An]=H)},ZI=function(e,n,r,i,o){var s=360,a=lr(o),u=parseFloat(o)*(a&&~o.indexOf("rad")?Xs:1),c=u-i,h=i+c+"deg",l,d;return a&&(l=o.split("_")[1],l==="short"&&(c%=s,c!==c%(s/2)&&(c+=c<0?s:-s)),l==="cw"&&c<0?c=(c+s*$0)%s-~~(c/s)*s:l==="ccw"&&c>0&&(c=(c-s*$0)%s-~~(c/s)*s)),e._pt=d=new Qr(e._pt,n,r,i,c,DI),d.e=h,d.u="deg",e._props.push(r),d},W0=function(e,n){for(var r in n)e[r]=n[r];return e},eL=function(e,n,r){var i=W0({},r._gsap),o="perspective,force3D,transformOrigin,svgOrigin",s=r.style,a,u,c,h,l,d,f,_;i.svg?(c=r.getAttribute("transform"),r.setAttribute("transform",""),s[An]=n,a=uc(r,1),ba(r,An),r.setAttribute("transform",c)):(c=getComputedStyle(r)[An],s[An]=n,a=uc(r,1),s[An]=c);for(u in Zo)c=i[u],h=a[u],c!==h&&o.indexOf(u)<0&&(f=kr(c),_=kr(h),l=f!==_?Ls(r,u,c,_):parseFloat(c),d=parseFloat(h),e._pt=new Qr(e._pt,a,u,l,d-l,im),e._pt.u=_||0,e._props.push(u));W0(a,i)};Xr("padding,margin,Width,Radius",function(t,e){var n="Top",r="Right",i="Bottom",o="Left",s=(e<3?[n,r,i,o]:[n+o,n+r,i+r,i+o]).map(function(a){return e<2?t+a:"border"+a+t});yd[e>1?"border"+t:t]=function(a,u,c,h,l){var d,f;if(arguments.length<4)return d=s.map(function(_){return $o(a,_,c)}),f=d.join(" "),f.split(d[0]).length===5?d[0]:f;d=(h+"").split(" "),f={},s.forEach(function(_,g){return f[_]=d[g]=d[g]||d[(g-1)/2|0]}),a.init(u,f,l)}});var DS={name:"css",register:sm,targetTest:function(e){return e.style&&e.nodeType},init:function(e,n,r,i,o){var s=this._props,a=e.style,u=r.vars.startAt,c,h,l,d,f,_,g,b,y,w,A,k,R,x,L,F;Hg||sm(),this.styles=this.styles||xS(e),F=this.styles.props,this.tween=r;for(g in n)if(g!=="autoRound"&&(h=n[g],!(si[g]&&vS(g,n,r,i,e,o)))){if(f=typeof h,_=yd[g],f==="function"&&(h=h.call(r,i,e,o),f=typeof h),f==="string"&&~h.indexOf("random(")&&(h=oc(h)),_)_(this,e,g,h,r)&&(L=1);else if(g.substr(0,2)==="--")c=(getComputedStyle(e).getPropertyValue(g)+"").trim(),h+="",Rs.lastIndex=0,Rs.test(c)||(b=kr(c),y=kr(h)),y?b!==y&&(c=Ls(e,g,c,y)+y):b&&(h+=b),this.add(a,"setProperty",c,h,i,o,0,0,g),s.push(g),F.push(g,0,a[g]);else if(f!=="undefined"){if(u&&g in u?(c=typeof u[g]=="function"?u[g].call(r,i,e,o):u[g],lr(c)&&~c.indexOf("random(")&&(c=oc(c)),kr(c+"")||c==="auto"||(c+=hi.units[g]||kr($o(e,g))||""),(c+"").charAt(1)==="="&&(c=$o(e,g))):c=$o(e,g),d=parseFloat(c),w=f==="string"&&h.charAt(1)==="="&&h.substr(0,2),w&&(h=h.substr(2)),l=parseFloat(h),g in po&&(g==="autoAlpha"&&(d===1&&$o(e,"visibility")==="hidden"&&l&&(d=0),F.push("visibility",0,a.visibility),bs(this,a,"visibility",d?"inherit":"hidden",l?"inherit":"hidden",!l)),g!=="scale"&&g!=="transform"&&(g=po[g],~g.indexOf(",")&&(g=g.split(",")[0]))),A=g in Zo,A){if(this.styles.save(g),f==="string"&&h.substring(0,6)==="var(--"&&(h=Pi(e,h.substring(4,h.indexOf(")"))),l=parseFloat(h)),k||(R=e._gsap,R.renderTransform&&!n.parseTransform||uc(e,n.parseTransform),x=n.smoothOrigin!==!1&&R.smooth,k=this._pt=new Qr(this._pt,a,An,0,1,R.renderTransform,R,0,-1),k.dep=1),g==="scale")this._pt=new Qr(this._pt,R,"scaleY",R.scaleY,(w?sl(R.scaleY,w+l):l)-R.scaleY||0,im),this._pt.u=0,s.push("scaleY",g),g+="X";else if(g==="transformOrigin"){F.push(Jr,0,a[Jr]),h=KI(h),R.svg?am(e,h,0,x,0,this):(y=parseFloat(h.split(" ")[2])||0,y!==R.zOrigin&&bs(this,R,"zOrigin",R.zOrigin,y),bs(this,a,g,bd(c),bd(h)));continue}else if(g==="svgOrigin"){am(e,h,1,x,0,this);continue}else if(g in OS){ZI(this,R,g,d,w?sl(d,w+h):h);continue}else if(g==="smoothOrigin"){bs(this,R,"smooth",R.smooth,h);continue}else if(g==="force3D"){R[g]=h;continue}else if(g==="transform"){eL(this,h,e);continue}}else g in a||(g=El(g)||g);if(A||(l||l===0)&&(d||d===0)&&!FI.test(h)&&g in a)b=(c+"").substr((d+"").length),l||(l=0),y=kr(h)||(g in hi.units?hi.units[g]:b),b!==y&&(d=Ls(e,g,c,y)),this._pt=new Qr(this._pt,A?R:a,g,d,(w?sl(d,w+l):l)-d,!A&&(y==="px"||g==="zIndex")&&n.autoRound!==!1?HI:im),this._pt.u=y||0,b!==y&&y!=="%"&&(this._pt.b=c,this._pt.r=$I);else if(g in a)YI.call(this,e,g,c,w?w+h:h);else if(g in e)this.add(e,g,c||e[g],w?w+h:h,i,o);else if(g!=="parseTransform"){Cg(g,h);continue}A||(g in a?F.push(g,0,a[g]):typeof e[g]=="function"?F.push(g,2,e[g]()):F.push(g,1,c||e[g])),s.push(g)}}L&&ES(this)},render:function(e,n){if(n.tween._time||!Ng())for(var r=n._pt;r;)r.r(e,r.d),r=r._next;else n.styles.revert()},get:$o,aliases:po,getSetter:function(e,n,r){var i=po[n];return i&&i.indexOf(",")<0&&(n=i),n in Zo&&n!==Jr&&(e._gsap.x||$o(e,"x"))?r&&D0===r?n==="scale"?UI:VI:(D0=r||{})&&(n==="scale"?jI:WI):e.style&&!kg(e.style[n])?NI:~n.indexOf("-")?BI:Dg(e,n)},core:{_removeProperty:ba,_getMatrix:Vg}};ti.utils.checkPrefix=El;ti.core.getStyleSaver=xS;(function(t,e,n,r){var i=Xr(t+","+e+","+n,function(o){Zo[o]=1});Xr(e,function(o){hi.units[o]="deg",OS[o]=1}),po[i[13]]=t+","+e,Xr(r,function(o){var s=o.split(":");po[s[1]]=i[s[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");Xr("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(t){hi.units[t]="px"});ti.registerPlugin(DS);var Bn=ti.registerPlugin(DS)||ti;Bn.core.Tween;/*!
* CSSRulePlugin 3.13.0
* https://gsap.com
*
* @license Copyright 2008-2025, GreenSock. All rights reserved.
* Subject to the terms at https://gsap.com/standard-license
* @author: Jack Doyle, jack@greensock.com
*/var ws,lm,Bf,wd,$S=function(){return typeof window<"u"},HS=function(){return ws||$S()&&(ws=window.gsap)&&ws.registerPlugin&&ws},z0=function(){return lm||(NS(),wd||console.warn("Please gsap.registerPlugin(CSSPlugin, CSSRulePlugin)")),lm},NS=function(e){ws=e||HS(),$S()&&(Bf=document),ws&&(wd=ws.plugins.css,wd&&(lm=1))},um={version:"3.13.0",name:"cssRule",init:function(e,n,r,i,o){if(!z0()||typeof e.cssText>"u")return!1;var s=e._gsProxy=e._gsProxy||Bf.createElement("div");this.ss=e,this.style=s.style,s.style.cssText=e.cssText,wd.prototype.init.call(this,s,n,r,i,o)},render:function(e,n){for(var r=n._pt,i=n.style,o=n.ss,s;r;)r.r(e,r.d),r=r._next;for(s=i.length;--s>-1;)o[i[s]]=i[i[s]]},getRule:function(e){z0();var n=Bf.all?"rules":"cssRules",r=Bf.styleSheets,i=r.length,o=e.charAt(0)===":",s,a,u,c;for(e=(o?"":",")+e.split("::").join(":").toLowerCase()+",",o&&(c=[]);i--;){try{if(a=r[i][n],!a)continue;s=a.length}catch(h){console.warn(h);continue}for(;--s>-1;)if(u=a[s],u.selectorText&&(","+u.selectorText.split("::").join(":").toLowerCase()+",").indexOf(e)!==-1)if(o)c.push(u.style);else return u.style}return c},register:NS};HS()&&ws.registerPlugin(um);/*!
* paths 3.13.0
* https://gsap.com
*
* Copyright 2008-2025, GreenSock. All rights reserved.
* Subject to the terms at https://gsap.com/standard-license
* @author: Jack Doyle, jack@greensock.com
*/var tL=/[achlmqstvz]|(-?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/ig,nL=/[\+\-]?\d*\.?\d+e[\+\-]?\d+/ig,rL=Math.PI/180,uf=Math.sin,cf=Math.cos,Ou=Math.abs,nu=Math.sqrt,iL=function(e){return typeof e=="number"},q0=1e5,ls=function(e){return Math.round(e*q0)/q0||0};function oL(t,e,n,r,i,o,s){for(var a=t.length,u,c,h,l,d;--a>-1;)for(u=t[a],c=u.length,h=0;h<c;h+=2)l=u[h],d=u[h+1],u[h]=l*e+d*r+o,u[h+1]=l*n+d*i+s;return t._dirty=1,t}function sL(t,e,n,r,i,o,s,a,u){if(!(t===a&&e===u)){n=Ou(n),r=Ou(r);var c=i%360*rL,h=cf(c),l=uf(c),d=Math.PI,f=d*2,_=(t-a)/2,g=(e-u)/2,b=h*_+l*g,y=-l*_+h*g,w=b*b,A=y*y,k=w/(n*n)+A/(r*r);k>1&&(n=nu(k)*n,r=nu(k)*r);var R=n*n,x=r*r,L=(R*x-R*A-x*w)/(R*A+x*w);L<0&&(L=0);var F=(o===s?-1:1)*nu(L),H=F*(n*y/r),V=F*-(r*b/n),ne=(t+a)/2,$=(e+u)/2,M=ne+(h*H-l*V),z=$+(l*H+h*V),K=(b-H)/n,B=(y-V)/r,W=(-b-H)/n,oe=(-y-V)/r,se=K*K+B*B,q=(B<0?-1:1)*Math.acos(K/nu(se)),pe=(K*oe-B*W<0?-1:1)*Math.acos((K*W+B*oe)/nu(se*(W*W+oe*oe)));isNaN(pe)&&(pe=d),!s&&pe>0?pe-=f:s&&pe<0&&(pe+=f),q%=f,pe%=f;var Te=Math.ceil(Ou(pe)/(f/4)),_e=[],ye=pe/Te,Ae=4/3*uf(ye/2)/(1+cf(ye/2)),be=h*n,ie=l*n,le=l*-r,he=h*r,Se;for(Se=0;Se<Te;Se++)i=q+Se*ye,b=cf(i),y=uf(i),K=cf(i+=ye),B=uf(i),_e.push(b-Ae*y,y+Ae*b,K+Ae*B,B-Ae*K,K,B);for(Se=0;Se<_e.length;Se+=2)b=_e[Se],y=_e[Se+1],_e[Se]=b*be+y*le+M,_e[Se+1]=b*ie+y*he+z;return _e[Se-2]=a,_e[Se-1]=u,_e}}function aL(t){var e=(t+"").replace(nL,function(H){var V=+H;return V<1e-4&&V>-1e-4?0:V}).match(tL)||[],n=[],r=0,i=0,o=2/3,s=e.length,a=0,u="ERROR: malformed path: "+t,c,h,l,d,f,_,g,b,y,w,A,k,R,x,L,F=function(V,ne,$,M){w=($-V)/3,A=(M-ne)/3,g.push(V+w,ne+A,$-w,M-A,$,M)};if(!t||!isNaN(e[0])||isNaN(e[1]))return n;for(c=0;c<s;c++)if(R=f,isNaN(e[c])?(f=e[c].toUpperCase(),_=f!==e[c]):c--,l=+e[c+1],d=+e[c+2],_&&(l+=r,d+=i),c||(b=l,y=d),f==="M")g&&(g.length<8?n.length-=1:a+=g.length),r=b=l,i=y=d,g=[l,d],n.push(g),c+=2,f="L";else if(f==="C")g||(g=[0,0]),_||(r=i=0),g.push(l,d,r+e[c+3]*1,i+e[c+4]*1,r+=e[c+5]*1,i+=e[c+6]*1),c+=6;else if(f==="S")w=r,A=i,(R==="C"||R==="S")&&(w+=r-g[g.length-4],A+=i-g[g.length-3]),_||(r=i=0),g.push(w,A,l,d,r+=e[c+3]*1,i+=e[c+4]*1),c+=4;else if(f==="Q")w=r+(l-r)*o,A=i+(d-i)*o,_||(r=i=0),r+=e[c+3]*1,i+=e[c+4]*1,g.push(w,A,r+(l-r)*o,i+(d-i)*o,r,i),c+=4;else if(f==="T")w=r-g[g.length-4],A=i-g[g.length-3],g.push(r+w,i+A,l+(r+w*1.5-l)*o,d+(i+A*1.5-d)*o,r=l,i=d),c+=2;else if(f==="H")F(r,i,r=l,i),c+=1;else if(f==="V")F(r,i,r,i=l+(_?i-r:0)),c+=1;else if(f==="L"||f==="Z")f==="Z"&&(l=b,d=y,g.closed=!0),(f==="L"||Ou(r-l)>.5||Ou(i-d)>.5)&&(F(r,i,l,d),f==="L"&&(c+=2)),r=l,i=d;else if(f==="A"){if(x=e[c+4],L=e[c+5],w=e[c+6],A=e[c+7],h=7,x.length>1&&(x.length<3?(A=w,w=L,h--):(A=L,w=x.substr(2),h-=2),L=x.charAt(1),x=x.charAt(0)),k=sL(r,i,+e[c+1],+e[c+2],+e[c+3],+x,+L,(_?r:0)+w*1,(_?i:0)+A*1),c+=h,k)for(h=0;h<k.length;h++)g.push(k[h]);r=g[g.length-2],i=g[g.length-1]}return c=g.length,c<6?(n.pop(),c=0):g[0]===g[c-2]&&g[1]===g[c-1]&&(g.closed=!0),n.totalPoints=a+c,n}function lL(t){iL(t[0])&&(t=[t]);var e="",n=t.length,r,i,o,s;for(i=0;i<n;i++){for(s=t[i],e+="M"+ls(s[0])+","+ls(s[1])+" C",r=s.length,o=2;o<r;o++)e+=ls(s[o++])+","+ls(s[o++])+" "+ls(s[o++])+","+ls(s[o++])+" "+ls(s[o++])+","+ls(s[o])+" ";s.closed&&(e+="z")}return e}/*!
* CustomEase 3.13.0
* https://gsap.com
*
* @license Copyright 2008-2025, GreenSock. All rights reserved.
* Subject to the terms at https://gsap.com/standard-license
* @author: Jack Doyle, jack@greensock.com
*/var Gr,BS,VS=function(){return Gr||typeof window<"u"&&(Gr=window.gsap)&&Gr.registerPlugin&&Gr},G0=function(){Gr=VS(),Gr?(Gr.registerEase("_CE",kl.create),BS=1):console.warn("Please gsap.registerPlugin(CustomEase)")},uL=1e20,ff=function(e){return~~(e*1e3+(e<0?-.5:.5))/1e3},cL=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/gi,fL=/[cLlsSaAhHvVtTqQ]/g,dL=function(e){var n=e.length,r=uL,i;for(i=1;i<n;i+=6)+e[i]<r&&(r=+e[i]);return r},hL=function(e,n,r){!r&&r!==0&&(r=Math.max(+e[e.length-1],+e[1]));var i=+e[0]*-1,o=-r,s=e.length,a=1/(+e[s-2]+i),u=-n||(Math.abs(+e[s-1]-+e[1])<.01*(+e[s-2]-+e[0])?dL(e)+o:+e[s-1]+o),c;for(u?u=1/u:u=-a,c=0;c<s;c+=2)e[c]=(+e[c]+i)*a,e[c+1]=(+e[c+1]+o)*u},pL=function t(e,n,r,i,o,s,a,u,c,h,l){var d=(e+r)/2,f=(n+i)/2,_=(r+o)/2,g=(i+s)/2,b=(o+a)/2,y=(s+u)/2,w=(d+_)/2,A=(f+g)/2,k=(_+b)/2,R=(g+y)/2,x=(w+k)/2,L=(A+R)/2,F=a-e,H=u-n,V=Math.abs((r-a)*H-(i-u)*F),ne=Math.abs((o-a)*H-(s-u)*F),$;return h||(h=[{x:e,y:n},{x:a,y:u}],l=1),h.splice(l||h.length-1,0,{x,y:L}),(V+ne)*(V+ne)>c*(F*F+H*H)&&($=h.length,t(e,n,d,f,w,A,x,L,c,h,l),t(x,L,k,R,b,y,a,u,c,h,l+1+(h.length-$))),h},kl=function(){function t(n,r,i){BS||G0(),this.id=n,this.setData(r,i)}var e=t.prototype;return e.setData=function(r,i){i=i||{},r=r||"0,0,1,1";var o=r.match(cL),s=1,a=[],u=[],c=i.precision||1,h=c<=1,l,d,f,_,g,b,y,w,A;if(this.data=r,(fL.test(r)||~r.indexOf("M")&&r.indexOf("C")<0)&&(o=aL(r)[0]),l=o.length,l===4)o.unshift(0,0),o.push(1,1),l=8;else if((l-2)%6)throw"Invalid CustomEase";for((+o[0]!=0||+o[l-2]!=1)&&hL(o,i.height,i.originY),this.segment=o,_=2;_<l;_+=6)d={x:+o[_-2],y:+o[_-1]},f={x:+o[_+4],y:+o[_+5]},a.push(d,f),pL(d.x,d.y,+o[_],+o[_+1],+o[_+2],+o[_+3],f.x,f.y,1/(c*2e5),a,a.length-1);for(l=a.length,_=0;_<l;_++)y=a[_],w=a[_-1]||y,(y.x>w.x||w.y!==y.y&&w.x===y.x||y===w)&&y.x<=1?(w.cx=y.x-w.x,w.cy=y.y-w.y,w.n=y,w.nx=y.x,h&&_>1&&Math.abs(w.cy/w.cx-a[_-2].cy/a[_-2].cx)>2&&(h=0),w.cx<s&&(w.cx?s=w.cx:(w.cx=.001,_===l-1&&(w.x-=.001,s=Math.min(s,.001),h=0)))):(a.splice(_--,1),l--);if(l=1/s+1|0,g=1/l,b=0,y=a[0],h){for(_=0;_<l;_++)A=_*g,y.nx<A&&(y=a[++b]),d=y.y+(A-y.x)/y.cx*y.cy,u[_]={x:A,cx:g,y:d,cy:0,nx:9},_&&(u[_-1].cy=d-u[_-1].y);b=a[a.length-1],u[l-1].cy=b.y-d,u[l-1].cx=b.x-u[u.length-1].x}else{for(_=0;_<l;_++)y.nx<_*g&&(y=a[++b]),u[_]=y;b<a.length-1&&(u[_-1]=a[a.length-2])}return this.ease=function(k){var R=u[k*l|0]||u[l-1];return R.nx<k&&(R=R.n),R.y+(k-R.x)/R.cx*R.cy},this.ease.custom=this,this.id&&Gr&&Gr.registerEase(this.id,this.ease),this},e.getSVGData=function(r){return t.getSVGData(this,r)},t.create=function(r,i,o){return new t(r,i,o).ease},t.register=function(r){Gr=r,G0()},t.get=function(r){return Gr.parseEase(r)},t.getSVGData=function(r,i){i=i||{};var o=i.width||100,s=i.height||100,a=i.x||0,u=(i.y||0)+s,c=Gr.utils.toArray(i.path)[0],h,l,d,f,_,g,b,y,w,A;if(i.invert&&(s=-s,u=0),typeof r=="string"&&(r=Gr.parseEase(r)),r.custom&&(r=r.custom),r instanceof t)h=lL(oL([r.segment],o,0,0,-s,a,u));else{for(h=[a,u],b=Math.max(5,(i.precision||1)*200),f=1/b,b+=2,y=5/b,w=ff(a+f*o),A=ff(u+r(f)*-s),l=(A-u)/(w-a),d=2;d<b;d++)_=ff(a+d*f*o),g=ff(u+r(d*f)*-s),(Math.abs((g-A)/(_-w)-l)>y||d===b-1)&&(h.push(w,A),l=(g-A)/(_-w)),w=_,A=g;h="M"+h.join(",")}return c&&c.setAttribute("d",h),h},t}();kl.version="3.13.0";kl.headless=!0;VS()&&Gr.registerPlugin(kl);/*!
* SplitText 3.13.0
* https://gsap.com
*
* @license Copyright 2025, GreenSock. All rights reserved. Subject to the terms at https://gsap.com/standard-license.
* @author: Jack Doyle
*/let ru,Ba,cm,mL=()=>cm||hm.register(window.gsap),Y0=typeof Intl<"u"?new Intl.Segmenter:0,Sd=t=>typeof t=="string"?Sd(document.querySelectorAll(t)):"length"in t?Array.from(t):[t],K0=t=>Sd(t).filter(e=>e instanceof HTMLElement),fm=[],np=function(){},gL=/\s+/g,X0=new RegExp("\\p{RI}\\p{RI}|\\p{Emoji}(\\p{EMod}|\\u{FE0F}\\u{20E3}?|[\\u{E0020}-\\u{E007E}]+\\u{E007F})?(\\u{200D}\\p{Emoji}(\\p{EMod}|\\u{FE0F}\\u{20E3}?|[\\u{E0020}-\\u{E007E}]+\\u{E007F})?)*|.","gu"),Q0={left:0,top:0,width:0,height:0},J0=(t,e)=>{if(e){let n=new Set(t.join("").match(e)||fm),r=t.length,i,o,s,a;if(n.size)for(;--r>-1;){o=t[r];for(s of n)if(s.startsWith(o)&&s.length>o.length){for(i=0,a=o;s.startsWith(a+=t[r+ ++i])&&a.length<s.length;);if(i&&a.length===s.length){t[r]=s,t.splice(r+1,i);break}}}}return t},Z0=t=>window.getComputedStyle(t).display==="inline"&&(t.style.display="inline-block"),Va=(t,e,n)=>e.insertBefore(typeof t=="string"?document.createTextNode(t):t,n),dm=(t,e,n)=>{let r=e[t+"sClass"]||"",{tag:i="div",aria:o="auto",propIndex:s=!1}=e,a=t==="line"?"block":"inline-block",u=r.indexOf("++")>-1,c=h=>{let l=document.createElement(i),d=n.length+1;return r&&(l.className=r+(u?" "+r+d:"")),s&&l.style.setProperty("--"+t,d+""),o!=="none"&&l.setAttribute("aria-hidden","true"),i!=="span"&&(l.style.position="relative",l.style.display=a),l.textContent=h,n.push(l),l};return u&&(r=r.replace("++","")),c.collection=n,c},_L=(t,e,n,r)=>{let i=dm("line",n,r),o=window.getComputedStyle(t).textAlign||"left";return(s,a)=>{let u=i("");for(u.style.textAlign=o,t.insertBefore(u,e[s]);s<a;s++)u.appendChild(e[s]);u.normalize()}},US=(t,e,n,r,i,o,s,a,u,c)=>{var h;let l=Array.from(t.childNodes),d=0,{wordDelimiter:f,reduceWhiteSpace:_=!0,prepareText:g}=e,b=t.getBoundingClientRect(),y=b,w=!_&&window.getComputedStyle(t).whiteSpace.substring(0,3)==="pre",A=0,k=n.collection,R,x,L,F,H,V,ne,$,M,z,K,B,W,oe,se,q,pe,Te;for(typeof f=="object"?(L=f.delimiter||f,x=f.replaceWith||""):x=f===""?"":f||" ",R=x!==" ";d<l.length;d++)if(F=l[d],F.nodeType===3){for(se=F.textContent||"",_?se=se.replace(gL," "):w&&(se=se.replace(/\n/g,x+`
`)),g&&(se=g(se,t)),F.textContent=se,H=x||L?se.split(L||x):se.match(a)||fm,pe=H[H.length-1],$=R?pe.slice(-1)===" ":!pe,pe||H.pop(),y=b,ne=R?H[0].charAt(0)===" ":!H[0],ne&&Va(" ",t,F),H[0]||H.shift(),J0(H,u),o&&c||(F.textContent=""),M=1;M<=H.length;M++)if(q=H[M-1],!_&&w&&q.charAt(0)===`
`&&((h=F.previousSibling)==null||h.remove(),Va(document.createElement("br"),t,F),q=q.slice(1)),!_&&q==="")Va(x,t,F);else if(q===" ")t.insertBefore(document.createTextNode(" "),F);else{if(R&&q.charAt(0)===" "&&Va(" ",t,F),A&&M===1&&!ne&&k.indexOf(A.parentNode)>-1?(V=k[k.length-1],V.appendChild(document.createTextNode(r?"":q))):(V=n(r?"":q),Va(V,t,F),A&&M===1&&!ne&&V.insertBefore(A,V.firstChild)),r)for(K=Y0?J0([...Y0.segment(q)].map(_e=>_e.segment),u):q.match(a)||fm,Te=0;Te<K.length;Te++)V.appendChild(K[Te]===" "?document.createTextNode(" "):r(K[Te]));if(o&&c){if(se=F.textContent=se.substring(q.length+1,se.length),z=V.getBoundingClientRect(),z.top>y.top&&z.left<=y.left){for(B=t.cloneNode(),W=t.childNodes[0];W&&W!==V;)oe=W,W=W.nextSibling,B.appendChild(oe);t.parentNode.insertBefore(B,t),i&&Z0(B)}y=z}(M<H.length||$)&&Va(M>=H.length?" ":R&&q.slice(-1)===" "?" "+x:x,t,F)}t.removeChild(F),A=0}else F.nodeType===1&&(s&&s.indexOf(F)>-1?(k.indexOf(F.previousSibling)>-1&&k[k.length-1].appendChild(F),A=F):(US(F,e,n,r,i,o,s,a,u,!0),A=0),i&&Z0(F))};const jS=class WS{constructor(e,n){this.isSplit=!1,mL(),this.elements=K0(e),this.chars=[],this.words=[],this.lines=[],this.masks=[],this.vars=n,this._split=()=>this.isSplit&&this.split(this.vars);let r=[],i,o=()=>{let s=r.length,a;for(;s--;){a=r[s];let u=a.element.offsetWidth;if(u!==a.width){a.width=u,this._split();return}}};this._data={orig:r,obs:typeof ResizeObserver<"u"&&new ResizeObserver(()=>{clearTimeout(i),i=setTimeout(o,200)})},np(this),this.split(n)}split(e){this.isSplit&&this.revert(),this.vars=e=e||this.vars||{};let{type:n="chars,words,lines",aria:r="auto",deepSlice:i=!0,smartWrap:o,onSplit:s,autoSplit:a=!1,specialChars:u,mask:c}=this.vars,h=n.indexOf("lines")>-1,l=n.indexOf("chars")>-1,d=n.indexOf("words")>-1,f=l&&!d&&!h,_=u&&("push"in u?new RegExp("(?:"+u.join("|")+")","gu"):u),g=_?new RegExp(_.source+"|"+X0.source,"gu"):X0,b=!!e.ignore&&K0(e.ignore),{orig:y,animTime:w,obs:A}=this._data,k;return(l||d||h)&&(this.elements.forEach((R,x)=>{y[x]={element:R,html:R.innerHTML,ariaL:R.getAttribute("aria-label"),ariaH:R.getAttribute("aria-hidden")},r==="auto"?R.setAttribute("aria-label",(R.textContent||"").trim()):r==="hidden"&&R.setAttribute("aria-hidden","true");let L=[],F=[],H=[],V=l?dm("char",e,L):null,ne=dm("word",e,F),$,M,z,K;if(US(R,e,ne,V,f,i&&(h||f),b,g,_,!1),h){let B=Sd(R.childNodes),W=_L(R,B,e,H),oe,se=[],q=0,pe=B.map(_e=>_e.nodeType===1?_e.getBoundingClientRect():Q0),Te=Q0;for($=0;$<B.length;$++)oe=B[$],oe.nodeType===1&&(oe.nodeName==="BR"?(se.push(oe),W(q,$+1),q=$+1,Te=pe[q]):($&&pe[$].top>Te.top&&pe[$].left<=Te.left&&(W(q,$),q=$),Te=pe[$]));q<$&&W(q,$),se.forEach(_e=>{var ye;return(ye=_e.parentNode)==null?void 0:ye.removeChild(_e)})}if(!d){for($=0;$<F.length;$++)if(M=F[$],l||!M.nextSibling||M.nextSibling.nodeType!==3)if(o&&!h){for(z=document.createElement("span"),z.style.whiteSpace="nowrap";M.firstChild;)z.appendChild(M.firstChild);M.replaceWith(z)}else M.replaceWith(...M.childNodes);else K=M.nextSibling,K&&K.nodeType===3&&(K.textContent=(M.textContent||"")+(K.textContent||""),M.remove());F.length=0,R.normalize()}this.lines.push(...H),this.words.push(...F),this.chars.push(...L)}),c&&this[c]&&this.masks.push(...this[c].map(R=>{let x=R.cloneNode();return R.replaceWith(x),x.appendChild(R),R.className&&(x.className=R.className.replace(/(\b\w+\b)/g,"$1-mask")),x.style.overflow="clip",x}))),this.isSplit=!0,Ba&&(a?Ba.addEventListener("loadingdone",this._split):Ba.status==="loading"&&console.warn("SplitText called before fonts loaded")),(k=s&&s(this))&&k.totalTime&&(this._data.anim=w?k.totalTime(w):k),h&&a&&this.elements.forEach((R,x)=>{y[x].width=R.offsetWidth,A&&A.observe(R)}),this}revert(){var e,n;let{orig:r,anim:i,obs:o}=this._data;return o&&o.disconnect(),r.forEach(({element:s,html:a,ariaL:u,ariaH:c})=>{s.innerHTML=a,u?s.setAttribute("aria-label",u):s.removeAttribute("aria-label"),c?s.setAttribute("aria-hidden",c):s.removeAttribute("aria-hidden")}),this.chars.length=this.words.length=this.lines.length=r.length=this.masks.length=0,this.isSplit=!1,Ba==null||Ba.removeEventListener("loadingdone",this._split),i&&(this._data.animTime=i.totalTime(),i.revert()),(n=(e=this.vars).onRevert)==null||n.call(e,this),this}static create(e,n){return new WS(e,n)}static register(e){ru=ru||e||window.gsap,ru&&(Sd=ru.utils.toArray,np=ru.core.context||np),!cm&&window.innerWidth>0&&(Ba=document.fonts,cm=!0)}};jS.version="3.13.0";let hm=jS;function vL(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)}}function yL(t,e,n){return e&&vL(t.prototype,e),t}/*!
* Observer 3.13.0
* https://gsap.com
*
* @license Copyright 2008-2025, GreenSock. All rights reserved.
* Subject to the terms at https://gsap.com/standard-license
* @author: Jack Doyle, jack@greensock.com
*/var dr,Vf,ui,Ss,Ts,ul,zS,Qs,Mu,qS,jo,Ui,GS,YS=function(){return dr||typeof window<"u"&&(dr=window.gsap)&&dr.registerPlugin&&dr},KS=1,el=[],Pt=[],bo=[],Fu=Date.now,pm=function(e,n){return n},bL=function(){var e=Mu.core,n=e.bridge||{},r=e._scrollers,i=e._proxies;r.push.apply(r,Pt),i.push.apply(i,bo),Pt=r,bo=i,pm=function(s,a){return n[s](a)}},Cs=function(e,n){return~bo.indexOf(e)&&bo[bo.indexOf(e)+1][n]},Du=function(e){return!!~qS.indexOf(e)},Or=function(e,n,r,i,o){return e.addEventListener(n,r,{passive:i!==!1,capture:!!o})},Ir=function(e,n,r,i){return e.removeEventListener(n,r,!!i)},df="scrollLeft",hf="scrollTop",mm=function(){return jo&&jo.isPressed||Pt.cache++},Td=function(e,n){var r=function i(o){if(o||o===0){KS&&(ui.history.scrollRestoration="manual");var s=jo&&jo.isPressed;o=i.v=Math.round(o)||(jo&&jo.iOS?1:0),e(o),i.cacheID=Pt.cache,s&&pm("ss",o)}else(n||Pt.cache!==i.cacheID||pm("ref"))&&(i.cacheID=Pt.cache,i.v=e());return i.v+i.offset};return r.offset=0,e&&r},Ur={s:df,p:"left",p2:"Left",os:"right",os2:"Right",d:"width",d2:"Width",a:"x",sc:Td(function(t){return arguments.length?ui.scrollTo(t,Qn.sc()):ui.pageXOffset||Ss[df]||Ts[df]||ul[df]||0})},Qn={s:hf,p:"top",p2:"Top",os:"bottom",os2:"Bottom",d:"height",d2:"Height",a:"y",op:Ur,sc:Td(function(t){return arguments.length?ui.scrollTo(Ur.sc(),t):ui.pageYOffset||Ss[hf]||Ts[hf]||ul[hf]||0})},qr=function(e,n){return(n&&n._ctx&&n._ctx.selector||dr.utils.toArray)(e)[0]||(typeof e=="string"&&dr.config().nullTargetWarn!==!1?console.warn("Element not found:",e):null)},wL=function(e,n){for(var r=n.length;r--;)if(n[r]===e||n[r].contains(e))return!0;return!1},Os=function(e,n){var r=n.s,i=n.sc;Du(e)&&(e=Ss.scrollingElement||Ts);var o=Pt.indexOf(e),s=i===Qn.sc?1:2;!~o&&(o=Pt.push(e)-1),Pt[o+s]||Or(e,"scroll",mm);var a=Pt[o+s],u=a||(Pt[o+s]=Td(Cs(e,r),!0)||(Du(e)?i:Td(function(c){return arguments.length?e[r]=c:e[r]})));return u.target=e,a||(u.smooth=dr.getProperty(e,"scrollBehavior")==="smooth"),u},gm=function(e,n,r){var i=e,o=e,s=Fu(),a=s,u=n||50,c=Math.max(500,u*3),h=function(_,g){var b=Fu();g||b-s>u?(o=i,i=_,a=s,s=b):r?i+=_:i=o+(_-o)/(b-a)*(s-a)},l=function(){o=i=r?0:i,a=s=0},d=function(_){var g=a,b=o,y=Fu();return(_||_===0)&&_!==i&&h(_),s===a||y-a>c?0:(i+(r?b:-b))/((r?y:s)-g)*1e3};return{update:h,reset:l,getVelocity:d}},iu=function(e,n){return n&&!e._gsapAllow&&e.preventDefault(),e.changedTouches?e.changedTouches[0]:e},ey=function(e){var n=Math.max.apply(Math,e),r=Math.min.apply(Math,e);return Math.abs(n)>=Math.abs(r)?n:r},XS=function(){Mu=dr.core.globals().ScrollTrigger,Mu&&Mu.core&&bL()},QS=function(e){return dr=e||YS(),!Vf&&dr&&typeof document<"u"&&document.body&&(ui=window,Ss=document,Ts=Ss.documentElement,ul=Ss.body,qS=[ui,Ss,Ts,ul],dr.utils.clamp,GS=dr.core.context||function(){},Qs="onpointerenter"in ul?"pointer":"mouse",zS=$n.isTouch=ui.matchMedia&&ui.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in ui||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,Ui=$n.eventTypes=("ontouchstart"in Ts?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in Ts?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout(function(){return KS=0},500),XS(),Vf=1),Vf};Ur.op=Qn;Pt.cache=0;var $n=function(){function t(n){this.init(n)}var e=t.prototype;return e.init=function(r){Vf||QS(dr)||console.warn("Please gsap.registerPlugin(Observer)"),Mu||XS();var i=r.tolerance,o=r.dragMinimum,s=r.type,a=r.target,u=r.lineHeight,c=r.debounce,h=r.preventDefault,l=r.onStop,d=r.onStopDelay,f=r.ignore,_=r.wheelSpeed,g=r.event,b=r.onDragStart,y=r.onDragEnd,w=r.onDrag,A=r.onPress,k=r.onRelease,R=r.onRight,x=r.onLeft,L=r.onUp,F=r.onDown,H=r.onChangeX,V=r.onChangeY,ne=r.onChange,$=r.onToggleX,M=r.onToggleY,z=r.onHover,K=r.onHoverEnd,B=r.onMove,W=r.ignoreCheck,oe=r.isNormalizer,se=r.onGestureStart,q=r.onGestureEnd,pe=r.onWheel,Te=r.onEnable,_e=r.onDisable,ye=r.onClick,Ae=r.scrollSpeed,be=r.capture,ie=r.allowClicks,le=r.lockAxis,he=r.onLockAxis;this.target=a=qr(a)||Ts,this.vars=r,f&&(f=dr.utils.toArray(f)),i=i||1e-9,o=o||0,_=_||1,Ae=Ae||1,s=s||"wheel,touch,pointer",c=c!==!1,u||(u=parseFloat(ui.getComputedStyle(ul).lineHeight)||22);var Se,Ie,j,P,Y,ee,X,C=this,G=0,I=0,D=r.passive||!h&&r.passive!==!1,Z=Os(a,Ur),fe=Os(a,Qn),ue=Z(),S=fe(),m=~s.indexOf("touch")&&!~s.indexOf("pointer")&&Ui[0]==="pointerdown",T=Du(a),N=a.ownerDocument||Ss,re=[0,0,0],ce=[0,0,0],Ee=0,De=function(){return Ee=Fu()},Pe=function(ot,Ot){return(C.event=ot)&&f&&wL(ot.target,f)||Ot&&m&&ot.pointerType!=="touch"||W&&W(ot,Ot)},Be=function(){C._vx.reset(),C._vy.reset(),Ie.pause(),l&&l(C)},Qe=function(){var ot=C.deltaX=ey(re),Ot=C.deltaY=ey(ce),ze=Math.abs(ot)>=i,ct=Math.abs(Ot)>=i;ne&&(ze||ct)&&ne(C,ot,Ot,re,ce),ze&&(R&&C.deltaX>0&&R(C),x&&C.deltaX<0&&x(C),H&&H(C),$&&C.deltaX<0!=G<0&&$(C),G=C.deltaX,re[0]=re[1]=re[2]=0),ct&&(F&&C.deltaY>0&&F(C),L&&C.deltaY<0&&L(C),V&&V(C),M&&C.deltaY<0!=I<0&&M(C),I=C.deltaY,ce[0]=ce[1]=ce[2]=0),(P||j)&&(B&&B(C),j&&(b&&j===1&&b(C),w&&w(C),j=0),P=!1),ee&&!(ee=!1)&&he&&he(C),Y&&(pe(C),Y=!1),Se=0},tt=function(ot,Ot,ze){re[ze]+=ot,ce[ze]+=Ot,C._vx.update(ot),C._vy.update(Ot),c?Se||(Se=requestAnimationFrame(Qe)):Qe()},pt=function(ot,Ot){le&&!X&&(C.axis=X=Math.abs(ot)>Math.abs(Ot)?"x":"y",ee=!0),X!=="y"&&(re[2]+=ot,C._vx.update(ot,!0)),X!=="x"&&(ce[2]+=Ot,C._vy.update(Ot,!0)),c?Se||(Se=requestAnimationFrame(Qe)):Qe()},mt=function(ot){if(!Pe(ot,1)){ot=iu(ot,h);var Ot=ot.clientX,ze=ot.clientY,ct=Ot-C.x,it=ze-C.y,Oe=C.isDragging;C.x=Ot,C.y=ze,(Oe||(ct||it)&&(Math.abs(C.startX-Ot)>=o||Math.abs(C.startY-ze)>=o))&&(j=Oe?2:1,Oe||(C.isDragging=!0),pt(ct,it))}},rn=C.onPress=function(rt){Pe(rt,1)||rt&&rt.button||(C.axis=X=null,Ie.pause(),C.isPressed=!0,rt=iu(rt),G=I=0,C.startX=C.x=rt.clientX,C.startY=C.y=rt.clientY,C._vx.reset(),C._vy.reset(),Or(oe?a:N,Ui[1],mt,D,!0),C.deltaX=C.deltaY=0,A&&A(C))},nt=C.onRelease=function(rt){if(!Pe(rt,1)){Ir(oe?a:N,Ui[1],mt,!0);var ot=!isNaN(C.y-C.startY),Ot=C.isDragging,ze=Ot&&(Math.abs(C.x-C.startX)>3||Math.abs(C.y-C.startY)>3),ct=iu(rt);!ze&&ot&&(C._vx.reset(),C._vy.reset(),h&&ie&&dr.delayedCall(.08,function(){if(Fu()-Ee>300&&!rt.defaultPrevented){if(rt.target.click)rt.target.click();else if(N.createEvent){var it=N.createEvent("MouseEvents");it.initMouseEvent("click",!0,!0,ui,1,ct.screenX,ct.screenY,ct.clientX,ct.clientY,!1,!1,!1,!1,0,null),rt.target.dispatchEvent(it)}}})),C.isDragging=C.isGesturing=C.isPressed=!1,l&&Ot&&!oe&&Ie.restart(!0),j&&Qe(),y&&Ot&&y(C),k&&k(C,ze)}},Ut=function(ot){return ot.touches&&ot.touches.length>1&&(C.isGesturing=!0)&&se(ot,C.isDragging)},kt=function(){return(C.isGesturing=!1)||q(C)},dt=function(ot){if(!Pe(ot)){var Ot=Z(),ze=fe();tt((Ot-ue)*Ae,(ze-S)*Ae,1),ue=Ot,S=ze,l&&Ie.restart(!0)}},jt=function(ot){if(!Pe(ot)){ot=iu(ot,h),pe&&(Y=!0);var Ot=(ot.deltaMode===1?u:ot.deltaMode===2?ui.innerHeight:1)*_;tt(ot.deltaX*Ot,ot.deltaY*Ot,0),l&&!oe&&Ie.restart(!0)}},xn=function(ot){if(!Pe(ot)){var Ot=ot.clientX,ze=ot.clientY,ct=Ot-C.x,it=ze-C.y;C.x=Ot,C.y=ze,P=!0,l&&Ie.restart(!0),(ct||it)&&pt(ct,it)}},Pn=function(ot){C.event=ot,z(C)},Ke=function(ot){C.event=ot,K(C)},ht=function(ot){return Pe(ot)||iu(ot,h)&&ye(C)};Ie=C._dc=dr.delayedCall(d||.25,Be).pause(),C.deltaX=C.deltaY=0,C._vx=gm(0,50,!0),C._vy=gm(0,50,!0),C.scrollX=Z,C.scrollY=fe,C.isDragging=C.isGesturing=C.isPressed=!1,GS(this),C.enable=function(rt){return C.isEnabled||(Or(T?N:a,"scroll",mm),s.indexOf("scroll")>=0&&Or(T?N:a,"scroll",dt,D,be),s.indexOf("wheel")>=0&&Or(a,"wheel",jt,D,be),(s.indexOf("touch")>=0&&zS||s.indexOf("pointer")>=0)&&(Or(a,Ui[0],rn,D,be),Or(N,Ui[2],nt),Or(N,Ui[3],nt),ie&&Or(a,"click",De,!0,!0),ye&&Or(a,"click",ht),se&&Or(N,"gesturestart",Ut),q&&Or(N,"gestureend",kt),z&&Or(a,Qs+"enter",Pn),K&&Or(a,Qs+"leave",Ke),B&&Or(a,Qs+"move",xn)),C.isEnabled=!0,C.isDragging=C.isGesturing=C.isPressed=P=j=!1,C._vx.reset(),C._vy.reset(),ue=Z(),S=fe(),rt&&rt.type&&rn(rt),Te&&Te(C)),C},C.disable=function(){C.isEnabled&&(el.filter(function(rt){return rt!==C&&Du(rt.target)}).length||Ir(T?N:a,"scroll",mm),C.isPressed&&(C._vx.reset(),C._vy.reset(),Ir(oe?a:N,Ui[1],mt,!0)),Ir(T?N:a,"scroll",dt,be),Ir(a,"wheel",jt,be),Ir(a,Ui[0],rn,be),Ir(N,Ui[2],nt),Ir(N,Ui[3],nt),Ir(a,"click",De,!0),Ir(a,"click",ht),Ir(N,"gesturestart",Ut),Ir(N,"gestureend",kt),Ir(a,Qs+"enter",Pn),Ir(a,Qs+"leave",Ke),Ir(a,Qs+"move",xn),C.isEnabled=C.isPressed=C.isDragging=!1,_e&&_e(C))},C.kill=C.revert=function(){C.disable();var rt=el.indexOf(C);rt>=0&&el.splice(rt,1),jo===C&&(jo=0)},el.push(C),oe&&Du(a)&&(jo=C),C.enable(g)},yL(t,[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}]),t}();$n.version="3.13.0";$n.create=function(t){return new $n(t)};$n.register=QS;$n.getAll=function(){return el.slice()};$n.getById=function(t){return el.filter(function(e){return e.vars.id===t})[0]};YS()&&dr.registerPlugin($n);/*!
* ScrollTrigger 3.13.0
* https://gsap.com
*
* @license Copyright 2008-2025, GreenSock. All rights reserved.
* Subject to the terms at https://gsap.com/standard-license
* @author: Jack Doyle, jack@greensock.com
*/var Ze,Ga,xt,pn,ai,en,Ug,Ed,cc,$u,pu,pf,br,sh,_m,Hr,ty,ny,Ya,JS,rp,ZS,$r,vm,eT,tT,ds,ym,jg,cl,Wg,kd,bm,ip,mf=1,Sr=Date.now,op=Sr(),Mi=0,mu=0,ry=function(e,n,r){var i=oi(e)&&(e.substr(0,6)==="clamp("||e.indexOf("max")>-1);return r["_"+n+"Clamp"]=i,i?e.substr(6,e.length-7):e},iy=function(e,n){return n&&(!oi(e)||e.substr(0,6)!=="clamp(")?"clamp("+e+")":e},SL=function t(){return mu&&requestAnimationFrame(t)},oy=function(){return sh=1},sy=function(){return sh=0},uo=function(e){return e},gu=function(e){return Math.round(e*1e5)/1e5||0},nT=function(){return typeof window<"u"},rT=function(){return Ze||nT()&&(Ze=window.gsap)&&Ze.registerPlugin&&Ze},wa=function(e){return!!~Ug.indexOf(e)},iT=function(e){return(e==="Height"?Wg:xt["inner"+e])||ai["client"+e]||en["client"+e]},oT=function(e){return Cs(e,"getBoundingClientRect")||(wa(e)?function(){return qf.width=xt.innerWidth,qf.height=Wg,qf}:function(){return Bo(e)})},TL=function(e,n,r){var i=r.d,o=r.d2,s=r.a;return(s=Cs(e,"getBoundingClientRect"))?function(){return s()[i]}:function(){return(n?iT(o):e["client"+o])||0}},EL=function(e,n){return!n||~bo.indexOf(e)?oT(e):function(){return qf}},mo=function(e,n){var r=n.s,i=n.d2,o=n.d,s=n.a;return Math.max(0,(r="scroll"+i)&&(s=Cs(e,r))?s()-oT(e)()[o]:wa(e)?(ai[r]||en[r])-iT(i):e[r]-e["offset"+i])},gf=function(e,n){for(var r=0;r<Ya.length;r+=3)(!n||~n.indexOf(Ya[r+1]))&&e(Ya[r],Ya[r+1],Ya[r+2])},oi=function(e){return typeof e=="string"},Ar=function(e){return typeof e=="function"},_u=function(e){return typeof e=="number"},Js=function(e){return typeof e=="object"},ou=function(e,n,r){return e&&e.progress(n?0:1)&&r&&e.pause()},sp=function(e,n){if(e.enabled){var r=e._ctx?e._ctx.add(function(){return n(e)}):n(e);r&&r.totalTime&&(e.callbackAnimation=r)}},Ua=Math.abs,sT="left",aT="top",zg="right",qg="bottom",da="width",ha="height",Hu="Right",Nu="Left",Bu="Top",Vu="Bottom",Vn="padding",Ai="margin",Al="Width",Gg="Height",Xn="px",Ri=function(e){return xt.getComputedStyle(e)},kL=function(e){var n=Ri(e).position;e.style.position=n==="absolute"||n==="fixed"?n:"relative"},ay=function(e,n){for(var r in n)r in e||(e[r]=n[r]);return e},Bo=function(e,n){var r=n&&Ri(e)[_m]!=="matrix(1, 0, 0, 1, 0, 0)"&&Ze.to(e,{x:0,y:0,xPercent:0,yPercent:0,rotation:0,rotationX:0,rotationY:0,scale:1,skewX:0,skewY:0}).progress(1),i=e.getBoundingClientRect();return r&&r.progress(0).kill(),i},Ad=function(e,n){var r=n.d2;return e["offset"+r]||e["client"+r]||0},lT=function(e){var n=[],r=e.labels,i=e.duration(),o;for(o in r)n.push(r[o]/i);return n},AL=function(e){return function(n){return Ze.utils.snap(lT(e),n)}},Yg=function(e){var n=Ze.utils.snap(e),r=Array.isArray(e)&&e.slice(0).sort(function(i,o){return i-o});return r?function(i,o,s){s===void 0&&(s=.001);var a;if(!o)return n(i);if(o>0){for(i-=s,a=0;a<r.length;a++)if(r[a]>=i)return r[a];return r[a-1]}else for(a=r.length,i+=s;a--;)if(r[a]<=i)return r[a];return r[0]}:function(i,o,s){s===void 0&&(s=.001);var a=n(i);return!o||Math.abs(a-i)<s||a-i<0==o<0?a:n(o<0?i-e:i+e)}},RL=function(e){return function(n,r){return Yg(lT(e))(n,r.direction)}},_f=function(e,n,r,i){return r.split(",").forEach(function(o){return e(n,o,i)})},ir=function(e,n,r,i,o){return e.addEventListener(n,r,{passive:!i,capture:!!o})},rr=function(e,n,r,i){return e.removeEventListener(n,r,!!i)},vf=function(e,n,r){r=r&&r.wheelHandler,r&&(e(n,"wheel",r),e(n,"touchmove",r))},ly={startColor:"green",endColor:"red",indent:0,fontSize:"16px",fontWeight:"normal"},yf={toggleActions:"play",anticipatePin:0},Rd={top:0,left:0,center:.5,bottom:1,right:1},Uf=function(e,n){if(oi(e)){var r=e.indexOf("="),i=~r?+(e.charAt(r-1)+1)*parseFloat(e.substr(r+1)):0;~r&&(e.indexOf("%")>r&&(i*=n/100),e=e.substr(0,r-1)),e=i+(e in Rd?Rd[e]*n:~e.indexOf("%")?parseFloat(e)*n/100:parseFloat(e)||0)}return e},bf=function(e,n,r,i,o,s,a,u){var c=o.startColor,h=o.endColor,l=o.fontSize,d=o.indent,f=o.fontWeight,_=pn.createElement("div"),g=wa(r)||Cs(r,"pinType")==="fixed",b=e.indexOf("scroller")!==-1,y=g?en:r,w=e.indexOf("start")!==-1,A=w?c:h,k="border-color:"+A+";font-size:"+l+";color:"+A+";font-weight:"+f+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return k+="position:"+((b||u)&&g?"fixed;":"absolute;"),(b||u||!g)&&(k+=(i===Qn?zg:qg)+":"+(s+parseFloat(d))+"px;"),a&&(k+="box-sizing:border-box;text-align:left;width:"+a.offsetWidth+"px;"),_._isStart=w,_.setAttribute("class","gsap-marker-"+e+(n?" marker-"+n:"")),_.style.cssText=k,_.innerText=n||n===0?e+"-"+n:e,y.children[0]?y.insertBefore(_,y.children[0]):y.appendChild(_),_._offset=_["offset"+i.op.d2],jf(_,0,i,w),_},jf=function(e,n,r,i){var o={display:"block"},s=r[i?"os2":"p2"],a=r[i?"p2":"os2"];e._isFlipped=i,o[r.a+"Percent"]=i?-100:0,o[r.a]=i?"1px":0,o["border"+s+Al]=1,o["border"+a+Al]=0,o[r.p]=n+"px",Ze.set(e,o)},Rt=[],wm={},fc,uy=function(){return Sr()-Mi>34&&(fc||(fc=requestAnimationFrame(Go)))},ja=function(){(!$r||!$r.isPressed||$r.startX>en.clientWidth)&&(Pt.cache++,$r?fc||(fc=requestAnimationFrame(Go)):Go(),Mi||Ta("scrollStart"),Mi=Sr())},ap=function(){tT=xt.innerWidth,eT=xt.innerHeight},vu=function(e){Pt.cache++,(e===!0||!br&&!ZS&&!pn.fullscreenElement&&!pn.webkitFullscreenElement&&(!vm||tT!==xt.innerWidth||Math.abs(xt.innerHeight-eT)>xt.innerHeight*.25))&&Ed.restart(!0)},Sa={},CL=[],uT=function t(){return rr(It,"scrollEnd",t)||ia(!0)},Ta=function(e){return Sa[e]&&Sa[e].map(function(n){return n()})||CL},ii=[],cT=function(e){for(var n=0;n<ii.length;n+=5)(!e||ii[n+4]&&ii[n+4].query===e)&&(ii[n].style.cssText=ii[n+1],ii[n].getBBox&&ii[n].setAttribute("transform",ii[n+2]||""),ii[n+3].uncache=1)},Kg=function(e,n){var r;for(Hr=0;Hr<Rt.length;Hr++)r=Rt[Hr],r&&(!n||r._ctx===n)&&(e?r.kill(1):r.revert(!0,!0));kd=!0,n&&cT(n),n||Ta("revert")},fT=function(e,n){Pt.cache++,(n||!Nr)&&Pt.forEach(function(r){return Ar(r)&&r.cacheID++&&(r.rec=0)}),oi(e)&&(xt.history.scrollRestoration=jg=e)},Nr,pa=0,cy,xL=function(){if(cy!==pa){var e=cy=pa;requestAnimationFrame(function(){return e===pa&&ia(!0)})}},dT=function(){en.appendChild(cl),Wg=!$r&&cl.offsetHeight||xt.innerHeight,en.removeChild(cl)},fy=function(e){return cc(".gsap-marker-start, .gsap-marker-end, .gsap-marker-scroller-start, .gsap-marker-scroller-end").forEach(function(n){return n.style.display=e?"none":"block"})},ia=function(e,n){if(ai=pn.documentElement,en=pn.body,Ug=[xt,pn,ai,en],Mi&&!e&&!kd){ir(It,"scrollEnd",uT);return}dT(),Nr=It.isRefreshing=!0,Pt.forEach(function(i){return Ar(i)&&++i.cacheID&&(i.rec=i())});var r=Ta("refreshInit");JS&&It.sort(),n||Kg(),Pt.forEach(function(i){Ar(i)&&(i.smooth&&(i.target.style.scrollBehavior="auto"),i(0))}),Rt.slice(0).forEach(function(i){return i.refresh()}),kd=!1,Rt.forEach(function(i){if(i._subPinOffset&&i.pin){var o=i.vars.horizontal?"offsetWidth":"offsetHeight",s=i.pin[o];i.revert(!0,1),i.adjustPinSpacing(i.pin[o]-s),i.refresh()}}),bm=1,fy(!0),Rt.forEach(function(i){var o=mo(i.scroller,i._dir),s=i.vars.end==="max"||i._endClamp&&i.end>o,a=i._startClamp&&i.start>=o;(s||a)&&i.setPositions(a?o-1:i.start,s?Math.max(a?o:i.start+1,o):i.end,!0)}),fy(!1),bm=0,r.forEach(function(i){return i&&i.render&&i.render(-1)}),Pt.forEach(function(i){Ar(i)&&(i.smooth&&requestAnimationFrame(function(){return i.target.style.scrollBehavior="smooth"}),i.rec&&i(i.rec))}),fT(jg,1),Ed.pause(),pa++,Nr=2,Go(2),Rt.forEach(function(i){return Ar(i.vars.onRefresh)&&i.vars.onRefresh(i)}),Nr=It.isRefreshing=!1,Ta("refresh")},Sm=0,Wf=1,Uu,Go=function(e){if(e===2||!Nr&&!kd){It.isUpdating=!0,Uu&&Uu.update(0);var n=Rt.length,r=Sr(),i=r-op>=50,o=n&&Rt[0].scroll();if(Wf=Sm>o?-1:1,Nr||(Sm=o),i&&(Mi&&!sh&&r-Mi>200&&(Mi=0,Ta("scrollEnd")),pu=op,op=r),Wf<0){for(Hr=n;Hr-- >0;)Rt[Hr]&&Rt[Hr].update(0,i);Wf=1}else for(Hr=0;Hr<n;Hr++)Rt[Hr]&&Rt[Hr].update(0,i);It.isUpdating=!1}fc=0},Tm=[sT,aT,qg,zg,Ai+Vu,Ai+Hu,Ai+Bu,Ai+Nu,"display","flexShrink","float","zIndex","gridColumnStart","gridColumnEnd","gridRowStart","gridRowEnd","gridArea","justifySelf","alignSelf","placeSelf","order"],zf=Tm.concat([da,ha,"boxSizing","max"+Al,"max"+Gg,"position",Ai,Vn,Vn+Bu,Vn+Hu,Vn+Vu,Vn+Nu]),PL=function(e,n,r){fl(r);var i=e._gsap;if(i.spacerIsNative)fl(i.spacerState);else if(e._gsap.swappedIn){var o=n.parentNode;o&&(o.insertBefore(e,n),o.removeChild(n))}e._gsap.swappedIn=!1},lp=function(e,n,r,i){if(!e._gsap.swappedIn){for(var o=Tm.length,s=n.style,a=e.style,u;o--;)u=Tm[o],s[u]=r[u];s.position=r.position==="absolute"?"absolute":"relative",r.display==="inline"&&(s.display="inline-block"),a[qg]=a[zg]="auto",s.flexBasis=r.flexBasis||"auto",s.overflow="visible",s.boxSizing="border-box",s[da]=Ad(e,Ur)+Xn,s[ha]=Ad(e,Qn)+Xn,s[Vn]=a[Ai]=a[aT]=a[sT]="0",fl(i),a[da]=a["max"+Al]=r[da],a[ha]=a["max"+Gg]=r[ha],a[Vn]=r[Vn],e.parentNode!==n&&(e.parentNode.insertBefore(n,e),n.appendChild(e)),e._gsap.swappedIn=!0}},IL=/([A-Z])/g,fl=function(e){if(e){var n=e.t.style,r=e.length,i=0,o,s;for((e.t._gsap||Ze.core.getCache(e.t)).uncache=1;i<r;i+=2)s=e[i+1],o=e[i],s?n[o]=s:n[o]&&n.removeProperty(o.replace(IL,"-$1").toLowerCase())}},wf=function(e){for(var n=zf.length,r=e.style,i=[],o=0;o<n;o++)i.push(zf[o],r[zf[o]]);return i.t=e,i},LL=function(e,n,r){for(var i=[],o=e.length,s=r?8:0,a;s<o;s+=2)a=e[s],i.push(a,a in n?n[a]:e[s+1]);return i.t=e.t,i},qf={left:0,top:0},dy=function(e,n,r,i,o,s,a,u,c,h,l,d,f,_){Ar(e)&&(e=e(u)),oi(e)&&e.substr(0,3)==="max"&&(e=d+(e.charAt(4)==="="?Uf("0"+e.substr(3),r):0));var g=f?f.time():0,b,y,w;if(f&&f.seek(0),isNaN(e)||(e=+e),_u(e))f&&(e=Ze.utils.mapRange(f.scrollTrigger.start,f.scrollTrigger.end,0,d,e)),a&&jf(a,r,i,!0);else{Ar(n)&&(n=n(u));var A=(e||"0").split(" "),k,R,x,L;w=qr(n,u)||en,k=Bo(w)||{},(!k||!k.left&&!k.top)&&Ri(w).display==="none"&&(L=w.style.display,w.style.display="block",k=Bo(w),L?w.style.display=L:w.style.removeProperty("display")),R=Uf(A[0],k[i.d]),x=Uf(A[1]||"0",r),e=k[i.p]-c[i.p]-h+R+o-x,a&&jf(a,x,i,r-x<20||a._isStart&&x>20),r-=r-x}if(_&&(u[_]=e||-.001,e<0&&(e=0)),s){var F=e+r,H=s._isStart;b="scroll"+i.d2,jf(s,F,i,H&&F>20||!H&&(l?Math.max(en[b],ai[b]):s.parentNode[b])<=F+1),l&&(c=Bo(a),l&&(s.style[i.op.p]=c[i.op.p]-i.op.m-s._offset+Xn))}return f&&w&&(b=Bo(w),f.seek(d),y=Bo(w),f._caScrollDist=b[i.p]-y[i.p],e=e/f._caScrollDist*d),f&&f.seek(g),f?e:Math.round(e)},OL=/(webkit|moz|length|cssText|inset)/i,hy=function(e,n,r,i){if(e.parentNode!==n){var o=e.style,s,a;if(n===en){e._stOrig=o.cssText,a=Ri(e);for(s in a)!+s&&!OL.test(s)&&a[s]&&typeof o[s]=="string"&&s!=="0"&&(o[s]=a[s]);o.top=r,o.left=i}else o.cssText=e._stOrig;Ze.core.getCache(e).uncache=1,n.appendChild(e)}},hT=function(e,n,r){var i=n,o=i;return function(s){var a=Math.round(e());return a!==i&&a!==o&&Math.abs(a-i)>3&&Math.abs(a-o)>3&&(s=a,r&&r()),o=i,i=Math.round(s),i}},Sf=function(e,n,r){var i={};i[n.p]="+="+r,Ze.set(e,i)},py=function(e,n){var r=Os(e,n),i="_scroll"+n.p2,o=function s(a,u,c,h,l){var d=s.tween,f=u.onComplete,_={};c=c||r();var g=hT(r,c,function(){d.kill(),s.tween=0});return l=h&&l||0,h=h||a-c,d&&d.kill(),u[i]=a,u.inherit=!1,u.modifiers=_,_[i]=function(){return g(c+h*d.ratio+l*d.ratio*d.ratio)},u.onUpdate=function(){Pt.cache++,s.tween&&Go()},u.onComplete=function(){s.tween=0,f&&f.call(d)},d=s.tween=Ze.to(e,u),d};return e[i]=r,r.wheelHandler=function(){return o.tween&&o.tween.kill()&&(o.tween=0)},ir(e,"wheel",r.wheelHandler),It.isTouch&&ir(e,"touchmove",r.wheelHandler),o},It=function(){function t(n,r){Ga||t.register(Ze)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),ym(this),this.init(n,r)}var e=t.prototype;return e.init=function(r,i){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),!mu){this.update=this.refresh=this.kill=uo;return}r=ay(oi(r)||_u(r)||r.nodeType?{trigger:r}:r,yf);var o=r,s=o.onUpdate,a=o.toggleClass,u=o.id,c=o.onToggle,h=o.onRefresh,l=o.scrub,d=o.trigger,f=o.pin,_=o.pinSpacing,g=o.invalidateOnRefresh,b=o.anticipatePin,y=o.onScrubComplete,w=o.onSnapComplete,A=o.once,k=o.snap,R=o.pinReparent,x=o.pinSpacer,L=o.containerAnimation,F=o.fastScrollEnd,H=o.preventOverlaps,V=r.horizontal||r.containerAnimation&&r.horizontal!==!1?Ur:Qn,ne=!l&&l!==0,$=qr(r.scroller||xt),M=Ze.core.getCache($),z=wa($),K=("pinType"in r?r.pinType:Cs($,"pinType")||z&&"fixed")==="fixed",B=[r.onEnter,r.onLeave,r.onEnterBack,r.onLeaveBack],W=ne&&r.toggleActions.split(" "),oe="markers"in r?r.markers:yf.markers,se=z?0:parseFloat(Ri($)["border"+V.p2+Al])||0,q=this,pe=r.onRefreshInit&&function(){return r.onRefreshInit(q)},Te=TL($,z,V),_e=EL($,z),ye=0,Ae=0,be=0,ie=Os($,V),le,he,Se,Ie,j,P,Y,ee,X,C,G,I,D,Z,fe,ue,S,m,T,N,re,ce,Ee,De,Pe,Be,Qe,tt,pt,mt,rn,nt,Ut,kt,dt,jt,xn,Pn,Ke;if(q._startClamp=q._endClamp=!1,q._dir=V,b*=45,q.scroller=$,q.scroll=L?L.time.bind(L):ie,Ie=ie(),q.vars=r,i=i||r.animation,"refreshPriority"in r&&(JS=1,r.refreshPriority===-9999&&(Uu=q)),M.tweenScroll=M.tweenScroll||{top:py($,Qn),left:py($,Ur)},q.tweenTo=le=M.tweenScroll[V.p],q.scrubDuration=function(ze){Ut=_u(ze)&&ze,Ut?nt?nt.duration(ze):nt=Ze.to(i,{ease:"expo",totalProgress:"+=0",inherit:!1,duration:Ut,paused:!0,onComplete:function(){return y&&y(q)}}):(nt&&nt.progress(1).kill(),nt=0)},i&&(i.vars.lazy=!1,i._initted&&!q.isReverted||i.vars.immediateRender!==!1&&r.immediateRender!==!1&&i.duration()&&i.render(0,!0,!0),q.animation=i.pause(),i.scrollTrigger=q,q.scrubDuration(l),mt=0,u||(u=i.vars.id)),k&&((!Js(k)||k.push)&&(k={snapTo:k}),"scrollBehavior"in en.style&&Ze.set(z?[en,ai]:$,{scrollBehavior:"auto"}),Pt.forEach(function(ze){return Ar(ze)&&ze.target===(z?pn.scrollingElement||ai:$)&&(ze.smooth=!1)}),Se=Ar(k.snapTo)?k.snapTo:k.snapTo==="labels"?AL(i):k.snapTo==="labelsDirectional"?RL(i):k.directional!==!1?function(ze,ct){return Yg(k.snapTo)(ze,Sr()-Ae<500?0:ct.direction)}:Ze.utils.snap(k.snapTo),kt=k.duration||{min:.1,max:2},kt=Js(kt)?$u(kt.min,kt.max):$u(kt,kt),dt=Ze.delayedCall(k.delay||Ut/2||.1,function(){var ze=ie(),ct=Sr()-Ae<500,it=le.tween;if((ct||Math.abs(q.getVelocity())<10)&&!it&&!sh&&ye!==ze){var Oe=(ze-P)/Z,In=i&&!ne?i.totalProgress():Oe,vt=ct?0:(In-rn)/(Sr()-pu)*1e3||0,yn=Ze.utils.clamp(-Oe,1-Oe,Ua(vt/2)*vt/.185),Gn=Oe+(k.inertia===!1?0:yn),an,ln,Xt=k,gr=Xt.onStart,hn=Xt.onInterrupt,Pr=Xt.onComplete;if(an=Se(Gn,q),_u(an)||(an=Gn),ln=Math.max(0,Math.round(P+an*Z)),ze<=Y&&ze>=P&&ln!==ze){if(it&&!it._initted&&it.data<=Ua(ln-ze))return;k.inertia===!1&&(yn=an-Oe),le(ln,{duration:kt(Ua(Math.max(Ua(Gn-In),Ua(an-In))*.185/vt/.05||0)),ease:k.ease||"power3",data:Ua(ln-ze),onInterrupt:function(){return dt.restart(!0)&&hn&&hn(q)},onComplete:function(){q.update(),ye=ie(),i&&!ne&&(nt?nt.resetTo("totalProgress",an,i._tTime/i._tDur):i.progress(an)),mt=rn=i&&!ne?i.totalProgress():q.progress,w&&w(q),Pr&&Pr(q)}},ze,yn*Z,ln-ze-yn*Z),gr&&gr(q,le.tween)}}else q.isActive&&ye!==ze&&dt.restart(!0)}).pause()),u&&(wm[u]=q),d=q.trigger=qr(d||f!==!0&&f),Ke=d&&d._gsap&&d._gsap.stRevert,Ke&&(Ke=Ke(q)),f=f===!0?d:qr(f),oi(a)&&(a={targets:d,className:a}),f&&(_===!1||_===Ai||(_=!_&&f.parentNode&&f.parentNode.style&&Ri(f.parentNode).display==="flex"?!1:Vn),q.pin=f,he=Ze.core.getCache(f),he.spacer?fe=he.pinState:(x&&(x=qr(x),x&&!x.nodeType&&(x=x.current||x.nativeElement),he.spacerIsNative=!!x,x&&(he.spacerState=wf(x))),he.spacer=m=x||pn.createElement("div"),m.classList.add("pin-spacer"),u&&m.classList.add("pin-spacer-"+u),he.pinState=fe=wf(f)),r.force3D!==!1&&Ze.set(f,{force3D:!0}),q.spacer=m=he.spacer,pt=Ri(f),De=pt[_+V.os2],N=Ze.getProperty(f),re=Ze.quickSetter(f,V.a,Xn),lp(f,m,pt),S=wf(f)),oe){I=Js(oe)?ay(oe,ly):ly,C=bf("scroller-start",u,$,V,I,0),G=bf("scroller-end",u,$,V,I,0,C),T=C["offset"+V.op.d2];var ht=qr(Cs($,"content")||$);ee=this.markerStart=bf("start",u,ht,V,I,T,0,L),X=this.markerEnd=bf("end",u,ht,V,I,T,0,L),L&&(Pn=Ze.quickSetter([ee,X],V.a,Xn)),!K&&!(bo.length&&Cs($,"fixedMarkers")===!0)&&(kL(z?en:$),Ze.set([C,G],{force3D:!0}),Be=Ze.quickSetter(C,V.a,Xn),tt=Ze.quickSetter(G,V.a,Xn))}if(L){var rt=L.vars.onUpdate,ot=L.vars.onUpdateParams;L.eventCallback("onUpdate",function(){q.update(0,0,1),rt&&rt.apply(L,ot||[])})}if(q.previous=function(){return Rt[Rt.indexOf(q)-1]},q.next=function(){return Rt[Rt.indexOf(q)+1]},q.revert=function(ze,ct){if(!ct)return q.kill(!0);var it=ze!==!1||!q.enabled,Oe=br;it!==q.isReverted&&(it&&(jt=Math.max(ie(),q.scroll.rec||0),be=q.progress,xn=i&&i.progress()),ee&&[ee,X,C,G].forEach(function(In){return In.style.display=it?"none":"block"}),it&&(br=q,q.update(it)),f&&(!R||!q.isActive)&&(it?PL(f,m,fe):lp(f,m,Ri(f),Pe)),it||q.update(it),br=Oe,q.isReverted=it)},q.refresh=function(ze,ct,it,Oe){if(!((br||!q.enabled)&&!ct)){if(f&&ze&&Mi){ir(t,"scrollEnd",uT);return}!Nr&&pe&&pe(q),br=q,le.tween&&!it&&(le.tween.kill(),le.tween=0),nt&&nt.pause(),g&&i&&(i.revert({kill:!1}).invalidate(),i.getChildren&&i.getChildren(!0,!0,!1).forEach(function(vr){return vr.vars.immediateRender&&vr.render(0,!0,!0)})),q.isReverted||q.revert(!0,!0),q._subPinOffset=!1;var In=Te(),vt=_e(),yn=L?L.duration():mo($,V),Gn=Z<=.01||!Z,an=0,ln=Oe||0,Xt=Js(it)?it.end:r.end,gr=r.endTrigger||d,hn=Js(it)?it.start:r.start||(r.start===0||!d?0:f?"0 0":"0 100%"),Pr=q.pinnedContainer=r.pinnedContainer&&qr(r.pinnedContainer,q),Yn=d&&Math.max(0,Rt.indexOf(q))||0,Hn=Yn,Kn,Nn,eo,_r,Fn,Sn,yi,ts,Bl,ns,ni,Hi,rs;for(oe&&Js(it)&&(Hi=Ze.getProperty(C,V.p),rs=Ze.getProperty(G,V.p));Hn-- >0;)Sn=Rt[Hn],Sn.end||Sn.refresh(0,1)||(br=q),yi=Sn.pin,yi&&(yi===d||yi===f||yi===Pr)&&!Sn.isReverted&&(ns||(ns=[]),ns.unshift(Sn),Sn.revert(!0,!0)),Sn!==Rt[Hn]&&(Yn--,Hn--);for(Ar(hn)&&(hn=hn(q)),hn=ry(hn,"start",q),P=dy(hn,d,In,V,ie(),ee,C,q,vt,se,K,yn,L,q._startClamp&&"_startClamp")||(f?-.001:0),Ar(Xt)&&(Xt=Xt(q)),oi(Xt)&&!Xt.indexOf("+=")&&(~Xt.indexOf(" ")?Xt=(oi(hn)?hn.split(" ")[0]:"")+Xt:(an=Uf(Xt.substr(2),In),Xt=oi(hn)?hn:(L?Ze.utils.mapRange(0,L.duration(),L.scrollTrigger.start,L.scrollTrigger.end,P):P)+an,gr=d)),Xt=ry(Xt,"end",q),Y=Math.max(P,dy(Xt||(gr?"100% 0":yn),gr,In,V,ie()+an,X,G,q,vt,se,K,yn,L,q._endClamp&&"_endClamp"))||-.001,an=0,Hn=Yn;Hn--;)Sn=Rt[Hn],yi=Sn.pin,yi&&Sn.start-Sn._pinPush<=P&&!L&&Sn.end>0&&(Kn=Sn.end-(q._startClamp?Math.max(0,Sn.start):Sn.start),(yi===d&&Sn.start-Sn._pinPush<P||yi===Pr)&&isNaN(hn)&&(an+=Kn*(1-Sn.progress)),yi===f&&(ln+=Kn));if(P+=an,Y+=an,q._startClamp&&(q._startClamp+=an),q._endClamp&&!Nr&&(q._endClamp=Y||-.001,Y=Math.min(Y,mo($,V))),Z=Y-P||(P-=.01)&&.001,Gn&&(be=Ze.utils.clamp(0,1,Ze.utils.normalize(P,Y,jt))),q._pinPush=ln,ee&&an&&(Kn={},Kn[V.a]="+="+an,Pr&&(Kn[V.p]="-="+ie()),Ze.set([ee,X],Kn)),f&&!(bm&&q.end>=mo($,V)))Kn=Ri(f),_r=V===Qn,eo=ie(),ce=parseFloat(N(V.a))+ln,!yn&&Y>1&&(ni=(z?pn.scrollingElement||ai:$).style,ni={style:ni,value:ni["overflow"+V.a.toUpperCase()]},z&&Ri(en)["overflow"+V.a.toUpperCase()]!=="scroll"&&(ni.style["overflow"+V.a.toUpperCase()]="scroll")),lp(f,m,Kn),S=wf(f),Nn=Bo(f,!0),ts=K&&Os($,_r?Ur:Qn)(),_?(Pe=[_+V.os2,Z+ln+Xn],Pe.t=m,Hn=_===Vn?Ad(f,V)+Z+ln:0,Hn&&(Pe.push(V.d,Hn+Xn),m.style.flexBasis!=="auto"&&(m.style.flexBasis=Hn+Xn)),fl(Pe),Pr&&Rt.forEach(function(vr){vr.pin===Pr&&vr.vars.pinSpacing!==!1&&(vr._subPinOffset=!0)}),K&&ie(jt)):(Hn=Ad(f,V),Hn&&m.style.flexBasis!=="auto"&&(m.style.flexBasis=Hn+Xn)),K&&(Fn={top:Nn.top+(_r?eo-P:ts)+Xn,left:Nn.left+(_r?ts:eo-P)+Xn,boxSizing:"border-box",position:"fixed"},Fn[da]=Fn["max"+Al]=Math.ceil(Nn.width)+Xn,Fn[ha]=Fn["max"+Gg]=Math.ceil(Nn.height)+Xn,Fn[Ai]=Fn[Ai+Bu]=Fn[Ai+Hu]=Fn[Ai+Vu]=Fn[Ai+Nu]="0",Fn[Vn]=Kn[Vn],Fn[Vn+Bu]=Kn[Vn+Bu],Fn[Vn+Hu]=Kn[Vn+Hu],Fn[Vn+Vu]=Kn[Vn+Vu],Fn[Vn+Nu]=Kn[Vn+Nu],ue=LL(fe,Fn,R),Nr&&ie(0)),i?(Bl=i._initted,rp(1),i.render(i.duration(),!0,!0),Ee=N(V.a)-ce+Z+ln,Qe=Math.abs(Z-Ee)>1,K&&Qe&&ue.splice(ue.length-2,2),i.render(0,!0,!0),Bl||i.invalidate(!0),i.parent||i.totalTime(i.totalTime()),rp(0)):Ee=Z,ni&&(ni.value?ni.style["overflow"+V.a.toUpperCase()]=ni.value:ni.style.removeProperty("overflow-"+V.a));else if(d&&ie()&&!L)for(Nn=d.parentNode;Nn&&Nn!==en;)Nn._pinOffset&&(P-=Nn._pinOffset,Y-=Nn._pinOffset),Nn=Nn.parentNode;ns&&ns.forEach(function(vr){return vr.revert(!1,!0)}),q.start=P,q.end=Y,Ie=j=Nr?jt:ie(),!L&&!Nr&&(Ie<jt&&ie(jt),q.scroll.rec=0),q.revert(!1,!0),Ae=Sr(),dt&&(ye=-1,dt.restart(!0)),br=0,i&&ne&&(i._initted||xn)&&i.progress()!==xn&&i.progress(xn||0,!0).render(i.time(),!0,!0),(Gn||be!==q.progress||L||g||i&&!i._initted)&&(i&&!ne&&(i._initted||be||i.vars.immediateRender!==!1)&&i.totalProgress(L&&P<-.001&&!be?Ze.utils.normalize(P,Y,0):be,!0),q.progress=Gn||(Ie-P)/Z===be?0:be),f&&_&&(m._pinOffset=Math.round(q.progress*Ee)),nt&&nt.invalidate(),isNaN(Hi)||(Hi-=Ze.getProperty(C,V.p),rs-=Ze.getProperty(G,V.p),Sf(C,V,Hi),Sf(ee,V,Hi-(Oe||0)),Sf(G,V,rs),Sf(X,V,rs-(Oe||0))),Gn&&!Nr&&q.update(),h&&!Nr&&!D&&(D=!0,h(q),D=!1)}},q.getVelocity=function(){return(ie()-j)/(Sr()-pu)*1e3||0},q.endAnimation=function(){ou(q.callbackAnimation),i&&(nt?nt.progress(1):i.paused()?ne||ou(i,q.direction<0,1):ou(i,i.reversed()))},q.labelToScroll=function(ze){return i&&i.labels&&(P||q.refresh()||P)+i.labels[ze]/i.duration()*Z||0},q.getTrailing=function(ze){var ct=Rt.indexOf(q),it=q.direction>0?Rt.slice(0,ct).reverse():Rt.slice(ct+1);return(oi(ze)?it.filter(function(Oe){return Oe.vars.preventOverlaps===ze}):it).filter(function(Oe){return q.direction>0?Oe.end<=P:Oe.start>=Y})},q.update=function(ze,ct,it){if(!(L&&!it&&!ze)){var Oe=Nr===!0?jt:q.scroll(),In=ze?0:(Oe-P)/Z,vt=In<0?0:In>1?1:In||0,yn=q.progress,Gn,an,ln,Xt,gr,hn,Pr,Yn;if(ct&&(j=Ie,Ie=L?ie():Oe,k&&(rn=mt,mt=i&&!ne?i.totalProgress():vt)),b&&f&&!br&&!mf&&Mi&&(!vt&&P<Oe+(Oe-j)/(Sr()-pu)*b?vt=1e-4:vt===1&&Y>Oe+(Oe-j)/(Sr()-pu)*b&&(vt=.9999)),vt!==yn&&q.enabled){if(Gn=q.isActive=!!vt&&vt<1,an=!!yn&&yn<1,hn=Gn!==an,gr=hn||!!vt!=!!yn,q.direction=vt>yn?1:-1,q.progress=vt,gr&&!br&&(ln=vt&&!yn?0:vt===1?1:yn===1?2:3,ne&&(Xt=!hn&&W[ln+1]!=="none"&&W[ln+1]||W[ln],Yn=i&&(Xt==="complete"||Xt==="reset"||Xt in i))),H&&(hn||Yn)&&(Yn||l||!i)&&(Ar(H)?H(q):q.getTrailing(H).forEach(function(eo){return eo.endAnimation()})),ne||(nt&&!br&&!mf?(nt._dp._time-nt._start!==nt._time&&nt.render(nt._dp._time-nt._start),nt.resetTo?nt.resetTo("totalProgress",vt,i._tTime/i._tDur):(nt.vars.totalProgress=vt,nt.invalidate().restart())):i&&i.totalProgress(vt,!!(br&&(Ae||ze)))),f){if(ze&&_&&(m.style[_+V.os2]=De),!K)re(gu(ce+Ee*vt));else if(gr){if(Pr=!ze&&vt>yn&&Y+1>Oe&&Oe+1>=mo($,V),R)if(!ze&&(Gn||Pr)){var Hn=Bo(f,!0),Kn=Oe-P;hy(f,en,Hn.top+(V===Qn?Kn:0)+Xn,Hn.left+(V===Qn?0:Kn)+Xn)}else hy(f,m);fl(Gn||Pr?ue:S),Qe&&vt<1&&Gn||re(ce+(vt===1&&!Pr?Ee:0))}}k&&!le.tween&&!br&&!mf&&dt.restart(!0),a&&(hn||A&&vt&&(vt<1||!ip))&&cc(a.targets).forEach(function(eo){return eo.classList[Gn||A?"add":"remove"](a.className)}),s&&!ne&&!ze&&s(q),gr&&!br?(ne&&(Yn&&(Xt==="complete"?i.pause().totalProgress(1):Xt==="reset"?i.restart(!0).pause():Xt==="restart"?i.restart(!0):i[Xt]()),s&&s(q)),(hn||!ip)&&(c&&hn&&sp(q,c),B[ln]&&sp(q,B[ln]),A&&(vt===1?q.kill(!1,1):B[ln]=0),hn||(ln=vt===1?1:3,B[ln]&&sp(q,B[ln]))),F&&!Gn&&Math.abs(q.getVelocity())>(_u(F)?F:2500)&&(ou(q.callbackAnimation),nt?nt.progress(1):ou(i,Xt==="reverse"?1:!vt,1))):ne&&s&&!br&&s(q)}if(tt){var Nn=L?Oe/L.duration()*(L._caScrollDist||0):Oe;Be(Nn+(C._isFlipped?1:0)),tt(Nn)}Pn&&Pn(-Oe/L.duration()*(L._caScrollDist||0))}},q.enable=function(ze,ct){q.enabled||(q.enabled=!0,ir($,"resize",vu),z||ir($,"scroll",ja),pe&&ir(t,"refreshInit",pe),ze!==!1&&(q.progress=be=0,Ie=j=ye=ie()),ct!==!1&&q.refresh())},q.getTween=function(ze){return ze&&le?le.tween:nt},q.setPositions=function(ze,ct,it,Oe){if(L){var In=L.scrollTrigger,vt=L.duration(),yn=In.end-In.start;ze=In.start+yn*ze/vt,ct=In.start+yn*ct/vt}q.refresh(!1,!1,{start:iy(ze,it&&!!q._startClamp),end:iy(ct,it&&!!q._endClamp)},Oe),q.update()},q.adjustPinSpacing=function(ze){if(Pe&&ze){var ct=Pe.indexOf(V.d)+1;Pe[ct]=parseFloat(Pe[ct])+ze+Xn,Pe[1]=parseFloat(Pe[1])+ze+Xn,fl(Pe)}},q.disable=function(ze,ct){if(q.enabled&&(ze!==!1&&q.revert(!0,!0),q.enabled=q.isActive=!1,ct||nt&&nt.pause(),jt=0,he&&(he.uncache=1),pe&&rr(t,"refreshInit",pe),dt&&(dt.pause(),le.tween&&le.tween.kill()&&(le.tween=0)),!z)){for(var it=Rt.length;it--;)if(Rt[it].scroller===$&&Rt[it]!==q)return;rr($,"resize",vu),z||rr($,"scroll",ja)}},q.kill=function(ze,ct){q.disable(ze,ct),nt&&!ct&&nt.kill(),u&&delete wm[u];var it=Rt.indexOf(q);it>=0&&Rt.splice(it,1),it===Hr&&Wf>0&&Hr--,it=0,Rt.forEach(function(Oe){return Oe.scroller===q.scroller&&(it=1)}),it||Nr||(q.scroll.rec=0),i&&(i.scrollTrigger=null,ze&&i.revert({kill:!1}),ct||i.kill()),ee&&[ee,X,C,G].forEach(function(Oe){return Oe.parentNode&&Oe.parentNode.removeChild(Oe)}),Uu===q&&(Uu=0),f&&(he&&(he.uncache=1),it=0,Rt.forEach(function(Oe){return Oe.pin===f&&it++}),it||(he.spacer=0)),r.onKill&&r.onKill(q)},Rt.push(q),q.enable(!1,!1),Ke&&Ke(q),i&&i.add&&!Z){var Ot=q.update;q.update=function(){q.update=Ot,Pt.cache++,P||Y||q.refresh()},Ze.delayedCall(.01,q.update),Z=.01,P=Y=0}else q.refresh();f&&xL()},t.register=function(r){return Ga||(Ze=r||rT(),nT()&&window.document&&t.enable(),Ga=mu),Ga},t.defaults=function(r){if(r)for(var i in r)yf[i]=r[i];return yf},t.disable=function(r,i){mu=0,Rt.forEach(function(s){return s[i?"kill":"disable"](r)}),rr(xt,"wheel",ja),rr(pn,"scroll",ja),clearInterval(pf),rr(pn,"touchcancel",uo),rr(en,"touchstart",uo),_f(rr,pn,"pointerdown,touchstart,mousedown",oy),_f(rr,pn,"pointerup,touchend,mouseup",sy),Ed.kill(),gf(rr);for(var o=0;o<Pt.length;o+=3)vf(rr,Pt[o],Pt[o+1]),vf(rr,Pt[o],Pt[o+2])},t.enable=function(){if(xt=window,pn=document,ai=pn.documentElement,en=pn.body,Ze&&(cc=Ze.utils.toArray,$u=Ze.utils.clamp,ym=Ze.core.context||uo,rp=Ze.core.suppressOverwrites||uo,jg=xt.history.scrollRestoration||"auto",Sm=xt.pageYOffset||0,Ze.core.globals("ScrollTrigger",t),en)){mu=1,cl=document.createElement("div"),cl.style.height="100vh",cl.style.position="absolute",dT(),SL(),$n.register(Ze),t.isTouch=$n.isTouch,ds=$n.isTouch&&/(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent),vm=$n.isTouch===1,ir(xt,"wheel",ja),Ug=[xt,pn,ai,en],Ze.matchMedia?(t.matchMedia=function(c){var h=Ze.matchMedia(),l;for(l in c)h.add(l,c[l]);return h},Ze.addEventListener("matchMediaInit",function(){return Kg()}),Ze.addEventListener("matchMediaRevert",function(){return cT()}),Ze.addEventListener("matchMedia",function(){ia(0,1),Ta("matchMedia")}),Ze.matchMedia().add("(orientation: portrait)",function(){return ap(),ap})):console.warn("Requires GSAP 3.11.0 or later"),ap(),ir(pn,"scroll",ja);var r=en.hasAttribute("style"),i=en.style,o=i.borderTopStyle,s=Ze.core.Animation.prototype,a,u;for(s.revert||Object.defineProperty(s,"revert",{value:function(){return this.time(-.01,!0)}}),i.borderTopStyle="solid",a=Bo(en),Qn.m=Math.round(a.top+Qn.sc())||0,Ur.m=Math.round(a.left+Ur.sc())||0,o?i.borderTopStyle=o:i.removeProperty("border-top-style"),r||(en.setAttribute("style",""),en.removeAttribute("style")),pf=setInterval(uy,250),Ze.delayedCall(.5,function(){return mf=0}),ir(pn,"touchcancel",uo),ir(en,"touchstart",uo),_f(ir,pn,"pointerdown,touchstart,mousedown",oy),_f(ir,pn,"pointerup,touchend,mouseup",sy),_m=Ze.utils.checkPrefix("transform"),zf.push(_m),Ga=Sr(),Ed=Ze.delayedCall(.2,ia).pause(),Ya=[pn,"visibilitychange",function(){var c=xt.innerWidth,h=xt.innerHeight;pn.hidden?(ty=c,ny=h):(ty!==c||ny!==h)&&vu()},pn,"DOMContentLoaded",ia,xt,"load",ia,xt,"resize",vu],gf(ir),Rt.forEach(function(c){return c.enable(0,1)}),u=0;u<Pt.length;u+=3)vf(rr,Pt[u],Pt[u+1]),vf(rr,Pt[u],Pt[u+2])}},t.config=function(r){"limitCallbacks"in r&&(ip=!!r.limitCallbacks);var i=r.syncInterval;i&&clearInterval(pf)||(pf=i)&&setInterval(uy,i),"ignoreMobileResize"in r&&(vm=t.isTouch===1&&r.ignoreMobileResize),"autoRefreshEvents"in r&&(gf(rr)||gf(ir,r.autoRefreshEvents||"none"),ZS=(r.autoRefreshEvents+"").indexOf("resize")===-1)},t.scrollerProxy=function(r,i){var o=qr(r),s=Pt.indexOf(o),a=wa(o);~s&&Pt.splice(s,a?6:2),i&&(a?bo.unshift(xt,i,en,i,ai,i):bo.unshift(o,i))},t.clearMatchMedia=function(r){Rt.forEach(function(i){return i._ctx&&i._ctx.query===r&&i._ctx.kill(!0,!0)})},t.isInViewport=function(r,i,o){var s=(oi(r)?qr(r):r).getBoundingClientRect(),a=s[o?da:ha]*i||0;return o?s.right-a>0&&s.left+a<xt.innerWidth:s.bottom-a>0&&s.top+a<xt.innerHeight},t.positionInViewport=function(r,i,o){oi(r)&&(r=qr(r));var s=r.getBoundingClientRect(),a=s[o?da:ha],u=i==null?a/2:i in Rd?Rd[i]*a:~i.indexOf("%")?parseFloat(i)*a/100:parseFloat(i)||0;return o?(s.left+u)/xt.innerWidth:(s.top+u)/xt.innerHeight},t.killAll=function(r){if(Rt.slice(0).forEach(function(o){return o.vars.id!=="ScrollSmoother"&&o.kill()}),r!==!0){var i=Sa.killAll||[];Sa={},i.forEach(function(o){return o()})}},t}();It.version="3.13.0";It.saveStyles=function(t){return t?cc(t).forEach(function(e){if(e&&e.style){var n=ii.indexOf(e);n>=0&&ii.splice(n,5),ii.push(e,e.style.cssText,e.getBBox&&e.getAttribute("transform"),Ze.core.getCache(e),ym())}}):ii};It.revert=function(t,e){return Kg(!t,e)};It.create=function(t,e){return new It(t,e)};It.refresh=function(t){return t?vu(!0):(Ga||It.register())&&ia(!0)};It.update=function(t){return++Pt.cache&&Go(t===!0?2:0)};It.clearScrollMemory=fT;It.maxScroll=function(t,e){return mo(t,e?Ur:Qn)};It.getScrollFunc=function(t,e){return Os(qr(t),e?Ur:Qn)};It.getById=function(t){return wm[t]};It.getAll=function(){return Rt.filter(function(t){return t.vars.id!=="ScrollSmoother"})};It.isScrolling=function(){return!!Mi};It.snapDirectional=Yg;It.addEventListener=function(t,e){var n=Sa[t]||(Sa[t]=[]);~n.indexOf(e)||n.push(e)};It.removeEventListener=function(t,e){var n=Sa[t],r=n&&n.indexOf(e);r>=0&&n.splice(r,1)};It.batch=function(t,e){var n=[],r={},i=e.interval||.016,o=e.batchMax||1e9,s=function(c,h){var l=[],d=[],f=Ze.delayedCall(i,function(){h(l,d),l=[],d=[]}).pause();return function(_){l.length||f.restart(!0),l.push(_.trigger),d.push(_),o<=l.length&&f.progress(1)}},a;for(a in e)r[a]=a.substr(0,2)==="on"&&Ar(e[a])&&a!=="onRefreshInit"?s(a,e[a]):e[a];return Ar(o)&&(o=o(),ir(It,"refresh",function(){return o=e.batchMax()})),cc(t).forEach(function(u){var c={};for(a in r)c[a]=r[a];c.trigger=u,n.push(It.create(c))}),n};var my=function(e,n,r,i){return n>i?e(i):n<0&&e(0),r>i?(i-n)/(r-n):r<0?n/(n-r):1},up=function t(e,n){n===!0?e.style.removeProperty("touch-action"):e.style.touchAction=n===!0?"auto":n?"pan-"+n+($n.isTouch?" pinch-zoom":""):"none",e===ai&&t(en,n)},Tf={auto:1,scroll:1},ML=function(e){var n=e.event,r=e.target,i=e.axis,o=(n.changedTouches?n.changedTouches[0]:n).target,s=o._gsap||Ze.core.getCache(o),a=Sr(),u;if(!s._isScrollT||a-s._isScrollT>2e3){for(;o&&o!==en&&(o.scrollHeight<=o.clientHeight&&o.scrollWidth<=o.clientWidth||!(Tf[(u=Ri(o)).overflowY]||Tf[u.overflowX]));)o=o.parentNode;s._isScroll=o&&o!==r&&!wa(o)&&(Tf[(u=Ri(o)).overflowY]||Tf[u.overflowX]),s._isScrollT=a}(s._isScroll||i==="x")&&(n.stopPropagation(),n._gsapAllow=!0)},pT=function(e,n,r,i){return $n.create({target:e,capture:!0,debounce:!1,lockAxis:!0,type:n,onWheel:i=i&&ML,onPress:i,onDrag:i,onScroll:i,onEnable:function(){return r&&ir(pn,$n.eventTypes[0],_y,!1,!0)},onDisable:function(){return rr(pn,$n.eventTypes[0],_y,!0)}})},FL=/(input|label|select|textarea)/i,gy,_y=function(e){var n=FL.test(e.target.tagName);(n||gy)&&(e._gsapAllow=!0,gy=n)},DL=function(e){Js(e)||(e={}),e.preventDefault=e.isNormalizer=e.allowClicks=!0,e.type||(e.type="wheel,touch"),e.debounce=!!e.debounce,e.id=e.id||"normalizer";var n=e,r=n.normalizeScrollX,i=n.momentum,o=n.allowNestedScroll,s=n.onRelease,a,u,c=qr(e.target)||ai,h=Ze.core.globals().ScrollSmoother,l=h&&h.get(),d=ds&&(e.content&&qr(e.content)||l&&e.content!==!1&&!l.smooth()&&l.content()),f=Os(c,Qn),_=Os(c,Ur),g=1,b=($n.isTouch&&xt.visualViewport?xt.visualViewport.scale*xt.visualViewport.width:xt.outerWidth)/xt.innerWidth,y=0,w=Ar(i)?function(){return i(a)}:function(){return i||2.8},A,k,R=pT(c,e.type,!0,o),x=function(){return k=!1},L=uo,F=uo,H=function(){u=mo(c,Qn),F=$u(ds?1:0,u),r&&(L=$u(0,mo(c,Ur))),A=pa},V=function(){d._gsap.y=gu(parseFloat(d._gsap.y)+f.offset)+"px",d.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(d._gsap.y)+", 0, 1)",f.offset=f.cacheID=0},ne=function(){if(k){requestAnimationFrame(x);var oe=gu(a.deltaY/2),se=F(f.v-oe);if(d&&se!==f.v+f.offset){f.offset=se-f.v;var q=gu((parseFloat(d&&d._gsap.y)||0)-f.offset);d.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+q+", 0, 1)",d._gsap.y=q+"px",f.cacheID=Pt.cache,Go()}return!0}f.offset&&V(),k=!0},$,M,z,K,B=function(){H(),$.isActive()&&$.vars.scrollY>u&&(f()>u?$.progress(1)&&f(u):$.resetTo("scrollY",u))};return d&&Ze.set(d,{y:"+=0"}),e.ignoreCheck=function(W){return ds&&W.type==="touchmove"&&ne()||g>1.05&&W.type!=="touchstart"||a.isGesturing||W.touches&&W.touches.length>1},e.onPress=function(){k=!1;var W=g;g=gu((xt.visualViewport&&xt.visualViewport.scale||1)/b),$.pause(),W!==g&&up(c,g>1.01?!0:r?!1:"x"),M=_(),z=f(),H(),A=pa},e.onRelease=e.onGestureStart=function(W,oe){if(f.offset&&V(),!oe)K.restart(!0);else{Pt.cache++;var se=w(),q,pe;r&&(q=_(),pe=q+se*.05*-W.velocityX/.227,se*=my(_,q,pe,mo(c,Ur)),$.vars.scrollX=L(pe)),q=f(),pe=q+se*.05*-W.velocityY/.227,se*=my(f,q,pe,mo(c,Qn)),$.vars.scrollY=F(pe),$.invalidate().duration(se).play(.01),(ds&&$.vars.scrollY>=u||q>=u-1)&&Ze.to({},{onUpdate:B,duration:se})}s&&s(W)},e.onWheel=function(){$._ts&&$.pause(),Sr()-y>1e3&&(A=0,y=Sr())},e.onChange=function(W,oe,se,q,pe){if(pa!==A&&H(),oe&&r&&_(L(q[2]===oe?M+(W.startX-W.x):_()+oe-q[1])),se){f.offset&&V();var Te=pe[2]===se,_e=Te?z+W.startY-W.y:f()+se-pe[1],ye=F(_e);Te&&_e!==ye&&(z+=ye-_e),f(ye)}(se||oe)&&Go()},e.onEnable=function(){up(c,r?!1:"x"),It.addEventListener("refresh",B),ir(xt,"resize",B),f.smooth&&(f.target.style.scrollBehavior="auto",f.smooth=_.smooth=!1),R.enable()},e.onDisable=function(){up(c,!0),rr(xt,"resize",B),It.removeEventListener("refresh",B),R.kill()},e.lockAxis=e.lockAxis!==!1,a=new $n(e),a.iOS=ds,ds&&!f()&&f(1),ds&&Ze.ticker.add(uo),K=a._dc,$=Ze.to(a,{ease:"power4",paused:!0,inherit:!1,scrollX:r?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:hT(f,f(),function(){return $.pause()})},onUpdate:Go,onComplete:K.vars.onComplete}),a};It.sort=function(t){if(Ar(t))return Rt.sort(t);var e=xt.pageYOffset||0;return It.getAll().forEach(function(n){return n._sortY=n.trigger?e+n.trigger.getBoundingClientRect().top:n.start+xt.innerHeight}),Rt.sort(t||function(n,r){return(n.vars.refreshPriority||0)*-1e6+(n.vars.containerAnimation?1e6:n._sortY)-((r.vars.containerAnimation?1e6:r._sortY)+(r.vars.refreshPriority||0)*-1e6)})};It.observe=function(t){return new $n(t)};It.normalizeScroll=function(t){if(typeof t>"u")return $r;if(t===!0&&$r)return $r.enable();if(t===!1){$r&&$r.kill(),$r=t;return}var e=t instanceof $n?t:DL(t);return $r&&$r.target===e.target&&$r.kill(),wa(e.target)&&($r=e),e};It.core={_getVelocityProp:gm,_inputObserver:pT,_scrollers:Pt,_proxies:bo,bridge:{ss:function(){Mi||Ta("scrollStart"),Mi=Sr()},ref:function(){return br}}};rT()&&Ze.registerPlugin(It);function $L(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)}}function HL(t,e,n){return e&&$L(t.prototype,e),t}/*!
* ScrollSmoother 3.13.0
* https://gsap.com
*
* @license Copyright 2008-2025, GreenSock. All rights reserved.
* Subject to the terms at https://gsap.com/standard-license
* @author: Jack Doyle, jack@greensock.com
*/var Jt,Ef,Mr,_s,yu,Lo,Zs,vy,Et,fo,kf,yy,by,wy,Sy,mT=function(){return typeof window<"u"},gT=function(){return Jt||mT()&&(Jt=window.gsap)&&Jt.registerPlugin&&Jt},NL=function(e){return Math.round(e*1e5)/1e5||0},us=function(e){return Et.maxScroll(e||Mr)},BL=function(e,n){var r=e.parentNode||yu,i=e.getBoundingClientRect(),o=r.getBoundingClientRect(),s=o.top-i.top,a=o.bottom-i.bottom,u=(Math.abs(s)>Math.abs(a)?s:a)/(1-n),c=-u*n,h,l;return u>0&&(h=o.height/(Mr.innerHeight+o.height),l=h===.5?o.height*2:Math.min(o.height,Math.abs(-u*h/(2*h-1)))*2*(n||1),c+=n?-l*n:-l/2,u+=l),{change:u,offset:c}},VL=function(e){var n=_s.querySelector(".ScrollSmoother-wrapper");return n||(n=_s.createElement("div"),n.classList.add("ScrollSmoother-wrapper"),e.parentNode.insertBefore(n,e),n.appendChild(e)),n},Ea=function(){function t(e){var n=this;Ef||t.register(Jt)||console.warn("Please gsap.registerPlugin(ScrollSmoother)"),e=this.vars=e||{},fo&&fo.kill(),fo=this,wy(this);var r=e,i=r.smoothTouch,o=r.onUpdate,s=r.onStop,a=r.smooth,u=r.onFocusIn,c=r.normalizeScroll,h=r.wholePixels,l,d,f,_,g,b,y,w,A,k,R,x,L,F,H=this,V=e.effectsPrefix||"",ne=Et.getScrollFunc(Mr),$=Et.isTouch===1?i===!0?.8:parseFloat(i)||0:a===0||a===!1?0:parseFloat(a)||.8,M=$&&+e.speed||1,z=0,K=0,B=1,W=yy(0),oe=function(){return W.update(-z)},se={y:0},q=function(){return l.style.overflow="visible"},pe,Te=function(D){D.update();var Z=D.getTween();Z&&(Z.pause(),Z._time=Z._dur,Z._tTime=Z._tDur),pe=!1,D.animation.progress(D.progress,!0)},_e=function(D,Z){(D!==z&&!k||Z)&&(h&&(D=Math.round(D)),$&&(l.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+D+", 0, 1)",l._gsap.y=D+"px"),K=D-z,z=D,Et.isUpdating||t.isRefreshing||Et.update())},ye=function(D){return arguments.length?(D<0&&(D=0),se.y=-D,pe=!0,k?z=-D:_e(-D),Et.isRefreshing?_.update():ne(D/M),this):-z},Ae=typeof ResizeObserver<"u"&&e.autoResize!==!1&&new ResizeObserver(function(){if(!Et.isRefreshing){var I=us(d)*M;I<-z&&ye(I),Sy.restart(!0)}}),be,ie=function(D){d.scrollTop=0,!(D.target.contains&&D.target.contains(d)||u&&u(n,D)===!1)&&(Et.isInViewport(D.target)||D.target===be||n.scrollTo(D.target,!1,"center center"),be=D.target)},le=function(D,Z){if(D<Z.start)return D;var fe=isNaN(Z.ratio)?1:Z.ratio,ue=Z.end-Z.start,S=D-Z.start,m=Z.offset||0,T=Z.pins||[],N=T.offset||0,re=Z._startClamp&&Z.start<=0||Z.pins&&Z.pins.offset?0:Z._endClamp&&Z.end===us()?1:.5;return T.forEach(function(ce){ue-=ce.distance,ce.nativeStart<=D&&(S-=ce.distance)}),N&&(S*=(ue-N/fe)/ue),D+(S-m*re)/fe-S},he=function I(D,Z,fe){fe||(D.pins.length=D.pins.offset=0);var ue=D.pins,S=D.markers,m,T,N,re,ce,Ee,De,Pe;for(De=0;De<Z.length;De++)if(Pe=Z[De],D.trigger&&Pe.trigger&&D!==Pe&&(Pe.trigger===D.trigger||Pe.pinnedContainer===D.trigger||D.trigger.contains(Pe.trigger))&&(ce=Pe._startNative||Pe._startClamp||Pe.start,Ee=Pe._endNative||Pe._endClamp||Pe.end,N=le(ce,D),re=Pe.pin&&Ee>0?N+(Ee-ce):le(Ee,D),Pe.setPositions(N,re,!0,(Pe._startClamp?Math.max(0,N):N)-ce),Pe.markerStart&&S.push(Jt.quickSetter([Pe.markerStart,Pe.markerEnd],"y","px")),Pe.pin&&Pe.end>0&&!fe)){if(m=Pe.end-Pe.start,T=D._startClamp&&Pe.start<0,T){if(D.start>0){D.setPositions(0,D.end+(D._startNative-D.start),!0),I(D,Z);return}m+=Pe.start,ue.offset=-Pe.start}ue.push({start:Pe.start,nativeStart:ce,end:Pe.end,distance:m,trig:Pe}),D.setPositions(D.start,D.end+(T?-Pe.start:m),!0)}},Se=function(D,Z){g.forEach(function(fe){return he(fe,D,Z)})},Ie=function(){yu=_s.documentElement,Lo=_s.body,q(),requestAnimationFrame(q),g&&(Et.getAll().forEach(function(D){D._startNative=D.start,D._endNative=D.end}),g.forEach(function(D){var Z=D._startClamp||D.start,fe=D.autoSpeed?Math.min(us(),D.end):Z+Math.abs((D.end-Z)/D.ratio),ue=fe-D.end;if(Z-=ue/2,fe-=ue/2,Z>fe){var S=Z;Z=fe,fe=S}D._startClamp&&Z<0?(fe=D.ratio<0?us():D.end/D.ratio,ue=fe-D.end,Z=0):(D.ratio<0||D._endClamp&&fe>=us())&&(fe=us(),Z=D.ratio<0||D.ratio>1?0:fe-(fe-D.start)/D.ratio,ue=(fe-Z)*D.ratio-(D.end-D.start)),D.offset=ue||1e-4,D.pins.length=D.pins.offset=0,D.setPositions(Z,fe,!0)}),Se(Et.sort())),W.reset()},j=function(){return Et.addEventListener("refresh",Ie)},P=function(){return g&&g.forEach(function(D){return D.vars.onRefresh(D)})},Y=function(){return g&&g.forEach(function(D){return D.vars.onRefreshInit(D)}),P},ee=function(D,Z,fe,ue){return function(){var S=typeof Z=="function"?Z(fe,ue):Z;S||S===0||(S=ue.getAttribute("data-"+V+D)||(D==="speed"?1:0)),ue.setAttribute("data-"+V+D,S);var m=(S+"").substr(0,6)==="clamp(";return{clamp:m,value:m?S.substr(6,S.length-7):S}}},X=function(D,Z,fe,ue,S){S=(typeof S=="function"?S(ue,D):S)||0;var m=ee("speed",Z,ue,D),T=ee("lag",fe,ue,D),N=Jt.getProperty(D,"y"),re=D._gsap,ce,Ee,De,Pe,Be,Qe,tt=[],pt=function(){Z=m(),fe=parseFloat(T().value),ce=parseFloat(Z.value)||1,De=Z.value==="auto",Be=De||Ee&&Ee._startClamp&&Ee.start<=0||tt.offset?0:Ee&&Ee._endClamp&&Ee.end===us()?1:.5,Pe&&Pe.kill(),Pe=fe&&Jt.to(D,{ease:kf,overwrite:!1,y:"+=0",duration:fe}),Ee&&(Ee.ratio=ce,Ee.autoSpeed=De)},mt=function(){re.y=N+"px",re.renderTransform(1),pt()},rn=[],nt=0,Ut=function(dt){if(De){mt();var jt=BL(D,vy(0,1,-dt.start/(dt.end-dt.start)));nt=jt.change,Qe=jt.offset}else Qe=tt.offset||0,nt=(dt.end-dt.start-Qe)*(1-ce);tt.forEach(function(xn){return nt-=xn.distance*(1-ce)}),dt.offset=nt||.001,dt.vars.onUpdate(dt),Pe&&Pe.progress(1)};return pt(),(ce!==1||De||Pe)&&(Ee=Et.create({trigger:De?D.parentNode:D,start:function(){return Z.clamp?"clamp(top bottom+="+S+")":"top bottom+="+S},end:function(){return Z.value<0?"max":Z.clamp?"clamp(bottom top-="+S+")":"bottom top-="+S},scroller:d,scrub:!0,refreshPriority:-999,onRefreshInit:mt,onRefresh:Ut,onKill:function(dt){var jt=g.indexOf(dt);jt>=0&&g.splice(jt,1),mt()},onUpdate:function(dt){var jt=N+nt*(dt.progress-Be),xn=tt.length,Pn=0,Ke,ht,rt;if(dt.offset){if(xn){for(ht=-z,rt=dt.end;xn--;){if(Ke=tt[xn],Ke.trig.isActive||ht>=Ke.start&&ht<=Ke.end){Pe&&(Ke.trig.progress+=Ke.trig.direction<0?.001:-.001,Ke.trig.update(0,0,1),Pe.resetTo("y",parseFloat(re.y),-K,!0),B&&Pe.progress(1));return}ht>Ke.end&&(Pn+=Ke.distance),rt-=Ke.distance}jt=N+Pn+nt*((Jt.utils.clamp(dt.start,dt.end,ht)-dt.start-Pn)/(rt-dt.start)-Be)}rn.length&&!De&&rn.forEach(function(ot){return ot(jt-Pn)}),jt=NL(jt+Qe),Pe?(Pe.resetTo("y",jt,-K,!0),B&&Pe.progress(1)):(re.y=jt+"px",re.renderTransform(1))}}}),Ut(Ee),Jt.core.getCache(Ee.trigger).stRevert=Y,Ee.startY=N,Ee.pins=tt,Ee.markers=rn,Ee.ratio=ce,Ee.autoSpeed=De,D.style.willChange="transform"),Ee};j(),Et.addEventListener("killAll",j),Jt.delayedCall(.5,function(){return B=0}),this.scrollTop=ye,this.scrollTo=function(I,D,Z){var fe=Jt.utils.clamp(0,us(),isNaN(I)?n.offset(I,Z,!!D&&!k):+I);D?k?Jt.to(n,{duration:$,scrollTop:fe,overwrite:"auto",ease:kf}):ne(fe):ye(fe)},this.offset=function(I,D,Z){I=Zs(I)[0];var fe=I.style.cssText,ue=Et.create({trigger:I,start:D||"top top"}),S;return g&&(B?Et.refresh():Se([ue],!0)),S=ue.start/(Z?M:1),ue.kill(!1),I.style.cssText=fe,Jt.core.getCache(I).uncache=1,S};function C(){return f=l.clientHeight,l.style.overflow="visible",Lo.style.height=Mr.innerHeight+(f-Mr.innerHeight)/M+"px",f-Mr.innerHeight}this.content=function(I){if(arguments.length){var D=Zs(I||"#smooth-content")[0]||console.warn("ScrollSmoother needs a valid content element.")||Lo.children[0];return D!==l&&(l=D,A=l.getAttribute("style")||"",Ae&&Ae.observe(l),Jt.set(l,{overflow:"visible",width:"100%",boxSizing:"border-box",y:"+=0"}),$||Jt.set(l,{clearProps:"transform"})),this}return l},this.wrapper=function(I){return arguments.length?(d=Zs(I||"#smooth-wrapper")[0]||VL(l),w=d.getAttribute("style")||"",C(),Jt.set(d,$?{overflow:"hidden",position:"fixed",height:"100%",width:"100%",top:0,left:0,right:0,bottom:0}:{overflow:"visible",position:"relative",width:"100%",height:"auto",top:"auto",bottom:"auto",left:"auto",right:"auto"}),this):d},this.effects=function(I,D){var Z;if(g||(g=[]),!I)return g.slice(0);I=Zs(I),I.forEach(function(ce){for(var Ee=g.length;Ee--;)g[Ee].trigger===ce&&g[Ee].kill()}),D=D||{};var fe=D,ue=fe.speed,S=fe.lag,m=fe.effectsPadding,T=[],N,re;for(N=0;N<I.length;N++)re=X(I[N],ue,S,N,m),re&&T.push(re);return(Z=g).push.apply(Z,T),D.refresh!==!1&&Et.refresh(),T},this.sections=function(I,D){var Z;if(b||(b=[]),!I)return b.slice(0);var fe=Zs(I).map(function(ue){return Et.create({trigger:ue,start:"top 120%",end:"bottom -20%",onToggle:function(m){ue.style.opacity=m.isActive?"1":"0",ue.style.pointerEvents=m.isActive?"all":"none"}})});return D&&D.add?(Z=b).push.apply(Z,fe):b=fe.slice(0),fe},this.content(e.content),this.wrapper(e.wrapper),this.render=function(I){return _e(I||I===0?I:z)},this.getVelocity=function(){return W.getVelocity(-z)},Et.scrollerProxy(d,{scrollTop:ye,scrollHeight:function(){return C()&&Lo.scrollHeight},fixedMarkers:e.fixedMarkers!==!1&&!!$,content:l,getBoundingClientRect:function(){return{top:0,left:0,width:Mr.innerWidth,height:Mr.innerHeight}}}),Et.defaults({scroller:d});var G=Et.getAll().filter(function(I){return I.scroller===Mr||I.scroller===d});G.forEach(function(I){return I.revert(!0,!0)}),_=Et.create({animation:Jt.fromTo(se,{y:function(){return F=0,0}},{y:function(){return F=1,-C()},immediateRender:!1,ease:"none",data:"ScrollSmoother",duration:100,onUpdate:function(){if(F){var D=pe;D&&(Te(_),se.y=z),_e(se.y,D),oe(),o&&!k&&o(H)}}}),onRefreshInit:function(D){if(!t.isRefreshing){if(t.isRefreshing=!0,g){var Z=Et.getAll().filter(function(ue){return!!ue.pin});g.forEach(function(ue){ue.vars.pinnedContainer||Z.forEach(function(S){if(S.pin.contains(ue.trigger)){var m=ue.vars;m.pinnedContainer=S.pin,ue.vars=null,ue.init(m,ue.animation)}})})}var fe=D.getTween();L=fe&&fe._end>fe._dp._time,x=z,se.y=0,$&&(Et.isTouch===1&&(d.style.position="absolute"),d.scrollTop=0,Et.isTouch===1&&(d.style.position="fixed"))}},onRefresh:function(D){D.animation.invalidate(),D.setPositions(D.start,C()/M),L||Te(D),se.y=-ne()*M,_e(se.y),B||(L&&(pe=!1),D.animation.progress(Jt.utils.clamp(0,1,x/M/-D.end))),L&&(D.progress-=.001,D.update()),t.isRefreshing=!1},id:"ScrollSmoother",scroller:Mr,invalidateOnRefresh:!0,start:0,refreshPriority:-9999,end:function(){return C()/M},onScrubComplete:function(){W.reset(),s&&s(n)},scrub:$||!0}),this.smooth=function(I){return arguments.length&&($=I||0,M=$&&+e.speed||1,_.scrubDuration(I)),_.getTween()?_.getTween().duration():0},_.getTween()&&(_.getTween().vars.ease=e.ease||kf),this.scrollTrigger=_,e.effects&&this.effects(e.effects===!0?"[data-"+V+"speed], [data-"+V+"lag]":e.effects,{effectsPadding:e.effectsPadding,refresh:!1}),e.sections&&this.sections(e.sections===!0?"[data-section]":e.sections),G.forEach(function(I){I.vars.scroller=d,I.revert(!1,!0),I.init(I.vars,I.animation)}),this.paused=function(I,D){return arguments.length?(!!k!==I&&(I?(_.getTween()&&_.getTween().pause(),ne(-z/M),W.reset(),R=Et.normalizeScroll(),R&&R.disable(),k=Et.observe({preventDefault:!0,type:"wheel,touch,scroll",debounce:!1,allowClicks:!0,onChangeY:function(){return ye(-z)}}),k.nested=by(yu,"wheel,touch,scroll",!0,D!==!1)):(k.nested.kill(),k.kill(),k=0,R&&R.enable(),_.progress=(-z/M-_.start)/(_.end-_.start),Te(_))),this):!!k},this.kill=this.revert=function(){n.paused(!1),Te(_),_.kill();for(var I=(g||[]).concat(b||[]),D=I.length;D--;)I[D].kill();Et.scrollerProxy(d),Et.removeEventListener("killAll",j),Et.removeEventListener("refresh",Ie),d.style.cssText=w,l.style.cssText=A;var Z=Et.defaults({});Z&&Z.scroller===d&&Et.defaults({scroller:Mr}),n.normalizer&&Et.normalizeScroll(!1),clearInterval(y),fo=null,Ae&&Ae.disconnect(),Lo.style.removeProperty("height"),Mr.removeEventListener("focusin",ie)},this.refresh=function(I,D){return _.refresh(I,D)},c&&(this.normalizer=Et.normalizeScroll(c===!0?{debounce:!0,content:!$&&l}:c)),Et.config(e),"scrollBehavior"in Mr.getComputedStyle(Lo)&&Jt.set([Lo,yu],{scrollBehavior:"auto"}),Mr.addEventListener("focusin",ie),y=setInterval(oe,250),_s.readyState==="loading"||requestAnimationFrame(function(){return Et.refresh()})}return t.register=function(n){return Ef||(Jt=n||gT(),mT()&&window.document&&(Mr=window,_s=document,yu=_s.documentElement,Lo=_s.body),Jt&&(Zs=Jt.utils.toArray,vy=Jt.utils.clamp,kf=Jt.parseEase("expo"),wy=Jt.core.context||function(){},Et=Jt.core.globals().ScrollTrigger,Jt.core.globals("ScrollSmoother",t),Lo&&Et&&(Sy=Jt.delayedCall(.2,function(){return Et.isRefreshing||fo&&fo.refresh()}).pause(),yy=Et.core._getVelocityProp,by=Et.core._inputObserver,t.refresh=Et.refresh,Ef=1))),Ef},HL(t,[{key:"progress",get:function(){return this.scrollTrigger?this.scrollTrigger.animation._time/100:0}}]),t}();Ea.version="3.13.0";Ea.create=function(t){return fo&&t&&fo.content()===Zs(t.content)[0]?fo:new Ea(t)};Ea.get=function(){return fo};gT()&&Jt.registerPlugin(Ea);/*!
* ScrollToPlugin 3.13.0
* https://gsap.com
*
* @license Copyright 2008-2025, GreenSock. All rights reserved.
* Subject to the terms at https://gsap.com/standard-license
* @author: Jack Doyle, jack@greensock.com
*/var Rr,_T,Yo,go,xs,vT,dl,Af,yT=function(){return typeof window<"u"},bT=function(){return Rr||yT()&&(Rr=window.gsap)&&Rr.registerPlugin&&Rr},wT=function(e){return typeof e=="string"},Ty=function(e){return typeof e=="function"},dc=function(e,n){var r=n==="x"?"Width":"Height",i="scroll"+r,o="client"+r;return e===Yo||e===go||e===xs?Math.max(go[i],xs[i])-(Yo["inner"+r]||go[o]||xs[o]):e[i]-e["offset"+r]},hc=function(e,n){var r="scroll"+(n==="x"?"Left":"Top");return e===Yo&&(e.pageXOffset!=null?r="page"+n.toUpperCase()+"Offset":e=go[r]!=null?go:xs),function(){return e[r]}},UL=function(e,n,r,i){if(Ty(e)&&(e=e(n,r,i)),typeof e!="object")return wT(e)&&e!=="max"&&e.charAt(1)!=="="?{x:e,y:e}:{y:e};if(e.nodeType)return{y:e,x:e};var o={},s;for(s in e)o[s]=s!=="onAutoKill"&&Ty(e[s])?e[s](n,r,i):e[s];return o},ST=function(e,n){if(e=vT(e)[0],!e||!e.getBoundingClientRect)return console.warn("scrollTo target doesn't exist. Using 0")||{x:0,y:0};var r=e.getBoundingClientRect(),i=!n||n===Yo||n===xs,o=i?{top:go.clientTop-(Yo.pageYOffset||go.scrollTop||xs.scrollTop||0),left:go.clientLeft-(Yo.pageXOffset||go.scrollLeft||xs.scrollLeft||0)}:n.getBoundingClientRect(),s={x:r.left-o.left,y:r.top-o.top};return!i&&n&&(s.x+=hc(n,"x")(),s.y+=hc(n,"y")()),s},Ey=function(e,n,r,i,o){return!isNaN(e)&&typeof e!="object"?parseFloat(e)-o:wT(e)&&e.charAt(1)==="="?parseFloat(e.substr(2))*(e.charAt(0)==="-"?-1:1)+i-o:e==="max"?dc(n,r)-o:Math.min(dc(n,r),ST(e,n)[r]-o)},Em=function(){Rr=bT(),yT()&&Rr&&typeof document<"u"&&document.body&&(Yo=window,xs=document.body,go=document.documentElement,vT=Rr.utils.toArray,Rr.config({autoKillThreshold:7}),dl=Rr.config(),_T=1)},ka={version:"3.13.0",name:"scrollTo",rawVars:1,register:function(e){Rr=e,Em()},init:function(e,n,r,i,o){_T||Em();var s=this,a=Rr.getProperty(e,"scrollSnapType");s.isWin=e===Yo,s.target=e,s.tween=r,n=UL(n,i,e,o),s.vars=n,s.autoKill=!!("autoKill"in n?n:dl).autoKill,s.getX=hc(e,"x"),s.getY=hc(e,"y"),s.x=s.xPrev=s.getX(),s.y=s.yPrev=s.getY(),Af||(Af=Rr.core.globals().ScrollTrigger),Rr.getProperty(e,"scrollBehavior")==="smooth"&&Rr.set(e,{scrollBehavior:"auto"}),a&&a!=="none"&&(s.snap=1,s.snapInline=e.style.scrollSnapType,e.style.scrollSnapType="none"),n.x!=null?(s.add(s,"x",s.x,Ey(n.x,e,"x",s.x,n.offsetX||0),i,o),s._props.push("scrollTo_x")):s.skipX=1,n.y!=null?(s.add(s,"y",s.y,Ey(n.y,e,"y",s.y,n.offsetY||0),i,o),s._props.push("scrollTo_y")):s.skipY=1},render:function(e,n){for(var r=n._pt,i=n.target,o=n.tween,s=n.autoKill,a=n.xPrev,u=n.yPrev,c=n.isWin,h=n.snap,l=n.snapInline,d,f,_,g,b;r;)r.r(e,r.d),r=r._next;d=c||!n.skipX?n.getX():a,f=c||!n.skipY?n.getY():u,_=f-u,g=d-a,b=dl.autoKillThreshold,n.x<0&&(n.x=0),n.y<0&&(n.y=0),s&&(!n.skipX&&(g>b||g<-b)&&d<dc(i,"x")&&(n.skipX=1),!n.skipY&&(_>b||_<-b)&&f<dc(i,"y")&&(n.skipY=1),n.skipX&&n.skipY&&(o.kill(),n.vars.onAutoKill&&n.vars.onAutoKill.apply(o,n.vars.onAutoKillParams||[]))),c?Yo.scrollTo(n.skipX?d:n.x,n.skipY?f:n.y):(n.skipY||(i.scrollTop=n.y),n.skipX||(i.scrollLeft=n.x)),h&&(e===1||e===0)&&(f=i.scrollTop,d=i.scrollLeft,l?i.style.scrollSnapType=l:i.style.removeProperty("scroll-snap-type"),i.scrollTop=f+1,i.scrollLeft=d+1,i.scrollTop=f,i.scrollLeft=d),n.xPrev=n.x,n.yPrev=n.y,Af&&Af.update()},kill:function(e){var n=e==="scrollTo",r=this._props.indexOf(e);return(n||e==="scrollTo_x")&&(this.skipX=1),(n||e==="scrollTo_y")&&(this.skipY=1),r>-1&&this._props.splice(r,1),!this._props.length}};ka.max=dc;ka.getOffset=ST;ka.buildGetter=hc;ka.config=function(t){dl||Em()||(dl=Rr.config());for(var e in t)dl[e]=t[e]};bT()&&Rr.registerPlugin(ka);/*!
* DrawSVGPlugin 3.13.0
* https://gsap.com
*
* @license Copyright 2008-2025, GreenSock. All rights reserved.
* Subject to the terms at https://gsap.com/standard-license
* @author: Jack Doyle, jack@greensock.com
*/var _o,Xg,Cd,TT,ET,ky,km,kT,AT=function(){return typeof window<"u"},RT=function(){return _o||AT()&&(_o=window.gsap)&&_o.registerPlugin&&_o},jL=/[-+=\.]*\d+[\.e\-\+]*\d*[e\-\+]*\d*/gi,cp={rect:["width","height"],circle:["r","r"],ellipse:["rx","ry"],line:["x2","y2"]},na=function(e){return Math.round(e*1e4)/1e4},Wo=function(e){return parseFloat(e)||0},Ay=function(e,n){var r=Wo(e);return~e.indexOf("%")?r/100*n:r},Rf=function(e,n){return Wo(e.getAttribute(n))},Gf=Math.sqrt,Ry=function(e,n,r,i,o,s){return Gf(Math.pow((Wo(r)-Wo(e))*o,2)+Math.pow((Wo(i)-Wo(n))*s,2))},Cy=function(e){return console.warn(e)},CT=function(e){return e.getAttribute("vector-effect")==="non-scaling-stroke"},WL=1,zL=function(e,n,r){var i=e.indexOf(" "),o,s;return i<0?(o=r!==void 0?r+"":e,s=e):(o=e.substr(0,i),s=e.substr(i+1)),o=Ay(o,n),s=Ay(s,n),o>s?[s,o]:[o,s]},Yf=function(e){if(e=Xg(e)[0],!e)return 0;var n=e.tagName.toLowerCase(),r=e.style,i=1,o=1,s,a,u,c,h,l,d;CT(e)&&(o=e.getScreenCTM(),i=Gf(o.a*o.a+o.b*o.b),o=Gf(o.d*o.d+o.c*o.c));try{a=e.getBBox()}catch{Cy("Some browsers won't measure invisible elements (like display:none or masks inside defs).")}var f=a||{x:0,y:0,width:0,height:0},_=f.x,g=f.y,b=f.width,y=f.height;if((!a||!b&&!y)&&cp[n]&&(b=Rf(e,cp[n][0]),y=Rf(e,cp[n][1]),n!=="rect"&&n!=="line"&&(b*=2,y*=2),n==="line"&&(_=Rf(e,"x1"),g=Rf(e,"y1"),b=Math.abs(b-_),y=Math.abs(y-g))),n==="path")c=r.strokeDasharray,r.strokeDasharray="none",s=e.getTotalLength()||0,na(i)!==na(o)&&!ky&&(ky=1)&&Cy("Warning: <path> length cannot be measured when vector-effect is non-scaling-stroke and the element isn't proportionally scaled."),s*=(i+o)/2,r.strokeDasharray=c;else if(n==="rect")s=b*2*i+y*2*o;else if(n==="line")s=Ry(_,g,_+b,g+y,i,o);else if(n==="polyline"||n==="polygon")for(u=e.getAttribute("points").match(jL)||[],n==="polygon"&&u.push(u[0],u[1]),s=0,h=2;h<u.length;h+=2)s+=Ry(u[h-2],u[h-1],u[h],u[h+1],i,o)||0;else(n==="circle"||n==="ellipse")&&(l=b/2*i,d=y/2*o,s=Math.PI*(3*(l+d)-Gf((3*l+d)*(l+3*d))));return s||0},xy=function(e,n){if(e=Xg(e)[0],!e)return[0,0];n||(n=Yf(e)+1);var r=Cd.getComputedStyle(e),i=r.strokeDasharray||"",o=Wo(r.strokeDashoffset),s=i.indexOf(",");return s<0&&(s=i.indexOf(" ")),i=s<0?n:Wo(i.substr(0,s)),i>n&&(i=n),[-o||0,i-o||0]},Py=function(){AT()&&(Cd=window,ET=_o=RT(),Xg=_o.utils.toArray,km=_o.core.getStyleSaver,kT=_o.core.reverting||function(){},TT=((Cd.navigator||{}).userAgent||"").indexOf("Edge")!==-1)},xT={version:"3.13.0",name:"drawSVG",register:function(e){_o=e,Py()},init:function(e,n,r,i,o){if(!e.getBBox)return!1;ET||Py();var s=Yf(e),a,u,c;return this.styles=km&&km(e,"strokeDashoffset,strokeDasharray,strokeMiterlimit"),this.tween=r,this._style=e.style,this._target=e,n+""=="true"?n="0 100%":n?(n+"").indexOf(" ")===-1&&(n="0 "+n):n="0 0",a=xy(e,s),u=zL(n,s,a[0]),this._length=na(s),this._dash=na(a[1]-a[0]),this._offset=na(-a[0]),this._dashPT=this.add(this,"_dash",this._dash,na(u[1]-u[0]),0,0,0,0,0,1),this._offsetPT=this.add(this,"_offset",this._offset,na(-u[0]),0,0,0,0,0,1),TT&&(c=Cd.getComputedStyle(e),c.strokeLinecap!==c.strokeLinejoin&&(u=Wo(c.strokeMiterlimit),this.add(e.style,"strokeMiterlimit",u,u+.01))),this._live=CT(e)||~(n+"").indexOf("live"),this._nowrap=~(n+"").indexOf("nowrap"),this._props.push("drawSVG"),WL},render:function(e,n){if(n.tween._time||!kT()){var r=n._pt,i=n._style,o,s,a,u;if(r){for(n._live&&(o=Yf(n._target),o!==n._length&&(s=o/n._length,n._length=o,n._offsetPT&&(n._offsetPT.s*=s,n._offsetPT.c*=s),n._dashPT?(n._dashPT.s*=s,n._dashPT.c*=s):n._dash*=s));r;)r.r(e,r.d),r=r._next;a=n._dash||e&&e!==1&&1e-4||0,o=n._length-a+.1,u=n._offset,a&&u&&a+Math.abs(u%n._length)>n._length-.05&&(u+=u<0?.005:-.005)&&(o+=.005),i.strokeDashoffset=a?u:u+.001,i.strokeDasharray=o<.1?"none":a?a+"px,"+(n._nowrap?999999:o)+"px":"0px, 999999px"}}else n.styles.revert()},getLength:Yf,getPosition:xy};RT()&&_o.registerPlugin(xT);const gn=function(){return lt.isSSR||(Bn.registerPlugin(kl,Ea,um,hm,It,ka,xT),Bn.defaults({ease:"linear"})),{gsap:Bn,CustomEase:kl,ScrollSmoother:Ea,CSSRulePlugin:um,SplitText:hm,ScrollTrigger:It,ScrollToPlugin:ka}},_t=(t,e)=>{const n=t.__vccOpts||t;for(const[r,i]of e)n[r]=i;return n},qL=["data-variant"],GL={class:"ButtonBasic ButtonBasic--hover"},YL=["data-variant"],KL=["data-variant"],XL={class:"ButtonBasic ButtonBasic--hover"},QL=["data-variant"],JL={__name:"ButtonBasic",props:{label:{type:String,required:!0,default:""},theme:{type:String,default:"black"},to:{type:String},rel:{type:String},download:{type:String},buttonType:{type:String},variant:{type:String,default:"default"},target:{type:String,default:null},manualHover:{type:Boolean,default:!1,required:!1},notButton:{type:Boolean,default:!1,required:!1}},emits:["click"],setup(t,{emit:e}){const n=t,r=e,{gsap:i}=gn();let o=null;const s=[],a=[],u=U(null);let c=!1;Ne(()=>n.manualHover,()=>{n.manualHover?(h(),c=!0):(c=!1,l())});function h(){c||(o==null||o.kill(),o=i.timeline(),o.set(u.value,{y:"101%"},0),o.to(u.value,{duration:.45,ease:"sine.inOut",y:0},0),o.to(s,{duration:.45,stagger:.05,y:"-150%",ease:"sine.in"},0),o.set(a,{y:"150%"},0),o.to(a,{delay:.1,duration:.5,stagger:.05,y:0,ease:"sine.out"},0))}function l(){c||(o==null||o.kill(),o=i.timeline(),o.to(u.value,{duration:.45,ease:"sine.inOut",y:"-101%"}),o.set(s,{y:"150%"},0),o.to(s,{delay:.1,duration:.45,stagger:.05,y:0,ease:"sine.out"},0),o.to(a,{duration:.5,stagger:.05,y:"-150%",ease:"sine.out"},0))}function d(A){r("click",A)}function f(){lt.touchScreen||h()}function _(){lt.touchScreen||l()}function g(A){return String(A).trim()}const b=xe(()=>!n.to||n.buttonType);xe(()=>g(n.label));const y=xe(()=>g(n.label)),w=xe(()=>{var A;return(A=y.value)==null?void 0:A.split(" ")});return Ct(()=>{i.set([u.value],{y:"101%"}),i.set(a,{y:"100%"})}),(A,k)=>{const R=Lw;return ge(b)?(ae(),Kt(va(t.notButton?"span":"button"),{key:0,class:"ButtonBasic-wrapper",type:n.buttonType,"data-variant":t.variant,"data-is-hover":t.manualHover,onClick:d,onMouseenter:f,onMouseleave:_},{default:Di(()=>[J("span",{class:st(["ButtonBasic ButtonBasic--static",[`ButtonBasic--${n.theme}`]])},[ge(y)?(ae(),me("span",{key:0,class:"ButtonBasic-text","data-variant":t.variant},[(ae(!0),me(Ye,null,ut(ge(w),(x,L)=>(ae(),me("span",{key:`ButtonBasic-word-${L}`,ref_for:!0,ref:F=>s[L]=F,class:"ButtonBasic-word"},We(x),1))),128))],8,qL)):bt("",!0)],2),J("span",{ref_key:"hoverBgRef",ref:u,class:st(["ButtonBasic-hover-bg",[`ButtonBasic--${n.theme}-hover`]])},null,2),J("span",GL,[ge(y)?(ae(),me("span",{key:0,class:"ButtonBasic-text ButtonBasic-text--hover","data-variant":t.variant,"aria-hidden":"true"},[(ae(!0),me(Ye,null,ut(ge(w),(x,L)=>(ae(),me("span",{key:`ButtonBasic-word-${L}`,ref_for:!0,ref:F=>a[L]=F,class:"ButtonBasic-word"},We(x),1))),128))],8,YL)):bt("",!0)])]),_:1},40,["type","data-variant","data-is-hover"])):(ae(),Kt(R,{key:1,class:"ButtonBasic-wrapper",to:n.to,download:n.download,rel:n.rel,"data-variant":t.variant,"data-is-hover":t.manualHover,target:t.target,onMouseenter:f,onMouseleave:_},{default:Di(()=>[J("span",{class:st(["ButtonBasic ButtonBasic--static",[`ButtonBasic--${n.theme}`]])},[ge(y)?(ae(),me("span",{key:0,class:"ButtonBasic-text","data-variant":t.variant},[(ae(!0),me(Ye,null,ut(ge(w),(x,L)=>(ae(),me("span",{key:`ButtonBasic-word-${L}`,ref_for:!0,ref:F=>s[L]=F,class:"ButtonBasic-word"},We(x),1))),128))],8,KL)):bt("",!0)],2),J("span",{ref_key:"hoverBgRef",ref:u,class:st(["ButtonBasic-hover-bg",[`ButtonBasic--${n.theme}-hover`]])},null,2),J("span",XL,[ge(y)?(ae(),me("span",{key:0,class:"ButtonBasic-text ButtonBasic-text--hover","data-variant":t.variant,"aria-hidden":"true"},[(ae(!0),me(Ye,null,ut(ge(w),(x,L)=>(ae(),me("span",{key:`ButtonBasic-word-${L}`,ref_for:!0,ref:F=>a[L]=F,class:"ButtonBasic-word"},We(x),1))),128))],8,QL)):bt("",!0)])]),_:1},8,["to","download","rel","data-variant","data-is-hover","target"]))}}},PT=_t(JL,[["__scopeId","data-v-96eda748"]]),ZL={},eO={class:"The404"},tO={class:"The404-container"},nO={class:"The404-wrapper"};function rO(t,e){const n=PT;return ae(),me("section",eO,[e[1]||(e[1]=J("div",{class:"The404-bgtext"},null,-1)),J("div",tO,[J("div",nO,[e[0]||(e[0]=J("p",{class:"The404-text type-body--md"},"Sorry, we can't find the page you're looking for.",-1)),Ve(n,{label:"Go back home",to:"/",variant:"primary",size:"large"})])])])}const iO=_t(ZL,[["render",rO],["__scopeId","data-v-b39b54b2"]]),oO=["data-in-column","innerHTML"],Pc=Ji({__name:"RichText",props:{html:{type:String,required:!1},disableStyles:{type:Boolean,default:!1},extraClasses:{type:String,default:""},inColumn:{type:Boolean,default:!1}},setup(t){return(e,n)=>t.html?(ae(),me("div",{key:0,"data-in-column":t.inColumn,class:st([t.disableStyles?"":"RichText",t.extraClasses]),innerHTML:t.html},null,10,oO)):bt("",!0)}});class sO{addOptionsToUrl(e,n){return n&&n.forEach(r=>{e.indexOf("?")>-1?e+="&":e+="?",e+=r.getParam()}),e}}const Iy=new sO;function Ll(t){const e=[];for(const n of Object.keys(t.headers))e.push({header:n,value:t.headers[n]});return e}class aO{constructor(){this.requestCancelledMessagePrefix="Request cancelled",this.retryAfterHeaderName="Retry-After",this.defaultRetryStatusCodes=[408,429,500,502,503,504],this.defaultRetryStrategy={addJitter:!0,deltaBackoffMs:1e3,maxAttempts:5,canRetryError:e=>this.canRetryErrorDefault(e)}}getRetryErrorResult(e){var n,r,i;if(e.error&&e.error.message&&e.error.message.startsWith(this.requestCancelledMessagePrefix))return{canRetry:!1,retryInMs:0,maxRetries:0};if(!(e.retryStrategy.canRetryError?e.retryStrategy.canRetryError(e.error):this.defaultRetryStrategy.canRetryError(e.error)))return{canRetry:!1,retryInMs:0,maxRetries:0};const s=(n=e.retryStrategy.maxAttempts)!==null&&n!==void 0?n:this.defaultRetryStrategy.maxAttempts;if(e.retryAttempt>=s)return{canRetry:!1,retryInMs:0,maxRetries:s};const u=this.tryGetRetryAfterInMsFromError(e.error);return u?{canRetry:!0,retryInMs:u,maxRetries:s}:{canRetry:!0,retryInMs:this.getNextWaitTimeMs((r=e.retryStrategy.addJitter)!==null&&r!==void 0?r:this.defaultRetryStrategy.addJitter,(i=e.retryStrategy.deltaBackoffMs)!==null&&i!==void 0?i:this.defaultRetryStrategy.deltaBackoffMs,e.retryAttempt),maxRetries:s}}getRetryStrategyFromStrategyOptions(e){return e||this.defaultRetryStrategy}canRetryInTime(e,n){const r=e.getTime(),o=new Date().getTime()-r;return{canRetry:o<n,differenceInMs:o}}getNextWaitTimeMs(e,n,r){if(!e)return n*Math.pow(2,r);const i=.8*n,o=1.2*n*Math.pow(2,r);return this.randomNumberFromInterval(i,o)}canRetryErrorDefault(e){if(!this.tryGetAxiosError(e))return!1;const r=this.getStatusCodeFromError(e);return!!this.canRetryStatusCode(r,this.defaultRetryStatusCodes)}tryGetRetryAfterInMsFromError(e){const n=this.tryGetAxiosError(e);if(!n||!n.response)return;const i=Ll(n.response).find(s=>s.header.toLowerCase()===this.retryAfterHeaderName.toLowerCase());return i?+i.value*1e3:void 0}canRetryStatusCode(e,n){return n.includes(e)}getStatusCodeFromError(e){const n=this.tryGetAxiosError(e);return!n||!n.response?0:n.response.status}tryGetAxiosError(e){if(!e)return;if(e.isAxiosError)return e;const n=e.originalError;if(n&&n.isAxiosError)return n}randomNumberFromInterval(e,n){return Math.floor(Math.random()*(n-e+1)+e)}}const Pa=new aO;var Ly;(function(t){class e{constructor(r,i){if(this.name=r,this.value=i,!r)throw Error("Name of the custom parameter is not specified")}getParam(){return this.name}getParamValue(){return this.value}}t.CustomParameter=e})(Ly||(Ly={}));function IT(t,e){return function(){return t.apply(e,arguments)}}const{toString:lO}=Object.prototype,{getPrototypeOf:Qg}=Object,{iterator:ah,toStringTag:LT}=Symbol,lh=(t=>e=>{const n=lO.call(e);return t[n]||(t[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Zi=t=>(t=t.toLowerCase(),e=>lh(e)===t),uh=t=>e=>typeof e===t,{isArray:Ol}=Array,pc=uh("undefined");function uO(t){return t!==null&&!pc(t)&&t.constructor!==null&&!pc(t.constructor)&&Zr(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const OT=Zi("ArrayBuffer");function cO(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&OT(t.buffer),e}const fO=uh("string"),Zr=uh("function"),MT=uh("number"),ch=t=>t!==null&&typeof t=="object",dO=t=>t===!0||t===!1,Kf=t=>{if(lh(t)!=="object")return!1;const e=Qg(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(LT in t)&&!(ah in t)},hO=Zi("Date"),pO=Zi("File"),mO=Zi("Blob"),gO=Zi("FileList"),_O=t=>ch(t)&&Zr(t.pipe),vO=t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||Zr(t.append)&&((e=lh(t))==="formdata"||e==="object"&&Zr(t.toString)&&t.toString()==="[object FormData]"))},yO=Zi("URLSearchParams"),[bO,wO,SO,TO]=["ReadableStream","Request","Response","Headers"].map(Zi),EO=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Ic(t,e,{allOwnKeys:n=!1}={}){if(t===null||typeof t>"u")return;let r,i;if(typeof t!="object"&&(t=[t]),Ol(t))for(r=0,i=t.length;r<i;r++)e.call(null,t[r],r,t);else{const o=n?Object.getOwnPropertyNames(t):Object.keys(t),s=o.length;let a;for(r=0;r<s;r++)a=o[r],e.call(null,t[a],a,t)}}function FT(t,e){e=e.toLowerCase();const n=Object.keys(t);let r=n.length,i;for(;r-- >0;)if(i=n[r],e===i.toLowerCase())return i;return null}const oa=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,DT=t=>!pc(t)&&t!==oa;function Am(){const{caseless:t}=DT(this)&&this||{},e={},n=(r,i)=>{const o=t&&FT(e,i)||i;Kf(e[o])&&Kf(r)?e[o]=Am(e[o],r):Kf(r)?e[o]=Am({},r):Ol(r)?e[o]=r.slice():e[o]=r};for(let r=0,i=arguments.length;r<i;r++)arguments[r]&&Ic(arguments[r],n);return e}const kO=(t,e,n,{allOwnKeys:r}={})=>(Ic(e,(i,o)=>{n&&Zr(i)?t[o]=IT(i,n):t[o]=i},{allOwnKeys:r}),t),AO=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),RO=(t,e,n,r)=>{t.prototype=Object.create(e.prototype,r),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),n&&Object.assign(t.prototype,n)},CO=(t,e,n,r)=>{let i,o,s;const a={};if(e=e||{},t==null)return e;do{for(i=Object.getOwnPropertyNames(t),o=i.length;o-- >0;)s=i[o],(!r||r(s,t,e))&&!a[s]&&(e[s]=t[s],a[s]=!0);t=n!==!1&&Qg(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},xO=(t,e,n)=>{t=String(t),(n===void 0||n>t.length)&&(n=t.length),n-=e.length;const r=t.indexOf(e,n);return r!==-1&&r===n},PO=t=>{if(!t)return null;if(Ol(t))return t;let e=t.length;if(!MT(e))return null;const n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},IO=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&Qg(Uint8Array)),LO=(t,e)=>{const r=(t&&t[ah]).call(t);let i;for(;(i=r.next())&&!i.done;){const o=i.value;e.call(t,o[0],o[1])}},OO=(t,e)=>{let n;const r=[];for(;(n=t.exec(e))!==null;)r.push(n);return r},MO=Zi("HTMLFormElement"),FO=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,i){return r.toUpperCase()+i}),Oy=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),DO=Zi("RegExp"),$T=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),r={};Ic(n,(i,o)=>{let s;(s=e(i,o,t))!==!1&&(r[o]=s||i)}),Object.defineProperties(t,r)},$O=t=>{$T(t,(e,n)=>{if(Zr(t)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=t[n];if(Zr(r)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},HO=(t,e)=>{const n={},r=i=>{i.forEach(o=>{n[o]=!0})};return Ol(t)?r(t):r(String(t).split(e)),n},NO=()=>{},BO=(t,e)=>t!=null&&Number.isFinite(t=+t)?t:e;function VO(t){return!!(t&&Zr(t.append)&&t[LT]==="FormData"&&t[ah])}const UO=t=>{const e=new Array(10),n=(r,i)=>{if(ch(r)){if(e.indexOf(r)>=0)return;if(!("toJSON"in r)){e[i]=r;const o=Ol(r)?[]:{};return Ic(r,(s,a)=>{const u=n(s,i+1);!pc(u)&&(o[a]=u)}),e[i]=void 0,o}}return r};return n(t,0)},jO=Zi("AsyncFunction"),WO=t=>t&&(ch(t)||Zr(t))&&Zr(t.then)&&Zr(t.catch),HT=((t,e)=>t?setImmediate:e?((n,r)=>(oa.addEventListener("message",({source:i,data:o})=>{i===oa&&o===n&&r.length&&r.shift()()},!1),i=>{r.push(i),oa.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Zr(oa.postMessage)),zO=typeof queueMicrotask<"u"?queueMicrotask.bind(oa):typeof process<"u"&&process.nextTick||HT,qO=t=>t!=null&&Zr(t[ah]),Re={isArray:Ol,isArrayBuffer:OT,isBuffer:uO,isFormData:vO,isArrayBufferView:cO,isString:fO,isNumber:MT,isBoolean:dO,isObject:ch,isPlainObject:Kf,isReadableStream:bO,isRequest:wO,isResponse:SO,isHeaders:TO,isUndefined:pc,isDate:hO,isFile:pO,isBlob:mO,isRegExp:DO,isFunction:Zr,isStream:_O,isURLSearchParams:yO,isTypedArray:IO,isFileList:gO,forEach:Ic,merge:Am,extend:kO,trim:EO,stripBOM:AO,inherits:RO,toFlatObject:CO,kindOf:lh,kindOfTest:Zi,endsWith:xO,toArray:PO,forEachEntry:LO,matchAll:OO,isHTMLForm:MO,hasOwnProperty:Oy,hasOwnProp:Oy,reduceDescriptors:$T,freezeMethods:$O,toObjectSet:HO,toCamelCase:FO,noop:NO,toFiniteNumber:BO,findKey:FT,global:oa,isContextDefined:DT,isSpecCompliantForm:VO,toJSONObject:UO,isAsyncFn:jO,isThenable:WO,setImmediate:HT,asap:zO,isIterable:qO};function yt(t,e,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=t,this.name="AxiosError",e&&(this.code=e),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i,this.status=i.status?i.status:null)}Re.inherits(yt,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:Re.toJSONObject(this.config),code:this.code,status:this.status}}});const NT=yt.prototype,BT={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(t=>{BT[t]={value:t}});Object.defineProperties(yt,BT);Object.defineProperty(NT,"isAxiosError",{value:!0});yt.from=(t,e,n,r,i,o)=>{const s=Object.create(NT);return Re.toFlatObject(t,s,function(u){return u!==Error.prototype},a=>a!=="isAxiosError"),yt.call(s,t.message,e,n,r,i),s.cause=t,s.name=t.name,o&&Object.assign(s,o),s};const GO=null;function Rm(t){return Re.isPlainObject(t)||Re.isArray(t)}function VT(t){return Re.endsWith(t,"[]")?t.slice(0,-2):t}function My(t,e,n){return t?t.concat(e).map(function(i,o){return i=VT(i),!n&&o?"["+i+"]":i}).join(n?".":""):e}function YO(t){return Re.isArray(t)&&!t.some(Rm)}const KO=Re.toFlatObject(Re,{},null,function(e){return/^is[A-Z]/.test(e)});function fh(t,e,n){if(!Re.isObject(t))throw new TypeError("target must be an object");e=e||new FormData,n=Re.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(g,b){return!Re.isUndefined(b[g])});const r=n.metaTokens,i=n.visitor||h,o=n.dots,s=n.indexes,u=(n.Blob||typeof Blob<"u"&&Blob)&&Re.isSpecCompliantForm(e);if(!Re.isFunction(i))throw new TypeError("visitor must be a function");function c(_){if(_===null)return"";if(Re.isDate(_))return _.toISOString();if(!u&&Re.isBlob(_))throw new yt("Blob is not supported. Use a Buffer instead.");return Re.isArrayBuffer(_)||Re.isTypedArray(_)?u&&typeof Blob=="function"?new Blob([_]):Buffer.from(_):_}function h(_,g,b){let y=_;if(_&&!b&&typeof _=="object"){if(Re.endsWith(g,"{}"))g=r?g:g.slice(0,-2),_=JSON.stringify(_);else if(Re.isArray(_)&&YO(_)||(Re.isFileList(_)||Re.endsWith(g,"[]"))&&(y=Re.toArray(_)))return g=VT(g),y.forEach(function(A,k){!(Re.isUndefined(A)||A===null)&&e.append(s===!0?My([g],k,o):s===null?g:g+"[]",c(A))}),!1}return Rm(_)?!0:(e.append(My(b,g,o),c(_)),!1)}const l=[],d=Object.assign(KO,{defaultVisitor:h,convertValue:c,isVisitable:Rm});function f(_,g){if(!Re.isUndefined(_)){if(l.indexOf(_)!==-1)throw Error("Circular reference detected in "+g.join("."));l.push(_),Re.forEach(_,function(y,w){(!(Re.isUndefined(y)||y===null)&&i.call(e,y,Re.isString(w)?w.trim():w,g,d))===!0&&f(y,g?g.concat(w):[w])}),l.pop()}}if(!Re.isObject(t))throw new TypeError("data must be an object");return f(t),e}function Fy(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(r){return e[r]})}function Jg(t,e){this._pairs=[],t&&fh(t,this,e)}const UT=Jg.prototype;UT.append=function(e,n){this._pairs.push([e,n])};UT.toString=function(e){const n=e?function(r){return e.call(this,r,Fy)}:Fy;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function XO(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function jT(t,e,n){if(!e)return t;const r=n&&n.encode||XO;Re.isFunction(n)&&(n={serialize:n});const i=n&&n.serialize;let o;if(i?o=i(e,n):o=Re.isURLSearchParams(e)?e.toString():new Jg(e,n).toString(r),o){const s=t.indexOf("#");s!==-1&&(t=t.slice(0,s)),t+=(t.indexOf("?")===-1?"?":"&")+o}return t}class Dy{constructor(){this.handlers=[]}use(e,n,r){return this.handlers.push({fulfilled:e,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){Re.forEach(this.handlers,function(r){r!==null&&e(r)})}}const WT={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},QO=typeof URLSearchParams<"u"?URLSearchParams:Jg,JO=typeof FormData<"u"?FormData:null,ZO=typeof Blob<"u"?Blob:null,eM={isBrowser:!0,classes:{URLSearchParams:QO,FormData:JO,Blob:ZO},protocols:["http","https","file","blob","url","data"]},Zg=typeof window<"u"&&typeof document<"u",Cm=typeof navigator=="object"&&navigator||void 0,tM=Zg&&(!Cm||["ReactNative","NativeScript","NS"].indexOf(Cm.product)<0),nM=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",rM=Zg&&window.location.href||"http://localhost",iM=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Zg,hasStandardBrowserEnv:tM,hasStandardBrowserWebWorkerEnv:nM,navigator:Cm,origin:rM},Symbol.toStringTag,{value:"Module"})),Cr={...iM,...eM};function oM(t,e){return fh(t,new Cr.classes.URLSearchParams,Object.assign({visitor:function(n,r,i,o){return Cr.isNode&&Re.isBuffer(n)?(this.append(r,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},e))}function sM(t){return Re.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function aM(t){const e={},n=Object.keys(t);let r;const i=n.length;let o;for(r=0;r<i;r++)o=n[r],e[o]=t[o];return e}function zT(t){function e(n,r,i,o){let s=n[o++];if(s==="__proto__")return!0;const a=Number.isFinite(+s),u=o>=n.length;return s=!s&&Re.isArray(i)?i.length:s,u?(Re.hasOwnProp(i,s)?i[s]=[i[s],r]:i[s]=r,!a):((!i[s]||!Re.isObject(i[s]))&&(i[s]=[]),e(n,r,i[s],o)&&Re.isArray(i[s])&&(i[s]=aM(i[s])),!a)}if(Re.isFormData(t)&&Re.isFunction(t.entries)){const n={};return Re.forEachEntry(t,(r,i)=>{e(sM(r),i,n,0)}),n}return null}function lM(t,e,n){if(Re.isString(t))try{return(e||JSON.parse)(t),Re.trim(t)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(t)}const Lc={transitional:WT,adapter:["xhr","http","fetch"],transformRequest:[function(e,n){const r=n.getContentType()||"",i=r.indexOf("application/json")>-1,o=Re.isObject(e);if(o&&Re.isHTMLForm(e)&&(e=new FormData(e)),Re.isFormData(e))return i?JSON.stringify(zT(e)):e;if(Re.isArrayBuffer(e)||Re.isBuffer(e)||Re.isStream(e)||Re.isFile(e)||Re.isBlob(e)||Re.isReadableStream(e))return e;if(Re.isArrayBufferView(e))return e.buffer;if(Re.isURLSearchParams(e))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let a;if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1)return oM(e,this.formSerializer).toString();if((a=Re.isFileList(e))||r.indexOf("multipart/form-data")>-1){const u=this.env&&this.env.FormData;return fh(a?{"files[]":e}:e,u&&new u,this.formSerializer)}}return o||i?(n.setContentType("application/json",!1),lM(e)):e}],transformResponse:[function(e){const n=this.transitional||Lc.transitional,r=n&&n.forcedJSONParsing,i=this.responseType==="json";if(Re.isResponse(e)||Re.isReadableStream(e))return e;if(e&&Re.isString(e)&&(r&&!this.responseType||i)){const s=!(n&&n.silentJSONParsing)&&i;try{return JSON.parse(e)}catch(a){if(s)throw a.name==="SyntaxError"?yt.from(a,yt.ERR_BAD_RESPONSE,this,null,this.response):a}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Cr.classes.FormData,Blob:Cr.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Re.forEach(["delete","get","head","post","put","patch"],t=>{Lc.headers[t]={}});const uM=Re.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),cM=t=>{const e={};let n,r,i;return t&&t.split(`
`).forEach(function(s){i=s.indexOf(":"),n=s.substring(0,i).trim().toLowerCase(),r=s.substring(i+1).trim(),!(!n||e[n]&&uM[n])&&(n==="set-cookie"?e[n]?e[n].push(r):e[n]=[r]:e[n]=e[n]?e[n]+", "+r:r)}),e},$y=Symbol("internals");function su(t){return t&&String(t).trim().toLowerCase()}function Xf(t){return t===!1||t==null?t:Re.isArray(t)?t.map(Xf):String(t)}function fM(t){const e=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(t);)e[r[1]]=r[2];return e}const dM=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function fp(t,e,n,r,i){if(Re.isFunction(r))return r.call(this,e,n);if(i&&(e=n),!!Re.isString(e)){if(Re.isString(r))return e.indexOf(r)!==-1;if(Re.isRegExp(r))return r.test(e)}}function hM(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,n,r)=>n.toUpperCase()+r)}function pM(t,e){const n=Re.toCamelCase(" "+e);["get","set","has"].forEach(r=>{Object.defineProperty(t,r+n,{value:function(i,o,s){return this[r].call(this,e,i,o,s)},configurable:!0})})}let ei=class{constructor(e){e&&this.set(e)}set(e,n,r){const i=this;function o(a,u,c){const h=su(u);if(!h)throw new Error("header name must be a non-empty string");const l=Re.findKey(i,h);(!l||i[l]===void 0||c===!0||c===void 0&&i[l]!==!1)&&(i[l||u]=Xf(a))}const s=(a,u)=>Re.forEach(a,(c,h)=>o(c,h,u));if(Re.isPlainObject(e)||e instanceof this.constructor)s(e,n);else if(Re.isString(e)&&(e=e.trim())&&!dM(e))s(cM(e),n);else if(Re.isObject(e)&&Re.isIterable(e)){let a={},u,c;for(const h of e){if(!Re.isArray(h))throw TypeError("Object iterator must return a key-value pair");a[c=h[0]]=(u=a[c])?Re.isArray(u)?[...u,h[1]]:[u,h[1]]:h[1]}s(a,n)}else e!=null&&o(n,e,r);return this}get(e,n){if(e=su(e),e){const r=Re.findKey(this,e);if(r){const i=this[r];if(!n)return i;if(n===!0)return fM(i);if(Re.isFunction(n))return n.call(this,i,r);if(Re.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,n){if(e=su(e),e){const r=Re.findKey(this,e);return!!(r&&this[r]!==void 0&&(!n||fp(this,this[r],r,n)))}return!1}delete(e,n){const r=this;let i=!1;function o(s){if(s=su(s),s){const a=Re.findKey(r,s);a&&(!n||fp(r,r[a],a,n))&&(delete r[a],i=!0)}}return Re.isArray(e)?e.forEach(o):o(e),i}clear(e){const n=Object.keys(this);let r=n.length,i=!1;for(;r--;){const o=n[r];(!e||fp(this,this[o],o,e,!0))&&(delete this[o],i=!0)}return i}normalize(e){const n=this,r={};return Re.forEach(this,(i,o)=>{const s=Re.findKey(r,o);if(s){n[s]=Xf(i),delete n[o];return}const a=e?hM(o):String(o).trim();a!==o&&delete n[o],n[a]=Xf(i),r[a]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const n=Object.create(null);return Re.forEach(this,(r,i)=>{r!=null&&r!==!1&&(n[i]=e&&Re.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,n])=>e+": "+n).join(`
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...n){const r=new this(e);return n.forEach(i=>r.set(i)),r}static accessor(e){const r=(this[$y]=this[$y]={accessors:{}}).accessors,i=this.prototype;function o(s){const a=su(s);r[a]||(pM(i,s),r[a]=!0)}return Re.isArray(e)?e.forEach(o):o(e),this}};ei.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);Re.reduceDescriptors(ei.prototype,({value:t},e)=>{let n=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(r){this[n]=r}}});Re.freezeMethods(ei);function dp(t,e){const n=this||Lc,r=e||n,i=ei.from(r.headers);let o=r.data;return Re.forEach(t,function(a){o=a.call(n,o,i.normalize(),e?e.status:void 0)}),i.normalize(),o}function qT(t){return!!(t&&t.__CANCEL__)}function Ml(t,e,n){yt.call(this,t??"canceled",yt.ERR_CANCELED,e,n),this.name="CanceledError"}Re.inherits(Ml,yt,{__CANCEL__:!0});function GT(t,e,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?t(n):e(new yt("Request failed with status code "+n.status,[yt.ERR_BAD_REQUEST,yt.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function mM(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function gM(t,e){t=t||10;const n=new Array(t),r=new Array(t);let i=0,o=0,s;return e=e!==void 0?e:1e3,function(u){const c=Date.now(),h=r[o];s||(s=c),n[i]=u,r[i]=c;let l=o,d=0;for(;l!==i;)d+=n[l++],l=l%t;if(i=(i+1)%t,i===o&&(o=(o+1)%t),c-s<e)return;const f=h&&c-h;return f?Math.round(d*1e3/f):void 0}}function _M(t,e){let n=0,r=1e3/e,i,o;const s=(c,h=Date.now())=>{n=h,i=null,o&&(clearTimeout(o),o=null),t.apply(null,c)};return[(...c)=>{const h=Date.now(),l=h-n;l>=r?s(c,h):(i=c,o||(o=setTimeout(()=>{o=null,s(i)},r-l)))},()=>i&&s(i)]}const xd=(t,e,n=3)=>{let r=0;const i=gM(50,250);return _M(o=>{const s=o.loaded,a=o.lengthComputable?o.total:void 0,u=s-r,c=i(u),h=s<=a;r=s;const l={loaded:s,total:a,progress:a?s/a:void 0,bytes:u,rate:c||void 0,estimated:c&&a&&h?(a-s)/c:void 0,event:o,lengthComputable:a!=null,[e?"download":"upload"]:!0};t(l)},n)},Hy=(t,e)=>{const n=t!=null;return[r=>e[0]({lengthComputable:n,total:t,loaded:r}),e[1]]},Ny=t=>(...e)=>Re.asap(()=>t(...e)),vM=Cr.hasStandardBrowserEnv?((t,e)=>n=>(n=new URL(n,Cr.origin),t.protocol===n.protocol&&t.host===n.host&&(e||t.port===n.port)))(new URL(Cr.origin),Cr.navigator&&/(msie|trident)/i.test(Cr.navigator.userAgent)):()=>!0,yM=Cr.hasStandardBrowserEnv?{write(t,e,n,r,i,o){const s=[t+"="+encodeURIComponent(e)];Re.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),Re.isString(r)&&s.push("path="+r),Re.isString(i)&&s.push("domain="+i),o===!0&&s.push("secure"),document.cookie=s.join("; ")},read(t){const e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(t){this.write(t,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function bM(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function wM(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}function YT(t,e,n){let r=!bM(e);return t&&(r||n==!1)?wM(t,e):e}const By=t=>t instanceof ei?{...t}:t;function Aa(t,e){e=e||{};const n={};function r(c,h,l,d){return Re.isPlainObject(c)&&Re.isPlainObject(h)?Re.merge.call({caseless:d},c,h):Re.isPlainObject(h)?Re.merge({},h):Re.isArray(h)?h.slice():h}function i(c,h,l,d){if(Re.isUndefined(h)){if(!Re.isUndefined(c))return r(void 0,c,l,d)}else return r(c,h,l,d)}function o(c,h){if(!Re.isUndefined(h))return r(void 0,h)}function s(c,h){if(Re.isUndefined(h)){if(!Re.isUndefined(c))return r(void 0,c)}else return r(void 0,h)}function a(c,h,l){if(l in e)return r(c,h);if(l in t)return r(void 0,c)}const u={url:o,method:o,data:o,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:a,headers:(c,h,l)=>i(By(c),By(h),l,!0)};return Re.forEach(Object.keys(Object.assign({},t,e)),function(h){const l=u[h]||i,d=l(t[h],e[h],h);Re.isUndefined(d)&&l!==a||(n[h]=d)}),n}const KT=t=>{const e=Aa({},t);let{data:n,withXSRFToken:r,xsrfHeaderName:i,xsrfCookieName:o,headers:s,auth:a}=e;e.headers=s=ei.from(s),e.url=jT(YT(e.baseURL,e.url,e.allowAbsoluteUrls),t.params,t.paramsSerializer),a&&s.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):"")));let u;if(Re.isFormData(n)){if(Cr.hasStandardBrowserEnv||Cr.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if((u=s.getContentType())!==!1){const[c,...h]=u?u.split(";").map(l=>l.trim()).filter(Boolean):[];s.setContentType([c||"multipart/form-data",...h].join("; "))}}if(Cr.hasStandardBrowserEnv&&(r&&Re.isFunction(r)&&(r=r(e)),r||r!==!1&&vM(e.url))){const c=i&&o&&yM.read(o);c&&s.set(i,c)}return e},SM=typeof XMLHttpRequest<"u",TM=SM&&function(t){return new Promise(function(n,r){const i=KT(t);let o=i.data;const s=ei.from(i.headers).normalize();let{responseType:a,onUploadProgress:u,onDownloadProgress:c}=i,h,l,d,f,_;function g(){f&&f(),_&&_(),i.cancelToken&&i.cancelToken.unsubscribe(h),i.signal&&i.signal.removeEventListener("abort",h)}let b=new XMLHttpRequest;b.open(i.method.toUpperCase(),i.url,!0),b.timeout=i.timeout;function y(){if(!b)return;const A=ei.from("getAllResponseHeaders"in b&&b.getAllResponseHeaders()),R={data:!a||a==="text"||a==="json"?b.responseText:b.response,status:b.status,statusText:b.statusText,headers:A,config:t,request:b};GT(function(L){n(L),g()},function(L){r(L),g()},R),b=null}"onloadend"in b?b.onloadend=y:b.onreadystatechange=function(){!b||b.readyState!==4||b.status===0&&!(b.responseURL&&b.responseURL.indexOf("file:")===0)||setTimeout(y)},b.onabort=function(){b&&(r(new yt("Request aborted",yt.ECONNABORTED,t,b)),b=null)},b.onerror=function(){r(new yt("Network Error",yt.ERR_NETWORK,t,b)),b=null},b.ontimeout=function(){let k=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const R=i.transitional||WT;i.timeoutErrorMessage&&(k=i.timeoutErrorMessage),r(new yt(k,R.clarifyTimeoutError?yt.ETIMEDOUT:yt.ECONNABORTED,t,b)),b=null},o===void 0&&s.setContentType(null),"setRequestHeader"in b&&Re.forEach(s.toJSON(),function(k,R){b.setRequestHeader(R,k)}),Re.isUndefined(i.withCredentials)||(b.withCredentials=!!i.withCredentials),a&&a!=="json"&&(b.responseType=i.responseType),c&&([d,_]=xd(c,!0),b.addEventListener("progress",d)),u&&b.upload&&([l,f]=xd(u),b.upload.addEventListener("progress",l),b.upload.addEventListener("loadend",f)),(i.cancelToken||i.signal)&&(h=A=>{b&&(r(!A||A.type?new Ml(null,t,b):A),b.abort(),b=null)},i.cancelToken&&i.cancelToken.subscribe(h),i.signal&&(i.signal.aborted?h():i.signal.addEventListener("abort",h)));const w=mM(i.url);if(w&&Cr.protocols.indexOf(w)===-1){r(new yt("Unsupported protocol "+w+":",yt.ERR_BAD_REQUEST,t));return}b.send(o||null)})},EM=(t,e)=>{const{length:n}=t=t?t.filter(Boolean):[];if(e||n){let r=new AbortController,i;const o=function(c){if(!i){i=!0,a();const h=c instanceof Error?c:this.reason;r.abort(h instanceof yt?h:new Ml(h instanceof Error?h.message:h))}};let s=e&&setTimeout(()=>{s=null,o(new yt(`timeout ${e} of ms exceeded`,yt.ETIMEDOUT))},e);const a=()=>{t&&(s&&clearTimeout(s),s=null,t.forEach(c=>{c.unsubscribe?c.unsubscribe(o):c.removeEventListener("abort",o)}),t=null)};t.forEach(c=>c.addEventListener("abort",o));const{signal:u}=r;return u.unsubscribe=()=>Re.asap(a),u}},kM=function*(t,e){let n=t.byteLength;if(n<e){yield t;return}let r=0,i;for(;r<n;)i=r+e,yield t.slice(r,i),r=i},AM=async function*(t,e){for await(const n of RM(t))yield*kM(n,e)},RM=async function*(t){if(t[Symbol.asyncIterator]){yield*t;return}const e=t.getReader();try{for(;;){const{done:n,value:r}=await e.read();if(n)break;yield r}}finally{await e.cancel()}},Vy=(t,e,n,r)=>{const i=AM(t,e);let o=0,s,a=u=>{s||(s=!0,r&&r(u))};return new ReadableStream({async pull(u){try{const{done:c,value:h}=await i.next();if(c){a(),u.close();return}let l=h.byteLength;if(n){let d=o+=l;n(d)}u.enqueue(new Uint8Array(h))}catch(c){throw a(c),c}},cancel(u){return a(u),i.return()}},{highWaterMark:2})},dh=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",XT=dh&&typeof ReadableStream=="function",CM=dh&&(typeof TextEncoder=="function"?(t=>e=>t.encode(e))(new TextEncoder):async t=>new Uint8Array(await new Response(t).arrayBuffer())),QT=(t,...e)=>{try{return!!t(...e)}catch{return!1}},xM=XT&&QT(()=>{let t=!1;const e=new Request(Cr.origin,{body:new ReadableStream,method:"POST",get duplex(){return t=!0,"half"}}).headers.has("Content-Type");return t&&!e}),Uy=64*1024,xm=XT&&QT(()=>Re.isReadableStream(new Response("").body)),Pd={stream:xm&&(t=>t.body)};dh&&(t=>{["text","arrayBuffer","blob","formData","stream"].forEach(e=>{!Pd[e]&&(Pd[e]=Re.isFunction(t[e])?n=>n[e]():(n,r)=>{throw new yt(`Response type '${e}' is not supported`,yt.ERR_NOT_SUPPORT,r)})})})(new Response);const PM=async t=>{if(t==null)return 0;if(Re.isBlob(t))return t.size;if(Re.isSpecCompliantForm(t))return(await new Request(Cr.origin,{method:"POST",body:t}).arrayBuffer()).byteLength;if(Re.isArrayBufferView(t)||Re.isArrayBuffer(t))return t.byteLength;if(Re.isURLSearchParams(t)&&(t=t+""),Re.isString(t))return(await CM(t)).byteLength},IM=async(t,e)=>{const n=Re.toFiniteNumber(t.getContentLength());return n??PM(e)},LM=dh&&(async t=>{let{url:e,method:n,data:r,signal:i,cancelToken:o,timeout:s,onDownloadProgress:a,onUploadProgress:u,responseType:c,headers:h,withCredentials:l="same-origin",fetchOptions:d}=KT(t);c=c?(c+"").toLowerCase():"text";let f=EM([i,o&&o.toAbortSignal()],s),_;const g=f&&f.unsubscribe&&(()=>{f.unsubscribe()});let b;try{if(u&&xM&&n!=="get"&&n!=="head"&&(b=await IM(h,r))!==0){let R=new Request(e,{method:"POST",body:r,duplex:"half"}),x;if(Re.isFormData(r)&&(x=R.headers.get("content-type"))&&h.setContentType(x),R.body){const[L,F]=Hy(b,xd(Ny(u)));r=Vy(R.body,Uy,L,F)}}Re.isString(l)||(l=l?"include":"omit");const y="credentials"in Request.prototype;_=new Request(e,{...d,signal:f,method:n.toUpperCase(),headers:h.normalize().toJSON(),body:r,duplex:"half",credentials:y?l:void 0});let w=await fetch(_);const A=xm&&(c==="stream"||c==="response");if(xm&&(a||A&&g)){const R={};["status","statusText","headers"].forEach(H=>{R[H]=w[H]});const x=Re.toFiniteNumber(w.headers.get("content-length")),[L,F]=a&&Hy(x,xd(Ny(a),!0))||[];w=new Response(Vy(w.body,Uy,L,()=>{F&&F(),g&&g()}),R)}c=c||"text";let k=await Pd[Re.findKey(Pd,c)||"text"](w,t);return!A&&g&&g(),await new Promise((R,x)=>{GT(R,x,{data:k,headers:ei.from(w.headers),status:w.status,statusText:w.statusText,config:t,request:_})})}catch(y){throw g&&g(),y&&y.name==="TypeError"&&/Load failed|fetch/i.test(y.message)?Object.assign(new yt("Network Error",yt.ERR_NETWORK,t,_),{cause:y.cause||y}):yt.from(y,y&&y.code,t,_)}}),Pm={http:GO,xhr:TM,fetch:LM};Re.forEach(Pm,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch{}Object.defineProperty(t,"adapterName",{value:e})}});const jy=t=>`- ${t}`,OM=t=>Re.isFunction(t)||t===null||t===!1,JT={getAdapter:t=>{t=Re.isArray(t)?t:[t];const{length:e}=t;let n,r;const i={};for(let o=0;o<e;o++){n=t[o];let s;if(r=n,!OM(n)&&(r=Pm[(s=String(n)).toLowerCase()],r===void 0))throw new yt(`Unknown adapter '${s}'`);if(r)break;i[s||"#"+o]=r}if(!r){const o=Object.entries(i).map(([a,u])=>`adapter ${a} `+(u===!1?"is not supported by the environment":"is not available in the build"));let s=e?o.length>1?`since :
`+o.map(jy).join(`
`):" "+jy(o[0]):"as no adapter specified";throw new yt("There is no suitable adapter to dispatch the request "+s,"ERR_NOT_SUPPORT")}return r},adapters:Pm};function hp(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new Ml(null,t)}function Wy(t){return hp(t),t.headers=ei.from(t.headers),t.data=dp.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),JT.getAdapter(t.adapter||Lc.adapter)(t).then(function(r){return hp(t),r.data=dp.call(t,t.transformResponse,r),r.headers=ei.from(r.headers),r},function(r){return qT(r)||(hp(t),r&&r.response&&(r.response.data=dp.call(t,t.transformResponse,r.response),r.response.headers=ei.from(r.response.headers))),Promise.reject(r)})}const ZT="1.9.0",hh={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{hh[t]=function(r){return typeof r===t||"a"+(e<1?"n ":" ")+t}});const zy={};hh.transitional=function(e,n,r){function i(o,s){return"[Axios v"+ZT+"] Transitional option '"+o+"'"+s+(r?". "+r:"")}return(o,s,a)=>{if(e===!1)throw new yt(i(s," has been removed"+(n?" in "+n:"")),yt.ERR_DEPRECATED);return n&&!zy[s]&&(zy[s]=!0,console.warn(i(s," has been deprecated since v"+n+" and will be removed in the near future"))),e?e(o,s,a):!0}};hh.spelling=function(e){return(n,r)=>(console.warn(`${r} is likely a misspelling of ${e}`),!0)};function MM(t,e,n){if(typeof t!="object")throw new yt("options must be an object",yt.ERR_BAD_OPTION_VALUE);const r=Object.keys(t);let i=r.length;for(;i-- >0;){const o=r[i],s=e[o];if(s){const a=t[o],u=a===void 0||s(a,o,t);if(u!==!0)throw new yt("option "+o+" must be "+u,yt.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new yt("Unknown option "+o,yt.ERR_BAD_OPTION)}}const Qf={assertOptions:MM,validators:hh},so=Qf.validators;let ma=class{constructor(e){this.defaults=e||{},this.interceptors={request:new Dy,response:new Dy}}async request(e,n){try{return await this._request(e,n)}catch(r){if(r instanceof Error){let i={};Error.captureStackTrace?Error.captureStackTrace(i):i=new Error;const o=i.stack?i.stack.replace(/^.+\n/,""):"";try{r.stack?o&&!String(r.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(r.stack+=`
`+o):r.stack=o}catch{}}throw r}}_request(e,n){typeof e=="string"?(n=n||{},n.url=e):n=e||{},n=Aa(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:o}=n;r!==void 0&&Qf.assertOptions(r,{silentJSONParsing:so.transitional(so.boolean),forcedJSONParsing:so.transitional(so.boolean),clarifyTimeoutError:so.transitional(so.boolean)},!1),i!=null&&(Re.isFunction(i)?n.paramsSerializer={serialize:i}:Qf.assertOptions(i,{encode:so.function,serialize:so.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),Qf.assertOptions(n,{baseUrl:so.spelling("baseURL"),withXsrfToken:so.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let s=o&&Re.merge(o.common,o[n.method]);o&&Re.forEach(["delete","get","head","post","put","patch","common"],_=>{delete o[_]}),n.headers=ei.concat(s,o);const a=[];let u=!0;this.interceptors.request.forEach(function(g){typeof g.runWhen=="function"&&g.runWhen(n)===!1||(u=u&&g.synchronous,a.unshift(g.fulfilled,g.rejected))});const c=[];this.interceptors.response.forEach(function(g){c.push(g.fulfilled,g.rejected)});let h,l=0,d;if(!u){const _=[Wy.bind(this),void 0];for(_.unshift.apply(_,a),_.push.apply(_,c),d=_.length,h=Promise.resolve(n);l<d;)h=h.then(_[l++],_[l++]);return h}d=a.length;let f=n;for(l=0;l<d;){const _=a[l++],g=a[l++];try{f=_(f)}catch(b){g.call(this,b);break}}try{h=Wy.call(this,f)}catch(_){return Promise.reject(_)}for(l=0,d=c.length;l<d;)h=h.then(c[l++],c[l++]);return h}getUri(e){e=Aa(this.defaults,e);const n=YT(e.baseURL,e.url,e.allowAbsoluteUrls);return jT(n,e.params,e.paramsSerializer)}};Re.forEach(["delete","get","head","options"],function(e){ma.prototype[e]=function(n,r){return this.request(Aa(r||{},{method:e,url:n,data:(r||{}).data}))}});Re.forEach(["post","put","patch"],function(e){function n(r){return function(o,s,a){return this.request(Aa(a||{},{method:e,headers:r?{"Content-Type":"multipart/form-data"}:{},url:o,data:s}))}}ma.prototype[e]=n(),ma.prototype[e+"Form"]=n(!0)});let FM=class eE{constructor(e){if(typeof e!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(o){n=o});const r=this;this.promise.then(i=>{if(!r._listeners)return;let o=r._listeners.length;for(;o-- >0;)r._listeners[o](i);r._listeners=null}),this.promise.then=i=>{let o;const s=new Promise(a=>{r.subscribe(a),o=a}).then(i);return s.cancel=function(){r.unsubscribe(o)},s},e(function(o,s,a){r.reason||(r.reason=new Ml(o,s,a),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const n=this._listeners.indexOf(e);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const e=new AbortController,n=r=>{e.abort(r)};return this.subscribe(n),e.signal.unsubscribe=()=>this.unsubscribe(n),e.signal}static source(){let e;return{token:new eE(function(i){e=i}),cancel:e}}};function DM(t){return function(n){return t.apply(null,n)}}function $M(t){return Re.isObject(t)&&t.isAxiosError===!0}const Im={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Im).forEach(([t,e])=>{Im[e]=t});function tE(t){const e=new ma(t),n=IT(ma.prototype.request,e);return Re.extend(n,ma.prototype,e,{allOwnKeys:!0}),Re.extend(n,e,null,{allOwnKeys:!0}),n.create=function(i){return tE(Aa(t,i))},n}const Mn=tE(Lc);Mn.Axios=ma;Mn.CanceledError=Ml;Mn.CancelToken=FM;Mn.isCancel=qT;Mn.VERSION=ZT;Mn.toFormData=fh;Mn.AxiosError=yt;Mn.Cancel=Mn.CanceledError;Mn.all=function(e){return Promise.all(e)};Mn.spread=DM;Mn.isAxiosError=$M;Mn.mergeConfig=Aa;Mn.AxiosHeaders=ei;Mn.formToJSON=t=>zT(Re.isHTMLForm(t)?new FormData(t):t);Mn.getAdapter=JT.getAdapter;Mn.HttpStatusCode=Im;Mn.default=Mn;const{Axios:w8,AxiosError:S8,CanceledError:T8,isCancel:E8,CancelToken:k8,VERSION:A8,all:R8,Cancel:C8,isAxiosError:x8,spread:P8,toFormData:I8,AxiosHeaders:L8,HttpStatusCode:O8,formToJSON:M8,getAdapter:F8,mergeConfig:D8}=Mn;class HM{debugStartHttpRequest(){}debugSuccessHttpRequest(){}debugRetryHttpRequest(){}}const Xi=new HM;var Qi=function(t,e,n,r){function i(o){return o instanceof n?o:new n(function(s){s(o)})}return new(n||(n=Promise))(function(o,s){function a(h){try{c(r.next(h))}catch(l){s(l)}}function u(h){try{c(r.throw(h))}catch(l){s(l)}}function c(h){h.done?o(h.value):i(h.value).then(a,u)}c((r=r.apply(t,e||[])).next())})};function NM(t,e,n,r){var i;return Qi(this,void 0,void 0,function*(){const o=(i=r==null?void 0:r.retryStrategy)!==null&&i!==void 0?i:Pa.defaultRetryStrategy;return yield Fl({retryAttempt:0,url:e.url,retryStrategy:o,functionsConfig:n,call:s=>Qi(this,void 0,void 0,function*(){var a,u;Xi.debugStartHttpRequest();const c=yield t.get(e.url,{headers:Oc((a=r==null?void 0:r.headers)!==null&&a!==void 0?a:[]),responseType:r==null?void 0:r.responseType,cancelToken:(u=r==null?void 0:r.cancelToken)===null||u===void 0?void 0:u.token}),h={data:c.data,rawResponse:c,headers:Ll(c),status:c.status,retryStrategy:{options:o,retryAttempts:s}};return Xi.debugSuccessHttpRequest(),h})})})}function BM(t,e,n,r){var i;return Qi(this,void 0,void 0,function*(){const o=(i=r==null?void 0:r.retryStrategy)!==null&&i!==void 0?i:Pa.defaultRetryStrategy;return yield Fl({retryAttempt:0,url:e.url,retryStrategy:o,functionsConfig:n,call:s=>Qi(this,void 0,void 0,function*(){var a,u;Xi.debugStartHttpRequest();const c=yield t.post(e.url,e.body,{headers:Oc((a=r==null?void 0:r.headers)!==null&&a!==void 0?a:[]),responseType:r==null?void 0:r.responseType,maxContentLength:"Infinity",maxBodyLength:"Infinity",cancelToken:(u=r==null?void 0:r.cancelToken)===null||u===void 0?void 0:u.token}),h={data:c.data,rawResponse:c,headers:Ll(c),status:c.status,retryStrategy:{options:o,retryAttempts:s}};return Xi.debugSuccessHttpRequest(),h})})})}function VM(t,e,n,r){var i;return Qi(this,void 0,void 0,function*(){const o=(i=r==null?void 0:r.retryStrategy)!==null&&i!==void 0?i:Pa.defaultRetryStrategy;return yield Fl({retryAttempt:0,url:e.url,retryStrategy:o,functionsConfig:n,call:s=>Qi(this,void 0,void 0,function*(){var a,u;Xi.debugStartHttpRequest();const c=yield t.put(e.url,e.body,{headers:Oc((a=r==null?void 0:r.headers)!==null&&a!==void 0?a:[]),responseType:r==null?void 0:r.responseType,maxContentLength:"Infinity",maxBodyLength:"Infinity",cancelToken:(u=r==null?void 0:r.cancelToken)===null||u===void 0?void 0:u.token}),h={data:c.data,rawResponse:c,headers:Ll(c),status:c.status,retryStrategy:{options:o,retryAttempts:s}};return Xi.debugSuccessHttpRequest(),h})})})}function UM(t,e,n,r){var i;return Qi(this,void 0,void 0,function*(){const o=(i=r==null?void 0:r.retryStrategy)!==null&&i!==void 0?i:Pa.defaultRetryStrategy;return yield Fl({retryAttempt:0,url:e.url,retryStrategy:o,functionsConfig:n,call:s=>Qi(this,void 0,void 0,function*(){var a,u;Xi.debugStartHttpRequest();const c=yield t.patch(e.url,e.body,{headers:Oc((a=r==null?void 0:r.headers)!==null&&a!==void 0?a:[]),responseType:r==null?void 0:r.responseType,maxContentLength:"Infinity",maxBodyLength:"Infinity",cancelToken:(u=r==null?void 0:r.cancelToken)===null||u===void 0?void 0:u.token}),h={data:c.data,rawResponse:c,headers:Ll(c),status:c.status,retryStrategy:{options:o,retryAttempts:s}};return Xi.debugSuccessHttpRequest(),h})})})}function jM(t,e,n,r){var i;return Qi(this,void 0,void 0,function*(){const o=(i=r==null?void 0:r.retryStrategy)!==null&&i!==void 0?i:Pa.defaultRetryStrategy;return yield Fl({retryAttempt:0,url:e.url,retryStrategy:o,functionsConfig:n,call:s=>Qi(this,void 0,void 0,function*(){var a,u;Xi.debugStartHttpRequest();const c=yield t.delete(e.url,{headers:Oc((a=r==null?void 0:r.headers)!==null&&a!==void 0?a:[]),responseType:r==null?void 0:r.responseType,maxContentLength:"Infinity",maxBodyLength:"Infinity",cancelToken:(u=r==null?void 0:r.cancelToken)===null||u===void 0?void 0:u.token}),h={data:c.data,rawResponse:c,headers:Ll(c),status:c.status,retryStrategy:{options:o,retryAttempts:s}};return Xi.debugSuccessHttpRequest(),h})})})}function WM(){let t;const e=new Mn.CancelToken(n=>{t=n});return{cancel:n=>t(`${Pa.requestCancelledMessagePrefix}: ${n??"User cancel"}`),token:e}}function Fl(t){return Qi(this,void 0,void 0,function*(){try{return yield t.call(t.retryAttempt)}catch(e){const n=Pa.getRetryErrorResult({error:e,retryAttempt:t.retryAttempt,retryStrategy:t.retryStrategy});if(n.canRetry)return Xi.debugRetryHttpRequest(),yield new Promise(r=>setTimeout(r,n.retryInMs)),t.functionsConfig.logErrorsToConsole&&console.warn(`Retry attempt '${t.retryAttempt+1}' from a maximum of '${n.maxRetries}' retries. Request url: '${t.url}'`),yield Fl({call:t.call,retryStrategy:t.retryStrategy,retryAttempt:t.retryAttempt+1,url:t.url,functionsConfig:t.functionsConfig});throw t.functionsConfig.logErrorsToConsole&&console.error(`Executing '${t.url}' failed. Request was retried '${t.retryAttempt}' times. `,e),e}})}function Oc(t,e){const n={};return t.forEach(r=>{n[r.header]=r.value}),n}var au=function(t,e,n,r){function i(o){return o instanceof n?o:new n(function(s){s(o)})}return new(n||(n=Promise))(function(o,s){function a(h){try{c(r.next(h))}catch(l){s(l)}}function u(h){try{c(r.throw(h))}catch(l){s(l)}}function c(h){h.done?o(h.value):i(h.value).then(a,u)}c((r=r.apply(t,e||[])).next())})};class zM{constructor(e){this.opts=e,this.axiosInstance=Mn.create(e==null?void 0:e.axiosRequestConfig),this.functionsConfig=this.getFunctionsConfig()}getAsync(e,n){return au(this,void 0,void 0,function*(){return yield NM(this.axiosInstance,e,this.functionsConfig,n)})}postAsync(e,n){return au(this,void 0,void 0,function*(){return yield BM(this.axiosInstance,e,this.functionsConfig,n)})}putAsync(e,n){return au(this,void 0,void 0,function*(){return yield VM(this.axiosInstance,e,this.functionsConfig,n)})}patchAsync(e,n){return au(this,void 0,void 0,function*(){return yield UM(this.axiosInstance,e,this.functionsConfig,n)})}deleteAsync(e,n){return au(this,void 0,void 0,function*(){return yield jM(this.axiosInstance,e,this.functionsConfig,n)})}createCancelToken(){return WM()}getFunctionsConfig(){var e,n;return{logErrorsToConsole:(n=(e=this.opts)===null||e===void 0?void 0:e.logErrorsToConsole)!==null&&n!==void 0?n:!0}}}var zt;(function(t){const r=k=>{if(!k)return"";if(Array.isArray(k)){let R="";for(let x=0;x<k.length;x++)R=R+k[x].toString(),x!==k.length-1&&(R=R+",");return R}return k.toString()};class i{constructor(R){this.type=R}getParam(){return Array.isArray(this.type)?`system.type[in]=${r(this.type)}`:`system.type=${r(this.type)}`}}t.TypeFilter=i;class o{constructor(R){this.collection=R}getParam(){return Array.isArray(this.collection)?`system.collection[in]=${r(this.collection)}`:`system.collection=${r(this.collection)}`}}t.CollectionFilter=o;class s{constructor(R){this.element=R}getParam(){return`${this.element.trim()}[empty]`}}t.EmptyFilter=s;class a{constructor(R){this.element=R}getParam(){return`${this.element.trim()}[nempty]`}}t.NotEmptyFilter=a;class u{constructor(R,x){this.element=R,this.value=x}getParam(){return`${this.element.trim()}[eq]=${this.getParamValue()}`}getParamValue(){return this.value?this.value:""}}t.EqualsFilter=u;class c{constructor(R,x){this.element=R,this.value=x}getParam(){return`${this.element.trim()}[neq]=${this.getParamValue()}`}getParamValue(){return this.value?this.value:""}}t.NotEqualsFilter=c;class h{constructor(R,x){this.element=R,this.values=x}getParam(){return`${this.element.trim()}[all]=${this.getParamValue()}`}getParamValue(){return!this.values||!Array.isArray(this.values)?"":this.values.map(R=>R.trim()).join(",")}}t.AllFilter=h;class l{constructor(R,x){this.element=R,this.values=x}getParam(){return`${this.element.trim()}[any]=${this.getParamValue()}`}getParamValue(){return!this.values||!Array.isArray(this.values)?"":this.values.map(R=>R.trim()).join(",")}}t.AnyFilter=l;class d{constructor(R,x){this.element=R,this.values=x}getParam(){return`${this.element.trim()}[contains]=${this.getParamValue()}`}getParamValue(){return!this.values||!Array.isArray(this.values)?"":this.values.map(R=>R.trim()).join(",")}}t.ContainsFilter=d;class f{constructor(R,x){this.element=R,this.value=x}getParam(){return`${this.element.trim()}[gt]=${this.getParamValue()}`}getParamValue(){return this.value?this.value:""}}t.GreaterThanFilter=f;class _{constructor(R,x){this.element=R,this.value=x}getParam(){return`${this.element.trim()}[gte]=${this.getParamValue()}`}getParamValue(){return this.value?this.value:""}}t.GreaterThanOrEqualFilter=_;class g{constructor(R,x){this.element=R,this.values=x}getParam(){return`${this.element.trim()}[in]=${this.getParamValue()}`}getParamValue(){return!this.values||!Array.isArray(this.values)?"":this.values.map(R=>R.trim()).join(",")}}t.InFilter=g;class b{constructor(R,x){this.element=R,this.values=x}getParam(){return`${this.element.trim()}[nin]=${this.getParamValue()}`}getParamValue(){return!this.values||!Array.isArray(this.values)?"":this.values.map(R=>R.trim()).join(",")}}t.NotInFilter=b;class y{constructor(R,x){this.element=R,this.value=x}getParam(){return`${this.element.trim()}[lt]=${this.getParamValue()}`}getParamValue(){return this.value?this.value:""}}t.LessThanFilter=y;class w{constructor(R,x){this.element=R,this.value=x}getParam(){return`${this.element.trim()}[lte]=${this.getParamValue()}`}getParamValue(){return this.value?this.value:""}}t.LessThanOrEqualFilter=w;class A{constructor(R,x,L){this.element=R,this.lowerValue=x,this.higherValue=L}getParam(){return`${this.element.trim()}[range]=${this.getParamValue()}`}getParamValue(){let R="",x="";return this.lowerValue&&(R=this.lowerValue.toString()),this.higherValue&&(x=this.higherValue.toString()),`${R},${x}`}}t.RangeFilter=A})(zt||(zt={}));var Gt;(function(t){class n{constructor(f,_){if(this.name=f,this.value=_,!f)throw Error("Name of the parameter is not specified")}getParam(){return`${this.name}=${this.value}`}}t.QueryParameter=n;class r{constructor(f){this.elementCodenames=f}getParam(){return`elements=${this.getParamValue()}`}getParamValue(){return this.elementCodenames?this.elementCodenames.map(f=>{if(!f)throw Error("Codename of 'ElementsParameter' cannot be null or empty");return f.trim()}).join(","):""}}t.ElementsParameter=r;class i{constructor(f){this.elementCodenames=f}getParam(){return`excludeElements=${this.getParamValue()}`}getParamValue(){return this.elementCodenames?this.elementCodenames.map(f=>{if(!f)throw Error("Codename of 'ExcludeElementsParameter' cannot be null or empty");return f.trim()}).join(","):""}}t.ExcludeElementsParameter=i;class o{constructor(f){if(this.limit=f,f<=0)throw Error("'LimitParameter' must specify a positive integer")}getParam(){return`limit=${this.limit}`}}t.LimitParameter=o;class s{constructor(){}getParam(){return"includeTotalCount=true"}}t.IncludeTotalCountParameter=s;class a{constructor(f){if(this.skip=f,f<0)throw Error(`'SkipParameter' must specify a positive integer number or zero."`)}getParam(){return`skip=${this.skip}`}}t.SkipParameter=a;class u{constructor(f,_){if(this.element=f,this.sortOrder=_,!f)throw Error("Element specified in 'OrderParameter' is null or empty")}getParam(){return`order=${this.getParamValue()}`}getParamValue(){return`${this.element.trim()}[${this.sortOrder}]`}}t.OrderParameter=u;class c{constructor(f){this.param=f}getParam(){return this.param}}t.CustomParameter=c;class h{constructor(f){if(this.depth=f,f<0)throw Error("'DepthParameter' must specify a positive integer or zero")}getParam(){return`depth=${this.depth}`}}t.DepthParameter=h;class l{constructor(f){this.languageCodename=f}getParam(){return`language=${this.languageCodename}`}}t.LanguageParameter=l})(Gt||(Gt={}));class qM{constructor(e){this.message=e.message,this.requestId=e.requestId,this.errorCode=e.errorCode,this.specificCode=e.specificCode}}const Lm="X-Continuation",GM="X-KC-Wait-For-Loading-New-Content",YM="X-KC-SDKID",KM="X-Stale-Content";class Dl{constructor(e,n){this.config=e,this.queryService=n,this.parameters=[]}withCustomParameter(e,n){return this.parameters.push(new Gt.QueryParameter(e,n)),this}withParameter(e){return this.parameters.push(e),this}withParameters(e){return this.parameters.push(...e),this}getHeaders(){return this.queryService.getHeaders(this._queryConfig,[])}withHeaders(e){var n;const r=(n=this._queryConfig.customHeaders)!==null&&n!==void 0?n:[];return r.push(...e),this._queryConfig.customHeaders=r,this}withHeader(e){var n;const r=(n=this._queryConfig.customHeaders)!==null&&n!==void 0?n:[];return r.push(e),this._queryConfig.customHeaders=r,this}withCustomUrl(e){return this.customUrl=e,this}getParameters(){return this.parameters}queryConfig(e){return this._queryConfig=e,this}resolveUrlInternal(e){var n;return this.customUrl?this.customUrl:this.queryService.getUrl(e,(n=this._queryConfig)!==null&&n!==void 0?n:{},this.getParameters())}processDefaultLanguageParameter(){this.config.defaultLanguage&&(this.getParameters().find(n=>{var r;return(r=n.getParam())===null||r===void 0?void 0:r.toLowerCase().includes("language=".toLowerCase())})||this.parameters.push(new Gt.LanguageParameter(this.config.defaultLanguage)))}processExcludeArchivedItemsParameter(){this.config.excludeArchivedItems&&this.parameters.push(new zt.NotEqualsFilter("system.workflow_step","archived"))}}class XM extends Dl{constructor(e,n,r,i){if(super(e,n),this.config=e,this.queryService=n,this.typeCodename=r,this.elementCodename=i,this._queryConfig={},!r)throw Error("Codename of the type has to be provided");if(!i)throw Error("Codename of the element has to be provided")}toPromise(){var e;return this.queryService.getElementAsync(this.getUrl(),(e=this._queryConfig)!==null&&e!==void 0?e:{})}getUrl(){return super.resolveUrlInternal(`/types/${this.typeCodename}/elements/${this.elementCodename}`)}map(e){return this.queryService.mappingService.viewContentTypeElementResponse(e)}}var un;(function(t){t.Text="text",t.Number="number",t.ModularContent="modular_content",t.Asset="asset",t.DateTime="date_time",t.RichText="rich_text",t.MultipleChoice="multiple_choice",t.UrlSlug="url_slug",t.Taxonomy="taxonomy",t.Custom="custom",t.Unknown="unknown"})(un||(un={}));class $l extends Dl{constructor(e,n){super(e,n),this.config=e,this.queryService=n}withContinuationToken(e){var n;let r=(n=this._queryConfig.customHeaders)!==null&&n!==void 0?n:[];return r=r.filter(i=>i.header!==Lm),this._queryConfig.customHeaders=r,this.withHeaders([{header:Lm,value:e}]),this}toAllPromise(e){return this.queryService.getListAllResponse({page:1,listQueryConfig:e,allResponseFactory:(n,r)=>({data:this.allResponseFactory(n,r),responses:r}),getResponse:(n,r)=>(n&&this.withCustomUrl(n),r&&this.withContinuationToken(r),this.toPromise())})}}class nE extends $l{constructor(e,n){super(e,n),this.config=e,this.queryService=n}emptyFilter(e){return this.parameters.push(new zt.EmptyFilter(e)),this}notEmptyFilter(e){return this.parameters.push(new zt.NotEmptyFilter(e)),this}equalsFilter(e,n){return this.parameters.push(new zt.EqualsFilter(e,n)),this}notEqualsFilter(e,n){return this.parameters.push(new zt.NotEqualsFilter(e,n)),this}allFilter(e,n){return this.parameters.push(new zt.AllFilter(e,n)),this}anyFilter(e,n){return this.parameters.push(new zt.AnyFilter(e,n)),this}containsFilter(e,n){return this.parameters.push(new zt.ContainsFilter(e,n)),this}greaterThanFilter(e,n){return this.parameters.push(new zt.GreaterThanFilter(e,n)),this}greaterThanOrEqualFilter(e,n){return this.parameters.push(new zt.GreaterThanOrEqualFilter(e,n)),this}inFilter(e,n){return this.parameters.push(new zt.InFilter(e,n)),this}notInFilter(e,n){return this.parameters.push(new zt.NotInFilter(e,n)),this}lessThanFilter(e,n){return this.parameters.push(new zt.LessThanFilter(e,n)),this}lessThanOrEqualFilter(e,n){return this.parameters.push(new zt.LessThanOrEqualFilter(e,n)),this}rangeFilter(e,n,r){return this.parameters.push(new zt.RangeFilter(e,n,r)),this}limitParameter(e){return this.parameters.push(new Gt.LimitParameter(e)),this}orderParameter(e,n){return this.parameters.push(new Gt.OrderParameter(e,n)),this}orderByDescending(e){return this.parameters.push(new Gt.OrderParameter(e,"desc")),this}orderByAscending(e){return this.parameters.push(new Gt.OrderParameter(e,"asc")),this}skipParameter(e){return this.parameters.push(new Gt.SkipParameter(e)),this}linkItemsInRte(e){for(const n of e)for(const r of Object.keys(n.elements)){const i=n.elements[r];if(i.type===un.ModularContent){const o=i,s=[];for(const a of o.value){let u;const c=o.linkedItems.find(h=>h.system.codename.toLowerCase()===a.toLowerCase());c?u=c:u=e.find(h=>h.system.codename.toLowerCase()===a.toLowerCase()),u&&s.push(u)}o.linkedItems=s}if(i.type===un.RichText){const o=[],s=i;for(const a of s.linkedItemCodenames){let u;const c=s.linkedItems.find(h=>h.system.codename.toLowerCase()===a.toLowerCase());c?u=c:u=e.find(h=>h.system.codename.toLowerCase()===a.toLowerCase()),u&&o.push(u)}s.linkedItems=o}}}}class QM extends nE{constructor(e,n){super(e,n),this.config=e,this.queryService=n,this._queryConfig={}}includeTotalCountParameter(){return this.parameters.push(new Gt.IncludeTotalCountParameter),this}type(e){return this.parameters.push(new zt.TypeFilter(e)),this}types(e){return this.parameters.push(new zt.TypeFilter(e)),this}collection(e){return this.parameters.push(new zt.CollectionFilter(e)),this}collections(e){return this.parameters.push(new zt.CollectionFilter(e)),this}depthParameter(e){return this.parameters.push(new Gt.DepthParameter(e)),this}languageParameter(e){return this.parameters.push(new Gt.LanguageParameter(e)),this}elementsParameter(e){return this.parameters.push(new Gt.ElementsParameter(e)),this}excludeElementsParameter(e){return this.parameters.push(new Gt.ExcludeElementsParameter(e)),this}toPromise(){var e;return this.queryService.getMultipleItems(this.getUrl(),(e=this._queryConfig)!==null&&e!==void 0?e:{})}getUrl(){const e="/items";return this.processDefaultLanguageParameter(),this.processExcludeArchivedItemsParameter(),super.resolveUrlInternal(e)}map(e){return this.queryService.mappingService.listContentItemsResponse(e)}allResponseFactory(e,n){return this.linkItems(e,n),{items:e,responses:n}}linkItems(e,n){const r=[];for(const i of n)r.push(...Object.values(i.data.linkedItems).filter(o=>o!==void 0).map(o=>o));for(const i of e)r.find(o=>o.system.codename.toLowerCase()===i.system.codename.toLowerCase())||r.push(i);this.linkItemsInRte(r)}}class JM extends Dl{constructor(e,n,r){if(super(e,n),this.config=e,this.queryService=n,this.codename=r,this._queryConfig={},!r)throw Error("'codename' has to be configured for 'SingleItemQuery' query")}depthParameter(e){return this.parameters.push(new Gt.DepthParameter(e)),this}queryConfig(e){return this._queryConfig=e,this}languageParameter(e){return this.parameters.push(new Gt.LanguageParameter(e)),this}elementsParameter(e){return this.parameters.push(new Gt.ElementsParameter(e)),this}excludeElementsParameter(e){return this.parameters.push(new Gt.ExcludeElementsParameter(e)),this}toPromise(){var e;return this.queryService.getSingleItemAsync(this.getUrl(),(e=this._queryConfig)!==null&&e!==void 0?e:{})}getUrl(){const e="/items/"+this.codename;return this.processDefaultLanguageParameter(),this.processExcludeArchivedItemsParameter(),super.resolveUrlInternal(e)}map(e){return this.queryService.mappingService.viewContentItemResponse(e)}}class ZM extends $l{constructor(e,n){super(e,n),this.config=e,this.queryService=n,this.taxonomiesEndpoint="taxonomies",this._queryConfig={}}limitParameter(e){return this.parameters.push(new Gt.LimitParameter(e)),this}skipParameter(e){return this.parameters.push(new Gt.SkipParameter(e)),this}toPromise(){var e;return this.queryService.getTaxonomies(this.getUrl(),(e=this._queryConfig)!==null&&e!==void 0?e:{})}getUrl(){const e="/"+this.taxonomiesEndpoint;return super.resolveUrlInternal(e)}map(e){return this.queryService.mappingService.listTaxonomiesResponse(e)}allResponseFactory(e,n){return{items:e,responses:n}}}class e3 extends Dl{constructor(e,n,r){if(super(e,n),this.config=e,this.queryService=n,this.taxonomyCodename=r,this.taxonomiesEndpoint="taxonomies",this._queryConfig={},!r)throw Error("Cannot create taxonomy query without codename of the taxonomy")}toPromise(){var e;return this.queryService.getTaxonomy(this.getUrl(),(e=this._queryConfig)!==null&&e!==void 0?e:{})}getUrl(){const e="/"+this.taxonomiesEndpoint+"/"+this.taxonomyCodename;return super.resolveUrlInternal(e)}map(e){return this.queryService.mappingService.viewTaxonomyResponse(e)}}class t3 extends $l{constructor(e,n){super(e,n),this.config=e,this.queryService=n,this._queryConfig={}}elementsParameter(e){return this.parameters.push(new Gt.ElementsParameter(e)),this}excludeElementsParameter(e){return this.parameters.push(new Gt.ExcludeElementsParameter(e)),this}limitParameter(e){return this.parameters.push(new Gt.LimitParameter(e)),this}skipParameter(e){return this.parameters.push(new Gt.SkipParameter(e)),this}toPromise(){var e;return this.queryService.getMultipleTypes(this.getUrl(),(e=this._queryConfig)!==null&&e!==void 0?e:{})}getUrl(){return super.resolveUrlInternal("/types")}map(e){return this.queryService.mappingService.listContentTypesResponse(e)}allResponseFactory(e,n){return{items:e,responses:n}}}class n3 extends Dl{constructor(e,n,r){if(super(e,n),this.config=e,this.queryService=n,this.typeCodename=r,this._queryConfig={},!r)throw Error("Cannot create type query without the codename of the type")}toPromise(){var e;return this.queryService.getSingleType(this.getUrl(),(e=this._queryConfig)!==null&&e!==void 0?e:{})}getUrl(){const e="/types/"+this.typeCodename;return super.resolveUrlInternal(e)}map(e){return this.queryService.mappingService.viewContentTypeResponse(e)}}class r3 extends nE{constructor(e,n){super(e,n),this.config=e,this.queryService=n,this._queryConfig={}}type(e){return this.parameters.push(new zt.TypeFilter(e)),this}types(e){return this.parameters.push(new zt.TypeFilter(e)),this}collection(e){return this.parameters.push(new zt.CollectionFilter(e)),this}collections(e){return this.parameters.push(new zt.CollectionFilter(e)),this}languageParameter(e){return this.parameters.push(new Gt.LanguageParameter(e)),this}elementsParameter(e){return this.parameters.push(new Gt.ElementsParameter(e)),this}excludeElementsParameter(e){return this.parameters.push(new Gt.ExcludeElementsParameter(e)),this}toPromise(){var e;return this.queryService.getItemsFeed(this.getUrl(),(e=this._queryConfig)!==null&&e!==void 0?e:{})}getUrl(){const e="/items-feed";return this.processDefaultLanguageParameter(),this.processExcludeArchivedItemsParameter(),super.resolveUrlInternal(e)}queryConfig(e){return this._queryConfig=e,this}map(e){return this.queryService.mappingService.itemsFeedResponse(e)}allResponseFactory(e,n){return this.canLinkItems()&&this.linkFeedItems(e,n),{items:e,responses:n}}linkFeedItems(e,n){const r=[];for(const i of n)r.push(...Object.values(i.data.linkedItems).filter(o=>o!==void 0).map(o=>o));for(const i of e)r.find(o=>o.system.codename.toLowerCase()===i.system.codename.toLowerCase())||r.push(i);this.linkItemsInRte(r)}canLinkItems(){return!(this.config.linkedItemsReferenceHandler==="ignore"||this._queryConfig.disableItemLinking===!0)}}class i3 extends $l{constructor(e,n){super(e,n),this.config=e,this.queryService=n,this.endpoint="languages",this._queryConfig={}}limitParameter(e){return this.parameters.push(new Gt.LimitParameter(e)),this}skipParameter(e){return this.parameters.push(new Gt.SkipParameter(e)),this}toPromise(){var e;return this.queryService.getLanguages(this.getUrl(),(e=this._queryConfig)!==null&&e!==void 0?e:{})}getUrl(){const e="/"+this.endpoint;return super.resolveUrlInternal(e)}queryConfig(e){return this._queryConfig=e,this}map(e){return this.queryService.mappingService.listLanguagesResponse(e)}allResponseFactory(e,n){return{items:e,responses:n}}}class o3 extends Dl{constructor(e,n){super(e,n),this.config=e,this.queryService=n,this.endpoint="sync/init",this._queryConfig={}}type(e){return this.parameters.push(new zt.TypeFilter(e)),this}collection(e){return this.parameters.push(new zt.CollectionFilter(e)),this}languageParameter(e){return this.parameters.push(new Gt.LanguageParameter(e)),this}toPromise(){var e;return console.warn("Sync Api v1 is deprecated. Please use the new Sync Api v2. https://kontent.ai/learn/docs/apis/openapi/sync-api-v2/"),this.queryService.initializeSync(this.getUrl(),(e=this._queryConfig)!==null&&e!==void 0?e:{})}getUrl(){const e="/"+this.endpoint;return super.resolveUrlInternal(e)}queryConfig(e){return this._queryConfig=e,this}map(e){return this.queryService.mappingService.initializeContentSync(e)}}class s3 extends $l{constructor(e,n){super(e,n),this.config=e,this.queryService=n,this._queryConfig={},this.action="/sync"}toPromise(){var e;return console.warn("Sync Api v1 is deprecated. Please use the new Sync Api v2. https://kontent.ai/learn/docs/apis/openapi/sync-api-v2/"),this.queryService.syncChanges(this.getUrl(),(e=this._queryConfig)!==null&&e!==void 0?e:{})}getUrl(){return super.resolveUrlInternal(this.action)}queryConfig(e){return this._queryConfig=e,this}map(e){return this.queryService.mappingService.syncChanges(e)}allResponseFactory(e,n){return{items:e,responses:n}}}class qy extends $l{constructor(e,n,r){super(e,n),this.config=e,this.queryService=n,this.setup=r,this._queryConfig={}}type(e){return this.parameters.push(new zt.TypeFilter(e)),this}types(e){return this.parameters.push(new zt.TypeFilter(e)),this}collection(e){return this.parameters.push(new zt.CollectionFilter(e)),this}collections(e){return this.parameters.push(new zt.CollectionFilter(e)),this}languageParameter(e){return this.parameters.push(new Gt.LanguageParameter(e)),this}toPromise(){var e;return this.queryService.getUsedIn(this.getUrl(),(e=this._queryConfig)!==null&&e!==void 0?e:{})}getUrl(){const e=`/${this.setup.entity==="asset"?"assets":"items"}/${this.setup.codename}/used-in`;return this.processDefaultLanguageParameter(),this.processExcludeArchivedItemsParameter(),super.resolveUrlInternal(e)}queryConfig(e){return this._queryConfig=e,this}map(e){return this.queryService.mappingService.usedInResponse(e)}allResponseFactory(e,n){return{items:e,responses:n}}}const pp={host:"npmjs.com",version:"16.2.1",name:"@kontent-ai/delivery-sdk"};var Gy=function(t,e,n,r){function i(o){return o instanceof n?o:new n(function(s){s(o)})}return new(n||(n=Promise))(function(o,s){function a(h){try{c(r.next(h))}catch(l){s(l)}}function u(h){try{c(r.throw(h))}catch(l){s(l)}}function c(h){h.done?o(h.value):i(h.value).then(a,u)}c((r=r.apply(t,e||[])).next())})};class a3{constructor(e,n,r,i){this.config=e,this.httpService=n,this.sdkInfo=r,this.mappingService=i,this.defaultBaseDeliveryApiUrl="https://deliver.kontent.ai",this.defaultPreviewDeliveryApiUrl="https://preview-deliver.kontent.ai"}getUrl(e,n,r){return!this.config.proxy||!this.config.proxy.advancedProxyUrlResolver?Iy.addOptionsToUrl(this.getBaseUrl(n)+e,r):this.config.proxy.advancedProxyUrlResolver({queryParameters:r||[],queryString:Iy.addOptionsToUrl("",r),action:e,domain:this.getDomain(n),queryConfig:n,environmentId:this.config.environmentId})}getHeaders(e,n){const r=[];if(n&&r.push(...n),r.push(this.getSdkIdHeader()),this.config.globalHeaders&&r.push(...this.config.globalHeaders(e)),r.push(...this.getQueryHeaders(e)),this.isPreviewModeEnabled(e)&&this.isSecuredModeEnabled(e))throw Error("Preview & secured modes cannot be used at the same time.");return this.isPreviewModeEnabled(e)&&this.config.previewApiKey&&r.push(this.getAuthorizationHeader(this.config.previewApiKey)),this.isSecuredModeEnabled(e)&&this.config.secureApiKey&&r.push(this.getAuthorizationHeader(this.config.secureApiKey)),this.shouldAddWaitForLoadingNewContentHeader(e)&&r.push({header:GM,value:"true"}),r}postResponseAsync(e,n,r,i){return Gy(this,void 0,void 0,function*(){r||(r={}),i||(i={});try{return yield this.httpService.postAsync({url:e,body:n},{cancelToken:r==null?void 0:r.cancelToken,responseType:"json",retryStrategy:this.config.retryStrategy,headers:this.getHeaders(r,i.headers?i.headers:[])})}catch(o){throw this.mapDeliveryError(o)}})}getResponseAsync(e,n,r){return Gy(this,void 0,void 0,function*(){n||(n={}),r||(r={});try{return yield this.httpService.getAsync({url:e},{cancelToken:n==null?void 0:n.cancelToken,responseType:"json",retryStrategy:this.config.retryStrategy,headers:this.getHeaders(n,r.headers?r.headers:[])})}catch(i){throw this.mapDeliveryError(i)}})}getBaseUrl(e){return this.getDomain(e)+"/"+this.config.environmentId}mapNetworkResponse(e,n){return{data:e,response:n,hasStaleContent:this.getHasStaleContent(n.headers),xContinuationToken:this.getContinuationToken(n.headers)}}isPreviewModeEnabled(e){return e.usePreviewMode!==void 0?e.usePreviewMode:this.config.defaultQueryConfig?this.config.defaultQueryConfig.usePreviewMode===!0:!1}getQueryHeaders(e){var n;return e.customHeaders?e.customHeaders:!((n=this.config.defaultQueryConfig)===null||n===void 0)&&n.customHeaders?this.config.defaultQueryConfig.customHeaders:[]}shouldAddWaitForLoadingNewContentHeader(e){return e.waitForLoadingNewContent!==void 0?e.waitForLoadingNewContent:this.config.defaultQueryConfig?this.config.defaultQueryConfig.waitForLoadingNewContent===!0:!1}isSecuredModeEnabled(e){return e.useSecuredMode!==void 0?e.useSecuredMode:this.config.defaultQueryConfig?this.config.defaultQueryConfig.useSecuredMode===!0:!1}getDomain(e){if(this.isPreviewModeEnabled(e)){if(!this.config.previewApiKey)throw Error("Preview API key is not configured.");return this.config.proxy&&this.config.proxy.basePreviewUrl?this.config.proxy.basePreviewUrl:this.defaultPreviewDeliveryApiUrl}return this.config.proxy&&this.config.proxy.baseUrl?this.config.proxy.baseUrl:this.defaultBaseDeliveryApiUrl}getAuthorizationHeader(e){if(!e)throw Error("Cannot get authorization header because key is invalid");return{header:"authorization",value:`bearer ${e}`}}getSdkIdHeader(){return{header:YM,value:`${this.sdkInfo.host};${this.sdkInfo.name};${this.sdkInfo.version}`}}mapDeliveryError(e){var n;let r;if(e.error?r=e.error:r=e,!r||!r.isAxiosError)return e;const i=(n=r.response)===null||n===void 0?void 0:n.data;return!i||!i.error_code?e:new qM({errorCode:i.error_code,message:i.message,specificCode:i.specific_code,requestId:i.request_id})}getHasStaleContent(e){const n=e.find(r=>r.header.toLowerCase()===KM.toLowerCase());return!!(n&&n.value.toString()==="1")}getContinuationToken(e){const n=e.find(r=>r.header.toLowerCase()===Lm.toLowerCase());return n?n.value:void 0}}var Wr=function(t,e,n,r){function i(o){return o instanceof n?o:new n(function(s){s(o)})}return new(n||(n=Promise))(function(o,s){function a(h){try{c(r.next(h))}catch(l){s(l)}}function u(h){try{c(r.throw(h))}catch(l){s(l)}}function c(h){h.done?o(h.value):i(h.value).then(a,u)}c((r=r.apply(t,e||[])).next())})};class l3 extends a3{constructor(e,n,r,i){super(e,n,r,i)}getSingleItemAsync(e,n){return Wr(this,void 0,void 0,function*(){const r=yield this.getResponseAsync(e,n);return this.mapNetworkResponse(this.mappingService.viewContentItemResponse(r.data),r)})}getItemsFeed(e,n){return Wr(this,void 0,void 0,function*(){const r=yield this.getResponseAsync(e,n);return this.mapNetworkResponse(this.mappingService.itemsFeedResponse(r.data),r)})}getUsedIn(e,n){return Wr(this,void 0,void 0,function*(){const r=yield this.getResponseAsync(e,n);return this.mapNetworkResponse(this.mappingService.usedInResponse(r.data),r)})}getMultipleItems(e,n){return Wr(this,void 0,void 0,function*(){const r=yield this.getResponseAsync(e,n);return this.mapNetworkResponse(this.mappingService.listContentItemsResponse(r.data),r)})}getSingleType(e,n){return Wr(this,void 0,void 0,function*(){const r=yield this.getResponseAsync(e,n);return this.mapNetworkResponse(this.mappingService.viewContentTypeResponse(r.data),r)})}getMultipleTypes(e,n){return Wr(this,void 0,void 0,function*(){const r=yield this.getResponseAsync(e,n);return this.mapNetworkResponse(this.mappingService.listContentTypesResponse(r.data),r)})}initializeSync(e,n){return Wr(this,void 0,void 0,function*(){const r=yield this.postResponseAsync(e,{},n);return this.mapNetworkResponse(this.mappingService.initializeContentSync(r.data),r)})}syncChanges(e,n){return Wr(this,void 0,void 0,function*(){const r=yield this.getResponseAsync(e,n);return this.mapNetworkResponse(this.mappingService.syncChanges(r.data),r)})}getLanguages(e,n){return Wr(this,void 0,void 0,function*(){const r=yield this.getResponseAsync(e,n);return this.mapNetworkResponse(this.mappingService.listLanguagesResponse(r.data),r)})}getTaxonomy(e,n){return Wr(this,void 0,void 0,function*(){const r=yield this.getResponseAsync(e,n);return this.mapNetworkResponse(this.mappingService.viewTaxonomyResponse(r.data),r)})}getTaxonomies(e,n){return Wr(this,void 0,void 0,function*(){const r=yield this.getResponseAsync(e,n);return this.mapNetworkResponse(this.mappingService.listTaxonomiesResponse(r.data),r)})}getElementAsync(e,n){return Wr(this,void 0,void 0,function*(){const r=yield this.getResponseAsync(e,n);return this.mapNetworkResponse(this.mappingService.viewContentTypeElementResponse(r.data),r)})}getListAllResponse(e){return Wr(this,void 0,void 0,function*(){const n=yield this.getListAllResponseInternalAsync({page:e.page,resolvedResponses:[],getResponse:e.getResponse,nextPageUrl:void 0,continuationToken:void 0,listQueryConfig:e.listQueryConfig});return e.allResponseFactory(n.reduce((r,i)=>(r.push(...i.data.items),r),[]),n)})}getListAllResponseInternalAsync(e){var n,r,i,o;return Wr(this,void 0,void 0,function*(){if(!((n=e.listQueryConfig)===null||n===void 0)&&n.pages&&e.page>e.listQueryConfig.pages)return e.resolvedResponses;const s=yield e.getResponse(e.nextPageUrl,e.continuationToken);!((r=e.listQueryConfig)===null||r===void 0)&&r.delayBetweenRequests&&(yield this.sleep(e.listQueryConfig.delayBetweenRequests)),e.resolvedResponses.push(s),!((i=e.listQueryConfig)===null||i===void 0)&&i.responseFetched&&e.listQueryConfig.responseFetched(s,e.nextPageUrl,e.continuationToken);const a=(o=s.data.pagination)===null||o===void 0?void 0:o.nextPage,u=s.xContinuationToken;return a||u?yield this.getListAllResponseInternalAsync({page:e.page+1,nextPageUrl:a,continuationToken:u,listQueryConfig:e.listQueryConfig,getResponse:e.getResponse,resolvedResponses:e.resolvedResponses}):e.resolvedResponses})}sleep(e){return new Promise(n=>setTimeout(n,e))}}class u3{escapeCodenameInCodenameIndexer(e){return`_${e}`}}const hl=new u3;class c3{replaceAssetDomain(e,n){return`${n}${this.getPathname(e)}`}getPathname(e){return new URL(e).pathname}}const Yy=new c3;class f3{getAllValues(e){return Object.keys(e).map(r=>e[r])}getEnumFromValue(e,n){try{if(!n)return;if(this.isNumeric(n))return e[n];const i=this.getAllValues(e).find(o=>o.toLowerCase()===n.toString().toLowerCase());return i||void 0}catch{return}}isNumeric(e){return!isNaN(parseFloat(e))&&isFinite(e)}}const d3=new f3;class h3{constructor(e){this.config=e}mapElements(e){const n=e.processedItems[hl.escapeCodenameInCodenameIndexer(e.dataToMap.item.system.codename)];if(n)return{item:n,processedItems:e.processedItems,preparedItems:e.preparedItems,processingStartedForCodenames:e.processingStartedForCodenames};const r=e.preparedItems[hl.escapeCodenameInCodenameIndexer(e.dataToMap.item.system.codename)],i=r==null?void 0:r.item;if(!i)return;const o=Object.getOwnPropertyNames(e.dataToMap.rawItem.elements);for(const s of o){const a={system:e.dataToMap.item.system,rawElement:e.dataToMap.rawItem.elements[s],element:s},u=this.mapElement({elementWrapper:a,item:i,preparedItems:e.preparedItems,processingStartedForCodenames:e.processingStartedForCodenames,processedItems:e.processedItems});i.elements[s]=u}return{item:i,processedItems:e.processedItems,preparedItems:e.preparedItems,processingStartedForCodenames:e.processingStartedForCodenames}}mapElement(e){const n=d3.getEnumFromValue(un,e.elementWrapper.rawElement.type);if(n){if(n===un.ModularContent)return this.mapLinkedItemsElement({elementWrapper:e.elementWrapper,preparedItems:e.preparedItems,processingStartedForCodenames:e.processingStartedForCodenames,processedItems:e.processedItems});if(n===un.Text)return this.mapTextElement(e.elementWrapper);if(n===un.Asset)return this.mapAssetsElement(e.elementWrapper);if(n===un.Number)return this.mapNumberElement(e.elementWrapper);if(n===un.MultipleChoice)return this.mapMultipleChoiceElement(e.elementWrapper);if(n===un.DateTime)return this.mapDateTimeElement(e.elementWrapper);if(n===un.RichText)return this.mapRichTextElement(e.elementWrapper,e.processedItems,e.processingStartedForCodenames,e.preparedItems);if(n===un.UrlSlug)return this.mapUrlSlugElement(e.elementWrapper);if(n===un.Taxonomy)return this.mapTaxonomyElement(e.elementWrapper);if(n===un.Custom)return this.mapCustomElement(e.elementWrapper)}return console.warn(`Could not map element '${e.elementWrapper.rawElement.name}' of type '${e.elementWrapper.rawElement.type}'. Returning unknown element instead.`),this.mapUnknowElement(e.elementWrapper)}mapRichTextElement(e,n,r,i){const o=e.rawElement,s=[],a=[],u=o.value.matchAll(/<object[^>]+data-codename="(?<codename>[a-z0-9_]*)".*?>/g),c=Array.from(u).reduce((g,b)=>(b.groups&&b.groups.codename&&g.push(b.groups.codename),g),[]),h=[...o.modular_content].sort(function(g,b){return c.indexOf(g)-c.indexOf(b)});for(const g of h){a.push(g);const b=i[g];if(this.canMapLinkedItems()){const y=this.getOrSaveLinkedItemForElement(g,o,n,r,i);if(y)s.push(y);else if(b){const w=this.mapElements({dataToMap:b,preparedItems:i,processingStartedForCodenames:r,processedItems:n});w&&s.push(w.item)}}}const l=this.getRichTextImages(o.images),d=this.mapRichTextLinks(o.links),f=l.richTextImages,_=this.getRichTextHtml(o.value,l.imageUrlRecords);return{images:f,linkedItemCodenames:a,linkedItems:s,links:d,name:o.name,type:un.RichText,value:_}}mapDateTimeElement(e){var n;const r=e.rawElement;return Object.assign(Object.assign({},this.buildElement(e,un.DateTime,()=>r.value)),{displayTimeZone:(n=r.display_timezone)!==null&&n!==void 0?n:null})}mapMultipleChoiceElement(e){return this.buildElement(e,un.MultipleChoice,()=>e.rawElement.value)}mapNumberElement(e){return this.buildElement(e,un.Number,()=>e.rawElement.value===0?0:e.rawElement.value?+e.rawElement.value:null)}mapTextElement(e){return this.buildElement(e,un.Text,()=>e.rawElement.value)}mapAssetsElement(e){return this.buildElement(e,un.Asset,()=>{var n;const r=e.rawElement.value,i=[];for(const o of r){let s=null;const a=this.config.assetsDomain?Yy.replaceAssetDomain(o.url,this.config.assetsDomain):o.url;if(o.renditions){s={};for(const l of Object.keys(o.renditions)){const d=o.renditions[l];s[l]=Object.assign(Object.assign({},d),{url:`${a}?${d.query}`})}}const u=this.config.defaultRenditionPreset&&(s==null?void 0:s[this.config.defaultRenditionPreset])||null,c=(n=u==null?void 0:u.url)!==null&&n!==void 0?n:a,h=Object.assign(Object.assign({},o),{url:c,renditions:s});i.push(h)}return i})}mapTaxonomyElement(e){var n;return Object.assign(Object.assign({},this.buildElement(e,un.Taxonomy,()=>e.rawElement.value)),{taxonomyGroup:(n=e.rawElement.taxonomy_group)!==null&&n!==void 0?n:""})}mapUnknowElement(e){return this.buildElement(e,un.Unknown,()=>e.rawElement.value)}mapCustomElement(e){if(this.config.elementResolver){const n=this.config.elementResolver(e);if(n)return this.buildElement(e,un.Custom,()=>n)}return this.buildElement(e,un.Custom,()=>e.rawElement.value)}mapUrlSlugElement(e){return this.buildElement(e,un.UrlSlug,()=>e.rawElement.value)}mapLinkedItemsElement(e){const n=[],r=e.elementWrapper.rawElement.value;for(const i of r)if(this.canMapLinkedItems()){const o=this.getOrSaveLinkedItemForElement(i,e.elementWrapper.rawElement,e.processedItems,e.processingStartedForCodenames,e.preparedItems);o&&n.push(o)}return Object.assign(Object.assign({},this.buildElement(e.elementWrapper,un.ModularContent,()=>r)),{linkedItems:n})}getOrSaveLinkedItemForElement(e,n,r,i,o){const s=hl.escapeCodenameInCodenameIndexer(e),a=r[s];if(a)return a;const u=o[s];if(i.includes(e))return u==null?void 0:u.item;if(i.push(e),!u)return;let c;const h=this.mapElements({dataToMap:u,preparedItems:o,processingStartedForCodenames:i,processedItems:r});return h&&(c=h.item,r[s]=c),c}mapRichTextLinks(e){const n=[];for(const r of Object.keys(e)){const i=e[r];n.push({codename:i.codename,linkId:r,urlSlug:i.url_slug,type:i.type})}return n}getRichTextHtml(e,n){for(const r of n)r.newUrl!==r.originalUrl&&(e=e.replace(new RegExp(r.originalUrl,"g"),r.newUrl));return e}getRichTextImages(e){var n,r,i;const o=[],s=[];for(const a of Object.keys(e)){const u=e[a],c=this.config.assetsDomain?Yy.replaceAssetDomain(u.url,this.config.assetsDomain):u.url;o.push({description:(n=u.description)!==null&&n!==void 0?n:null,imageId:u.image_id,url:c,height:(r=u.height)!==null&&r!==void 0?r:null,width:(i=u.width)!==null&&i!==void 0?i:null}),s.push({originalUrl:u.url,newUrl:c})}return{imageUrlRecords:s,richTextImages:o}}buildElement(e,n,r){return{name:e.rawElement.name,type:n,value:r()}}canMapLinkedItems(){return this.config.linkedItemsReferenceHandler?this.config.linkedItemsReferenceHandler==="map":!0}}class p3{constructor(e){this.config=e,this.elementMapper=new h3(e)}mapSingleItemFromResponse(e){const n=this.mapItems({mainItems:[e.item],linkedItems:Object.values(e.modular_content)});return{item:n.items[0],linkedItems:n.linkedItems}}mapMultipleItemsFromResponse(e){return this.mapItems({mainItems:e.items,linkedItems:Object.values(e.modular_content)})}mapItems(e){const n={},r={},i=[],o=[],s={},a=[...e.mainItems,...e.linkedItems];for(const u of a)r[hl.escapeCodenameInCodenameIndexer(u.system.codename)]={item:this.createContentItem(u),rawItem:u};for(const u of e.mainItems){const c=this.mapItem({item:r[hl.escapeCodenameInCodenameIndexer(u.system.codename)],processedItems:n,preparedItems:r,processingStartedForCodenames:i});o.push(c.item)}for(const u of e.linkedItems){const c=this.mapItem({item:r[hl.escapeCodenameInCodenameIndexer(u.system.codename)],processedItems:n,preparedItems:r,processingStartedForCodenames:i});s[u.system.codename]=c.item}return{items:o,linkedItems:s}}mapItem(e){if(!e.item)throw Error("Could not map item because its undefined");const n=this.elementMapper.mapElements({dataToMap:e.item,preparedItems:e.preparedItems,processingStartedForCodenames:[],processedItems:e.processedItems});if(!n)throw Error(`Mapping of content item '${e.item.item.system.codename}' failed`);return{item:n.item,processedItems:n.processedItems,preparedItems:n.preparedItems,processingStartedForCodenames:n.processingStartedForCodenames}}createContentItem(e){var n,r;return{elements:{},system:{codename:e.system.codename,collection:e.system.collection,id:e.system.id,language:e.system.language,lastModified:e.system.last_modified,name:e.system.name,sitemapLocations:e.system.sitemap_locations,type:e.system.type,workflowStep:(n=e.system.workflow_step)!==null&&n!==void 0?n:null,workflow:(r=e.system.workflow)!==null&&r!==void 0?r:null}}}}class m3{mapTaxonomy(e,n){if(!e)throw Error("Cannot map taxonomy due to missing 'system' property");if(!n)throw Error("Cannot map taxonomy due to missing 'terms' property");if(!Array.isArray(n))throw Error("Cannot map terms because no terms array was provided");const r={name:e.name,codename:e.codename,id:e.id,lastModified:e.last_modified},i=this.mapTaxonomyTerms(n);return{system:r,terms:i}}mapTaxonomies(e){if(!e)throw Error("Cannot map taxonomy due to missing 'taxonomies' property");if(!Array.isArray(e))throw Error("Cannot map taxonomies because the 'taxonomies' property is not an array ");const n=[];return e.forEach(r=>{n.push(this.mapTaxonomy(r.system,r.terms))}),n}mapTaxonomyTerms(e){if(e.length===0)return[];const n=[];return e.forEach(r=>{const i={codename:r.codename,name:r.name,terms:this.mapTaxonomyTerms(r.terms)};n.push(i)}),n}}class g3{mapSingleType(e){return this.mapType(e)}mapMultipleTypes(e){return e.types.map(n=>this.mapType(n))}mapType(e){if(!e)throw Error("Cannot map type");if(!e.elements)throw Error("Cannot map type elements");const n={codename:e.system.codename,id:e.system.id,name:e.system.name,lastModified:e.system.last_modified},r=[];return Object.getOwnPropertyNames(e.elements).forEach(o=>{const s=e.elements[o];if(!s)throw Error(`Cannot find element '${o}' on type '${e.system.codename}'`);const a=o,u=[],c=s.options;if(c){if(!Array.isArray(c))throw Error("Content type 'options' property has to be an array");c.forEach(h=>{u.push({codename:h.codename,name:h.name})})}r.push({codename:a,taxonomyGroup:s.taxonomy_group,options:u,name:s.name,type:s.type})}),{elements:r,system:n}}}class _3{mapElement(e){if(!e)throw Error("Invalid response for mapping element");const n=e;return{codename:n.codename,name:n.name,type:n.type,options:n.options?n.options:[],taxonomyGroup:n.taxonomy_group}}}class v3{mapMultipleLanguages(e){return e.languages.map(n=>this.mapLanguage(n))}mapLanguage(e){if(!e)throw Error("Cannot map language");return{system:{codename:e.system.codename,id:e.system.id,name:e.system.name}}}}class y3{mapUsedInItem(e){return{system:{id:e.system.id,name:e.system.name,codename:e.system.codename,language:e.system.language,type:e.system.type,collection:e.system.collection,workflow:e.system.workflow,workflowStep:e.system.workflow_step,lastModified:e.system.last_modified}}}}class b3{mapContentItemDelta(e){var n,r;const i=e.data.system,o=e.data.elements?e.data.elements:{};return{changeType:e.change_type,timestamp:e.timestamp,data:{elements:o,system:{codename:i.codename,collection:i.collection,id:i.id,language:i.language,lastModified:i.last_modified,name:i.name,sitemapLocations:i.sitemap_locations,type:i.type,workflowStep:(n=i.workflow_step)!==null&&n!==void 0?n:null,workflow:(r=i.workflow)!==null&&r!==void 0?r:null}}}}}class w3{constructor(e){this.config=e,this.typeMapper=new g3,this.languageMapper=new v3,this.itemMapper=new p3(e),this.taxonomyMapper=new m3,this.usedInMapper=new y3,this.genericElementMapper=new _3,this.syncMapper=new b3}usedInResponse(e){return{items:e.items.map(n=>this.usedInMapper.mapUsedInItem(n))}}listLanguagesResponse(e){return{items:this.languageMapper.mapMultipleLanguages(e),pagination:this.mapPagination(e.pagination)}}listContentTypesResponse(e){return{items:this.typeMapper.mapMultipleTypes(e),pagination:this.mapPagination(e.pagination)}}viewContentTypeResponse(e){return{type:this.typeMapper.mapSingleType(e)}}itemsFeedResponse(e){const n=this.itemMapper.mapItems({linkedItems:Object.values(e.modular_content),mainItems:e.items});return{items:n.items,linkedItems:n.linkedItems}}viewContentItemResponse(e){const n=this.itemMapper.mapSingleItemFromResponse(e);return{item:n.item,linkedItems:n.linkedItems}}listContentItemsResponse(e){const n=this.itemMapper.mapMultipleItemsFromResponse(e);return{items:n.items,pagination:this.mapPagination(e.pagination),linkedItems:n.linkedItems}}viewTaxonomyResponse(e){return{taxonomy:this.taxonomyMapper.mapTaxonomy(e.system,e.terms)}}listTaxonomiesResponse(e){return{items:this.taxonomyMapper.mapTaxonomies(e.taxonomies),pagination:this.mapPagination(e.pagination)}}viewContentTypeElementResponse(e){return this.genericElementMapper.mapElement(e)}initializeContentSync(e){return{items:e.items.map(n=>this.syncMapper.mapContentItemDelta(n))}}syncChanges(e){return{items:e.items.map(n=>this.syncMapper.mapContentItemDelta(n))}}mapPagination(e){var n;return{skip:e.skip,count:e.count,limit:e.limit,nextPage:e.next_page,totalCount:(n=e.total_count)!==null&&n!==void 0?n:null}}}class S3{constructor(e){if(this.config=e,!e)throw Error("Delivery client configuration is not set");this.mappingService=new w3(e),this.queryService=new l3(e,e.httpService?e.httpService:new zM,{host:pp.host,name:pp.name,version:pp.version},this.mappingService)}languages(){return new i3(this.config,this.queryService)}types(){return new t3(this.config,this.queryService)}type(e){return new n3(this.config,this.queryService,e)}items(){return new QM(this.config,this.queryService)}item(e){return new JM(this.config,this.queryService,e)}itemsFeed(){return new r3(this.config,this.queryService)}taxonomy(e){return new e3(this.config,this.queryService,e)}taxonomies(){return new ZM(this.config,this.queryService)}element(e,n){return new XM(this.config,this.queryService,e,n)}initializeSync(){return new o3(this.config,this.queryService)}syncChanges(){return new s3(this.config,this.queryService)}assetUsedIn(e){return new qy(this.config,this.queryService,{entity:"asset",codename:e})}itemUsedIn(e){return new qy(this.config,this.queryService,{entity:"contentItem",codename:e})}}const{kontentEnvID:T3}=lt,E3="https://content.breakthroughenergy.org",k3="https://preview.breakthroughenergy.org",A3="https://images.breakthroughenergy.org",R3={environmentId:T3,defaultQueryConfig:{usePreviewMode:!1},proxy:{baseUrl:E3,basePreviewUrl:k3},assetsDomain:A3},ph=new S3(R3),rE=async(t,e=!1,n=1)=>{try{const r=await ph.items().type(t).depthParameter(n).toPromise();return e?r.data.items[0]:r.data.items}catch(r){return console.error("Error fetching content from Kontent:",r),null}},C3=async(t,e=1)=>{try{return(await ph.items().equalsFilter("elements.slug",t).depthParameter(e).toPromise()).data.items[0]}catch(n){return console.error(`Error fetching content by slug "${t}":`,n),null}},x3=async()=>{try{return(await ph.items().depthParameter(2).notEqualsFilter("elements.slug","").toPromise()).data.items}catch(t){return console.error("Error fetching items from Kontent:",t),null}},iE=async(t=null)=>{try{const e=await ph.taxonomy(t).toPromise();return e&&e.data&&e.data.taxonomy?e.data.taxonomy.terms:{}}catch(e){return console.error("Error fetching taxonomies:",e),{}}};var mp=new WeakMap,Ky=0;function P3(t){if(!t.length)return"";for(var e="arg",n=0;n<t.length;++n){var r=void 0;t[n]===null||typeof t[n]!="object"&&typeof t[n]!="function"?typeof t[n]=="string"?r='"'+t[n]+'"':r=String(t[n]):mp.has(t[n])?r=mp.get(t[n]):(r=Ky,mp.set(t[n],Ky++)),e+="@"+r}return e}function I3(t){if(typeof t=="function")try{t=t()}catch{t=""}return Array.isArray(t)?t=P3(t):t=String(t||""),t}var e_=function(){function t(e){e===void 0&&(e=0),this.items=new Map,this.ttl=e}return t.prototype.serializeKey=function(e){return I3(e)},t.prototype.get=function(e){var n=this.serializeKey(e);return this.items.get(n)},t.prototype.set=function(e,n,r){var i=this.serializeKey(e),o=r||this.ttl,s=Date.now(),a={data:n,createdAt:s,expiresAt:o?s+o:1/0};this.dispatchExpire(o,a,i),this.items.set(i,a)},t.prototype.dispatchExpire=function(e,n,r){var i=this;e&&setTimeout(function(){var o=Date.now(),s=o>=n.expiresAt;s&&i.delete(r)},e)},t.prototype.delete=function(e){this.items.delete(e)},t}();function L3(){return typeof navigator.onLine<"u"?navigator.onLine:!0}function O3(){return typeof document<"u"&&typeof document.visibilityState<"u"?document.visibilityState!=="hidden":!0}var M3=function(t){return fetch(t).then(function(e){return e.json()})};const gp={isOnline:L3,isDocumentVisible:O3,fetcher:M3};var Fo=function(){return Fo=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++){e=arguments[n];for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])}return t},Fo.apply(this,arguments)},Ka=function(t,e,n,r){function i(o){return o instanceof n?o:new n(function(s){s(o)})}return new(n||(n=Promise))(function(o,s){function a(h){try{c(r.next(h))}catch(l){s(l)}}function u(h){try{c(r.throw(h))}catch(l){s(l)}}function c(h){h.done?o(h.value):i(h.value).then(a,u)}c((r=r.apply(t,e||[])).next())})},Xa=function(t,e){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,i,o,s;return s={next:a(0),throw:a(1),return:a(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function a(c){return function(h){return u([c,h])}}function u(c){if(r)throw new TypeError("Generator is already executing.");for(;n;)try{if(r=1,i&&(o=c[0]&2?i.return:c[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,c[1])).done)return o;switch(i=0,o&&(c=[c[0]&2,o.value]),c[0]){case 0:case 1:o=c;break;case 4:return n.label++,{value:c[1],done:!1};case 5:n.label++,i=c[1],c=[0];continue;case 7:c=n.ops.pop(),n.trys.pop();continue;default:if(o=n.trys,!(o=o.length>0&&o[o.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!o||c[1]>o[0]&&c[1]<o[3])){n.label=c[1];break}if(c[0]===6&&n.label<o[1]){n.label=o[1],o=c;break}if(o&&n.label<o[2]){n.label=o[2],n.ops.push(c);break}o[2]&&n.ops.pop(),n.trys.pop();continue}c=e.call(t,n)}catch(h){c=[6,h],i=0}finally{r=o=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}},F3=function(t,e){var n=typeof Symbol=="function"&&t[Symbol.iterator];if(!n)return t;var r=n.call(t),i,o=[],s;try{for(;(e===void 0||e-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(a){s={error:a}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return o},D3=function(t,e,n){if(n||arguments.length===2)for(var r=0,i=e.length,o;r<i;r++)(o||!(r in e))&&(o||(o=Array.prototype.slice.call(e,0,r)),o[r]=e[r]);return t.concat(o||Array.prototype.slice.call(e))},oE=new e_,Id=new e_,_p=new e_,sE={cache:oE,refreshInterval:0,ttl:0,serverTTL:1e3,dedupingInterval:2e3,revalidateOnFocus:!0,revalidateDebounce:0,shouldRetryOnError:!0,errorRetryInterval:5e3,errorRetryCount:5,fetcher:gp.fetcher,isOnline:gp.isOnline,isDocumentVisible:gp.isDocumentVisible};function $3(t,e,n){var r=Id.get(t);if(r)r.data.push(e);else{var i=5e3;Id.set(t,[e],n>0?n+i:n)}}function H3(t,e,n){if(n.isDocumentVisible()&&!(n.errorRetryCount!==void 0&&e>n.errorRetryCount)){var r=Math.min(e||0,n.errorRetryCount),i=r*n.errorRetryInterval;setTimeout(function(){t(null,{errorRetryCount:r+1,shouldRetryOnError:!0})},i)}}var Xy=function(t,e,n,r){return n===void 0&&(n=oE),r===void 0&&(r=sE.ttl),Ka(void 0,void 0,void 0,function(){var i,o,s,a,u,c,h;return Xa(this,function(l){switch(l.label){case 0:if(!B3(e))return[3,5];l.label=1;case 1:return l.trys.push([1,3,,4]),[4,e];case 2:return i=l.sent(),[3,4];case 3:return a=l.sent(),o=a,[3,4];case 4:return[3,6];case 5:i=e,l.label=6;case 6:if(s=!1,u={data:i,error:o,isValidating:s},typeof i<"u")try{n.set(t,u,r)}catch(d){console.error("swrv(mutate): failed to set cache",d)}return c=Id.get(t),c&&c.data.length&&(h=c.data.filter(function(d){return d.key===t}),h.forEach(function(d,f){typeof u.data<"u"&&(d.data=u.data),d.error=u.error,d.isValidating=u.isValidating,d.isLoading=u.isValidating;var _=f===h.length-1;_||delete h[f]}),h=h.filter(Boolean)),[2,u]}})})};function N3(){for(var t=this,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var r,i,o=Fo({},sE),s=!1,a=!1,u=xl(),c=(u==null?void 0:u.proxy)||u;if(!c)return console.error("Could not get current instance, check to make sure that `useSwrv` is declared in the top level of the setup function."),null;var h=(c==null?void 0:c.$isServer)||!1;e.length>=1&&(r=e[0]),e.length>=2&&(i=e[1]),e.length>2&&(o=Fo(Fo({},o),e[2]));var l=h?o.serverTTL:o.ttl,d=typeof r=="function"?r:U(r);typeof i>"u"&&(i=o.fetcher);var f=null;f||(f=Ca({data:void 0,error:void 0,isValidating:!0,isLoading:!0,key:null}));var _=function(w,A){return Ka(t,void 0,void 0,function(){var k,R,x,L,F,H,V,ne=this;return Xa(this,function($){switch($.label){case 0:return k=f.data===void 0,R=d.value,R?(x=o.cache.get(R),L=x&&x.data,f.isValidating=!0,f.isLoading=!L,L&&(f.data=L.data,f.error=L.error),F=w||i,!F||!o.isDocumentVisible()&&!k||(A==null?void 0:A.forceRevalidate)!==void 0&&!(A!=null&&A.forceRevalidate)?(f.isValidating=!1,f.isLoading=!1,[2]):x&&(H=!!(Date.now()-x.createdAt>=o.dedupingInterval||A!=null&&A.forceRevalidate),!H)?(f.isValidating=!1,f.isLoading=!1,[2]):(V=function(){return Ka(ne,void 0,void 0,function(){var M,z,K,B;return Xa(this,function(W){switch(W.label){case 0:return M=_p.get(R),M?[3,2]:(z=Array.isArray(R)?R:[R],K=F.apply(void 0,D3([],F3(z),!1)),_p.set(R,K,o.dedupingInterval),[4,Xy(R,K,o.cache,l)]);case 1:return W.sent(),[3,4];case 2:return[4,Xy(R,M.data,o.cache,l)];case 3:W.sent(),W.label=4;case 4:return f.isValidating=!1,f.isLoading=!1,_p.delete(R),f.error!==void 0&&(B=!s&&o.shouldRetryOnError&&(A?A.shouldRetryOnError:!0),B&&H3(_,A?A.errorRetryCount:1,o)),[2]}})})},L&&o.revalidateDebounce?(setTimeout(function(){return Ka(ne,void 0,void 0,function(){return Xa(this,function(M){switch(M.label){case 0:return s?[3,2]:[4,V()];case 1:M.sent(),M.label=2;case 2:return[2]}})})},o.revalidateDebounce),[3,3]):[3,1])):[2];case 1:return[4,V()];case 2:$.sent(),$.label=3;case 3:return[2]}})})},g=function(){return Ka(t,void 0,void 0,function(){return Xa(this,function(w){return[2,_(null,{shouldRetryOnError:!1})]})})},b=null;Ct(function(){var w=function(){return Ka(t,void 0,void 0,function(){return Xa(this,function(A){switch(A.label){case 0:return!f.error&&o.isOnline()?[4,_()]:[3,2];case 1:return A.sent(),[3,3];case 2:b&&clearTimeout(b),A.label=3;case 3:return o.refreshInterval&&!s&&(b=setTimeout(w,o.refreshInterval)),[2]}})})};o.refreshInterval&&(b=setTimeout(w,o.refreshInterval)),o.revalidateOnFocus&&(document.addEventListener("visibilitychange",g,!1),window.addEventListener("focus",g,!1))}),Vt(function(){s=!0,b&&clearTimeout(b),o.revalidateOnFocus&&(document.removeEventListener("visibilitychange",g,!1),window.removeEventListener("focus",g,!1));var w=Id.get(d.value);w&&(w.data=w.data.filter(function(A){return A!==f}))});try{Ne(d,function(w){Qo(d)||(d.value=w),f.key=w,f.isValidating=!!w,$3(d.value,f,l),!h&&!a&&d.value&&_(),a=!1},{immediate:!0})}catch{}var y=Fo(Fo({},gb(f)),{mutate:function(w,A){return _(w,Fo(Fo({},A),{forceRevalidate:!0}))}});return y}function B3(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}const V3=lt.isSSR;function U3(t){const e=U(null),n=U(null),r=U(!0);return t().then(i=>{e.value=i,r.value=!1}).catch(i=>{n.value=i,r.value=!1}),{data:e,error:n,isLoading:r,mutate:async()=>{r.value=!0;try{const i=await t();e.value=i}catch(i){n.value=i}finally{r.value=!1}}}}function t_(t,e,n={}){if(V3)return U3(e);const r={dedupingInterval:5e3,revalidateOnFocus:!1,...n},{data:i,error:o,isValidating:s,mutate:a}=N3(t,e,r);return{data:i,error:o,isLoading:s,mutate:a}}const j3=(t=null)=>{const e=async()=>await iE(t),n=t?`kontent/taxonomy/${t}`:"kontent/taxonomies";return t_(n,e)},aE=(t,e=5)=>{const n=async()=>{const r=mr(),i=await C3(t,e);return i?r.prepComponentsField("components",{...i}):null};return t_(`kontent/content-by-slug/${t}/${e}`,n)},Ld=(t,e=!1,n=1)=>{const r=async()=>{const i=mr(),o=await rE(t,e,n);return o?e?i.prepComponentsField("components",{...o}):o.map(s=>i.prepComponentsField("components",{...s})):null};return t_(`kontent/content-type/${t}/${e}/${n}`,r)},W3="375",z3="1440",Mc={mobile:W3,"tablet-portrait":"768","tablet-landscape":"1024",desktop:z3,"desktop-wide":"1920"},mr=Rc("content",()=>{const t=U([]),e=U(null),n=U(!0);U(!0);const r=U(null),i=U(null),o=U([]),s=async()=>{const M=await x3();return M?(o.value=M,M):{}},a=M=>!M||o.value.length===0?[]:o.value.filter(z=>z.slug?z.slug.value===M:!1),u=M=>{const z=a(M);return z&&z.length>0?b(z[0]):!1},c=M=>({})[M]||"ProxyBlock",h=(M,z)=>{const K=z[M];if(!K)return z;const B=[];return K.forEach((W,oe)=>{var q;const se={...W};se.vueType=c(se._type),se.pageTitle=z.title,se.pageSlug=(q=z.slug)==null?void 0:q.current,se.blockIndex=oe,se.cascadeColor="white",B.push(se)}),z[M]=B,z},l=async()=>{if(r.value)return r.value;const M=await rE("siteconfig",!0,3);return M?(r.value={...M},r.value):{}},d=(M=null)=>[{rel:"icon",type:"image/x-icon",href:"/favicon.ico"},{rel:"icon",type:"image/svg+xml",href:"/favicon.svg"},{rel:"icon",type:"image/png",sizes:"16x16",href:"/favicon-16x16.png"},{rel:"icon",type:"image/png",sizes:"32x32",href:"/favicon-32x32.png"},{rel:"icon",type:"image/png",sizes:"192x192",href:"/android-chrome-192x192.png"},{rel:"icon",type:"image/png",sizes:"512x512",href:"/android-chrome-512x512.png"},{rel:"apple-touch-icon",sizes:"180x180",href:"/apple-touch-icon.png"},{rel:"mask-icon",href:"/apple-touch-icon.png",color:"#000000"}],f=M=>{var B,W,oe,se,q;if(!r.value&&!M.metadata)return[];const z=Array.isArray((oe=(W=(B=r==null?void 0:r.value)==null?void 0:B.elements)==null?void 0:W.metadata)==null?void 0:oe.linkedItems)&&r.value.elements.metadata.linkedItems.length>0?r.value.elements.metadata.linkedItems[0].elements:{},K=Array.isArray((se=M==null?void 0:M.metadata)==null?void 0:se.linkedItems)&&((q=M.metadata)==null?void 0:q.linkedItems.length)>0?M.metadata.linkedItems[0].elements:{};return[{rel:"canonical",href:xe(()=>{var pe,Te,_e;return(_e=(Te=(pe=r==null?void 0:r.value)==null?void 0:pe.elements)==null?void 0:Te.url)==null?void 0:_e.value})},{name:"description",content:xe(()=>{var pe,Te;return((pe=K==null?void 0:K.description)==null?void 0:pe.value)||((Te=z==null?void 0:z.description)==null?void 0:Te.value)})},{name:"keywords",content:xe(()=>{var pe,Te;return((pe=K==null?void 0:K.keywords)==null?void 0:pe.value)||((Te=z==null?void 0:z.keywords)==null?void 0:Te.value)})},{property:"og:type",content:"website"},{property:"og:title",content:xe(()=>{var pe,Te,_e,ye,Ae;return`${(_e=(Te=(pe=r.value)==null?void 0:pe.elements)==null?void 0:Te.sitename)==null?void 0:_e.value}${(ye=M==null?void 0:M.title)!=null&&ye.value?` | ${(Ae=M==null?void 0:M.title)==null?void 0:Ae.value}`:""}`})},{property:"og:description",content:xe(()=>{var pe,Te;return((pe=K==null?void 0:K.description)==null?void 0:pe.value)||((Te=z==null?void 0:z.description)==null?void 0:Te.value)})},{property:"og:url",content:xe(()=>{var pe,Te,_e;return(_e=(Te=(pe=r==null?void 0:r.value)==null?void 0:pe.elements)==null?void 0:Te.url)==null?void 0:_e.value})},{property:"og:image",content:xe(()=>ne(z==null?void 0:z.socialimagefacebook))},{name:"twitter:card",content:"summary_large_image"},{name:"twitter:title",content:xe(()=>{var pe,Te,_e,ye,Ae;return`${(_e=(Te=(pe=r.value)==null?void 0:pe.elements)==null?void 0:Te.sitename)==null?void 0:_e.value}${(ye=M==null?void 0:M.title)!=null&&ye.value?` | ${(Ae=M==null?void 0:M.title)==null?void 0:Ae.value}`:""}`})},{name:"twitter:description",content:xe(()=>{var pe,Te;return((pe=K==null?void 0:K.description)==null?void 0:pe.value)||((Te=z==null?void 0:z.description)==null?void 0:Te.value)})},{name:"twitter:image",content:xe(()=>ne(z==null?void 0:z.socialimagetwitter))}]},_=M=>(Array.isArray(M)||(M=[]),M.map(z=>A(z)).filter(Boolean)),g=(M,z,K=null)=>{let B="";const W={},oe=K||b(z);return B=W[oe]||B,M==="/"?"/":`/${B}${M}`},b=M=>typeof M.type=="object"&&M.type._system&&M.type._system.name?M.type._system.name:M.type,y=M=>{if(!M||!o.value||o.value.length===0)return!1;const z=o.value.find(K=>{var B,W;return((W=(B=K.elements)==null?void 0:B.slug)==null?void 0:W.value)===M});return z&&(z.system.type||z._type)||!1},w=M=>{var B,W,oe;const z=M.system?M.system:y((B=M.elements.slug)==null?void 0:B.value),K=((oe=(W=M.elements)==null?void 0:W.slug)==null?void 0:oe.value)||"/";return typeof K>"u"?"":g(K,z)},A=M=>{if(!M)return"";const z=y(M);return g(M,null,z)};function k(M){return!M||!Array.isArray(M)?[]:M.filter(z=>{var K,B;return(B=(K=z.elements)==null?void 0:K.slug)==null?void 0:B.value})}function R(M,z="beige"){var K,B;return((B=(K=M==null?void 0:M.value)==null?void 0:K[0])==null?void 0:B.name)||z}function x(M,z=""){const K={"warm-grey":"#12110E"};let B=M;return M&&typeof M=="object"&&(B=Object.keys(M).find(W=>M[W])),typeof B=="string"&&(B=B.replace(/^\.?theme-bg--/,"").replace(/^\.?theme--/,"")),K[B]||z}const L=(M,{width:z=null,height:K=null,crop:B=null}={})=>{const oe=lt.pixelRatio;let se=`${M}?fm=webp&dpr=${oe}&q=90`;return z&&(se+=`&w=${z}`),K&&(se+=`&h=${K}`),z&&K&&B&&(se+=`&fit=${B}`),se},F=M=>lt.videoPrefix+M,H=M=>lt.cloudinaryVideoURL+M,V=M=>!M||!M.value||!Array.isArray(M.value)||M.value.length===0?[]:M.value.filter(z=>z.url&&z.type).map(z=>({src:H(z.url),type:z.type})),ne=M=>!M||!M.value||!M.value.length||!M.value[0].url?!1:lt.cloudinaryAssetURL+M.value[0].url;return{getWebP:L,prefixedVideoURL:F,getVideoSource:H,getVideoSources:V,getAssetURL:ne,getAssetURLs:M=>!M||!M.value||!M.value.length?[]:M.value.map(z=>lt.cloudinaryAssetURL+z.url).filter(z=>!!z),prepComponentsField:h,getRouteTypeFromSlug:u,prepLinkList:_,prepLink:A,getMeta:f,getMetaLinks:d,siteConfig:r,populateSiteConfig:l,getAllRoutes:s,pages:t,currentContent:e,isLoading:n,internalRouting:g,pageType:i,filterLinkList:k,getInternalTo:w,getThemeValue:R,getNavColorValue:x}});function n_(t){if(!t)return"";const e=t.charAt(0);return e>="A"&&e<="Z"?`type-nudge--${e.toLowerCase()}`:""}const q3=["data-nav-color"],G3={class:"SectionHeader-container"},Y3=["data-show-grid"],K3=["data-align"],X3={__name:"SectionHeader",props:{showGrid:{type:Boolean,default:!1},hLevel:{type:String,default:"h2"},block:{type:Object,required:!0,default:()=>({_type:"sectionHeader",vueType:"SectionHeader",title:"",intro:"",theme:{name:"theme",type:"multiple_choice",value:[{name:"black",codename:"black"}]},blockIndex:0,cascadeColor:"white",leadAlignment:"right"})}},setup(t){const e=t,n=mr();function r(){return e.block.leadAlignment||"right"}const i=xe(()=>n_(e.block.intro));return(o,s)=>{const a=Pc;return ae(),me("header",{class:st(["SectionHeader",`theme--${ge(n).getThemeValue(t.block.theme)}`]),"data-nav-color":ge(n).getNavColorValue(ge(n).getThemeValue(t.block.theme))},[J("div",G3,[J("div",{class:"SectionHeader-wrap","data-show-grid":t.showGrid},[t.block.title?(ae(),Kt(va(t.hLevel),{key:0,class:"SectionHeader-title type-h1"},{default:Di(()=>[Ju(We(t.block.title),1)]),_:1})):bt("",!0),J("div",{class:"SectionHeader-lead","data-align":r()},[Ve(a,{class:st(["SectionHeader-intro type-h5",i.value]),html:t.block.intro},null,8,["class","html"])],8,K3)],8,Y3)])],10,q3)}}},Q3=_t(X3,[["__scopeId","data-v-cd9aca6e"]]),di={NONE:null,MENU:"MENU",FILTER:"FILTER",CONTENT:"CONTENT",VIDEO:"VIDEO"},ga={PENDING_TRANSITION:"TRANSITION_STATE:PENDING_TRANSITION",LEAVE:"TRANSITION_STATE:LEAVE",AFTER_LEAVE:"TRANSITION_STATE:AFTER_LEAVE",ENTER:"TRANSITION_STATE:ENTER",ENTER_AFTER_LOADED:"TRANSITION_STATE:ENTER_AFTER_LOADED",AFTER_ENTER:"TRANSITION_STATE:AFTER_ENTER"},$8={LEAVE:2,ENTER_TOTAL:1.2,ENTER_DELAY:.4},J3={BLACK:"rgb(18,17,14)",CREAM:"#FAFBF8",YELLOW:"#DFFF5C",KEYLINE_DARK:"#12110E4D"},vi=Rc("app",()=>{const t=Il(),e=U(!1);U(!1);const n=U(!1),r=U(null),i=_a({sources:[],timeOffset:0,title:"Title"}),o=!lt.isSSR&<.hasDocument?document.visibilityState==="visible":!0,s=U(!1),a=U(!1),u=U(!0);u.value=o;const c=U(!1),h=xe(()=>c.value||!u.value),l=U(!1),d=U(di.NONE),f=U(!1),_=U(!0),g=U(!0),b=xe(()=>d.value!==di.NONE),y=V=>{d.value=V},w=V=>{c.value=V},A=V=>{s.value=V},k=V=>{u.value=V},R=V=>{f.value=V},x=V=>{_.value=V};return Ne(()=>t.path,()=>{g.value=!1}),Ne(()=>t.path,()=>{n.value=d.value===di.MENU,y(di.NONE),setTimeout(()=>{n.value=!1},200)},{immediate:!0}),{navbarCanShow:_,toggleNavbarCanShow:x,setIsLoaderVisible:V=>{e.value=V},isLoaderVisible:e,audioUnlocked:a,tabVisible:u,setTabVisible:k,setAudioUserMuted:w,audioUserMuted:c,audioMuted:h,isWarningShowing:l,setModalState:y,modalState:d,modalShowing:b,videoModalData:i,videoModalPlayerRef:r,setVideoModalData:V=>{i.value=V},setVideoModalPlayerRef:V=>{r.value=V},menuOpenBeforeRouteChange:n,setPageHasAudio:A,pageHasAudio:s,lowFPS:f,setLowFPS:R}}),Z3=new Set(["link","style","script","noscript"]),e5=new Set(["title","titleTemplate","script","style","noscript"]),Qy=new Set(["base","meta","link","style","script","noscript"]),t5=new Set(["title","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),n5=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),r5=new Set(["key","tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"]),i5=new Set(["templateParams","htmlAttrs","bodyAttrs"]),o5=new Set(["theme-color","google-site-verification","og","article","book","profile","twitter","author"]);function Om(t,e={},n){for(const r in t){const i=t[r],o=n?`${n}:${r}`:r;typeof i=="object"&&i!==null?Om(i,e,o):typeof i=="function"&&(e[o]=i)}return e}const s5={run:t=>t()},a5=()=>s5,lE=typeof console.createTask<"u"?console.createTask:a5;function l5(t,e){const n=e.shift(),r=lE(n);return t.reduce((i,o)=>i.then(()=>r.run(()=>o(...e))),Promise.resolve())}function u5(t,e){const n=e.shift(),r=lE(n);return Promise.all(t.map(i=>r.run(()=>i(...e))))}function vp(t,e){for(const n of[...t])n(e)}class c5{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(e,n,r={}){if(!e||typeof n!="function")return()=>{};const i=e;let o;for(;this._deprecatedHooks[e];)o=this._deprecatedHooks[e],e=o.to;if(o&&!r.allowDeprecated){let s=o.message;s||(s=`${i} hook has been deprecated`+(o.to?`, please use ${o.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(s)||(console.warn(s),this._deprecatedMessages.add(s))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+e.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(n),()=>{n&&(this.removeHook(e,n),n=void 0)}}hookOnce(e,n){let r,i=(...o)=>(typeof r=="function"&&r(),r=void 0,i=void 0,n(...o));return r=this.hook(e,i),r}removeHook(e,n){if(this._hooks[e]){const r=this._hooks[e].indexOf(n);r!==-1&&this._hooks[e].splice(r,1),this._hooks[e].length===0&&delete this._hooks[e]}}deprecateHook(e,n){this._deprecatedHooks[e]=typeof n=="string"?{to:n}:n;const r=this._hooks[e]||[];delete this._hooks[e];for(const i of r)this.hook(e,i)}deprecateHooks(e){Object.assign(this._deprecatedHooks,e);for(const n in e)this.deprecateHook(n,e[n])}addHooks(e){const n=Om(e),r=Object.keys(n).map(i=>this.hook(i,n[i]));return()=>{for(const i of r.splice(0,r.length))i()}}removeHooks(e){const n=Om(e);for(const r in n)this.removeHook(r,n[r])}removeAllHooks(){for(const e in this._hooks)delete this._hooks[e]}callHook(e,...n){return n.unshift(e),this.callHookWith(l5,e,...n)}callHookParallel(e,...n){return n.unshift(e),this.callHookWith(u5,e,...n)}callHookWith(e,n,...r){const i=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&vp(this._before,i);const o=e(n in this._hooks?[...this._hooks[n]]:[],r);return o instanceof Promise?o.finally(()=>{this._after&&i&&vp(this._after,i)}):(this._after&&i&&vp(this._after,i),o)}beforeEach(e){return this._before=this._before||[],this._before.push(e),()=>{if(this._before!==void 0){const n=this._before.indexOf(e);n!==-1&&this._before.splice(n,1)}}}afterEach(e){return this._after=this._after||[],this._after.push(e),()=>{if(this._after!==void 0){const n=this._after.indexOf(e);n!==-1&&this._after.splice(n,1)}}}}function f5(){return new c5}const d5=["name","property","http-equiv"],h5=new Set(["viewport","description","keywords","robots"]);function uE(t){const e=t.split(":");return e.length?o5.has(e[1]):!1}function Mm(t){const{props:e,tag:n}=t;if(n5.has(n))return n;if(n==="link"&&e.rel==="canonical")return"canonical";if(e.charset)return"charset";if(t.tag==="meta"){for(const r of d5)if(e[r]!==void 0){const i=e[r],o=i.includes(":"),s=h5.has(i),u=!(o||s)&&t.key?`:key:${t.key}`:"";return`${n}:${i}${u}`}}if(t.key)return`${n}:key:${t.key}`;if(e.id)return`${n}:id:${e.id}`;if(e5.has(n)){const r=t.textContent||t.innerHTML;if(r)return`${n}:content:${r}`}}function Jy(t){const e=t._h||t._d;if(e)return e;const n=t.textContent||t.innerHTML;return n||`${t.tag}:${Object.entries(t.props).map(([r,i])=>`${r}:${String(i)}`).join(",")}`}function Od(t,e,n){typeof t==="function"&&(!n||n!=="titleTemplate"&&!(n[0]==="o"&&n[1]==="n"))&&(t=t());let i;if(e&&(i=e(n,t)),Array.isArray(i))return i.map(o=>Od(o,e));if((i==null?void 0:i.constructor)===Object){const o={};for(const s of Object.keys(i))o[s]=Od(i[s],e,s);return o}return i}function p5(t,e){const n=t==="style"?new Map:new Set;function r(i){const o=i.trim();if(o)if(t==="style"){const[s,...a]=o.split(":").map(u=>u.trim());s&&a.length&&n.set(s,a.join(":"))}else o.split(" ").filter(Boolean).forEach(s=>n.add(s))}return typeof e=="string"?t==="style"?e.split(";").forEach(r):r(e):Array.isArray(e)?e.forEach(i=>r(i)):e&&typeof e=="object"&&Object.entries(e).forEach(([i,o])=>{o&&o!=="false"&&(t==="style"?n.set(i.trim(),o):r(i))}),n}function cE(t,e){return t.props=t.props||{},e&&Object.entries(e).forEach(([n,r])=>{if(r===null){t.props[n]=null;return}if(n==="class"||n==="style"){t.props[n]=p5(n,r);return}if(r5.has(n)){if(["textContent","innerHTML"].includes(n)&&typeof r=="object"){let s=e.type;if(e.type||(s="application/json"),!(s!=null&&s.endsWith("json"))&&s!=="speculationrules")return;e.type=s,t.props.type=s,t[n]=JSON.stringify(r)}else t[n]=r;return}const i=String(r),o=n.startsWith("data-");i==="true"||i===""?t.props[n]=o?i:!0:!r&&o&&i==="false"?t.props[n]="false":r!==void 0&&(t.props[n]=r)}),t}function m5(t,e){const n=typeof e=="object"&&typeof e!="function"?e:{[t==="script"||t==="noscript"||t==="style"?"innerHTML":"textContent"]:e},r=cE({tag:t,props:{}},n);return r.key&&Z3.has(r.tag)&&(r.props["data-hid"]=r._h=r.key),r.tag==="script"&&typeof r.innerHTML=="object"&&(r.innerHTML=JSON.stringify(r.innerHTML),r.props.type=r.props.type||"application/json"),Array.isArray(r.props.content)?r.props.content.map(i=>({...r,props:{...r.props,content:i}})):r}function g5(t,e){if(!t)return[];typeof t=="function"&&(t=t());const n=(i,o)=>{for(let s=0;s<e.length;s++)o=e[s](i,o);return o};t=n(void 0,t);const r=[];return t=Od(t,n),Object.entries(t||{}).forEach(([i,o])=>{if(o!==void 0)for(const s of Array.isArray(o)?o:[o])r.push(m5(i,s))}),r.flat()}const Zy=(t,e)=>t._w===e._w?t._p-e._p:t._w-e._w,e1={base:-10,title:10},_5={critical:-8,high:-1,low:2},t1={meta:{"content-security-policy":-30,charset:-20,viewport:-15},link:{preconnect:20,stylesheet:60,preload:70,modulepreload:70,prefetch:90,"dns-prefetch":90,prerender:90},script:{async:30,defer:80,sync:50},style:{imported:40,sync:60}},v5=/@import/,lu=t=>t===""||t===!0;function y5(t,e){var o;if(typeof e.tagPriority=="number")return e.tagPriority;let n=100;const r=_5[e.tagPriority]||0,i=t.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:t1;if(e.tag in e1)n=e1[e.tag];else if(e.tag==="meta"){const s=e.props["http-equiv"]==="content-security-policy"?"content-security-policy":e.props.charset?"charset":e.props.name==="viewport"?"viewport":null;s&&(n=t1.meta[s])}else e.tag==="link"&&e.props.rel?n=i.link[e.props.rel]:e.tag==="script"?lu(e.props.async)?n=i.script.async:e.props.src&&!lu(e.props.defer)&&!lu(e.props.async)&&e.props.type!=="module"&&!((o=e.props.type)!=null&&o.endsWith("json"))?n=i.script.sync:lu(e.props.defer)&&e.props.src&&!lu(e.props.async)&&(n=i.script.defer):e.tag==="style"&&(n=e.innerHTML&&v5.test(e.innerHTML)?i.style.imported:i.style.sync);return(n||100)+r}function n1(t,e){const n=typeof e=="function"?e(t):e,r=n.key||String(t.plugins.size+1);t.plugins.get(r)||(t.plugins.set(r,n),t.hooks.addHooks(n.hooks||{}))}function b5(t={}){var a;const e=f5();e.addHooks(t.hooks||{});const n=!t.document,r=new Map,i=new Map,o=new Set,s={_entryCount:1,plugins:i,dirty:!1,resolvedOptions:t,hooks:e,ssr:n,entries:r,headEntries(){return[...r.values()]},use:u=>n1(s,u),push(u,c){const h={...c||{}};delete h.head;const l=h._index??s._entryCount++,d={_i:l,input:u,options:h},f={_poll(_=!1){s.dirty=!0,!_&&o.add(l),e.callHook("entries:updated",s)},dispose(){r.delete(l)&&s.invalidate()},patch(_){(!h.mode||h.mode==="server"&&n||h.mode==="client"&&!n)&&(d.input=_,r.set(l,d),f._poll())}};return f.patch(u),f},async resolveTags(){var f;const u={tagMap:new Map,tags:[],entries:[...s.entries.values()]};for(await e.callHook("entries:resolve",u);o.size;){const _=o.values().next().value;o.delete(_);const g=r.get(_);if(g){const b={tags:g5(g.input,t.propResolvers||[]).map(y=>Object.assign(y,g.options)),entry:g};await e.callHook("entries:normalize",b),g._tags=b.tags.map((y,w)=>(y._w=y5(s,y),y._p=(g._i<<10)+w,y._d=Mm(y),y))}}let c=!1;u.entries.flatMap(_=>(_._tags||[]).map(g=>({...g,props:{...g.props}}))).sort(Zy).reduce((_,g)=>{const b=String(g._d||g._p);if(!_.has(b))return _.set(b,g);const y=_.get(b);if(((g==null?void 0:g.tagDuplicateStrategy)||(i5.has(g.tag)?"merge":null)||(g.key&&g.key===y.key?"merge":null))==="merge"){const A={...y.props};Object.entries(g.props).forEach(([k,R])=>A[k]=k==="style"?new Map([...y.props.style||new Map,...R]):k==="class"?new Set([...y.props.class||new Set,...R]):R),_.set(b,{...g,props:A})}else g._p>>10===y._p>>10&&g.tag==="meta"&&uE(b)?(_.set(b,Object.assign([...Array.isArray(y)?y:[y],g],g)),c=!0):(g._w===y._w?g._p>y._p:(g==null?void 0:g._w)<(y==null?void 0:y._w))&&_.set(b,g);return _},u.tagMap);const h=u.tagMap.get("title"),l=u.tagMap.get("titleTemplate");if(s._title=h==null?void 0:h.textContent,l){const _=l==null?void 0:l.textContent;if(s._titleTemplate=_,_){let g=typeof _=="function"?_(h==null?void 0:h.textContent):_;typeof g=="string"&&!s.plugins.has("template-params")&&(g=g.replace("%s",(h==null?void 0:h.textContent)||"")),h?g===null?u.tagMap.delete("title"):u.tagMap.set("title",{...h,textContent:g}):(l.tag="title",l.textContent=g)}}u.tags=Array.from(u.tagMap.values()),c&&(u.tags=u.tags.flat().sort(Zy)),await e.callHook("tags:beforeResolve",u),await e.callHook("tags:resolve",u),await e.callHook("tags:afterResolve",u);const d=[];for(const _ of u.tags){const{innerHTML:g,tag:b,props:y}=_;if(t5.has(b)&&!(Object.keys(y).length===0&&!_.innerHTML&&!_.textContent)&&!(b==="meta"&&!y.content&&!y["http-equiv"]&&!y.charset)){if(b==="script"&&g){if((f=y.type)!=null&&f.endsWith("json")){const w=typeof g=="string"?g:JSON.stringify(g);_.innerHTML=w.replace(/</g,"\\u003C")}else typeof g=="string"&&(_.innerHTML=g.replace(new RegExp(`</${b}`,"g"),`<\\/${b}`));_._d=Mm(_)}d.push(_)}}return d},invalidate(){for(const u of r.values())o.add(u._i);s.dirty=!0,e.callHook("entries:updated",s)}};return((t==null?void 0:t.plugins)||[]).forEach(u=>n1(s,u)),s.hooks.callHook("init",s),(a=t.init)==null||a.forEach(u=>u&&s.push(u)),s}const w5=(t,e)=>vn(e)?SR(e):e,fE="usehead";function S5(t){return{install(n){n.config.globalProperties.$unhead=t,n.config.globalProperties.$head=t,n.provide(fE,t)}}.install}function dE(){if(jb()){const t=Yr(fE);if(!t)throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.");return t}throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.")}function r_(t,e={}){const n=e.head||dE();return n.ssr?n.push(t||{},e):T5(n,t,e)}function T5(t,e,n={}){const r=U(!1);let i;return Tc(()=>{const s=r.value?{}:Od(e,w5);i?i.patch(s):i=t.push(s,n)}),xl()&&(wc(()=>{i.dispose()}),Ob(()=>{r.value=!0}),Lb(()=>{r.value=!1})),i}const r1={},E5=["data-slug"],k5={key:1,class:"page-loading"},A5=["data-nav-color"],R5=["data-nav-color"],C5={class:"page-container"},x5={class:"page-grid"},P5={key:0,class:"type-eyebrow page-eyebrow"},I5={class:"page-body"},L5={key:3,class:"page-content page-content--404 theme--cream"},O5={class:"page-container page-container--404"},hE={__name:"[...slug]",props:{slug:{type:Array,required:!0},isModalRoute:{type:Boolean,default:!1},theme:{name:"theme",type:Object,default:()=>({name:"theme",type:"multiple_choice",value:[{name:"beige",codename:"beige"}]})}},setup(t){const e=t,n=xe(()=>!e.slug&&!Array.isArray(e.slug)?!1:typeof e.slug=="string"||Array.isArray(e.slug)&&e.slug.length===1),r=VR(()=>zr(()=>import("./_slug_-BJCgeKe5.js"),__vite__mapDeps([0,1])));U("page");const i=mr(),o=U(""),s=U(null);Il(),Pl();const a=U(),u=U(null),c=xe(()=>typeof e.slug=="string"?[e.slug]:Array.isArray(e.slug)?e.slug:[]),h=xe(()=>c.value.join("/")),{data:l,error:d,isLoading:f}=aE(h);e.isModalRoute||r_(xe(()=>({title:o.value||g(),meta:s.value?i.getMeta(s.value):[],link:i.getMetaLinks(s.value)})));async function _(){var y,w;if(a.value=!1,!l.value){s.value=null;return}if(!((y=l.value.system)!=null&&y.type)){console.error("Invalid page data structure"),a.value="Invalid page data structure",s.value=null;return}l.value.elements?(s.value=l.value.elements,s.value,s.value,o.value=(w=s.value.title)==null?void 0:w.value,i.pageType=l.value.system.type):(console.error("No page elements found"),s.value=null)}Tc(()=>{f.value||(d.value?(a.value="Error loading page",console.error("Error loading page:",d.value),s.value=null):l.value?_():s.value=null)});function g(){const y=c.value;if(!Array.isArray(y)||!y.length)return"";try{return y.map(w=>typeof w!="string"?"":w.split("-").map(A=>A.charAt(0).toUpperCase()+A.slice(1)).join(" ")).filter(Boolean).join(" - ")}catch(w){return console.error("Error formatting slug title:",w),""}}async function b(){try{await new Promise((y,w)=>{const A=Ne(()=>f.value,k=>{k||(A(),y())},{immediate:!0})}),l.value&&await _()}catch(y){console.error("Error in onServerPrefetch:",y)}}return Yd(async()=>{u.value=h.value,u.value,l.value&&!f.value&&_()}),Sc(async()=>{u.value=h.value,await b()}),Vt(()=>{}),(y,w)=>{var R,x,L,F,H,V,ne,$,M,z,K,B,W,oe,se,q,pe;const A=Q3,k=iO;return ae(),me("div",{key:h.value,"data-slug":c.value,class:"page"},[n.value?(ae(),Kt(va(ge(r)),{key:0,slug:Array.isArray(e.slug)?e.slug[0]:e.slug,isModalRoute:e.isModalRoute},null,8,["slug","isModalRoute"])):ge(f)?(ae(),me("div",k5,w[0]||(w[0]=[J("div",{class:"loading-indicator"}," Loading page content... ",-1)]))):s.value?(ae(),me("div",{key:2,class:st(["page-content",`theme--${((L=(x=(R=s.value.theme)==null?void 0:R.value)==null?void 0:x[0])==null?void 0:L.name)||"beige"}`]),"data-nav-color":ge(i).getNavColorValue(((V=(H=(F=s.value.theme)==null?void 0:F.value)==null?void 0:H[0])==null?void 0:V.name)||"beige")},[Ve(A,{block:{_type:"sectionHeader",vueType:"SectionHeader",title:o.value,intro:((ne=s.value.intro)==null?void 0:ne.value)||"",theme:s.value.theme||t.theme,blockIndex:0,cascadeColor:"white",leadAlignment:"right-compact"}},null,8,["block"]),J("div",{class:st(`theme--${((z=(M=($=s.value.theme)==null?void 0:$.value)==null?void 0:M[0])==null?void 0:z.name)||"beige"}`),"data-nav-color":ge(i).getNavColorValue(((W=(B=(K=s.value.theme)==null?void 0:K.value)==null?void 0:B[0])==null?void 0:W.name)||"beige")},[J("div",C5,[J("div",x5,[s.value.eyebrow?(ae(),me("h2",P5,We((oe=s.value.eyebrow)==null?void 0:oe.value),1)):bt("",!0),J("div",I5,[Ve(Pc,{html:(se=s.value.body)==null?void 0:se.value,"in-column":!0},null,8,["html"])])])])],10,R5),(pe=(q=ge(l))==null?void 0:q.components)!=null&&pe.length?(ae(!0),me(Ye,{key:0},ut(ge(l).components,Te=>(ae(),Kt(va(Te.vueType),{key:Te.blockIndex,data:Te,class:"page-component"},null,8,["data"]))),128)):bt("",!0)],10,A5)):(ae(),me("div",L5,[J("div",O5,[Ve(k)])]))],8,E5)}}};typeof r1=="function"&&r1(hE);const Fm=_t(hE,[["__scopeId","data-v-359fb5a9"]]),M5=Object.freeze(Object.defineProperty({__proto__:null,default:Fm},Symbol.toStringTag,{value:"Module"})),F5={class:"ButtonIcon-icon ButtonIcon-icon--static"},D5={class:"ButtonIcon-clip"},$5={class:"ButtonIcon-clip"},H5={class:"sr-only"},N5={class:"ButtonIcon-icon ButtonIcon-icon--static"},B5={class:"ButtonIcon-clip"},V5={class:"ButtonIcon-clip"},U5={class:"sr-only"},j5={__name:"ButtonIcon",props:{label:{type:String,required:!0,default:"",description:"Accessible label for screen readers"},theme:{type:String,default:"black"},to:{type:String},rel:{type:String},download:{type:String},buttonType:{type:String},variant:{type:String,default:"default"},manualHover:{type:Boolean,default:!1},notButton:{type:Boolean,default:!1}},emits:["click"],setup(t,{emit:e}){const n=t,r=e,{gsap:i}=gn();let o=null;const s=U(null),a=U(null),u=U(null);let c=!1;Ne(()=>n.manualHover,()=>{n.manualHover?(h(),c=!0):(c=!1,l())});function h(){c||(o==null||o.kill(),o=i.timeline(),o.set(s.value,{y:"100%"},0),o.to(s.value,{duration:.45,ease:"sine.inOut",y:0},0),o.set(a.value,{y:0},0),o.to(a.value,{duration:.45,y:"-100%",ease:"sine.out"},0),o.set(u.value,{y:"100%"},0),o.to(u.value,{delay:.1,duration:.5,stagger:.05,y:0,ease:"sine.out"},0))}function l(){c||(o==null||o.kill(),o=i.timeline(),o.to(s.value,{duration:.45,ease:"sine.inOut",y:"-100%"}),o.set(a.value,{y:"100%"},0),o.to(a.value,{delay:.1,duration:.45,y:0,ease:"sine.out"},0),o.set(u.value,{y:0},0),o.to(u.value,{duration:.5,y:"-100%",ease:"sine.out"},0))}function d(w){r("click",w)}function f(){lt.touchScreen||h()}function _(){lt.touchScreen||l()}function g(w){return String(w).trim()}const b=xe(()=>!n.to||n.buttonType),y=xe(()=>g(n.label));return Ct(()=>{i.set([s.value,u.value],{y:"-100%"})}),(w,A)=>{const k=Lw;return b.value?(ae(),Kt(va(t.notButton?"span":"button"),{key:0,class:st(["ButtonIconWrapper",`ButtonIconWrapper--${t.variant}`]),type:n.buttonType,"data-is-hover":t.manualHover,onClick:d,onMouseenter:f,onMouseleave:_},{default:Di(()=>[J("span",{class:st(["ButtonIcon",[`ButtonIcon--${t.variant}`]])},[J("span",F5,[Do(w.$slots,"default",{},void 0,!0)])],2),J("span",{class:st(["ButtonIcon ButtonIcon-icon ButtonIcon-icon--animated",[`ButtonIcon--${n.theme}`,`ButtonIcon--${t.variant}`]])},[J("span",D5,[J("span",{ref_key:"iconRef",ref:a,class:"ButtonIcon-anim"},[Do(w.$slots,"default",{},void 0,!0)],512)])],2),J("span",{ref_key:"hoverBgRef",ref:s,class:st(["ButtonIcon-hover-bg",[`ButtonIcon--${n.theme}-hover`,`ButtonIcon--${t.variant}`]])},null,2),J("span",{class:st(["ButtonIcon-icon ButtonIcon-icon--hover",[`ButtonIcon--${n.theme}-hover-icon`,`ButtonIcon--${t.variant}`]])},[J("span",$5,[J("span",{ref_key:"hoverIconRef",ref:u,class:"ButtonIcon-anim"},[Do(w.$slots,"default",{},void 0,!0)],512)])],2),J("span",H5,We(y.value),1)]),_:3},40,["class","type","data-is-hover"])):(ae(),Kt(k,{key:1,class:st(["ButtonIconWrapper",`ButtonIconWrapper--${t.variant}`]),to:n.to,download:n.download,rel:n.rel,"data-is-hover":t.manualHover},{default:Di(()=>[J("span",{class:st(["ButtonIcon",[`ButtonIcon--${t.variant}`]])},[J("span",N5,[Do(w.$slots,"default",{},void 0,!0)])],2),J("span",{class:st(["ButtonIcon ButtonIcon-icon ButtonIcon-icon--animated",[`ButtonIcon--${n.theme}`,`ButtonIcon--${t.variant}`]])},[J("span",B5,[J("span",{ref_key:"iconRef",ref:a,class:"ButtonIcon-anim"},[Do(w.$slots,"default",{},void 0,!0)],512)])],2),J("span",{ref_key:"hoverBgRef",ref:s,class:st(["ButtonIcon-hover-bg",[`ButtonIcon--${n.theme}-hover`,`ButtonIcon--${t.variant}`]])},null,2),J("span",{class:st(["ButtonIcon-icon ButtonIcon-icon--hover",[`ButtonIcon--${n.theme}-hover-icon`,`ButtonIcon--${t.variant}`]])},[J("span",V5,[J("span",{ref_key:"hoverIconRef",ref:u,class:"ButtonIcon-anim"},[Do(w.$slots,"default",{},void 0,!0)],512)])],2),J("span",U5,We(y.value),1)]),_:3},8,["class","to","download","rel","data-is-hover"]))}}},i_=_t(j5,[["__scopeId","data-v-d7d7ae78"]]),W5={fill:"none",viewBox:"0 0 41 40",xmlns:"http://www.w3.org/2000/svg"};function z5(t,e){return ae(),me("svg",W5,e[0]||(e[0]=[J("path",{d:"m19.1638 23.7501c.3334-.3333.7667-.5 1.2-.5.4334 0 .8667.1667 1.2.5l9.5 9.5 2.5667-2.5666-9.5-9.5c-.3333-.3334-.5-.7334-.5-1.2 0-.4667.1667-.8667.5-1.2l9.5-9.50004-2.5667-2.56666-9.5 9.5c-.6666.6667-1.7333.6667-2.4 0l-9.49997-9.5-2.56666 2.56666 9.50003 9.50004c.3333.3333.5.7333.5 1.2 0 .4666-.1667.8666-.5 1.2l-9.50003 9.5333 2.56666 2.5667 9.49997-9.5z",fill:"currentColor"},null,-1)]))}const q5={render:z5},Ii=(t,e=0,n=1)=>t<e?e:t>n?n:t,je=(t,e,n,r=0,i=1,o=!0)=>{const s=(t-e)/(n-e);return o?Ii(s,r,i):s},Wn=(t,e,n)=>e+t*(n-e),_i={};_i.subscribe=function(t,e,n=-1,r=void 0){return this.on(t,e,n),r!==void 0&&e(r),()=>{this.off(t,e)}};_i.on=function(t,e,n=-1){typeof e=="function"&&(this._emitCallbacks=this._emitCallbacks||{},this._emitCallbacks[t]=this._emitCallbacks[t]||[],e._callback_order=n===-1?1e6:n,this._emitCallbacks[t].unshift(e),n>-1&&this._emitCallbacks[t].sort((r,i)=>i._callback_order-r._callback_order))};_i.off=function(t,e){if(this._emitCallbacks&&(!t&&!e&&(this._emitCallbacks=null),t&&!e&&(this._emitCallbacks[t]=null),t&&e&&this._emitCallbacks[t])){const n=this._emitCallbacks[t].indexOf(e);n>-1&&this._emitCallbacks[t].splice(n,1)}};_i.emit=function(t,e){var r;if(!(this._emitCallbacks&&this._emitCallbacks[t]))return;const n=this._emitCallbacks[t];for(let i=n.length-1;i>-1;i--)(r=n[i])==null||r.call(n,e)};_i.set=function(t,e,n=null){this.setEmit(t,e,n)};_i.setEmit=function(t,e,n=null){this[t]!==e&&(this[t]=e,n=n||t,this.emit(n,e))};_i.removeEventListener=_i.off;_i.addEventListener=_i.on;_i.trigger=_i.emit;const o_={},pl=function(t){return typeof t=="function"},G5=function(t,e,n,r){const i=pl(t.on)?"on":null,o=pl(t.$on)?"$on":null,s=pl(t.addEventListener)?"addEventListener":null;t[i||o||s](e,n,r)},Qa=function(t,e,n){const r=pl(t.off)?"off":null,i=pl(t.$off)?"$off":null,o=pl(t.addEventListener)?"removeEventListener":null;t[r||i||o](e,n)};o_.listen=function(t,e,n,r){this._emitters=this._emitters||new Map,this._emitters.has(t)||this._emitters.set(t,new Set);let i=!1;this._emitters.get(t).forEach(o=>{o.eventKey===e&&o.callback===n&&(i=!0)}),i||(Qa(t,e,n),G5(t,e,n,r),this._emitters.get(t).add({eventKey:e,callback:n}))};o_.unlisten=function(t,e,n){if(this._emitters){if(!t)this._emitters.forEach((r,i)=>{r.forEach(o=>{Qa(i,o.eventKey,o.callback)})}),this._emitters.clear();else if(t&&e&&n){const r=this._emitters.get(t);r&&r.forEach(i=>{i.eventKey===e&&i.callback===n&&(Qa(t,i.eventKey,i.callback),r.delete(i))})}else if(t&&e&&Array.isArray(e)){const r=this._emitters.get(t),i=e;r&&r.forEach(o=>{i.includes(o.eventKey)&&(Qa(t,o.eventKey,o.callback),r.delete(o))})}else if(t&&e){const r=this._emitters.get(t);r&&r.forEach(i=>{i.eventKey===e&&(Qa(t,i.eventKey,i.callback),r.delete(i))})}else if(t){const r=this._emitters.get(t);r&&(r.forEach(i=>{Qa(t,i.eventKey,i.callback),r.delete(i)}),this._emitters.delete(t))}}};const Y5=Number.parseInt(Mc.desktop,10),K5=Number.parseInt(Mc.mobile,10),Jf=Number.parseInt(Mc["tablet-portrait"],10),Dm=Number.parseInt(Mc["tablet-landscape"],10),ju=Number.parseInt(Mc.desktop,10),uu={RESIZE:"resize",POLL_RESIZE:"poll_resize",BODY_HEIGHT_CHANGE:"body_height_change"},X5="mobile",Q5="tablet",J5="tablet-portrait",Z5="tablet-landscape",eF="desktop",i1="breakpoint-tablet-portrait",o1="breakpoint-tablet-landscape",s1="breakpoint-mobile",a1="breakpoint-tablet",$m="breakpoint-desktop",tF={alwaysEmitResize:!1,scale:1,baseFontSize:1,pollResizeSeconds:2,breakpoints:{[s1]:{name:s1,maxWidth:Jf},[a1]:{name:a1,maxWidth:ju},[i1]:{name:i1,maxWidth:Dm},[o1]:{name:o1,maxWidth:ju},[$m]:{name:$m,maxWidth:2e4}},deviceTypes:{[X5]:{portrait:{designSize:{width:K5,height:667}},landscape:{designSize:{width:667,height:375}}},[J5]:{designSize:{width:768,height:1024}},[Z5]:{designSize:{width:1024,height:768}},[Q5]:{designSize:{width:1024,height:900}},[eF]:{designSize:{width:Y5,height:900}}}},Cf=()=>lt.hasWindow&<.hasDocument;class nF{constructor(e){Le(this,"cssVar",{lvh:600,svh:600,dvh:600,lch:0,dch:0});Le(this,"subscribeBodyHeight",(e,n=!0,r=-1)=>this.subscribe(this.EVENTS.BODY_HEIGHT_CHANGE,e,r,n?this.current:null));Le(this,"subscribeResize",(e,n=!0,r=-1,i=!1)=>{const o=this.subscribe(this.EVENTS.RESIZE,e,r,n?this.current:null);if(i){const s=this.subscribe(this.EVENTS.POLL_RESIZE,e,!1,r);return()=>{o(),s()}}else return o});Le(this,"triggerResize",()=>{this._resize(!0)});Le(this,"_pollResize",()=>{this.emit(uu.POLL_RESIZE,this.current)});Le(this,"onFrame",()=>{var e,n;this._resize(),this.rafRef=(n=(e=lt.window).requestAnimationFrame)==null?void 0:n.call(e,this.onFrame)});Le(this,"_bodyChange",()=>{this.emit(uu.BODY_HEIGHT_CHANGE,this.current)});Le(this,"_resize",(e=!1,n=!1)=>{const r=this.ww,i=this.wh,o=r!==this.width||i!==this.height||e,s=o||this.config.alwaysEmitResize||e;this.width=r,this.height=i,o&&(this._updateBreakpointClass(),this._updateCSSVars(),this._updateOrientationClass()),s&&this.emit(uu.RESIZE,this.current),s&&!n&&(clearTimeout(this.resizeDelayedTimeout),this.resizeDelayedTimeout=setTimeout(this._resize(!0,!0),500))});Le(this,"_updateBreakpointClass",()=>{const e=this.breakpoint,n=this.config.breakpoints;for(const r in n)this.html.classList[r===e?"add":"remove"](r)});Le(this,"_updateOrientationClass",()=>{this.html.classList.toggle("landscape",this.landscape),this.html.classList.toggle("portrait",!this.landscape)});Le(this,"_updateCSSVars",()=>{this.isDesktop?(this.dvh=this.wh,this.svh=this.wh,this.lvh=this.wh,this.lch=0,this.dch=0):(this._makeVHRuler(),this.dvh=this.wh,this.lvh=this.lvh_ruler.clientHeight,this.svh=this.svh_ruler.clientHeight,this.lch=this.lvh-this.svh,this.dch=this.lvh-this.dvh)});Le(this,"_makeVHRuler",()=>{if(lt.isSSR||!lt.hasDocument||this.lvh_ruler)return;const e=document.createElement("div");e.style="width:1px; height:1px; position:fixed; overflow:hidden;",document.body.appendChild(e),this.lvh_ruler=document.createElement("div"),this.lvh_ruler.style="width:1; height:100lvh; position:absolute;",e.appendChild(this.lvh_ruler),this.svh_ruler=document.createElement("div"),this.svh_ruler.style="width:1; height:100svh; position:absolute;",e.appendChild(this.svh_ruler)});var i,o,s,a,u,c;if(Object.assign(this,_i),Object.assign(this,o_),!Cf())return;this.config=Object.assign({},tF,e),this.html=Cf()?document.querySelector("html"):{};const n=Math.max(this.wh,this.ww);this.cssVar={lvh:n,svh:n,dvh:n,lch:0,dch:0},this._scale=1,this._resize(!0),(o=(i=lt.window).setTimeout)==null||o.call(i,()=>this._resize(!0),50),(a=(s=lt.window).setTimeout)==null||a.call(s,()=>this._resize(!0),500),this.pollInterval=(c=(u=lt.window).setInterval)==null?void 0:c.call(u,()=>this._pollResize(),this.config.pollResizeSeconds*1e3),this.onFrame();const r=new ResizeObserver(()=>this._bodyChange());Cf()&&r.observe(document.body)}static get EVENTS(){return uu}get EVENTS(){return uu}destroy(){var e,n;(n=(e=lt.window).cancelAnimationFrame)==null||n.call(e,this.rafRef),this.unlisten()}setCSSVar(e,n){Cf()&&(document.documentElement.style.setProperty(`--${e}`,`${n}px`),this.cssVar[e]=n)}get lvh(){return this.cssVar.lvh}set lvh(e){this.cssVar.lvh=e}get svh(){return this.cssVar.svh}set svh(e){this.setCSSVar("svh",e)}get dvh(){return this.cssVar.dvh}set dvh(e){this.setCSSVar("dvh",e)}get lch(){return this.cssVar.lch}set lch(e){this.setCSSVar("lch",e)}get dch(){return this.cssVar.dch}set dch(e){this.setCSSVar("dch",e)}get wh(){return lt.window.innerHeight}get ww(){return lt.window.innerWidth}get isPhoneBreakpoint(){return this.ww<=Jf}get isTabletBreakpoint(){return this.ww>Jf&&this.ww<=ju}get isTabletPortraitBreakpoint(){return this.ww>Jf&&this.ww<=Dm}get isTabletLandscapeBreakpoint(){return this.ww>Dm&&this.ww<=ju}get isDesktopBreakpoint(){return this.ww>ju}get isPhone(){return lt.phone}get isMobile(){return lt.mobile}get isTablet(){return lt.tablet}get isDesktop(){return!lt.mobile&&!lt.tablet}get breakpoint(){var n;const e=((n=this.config)==null?void 0:n.breakpoints)||[];for(const r in e)if(this.width<=e[r].maxWidth)return r;return $m}get landscape(){return this.ww>this.wh&&this.ww>600}get orientation(){return this.landscape?"landscape":"portrait"}get device(){return this.deviceType}get deviceType(){return this.isMobile?"mobile":this.isTablet?"tablet":"desktop"}get baseFontSize(){return this.config.baseFontSize}get current(){return{width:this.width,height:this.height,breakpoint:this.breakpoint,deviceType:this.deviceType,orientation:this.orientation}}}const Je=new nF,pE=Rc("browser",()=>{const t=U(0),e=U(0),n=U(1),r=U(""),i=U(!1),o=U(!1),s=U(!1),a=U(""),u=U(""),c=U(0),h=U(!1),l=U(!1),d=U(!1),f=U(!1),_=U(!1),g=U(!1),b=function(){t.value=Je.width,e.value=Je.height,n.value=1,r.value=Je.breakpoint,i.value=Je.isPhoneBreakpoint,o.value=Je.isTabletBreakpoint,s.value=Je.isDesktopBreakpoint,a.value=Je.deviceType,u.value=Je.orientation,c.value=16,h.value=Je.isMobile,l.value=Je.isTablet,d.value=Je.isDesktop,f.value=Je.isTabletPortraitBreakpoint,_.value=Je.isTabletLandscapeBreakpoint,t.value!==0&&(g.value=!0)};typeof window<"u"?setTimeout(()=>{b(),Je.subscribeResize(b,!0,1)},0):(t.value=1920,e.value=1080,n.value=1,r.value="desktop",i.value=!1,o.value=!1,s.value=!0,a.value="desktop",u.value="landscape",c.value=16,h.value=!1,l.value=!1,d.value=!0,f.value=!1,_.value=!1,g.value=!0);const y=xe(()=>i.value||f.value);return{ww:t,wh:e,scale:n,breakpoint:r,isPhoneBreakpoint:i,isTabletBreakpoint:o,isDesktopBreakpoint:s,deviceType:a,orientation:u,fontSize:c,isMobile:h,isTablet:l,isDesktop:d,isTabletPortrait:f,isTabletLandscape:_,storeReady:g,update:b,isMobileOrPortraitTablet:y}});var rF="1.1.20";function mE(t,e,n){return Math.max(t,Math.min(e,n))}function iF(t,e,n){return(1-n)*t+n*e}function oF(t,e,n,r){return iF(t,e,1-Math.exp(-n*r))}function sF(t,e){return(t%e+e)%e}var aF=class{constructor(){Le(this,"isRunning",!1);Le(this,"value",0);Le(this,"from",0);Le(this,"to",0);Le(this,"currentTime",0);Le(this,"lerp");Le(this,"duration");Le(this,"easing");Le(this,"onUpdate")}advance(t){var n;if(!this.isRunning)return;let e=!1;if(this.duration&&this.easing){this.currentTime+=t;const r=mE(0,this.currentTime/this.duration,1);e=r>=1;const i=e?1:this.easing(r);this.value=this.from+(this.to-this.from)*i}else this.lerp?(this.value=oF(this.value,this.to,this.lerp*60,t),Math.round(this.value)===this.to&&(this.value=this.to,e=!0)):(this.value=this.to,e=!0);e&&this.stop(),(n=this.onUpdate)==null||n.call(this,this.value,e)}stop(){this.isRunning=!1}fromTo(t,e,{lerp:n,duration:r,easing:i,onStart:o,onUpdate:s}){this.from=this.value=t,this.to=e,this.lerp=n,this.duration=r,this.easing=i,this.currentTime=0,this.isRunning=!0,o==null||o(),this.onUpdate=s}};function lF(t,e){let n;return function(...r){let i=this;clearTimeout(n),n=setTimeout(()=>{n=void 0,t.apply(i,r)},e)}}var uF=class{constructor(t,e,{autoResize:n=!0,debounce:r=250}={}){Le(this,"width",0);Le(this,"height",0);Le(this,"scrollHeight",0);Le(this,"scrollWidth",0);Le(this,"debouncedResize");Le(this,"wrapperResizeObserver");Le(this,"contentResizeObserver");Le(this,"resize",()=>{this.onWrapperResize(),this.onContentResize()});Le(this,"onWrapperResize",()=>{this.wrapper instanceof Window?(this.width=window.innerWidth,this.height=window.innerHeight):(this.width=this.wrapper.clientWidth,this.height=this.wrapper.clientHeight)});Le(this,"onContentResize",()=>{this.wrapper instanceof Window?(this.scrollHeight=this.content.scrollHeight,this.scrollWidth=this.content.scrollWidth):(this.scrollHeight=this.wrapper.scrollHeight,this.scrollWidth=this.wrapper.scrollWidth)});this.wrapper=t,this.content=e,n&&(this.debouncedResize=lF(this.resize,r),this.wrapper instanceof Window?window.addEventListener("resize",this.debouncedResize,!1):(this.wrapperResizeObserver=new ResizeObserver(this.debouncedResize),this.wrapperResizeObserver.observe(this.wrapper)),this.contentResizeObserver=new ResizeObserver(this.debouncedResize),this.contentResizeObserver.observe(this.content)),this.resize()}destroy(){var t,e;(t=this.wrapperResizeObserver)==null||t.disconnect(),(e=this.contentResizeObserver)==null||e.disconnect(),this.wrapper===window&&this.debouncedResize&&window.removeEventListener("resize",this.debouncedResize,!1)}get limit(){return{x:this.scrollWidth-this.width,y:this.scrollHeight-this.height}}},gE=class{constructor(){Le(this,"events",{})}emit(t,...e){var r;let n=this.events[t]||[];for(let i=0,o=n.length;i<o;i++)(r=n[i])==null||r.call(n,...e)}on(t,e){var n;return(n=this.events[t])!=null&&n.push(e)||(this.events[t]=[e]),()=>{var r;this.events[t]=(r=this.events[t])==null?void 0:r.filter(i=>e!==i)}}off(t,e){var n;this.events[t]=(n=this.events[t])==null?void 0:n.filter(r=>e!==r)}destroy(){this.events={}}},l1=100/6,cs={passive:!1},cF=class{constructor(t,e={wheelMultiplier:1,touchMultiplier:1}){Le(this,"touchStart",{x:0,y:0});Le(this,"lastDelta",{x:0,y:0});Le(this,"window",{width:0,height:0});Le(this,"emitter",new gE);Le(this,"onTouchStart",t=>{const{clientX:e,clientY:n}=t.targetTouches?t.targetTouches[0]:t;this.touchStart.x=e,this.touchStart.y=n,this.lastDelta={x:0,y:0},this.emitter.emit("scroll",{deltaX:0,deltaY:0,event:t})});Le(this,"onTouchMove",t=>{const{clientX:e,clientY:n}=t.targetTouches?t.targetTouches[0]:t,r=-(e-this.touchStart.x)*this.options.touchMultiplier,i=-(n-this.touchStart.y)*this.options.touchMultiplier;this.touchStart.x=e,this.touchStart.y=n,this.lastDelta={x:r,y:i},this.emitter.emit("scroll",{deltaX:r,deltaY:i,event:t})});Le(this,"onTouchEnd",t=>{this.emitter.emit("scroll",{deltaX:this.lastDelta.x,deltaY:this.lastDelta.y,event:t})});Le(this,"onWheel",t=>{let{deltaX:e,deltaY:n,deltaMode:r}=t;const i=r===1?l1:r===2?this.window.width:1,o=r===1?l1:r===2?this.window.height:1;e*=i,n*=o,e*=this.options.wheelMultiplier,n*=this.options.wheelMultiplier,this.emitter.emit("scroll",{deltaX:e,deltaY:n,event:t})});Le(this,"onWindowResize",()=>{this.window={width:window.innerWidth,height:window.innerHeight}});this.element=t,this.options=e,window.addEventListener("resize",this.onWindowResize,!1),this.onWindowResize(),this.element.addEventListener("wheel",this.onWheel,cs),this.element.addEventListener("touchstart",this.onTouchStart,cs),this.element.addEventListener("touchmove",this.onTouchMove,cs),this.element.addEventListener("touchend",this.onTouchEnd,cs)}on(t,e){return this.emitter.on(t,e)}destroy(){this.emitter.destroy(),window.removeEventListener("resize",this.onWindowResize,!1),this.element.removeEventListener("wheel",this.onWheel,cs),this.element.removeEventListener("touchstart",this.onTouchStart,cs),this.element.removeEventListener("touchmove",this.onTouchMove,cs),this.element.removeEventListener("touchend",this.onTouchEnd,cs)}},fF=class{constructor({wrapper:t=window,content:e=document.documentElement,eventsTarget:n=t,smoothWheel:r=!0,syncTouch:i=!1,syncTouchLerp:o=.075,touchInertiaMultiplier:s=35,duration:a,easing:u=x=>Math.min(1,1.001-Math.pow(2,-10*x)),lerp:c=.1,infinite:h=!1,orientation:l="vertical",gestureOrientation:d="vertical",touchMultiplier:f=1,wheelMultiplier:_=1,autoResize:g=!0,prevent:b,virtualScroll:y,overscroll:w=!0,autoRaf:A=!1,anchors:k=!1,__experimental__naiveDimensions:R=!1}={}){Le(this,"_isScrolling",!1);Le(this,"_isStopped",!1);Le(this,"_isLocked",!1);Le(this,"_preventNextNativeScrollEvent",!1);Le(this,"_resetVelocityTimeout",null);Le(this,"__rafID",null);Le(this,"isTouching");Le(this,"time",0);Le(this,"userData",{});Le(this,"lastVelocity",0);Le(this,"velocity",0);Le(this,"direction",0);Le(this,"options");Le(this,"targetScroll");Le(this,"animatedScroll");Le(this,"animate",new aF);Le(this,"emitter",new gE);Le(this,"dimensions");Le(this,"virtualScroll");Le(this,"onScrollEnd",t=>{t instanceof CustomEvent||(this.isScrolling==="smooth"||this.isScrolling===!1)&&t.stopPropagation()});Le(this,"dispatchScrollendEvent",()=>{this.options.wrapper.dispatchEvent(new CustomEvent("scrollend",{bubbles:this.options.wrapper===window,detail:{lenisScrollEnd:!0}}))});Le(this,"onClick",t=>{const n=t.composedPath().find(r=>{var i;return r instanceof HTMLAnchorElement&&((i=r.getAttribute("href"))==null?void 0:i.startsWith("#"))});if(n){const r=n.getAttribute("href");if(r){const i=typeof this.options.anchors=="object"&&this.options.anchors?this.options.anchors:void 0;this.scrollTo(r,i)}}});Le(this,"onPointerDown",t=>{t.button===1&&this.reset()});Le(this,"onVirtualScroll",t=>{if(typeof this.options.virtualScroll=="function"&&this.options.virtualScroll(t)===!1)return;const{deltaX:e,deltaY:n,event:r}=t;if(this.emitter.emit("virtual-scroll",{deltaX:e,deltaY:n,event:r}),r.ctrlKey||r.lenisStopPropagation)return;const i=r.type.includes("touch"),o=r.type.includes("wheel");this.isTouching=r.type==="touchstart"||r.type==="touchmove";const s=e===0&&n===0;if(this.options.syncTouch&&i&&r.type==="touchstart"&&s&&!this.isStopped&&!this.isLocked){this.reset();return}const u=this.options.gestureOrientation==="vertical"&&n===0||this.options.gestureOrientation==="horizontal"&&e===0;if(s||u)return;let c=r.composedPath();c=c.slice(0,c.indexOf(this.rootElement));const h=this.options.prevent;if(c.find(b=>{var y,w,A;return b instanceof HTMLElement&&(typeof h=="function"&&(h==null?void 0:h(b))||((y=b.hasAttribute)==null?void 0:y.call(b,"data-lenis-prevent"))||i&&((w=b.hasAttribute)==null?void 0:w.call(b,"data-lenis-prevent-touch"))||o&&((A=b.hasAttribute)==null?void 0:A.call(b,"data-lenis-prevent-wheel")))}))return;if(this.isStopped||this.isLocked){r.preventDefault();return}if(!(this.options.syncTouch&&i||this.options.smoothWheel&&o)){this.isScrolling="native",this.animate.stop(),r.lenisStopPropagation=!0;return}let d=n;this.options.gestureOrientation==="both"?d=Math.abs(n)>Math.abs(e)?n:e:this.options.gestureOrientation==="horizontal"&&(d=e),(!this.options.overscroll||this.options.infinite||this.options.wrapper!==window&&(this.animatedScroll>0&&this.animatedScroll<this.limit||this.animatedScroll===0&&n>0||this.animatedScroll===this.limit&&n<0))&&(r.lenisStopPropagation=!0),r.preventDefault();const f=i&&this.options.syncTouch,g=i&&r.type==="touchend"&&Math.abs(d)>5;g&&(d=this.velocity*this.options.touchInertiaMultiplier),this.scrollTo(this.targetScroll+d,{programmatic:!1,...f?{lerp:g?this.options.syncTouchLerp:1}:{lerp:this.options.lerp,duration:this.options.duration,easing:this.options.easing}})});Le(this,"onNativeScroll",()=>{if(this._resetVelocityTimeout!==null&&(clearTimeout(this._resetVelocityTimeout),this._resetVelocityTimeout=null),this._preventNextNativeScrollEvent){this._preventNextNativeScrollEvent=!1;return}if(this.isScrolling===!1||this.isScrolling==="native"){const t=this.animatedScroll;this.animatedScroll=this.targetScroll=this.actualScroll,this.lastVelocity=this.velocity,this.velocity=this.animatedScroll-t,this.direction=Math.sign(this.animatedScroll-t),this.isStopped||(this.isScrolling="native"),this.emit(),this.velocity!==0&&(this._resetVelocityTimeout=setTimeout(()=>{this.lastVelocity=this.velocity,this.velocity=0,this.isScrolling=!1,this.emit()},400))}});Le(this,"raf",t=>{const e=t-(this.time||t);this.time=t,this.animate.advance(e*.001),this.options.autoRaf&&(this.__rafID=requestAnimationFrame(this.raf))});window.lenisVersion=rF,(!t||t===document.documentElement)&&(t=window),this.options={wrapper:t,content:e,eventsTarget:n,smoothWheel:r,syncTouch:i,syncTouchLerp:o,touchInertiaMultiplier:s,duration:a,easing:u,lerp:c,infinite:h,gestureOrientation:d,orientation:l,touchMultiplier:f,wheelMultiplier:_,autoResize:g,prevent:b,virtualScroll:y,overscroll:w,autoRaf:A,anchors:k,__experimental__naiveDimensions:R},this.dimensions=new uF(t,e,{autoResize:g}),this.updateClassName(),this.targetScroll=this.animatedScroll=this.actualScroll,this.options.wrapper.addEventListener("scroll",this.onNativeScroll,!1),this.options.wrapper.addEventListener("scrollend",this.onScrollEnd,{capture:!0}),this.options.anchors&&this.options.wrapper===window&&this.options.wrapper.addEventListener("click",this.onClick,!1),this.options.wrapper.addEventListener("pointerdown",this.onPointerDown,!1),this.virtualScroll=new cF(n,{touchMultiplier:f,wheelMultiplier:_}),this.virtualScroll.on("scroll",this.onVirtualScroll),this.options.autoRaf&&(this.__rafID=requestAnimationFrame(this.raf))}destroy(){this.emitter.destroy(),this.options.wrapper.removeEventListener("scroll",this.onNativeScroll,!1),this.options.wrapper.removeEventListener("scrollend",this.onScrollEnd,{capture:!0}),this.options.wrapper.removeEventListener("pointerdown",this.onPointerDown,!1),this.options.anchors&&this.options.wrapper===window&&this.options.wrapper.removeEventListener("click",this.onClick,!1),this.virtualScroll.destroy(),this.dimensions.destroy(),this.cleanUpClassName(),this.__rafID&&cancelAnimationFrame(this.__rafID)}on(t,e){return this.emitter.on(t,e)}off(t,e){return this.emitter.off(t,e)}setScroll(t){this.isHorizontal?this.options.wrapper.scrollTo({left:t,behavior:"instant"}):this.options.wrapper.scrollTo({top:t,behavior:"instant"})}resize(){this.dimensions.resize(),this.animatedScroll=this.targetScroll=this.actualScroll,this.emit()}emit(){this.emitter.emit("scroll",this)}reset(){this.isLocked=!1,this.isScrolling=!1,this.animatedScroll=this.targetScroll=this.actualScroll,this.lastVelocity=this.velocity=0,this.animate.stop()}start(){this.isStopped&&(this.reset(),this.isStopped=!1)}stop(){this.isStopped||(this.reset(),this.isStopped=!0)}scrollTo(t,{offset:e=0,immediate:n=!1,lock:r=!1,duration:i=this.options.duration,easing:o=this.options.easing,lerp:s=this.options.lerp,onStart:a,onComplete:u,force:c=!1,programmatic:h=!0,userData:l}={}){if(!((this.isStopped||this.isLocked)&&!c)){if(typeof t=="string"&&["top","left","start"].includes(t))t=0;else if(typeof t=="string"&&["bottom","right","end"].includes(t))t=this.limit;else{let d;if(typeof t=="string"?d=document.querySelector(t):t instanceof HTMLElement&&(t!=null&&t.nodeType)&&(d=t),d){if(this.options.wrapper!==window){const _=this.rootElement.getBoundingClientRect();e-=this.isHorizontal?_.left:_.top}const f=d.getBoundingClientRect();t=(this.isHorizontal?f.left:f.top)+this.animatedScroll}}if(typeof t=="number"){if(t+=e,t=Math.round(t),this.options.infinite?h&&(this.targetScroll=this.animatedScroll=this.scroll):t=mE(0,t,this.limit),t===this.targetScroll){a==null||a(this),u==null||u(this);return}if(this.userData=l??{},n){this.animatedScroll=this.targetScroll=t,this.setScroll(this.scroll),this.reset(),this.preventNextNativeScrollEvent(),this.emit(),u==null||u(this),this.userData={},requestAnimationFrame(()=>{this.dispatchScrollendEvent()});return}h||(this.targetScroll=t),this.animate.fromTo(this.animatedScroll,t,{duration:i,easing:o,lerp:s,onStart:()=>{r&&(this.isLocked=!0),this.isScrolling="smooth",a==null||a(this)},onUpdate:(d,f)=>{this.isScrolling="smooth",this.lastVelocity=this.velocity,this.velocity=d-this.animatedScroll,this.direction=Math.sign(this.velocity),this.animatedScroll=d,this.setScroll(this.scroll),h&&(this.targetScroll=d),f||this.emit(),f&&(this.reset(),this.emit(),u==null||u(this),this.userData={},requestAnimationFrame(()=>{this.dispatchScrollendEvent()}),this.preventNextNativeScrollEvent())}})}}}preventNextNativeScrollEvent(){this._preventNextNativeScrollEvent=!0,requestAnimationFrame(()=>{this._preventNextNativeScrollEvent=!1})}get rootElement(){return this.options.wrapper===window?document.documentElement:this.options.wrapper}get limit(){return this.options.__experimental__naiveDimensions?this.isHorizontal?this.rootElement.scrollWidth-this.rootElement.clientWidth:this.rootElement.scrollHeight-this.rootElement.clientHeight:this.dimensions.limit[this.isHorizontal?"x":"y"]}get isHorizontal(){return this.options.orientation==="horizontal"}get actualScroll(){const t=this.options.wrapper;return this.isHorizontal?t.scrollX??t.scrollLeft:t.scrollY??t.scrollTop}get scroll(){return this.options.infinite?sF(this.animatedScroll,this.limit):this.animatedScroll}get progress(){return this.limit===0?1:this.scroll/this.limit}get isScrolling(){return this._isScrolling}set isScrolling(t){this._isScrolling!==t&&(this._isScrolling=t,this.updateClassName())}get isStopped(){return this._isStopped}set isStopped(t){this._isStopped!==t&&(this._isStopped=t,this.updateClassName())}get isLocked(){return this._isLocked}set isLocked(t){this._isLocked!==t&&(this._isLocked=t,this.updateClassName())}get isSmooth(){return this.isScrolling==="smooth"}get className(){let t="lenis";return this.isStopped&&(t+=" lenis-stopped"),this.isLocked&&(t+=" lenis-locked"),this.isScrolling&&(t+=" lenis-scrolling"),this.isScrolling==="smooth"&&(t+=" lenis-smooth"),t}updateClassName(){this.cleanUpClassName(),this.rootElement.className=`${this.rootElement.className} ${this.className}`.trim()}cleanUpClassName(){this.rootElement.className=this.rootElement.className.replace(/lenis(-\w+)?/g,"").trim()}};const dF={mouseWheelDuration:.8,touchDragDuration:.2,touchSwipeMaxDuration:10,touchSwipeDurationFactor:.5,touchSwipeVelocityFactor:1.5,touchSwipeDecayFactor:.95};function hF(t,e=dF){t.mobileConfig=e,t.virtualScroll.emitter.off("scroll",t.onVirtualScroll),t.virtualScroll.on("scroll",n=>{pF(n,t)})}function pF(t,e){var F,H;const n=(H=(F=t.event)==null?void 0:F.type)==null?void 0:H.includes("wheel");if(e.options.infinite&&n){const V=t.deltaY<=0,$=t.deltaY+e.targetScroll<=0;if(V&&$){t.deltaY=0,t.event.lenisStopPropagation=!0,e.scrollTo(0,{programmatic:!0,lerp:e.options.lerp,duration:e.options.duration,easing:e.options.easing});return}}if(typeof e.options.virtualScroll=="function"&&e.options.virtualScroll(t)===!1)return;const{deltaX:r,deltaY:i,event:o}=t;if(e.emitter.emit("virtual-scroll",{deltaX:r,deltaY:i,event:o}),o.ctrlKey||o.lenisStopPropagation)return;const s=o.type.includes("touch"),a=o.type.includes("wheel");e.isTouching=o.type==="touchstart"||o.type==="touchmove";const u=r===0&&i===0;if(e.options.syncTouch&&s&&o.type==="touchstart"&&u&&!e.isStopped&&!e.isLocked){e.reset();return}const h=e.options.gestureOrientation==="vertical"&&i===0||e.options.gestureOrientation==="horizontal"&&r===0;if(u||h)return;let l=o.composedPath();l=l.slice(0,l.indexOf(e.rootElement));const d=e.options.prevent;if(l.find(V=>{var ne,$,M;return V instanceof HTMLElement&&(typeof d=="function"&&(d==null?void 0:d(V))||((ne=V.hasAttribute)==null?void 0:ne.call(V,"data-lenis-prevent"))||s&&(($=V.hasAttribute)==null?void 0:$.call(V,"data-lenis-prevent-touch"))||a&&((M=V.hasAttribute)==null?void 0:M.call(V,"data-lenis-prevent-wheel")))}))return;if(e.isStopped||e.isLocked){o.preventDefault();return}if(!(e.options.syncTouch&&s||e.options.smoothWheel&&a)){e.isScrolling="native",e.animate.stop(),o.lenisStopPropagation=!0;return}let _=i;e.options.gestureOrientation==="both"?_=Math.abs(i)>Math.abs(r)?i:r:e.options.gestureOrientation==="horizontal"&&(_=r),(!e.options.overscroll||e.options.infinite||e.options.wrapper!==window&&(e.animatedScroll>0&&e.animatedScroll<e.limit||e.animatedScroll===0&&i>0||e.animatedScroll===e.limit&&i<0))&&(o.lenisStopPropagation=!0),o.preventDefault();const g=s&&e.options.syncTouch,y=s&&o.type==="touchend"&&Math.abs(_)>5,{mouseWheelDuration:w,touchDragDuration:A,touchSwipeMaxDuration:k,touchSwipeDurationFactor:R,touchSwipeVelocityFactor:x,touchSwipeDecayFactor:L}=e.mobileConfig;if(y){const V=Math.abs(e.velocity),ne=e.velocity>0?1:-1,$=Math.min(A+Math.log(1+V*R),k);e.options.duration=$;const M=$*1e3/(1e3/60),z=(1-L**M)/(1-L)*x*V;_=ne*z}else g?e.options.duration=A:e.options.duration=w;e.scrollTo(e.targetScroll+_,{programmatic:!1,...g?{lerp:y?e.options.syncTouchLerp:1}:{lerp:e.options.lerp,duration:e.options.duration,easing:e.options.easing}})}const mh=Rc("transition",()=>{const t=U(!1),e=U(!1),n=U(!1),r=U(ga.PENDING_TRANSITION),i=U(ga.PENDING_TRANSITION),o=U(0),s=U(!1);return{routeFrom:t,routeTo:e,skipTransition:n,transitionState:r,transitionCancelled:s,setRoute:function(d){t.value=e.value,e.value=d.path},setSkipTransition:function(d){n.value=d},setTransitionState:function(d){r.value=d},setTransitionCancelled:function(d){s.value=d},transitionVisibleState:i,setTransitionVisibleState:function(d){i.value=d},transitionEnterProgress:o}}),{ScrollTrigger:xf,gsap:mF}=gn();function gF(t){return t===1?1:1.001-2**(-10*t)}const wn=Rc("scroll",()=>{const t=Pl(),e=mh(),n=vi(),{transitionState:r,transitionVisibleState:i}=yw(e);let o=-1,s={top:0};const a=_a(null),u=U(0),c=U(-.001),h=U(-.001),l=U(-.001),d=U(0),f=U(0),_=U(0),g=U(!1),b=U(!1),y=U(!1),w=U(!1);function A(){const K=s.top||0,B=s.hash||void 0,W=lt.isSSR&&!lt.hasDocument?null:document.querySelector(B||"#-----------------"),oe=W?W.getBoundingClientRect().top+window.scrollY:K;a.value&&a.value.scrollTo(oe,{immediate:!0,force:!0}),!a.value&&window.scrollTo({top:oe,behavior:"instant"},!1),M()}t.options.scrollBehavior=(K,B,W)=>{const oe=["/"].includes(K.path),se={TOP:{top:0},SAVED_POSITION:{top:W==null?void 0:W.top},HASH:{hash:K==null?void 0:K.hash}};let q=K!=null&&K.hash?se.HASH:se.TOP;return q=W?se.SAVED_POSITION:q,q=oe?se.TOP:q,s=q,{top:lt.isSSR?0:window.scrollY}},Ne(r,K=>{var W;const B={[ga.LEAVE]:()=>R(!0),[ga.ENTER]:()=>{R(!0),setTimeout(A,20)},[ga.AFTER_ENTER]:()=>{R(!1)}};(W=B[K])==null||W.call(B)},{immediate:!0}),Ne(()=>n.modalShowing,K=>{L(K)},{immediate:!0});const k=xe(()=>g.value||b.value||y.value);function R(K){g.value=K}function x(K){b.value=K}function L(K){y.value=K}function F(K){w.value=K}Tc(()=>{a.value&&(k.value?a.value.stop():a.value.start(),k.value||M())});function H(K){a.value.raf(K),Lt(()=>{h.value=a.value.scroll.toFixed(3)}),o=requestAnimationFrame(H)}function V(){var K,B;(K=a.value)==null||K.destroy(),a.value=new fF({duration:.8,easing:gF,syncTouch:!0}),hF(a.value),H(),(B=a.value)==null||B.on("scroll",()=>ne()),ne()}function ne(){a.value&&(u.value=a.value.velocity||0,c.value=a.value.actualScroll||0,f.value=a.value.targetScroll||0,d.value=a.value.progress||0,_.value=a.value.direction||0,xf.update(),window.scrollProgress=d.value,Lt(()=>{l.value=a.value.actualScroll||0}))}function $(K,B){var W;(W=a.value)==null||W.scrollTo(K,B)}function M(K){lt.isSSR||(mF.ticker.lagSmoothing(0),xf==null||xf.refresh())}function z(){var K;cancelAnimationFrame(o.value),(K=a.value)==null||K.destroy(),a.value=null}return{initLenis:V,lenis:a,scrollLock:k,setScrollLockTransition:R,setScrollLockModal:L,setScrollLockLoader:x,scrollVelocity:u,scrollCurrent:c,scrollSubPixel:h,scrollCurrentAfter:l,scrollProgress:d,scrollTarget:f,scrollDirection:_,refreshScroller:M,scrollTo:$,setScrollBarDragging:F,scrollBarDragging:w,cleanup:z}}),_F=["data-theme-color"],vF=["data-theme-color"],yF=["data-theme-color"],bF=["data-large"],wF=["data-nav-color"],SF=["data-large"],TF={key:1,class:"modal-404"},EF={__name:"ContentModal",props:{uniqueId:{type:String,required:!0},theme:{name:"theme",type:Object,default:()=>({name:"theme",type:"multiple_choice",value:[{name:"yellow",codename:"yellow"}]})},isLarge:{type:Boolean,required:!1,default:!0},overlayTheme:{name:"overlaytheme",type:Object,default:()=>({name:"theme",type:"multiple_choice",value:[{name:"yellow",codename:"yellow"}]})},slug:{type:String,required:!1,default:null},filter:{type:String,required:!1,default:null}},setup(t){const e=t,n=vi(),r=mr(),i=pE();wn();const{gsap:o}=gn(),s=Pl();Il();const a=_a(null),u=U(!1),c=U({}),h=U(null),l=U(null),d=U(null),f=U(null),_=U(null),g=U(null),b=U(null),y=U(null);async function w(F){var ne;if(u.value=!1,a.value=null,!F)return;const H=s.resolve(F);if(!H.matched.length||!((ne=H.matched[H.matched.length-1].components)!=null&&ne.default)){u.value=!0;return}let V=H.matched[H.matched.length-1].components.default;typeof V=="function"&&(V=(await V()).default||await V()),a.value=V,c.value={slug:e.slug,filter:e.filter}}function A(){n.setModalState(di.NONE)}let k=null,R=null;function x(){k==null||k.kill(),R==null||R.kill(),k=o.timeline({}),k.set([g.value,_.value,d.value,l.value,f.value],{autoAlpha:1},">"),k.to(l.value,{autoAlpha:1,duration:.6},0),k.to(g.value,{scaleX:1,duration:.6,ease:"power2.inOut"},0),k.to(f.value,{scale:1,duration:.25,ease:"power2.inOut"},">-0.1"),k.to(_.value,{translateX:"0%",duration:.6,ease:"power2.inOut"},0),k.to(b.value,{translateX:"0%",duration:.6,ease:"power2.inOut"},0),y.value&&(y.value.scrollTop=0)}function L(F=!1){k==null||k.kill(),R==null||R.kill(),R=o.timeline({}),R.to(l.value,{autoAlpha:0,duration:F?0:.4},0),R.to(f.value,{scale:.01,duration:F?0:.18,ease:"power2.inOut"},0),R.set([f.value],{autoAlpha:0},">"),R.to(_.value,{autoAlpha:0,ease:"linear",duration:F?0:.2},0),R.to(_.value,{translateX:"100%",ease:"power2.inOut",duration:F?0:.25},.1),R.to(b.value,{translateX:"-100%",ease:"power2.inOut",duration:F?0:.25},.1),R.to(g.value,{scaleX:.01,ease:"power2.inOut",duration:F?0:.25},.1),R.set([g.value,_.value,d.value],{autoAlpha:0},">")}return Ne(()=>n.modalState,F=>{F===di.CONTENT+e.uniqueId?x():L(!1)}),Ne(()=>e.slug,w),Ct(async()=>{L(!0),e.slug&&await w(e.slug)}),(F,H)=>{const V=q5,ne=i_;return ae(),Kt(DR,{to:"body"},[J("div",{ref_key:"rootRef",ref:h,class:"ContentModal"},[J("div",{ref_key:"bgWrapperRef",ref:l,class:"ContentModal-bgWrapper",onClick:A},[J("div",{class:"ContentModal-bg ContentModal-bg--first","data-theme-color":ge(r).getThemeValue(t.overlayTheme)},null,8,_F),J("div",{class:"ContentModal-bg ContentModal-bg--second","data-theme-color":ge(r).getThemeValue(t.overlayTheme)},null,8,vF),J("div",{class:"ContentModal-bg ContentModal-bg--third","data-theme-color":ge(r).getThemeValue(t.overlayTheme)},null,8,yF)],512),J("div",{ref_key:"blockRef",ref:d,class:"ContentModal-block","data-large":t.isLarge},[J("div",{ref_key:"contentBgRef",ref:g,class:st(["ContentModal-contentbackground",`theme--${ge(r).getThemeValue(t.theme)}`]),"data-nav-color":ge(r).getNavColorValue(ge(r).getThemeValue(t.theme))},null,10,wF),J("div",{ref_key:"closeRef",ref:f,class:"ContentModal-closeButton"},[Ve(ne,{label:"Close",theme:ge(i).isMobileOrPortraitTablet?"yellow-alt":"yellow",onClick:A},{default:Di(()=>[Ve(V)]),_:1},8,["theme"])],512),J("div",{ref_key:"contentRef",ref:_,class:"ContentModal-content"},[J("div",{ref_key:"inverseRef",ref:b,class:"ContentModal-inverse"},[J("div",{ref_key:"scrollRef",ref:y,class:"ContentModal-scroll","data-lenis-prevent":""},[J("div",{class:"ContentModal-container","data-large":t.isLarge},[t.slug&&a.value?(ae(),me(Ye,{key:0},[a.value?(ae(),Kt(va(a.value),iw({key:0},ge(c),{slug:ge(c).slug,filter:ge(c).filter,theme:t.theme,"is-modal-route":!0}),null,16,["slug","filter","theme"])):bt("",!0)],64)):t.slug&&ge(u)?(ae(),me("div",TF,H[0]||(H[0]=[J("h1",{class:"type-h3"}," Sorry ",-1),Ju(" This content was not found. ")]))):Do(F.$slots,"default",{key:2},void 0,!0)],8,SF)],512)],512)],512)],8,bF)],512)])}}},kF=_t(EF,[["__scopeId","data-v-0089f1d3"]]),AF={class:"mody"},RF={__name:"HomePortfolioModal",setup(t){function e(){return[{name:"Manufacturing",codename:"manufacturing"},{name:"Electricity",codename:"electricity"},{name:"Agriculture",codename:"agriculture"},{name:"Transportation",codename:"transportation"},{name:"Buildings",codename:"buildings"}]}function n(){return{theme:{name:"theme",type:"multiple_choice",value:[{name:"yellow",codename:"yellow"}]},overlay:{name:"overlaytheme",type:"multiple_choice",value:[{name:"yellow",codename:"yellow"}]}}}return(r,i)=>{const o=kF;return ae(),me("div",AF,[(ae(!0),me(Ye,null,ut(e(),s=>(ae(),Kt(o,{key:s.name,"unique-id":s.codename,slug:"portfolio",filter:s.codename,theme:n().theme,"overlay-theme":n().overlay},null,8,["unique-id","filter","theme","overlay-theme"]))),128))])}}},CF=_t(RF,[["__scopeId","data-v-a594cd35"]]);var cu=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function xF(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Zf={exports:{}},PF=Zf.exports,u1;function IF(){return u1||(u1=1,function(t,e){(function(r,i){t.exports=i()})(PF,()=>(()=>{var n=[,(s,a,u)=>{u.r(a),u.d(a,{default:()=>h});var c=(()=>{var l=typeof document<"u"&&document.currentScript?document.currentScript.src:void 0;return function(d={}){var f=d,_,g;f.ready=new Promise((p,v)=>{_=p,g=v});function b(){function p(de){const ke=O;E=v=0,O=new Map,ke.forEach(Ce=>{try{Ce(de)}catch(we){console.error(we)}}),this.pb(),Q&&Q.Tb()}let v=0,E=0,O=new Map,Q=null,te=null;this.requestAnimationFrame=function(de){v||(v=requestAnimationFrame(p.bind(this)));const ke=++E;return O.set(ke,de),ke},this.cancelAnimationFrame=function(de){O.delete(de),v&&O.size==0&&(cancelAnimationFrame(v),v=0)},this.Rb=function(de){te&&(document.body.remove(te),te=null),de||(te=document.createElement("div"),te.style.backgroundColor="black",te.style.position="fixed",te.style.right=0,te.style.top=0,te.style.color="white",te.style.padding="4px",te.innerHTML="RIVE FPS",de=function(ke){te.innerHTML="RIVE FPS "+ke.toFixed(1)},document.body.appendChild(te)),Q=new function(){let ke=0,Ce=0;this.Tb=function(){var we=performance.now();Ce?(++ke,we-=Ce,1e3<we&&(de(1e3*ke/we),ke=Ce=0)):(Ce=we,ke=0)}}},this.Ob=function(){te&&(document.body.remove(te),te=null),Q=null},this.pb=function(){}}function y(p){console.assert(!0);const v=new Map;let E=-1/0;this.push=function(O){return O=O+((1<<p)-1)>>p,v.has(O)&&clearTimeout(v.get(O)),v.set(O,setTimeout(function(){v.delete(O),v.length==0?E=-1/0:O==E&&(E=Math.max(...v.keys()),console.assert(E<O))},1e3)),E=Math.max(O,E),E<<p}}const w=f.onRuntimeInitialized;f.onRuntimeInitialized=function(){w&&w();let p=f.decodeAudio;f.decodeAudio=function(Q,te){Q=p(Q),te(Q)};let v=f.decodeFont;f.decodeFont=function(Q,te){Q=v(Q),te(Q)};const E=f.FileAssetLoader;f.ptrToAsset=Q=>{let te=f.ptrToFileAsset(Q);return te.isImage?f.ptrToImageAsset(Q):te.isFont?f.ptrToFontAsset(Q):te.isAudio?f.ptrToAudioAsset(Q):te},f.CustomFileAssetLoader=E.extend("CustomFileAssetLoader",{__construct:function({loadContents:Q}){this.__parent.__construct.call(this),this.Gb=Q},loadContents:function(Q,te){return Q=f.ptrToAsset(Q),this.Gb(Q,te)}}),f.CDNFileAssetLoader=E.extend("CDNFileAssetLoader",{__construct:function(){this.__parent.__construct.call(this)},loadContents:function(Q){let te=f.ptrToAsset(Q);return Q=te.cdnUuid,Q===""?!1:(function(de,ke){var Ce=new XMLHttpRequest;Ce.responseType="arraybuffer",Ce.onreadystatechange=function(){Ce.readyState==4&&Ce.status==200&&ke(Ce)},Ce.open("GET",de,!0),Ce.send(null)}(te.cdnBaseUrl+"/"+Q,de=>{te.decode(new Uint8Array(de.response))}),!0)}}),f.FallbackFileAssetLoader=E.extend("FallbackFileAssetLoader",{__construct:function(){this.__parent.__construct.call(this),this.lb=[]},addLoader:function(Q){this.lb.push(Q)},loadContents:function(Q,te){for(let de of this.lb)if(de.loadContents(Q,te))return!0;return!1}});let O=f.computeAlignment;f.computeAlignment=function(Q,te,de,ke,Ce=1){return O.call(this,Q,te,de,ke,Ce)}};const A="createConicGradient createImageData createLinearGradient createPattern createRadialGradient getContextAttributes getImageData getLineDash getTransform isContextLost isPointInPath isPointInStroke measureText".split(" "),k=new function(){function p(){if(!v){let St=function(At,qe,_n){if(qe=Fe.createShader(qe),Fe.shaderSource(qe,_n),Fe.compileShader(qe),_n=Fe.getShaderInfoLog(qe),0<(_n||"").length)throw _n;Fe.attachShader(At,qe)};var ve=document.createElement("canvas"),$e={alpha:1,depth:0,stencil:0,antialias:0,premultipliedAlpha:1,preserveDrawingBuffer:0,powerPreference:"high-performance",failIfMajorPerformanceCaveat:0,enableExtensionsByDefault:1,explicitSwapControl:1,renderViaOffscreenBackBuffer:1};let Fe;if(/iPhone|iPad|iPod/i.test(navigator.userAgent)){if(Fe=ve.getContext("webgl",$e),E=1,!Fe)return!1}else if(Fe=ve.getContext("webgl2",$e))E=2;else if(Fe=ve.getContext("webgl",$e))E=1;else return!1;if(Fe=new Proxy(Fe,{get(At,qe){if(At.isContextLost()){if(Ce||(console.error("Cannot render the mesh because the GL Context was lost. Tried to invoke ",qe),Ce=!0),typeof At[qe]=="function")return function(){}}else return typeof At[qe]=="function"?function(..._n){return At[qe].apply(At,_n)}:At[qe]},set(At,qe,_n){if(At.isContextLost())Ce||(console.error("Cannot render the mesh because the GL Context was lost. Tried to set property "+qe),Ce=!0);else return At[qe]=_n,!0}}),O=Math.min(Fe.getParameter(Fe.MAX_RENDERBUFFER_SIZE),Fe.getParameter(Fe.MAX_TEXTURE_SIZE)),ve=Fe.createProgram(),St(ve,Fe.VERTEX_SHADER,`attribute vec2 vertex;
attribute vec2 uv;
uniform vec4 mat;
uniform vec2 translate;
varying vec2 st;
void main() {
st = uv;
gl_Position = vec4(mat2(mat) * vertex + translate, 0, 1);
}`),St(ve,Fe.FRAGMENT_SHADER,`precision highp float;
uniform sampler2D image;
varying vec2 st;
void main() {
gl_FragColor = texture2D(image, st);
}`),Fe.bindAttribLocation(ve,0,"vertex"),Fe.bindAttribLocation(ve,1,"uv"),Fe.linkProgram(ve),$e=Fe.getProgramInfoLog(ve),0<($e||"").trim().length)throw $e;Q=Fe.getUniformLocation(ve,"mat"),te=Fe.getUniformLocation(ve,"translate"),Fe.useProgram(ve),Fe.bindBuffer(Fe.ARRAY_BUFFER,Fe.createBuffer()),Fe.enableVertexAttribArray(0),Fe.enableVertexAttribArray(1),Fe.bindBuffer(Fe.ELEMENT_ARRAY_BUFFER,Fe.createBuffer()),Fe.uniform1i(Fe.getUniformLocation(ve,"image"),0),Fe.pixelStorei(Fe.UNPACK_PREMULTIPLY_ALPHA_WEBGL,!0),v=Fe}return!0}let v=null,E=0,O=0,Q=null,te=null,de=0,ke=0,Ce=!1;p(),this.hc=function(){return p(),O},this.Mb=function(ve){v.deleteTexture&&v.deleteTexture(ve)},this.Lb=function(ve){if(!p())return null;const $e=v.createTexture();return $e?(v.bindTexture(v.TEXTURE_2D,$e),v.texImage2D(v.TEXTURE_2D,0,v.RGBA,v.RGBA,v.UNSIGNED_BYTE,ve),v.texParameteri(v.TEXTURE_2D,v.TEXTURE_WRAP_S,v.CLAMP_TO_EDGE),v.texParameteri(v.TEXTURE_2D,v.TEXTURE_WRAP_T,v.CLAMP_TO_EDGE),v.texParameteri(v.TEXTURE_2D,v.TEXTURE_MAG_FILTER,v.LINEAR),E==2?(v.texParameteri(v.TEXTURE_2D,v.TEXTURE_MIN_FILTER,v.LINEAR_MIPMAP_LINEAR),v.generateMipmap(v.TEXTURE_2D)):v.texParameteri(v.TEXTURE_2D,v.TEXTURE_MIN_FILTER,v.LINEAR),$e):null};const we=new y(8),He=new y(8),Ue=new y(10),Xe=new y(10);this.Qb=function(ve,$e,Fe,St,At){if(p()){var qe=we.push(ve),_n=He.push($e);if(v.canvas){(v.canvas.width!=qe||v.canvas.height!=_n)&&(v.canvas.width=qe,v.canvas.height=_n),v.viewport(0,_n-$e,ve,$e),v.disable(v.SCISSOR_TEST),v.clearColor(0,0,0,0),v.clear(v.COLOR_BUFFER_BIT),v.enable(v.SCISSOR_TEST),Fe.sort(($t,ro)=>ro.xb-$t.xb),qe=Ue.push(St),de!=qe&&(v.bufferData(v.ARRAY_BUFFER,8*qe,v.DYNAMIC_DRAW),de=qe),qe=0;for(var ur of Fe)v.bufferSubData(v.ARRAY_BUFFER,qe,ur.Ua),qe+=4*ur.Ua.length;console.assert(qe==4*St);for(var no of Fe)v.bufferSubData(v.ARRAY_BUFFER,qe,no.Db),qe+=4*no.Db.length;console.assert(qe==8*St),qe=Xe.push(At),ke!=qe&&(v.bufferData(v.ELEMENT_ARRAY_BUFFER,2*qe,v.DYNAMIC_DRAW),ke=qe),ur=0;for(var Bs of Fe)v.bufferSubData(v.ELEMENT_ARRAY_BUFFER,ur,Bs.indices),ur+=2*Bs.indices.length;console.assert(ur==2*At),Bs=0,no=!0,qe=ur=0;for(const $t of Fe){$t.image.Ka!=Bs&&(v.bindTexture(v.TEXTURE_2D,$t.image.Ja||null),Bs=$t.image.Ka),$t.mc?(v.scissor($t.Za,_n-$t.$a-$t.kb,$t.Ac,$t.kb),no=!0):no&&(v.scissor(0,_n-$e,ve,$e),no=!1),Fe=2/ve;const ro=-2/$e;v.uniform4f(Q,$t.ha[0]*Fe*$t.Ba,$t.ha[1]*ro*$t.Ca,$t.ha[2]*Fe*$t.Ba,$t.ha[3]*ro*$t.Ca),v.uniform2f(te,$t.ha[4]*Fe*$t.Ba+Fe*($t.Za-$t.ic*$t.Ba)-1,$t.ha[5]*ro*$t.Ca+ro*($t.$a-$t.jc*$t.Ca)+1),v.vertexAttribPointer(0,2,v.FLOAT,!1,0,qe),v.vertexAttribPointer(1,2,v.FLOAT,!1,0,qe+4*St),v.drawElements(v.TRIANGLES,$t.indices.length,v.UNSIGNED_SHORT,ur),qe+=4*$t.Ua.length,ur+=2*$t.indices.length}console.assert(qe==4*St),console.assert(ur==2*At)}}},this.canvas=function(){return p()&&v.canvas}},R=f.onRuntimeInitialized;f.onRuntimeInitialized=function(){function p(Me){switch(Me){case we.srcOver:return"source-over";case we.screen:return"screen";case we.overlay:return"overlay";case we.darken:return"darken";case we.lighten:return"lighten";case we.colorDodge:return"color-dodge";case we.colorBurn:return"color-burn";case we.hardLight:return"hard-light";case we.softLight:return"soft-light";case we.difference:return"difference";case we.exclusion:return"exclusion";case we.multiply:return"multiply";case we.hue:return"hue";case we.saturation:return"saturation";case we.color:return"color";case we.luminosity:return"luminosity"}}function v(Me){return"rgba("+((16711680&Me)>>>16)+","+((65280&Me)>>>8)+","+((255&Me)>>>0)+","+((4278190080&Me)>>>24)/255+")"}function E(){0<_n.length&&(k.Qb(qe.drawWidth(),qe.drawHeight(),_n,ur,no),_n=[],no=ur=0,qe.reset(512,512));for(const Me of At){for(const Ge of Me.H)Ge();Me.H=[]}At.clear()}R&&R();var O=f.RenderPaintStyle;const Q=f.RenderPath,te=f.RenderPaint,de=f.Renderer,ke=f.StrokeCap,Ce=f.StrokeJoin,we=f.BlendMode,He=O.fill,Ue=O.stroke,Xe=f.FillRule.evenOdd;let ve=1;var $e=f.RenderImage.extend("CanvasRenderImage",{__construct:function({la:Me,xa:Ge}={}){this.__parent.__construct.call(this),this.Ka=ve,ve=ve+1&2147483647||1,this.la=Me,this.xa=Ge},__destruct:function(){this.Ja&&(k.Mb(this.Ja),URL.revokeObjectURL(this.Xa)),this.__parent.__destruct.call(this)},decode:function(Me){var Ge=this;Ge.xa&&Ge.xa(Ge);var Mt=new Image;Ge.Xa=URL.createObjectURL(new Blob([Me],{type:"image/png"})),Mt.onload=function(){Ge.Fb=Mt,Ge.Ja=k.Lb(Mt),Ge.size(Mt.width,Mt.height),Ge.la&&Ge.la(Ge)},Mt.src=Ge.Xa}}),Fe=Q.extend("CanvasRenderPath",{__construct:function(){this.__parent.__construct.call(this),this.T=new Path2D},rewind:function(){this.T=new Path2D},addPath:function(Me,Ge,Mt,Ht,Tt,Ft,Wt){var Qt=this.T,Vi=Qt.addPath;Me=Me.T;const tr=new DOMMatrix;tr.a=Ge,tr.b=Mt,tr.c=Ht,tr.d=Tt,tr.e=Ft,tr.f=Wt,Vi.call(Qt,Me,tr)},fillRule:function(Me){this.Wa=Me},moveTo:function(Me,Ge){this.T.moveTo(Me,Ge)},lineTo:function(Me,Ge){this.T.lineTo(Me,Ge)},cubicTo:function(Me,Ge,Mt,Ht,Tt,Ft){this.T.bezierCurveTo(Me,Ge,Mt,Ht,Tt,Ft)},close:function(){this.T.closePath()}}),St=te.extend("CanvasRenderPaint",{color:function(Me){this.Ya=v(Me)},thickness:function(Me){this.Ib=Me},join:function(Me){switch(Me){case Ce.miter:this.Ia="miter";break;case Ce.round:this.Ia="round";break;case Ce.bevel:this.Ia="bevel"}},cap:function(Me){switch(Me){case ke.butt:this.Ha="butt";break;case ke.round:this.Ha="round";break;case ke.square:this.Ha="square"}},style:function(Me){this.Hb=Me},blendMode:function(Me){this.Eb=p(Me)},clearGradient:function(){this.ja=null},linearGradient:function(Me,Ge,Mt,Ht){this.ja={zb:Me,Ab:Ge,cb:Mt,eb:Ht,Ra:[]}},radialGradient:function(Me,Ge,Mt,Ht){this.ja={zb:Me,Ab:Ge,cb:Mt,eb:Ht,Ra:[],ec:!0}},addStop:function(Me,Ge){this.ja.Ra.push({color:Me,stop:Ge})},completeGradient:function(){},draw:function(Me,Ge,Mt){let Ht=this.Hb;var Tt=this.Ya,Ft=this.ja;if(Me.globalCompositeOperation=this.Eb,Ft!=null){Tt=Ft.zb;var Wt=Ft.Ab;const Vi=Ft.cb;var Qt=Ft.eb;const tr=Ft.Ra;Ft.ec?(Ft=Vi-Tt,Qt-=Wt,Tt=Me.createRadialGradient(Tt,Wt,0,Tt,Wt,Math.sqrt(Ft*Ft+Qt*Qt))):Tt=Me.createLinearGradient(Tt,Wt,Vi,Qt);for(let wi=0,nr=tr.length;wi<nr;wi++)Wt=tr[wi],Tt.addColorStop(Wt.stop,v(Wt.color));this.Ya=Tt,this.ja=null}switch(Ht){case Ue:Me.strokeStyle=Tt,Me.lineWidth=this.Ib,Me.lineCap=this.Ha,Me.lineJoin=this.Ia,Me.stroke(Ge);break;case He:Me.fillStyle=Tt,Me.fill(Ge,Mt)}}});const At=new Set;let qe=null,_n=[],ur=0,no=0;var Bs=f.CanvasRenderer=de.extend("Renderer",{__construct:function(Me){this.__parent.__construct.call(this),this.S=[1,0,0,1,0,0],this.C=Me.getContext("2d"),this.Va=Me,this.H=[]},save:function(){this.S.push(...this.S.slice(this.S.length-6)),this.H.push(this.C.save.bind(this.C))},restore:function(){const Me=this.S.length-6;if(6>Me)throw"restore() called without matching save().";this.S.splice(Me),this.H.push(this.C.restore.bind(this.C))},transform:function(Me,Ge,Mt,Ht,Tt,Ft){const Wt=this.S,Qt=Wt.length-6;Wt.splice(Qt,6,Wt[Qt]*Me+Wt[Qt+2]*Ge,Wt[Qt+1]*Me+Wt[Qt+3]*Ge,Wt[Qt]*Mt+Wt[Qt+2]*Ht,Wt[Qt+1]*Mt+Wt[Qt+3]*Ht,Wt[Qt]*Tt+Wt[Qt+2]*Ft+Wt[Qt+4],Wt[Qt+1]*Tt+Wt[Qt+3]*Ft+Wt[Qt+5]),this.H.push(this.C.transform.bind(this.C,Me,Ge,Mt,Ht,Tt,Ft))},rotate:function(Me){const Ge=Math.sin(Me);Me=Math.cos(Me),this.transform(Me,Ge,-Ge,Me,0,0)},_drawPath:function(Me,Ge){this.H.push(Ge.draw.bind(Ge,this.C,Me.T,Me.Wa===Xe?"evenodd":"nonzero"))},_drawRiveImage:function(Me,Ge,Mt,Ht){var Tt=Me.Fb;if(Tt){var Ft=this.C,Wt=p(Mt);this.H.push(function(){Ft.globalCompositeOperation=Wt,Ft.globalAlpha=Ht,Ft.drawImage(Tt,0,0),Ft.globalAlpha=1})}},_getMatrix:function(Me){const Ge=this.S,Mt=Ge.length-6;for(let Ht=0;6>Ht;++Ht)Me[Ht]=Ge[Mt+Ht]},_drawImageMesh:function(Me,Ge,Mt,Ht,Tt,Ft,Wt,Qt,Vi,tr,wi){Ge=this.C.canvas.width;var nr=this.C.canvas.height;const D_=tr-Qt,$_=wi-Vi;Qt=Math.max(Qt,0),Vi=Math.max(Vi,0),tr=Math.min(tr,Ge),wi=Math.min(wi,nr);const Yl=tr-Qt,Kl=wi-Vi;if(console.assert(Yl<=Math.min(D_,Ge)),console.assert(Kl<=Math.min($_,nr)),!(0>=Yl||0>=Kl)){tr=Yl<D_||Kl<$_,Ge=wi=1;var Vs=Math.ceil(Yl*wi),Us=Math.ceil(Kl*Ge);nr=k.hc(),Vs>nr&&(wi*=nr/Vs,Vs=nr),Us>nr&&(Ge*=nr/Us,Us=nr),qe||(qe=new f.DynamicRectanizer(nr),qe.reset(512,512)),nr=qe.addRect(Vs,Us),0>nr&&(E(),At.add(this),nr=qe.addRect(Vs,Us),console.assert(0<=nr));var H_=nr&65535,N_=nr>>16;_n.push({ha:this.S.slice(this.S.length-6),image:Me,Za:H_,$a:N_,ic:Qt,jc:Vi,Ac:Vs,kb:Us,Ba:wi,Ca:Ge,Ua:new Float32Array(Tt),Db:new Float32Array(Ft),indices:new Uint16Array(Wt),mc:tr,xb:Me.Ka<<1|(tr?1:0)}),ur+=Tt.length,no+=Wt.length;var Da=this.C,lk=p(Mt);this.H.push(function(){Da.save(),Da.resetTransform(),Da.globalCompositeOperation=lk,Da.globalAlpha=Ht;const B_=k.canvas();B_&&Da.drawImage(B_,H_,N_,Vs,Us,Qt,Vi,Yl,Kl),Da.restore()})}},_clipPath:function(Me){this.H.push(this.C.clip.bind(this.C,Me.T,Me.Wa===Xe?"evenodd":"nonzero"))},clear:function(){At.add(this),this.H.push(this.C.clearRect.bind(this.C,0,0,this.Va.width,this.Va.height))},flush:function(){},translate:function(Me,Ge){this.transform(1,0,0,1,Me,Ge)}});f.makeRenderer=function(Me){const Ge=new Bs(Me),Mt=Ge.C;return new Proxy(Ge,{get(Ht,Tt){if(typeof Ht[Tt]=="function")return function(...Ft){return Ht[Tt].apply(Ht,Ft)};if(typeof Mt[Tt]=="function"){if(-1<A.indexOf(Tt))throw Error("RiveException: Method call to '"+Tt+"()' is not allowed, as the renderer cannot immediately pass through the return values of any canvas 2d context methods.");return function(...Ft){Ge.H.push(Mt[Tt].bind(Mt,...Ft))}}return Ht[Tt]},set(Ht,Tt,Ft){if(Tt in Mt)return Ge.H.push(()=>{Mt[Tt]=Ft}),!0}})},f.decodeImage=function(Me,Ge){new $e({la:Ge}).decode(Me)},f.renderFactory={makeRenderPaint:function(){return new St},makeRenderPath:function(){return new Fe},makeRenderImage:function(){let Me=ro;return new $e({xa:()=>{Me.total++},la:()=>{if(Me.loaded++,Me.loaded===Me.total){const Ge=Me.ready;Ge&&(Ge(),Me.ready=null)}}})}};let $t=f.load,ro=null;f.load=function(Me,Ge,Mt=!0){const Ht=new f.FallbackFileAssetLoader;return Ge!==void 0&&Ht.addLoader(Ge),Mt&&(Ge=new f.CDNFileAssetLoader,Ht.addLoader(Ge)),new Promise(function(Tt){let Ft=null;ro={total:0,loaded:0,ready:function(){Tt(Ft)}},Ft=$t(Me,Ht),ro.total==0&&Tt(Ft)})};let ak=f.RendererWrapper.prototype.align;f.RendererWrapper.prototype.align=function(Me,Ge,Mt,Ht,Tt=1){ak.call(this,Me,Ge,Mt,Ht,Tt)},O=new b,f.requestAnimationFrame=O.requestAnimationFrame.bind(O),f.cancelAnimationFrame=O.cancelAnimationFrame.bind(O),f.enableFPSCounter=O.Rb.bind(O),f.disableFPSCounter=O.Ob,O.pb=E,f.resolveAnimationFrame=E,f.cleanup=function(){qe&&qe.delete()}};var x=Object.assign({},f),L="./this.program",F=typeof window=="object",H=typeof importScripts=="function",V="",ne,$;(F||H)&&(H?V=self.location.href:typeof document<"u"&&document.currentScript&&(V=document.currentScript.src),l&&(V=l),V.indexOf("blob:")!==0?V=V.substr(0,V.replace(/[?#].*/,"").lastIndexOf("/")+1):V="",H&&($=p=>{var v=new XMLHttpRequest;return v.open("GET",p,!1),v.responseType="arraybuffer",v.send(null),new Uint8Array(v.response)}),ne=(p,v,E)=>{var O=new XMLHttpRequest;O.open("GET",p,!0),O.responseType="arraybuffer",O.onload=()=>{O.status==200||O.status==0&&O.response?v(O.response):E()},O.onerror=E,O.send(null)});var M=f.print||console.log.bind(console),z=f.printErr||console.error.bind(console);Object.assign(f,x),x=null,f.thisProgram&&(L=f.thisProgram);var K;f.wasmBinary&&(K=f.wasmBinary),f.noExitRuntime,typeof WebAssembly!="object"&&ee("no native wasm support detected");var B,W,oe=!1,se,q,pe,Te,_e,ye,Ae,be;function ie(){var p=B.buffer;f.HEAP8=se=new Int8Array(p),f.HEAP16=pe=new Int16Array(p),f.HEAP32=_e=new Int32Array(p),f.HEAPU8=q=new Uint8Array(p),f.HEAPU16=Te=new Uint16Array(p),f.HEAPU32=ye=new Uint32Array(p),f.HEAPF32=Ae=new Float32Array(p),f.HEAPF64=be=new Float64Array(p)}var le,he=[],Se=[],Ie=[];function j(){var p=f.preRun.shift();he.unshift(p)}var P=0,Y=null;function ee(p){throw f.onAbort&&f.onAbort(p),p="Aborted("+p+")",z(p),oe=!0,p=new WebAssembly.RuntimeError(p+". Build with -sASSERTIONS for more info."),g(p),p}function X(p){return p.startsWith("data:application/octet-stream;base64,")}var C;if(C="canvas_advanced.wasm",!X(C)){var G=C;C=f.locateFile?f.locateFile(G,V):V+G}function I(p){if(p==C&&K)return new Uint8Array(K);if($)return $(p);throw"both async and sync fetching of the wasm failed"}function D(p){if(!K&&(F||H)){if(typeof fetch=="function"&&!p.startsWith("file://"))return fetch(p,{credentials:"same-origin"}).then(v=>{if(!v.ok)throw"failed to load wasm binary file at '"+p+"'";return v.arrayBuffer()}).catch(()=>I(p));if(ne)return new Promise((v,E)=>{ne(p,O=>v(new Uint8Array(O)),E)})}return Promise.resolve().then(()=>I(p))}function Z(p,v,E){return D(p).then(O=>WebAssembly.instantiate(O,v)).then(O=>O).then(E,O=>{z("failed to asynchronously prepare wasm: "+O),ee(O)})}function fe(p,v){var E=C;return K||typeof WebAssembly.instantiateStreaming!="function"||X(E)||E.startsWith("file://")||typeof fetch!="function"?Z(E,p,v):fetch(E,{credentials:"same-origin"}).then(O=>WebAssembly.instantiateStreaming(O,p).then(v,function(Q){return z("wasm streaming compile failed: "+Q),z("falling back to ArrayBuffer instantiation"),Z(E,p,v)}))}var ue,S,m={459036:(p,v,E,O,Q)=>{if(typeof window>"u"||(window.AudioContext||window.webkitAudioContext)===void 0)return 0;if(typeof window.h>"u"){window.h={Aa:0},window.h.I={},window.h.I.ya=p,window.h.I.capture=v,window.h.I.La=E,window.h.ga={},window.h.ga.stopped=O,window.h.ga.yb=Q;let te=window.h;te.D=[],te.yc=function(de){for(var ke=0;ke<te.D.length;++ke)if(te.D[ke]==null)return te.D[ke]=de,ke;return te.D.push(de),te.D.length-1},te.Cb=function(de){for(te.D[de]=null;0<te.D.length&&te.D[te.D.length-1]==null;)te.D.pop()},te.Sc=function(de){for(var ke=0;ke<te.D.length;++ke)if(te.D[ke]==de)return te.Cb(ke)},te.ra=function(de){return te.D[de]},te.Ta=["touchend","click"],te.unlock=function(){for(var de=0;de<te.D.length;++de){var ke=te.D[de];ke!=null&&ke.J!=null&&ke.state===te.ga.yb&&ke.J.resume().then(()=>{I_(ke.qb)},Ce=>{console.error("Failed to resume audiocontext",Ce)})}te.Ta.map(function(Ce){document.removeEventListener(Ce,te.unlock,!0)})},te.Ta.map(function(de){document.addEventListener(de,te.unlock,!0)})}return window.h.Aa+=1,1},461214:()=>{typeof window.h<"u"&&(window.h.Ta.map(function(p){document.removeEventListener(p,window.h.unlock,!0)}),--window.h.Aa,window.h.Aa===0&&delete window.h)},461518:()=>navigator.mediaDevices!==void 0&&navigator.mediaDevices.getUserMedia!==void 0,461622:()=>{try{var p=new(window.AudioContext||window.webkitAudioContext),v=p.sampleRate;return p.close(),v}catch{return 0}},461793:(p,v,E,O,Q,te)=>{if(typeof window.h>"u")return-1;var de={},ke={};return p==window.h.I.ya&&E!=0&&(ke.sampleRate=E),de.J=new(window.AudioContext||window.webkitAudioContext)(ke),de.J.suspend(),de.state=window.h.ga.stopped,E=0,p!=window.h.I.ya&&(E=v),de.Z=de.J.createScriptProcessor(O,E,v),de.Z.onaudioprocess=function(Ce){if((de.sa==null||de.sa.length==0)&&(de.sa=new Float32Array(Ae.buffer,Q,O*v)),p==window.h.I.capture||p==window.h.I.La){for(var we=0;we<v;we+=1)for(var He=Ce.inputBuffer.getChannelData(we),Ue=de.sa,Xe=0;Xe<O;Xe+=1)Ue[Xe*v+we]=He[Xe];L_(te,O,Q)}if(p==window.h.I.ya||p==window.h.I.La)for(O_(te,O,Q),we=0;we<Ce.outputBuffer.numberOfChannels;++we)for(He=Ce.outputBuffer.getChannelData(we),Ue=de.sa,Xe=0;Xe<O;Xe+=1)He[Xe]=Ue[Xe*v+we];else for(we=0;we<Ce.outputBuffer.numberOfChannels;++we)Ce.outputBuffer.getChannelData(we).fill(0)},p!=window.h.I.capture&&p!=window.h.I.La||navigator.mediaDevices.getUserMedia({audio:!0,video:!1}).then(function(Ce){de.Da=de.J.createMediaStreamSource(Ce),de.Da.connect(de.Z),de.Z.connect(de.J.destination)}).catch(function(Ce){""+Ce}),p==window.h.I.ya&&de.Z.connect(de.J.destination),de.qb=te,window.h.yc(de)},464670:p=>window.h.ra(p).J.sampleRate,464743:p=>{p=window.h.ra(p),p.Z!==void 0&&(p.Z.onaudioprocess=function(){},p.Z.disconnect(),p.Z=void 0),p.Da!==void 0&&(p.Da.disconnect(),p.Da=void 0),p.J.close(),p.J=void 0,p.qb=void 0},465143:p=>{window.h.Cb(p)},465193:p=>{p=window.h.ra(p),p.J.resume(),p.state=window.h.ga.yb},465332:p=>{p=window.h.ra(p),p.J.suspend(),p.state=window.h.ga.stopped}},T=p=>{for(;0<p.length;)p.shift()(f)},N=(p,v)=>{for(var E=0,O=p.length-1;0<=O;O--){var Q=p[O];Q==="."?p.splice(O,1):Q===".."?(p.splice(O,1),E++):E&&(p.splice(O,1),E--)}if(v)for(;E;E--)p.unshift("..");return p},re=p=>{var v=p.charAt(0)==="/",E=p.substr(-1)==="/";return(p=N(p.split("/").filter(O=>!!O),!v).join("/"))||v||(p="."),p&&E&&(p+="/"),(v?"/":"")+p},ce=p=>{var v=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/.exec(p).slice(1);return p=v[0],v=v[1],!p&&!v?".":(v&&(v=v.substr(0,v.length-1)),p+v)},Ee=p=>{if(p==="/")return"/";p=re(p),p=p.replace(/\/$/,"");var v=p.lastIndexOf("/");return v===-1?p:p.substr(v+1)},De=()=>{if(typeof crypto=="object"&&typeof crypto.getRandomValues=="function")return p=>crypto.getRandomValues(p);ee("initRandomDevice")},Pe=p=>(Pe=De())(p);function Be(){for(var p="",v=!1,E=arguments.length-1;-1<=E&&!v;E--){if(v=0<=E?arguments[E]:"/",typeof v!="string")throw new TypeError("Arguments to path.resolve must be strings");if(!v)return"";p=v+"/"+p,v=v.charAt(0)==="/"}return p=N(p.split("/").filter(O=>!!O),!v).join("/"),(v?"/":"")+p||"."}var Qe=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0,tt=(p,v,E)=>{var O=v+E;for(E=v;p[E]&&!(E>=O);)++E;if(16<E-v&&p.buffer&&Qe)return Qe.decode(p.subarray(v,E));for(O="";v<E;){var Q=p[v++];if(Q&128){var te=p[v++]&63;if((Q&224)==192)O+=String.fromCharCode((Q&31)<<6|te);else{var de=p[v++]&63;Q=(Q&240)==224?(Q&15)<<12|te<<6|de:(Q&7)<<18|te<<12|de<<6|p[v++]&63,65536>Q?O+=String.fromCharCode(Q):(Q-=65536,O+=String.fromCharCode(55296|Q>>10,56320|Q&1023))}}else O+=String.fromCharCode(Q)}return O},pt=[],mt=p=>{for(var v=0,E=0;E<p.length;++E){var O=p.charCodeAt(E);127>=O?v++:2047>=O?v+=2:55296<=O&&57343>=O?(v+=4,++E):v+=3}return v},rn=(p,v,E,O)=>{if(!(0<O))return 0;var Q=E;O=E+O-1;for(var te=0;te<p.length;++te){var de=p.charCodeAt(te);if(55296<=de&&57343>=de){var ke=p.charCodeAt(++te);de=65536+((de&1023)<<10)|ke&1023}if(127>=de){if(E>=O)break;v[E++]=de}else{if(2047>=de){if(E+1>=O)break;v[E++]=192|de>>6}else{if(65535>=de){if(E+2>=O)break;v[E++]=224|de>>12}else{if(E+3>=O)break;v[E++]=240|de>>18,v[E++]=128|de>>12&63}v[E++]=128|de>>6&63}v[E++]=128|de&63}}return v[E]=0,E-Q};function nt(p,v){var E=Array(mt(p)+1);return p=rn(p,E,0,E.length),v&&(E.length=p),E}var Ut=[];function kt(p,v){Ut[p]={input:[],F:[],V:v},Nn(p,dt)}var dt={open:function(p){var v=Ut[p.node.za];if(!v)throw new Oe(43);p.s=v,p.seekable=!1},close:function(p){p.s.V.qa(p.s)},qa:function(p){p.s.V.qa(p.s)},read:function(p,v,E,O){if(!p.s||!p.s.V.jb)throw new Oe(60);for(var Q=0,te=0;te<O;te++){try{var de=p.s.V.jb(p.s)}catch{throw new Oe(29)}if(de===void 0&&Q===0)throw new Oe(6);if(de==null)break;Q++,v[E+te]=de}return Q&&(p.node.timestamp=Date.now()),Q},write:function(p,v,E,O){if(!p.s||!p.s.V.Oa)throw new Oe(60);try{for(var Q=0;Q<O;Q++)p.s.V.Oa(p.s,v[E+Q])}catch{throw new Oe(29)}return O&&(p.node.timestamp=Date.now()),Q}},jt={jb:function(){e:{if(!pt.length){var p=null;if(typeof window<"u"&&typeof window.prompt=="function"?(p=window.prompt("Input: "),p!==null&&(p+=`
`)):typeof readline=="function"&&(p=readline(),p!==null&&(p+=`
`)),!p){p=null;break e}pt=nt(p,!0)}p=pt.shift()}return p},Oa:function(p,v){v===null||v===10?(M(tt(p.F,0)),p.F=[]):v!=0&&p.F.push(v)},qa:function(p){p.F&&0<p.F.length&&(M(tt(p.F,0)),p.F=[])},bc:function(){return{Fc:25856,Hc:5,Ec:191,Gc:35387,Dc:[3,28,127,21,4,0,1,0,17,19,26,0,18,15,23,22,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]}},cc:function(){return 0},dc:function(){return[24,80]}},xn={Oa:function(p,v){v===null||v===10?(z(tt(p.F,0)),p.F=[]):v!=0&&p.F.push(v)},qa:function(p){p.F&&0<p.F.length&&(z(tt(p.F,0)),p.F=[])}};function Pn(p,v){var E=p.j?p.j.length:0;E>=v||(v=Math.max(v,E*(1048576>E?2:1.125)>>>0),E!=0&&(v=Math.max(v,256)),E=p.j,p.j=new Uint8Array(v),0<p.v&&p.j.set(E.subarray(0,p.v),0))}var Ke={O:null,U(){return Ke.createNode(null,"/",16895,0)},createNode(p,v,E,O){if((E&61440)===24576||(E&61440)===4096)throw new Oe(63);return Ke.O||(Ke.O={dir:{node:{Y:Ke.l.Y,P:Ke.l.P,ka:Ke.l.ka,va:Ke.l.va,vb:Ke.l.vb,Bb:Ke.l.Bb,wb:Ke.l.wb,tb:Ke.l.tb,Ea:Ke.l.Ea},stream:{ba:Ke.m.ba}},file:{node:{Y:Ke.l.Y,P:Ke.l.P},stream:{ba:Ke.m.ba,read:Ke.m.read,write:Ke.m.write,pa:Ke.m.pa,mb:Ke.m.mb,ob:Ke.m.ob}},link:{node:{Y:Ke.l.Y,P:Ke.l.P,ma:Ke.l.ma},stream:{}},ab:{node:{Y:Ke.l.Y,P:Ke.l.P},stream:Kn}}),E=ln(p,v,E,O),(E.mode&61440)===16384?(E.l=Ke.O.dir.node,E.m=Ke.O.dir.stream,E.j={}):(E.mode&61440)===32768?(E.l=Ke.O.file.node,E.m=Ke.O.file.stream,E.v=0,E.j=null):(E.mode&61440)===40960?(E.l=Ke.O.link.node,E.m=Ke.O.link.stream):(E.mode&61440)===8192&&(E.l=Ke.O.ab.node,E.m=Ke.O.ab.stream),E.timestamp=Date.now(),p&&(p.j[v]=E,p.timestamp=E.timestamp),E},Kc(p){return p.j?p.j.subarray?p.j.subarray(0,p.v):new Uint8Array(p.j):new Uint8Array(0)},l:{Y(p){var v={};return v.Jc=(p.mode&61440)===8192?p.id:1,v.Mc=p.id,v.mode=p.mode,v.Oc=1,v.uid=0,v.Lc=0,v.za=p.za,(p.mode&61440)===16384?v.size=4096:(p.mode&61440)===32768?v.size=p.v:(p.mode&61440)===40960?v.size=p.link.length:v.size=0,v.Bc=new Date(p.timestamp),v.Nc=new Date(p.timestamp),v.Ic=new Date(p.timestamp),v.Jb=4096,v.Cc=Math.ceil(v.size/v.Jb),v},P(p,v){if(v.mode!==void 0&&(p.mode=v.mode),v.timestamp!==void 0&&(p.timestamp=v.timestamp),v.size!==void 0&&(v=v.size,p.v!=v))if(v==0)p.j=null,p.v=0;else{var E=p.j;p.j=new Uint8Array(v),E&&p.j.set(E.subarray(0,Math.min(v,p.v))),p.v=v}},ka(){throw In[44]},va(p,v,E,O){return Ke.createNode(p,v,E,O)},vb(p,v,E){if((p.mode&61440)===16384){try{var O=an(v,E)}catch{}if(O)for(var Q in O.j)throw new Oe(55)}delete p.parent.j[p.name],p.parent.timestamp=Date.now(),p.name=E,v.j[E]=p,v.timestamp=p.parent.timestamp,p.parent=v},Bb(p,v){delete p.j[v],p.timestamp=Date.now()},wb(p,v){var E=an(p,v),O;for(O in E.j)throw new Oe(55);delete p.j[v],p.timestamp=Date.now()},tb(p){var v=[".",".."],E;for(E in p.j)p.j.hasOwnProperty(E)&&v.push(E);return v},Ea(p,v,E){return p=Ke.createNode(p,v,41471,0),p.link=E,p},ma(p){if((p.mode&61440)!==40960)throw new Oe(28);return p.link}},m:{read(p,v,E,O,Q){var te=p.node.j;if(Q>=p.node.v)return 0;if(p=Math.min(p.node.v-Q,O),8<p&&te.subarray)v.set(te.subarray(Q,Q+p),E);else for(O=0;O<p;O++)v[E+O]=te[Q+O];return p},write(p,v,E,O,Q,te){if(v.buffer===se.buffer&&(te=!1),!O)return 0;if(p=p.node,p.timestamp=Date.now(),v.subarray&&(!p.j||p.j.subarray)){if(te)return p.j=v.subarray(E,E+O),p.v=O;if(p.v===0&&Q===0)return p.j=v.slice(E,E+O),p.v=O;if(Q+O<=p.v)return p.j.set(v.subarray(E,E+O),Q),O}if(Pn(p,Q+O),p.j.subarray&&v.subarray)p.j.set(v.subarray(E,E+O),Q);else for(te=0;te<O;te++)p.j[Q+te]=v[E+te];return p.v=Math.max(p.v,Q+O),O},ba(p,v,E){if(E===1?v+=p.position:E===2&&(p.node.mode&61440)===32768&&(v+=p.node.v),0>v)throw new Oe(28);return v},pa(p,v,E){Pn(p.node,v+E),p.node.v=Math.max(p.node.v,v+E)},mb(p,v,E,O,Q){if((p.node.mode&61440)!==32768)throw new Oe(43);if(p=p.node.j,Q&2||p.buffer!==se.buffer){if((0<E||E+v<p.length)&&(p.subarray?p=p.subarray(E,E+v):p=Array.prototype.slice.call(p,E,E+v)),E=!0,ee(),v=void 0,!v)throw new Oe(48);se.set(p,v)}else E=!1,v=p.byteOffset;return{o:v,M:E}},ob(p,v,E,O){return Ke.m.write(p,v,0,O,E,!1),0}}};function ht(p,v){var E=0;return p&&(E|=365),v&&(E|=146),E}var rt=null,ot={},Ot=[],ze=1,ct=null,it=!0,Oe=null,In={},vt=(p,v={})=>{if(p=Be(p),!p)return{path:"",node:null};if(v=Object.assign({hb:!0,Qa:0},v),8<v.Qa)throw new Oe(32);p=p.split("/").filter(de=>!!de);for(var E=rt,O="/",Q=0;Q<p.length;Q++){var te=Q===p.length-1;if(te&&v.parent)break;if(E=an(E,p[Q]),O=re(O+"/"+p[Q]),E.wa&&(!te||te&&v.hb)&&(E=E.wa.root),!te||v.gb){for(te=0;(E.mode&61440)===40960;)if(E=yi(O),O=Be(ce(O),E),E=vt(O,{Qa:v.Qa+1}).node,40<te++)throw new Oe(32)}}return{path:O,node:E}},yn=p=>{for(var v;;){if(p===p.parent)return p=p.U.nb,v?p[p.length-1]!=="/"?`${p}/${v}`:p+v:p;v=v?`${p.name}/${v}`:p.name,p=p.parent}},Gn=(p,v)=>{for(var E=0,O=0;O<v.length;O++)E=(E<<5)-E+v.charCodeAt(O)|0;return(p+E>>>0)%ct.length},an=(p,v)=>{var E;if(E=(E=gr(p,"x"))?E:p.l.ka?0:2)throw new Oe(E,p);for(E=ct[Gn(p.id,v)];E;E=E.lc){var O=E.name;if(E.parent.id===p.id&&O===v)return E}return p.l.ka(p,v)},ln=(p,v,E,O)=>(p=new R_(p,v,E,O),v=Gn(p.parent.id,p.name),p.lc=ct[v],ct[v]=p),Xt=p=>{var v=["r","w","rw"][p&3];return p&512&&(v+="w"),v},gr=(p,v)=>{if(it)return 0;if(!v.includes("r")||p.mode&292){if(v.includes("w")&&!(p.mode&146)||v.includes("x")&&!(p.mode&73))return 2}else return 2;return 0},hn=(p,v)=>{try{return an(p,v),20}catch{}return gr(p,"wx")},Pr=()=>{for(var p=0;4096>=p;p++)if(!Ot[p])return p;throw new Oe(33)},Yn=p=>{if(p=Ot[p],!p)throw new Oe(8);return p},Hn=(p,v=-1)=>(Vl||(Vl=function(){this.h={}},Vl.prototype={},Object.defineProperties(Vl.prototype,{object:{get(){return this.node},set(E){this.node=E}},flags:{get(){return this.h.flags},set(E){this.h.flags=E}},position:{get(){return this.h.position},set(E){this.h.position=E}}})),p=Object.assign(new Vl,p),v==-1&&(v=Pr()),p.X=v,Ot[v]=p),Kn={open:p=>{p.m=ot[p.node.za].m,p.m.open&&p.m.open(p)},ba:()=>{throw new Oe(70)}},Nn=(p,v)=>{ot[p]={m:v}},eo=(p,v)=>{var E=v==="/",O=!v;if(E&&rt)throw new Oe(10);if(!E&&!O){var Q=vt(v,{hb:!1});if(v=Q.path,Q=Q.node,Q.wa)throw new Oe(10);if((Q.mode&61440)!==16384)throw new Oe(54)}v={type:p,Qc:{},nb:v,kc:[]},p=p.U(v),p.U=v,v.root=p,E?rt=p:Q&&(Q.wa=v,Q.U&&Q.U.kc.push(v))},_r=(p,v,E)=>{var O=vt(p,{parent:!0}).node;if(p=Ee(p),!p||p==="."||p==="..")throw new Oe(28);var Q=hn(O,p);if(Q)throw new Oe(Q);if(!O.l.va)throw new Oe(63);return O.l.va(O,p,v,E)},Fn=(p,v,E)=>{typeof E>"u"&&(E=v,v=438),_r(p,v|8192,E)},Sn=(p,v)=>{if(!Be(p))throw new Oe(44);var E=vt(v,{parent:!0}).node;if(!E)throw new Oe(44);v=Ee(v);var O=hn(E,v);if(O)throw new Oe(O);if(!E.l.Ea)throw new Oe(63);E.l.Ea(E,v,p)},yi=p=>{if(p=vt(p).node,!p)throw new Oe(44);if(!p.l.ma)throw new Oe(28);return Be(yn(p.parent),p.l.ma(p))},ts=(p,v,E)=>{if(p==="")throw new Oe(44);if(typeof v=="string"){var O={r:0,"r+":2,w:577,"w+":578,a:1089,"a+":1090}[v];if(typeof O>"u")throw Error(`Unknown file open mode: ${v}`);v=O}if(E=v&64?(typeof E>"u"?438:E)&4095|32768:0,typeof p=="object")var Q=p;else{p=re(p);try{Q=vt(p,{gb:!(v&131072)}).node}catch{}}if(O=!1,v&64)if(Q){if(v&128)throw new Oe(20)}else Q=_r(p,E,0),O=!0;if(!Q)throw new Oe(44);if((Q.mode&61440)===8192&&(v&=-513),v&65536&&(Q.mode&61440)!==16384)throw new Oe(54);if(!O&&(E=Q?(Q.mode&61440)===40960?32:(Q.mode&61440)===16384&&(Xt(v)!=="r"||v&512)?31:gr(Q,Xt(v)):44))throw new Oe(E);if(v&512&&!O){if(E=Q,E=typeof E=="string"?vt(E,{gb:!0}).node:E,!E.l.P)throw new Oe(63);if((E.mode&61440)===16384)throw new Oe(31);if((E.mode&61440)!==32768)throw new Oe(28);if(O=gr(E,"w"))throw new Oe(O);E.l.P(E,{size:0,timestamp:Date.now()})}return v&=-131713,Q=Hn({node:Q,path:yn(Q),flags:v,seekable:!0,position:0,m:Q.m,zc:[],error:!1}),Q.m.open&&Q.m.open(Q),!f.logReadFiles||v&1||(Dc||(Dc={}),p in Dc||(Dc[p]=1)),Q},Bl=(p,v,E)=>{if(p.X===null)throw new Oe(8);if(!p.seekable||!p.m.ba)throw new Oe(70);if(E!=0&&E!=1&&E!=2)throw new Oe(28);p.position=p.m.ba(p,v,E),p.zc=[]},ns=()=>{Oe||(Oe=function(p,v){this.name="ErrnoError",this.node=v,this.pc=function(E){this.aa=E},this.pc(p),this.message="FS error"},Oe.prototype=Error(),Oe.prototype.constructor=Oe,[44].forEach(p=>{In[p]=new Oe(p),In[p].stack="<generic error, no stack>"}))},ni,Hi=(p,v,E)=>{p=re("/dev/"+p);var O=ht(!!v,!!E);rs||(rs=64);var Q=rs++<<8|0;Nn(Q,{open:te=>{te.seekable=!1},close:()=>{E&&E.buffer&&E.buffer.length&&E(10)},read:(te,de,ke,Ce)=>{for(var we=0,He=0;He<Ce;He++){try{var Ue=v()}catch{throw new Oe(29)}if(Ue===void 0&&we===0)throw new Oe(6);if(Ue==null)break;we++,de[ke+He]=Ue}return we&&(te.node.timestamp=Date.now()),we},write:(te,de,ke,Ce)=>{for(var we=0;we<Ce;we++)try{E(de[ke+we])}catch{throw new Oe(29)}return Ce&&(te.node.timestamp=Date.now()),we}}),Fn(p,O,Q)},rs,vr={},Vl,Dc,Ul=void 0;function To(){return Ul+=4,_e[Ul-4>>2]}function l_(p){if(p===void 0)return"_unknown";p=p.replace(/[^a-zA-Z0-9_]/g,"$");var v=p.charCodeAt(0);return 48<=v&&57>=v?`_${p}`:p}function $c(p,v){return p=l_(p),{[p]:function(){return v.apply(this,arguments)}}[p]}function u_(){this.M=[void 0],this.ib=[]}var bi=new u_,Oa=void 0;function wt(p){throw new Oa(p)}var Ni=p=>(p||wt("Cannot use deleted val. handle = "+p),bi.get(p).value),Bi=p=>{switch(p){case void 0:return 1;case null:return 2;case!0:return 3;case!1:return 4;default:return bi.pa({ub:1,value:p})}};function c_(p){var v=Error,E=$c(p,function(O){this.name=p,this.message=O,O=Error(O).stack,O!==void 0&&(this.stack=this.toString()+`
`+O.replace(/^Error(:[^\n]*)?\n/,""))});return E.prototype=Object.create(v.prototype),E.prototype.constructor=E,E.prototype.toString=function(){return this.message===void 0?this.name:`${this.name}: ${this.message}`},E}var f_=void 0,d_=void 0;function Ln(p){for(var v="";q[p];)v+=d_[q[p++]];return v}var jl=[];function _h(){for(;jl.length;){var p=jl.pop();p.g.fa=!1,p.delete()}}var Wl=void 0,Eo={};function vh(p,v){for(v===void 0&&wt("ptr should not be undefined");p.A;)v=p.na(v),p=p.A;return v}var Ns={};function h_(p){p=M_(p);var v=Ln(p);return Ro(p),v}function zl(p,v){var E=Ns[p];return E===void 0&&wt(v+" has unknown type "+h_(p)),E}function Hc(){}var yh=!1;function p_(p){--p.count.value,p.count.value===0&&(p.G?p.L.W(p.G):p.u.i.W(p.o))}function m_(p,v,E){return v===E?p:E.A===void 0?null:(p=m_(p,v,E.A),p===null?null:E.Pb(p))}var g_={};function VE(p,v){return v=vh(p,v),Eo[v]}var __=void 0;function Nc(p){throw new __(p)}function Bc(p,v){return v.u&&v.o||Nc("makeClassHandle requires ptr and ptrType"),!!v.L!=!!v.G&&Nc("Both smartPtrType and smartPtr must be specified"),v.count={value:1},Ma(Object.create(p,{g:{value:v}}))}function Ma(p){return typeof FinalizationRegistry>"u"?(Ma=v=>v,p):(yh=new FinalizationRegistry(v=>{p_(v.g)}),Ma=v=>{var E=v.g;return E.G&&yh.register(v,{g:E},v),v},Hc=v=>{yh.unregister(v)},Ma(p))}var Vc={};function ql(p){for(;p.length;){var v=p.pop();p.pop()(v)}}function Gl(p){return this.fromWireType(_e[p>>2])}var Fa={},Uc={};function ri(p,v,E){function O(ke){ke=E(ke),ke.length!==p.length&&Nc("Mismatched type converter count");for(var Ce=0;Ce<p.length;++Ce)to(p[Ce],ke[Ce])}p.forEach(function(ke){Uc[ke]=v});var Q=Array(v.length),te=[],de=0;v.forEach((ke,Ce)=>{Ns.hasOwnProperty(ke)?Q[Ce]=Ns[ke]:(te.push(ke),Fa.hasOwnProperty(ke)||(Fa[ke]=[]),Fa[ke].push(()=>{Q[Ce]=Ns[ke],++de,de===te.length&&O(Q)}))}),te.length===0&&O(Q)}function jc(p){switch(p){case 1:return 0;case 2:return 1;case 4:return 2;case 8:return 3;default:throw new TypeError(`Unknown type size: ${p}`)}}function UE(p,v,E={}){var O=v.name;if(p||wt(`type "${O}" must have a positive integer typeid pointer`),Ns.hasOwnProperty(p)){if(E.$b)return;wt(`Cannot register type '${O}' twice`)}Ns[p]=v,delete Uc[p],Fa.hasOwnProperty(p)&&(v=Fa[p],delete Fa[p],v.forEach(Q=>Q()))}function to(p,v,E={}){if(!("argPackAdvance"in v))throw new TypeError("registerType registeredInstance requires argPackAdvance");UE(p,v,E)}function bh(p){wt(p.g.u.i.name+" instance already deleted")}function is(){}function wh(p,v,E){if(p[v].B===void 0){var O=p[v];p[v]=function(){return p[v].B.hasOwnProperty(arguments.length)||wt(`Function '${E}' called with an invalid number of arguments (${arguments.length}) - expects one of (${p[v].B})!`),p[v].B[arguments.length].apply(this,arguments)},p[v].B=[],p[v].B[O.ea]=O}}function Sh(p,v,E){f.hasOwnProperty(p)?((E===void 0||f[p].B!==void 0&&f[p].B[E]!==void 0)&&wt(`Cannot register public name '${p}' twice`),wh(f,p,p),f.hasOwnProperty(E)&&wt(`Cannot register multiple overloads of a function with the same number of arguments (${E})!`),f[p].B[E]=v):(f[p]=v,E!==void 0&&(f[p].Pc=E))}function jE(p,v,E,O,Q,te,de,ke){this.name=p,this.constructor=v,this.N=E,this.W=O,this.A=Q,this.Ub=te,this.na=de,this.Pb=ke,this.rb=[]}function Wc(p,v,E){for(;v!==E;)v.na||wt(`Expected null or instance of ${E.name}, got an instance of ${v.name}`),p=v.na(p),v=v.A;return p}function WE(p,v){return v===null?(this.Na&&wt(`null is not a valid ${this.name}`),0):(v.g||wt(`Cannot pass "${Eh(v)}" as a ${this.name}`),v.g.o||wt(`Cannot pass deleted object as a pointer of type ${this.name}`),Wc(v.g.o,v.g.u.i,this.i))}function zE(p,v){if(v===null){if(this.Na&&wt(`null is not a valid ${this.name}`),this.ua){var E=this.Pa();return p!==null&&p.push(this.W,E),E}return 0}if(v.g||wt(`Cannot pass "${Eh(v)}" as a ${this.name}`),v.g.o||wt(`Cannot pass deleted object as a pointer of type ${this.name}`),!this.ta&&v.g.u.ta&&wt(`Cannot convert argument of type ${v.g.L?v.g.L.name:v.g.u.name} to parameter type ${this.name}`),E=Wc(v.g.o,v.g.u.i,this.i),this.ua)switch(v.g.G===void 0&&wt("Passing raw pointer to smart pointer is illegal"),this.tc){case 0:v.g.L===this?E=v.g.G:wt(`Cannot convert argument of type ${v.g.L?v.g.L.name:v.g.u.name} to parameter type ${this.name}`);break;case 1:E=v.g.G;break;case 2:if(v.g.L===this)E=v.g.G;else{var O=v.clone();E=this.oc(E,Bi(function(){O.delete()})),p!==null&&p.push(this.W,E)}break;default:wt("Unsupporting sharing policy")}return E}function qE(p,v){return v===null?(this.Na&&wt(`null is not a valid ${this.name}`),0):(v.g||wt(`Cannot pass "${Eh(v)}" as a ${this.name}`),v.g.o||wt(`Cannot pass deleted object as a pointer of type ${this.name}`),v.g.u.ta&&wt(`Cannot convert argument of type ${v.g.u.name} to parameter type ${this.name}`),Wc(v.g.o,v.g.u.i,this.i))}function ko(p,v,E,O){this.name=p,this.i=v,this.Na=E,this.ta=O,this.ua=!1,this.W=this.oc=this.Pa=this.sb=this.tc=this.nc=void 0,v.A!==void 0?this.toWireType=zE:(this.toWireType=O?WE:qE,this.K=null)}function v_(p,v,E){f.hasOwnProperty(p)||Nc("Replacing nonexistant public symbol"),f[p].B!==void 0&&E!==void 0?f[p].B[E]=v:(f[p]=v,f[p].ea=E)}var zc=[],y_=p=>{var v=zc[p];return v||(p>=zc.length&&(zc.length=p+1),zc[p]=v=le.get(p)),v},GE=(p,v)=>{var E=[];return function(){if(E.length=0,Object.assign(E,arguments),p.includes("j")){var O=f["dynCall_"+p];O=E&&E.length?O.apply(null,[v].concat(E)):O.call(null,v)}else O=y_(v).apply(null,E);return O}};function yr(p,v){p=Ln(p);var E=p.includes("j")?GE(p,v):y_(v);return typeof E!="function"&&wt(`unknown function pointer with signature ${p}: ${v}`),E}var b_=void 0;function Ao(p,v){function E(te){Q[te]||Ns[te]||(Uc[te]?Uc[te].forEach(E):(O.push(te),Q[te]=!0))}var O=[],Q={};throw v.forEach(E),new b_(`${p}: `+O.map(h_).join([", "]))}function qc(p,v,E,O,Q){var te=v.length;2>te&&wt("argTypes array size mismatch! Must at least get return value and 'this' types!");var de=v[1]!==null&&E!==null,ke=!1;for(E=1;E<v.length;++E)if(v[E]!==null&&v[E].K===void 0){ke=!0;break}var Ce=v[0].name!=="void",we=te-2,He=Array(we),Ue=[],Xe=[];return function(){if(arguments.length!==we&&wt(`function ${p} called with ${arguments.length} arguments, expected ${we} args!`),Xe.length=0,Ue.length=de?2:1,Ue[0]=Q,de){var ve=v[1].toWireType(Xe,this);Ue[1]=ve}for(var $e=0;$e<we;++$e)He[$e]=v[$e+2].toWireType(Xe,arguments[$e]),Ue.push(He[$e]);if($e=O.apply(null,Ue),ke)ql(Xe);else for(var Fe=de?1:2;Fe<v.length;Fe++){var St=Fe===1?ve:He[Fe-2];v[Fe].K!==null&&v[Fe].K(St)}return ve=Ce?v[0].fromWireType($e):void 0,ve}}function Gc(p,v){for(var E=[],O=0;O<p;O++)E.push(ye[v+4*O>>2]);return E}function w_(p,v,E){return p instanceof Object||wt(`${E} with invalid "this": ${p}`),p instanceof v.i.constructor||wt(`${E} incompatible with "this" of type ${p.constructor.name}`),p.g.o||wt(`cannot call emscripten binding method ${E} on deleted object`),Wc(p.g.o,p.g.u.i,v.i)}function Th(p){p>=bi.h&&--bi.get(p).ub===0&&bi.Zb(p)}function YE(p,v,E){switch(v){case 0:return function(O){return this.fromWireType((E?se:q)[O])};case 1:return function(O){return this.fromWireType((E?pe:Te)[O>>1])};case 2:return function(O){return this.fromWireType((E?_e:ye)[O>>2])};default:throw new TypeError("Unknown integer type: "+p)}}function Eh(p){if(p===null)return"null";var v=typeof p;return v==="object"||v==="array"||v==="function"?p.toString():""+p}function KE(p,v){switch(v){case 2:return function(E){return this.fromWireType(Ae[E>>2])};case 3:return function(E){return this.fromWireType(be[E>>3])};default:throw new TypeError("Unknown float type: "+p)}}function XE(p,v,E){switch(v){case 0:return E?function(O){return se[O]}:function(O){return q[O]};case 1:return E?function(O){return pe[O>>1]}:function(O){return Te[O>>1]};case 2:return E?function(O){return _e[O>>2]}:function(O){return ye[O>>2]};default:throw new TypeError("Unknown integer type: "+p)}}var S_=typeof TextDecoder<"u"?new TextDecoder("utf-16le"):void 0,QE=(p,v)=>{for(var E=p>>1,O=E+v/2;!(E>=O)&&Te[E];)++E;if(E<<=1,32<E-p&&S_)return S_.decode(q.subarray(p,E));for(E="",O=0;!(O>=v/2);++O){var Q=pe[p+2*O>>1];if(Q==0)break;E+=String.fromCharCode(Q)}return E},JE=(p,v,E)=>{if(E===void 0&&(E=2147483647),2>E)return 0;E-=2;var O=v;E=E<2*p.length?E/2:p.length;for(var Q=0;Q<E;++Q)pe[v>>1]=p.charCodeAt(Q),v+=2;return pe[v>>1]=0,v-O},ZE=p=>2*p.length,ek=(p,v)=>{for(var E=0,O="";!(E>=v/4);){var Q=_e[p+4*E>>2];if(Q==0)break;++E,65536<=Q?(Q-=65536,O+=String.fromCharCode(55296|Q>>10,56320|Q&1023)):O+=String.fromCharCode(Q)}return O},tk=(p,v,E)=>{if(E===void 0&&(E=2147483647),4>E)return 0;var O=v;E=O+E-4;for(var Q=0;Q<p.length;++Q){var te=p.charCodeAt(Q);if(55296<=te&&57343>=te){var de=p.charCodeAt(++Q);te=65536+((te&1023)<<10)|de&1023}if(_e[v>>2]=te,v+=4,v+4>E)break}return _e[v>>2]=0,v-O},nk=p=>{for(var v=0,E=0;E<p.length;++E){var O=p.charCodeAt(E);55296<=O&&57343>=O&&++E,v+=4}return v},rk={};function Yc(p){var v=rk[p];return v===void 0?Ln(p):v}var Kc=[];function ik(p){var v=Kc.length;return Kc.push(p),v}function ok(p,v){for(var E=Array(p),O=0;O<p;++O)E[O]=zl(ye[v+4*O>>2],"parameter "+O);return E}var T_=[],kh=[],Ah={},E_=()=>{if(!Rh){var p={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:(typeof navigator=="object"&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",_:L||"./this.program"},v;for(v in Ah)Ah[v]===void 0?delete p[v]:p[v]=Ah[v];var E=[];for(v in p)E.push(`${v}=${p[v]}`);Rh=E}return Rh},Rh,Xc=p=>p%4===0&&(p%100!==0||p%400===0),k_=[31,29,31,30,31,30,31,31,30,31,30,31],A_=[31,28,31,30,31,30,31,31,30,31,30,31],sk=(p,v,E,O)=>{function Q(ve,$e,Fe){for(ve=typeof ve=="number"?ve.toString():ve||"";ve.length<$e;)ve=Fe[0]+ve;return ve}function te(ve,$e){return Q(ve,$e,"0")}function de(ve,$e){function Fe(At){return 0>At?-1:0<At?1:0}var St;return(St=Fe(ve.getFullYear()-$e.getFullYear()))===0&&(St=Fe(ve.getMonth()-$e.getMonth()))===0&&(St=Fe(ve.getDate()-$e.getDate())),St}function ke(ve){switch(ve.getDay()){case 0:return new Date(ve.getFullYear()-1,11,29);case 1:return ve;case 2:return new Date(ve.getFullYear(),0,3);case 3:return new Date(ve.getFullYear(),0,2);case 4:return new Date(ve.getFullYear(),0,1);case 5:return new Date(ve.getFullYear()-1,11,31);case 6:return new Date(ve.getFullYear()-1,11,30)}}function Ce(ve){var $e=ve.ca;for(ve=new Date(new Date(ve.da+1900,0,1).getTime());0<$e;){var Fe=ve.getMonth(),St=(Xc(ve.getFullYear())?k_:A_)[Fe];if($e>St-ve.getDate())$e-=St-ve.getDate()+1,ve.setDate(1),11>Fe?ve.setMonth(Fe+1):(ve.setMonth(0),ve.setFullYear(ve.getFullYear()+1));else{ve.setDate(ve.getDate()+$e);break}}return Fe=new Date(ve.getFullYear()+1,0,4),$e=ke(new Date(ve.getFullYear(),0,4)),Fe=ke(Fe),0>=de($e,ve)?0>=de(Fe,ve)?ve.getFullYear()+1:ve.getFullYear():ve.getFullYear()-1}var we=_e[O+40>>2];O={wc:_e[O>>2],vc:_e[O+4>>2],Fa:_e[O+8>>2],Sa:_e[O+12>>2],Ga:_e[O+16>>2],da:_e[O+20>>2],R:_e[O+24>>2],ca:_e[O+28>>2],Rc:_e[O+32>>2],uc:_e[O+36>>2],xc:we&&we?tt(q,we):""},E=E?tt(q,E):"",we={"%c":"%a %b %d %H:%M:%S %Y","%D":"%m/%d/%y","%F":"%Y-%m-%d","%h":"%b","%r":"%I:%M:%S %p","%R":"%H:%M","%T":"%H:%M:%S","%x":"%m/%d/%y","%X":"%H:%M:%S","%Ec":"%c","%EC":"%C","%Ex":"%m/%d/%y","%EX":"%H:%M:%S","%Ey":"%y","%EY":"%Y","%Od":"%d","%Oe":"%e","%OH":"%H","%OI":"%I","%Om":"%m","%OM":"%M","%OS":"%S","%Ou":"%u","%OU":"%U","%OV":"%V","%Ow":"%w","%OW":"%W","%Oy":"%y"};for(var He in we)E=E.replace(new RegExp(He,"g"),we[He]);var Ue="Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),Xe="January February March April May June July August September October November December".split(" ");we={"%a":ve=>Ue[ve.R].substring(0,3),"%A":ve=>Ue[ve.R],"%b":ve=>Xe[ve.Ga].substring(0,3),"%B":ve=>Xe[ve.Ga],"%C":ve=>te((ve.da+1900)/100|0,2),"%d":ve=>te(ve.Sa,2),"%e":ve=>Q(ve.Sa,2," "),"%g":ve=>Ce(ve).toString().substring(2),"%G":ve=>Ce(ve),"%H":ve=>te(ve.Fa,2),"%I":ve=>(ve=ve.Fa,ve==0?ve=12:12<ve&&(ve-=12),te(ve,2)),"%j":ve=>{for(var $e=0,Fe=0;Fe<=ve.Ga-1;$e+=(Xc(ve.da+1900)?k_:A_)[Fe++]);return te(ve.Sa+$e,3)},"%m":ve=>te(ve.Ga+1,2),"%M":ve=>te(ve.vc,2),"%n":()=>`
`,"%p":ve=>0<=ve.Fa&&12>ve.Fa?"AM":"PM","%S":ve=>te(ve.wc,2),"%t":()=>" ","%u":ve=>ve.R||7,"%U":ve=>te(Math.floor((ve.ca+7-ve.R)/7),2),"%V":ve=>{var $e=Math.floor((ve.ca+7-(ve.R+6)%7)/7);if(2>=(ve.R+371-ve.ca-2)%7&&$e++,$e)$e==53&&(Fe=(ve.R+371-ve.ca)%7,Fe==4||Fe==3&&Xc(ve.da)||($e=1));else{$e=52;var Fe=(ve.R+7-ve.ca-1)%7;(Fe==4||Fe==5&&Xc(ve.da%400-1))&&$e++}return te($e,2)},"%w":ve=>ve.R,"%W":ve=>te(Math.floor((ve.ca+7-(ve.R+6)%7)/7),2),"%y":ve=>(ve.da+1900).toString().substring(2),"%Y":ve=>ve.da+1900,"%z":ve=>{ve=ve.uc;var $e=0<=ve;return ve=Math.abs(ve)/60,($e?"+":"-")+("0000"+(ve/60*100+ve%60)).slice(-4)},"%Z":ve=>ve.xc,"%%":()=>"%"},E=E.replace(/%%/g,"\0\0");for(He in we)E.includes(He)&&(E=E.replace(new RegExp(He,"g"),we[He](O)));return E=E.replace(/\0\0/g,"%"),He=nt(E,!1),He.length>v?0:(se.set(He,p),He.length-1)};function R_(p,v,E,O){p||(p=this),this.parent=p,this.U=p.U,this.wa=null,this.id=ze++,this.name=v,this.mode=E,this.l={},this.m={},this.za=O}Object.defineProperties(R_.prototype,{read:{get:function(){return(this.mode&365)===365},set:function(p){p?this.mode|=365:this.mode&=-366}},write:{get:function(){return(this.mode&146)===146},set:function(p){p?this.mode|=146:this.mode&=-147}}}),ns(),ct=Array(4096),eo(Ke,"/"),_r("/tmp",16895,0),_r("/home",16895,0),_r("/home/web_user",16895,0),(()=>{_r("/dev",16895,0),Nn(259,{read:()=>0,write:(O,Q,te,de)=>de}),Fn("/dev/null",259),kt(1280,jt),kt(1536,xn),Fn("/dev/tty",1280),Fn("/dev/tty1",1536);var p=new Uint8Array(1024),v=0,E=()=>(v===0&&(v=Pe(p).byteLength),p[--v]);Hi("random",E),Hi("urandom",E),_r("/dev/shm",16895,0),_r("/dev/shm/tmp",16895,0)})(),(()=>{_r("/proc",16895,0);var p=_r("/proc/self",16895,0);_r("/proc/self/fd",16895,0),eo({U:()=>{var v=ln(p,"fd",16895,73);return v.l={ka:(E,O)=>{var Q=Yn(+O);return E={parent:null,U:{nb:"fake"},l:{ma:()=>Q.path}},E.parent=E}},v}},"/proc/self/fd")})(),Object.assign(u_.prototype,{get(p){return this.M[p]},has(p){return this.M[p]!==void 0},pa(p){var v=this.ib.pop()||this.M.length;return this.M[v]=p,v},Zb(p){this.M[p]=void 0,this.ib.push(p)}}),Oa=f.BindingError=class extends Error{constructor(p){super(p),this.name="BindingError"}},bi.M.push({value:void 0},{value:null},{value:!0},{value:!1}),bi.h=bi.M.length,f.count_emval_handles=function(){for(var p=0,v=bi.h;v<bi.M.length;++v)bi.M[v]!==void 0&&++p;return p},f_=f.PureVirtualError=c_("PureVirtualError");for(var C_=Array(256),Qc=0;256>Qc;++Qc)C_[Qc]=String.fromCharCode(Qc);d_=C_,f.getInheritedInstanceCount=function(){return Object.keys(Eo).length},f.getLiveInheritedInstances=function(){var p=[],v;for(v in Eo)Eo.hasOwnProperty(v)&&p.push(Eo[v]);return p},f.flushPendingDeletes=_h,f.setDelayFunction=function(p){Wl=p,jl.length&&Wl&&Wl(_h)},__=f.InternalError=class extends Error{constructor(p){super(p),this.name="InternalError"}},is.prototype.isAliasOf=function(p){if(!(this instanceof is&&p instanceof is))return!1;var v=this.g.u.i,E=this.g.o,O=p.g.u.i;for(p=p.g.o;v.A;)E=v.na(E),v=v.A;for(;O.A;)p=O.na(p),O=O.A;return v===O&&E===p},is.prototype.clone=function(){if(this.g.o||bh(this),this.g.ia)return this.g.count.value+=1,this;var p=Ma,v=Object,E=v.create,O=Object.getPrototypeOf(this),Q=this.g;return p=p(E.call(v,O,{g:{value:{count:Q.count,fa:Q.fa,ia:Q.ia,o:Q.o,u:Q.u,G:Q.G,L:Q.L}}})),p.g.count.value+=1,p.g.fa=!1,p},is.prototype.delete=function(){this.g.o||bh(this),this.g.fa&&!this.g.ia&&wt("Object already scheduled for deletion"),Hc(this),p_(this.g),this.g.ia||(this.g.G=void 0,this.g.o=void 0)},is.prototype.isDeleted=function(){return!this.g.o},is.prototype.deleteLater=function(){return this.g.o||bh(this),this.g.fa&&!this.g.ia&&wt("Object already scheduled for deletion"),jl.push(this),jl.length===1&&Wl&&Wl(_h),this.g.fa=!0,this},ko.prototype.Vb=function(p){return this.sb&&(p=this.sb(p)),p},ko.prototype.bb=function(p){this.W&&this.W(p)},ko.prototype.argPackAdvance=8,ko.prototype.readValueFromPointer=Gl,ko.prototype.deleteObject=function(p){p!==null&&p.delete()},ko.prototype.fromWireType=function(p){function v(){return this.ua?Bc(this.i.N,{u:this.nc,o:E,L:this,G:p}):Bc(this.i.N,{u:this,o:p})}var E=this.Vb(p);if(!E)return this.bb(p),null;var O=VE(this.i,E);if(O!==void 0)return O.g.count.value===0?(O.g.o=E,O.g.G=p,O.clone()):(O=O.clone(),this.bb(p),O);if(O=this.i.Ub(E),O=g_[O],!O)return v.call(this);O=this.ta?O.Kb:O.pointerType;var Q=m_(E,this.i,O.i);return Q===null?v.call(this):this.ua?Bc(O.i.N,{u:O,o:Q,L:this,G:p}):Bc(O.i.N,{u:O,o:Q})},b_=f.UnboundTypeError=c_("UnboundTypeError");var x_={__syscall_fcntl64:function(p,v,E){Ul=E;try{var O=Yn(p);switch(v){case 0:var Q=To();return 0>Q?-28:Hn(O,Q).X;case 1:case 2:return 0;case 3:return O.flags;case 4:return Q=To(),O.flags|=Q,0;case 5:return Q=To(),pe[Q+0>>1]=2,0;case 6:case 7:return 0;case 16:case 8:return-28;case 9:return _e[P_()>>2]=28,-1;default:return-28}}catch(te){if(typeof vr>"u"||te.name!=="ErrnoError")throw te;return-te.aa}},__syscall_ioctl:function(p,v,E){Ul=E;try{var O=Yn(p);switch(v){case 21509:return O.s?0:-59;case 21505:if(!O.s)return-59;if(O.s.V.bc){v=[3,28,127,21,4,0,1,0,17,19,26,0,18,15,23,22,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];var Q=To();_e[Q>>2]=25856,_e[Q+4>>2]=5,_e[Q+8>>2]=191,_e[Q+12>>2]=35387;for(var te=0;32>te;te++)se[Q+te+17>>0]=v[te]||0}return 0;case 21510:case 21511:case 21512:return O.s?0:-59;case 21506:case 21507:case 21508:if(!O.s)return-59;if(O.s.V.cc)for(Q=To(),v=[],te=0;32>te;te++)v.push(se[Q+te+17>>0]);return 0;case 21519:return O.s?(Q=To(),_e[Q>>2]=0):-59;case 21520:return O.s?-28:-59;case 21531:if(Q=To(),!O.m.ac)throw new Oe(59);return O.m.ac(O,v,Q);case 21523:return O.s?(O.s.V.dc&&(te=[24,80],Q=To(),pe[Q>>1]=te[0],pe[Q+2>>1]=te[1]),0):-59;case 21524:return O.s?0:-59;case 21515:return O.s?0:-59;default:return-28}}catch(de){if(typeof vr>"u"||de.name!=="ErrnoError")throw de;return-de.aa}},__syscall_openat:function(p,v,E,O){Ul=O;try{v=v?tt(q,v):"";var Q=v;if(Q.charAt(0)==="/")v=Q;else{var te=p===-100?"/":Yn(p).path;if(Q.length==0)throw new Oe(44);v=re(te+"/"+Q)}var de=O?To():0;return ts(v,E,de).X}catch(ke){if(typeof vr>"u"||ke.name!=="ErrnoError")throw ke;return-ke.aa}},_embind_create_inheriting_constructor:function(p,v,E){p=Ln(p),v=zl(v,"wrapper"),E=Ni(E);var O=[].slice,Q=v.i,te=Q.N,de=Q.A.N,ke=Q.A.constructor;p=$c(p,function(){Q.A.rb.forEach((function(we){if(this[we]===de[we])throw new f_(`Pure virtual function ${we} must be implemented in JavaScript`)}).bind(this)),Object.defineProperty(this,"__parent",{value:te}),this.__construct.apply(this,O.call(arguments))}),te.__construct=function(){this===te&&wt("Pass correct 'this' to __construct");var we=ke.implement.apply(void 0,[this].concat(O.call(arguments)));Hc(we);var He=we.g;we.notifyOnDestruction(),He.ia=!0,Object.defineProperties(this,{g:{value:He}}),Ma(this),we=He.o,we=vh(Q,we),Eo.hasOwnProperty(we)?wt(`Tried to register registered instance: ${we}`):Eo[we]=this},te.__destruct=function(){this===te&&wt("Pass correct 'this' to __destruct"),Hc(this);var we=this.g.o;we=vh(Q,we),Eo.hasOwnProperty(we)?delete Eo[we]:wt(`Tried to unregister unregistered instance: ${we}`)},p.prototype=Object.create(te);for(var Ce in E)p.prototype[Ce]=E[Ce];return Bi(p)},_embind_finalize_value_object:function(p){var v=Vc[p];delete Vc[p];var E=v.Pa,O=v.W,Q=v.fb,te=Q.map(de=>de.Yb).concat(Q.map(de=>de.rc));ri([p],te,de=>{var ke={};return Q.forEach((Ce,we)=>{var He=de[we],Ue=Ce.Wb,Xe=Ce.Xb,ve=de[we+Q.length],$e=Ce.qc,Fe=Ce.sc;ke[Ce.Sb]={read:St=>He.fromWireType(Ue(Xe,St)),write:(St,At)=>{var qe=[];$e(Fe,St,ve.toWireType(qe,At)),ql(qe)}}}),[{name:v.name,fromWireType:function(Ce){var we={},He;for(He in ke)we[He]=ke[He].read(Ce);return O(Ce),we},toWireType:function(Ce,we){for(var He in ke)if(!(He in we))throw new TypeError(`Missing field: "${He}"`);var Ue=E();for(He in ke)ke[He].write(Ue,we[He]);return Ce!==null&&Ce.push(O,Ue),Ue},argPackAdvance:8,readValueFromPointer:Gl,K:O}]})},_embind_register_bigint:function(){},_embind_register_bool:function(p,v,E,O,Q){var te=jc(E);v=Ln(v),to(p,{name:v,fromWireType:function(de){return!!de},toWireType:function(de,ke){return ke?O:Q},argPackAdvance:8,readValueFromPointer:function(de){if(E===1)var ke=se;else if(E===2)ke=pe;else if(E===4)ke=_e;else throw new TypeError("Unknown boolean type size: "+v);return this.fromWireType(ke[de>>te])},K:null})},_embind_register_class:function(p,v,E,O,Q,te,de,ke,Ce,we,He,Ue,Xe){He=Ln(He),te=yr(Q,te),ke&&(ke=yr(de,ke)),we&&(we=yr(Ce,we)),Xe=yr(Ue,Xe);var ve=l_(He);Sh(ve,function(){Ao(`Cannot construct ${He} due to unbound types`,[O])}),ri([p,v,E],O?[O]:[],function($e){if($e=$e[0],O)var Fe=$e.i,St=Fe.N;else St=is.prototype;$e=$c(ve,function(){if(Object.getPrototypeOf(this)!==At)throw new Oa("Use 'new' to construct "+He);if(qe.$===void 0)throw new Oa(He+" has no accessible constructor");var ur=qe.$[arguments.length];if(ur===void 0)throw new Oa(`Tried to invoke ctor of ${He} with invalid number of parameters (${arguments.length}) - expected (${Object.keys(qe.$).toString()}) parameters instead!`);return ur.apply(this,arguments)});var At=Object.create(St,{constructor:{value:$e}});$e.prototype=At;var qe=new jE(He,$e,At,Xe,Fe,te,ke,we);qe.A&&(qe.A.oa===void 0&&(qe.A.oa=[]),qe.A.oa.push(qe)),Fe=new ko(He,qe,!0,!1),St=new ko(He+"*",qe,!1,!1);var _n=new ko(He+" const*",qe,!1,!0);return g_[p]={pointerType:St,Kb:_n},v_(ve,$e),[Fe,St,_n]})},_embind_register_class_class_function:function(p,v,E,O,Q,te,de){var ke=Gc(E,O);v=Ln(v),te=yr(Q,te),ri([],[p],function(Ce){function we(){Ao(`Cannot call ${He} due to unbound types`,ke)}Ce=Ce[0];var He=`${Ce.name}.${v}`;v.startsWith("@@")&&(v=Symbol[v.substring(2)]);var Ue=Ce.i.constructor;return Ue[v]===void 0?(we.ea=E-1,Ue[v]=we):(wh(Ue,v,He),Ue[v].B[E-1]=we),ri([],ke,function(Xe){if(Xe=qc(He,[Xe[0],null].concat(Xe.slice(1)),null,te,de),Ue[v].B===void 0?(Xe.ea=E-1,Ue[v]=Xe):Ue[v].B[E-1]=Xe,Ce.i.oa)for(const ve of Ce.i.oa)ve.constructor.hasOwnProperty(v)||(ve.constructor[v]=Xe);return[]}),[]})},_embind_register_class_class_property:function(p,v,E,O,Q,te,de,ke){v=Ln(v),te=yr(Q,te),ri([],[p],function(Ce){Ce=Ce[0];var we=`${Ce.name}.${v}`,He={get(){Ao(`Cannot access ${we} due to unbound types`,[E])},enumerable:!0,configurable:!0};return He.set=ke?()=>{Ao(`Cannot access ${we} due to unbound types`,[E])}:()=>{wt(`${we} is a read-only property`)},Object.defineProperty(Ce.i.constructor,v,He),ri([],[E],function(Ue){Ue=Ue[0];var Xe={get(){return Ue.fromWireType(te(O))},enumerable:!0};return ke&&(ke=yr(de,ke),Xe.set=ve=>{var $e=[];ke(O,Ue.toWireType($e,ve)),ql($e)}),Object.defineProperty(Ce.i.constructor,v,Xe),[]}),[]})},_embind_register_class_constructor:function(p,v,E,O,Q,te){var de=Gc(v,E);Q=yr(O,Q),ri([],[p],function(ke){ke=ke[0];var Ce=`constructor ${ke.name}`;if(ke.i.$===void 0&&(ke.i.$=[]),ke.i.$[v-1]!==void 0)throw new Oa(`Cannot register multiple constructors with identical number of parameters (${v-1}) for class '${ke.name}'! Overload resolution is currently only performed using the parameter count, not actual type info!`);return ke.i.$[v-1]=()=>{Ao(`Cannot construct ${ke.name} due to unbound types`,de)},ri([],de,function(we){return we.splice(1,0,null),ke.i.$[v-1]=qc(Ce,we,null,Q,te),[]}),[]})},_embind_register_class_function:function(p,v,E,O,Q,te,de,ke){var Ce=Gc(E,O);v=Ln(v),te=yr(Q,te),ri([],[p],function(we){function He(){Ao(`Cannot call ${Ue} due to unbound types`,Ce)}we=we[0];var Ue=`${we.name}.${v}`;v.startsWith("@@")&&(v=Symbol[v.substring(2)]),ke&&we.i.rb.push(v);var Xe=we.i.N,ve=Xe[v];return ve===void 0||ve.B===void 0&&ve.className!==we.name&&ve.ea===E-2?(He.ea=E-2,He.className=we.name,Xe[v]=He):(wh(Xe,v,Ue),Xe[v].B[E-2]=He),ri([],Ce,function($e){return $e=qc(Ue,$e,we,te,de),Xe[v].B===void 0?($e.ea=E-2,Xe[v]=$e):Xe[v].B[E-2]=$e,[]}),[]})},_embind_register_class_property:function(p,v,E,O,Q,te,de,ke,Ce,we){v=Ln(v),Q=yr(O,Q),ri([],[p],function(He){He=He[0];var Ue=`${He.name}.${v}`,Xe={get(){Ao(`Cannot access ${Ue} due to unbound types`,[E,de])},enumerable:!0,configurable:!0};return Xe.set=Ce?()=>{Ao(`Cannot access ${Ue} due to unbound types`,[E,de])}:()=>{wt(Ue+" is a read-only property")},Object.defineProperty(He.i.N,v,Xe),ri([],Ce?[E,de]:[E],function(ve){var $e=ve[0],Fe={get(){var At=w_(this,He,Ue+" getter");return $e.fromWireType(Q(te,At))},enumerable:!0};if(Ce){Ce=yr(ke,Ce);var St=ve[1];Fe.set=function(At){var qe=w_(this,He,Ue+" setter"),_n=[];Ce(we,qe,St.toWireType(_n,At)),ql(_n)}}return Object.defineProperty(He.i.N,v,Fe),[]}),[]})},_embind_register_emval:function(p,v){v=Ln(v),to(p,{name:v,fromWireType:function(E){var O=Ni(E);return Th(E),O},toWireType:function(E,O){return Bi(O)},argPackAdvance:8,readValueFromPointer:Gl,K:null})},_embind_register_enum:function(p,v,E,O){function Q(){}E=jc(E),v=Ln(v),Q.values={},to(p,{name:v,constructor:Q,fromWireType:function(te){return this.constructor.values[te]},toWireType:function(te,de){return de.value},argPackAdvance:8,readValueFromPointer:YE(v,E,O),K:null}),Sh(v,Q)},_embind_register_enum_value:function(p,v,E){var O=zl(p,"enum");v=Ln(v),p=O.constructor,O=Object.create(O.constructor.prototype,{value:{value:E},constructor:{value:$c(`${O.name}_${v}`,function(){})}}),p.values[E]=O,p[v]=O},_embind_register_float:function(p,v,E){E=jc(E),v=Ln(v),to(p,{name:v,fromWireType:function(O){return O},toWireType:function(O,Q){return Q},argPackAdvance:8,readValueFromPointer:KE(v,E),K:null})},_embind_register_function:function(p,v,E,O,Q,te){var de=Gc(v,E);p=Ln(p),Q=yr(O,Q),Sh(p,function(){Ao(`Cannot call ${p} due to unbound types`,de)},v-1),ri([],de,function(ke){return v_(p,qc(p,[ke[0],null].concat(ke.slice(1)),null,Q,te),v-1),[]})},_embind_register_integer:function(p,v,E,O,Q){v=Ln(v),Q===-1&&(Q=4294967295),Q=jc(E);var te=ke=>ke;if(O===0){var de=32-8*E;te=ke=>ke<<de>>>de}E=v.includes("unsigned")?function(ke,Ce){return Ce>>>0}:function(ke,Ce){return Ce},to(p,{name:v,fromWireType:te,toWireType:E,argPackAdvance:8,readValueFromPointer:XE(v,Q,O!==0),K:null})},_embind_register_memory_view:function(p,v,E){function O(te){te>>=2;var de=ye;return new Q(de.buffer,de[te+1],de[te])}var Q=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array][v];E=Ln(E),to(p,{name:E,fromWireType:O,argPackAdvance:8,readValueFromPointer:O},{$b:!0})},_embind_register_std_string:function(p,v){v=Ln(v);var E=v==="std::string";to(p,{name:v,fromWireType:function(O){var Q=ye[O>>2],te=O+4;if(E)for(var de=te,ke=0;ke<=Q;++ke){var Ce=te+ke;if(ke==Q||q[Ce]==0){if(de=de?tt(q,de,Ce-de):"",we===void 0)var we=de;else we+="\0",we+=de;de=Ce+1}}else{for(we=Array(Q),ke=0;ke<Q;++ke)we[ke]=String.fromCharCode(q[te+ke]);we=we.join("")}return Ro(O),we},toWireType:function(O,Q){Q instanceof ArrayBuffer&&(Q=new Uint8Array(Q));var te=typeof Q=="string";te||Q instanceof Uint8Array||Q instanceof Uint8ClampedArray||Q instanceof Int8Array||wt("Cannot pass non-string to std::string");var de=E&&te?mt(Q):Q.length,ke=Ch(4+de+1),Ce=ke+4;if(ye[ke>>2]=de,E&&te)rn(Q,q,Ce,de+1);else if(te)for(te=0;te<de;++te){var we=Q.charCodeAt(te);255<we&&(Ro(Ce),wt("String has UTF-16 code units that do not fit in 8 bits")),q[Ce+te]=we}else for(te=0;te<de;++te)q[Ce+te]=Q[te];return O!==null&&O.push(Ro,ke),ke},argPackAdvance:8,readValueFromPointer:Gl,K:function(O){Ro(O)}})},_embind_register_std_wstring:function(p,v,E){if(E=Ln(E),v===2)var O=QE,Q=JE,te=ZE,de=()=>Te,ke=1;else v===4&&(O=ek,Q=tk,te=nk,de=()=>ye,ke=2);to(p,{name:E,fromWireType:function(Ce){for(var we=ye[Ce>>2],He=de(),Ue,Xe=Ce+4,ve=0;ve<=we;++ve){var $e=Ce+4+ve*v;(ve==we||He[$e>>ke]==0)&&(Xe=O(Xe,$e-Xe),Ue===void 0?Ue=Xe:(Ue+="\0",Ue+=Xe),Xe=$e+v)}return Ro(Ce),Ue},toWireType:function(Ce,we){typeof we!="string"&&wt(`Cannot pass non-string to C++ string type ${E}`);var He=te(we),Ue=Ch(4+He+v);return ye[Ue>>2]=He>>ke,Q(we,Ue+4,He+v),Ce!==null&&Ce.push(Ro,Ue),Ue},argPackAdvance:8,readValueFromPointer:Gl,K:function(Ce){Ro(Ce)}})},_embind_register_value_object:function(p,v,E,O,Q,te){Vc[p]={name:Ln(v),Pa:yr(E,O),W:yr(Q,te),fb:[]}},_embind_register_value_object_field:function(p,v,E,O,Q,te,de,ke,Ce,we){Vc[p].fb.push({Sb:Ln(v),Yb:E,Wb:yr(O,Q),Xb:te,rc:de,qc:yr(ke,Ce),sc:we})},_embind_register_void:function(p,v){v=Ln(v),to(p,{fc:!0,name:v,argPackAdvance:0,fromWireType:function(){},toWireType:function(){}})},_emscripten_get_now_is_monotonic:()=>!0,_emval_as:function(p,v,E){p=Ni(p),v=zl(v,"emval::as");var O=[],Q=Bi(O);return ye[E>>2]=Q,v.toWireType(O,p)},_emval_call_method:function(p,v,E,O,Q){p=Kc[p],v=Ni(v),E=Yc(E);var te=[];return ye[O>>2]=Bi(te),p(v,E,te,Q)},_emval_call_void_method:function(p,v,E,O){p=Kc[p],v=Ni(v),E=Yc(E),p(v,E,null,O)},_emval_decref:Th,_emval_get_method_caller:function(p,v){var E=ok(p,v),O=E[0];v=O.name+"_$"+E.slice(1).map(function(de){return de.name}).join("_")+"$";var Q=T_[v];if(Q!==void 0)return Q;var te=Array(p-1);return Q=ik((de,ke,Ce,we)=>{for(var He=0,Ue=0;Ue<p-1;++Ue)te[Ue]=E[Ue+1].readValueFromPointer(we+He),He+=E[Ue+1].argPackAdvance;for(de=de[ke].apply(de,te),Ue=0;Ue<p-1;++Ue)E[Ue+1].Nb&&E[Ue+1].Nb(te[Ue]);if(!O.fc)return O.toWireType(Ce,de)}),T_[v]=Q},_emval_get_module_property:function(p){return p=Yc(p),Bi(f[p])},_emval_get_property:function(p,v){return p=Ni(p),v=Ni(v),Bi(p[v])},_emval_incref:function(p){4<p&&(bi.get(p).ub+=1)},_emval_new_array:function(){return Bi([])},_emval_new_cstring:function(p){return Bi(Yc(p))},_emval_new_object:function(){return Bi({})},_emval_run_destructors:function(p){var v=Ni(p);ql(v),Th(p)},_emval_set_property:function(p,v,E){p=Ni(p),v=Ni(v),E=Ni(E),p[v]=E},_emval_take_value:function(p,v){return p=zl(p,"_emval_take_value"),p=p.readValueFromPointer(v),Bi(p)},abort:()=>{ee("")},emscripten_asm_const_int:(p,v,E)=>{kh.length=0;var O;for(E>>=2;O=q[v++];)E+=O!=105&E,kh.push(O==105?_e[E]:be[E++>>1]),++E;return m[p].apply(null,kh)},emscripten_date_now:function(){return Date.now()},emscripten_get_now:()=>performance.now(),emscripten_memcpy_big:(p,v,E)=>q.copyWithin(p,v,v+E),emscripten_resize_heap:p=>{var v=q.length;if(p>>>=0,2147483648<p)return!1;for(var E=1;4>=E;E*=2){var O=v*(1+.2/E);O=Math.min(O,p+100663296);var Q=Math;O=Math.max(p,O);e:{Q=Q.min.call(Q,2147483648,O+(65536-O%65536)%65536)-B.buffer.byteLength+65535>>>16;try{B.grow(Q),ie();var te=1;break e}catch{}te=void 0}if(te)return!0}return!1},environ_get:(p,v)=>{var E=0;return E_().forEach(function(O,Q){var te=v+E;for(Q=ye[p+4*Q>>2]=te,te=0;te<O.length;++te)se[Q++>>0]=O.charCodeAt(te);se[Q>>0]=0,E+=O.length+1}),0},environ_sizes_get:(p,v)=>{var E=E_();ye[p>>2]=E.length;var O=0;return E.forEach(function(Q){O+=Q.length+1}),ye[v>>2]=O,0},fd_close:function(p){try{var v=Yn(p);if(v.X===null)throw new Oe(8);v.Ma&&(v.Ma=null);try{v.m.close&&v.m.close(v)}catch(E){throw E}finally{Ot[v.X]=null}return v.X=null,0}catch(E){if(typeof vr>"u"||E.name!=="ErrnoError")throw E;return E.aa}},fd_read:function(p,v,E,O){try{e:{var Q=Yn(p);p=v;for(var te,de=v=0;de<E;de++){var ke=ye[p>>2],Ce=ye[p+4>>2];p+=8;var we=Q,He=ke,Ue=Ce,Xe=te,ve=se;if(0>Ue||0>Xe)throw new Oe(28);if(we.X===null)throw new Oe(8);if((we.flags&2097155)===1)throw new Oe(8);if((we.node.mode&61440)===16384)throw new Oe(31);if(!we.m.read)throw new Oe(28);var $e=typeof Xe<"u";if(!$e)Xe=we.position;else if(!we.seekable)throw new Oe(70);var Fe=we.m.read(we,ve,He,Ue,Xe);$e||(we.position+=Fe);var St=Fe;if(0>St){var At=-1;break e}if(v+=St,St<Ce)break;typeof te<"u"&&(te+=St)}At=v}return ye[O>>2]=At,0}catch(qe){if(typeof vr>"u"||qe.name!=="ErrnoError")throw qe;return qe.aa}},fd_seek:function(p,v,E,O,Q){v=E+2097152>>>0<4194305-!!v?(v>>>0)+4294967296*E:NaN;try{if(isNaN(v))return 61;var te=Yn(p);return Bl(te,v,O),S=[te.position>>>0,(ue=te.position,1<=+Math.abs(ue)?0<ue?+Math.floor(ue/4294967296)>>>0:~~+Math.ceil((ue-+(~~ue>>>0))/4294967296)>>>0:0)],_e[Q>>2]=S[0],_e[Q+4>>2]=S[1],te.Ma&&v===0&&O===0&&(te.Ma=null),0}catch(de){if(typeof vr>"u"||de.name!=="ErrnoError")throw de;return de.aa}},fd_write:function(p,v,E,O){try{e:{var Q=Yn(p);p=v;for(var te,de=v=0;de<E;de++){var ke=ye[p>>2],Ce=ye[p+4>>2];p+=8;var we=Q,He=ke,Ue=Ce,Xe=te,ve=se;if(0>Ue||0>Xe)throw new Oe(28);if(we.X===null)throw new Oe(8);if((we.flags&2097155)===0)throw new Oe(8);if((we.node.mode&61440)===16384)throw new Oe(31);if(!we.m.write)throw new Oe(28);we.seekable&&we.flags&1024&&Bl(we,0,2);var $e=typeof Xe<"u";if(!$e)Xe=we.position;else if(!we.seekable)throw new Oe(70);var Fe=we.m.write(we,ve,He,Ue,Xe,void 0);$e||(we.position+=Fe);var St=Fe;if(0>St){var At=-1;break e}v+=St,typeof te<"u"&&(te+=St)}At=v}return ye[O>>2]=At,0}catch(qe){if(typeof vr>"u"||qe.name!=="ErrnoError")throw qe;return qe.aa}},strftime_l:(p,v,E,O)=>sk(p,v,E,O)};(function(){function p(E){if(W=E=E.exports,B=W.memory,ie(),le=W.__indirect_function_table,Se.unshift(W.__wasm_call_ctors),P--,f.monitorRunDependencies&&f.monitorRunDependencies(P),P==0&&Y){var O=Y;Y=null,O()}return E}var v={env:x_,wasi_snapshot_preview1:x_};if(P++,f.monitorRunDependencies&&f.monitorRunDependencies(P),f.instantiateWasm)try{return f.instantiateWasm(v,p)}catch(E){z("Module.instantiateWasm callback failed with error: "+E),g(E)}return fe(v,function(E){p(E.instance)}).catch(g),{}})();var Ro=p=>(Ro=W.free)(p),Ch=p=>(Ch=W.malloc)(p),P_=()=>(P_=W.__errno_location)(),I_=f._ma_device__on_notification_unlocked=p=>(I_=f._ma_device__on_notification_unlocked=W.ma_device__on_notification_unlocked)(p);f._ma_malloc_emscripten=(p,v)=>(f._ma_malloc_emscripten=W.ma_malloc_emscripten)(p,v),f._ma_free_emscripten=(p,v)=>(f._ma_free_emscripten=W.ma_free_emscripten)(p,v);var L_=f._ma_device_process_pcm_frames_capture__webaudio=(p,v,E)=>(L_=f._ma_device_process_pcm_frames_capture__webaudio=W.ma_device_process_pcm_frames_capture__webaudio)(p,v,E),O_=f._ma_device_process_pcm_frames_playback__webaudio=(p,v,E)=>(O_=f._ma_device_process_pcm_frames_playback__webaudio=W.ma_device_process_pcm_frames_playback__webaudio)(p,v,E),M_=p=>(M_=W.__getTypeName)(p);f.__embind_initialize_bindings=()=>(f.__embind_initialize_bindings=W._embind_initialize_bindings)(),f.dynCall_iiji=(p,v,E,O,Q)=>(f.dynCall_iiji=W.dynCall_iiji)(p,v,E,O,Q),f.dynCall_jiji=(p,v,E,O,Q)=>(f.dynCall_jiji=W.dynCall_jiji)(p,v,E,O,Q),f.dynCall_iiiji=(p,v,E,O,Q,te)=>(f.dynCall_iiiji=W.dynCall_iiiji)(p,v,E,O,Q,te),f.dynCall_iij=(p,v,E,O)=>(f.dynCall_iij=W.dynCall_iij)(p,v,E,O),f.dynCall_jii=(p,v,E)=>(f.dynCall_jii=W.dynCall_jii)(p,v,E),f.dynCall_viijii=(p,v,E,O,Q,te,de)=>(f.dynCall_viijii=W.dynCall_viijii)(p,v,E,O,Q,te,de),f.dynCall_iiiiij=(p,v,E,O,Q,te,de)=>(f.dynCall_iiiiij=W.dynCall_iiiiij)(p,v,E,O,Q,te,de),f.dynCall_iiiiijj=(p,v,E,O,Q,te,de,ke,Ce)=>(f.dynCall_iiiiijj=W.dynCall_iiiiijj)(p,v,E,O,Q,te,de,ke,Ce),f.dynCall_iiiiiijj=(p,v,E,O,Q,te,de,ke,Ce,we)=>(f.dynCall_iiiiiijj=W.dynCall_iiiiiijj)(p,v,E,O,Q,te,de,ke,Ce,we);var Jc;Y=function p(){Jc||F_(),Jc||(Y=p)};function F_(){function p(){if(!Jc&&(Jc=!0,f.calledRun=!0,!oe)){if(f.noFSInit||ni||(ni=!0,ns(),f.stdin=f.stdin,f.stdout=f.stdout,f.stderr=f.stderr,f.stdin?Hi("stdin",f.stdin):Sn("/dev/tty","/dev/stdin"),f.stdout?Hi("stdout",null,f.stdout):Sn("/dev/tty","/dev/stdout"),f.stderr?Hi("stderr",null,f.stderr):Sn("/dev/tty1","/dev/stderr"),ts("/dev/stdin",0),ts("/dev/stdout",1),ts("/dev/stderr",1)),it=!1,T(Se),_(f),f.onRuntimeInitialized&&f.onRuntimeInitialized(),f.postRun)for(typeof f.postRun=="function"&&(f.postRun=[f.postRun]);f.postRun.length;){var v=f.postRun.shift();Ie.unshift(v)}T(Ie)}}if(!(0<P)){if(f.preRun)for(typeof f.preRun=="function"&&(f.preRun=[f.preRun]);f.preRun.length;)j();T(he),0<P||(f.setStatus?(f.setStatus("Running..."),setTimeout(function(){setTimeout(function(){f.setStatus("")},1),p()},1)):p())}}if(f.preInit)for(typeof f.preInit=="function"&&(f.preInit=[f.preInit]);0<f.preInit.length;)f.preInit.pop()();return F_(),d.ready}})();const h=c},s=>{s.exports=JSON.parse(`{"name":"@rive-app/canvas","version":"2.30.4","description":"Rive's canvas based web api.","main":"rive.js","homepage":"https://rive.app","repository":{"type":"git","url":"https://github.com/rive-app/rive-wasm/tree/master/js"},"keywords":["rive","animation"],"author":"Rive","contributors":["Luigi Rosso <luigi@rive.app> (https://rive.app)","Maxwell Talbot <max@rive.app> (https://rive.app)","Arthur Vivian <arthur@rive.app> (https://rive.app)","Umberto Sonnino <umberto@rive.app> (https://rive.app)","Matthew Sullivan <matt.j.sullivan@gmail.com> (mailto:matt.j.sullivan@gmail.com)"],"license":"MIT","files":["rive.js","rive.js.map","rive.wasm","rive_fallback.wasm","rive.d.ts","rive_advanced.mjs.d.ts"],"typings":"rive.d.ts","dependencies":{},"browser":{"fs":false,"path":false}}`)},(s,a,u)=>{u.r(a),u.d(a,{Animation:()=>c.Animation});var c=u(4)},(s,a,u)=>{u.r(a),u.d(a,{Animation:()=>c});var c=function(){function h(l,d,f,_){this.animation=l,this.artboard=d,this.playing=_,this.loopCount=0,this.scrubTo=null,this.instance=new f.LinearAnimationInstance(l,d)}return Object.defineProperty(h.prototype,"name",{get:function(){return this.animation.name},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"time",{get:function(){return this.instance.time},set:function(l){this.instance.time=l},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"loopValue",{get:function(){return this.animation.loopValue},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"needsScrub",{get:function(){return this.scrubTo!==null},enumerable:!1,configurable:!0}),h.prototype.advance=function(l){this.scrubTo===null?this.instance.advance(l):(this.instance.time=0,this.instance.advance(this.scrubTo),this.scrubTo=null)},h.prototype.apply=function(l){this.instance.apply(l)},h.prototype.cleanup=function(){this.instance.delete()},h}()},(s,a,u)=>{u.r(a),u.d(a,{AudioAssetWrapper:()=>l.AudioAssetWrapper,AudioWrapper:()=>l.AudioWrapper,BLANK_URL:()=>h.BLANK_URL,CustomFileAssetLoaderWrapper:()=>l.CustomFileAssetLoaderWrapper,FileAssetWrapper:()=>l.FileAssetWrapper,Finalizable:()=>l.Finalizable,FontAssetWrapper:()=>l.FontAssetWrapper,FontWrapper:()=>l.FontWrapper,ImageAssetWrapper:()=>l.ImageAssetWrapper,ImageWrapper:()=>l.ImageWrapper,finalizationRegistry:()=>l.finalizationRegistry,registerTouchInteractions:()=>c.registerTouchInteractions,sanitizeUrl:()=>h.sanitizeUrl});var c=u(6),h=u(7),l=u(8)},(s,a,u)=>{u.r(a),u.d(a,{registerTouchInteractions:()=>l});var c=void 0,h=function(d,f){var _,g;return["touchstart","touchmove"].indexOf(d.type)>-1&&(!((_=d.touches)===null||_===void 0)&&_.length)?(f||d.preventDefault(),{clientX:d.touches[0].clientX,clientY:d.touches[0].clientY}):d.type==="touchend"&&(!((g=d.changedTouches)===null||g===void 0)&&g.length)?{clientX:d.changedTouches[0].clientX,clientY:d.changedTouches[0].clientY}:{clientX:d.clientX,clientY:d.clientY}},l=function(d){var f=d.canvas,_=d.artboard,g=d.stateMachines,b=g===void 0?[]:g,y=d.renderer,w=d.rive,A=d.fit,k=d.alignment,R=d.isTouchScrollEnabled,x=R===void 0?!1:R,L=d.layoutScaleFactor,F=L===void 0?1:L;if(!f||!b.length||!y||!w||!_||typeof window>"u")return null;var H=null,V=!1,ne=function(M){if(V&&M instanceof MouseEvent){M.type=="mouseup"&&(V=!1);return}V=x&&M.type==="touchend"&&H==="touchstart",H=M.type;var z=M.currentTarget.getBoundingClientRect(),K=h(M,x),B=K.clientX,W=K.clientY;if(!(!B&&!W)){var oe=B-z.left,se=W-z.top,q=w.computeAlignment(A,k,{minX:0,minY:0,maxX:z.width,maxY:z.height},_.bounds,F),pe=new w.Mat2D;q.invert(pe);var Te=new w.Vec2D(oe,se),_e=w.mapXY(pe,Te),ye=_e.x(),Ae=_e.y();switch(_e.delete(),pe.delete(),Te.delete(),q.delete(),M.type){case"mouseout":for(var be=0,ie=b;be<ie.length;be++){var le=ie[be];le.pointerMove(ye,Ae)}break;case"touchmove":case"mouseover":case"mousemove":{for(var he=0,Se=b;he<Se.length;he++){var le=Se[he];le.pointerMove(ye,Ae)}break}case"touchstart":case"mousedown":{for(var Ie=0,j=b;Ie<j.length;Ie++){var le=j[Ie];le.pointerDown(ye,Ae)}break}case"touchend":case"mouseup":{for(var P=0,Y=b;P<Y.length;P++){var le=Y[P];le.pointerUp(ye,Ae)}break}}}},$=ne.bind(c);return f.addEventListener("mouseover",$),f.addEventListener("mouseout",$),f.addEventListener("mousemove",$),f.addEventListener("mousedown",$),f.addEventListener("mouseup",$),f.addEventListener("touchmove",$,{passive:x}),f.addEventListener("touchstart",$,{passive:x}),f.addEventListener("touchend",$),function(){f.removeEventListener("mouseover",$),f.removeEventListener("mouseout",$),f.removeEventListener("mousemove",$),f.removeEventListener("mousedown",$),f.removeEventListener("mouseup",$),f.removeEventListener("touchmove",$),f.removeEventListener("touchstart",$),f.removeEventListener("touchend",$)}}},(s,a,u)=>{u.r(a),u.d(a,{BLANK_URL:()=>g,sanitizeUrl:()=>w});var c=/^([^\w]*)(javascript|data|vbscript)/im,h=/&#(\w+)(^\w|;)?/g,l=/&(newline|tab);/gi,d=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim,f=/^.+(:|:)/gim,_=[".","/"],g="about:blank";function b(A){return _.indexOf(A[0])>-1}function y(A){var k=A.replace(d,"");return k.replace(h,function(R,x){return String.fromCharCode(x)})}function w(A){if(!A)return g;var k=y(A).replace(l,"").replace(d,"").trim();if(!k)return g;if(b(k))return k;var R=k.match(f);if(!R)return k;var x=R[0];return c.test(x)?g:k}},(s,a,u)=>{u.r(a),u.d(a,{AudioAssetWrapper:()=>y,AudioWrapper:()=>d,CustomFileAssetLoaderWrapper:()=>_,FileAssetWrapper:()=>g,Finalizable:()=>h,FontAssetWrapper:()=>w,FontWrapper:()=>f,ImageAssetWrapper:()=>b,ImageWrapper:()=>l,finalizationRegistry:()=>R});var c=function(){var x=function(L,F){return x=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(H,V){H.__proto__=V}||function(H,V){for(var ne in V)Object.prototype.hasOwnProperty.call(V,ne)&&(H[ne]=V[ne])},x(L,F)};return function(L,F){if(typeof F!="function"&&F!==null)throw new TypeError("Class extends value "+String(F)+" is not a constructor or null");x(L,F);function H(){this.constructor=L}L.prototype=F===null?Object.create(F):(H.prototype=F.prototype,new H)}}(),h=function(){function x(){this.selfUnref=!1}return x}(),l=function(x){c(L,x);function L(F){var H=x.call(this)||this;return H._nativeImage=F,H}return Object.defineProperty(L.prototype,"nativeImage",{get:function(){return this._nativeImage},enumerable:!1,configurable:!0}),L.prototype.unref=function(){this.selfUnref&&this._nativeImage.unref()},L}(h),d=function(x){c(L,x);function L(F){var H=x.call(this)||this;return H._nativeAudio=F,H}return Object.defineProperty(L.prototype,"nativeAudio",{get:function(){return this._nativeAudio},enumerable:!1,configurable:!0}),L.prototype.unref=function(){this.selfUnref&&this._nativeAudio.unref()},L}(h),f=function(x){c(L,x);function L(F){var H=x.call(this)||this;return H._nativeFont=F,H}return Object.defineProperty(L.prototype,"nativeFont",{get:function(){return this._nativeFont},enumerable:!1,configurable:!0}),L.prototype.unref=function(){this.selfUnref&&this._nativeFont.unref()},L}(h),_=function(){function x(L,F){this._assetLoaderCallback=F,this.assetLoader=new L.CustomFileAssetLoader({loadContents:this.loadContents.bind(this)})}return x.prototype.loadContents=function(L,F){var H;return L.isImage?H=new b(L):L.isAudio?H=new y(L):L.isFont&&(H=new w(L)),this._assetLoaderCallback(H,F)},x}(),g=function(){function x(L){this._nativeFileAsset=L}return x.prototype.decode=function(L){this._nativeFileAsset.decode(L)},Object.defineProperty(x.prototype,"name",{get:function(){return this._nativeFileAsset.name},enumerable:!1,configurable:!0}),Object.defineProperty(x.prototype,"fileExtension",{get:function(){return this._nativeFileAsset.fileExtension},enumerable:!1,configurable:!0}),Object.defineProperty(x.prototype,"uniqueFilename",{get:function(){return this._nativeFileAsset.uniqueFilename},enumerable:!1,configurable:!0}),Object.defineProperty(x.prototype,"isAudio",{get:function(){return this._nativeFileAsset.isAudio},enumerable:!1,configurable:!0}),Object.defineProperty(x.prototype,"isImage",{get:function(){return this._nativeFileAsset.isImage},enumerable:!1,configurable:!0}),Object.defineProperty(x.prototype,"isFont",{get:function(){return this._nativeFileAsset.isFont},enumerable:!1,configurable:!0}),Object.defineProperty(x.prototype,"cdnUuid",{get:function(){return this._nativeFileAsset.cdnUuid},enumerable:!1,configurable:!0}),Object.defineProperty(x.prototype,"nativeFileAsset",{get:function(){return this._nativeFileAsset},enumerable:!1,configurable:!0}),x}(),b=function(x){c(L,x);function L(){return x!==null&&x.apply(this,arguments)||this}return L.prototype.setRenderImage=function(F){this._nativeFileAsset.setRenderImage(F.nativeImage)},L}(g),y=function(x){c(L,x);function L(){return x!==null&&x.apply(this,arguments)||this}return L.prototype.setAudioSource=function(F){this._nativeFileAsset.setAudioSource(F.nativeAudio)},L}(g),w=function(x){c(L,x);function L(){return x!==null&&x.apply(this,arguments)||this}return L.prototype.setFont=function(F){this._nativeFileAsset.setFont(F.nativeFont)},L}(g),A=function(){function x(L){}return x.prototype.register=function(L){L.selfUnref=!0},x.prototype.unregister=function(L){},x}(),k=typeof FinalizationRegistry<"u"?FinalizationRegistry:A,R=new k(function(x){x.unref()})}],r={};function i(s){var a=r[s];if(a!==void 0)return a.exports;var u=r[s]={exports:{}};return n[s](u,u.exports,i),u.exports}i.d=(s,a)=>{for(var u in a)i.o(a,u)&&!i.o(s,u)&&Object.defineProperty(s,u,{enumerable:!0,get:a[u]})},i.o=(s,a)=>Object.prototype.hasOwnProperty.call(s,a),i.r=s=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(s,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(s,"__esModule",{value:!0})};var o={};return(()=>{i.r(o),i.d(o,{Alignment:()=>w,DataEnum:()=>Ae,EventType:()=>ne,Fit:()=>y,Layout:()=>A,LoopType:()=>$,Rive:()=>_e,RiveEventType:()=>L,RiveFile:()=>Te,RuntimeLoader:()=>k,StateMachineInput:()=>x,StateMachineInputType:()=>R,Testing:()=>D,ViewModel:()=>ye,ViewModelInstance:()=>ie,ViewModelInstanceArtboard:()=>C,ViewModelInstanceAssetImage:()=>X,ViewModelInstanceBoolean:()=>Ie,ViewModelInstanceColor:()=>ee,ViewModelInstanceEnum:()=>P,ViewModelInstanceList:()=>Y,ViewModelInstanceNumber:()=>Se,ViewModelInstanceString:()=>he,ViewModelInstanceTrigger:()=>j,ViewModelInstanceValue:()=>le,decodeAudio:()=>Z,decodeFont:()=>ue,decodeImage:()=>fe});var s=i(1),a=i(2),u=i(3),c=i(5),h=function(){var S=function(m,T){return S=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(N,re){N.__proto__=re}||function(N,re){for(var ce in re)Object.prototype.hasOwnProperty.call(re,ce)&&(N[ce]=re[ce])},S(m,T)};return function(m,T){if(typeof T!="function"&&T!==null)throw new TypeError("Class extends value "+String(T)+" is not a constructor or null");S(m,T);function N(){this.constructor=m}m.prototype=T===null?Object.create(T):(N.prototype=T.prototype,new N)}}(),l=function(){return l=Object.assign||function(S){for(var m,T=1,N=arguments.length;T<N;T++){m=arguments[T];for(var re in m)Object.prototype.hasOwnProperty.call(m,re)&&(S[re]=m[re])}return S},l.apply(this,arguments)},d=function(S,m,T,N){function re(ce){return ce instanceof T?ce:new T(function(Ee){Ee(ce)})}return new(T||(T=Promise))(function(ce,Ee){function De(Qe){try{Be(N.next(Qe))}catch(tt){Ee(tt)}}function Pe(Qe){try{Be(N.throw(Qe))}catch(tt){Ee(tt)}}function Be(Qe){Qe.done?ce(Qe.value):re(Qe.value).then(De,Pe)}Be((N=N.apply(S,m||[])).next())})},f=function(S,m){var T={label:0,sent:function(){if(ce[0]&1)throw ce[1];return ce[1]},trys:[],ops:[]},N,re,ce,Ee=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return Ee.next=De(0),Ee.throw=De(1),Ee.return=De(2),typeof Symbol=="function"&&(Ee[Symbol.iterator]=function(){return this}),Ee;function De(Be){return function(Qe){return Pe([Be,Qe])}}function Pe(Be){if(N)throw new TypeError("Generator is already executing.");for(;Ee&&(Ee=0,Be[0]&&(T=0)),T;)try{if(N=1,re&&(ce=Be[0]&2?re.return:Be[0]?re.throw||((ce=re.return)&&ce.call(re),0):re.next)&&!(ce=ce.call(re,Be[1])).done)return ce;switch(re=0,ce&&(Be=[Be[0]&2,ce.value]),Be[0]){case 0:case 1:ce=Be;break;case 4:return T.label++,{value:Be[1],done:!1};case 5:T.label++,re=Be[1],Be=[0];continue;case 7:Be=T.ops.pop(),T.trys.pop();continue;default:if(ce=T.trys,!(ce=ce.length>0&&ce[ce.length-1])&&(Be[0]===6||Be[0]===2)){T=0;continue}if(Be[0]===3&&(!ce||Be[1]>ce[0]&&Be[1]<ce[3])){T.label=Be[1];break}if(Be[0]===6&&T.label<ce[1]){T.label=ce[1],ce=Be;break}if(ce&&T.label<ce[2]){T.label=ce[2],T.ops.push(Be);break}ce[2]&&T.ops.pop(),T.trys.pop();continue}Be=m.call(S,T)}catch(Qe){Be=[6,Qe],re=0}finally{N=ce=0}if(Be[0]&5)throw Be[1];return{value:Be[0]?Be[1]:void 0,done:!0}}},_=function(S,m,T){if(T||arguments.length===2)for(var N=0,re=m.length,ce;N<re;N++)(ce||!(N in m))&&(ce||(ce=Array.prototype.slice.call(m,0,N)),ce[N]=m[N]);return S.concat(ce||Array.prototype.slice.call(m))},g=function(S){h(m,S);function m(){var T=S!==null&&S.apply(this,arguments)||this;return T.isHandledError=!0,T}return m}(Error),b=function(S){return S&&S.isHandledError?S.message:"Problem loading file; may be corrupt!"},y;(function(S){S.Cover="cover",S.Contain="contain",S.Fill="fill",S.FitWidth="fitWidth",S.FitHeight="fitHeight",S.None="none",S.ScaleDown="scaleDown",S.Layout="layout"})(y||(y={}));var w;(function(S){S.Center="center",S.TopLeft="topLeft",S.TopCenter="topCenter",S.TopRight="topRight",S.CenterLeft="centerLeft",S.CenterRight="centerRight",S.BottomLeft="bottomLeft",S.BottomCenter="bottomCenter",S.BottomRight="bottomRight"})(w||(w={}));var A=function(){function S(m){var T,N,re,ce,Ee,De,Pe;this.fit=(T=m==null?void 0:m.fit)!==null&&T!==void 0?T:y.Contain,this.alignment=(N=m==null?void 0:m.alignment)!==null&&N!==void 0?N:w.Center,this.layoutScaleFactor=(re=m==null?void 0:m.layoutScaleFactor)!==null&&re!==void 0?re:1,this.minX=(ce=m==null?void 0:m.minX)!==null&&ce!==void 0?ce:0,this.minY=(Ee=m==null?void 0:m.minY)!==null&&Ee!==void 0?Ee:0,this.maxX=(De=m==null?void 0:m.maxX)!==null&&De!==void 0?De:0,this.maxY=(Pe=m==null?void 0:m.maxY)!==null&&Pe!==void 0?Pe:0}return S.new=function(m){var T=m.fit,N=m.alignment,re=m.minX,ce=m.minY,Ee=m.maxX,De=m.maxY;return console.warn("This function is deprecated: please use `new Layout({})` instead"),new S({fit:T,alignment:N,minX:re,minY:ce,maxX:Ee,maxY:De})},S.prototype.copyWith=function(m){var T=m.fit,N=m.alignment,re=m.layoutScaleFactor,ce=m.minX,Ee=m.minY,De=m.maxX,Pe=m.maxY;return new S({fit:T??this.fit,alignment:N??this.alignment,layoutScaleFactor:re??this.layoutScaleFactor,minX:ce??this.minX,minY:Ee??this.minY,maxX:De??this.maxX,maxY:Pe??this.maxY})},S.prototype.runtimeFit=function(m){if(this.cachedRuntimeFit)return this.cachedRuntimeFit;var T;return this.fit===y.Cover?T=m.Fit.cover:this.fit===y.Contain?T=m.Fit.contain:this.fit===y.Fill?T=m.Fit.fill:this.fit===y.FitWidth?T=m.Fit.fitWidth:this.fit===y.FitHeight?T=m.Fit.fitHeight:this.fit===y.ScaleDown?T=m.Fit.scaleDown:this.fit===y.Layout?T=m.Fit.layout:T=m.Fit.none,this.cachedRuntimeFit=T,T},S.prototype.runtimeAlignment=function(m){if(this.cachedRuntimeAlignment)return this.cachedRuntimeAlignment;var T;return this.alignment===w.TopLeft?T=m.Alignment.topLeft:this.alignment===w.TopCenter?T=m.Alignment.topCenter:this.alignment===w.TopRight?T=m.Alignment.topRight:this.alignment===w.CenterLeft?T=m.Alignment.centerLeft:this.alignment===w.CenterRight?T=m.Alignment.centerRight:this.alignment===w.BottomLeft?T=m.Alignment.bottomLeft:this.alignment===w.BottomCenter?T=m.Alignment.bottomCenter:this.alignment===w.BottomRight?T=m.Alignment.bottomRight:T=m.Alignment.center,this.cachedRuntimeAlignment=T,T},S}(),k=function(){function S(){}return S.loadRuntime=function(){s.default({locateFile:function(){return S.wasmURL}}).then(function(m){var T;for(S.runtime=m;S.callBackQueue.length>0;)(T=S.callBackQueue.shift())===null||T===void 0||T(S.runtime)}).catch(function(m){var T={message:(m==null?void 0:m.message)||"Unknown error",type:(m==null?void 0:m.name)||"Error",wasmError:m instanceof WebAssembly.CompileError||m instanceof WebAssembly.RuntimeError,originalError:m},N="https://cdn.jsdelivr.net/npm/".concat(a.name,"@").concat(a.version,"/rive_fallback.wasm");if(S.wasmURL.toLowerCase()!==N)console.warn("Failed to load WASM from ".concat(S.wasmURL," (").concat(T.message,"), trying jsdelivr as a backup")),S.setWasmUrl(N),S.loadRuntime();else{var re=["Could not load Rive WASM file from ".concat(S.wasmURL," or ").concat(N,"."),"Possible reasons:","- Network connection is down","- WebAssembly is not supported in this environment","- The WASM file is corrupted or incompatible",`
Error details:`,"- Type: ".concat(T.type),"- Message: ".concat(T.message),"- WebAssembly-specific error: ".concat(T.wasmError),`
To resolve, you may need to:`,"1. Check your network connection","2. Set a new WASM source via RuntimeLoader.setWasmUrl()","3. Call RuntimeLoader.loadRuntime() again"].join(`
`);console.error(re)}})},S.getInstance=function(m){S.isLoading||(S.isLoading=!0,S.loadRuntime()),S.runtime?m(S.runtime):S.callBackQueue.push(m)},S.awaitInstance=function(){return new Promise(function(m){return S.getInstance(function(T){return m(T)})})},S.setWasmUrl=function(m){S.wasmURL=m},S.getWasmUrl=function(){return S.wasmURL},S.isLoading=!1,S.callBackQueue=[],S.wasmURL="https://unpkg.com/".concat(a.name,"@").concat(a.version,"/rive.wasm"),S}(),R;(function(S){S[S.Number=56]="Number",S[S.Trigger=58]="Trigger",S[S.Boolean=59]="Boolean"})(R||(R={}));var x=function(){function S(m,T){this.type=m,this.runtimeInput=T}return Object.defineProperty(S.prototype,"name",{get:function(){return this.runtimeInput.name},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"value",{get:function(){return this.runtimeInput.value},set:function(m){this.runtimeInput.value=m},enumerable:!1,configurable:!0}),S.prototype.fire=function(){this.type===R.Trigger&&this.runtimeInput.fire()},S.prototype.delete=function(){this.runtimeInput=null},S}(),L;(function(S){S[S.General=128]="General",S[S.OpenUrl=131]="OpenUrl"})(L||(L={}));var F=function(){function S(m){this.nativeArtboard=m}return S}(),H=function(){function S(m,T,N,re){this.stateMachine=m,this.playing=N,this.artboard=re,this.inputs=[],this.instance=new T.StateMachineInstance(m,re),this.initInputs(T)}return Object.defineProperty(S.prototype,"name",{get:function(){return this.stateMachine.name},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"statesChanged",{get:function(){for(var m=[],T=0;T<this.instance.stateChangedCount();T++)m.push(this.instance.stateChangedNameByIndex(T));return m},enumerable:!1,configurable:!0}),S.prototype.advance=function(m){this.instance.advance(m)},S.prototype.advanceAndApply=function(m){this.instance.advanceAndApply(m)},S.prototype.reportedEventCount=function(){return this.instance.reportedEventCount()},S.prototype.reportedEventAt=function(m){return this.instance.reportedEventAt(m)},S.prototype.initInputs=function(m){for(var T=0;T<this.instance.inputCount();T++){var N=this.instance.input(T);this.inputs.push(this.mapRuntimeInput(N,m))}},S.prototype.mapRuntimeInput=function(m,T){if(m.type===T.SMIInput.bool)return new x(R.Boolean,m.asBool());if(m.type===T.SMIInput.number)return new x(R.Number,m.asNumber());if(m.type===T.SMIInput.trigger)return new x(R.Trigger,m.asTrigger())},S.prototype.cleanup=function(){this.inputs.forEach(function(m){m.delete()}),this.inputs.length=0,this.instance.delete()},S.prototype.bindViewModelInstance=function(m){m.runtimeInstance!=null&&this.instance.bindViewModelInstance(m.runtimeInstance)},S}(),V=function(){function S(m,T,N,re,ce){re===void 0&&(re=[]),ce===void 0&&(ce=[]),this.runtime=m,this.artboard=T,this.eventManager=N,this.animations=re,this.stateMachines=ce}return S.prototype.add=function(m,T,N){if(N===void 0&&(N=!0),m=I(m),m.length===0)this.animations.forEach(function(mt){return mt.playing=T}),this.stateMachines.forEach(function(mt){return mt.playing=T});else for(var re=this.animations.map(function(mt){return mt.name}),ce=this.stateMachines.map(function(mt){return mt.name}),Ee=0;Ee<m.length;Ee++){var De=re.indexOf(m[Ee]),Pe=ce.indexOf(m[Ee]);if(De>=0||Pe>=0)De>=0?this.animations[De].playing=T:this.stateMachines[Pe].playing=T;else{var Be=this.artboard.animationByName(m[Ee]);if(Be){var Qe=new u.Animation(Be,this.artboard,this.runtime,T);Qe.advance(0),Qe.apply(1),this.animations.push(Qe)}else{var tt=this.artboard.stateMachineByName(m[Ee]);if(tt){var pt=new H(tt,this.runtime,T,this.artboard);this.stateMachines.push(pt)}}}}return N&&(T?this.eventManager.fire({type:ne.Play,data:this.playing}):this.eventManager.fire({type:ne.Pause,data:this.paused})),T?this.playing:this.paused},S.prototype.initLinearAnimations=function(m,T){for(var N=this.animations.map(function(Pe){return Pe.name}),re=0;re<m.length;re++){var ce=N.indexOf(m[re]);if(ce>=0)this.animations[ce].playing=T;else{var Ee=this.artboard.animationByName(m[re]);if(Ee){var De=new u.Animation(Ee,this.artboard,this.runtime,T);De.advance(0),De.apply(1),this.animations.push(De)}else console.error("Animation with name ".concat(m[re]," not found."))}}},S.prototype.initStateMachines=function(m,T){for(var N=this.stateMachines.map(function(Pe){return Pe.name}),re=0;re<m.length;re++){var ce=N.indexOf(m[re]);if(ce>=0)this.stateMachines[ce].playing=T;else{var Ee=this.artboard.stateMachineByName(m[re]);if(Ee){var De=new H(Ee,this.runtime,T,this.artboard);this.stateMachines.push(De),T||De.advanceAndApply(0)}else console.warn("State Machine with name ".concat(m[re]," not found.")),this.initLinearAnimations([m[re]],T)}}},S.prototype.play=function(m){return this.add(m,!0)},S.prototype.pause=function(m){return this.add(m,!1)},S.prototype.scrub=function(m,T){var N=this.animations.filter(function(re){return m.includes(re.name)});return N.forEach(function(re){return re.scrubTo=T}),N.map(function(re){return re.name})},Object.defineProperty(S.prototype,"playing",{get:function(){return this.animations.filter(function(m){return m.playing}).map(function(m){return m.name}).concat(this.stateMachines.filter(function(m){return m.playing}).map(function(m){return m.name}))},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"paused",{get:function(){return this.animations.filter(function(m){return!m.playing}).map(function(m){return m.name}).concat(this.stateMachines.filter(function(m){return!m.playing}).map(function(m){return m.name}))},enumerable:!1,configurable:!0}),S.prototype.stop=function(m){var T=this;m=I(m);var N=[];if(m.length===0)N=this.animations.map(function(Ee){return Ee.name}).concat(this.stateMachines.map(function(Ee){return Ee.name})),this.animations.forEach(function(Ee){return Ee.cleanup()}),this.stateMachines.forEach(function(Ee){return Ee.cleanup()}),this.animations.splice(0,this.animations.length),this.stateMachines.splice(0,this.stateMachines.length);else{var re=this.animations.filter(function(Ee){return m.includes(Ee.name)});re.forEach(function(Ee){Ee.cleanup(),T.animations.splice(T.animations.indexOf(Ee),1)});var ce=this.stateMachines.filter(function(Ee){return m.includes(Ee.name)});ce.forEach(function(Ee){Ee.cleanup(),T.stateMachines.splice(T.stateMachines.indexOf(Ee),1)}),N=re.map(function(Ee){return Ee.name}).concat(ce.map(function(Ee){return Ee.name}))}return this.eventManager.fire({type:ne.Stop,data:N}),N},Object.defineProperty(S.prototype,"isPlaying",{get:function(){return this.animations.reduce(function(m,T){return m||T.playing},!1)||this.stateMachines.reduce(function(m,T){return m||T.playing},!1)},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"isPaused",{get:function(){return!this.isPlaying&&(this.animations.length>0||this.stateMachines.length>0)},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"isStopped",{get:function(){return this.animations.length===0&&this.stateMachines.length===0},enumerable:!1,configurable:!0}),S.prototype.atLeastOne=function(m,T){T===void 0&&(T=!0);var N;return this.animations.length===0&&this.stateMachines.length===0&&(this.artboard.animationCount()>0?this.add([N=this.artboard.animationByIndex(0).name],m,T):this.artboard.stateMachineCount()>0&&this.add([N=this.artboard.stateMachineByIndex(0).name],m,T)),N},S.prototype.handleLooping=function(){for(var m=0,T=this.animations.filter(function(re){return re.playing});m<T.length;m++){var N=T[m];N.loopValue===0&&N.loopCount?(N.loopCount=0,this.stop(N.name)):N.loopValue===1&&N.loopCount?(this.eventManager.fire({type:ne.Loop,data:{animation:N.name,type:$.Loop}}),N.loopCount=0):N.loopValue===2&&N.loopCount>1&&(this.eventManager.fire({type:ne.Loop,data:{animation:N.name,type:$.PingPong}}),N.loopCount=0)}},S.prototype.handleStateChanges=function(){for(var m=[],T=0,N=this.stateMachines.filter(function(ce){return ce.playing});T<N.length;T++){var re=N[T];m.push.apply(m,re.statesChanged)}m.length>0&&this.eventManager.fire({type:ne.StateChange,data:m})},S.prototype.handleAdvancing=function(m){this.eventManager.fire({type:ne.Advance,data:m})},S}(),ne;(function(S){S.Load="load",S.LoadError="loaderror",S.Play="play",S.Pause="pause",S.Stop="stop",S.Loop="loop",S.Draw="draw",S.Advance="advance",S.StateChange="statechange",S.RiveEvent="riveevent",S.AudioStatusChange="audiostatuschange"})(ne||(ne={}));var $;(function(S){S.OneShot="oneshot",S.Loop="loop",S.PingPong="pingpong"})($||($={}));var M=function(){function S(m){m===void 0&&(m=[]),this.listeners=m}return S.prototype.getListeners=function(m){return this.listeners.filter(function(T){return T.type===m})},S.prototype.add=function(m){this.listeners.includes(m)||this.listeners.push(m)},S.prototype.remove=function(m){for(var T=0;T<this.listeners.length;T++){var N=this.listeners[T];if(N.type===m.type&&N.callback===m.callback){this.listeners.splice(T,1);break}}},S.prototype.removeAll=function(m){var T=this;m?this.listeners.filter(function(N){return N.type===m}).forEach(function(N){return T.remove(N)}):this.listeners.splice(0,this.listeners.length)},S.prototype.fire=function(m){var T=this.getListeners(m.type);T.forEach(function(N){return N.callback(m)})},S}(),z=function(){function S(m){this.eventManager=m,this.queue=[]}return S.prototype.add=function(m){this.queue.push(m)},S.prototype.process=function(){for(;this.queue.length>0;){var m=this.queue.shift();m!=null&&m.action&&m.action(),m!=null&&m.event&&this.eventManager.fire(m.event)}},S}(),K;(function(S){S[S.AVAILABLE=0]="AVAILABLE",S[S.UNAVAILABLE=1]="UNAVAILABLE"})(K||(K={}));var B=function(S){h(m,S);function m(){var T=S!==null&&S.apply(this,arguments)||this;return T._started=!1,T._enabled=!1,T._status=K.UNAVAILABLE,T}return m.prototype.delay=function(T){return d(this,void 0,void 0,function(){return f(this,function(N){return[2,new Promise(function(re){return setTimeout(re,T)})]})})},m.prototype.timeout=function(){return d(this,void 0,void 0,function(){return f(this,function(T){return[2,new Promise(function(N,re){return setTimeout(re,50)})]})})},m.prototype.reportToListeners=function(){this.fire({type:ne.AudioStatusChange}),this.removeAll()},m.prototype.enableAudio=function(){return d(this,void 0,void 0,function(){return f(this,function(T){return this._enabled||(this._enabled=!0,this._status=K.AVAILABLE,this.reportToListeners()),[2]})})},m.prototype.testAudio=function(){return d(this,void 0,void 0,function(){return f(this,function(T){switch(T.label){case 0:if(!(this._status===K.UNAVAILABLE&&this._audioContext!==null))return[3,4];T.label=1;case 1:return T.trys.push([1,3,,4]),[4,Promise.race([this._audioContext.resume(),this.timeout()])];case 2:return T.sent(),this.enableAudio(),[3,4];case 3:return T.sent(),[3,4];case 4:return[2]}})})},m.prototype._establishAudio=function(){return d(this,void 0,void 0,function(){return f(this,function(T){switch(T.label){case 0:return this._started?[3,5]:(this._started=!0,typeof window>"u"?(this.enableAudio(),[3,5]):[3,1]);case 1:this._audioContext=new AudioContext,this.listenForUserAction(),T.label=2;case 2:return this._status!==K.UNAVAILABLE?[3,5]:[4,this.testAudio()];case 3:return T.sent(),[4,this.delay(1e3)];case 4:return T.sent(),[3,2];case 5:return[2]}})})},m.prototype.listenForUserAction=function(){var T=this,N=function(){return d(T,void 0,void 0,function(){return f(this,function(re){return this.enableAudio(),[2]})})};document.addEventListener("pointerdown",N,{once:!0})},m.prototype.establishAudio=function(){return d(this,void 0,void 0,function(){return f(this,function(T){return this._establishAudio(),[2]})})},Object.defineProperty(m.prototype,"systemVolume",{get:function(){return this._status===K.UNAVAILABLE?(this.testAudio(),0):1},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"status",{get:function(){return this._status},enumerable:!1,configurable:!0}),m}(M),W=new B,oe=function(){function S(){}return S.prototype.observe=function(){},S.prototype.unobserve=function(){},S.prototype.disconnect=function(){},S}(),se=globalThis.ResizeObserver||oe,q=function(){function S(){var m=this;this._elementsMap=new Map,this._onObservedEntry=function(T){var N=m._elementsMap.get(T.target);N!==null?N.onResize(T.target.clientWidth==0||T.target.clientHeight==0):m._resizeObserver.unobserve(T.target)},this._onObserved=function(T){T.forEach(m._onObservedEntry)},this._resizeObserver=new se(this._onObserved)}return S.prototype.add=function(m,T){var N={onResize:T,element:m};return this._elementsMap.set(m,N),this._resizeObserver.observe(m),N},S.prototype.remove=function(m){this._resizeObserver.unobserve(m.element),this._elementsMap.delete(m.element)},S}(),pe=new q,Te=function(){function S(m){this.enableRiveAssetCDN=!0,this.referenceCount=0,this.destroyed=!1,this.src=m.src,this.buffer=m.buffer,m.assetLoader&&(this.assetLoader=m.assetLoader),this.enableRiveAssetCDN=typeof m.enableRiveAssetCDN=="boolean"?m.enableRiveAssetCDN:!0,this.eventManager=new M,m.onLoad&&this.on(ne.Load,m.onLoad),m.onLoadError&&this.on(ne.LoadError,m.onLoadError)}return S.prototype.initData=function(){return d(this,void 0,void 0,function(){var m,T,N,re,ce;return f(this,function(Ee){switch(Ee.label){case 0:return this.src?(m=this,[4,G(this.src)]):[3,2];case 1:m.buffer=Ee.sent(),Ee.label=2;case 2:return this.destroyed?[2]:(this.assetLoader&&(N=new c.CustomFileAssetLoaderWrapper(this.runtime,this.assetLoader),T=N.assetLoader),re=this,[4,this.runtime.load(new Uint8Array(this.buffer),T,this.enableRiveAssetCDN)]);case 3:return re.file=Ee.sent(),this.destroyed?((ce=this.file)===null||ce===void 0||ce.delete(),this.file=null,[2]):(this.file!==null?this.eventManager.fire({type:ne.Load,data:this}):this.fireLoadError(S.fileLoadErrorMessage),[2])}})})},S.prototype.init=function(){return d(this,void 0,void 0,function(){var m,T;return f(this,function(N){switch(N.label){case 0:if(!this.src&&!this.buffer)return this.fireLoadError(S.missingErrorMessage),[2];N.label=1;case 1:return N.trys.push([1,4,,5]),m=this,[4,k.awaitInstance()];case 2:return m.runtime=N.sent(),this.destroyed?[2]:[4,this.initData()];case 3:return N.sent(),[3,5];case 4:return T=N.sent(),this.fireLoadError(T instanceof Error?T.message:S.fileLoadErrorMessage),[3,5];case 5:return[2]}})})},S.prototype.fireLoadError=function(m){throw this.eventManager.fire({type:ne.LoadError,data:m}),new Error(m)},S.prototype.on=function(m,T){this.eventManager.add({type:m,callback:T})},S.prototype.off=function(m,T){this.eventManager.remove({type:m,callback:T})},S.prototype.cleanup=function(){var m;this.referenceCount-=1,this.referenceCount<=0&&(this.removeAllRiveEventListeners(),(m=this.file)===null||m===void 0||m.delete(),this.file=null,this.destroyed=!0)},S.prototype.removeAllRiveEventListeners=function(m){this.eventManager.removeAll(m)},S.prototype.getInstance=function(){if(this.file!==null)return this.referenceCount+=1,this.file},S.prototype.destroyIfUnused=function(){this.referenceCount<=0&&this.cleanup()},S.prototype.getArtboard=function(m){var T=this.file.artboardByName(m);return T!=null?new F(T):null},S.missingErrorMessage="Rive source file or data buffer required",S.fileLoadErrorMessage="The file failed to load",S}(),_e=function(){function S(m){var T=this,N;this.loaded=!1,this.destroyed=!1,this._observed=null,this.readyForPlaying=!1,this.artboard=null,this.eventCleanup=null,this.shouldDisableRiveListeners=!1,this.automaticallyHandleEvents=!1,this.enableRiveAssetCDN=!0,this._volume=1,this._artboardWidth=void 0,this._artboardHeight=void 0,this._devicePixelRatioUsed=1,this._hasZeroSize=!1,this._audioEventListener=null,this._boundDraw=null,this._viewModelInstance=null,this._dataEnums=null,this.durations=[],this.frameTimes=[],this.frameCount=0,this.isTouchScrollEnabled=!1,this.onCanvasResize=function(re){var ce=T._hasZeroSize!==re;T._hasZeroSize=re,re?(!T._layout.maxX||!T._layout.maxY)&&T.resizeToCanvas():ce&&T.resizeDrawingSurfaceToCanvas()},this.renderSecondTimer=0,this._boundDraw=this.draw.bind(this),this.canvas=m.canvas,m.canvas.constructor===HTMLCanvasElement&&(this._observed=pe.add(this.canvas,this.onCanvasResize)),this.src=m.src,this.buffer=m.buffer,this.riveFile=m.riveFile,this.layout=(N=m.layout)!==null&&N!==void 0?N:new A,this.shouldDisableRiveListeners=!!m.shouldDisableRiveListeners,this.isTouchScrollEnabled=!!m.isTouchScrollEnabled,this.automaticallyHandleEvents=!!m.automaticallyHandleEvents,this.enableRiveAssetCDN=m.enableRiveAssetCDN===void 0?!0:m.enableRiveAssetCDN,this.eventManager=new M,m.onLoad&&this.on(ne.Load,m.onLoad),m.onLoadError&&this.on(ne.LoadError,m.onLoadError),m.onPlay&&this.on(ne.Play,m.onPlay),m.onPause&&this.on(ne.Pause,m.onPause),m.onStop&&this.on(ne.Stop,m.onStop),m.onLoop&&this.on(ne.Loop,m.onLoop),m.onStateChange&&this.on(ne.StateChange,m.onStateChange),m.onAdvance&&this.on(ne.Advance,m.onAdvance),m.onload&&!m.onLoad&&this.on(ne.Load,m.onload),m.onloaderror&&!m.onLoadError&&this.on(ne.LoadError,m.onloaderror),m.onplay&&!m.onPlay&&this.on(ne.Play,m.onplay),m.onpause&&!m.onPause&&this.on(ne.Pause,m.onpause),m.onstop&&!m.onStop&&this.on(ne.Stop,m.onstop),m.onloop&&!m.onLoop&&this.on(ne.Loop,m.onloop),m.onstatechange&&!m.onStateChange&&this.on(ne.StateChange,m.onstatechange),m.assetLoader&&(this.assetLoader=m.assetLoader),this.taskQueue=new z(this.eventManager),this.init({src:this.src,buffer:this.buffer,riveFile:this.riveFile,autoplay:m.autoplay,autoBind:m.autoBind,animations:m.animations,stateMachines:m.stateMachines,artboard:m.artboard,useOffscreenRenderer:m.useOffscreenRenderer})}return Object.defineProperty(S.prototype,"viewModelCount",{get:function(){return this.file.viewModelCount()},enumerable:!1,configurable:!0}),S.new=function(m){return console.warn("This function is deprecated: please use `new Rive({})` instead"),new S(m)},S.prototype.onSystemAudioChanged=function(){this.volume=this._volume},S.prototype.init=function(m){var T=this,N=m.src,re=m.buffer,ce=m.riveFile,Ee=m.animations,De=m.stateMachines,Pe=m.artboard,Be=m.autoplay,Qe=Be===void 0?!1:Be,tt=m.useOffscreenRenderer,pt=tt===void 0?!1:tt,mt=m.autoBind,rn=mt===void 0?!1:mt;if(!this.destroyed){if(this.src=N,this.buffer=re,this.riveFile=ce,!this.src&&!this.buffer&&!this.riveFile)throw new g(S.missingErrorMessage);var nt=I(Ee),Ut=I(De);this.loaded=!1,this.readyForPlaying=!1,k.awaitInstance().then(function(kt){T.destroyed||(T.runtime=kt,T.removeRiveListeners(),T.deleteRiveRenderer(),T.renderer=T.runtime.makeRenderer(T.canvas,pt),T.canvas.width||T.canvas.height||T.resizeDrawingSurfaceToCanvas(),T.initData(Pe,nt,Ut,Qe,rn).then(function(dt){if(dt)return T.setupRiveListeners()}).catch(function(dt){console.error(dt)}))}).catch(function(kt){console.error(kt)})}},S.prototype.setupRiveListeners=function(m){var T=this;if(this.eventCleanup&&this.eventCleanup(),!this.shouldDisableRiveListeners){var N=(this.animator.stateMachines||[]).filter(function(ce){return ce.playing&&T.runtime.hasListeners(ce.instance)}).map(function(ce){return ce.instance}),re=this.isTouchScrollEnabled;m&&"isTouchScrollEnabled"in m&&(re=m.isTouchScrollEnabled),this.eventCleanup=(0,c.registerTouchInteractions)({canvas:this.canvas,artboard:this.artboard,stateMachines:N,renderer:this.renderer,rive:this.runtime,fit:this._layout.runtimeFit(this.runtime),alignment:this._layout.runtimeAlignment(this.runtime),isTouchScrollEnabled:re,layoutScaleFactor:this._layout.layoutScaleFactor})}},S.prototype.removeRiveListeners=function(){this.eventCleanup&&(this.eventCleanup(),this.eventCleanup=null)},S.prototype.initializeAudio=function(){var m=this,T;W.status==K.UNAVAILABLE&&!((T=this.artboard)===null||T===void 0)&&T.hasAudio&&this._audioEventListener===null&&(this._audioEventListener={type:ne.AudioStatusChange,callback:function(){return m.onSystemAudioChanged()}},W.add(this._audioEventListener),W.establishAudio())},S.prototype.initArtboardSize=function(){this.artboard&&(this._artboardWidth=this.artboard.width=this._artboardWidth||this.artboard.width,this._artboardHeight=this.artboard.height=this._artboardHeight||this.artboard.height)},S.prototype.initData=function(m,T,N,re,ce){return d(this,void 0,void 0,function(){var Ee,De,Pe,Be;return f(this,function(Qe){switch(Qe.label){case 0:return Qe.trys.push([0,3,,4]),this.riveFile!=null?[3,2]:(Ee=new Te({src:this.src,buffer:this.buffer,enableRiveAssetCDN:this.enableRiveAssetCDN,assetLoader:this.assetLoader}),this.riveFile=Ee,[4,Ee.init()]);case 1:if(Qe.sent(),this.destroyed)return Ee.destroyIfUnused(),[2,!1];Qe.label=2;case 2:return this.file=this.riveFile.getInstance(),this.initArtboard(m,T,N,re,ce),this.initArtboardSize(),this.initializeAudio(),this.loaded=!0,this.eventManager.fire({type:ne.Load,data:(Be=this.src)!==null&&Be!==void 0?Be:"buffer"}),this.readyForPlaying=!0,this.taskQueue.process(),this.drawFrame(),[2,!0];case 3:return De=Qe.sent(),Pe=b(De),console.warn(Pe),this.eventManager.fire({type:ne.LoadError,data:Pe}),[2,Promise.reject(Pe)];case 4:return[2]}})})},S.prototype.initArtboard=function(m,T,N,re,ce){if(this.file){var Ee=m?this.file.artboardByName(m):this.file.defaultArtboard();if(!Ee){var De="Invalid artboard name or no default artboard";console.warn(De),this.eventManager.fire({type:ne.LoadError,data:De});return}if(this.artboard=Ee,Ee.volume=this._volume*W.systemVolume,this.artboard.animationCount()<1){var De="Artboard has no animations";throw this.eventManager.fire({type:ne.LoadError,data:De}),De}this.animator=new V(this.runtime,this.artboard,this.eventManager);var Pe;if(T.length>0||N.length>0?(Pe=T.concat(N),this.animator.initLinearAnimations(T,re),this.animator.initStateMachines(N,re)):Pe=[this.animator.atLeastOne(re,!1)],this.taskQueue.add({event:{type:re?ne.Play:ne.Pause,data:Pe}}),ce){var Be=this.file.defaultArtboardViewModel(Ee);if(Be!==null){var Qe=Be.defaultInstance();if(Qe!==null){var tt=new ie(Qe,null);this.bindViewModelInstance(tt)}}}}},S.prototype.drawFrame=function(){var m,T;!((m=document==null?void 0:document.timeline)===null||m===void 0)&&m.currentTime?this.loaded&&this.artboard&&!this.frameRequestId&&(this._boundDraw(document.timeline.currentTime),(T=this.runtime)===null||T===void 0||T.resolveAnimationFrame()):this.startRendering()},S.prototype.draw=function(m,T){var N;this.frameRequestId=null;var re=performance.now();this.lastRenderTime||(this.lastRenderTime=m),this.renderSecondTimer+=m-this.lastRenderTime,this.renderSecondTimer>5e3&&(this.renderSecondTimer=0,T==null||T());var ce=(m-this.lastRenderTime)/1e3;this.lastRenderTime=m;for(var Ee=this.animator.animations.filter(function(rt){return rt.playing||rt.needsScrub}).sort(function(rt){return rt.needsScrub?-1:1}),De=0,Pe=Ee;De<Pe.length;De++){var Be=Pe[De];Be.advance(ce),Be.instance.didLoop&&(Be.loopCount+=1),Be.apply(1)}for(var Qe=this.animator.stateMachines.filter(function(rt){return rt.playing}),tt=0,pt=Qe;tt<pt.length;tt++){var mt=pt[tt],rn=mt.reportedEventCount();if(rn)for(var nt=0;nt<rn;nt++){var Ut=mt.reportedEventAt(nt);if(Ut)if(Ut.type===L.OpenUrl){if(this.eventManager.fire({type:ne.RiveEvent,data:Ut}),this.automaticallyHandleEvents){var kt=document.createElement("a"),dt=Ut,jt=dt.url,xn=dt.target,Pn=(0,c.sanitizeUrl)(jt);jt&&kt.setAttribute("href",Pn),xn&&kt.setAttribute("target",xn),Pn&&Pn!==c.BLANK_URL&&kt.click()}}else this.eventManager.fire({type:ne.RiveEvent,data:Ut})}mt.advanceAndApply(ce)}this.animator.stateMachines.length==0&&this.artboard.advance(ce);var Ke=this.renderer;Ke.clear(),Ke.save(),this.alignRenderer(),this._hasZeroSize||this.artboard.draw(Ke),Ke.restore(),Ke.flush(),this.animator.handleLooping(),this.animator.handleStateChanges(),this.animator.handleAdvancing(ce),this.frameCount++;var ht=performance.now();for(this.frameTimes.push(ht),this.durations.push(ht-re);this.frameTimes[0]<=ht-1e3;)this.frameTimes.shift(),this.durations.shift();(N=this._viewModelInstance)===null||N===void 0||N.handleCallbacks(),this.animator.isPlaying?this.startRendering():this.animator.isPaused?this.lastRenderTime=0:this.animator.isStopped&&(this.lastRenderTime=0)},S.prototype.alignRenderer=function(){var m=this,T=m.renderer,N=m.runtime,re=m._layout,ce=m.artboard;T.align(re.runtimeFit(N),re.runtimeAlignment(N),{minX:re.minX,minY:re.minY,maxX:re.maxX,maxY:re.maxY},ce.bounds,this._devicePixelRatioUsed*re.layoutScaleFactor)},Object.defineProperty(S.prototype,"fps",{get:function(){return this.durations.length},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"frameTime",{get:function(){return this.durations.length===0?0:(this.durations.reduce(function(m,T){return m+T},0)/this.durations.length).toFixed(4)},enumerable:!1,configurable:!0}),S.prototype.cleanup=function(){var m,T;this.destroyed=!0,this.stopRendering(),this.cleanupInstances(),this._observed!==null&&pe.remove(this._observed),this.removeRiveListeners(),this.file&&((m=this.riveFile)===null||m===void 0||m.cleanup(),this.file=null),this.riveFile=null,this.deleteRiveRenderer(),this._audioEventListener!==null&&(W.remove(this._audioEventListener),this._audioEventListener=null),(T=this._viewModelInstance)===null||T===void 0||T.cleanup(),this._viewModelInstance=null,this._dataEnums=null},S.prototype.deleteRiveRenderer=function(){var m;(m=this.renderer)===null||m===void 0||m.delete(),this.renderer=null},S.prototype.cleanupInstances=function(){this.eventCleanup!==null&&this.eventCleanup(),this.stop(),this.artboard&&(this.artboard.delete(),this.artboard=null)},S.prototype.retrieveTextRun=function(m){var T;if(!m){console.warn("No text run name provided");return}if(!this.artboard){console.warn("Tried to access text run, but the Artboard is null");return}var N=this.artboard.textRun(m);if(!N){console.warn("Could not access a text run with name '".concat(m,"' in the '").concat((T=this.artboard)===null||T===void 0?void 0:T.name,"' Artboard. Note that you must rename a text run node in the Rive editor to make it queryable at runtime."));return}return N},S.prototype.getTextRunValue=function(m){var T=this.retrieveTextRun(m);return T?T.text:void 0},S.prototype.setTextRunValue=function(m,T){var N=this.retrieveTextRun(m);N&&(N.text=T)},S.prototype.play=function(m,T){var N=this;if(m=I(m),!this.readyForPlaying){this.taskQueue.add({action:function(){return N.play(m,T)}});return}this.animator.play(m),this.eventCleanup&&this.eventCleanup(),this.setupRiveListeners(),this.startRendering()},S.prototype.pause=function(m){var T=this;if(m=I(m),!this.readyForPlaying){this.taskQueue.add({action:function(){return T.pause(m)}});return}this.eventCleanup&&this.eventCleanup(),this.animator.pause(m)},S.prototype.scrub=function(m,T){var N=this;if(m=I(m),!this.readyForPlaying){this.taskQueue.add({action:function(){return N.scrub(m,T)}});return}this.animator.scrub(m,T||0),this.drawFrame()},S.prototype.stop=function(m){var T=this;if(m=I(m),!this.readyForPlaying){this.taskQueue.add({action:function(){return T.stop(m)}});return}this.animator&&this.animator.stop(m),this.eventCleanup&&this.eventCleanup()},S.prototype.reset=function(m){var T,N,re=m==null?void 0:m.artboard,ce=I(m==null?void 0:m.animations),Ee=I(m==null?void 0:m.stateMachines),De=(T=m==null?void 0:m.autoplay)!==null&&T!==void 0?T:!1,Pe=(N=m==null?void 0:m.autoBind)!==null&&N!==void 0?N:!1;this.cleanupInstances(),this.initArtboard(re,ce,Ee,De,Pe),this.taskQueue.process()},S.prototype.load=function(m){this.file=null,this.stop(),this.init(m)},Object.defineProperty(S.prototype,"layout",{get:function(){return this._layout},set:function(m){this._layout=m,(!m.maxX||!m.maxY)&&this.resizeToCanvas(),this.loaded&&!this.animator.isPlaying&&this.drawFrame()},enumerable:!1,configurable:!0}),S.prototype.resizeToCanvas=function(){this._layout=this.layout.copyWith({minX:0,minY:0,maxX:this.canvas.width,maxY:this.canvas.height})},S.prototype.resizeDrawingSurfaceToCanvas=function(m){if(this.canvas instanceof HTMLCanvasElement&&window){var T=this.canvas.getBoundingClientRect(),N=T.width,re=T.height,ce=m||window.devicePixelRatio||1;if(this.devicePixelRatioUsed=ce,this.canvas.width=ce*N,this.canvas.height=ce*re,this.resizeToCanvas(),this.drawFrame(),this.layout.fit===y.Layout){var Ee=this._layout.layoutScaleFactor;this.artboard.width=N/Ee,this.artboard.height=re/Ee}}},Object.defineProperty(S.prototype,"source",{get:function(){return this.src},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"activeArtboard",{get:function(){return this.artboard?this.artboard.name:""},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"animationNames",{get:function(){if(!this.loaded||!this.artboard)return[];for(var m=[],T=0;T<this.artboard.animationCount();T++)m.push(this.artboard.animationByIndex(T).name);return m},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"stateMachineNames",{get:function(){if(!this.loaded||!this.artboard)return[];for(var m=[],T=0;T<this.artboard.stateMachineCount();T++)m.push(this.artboard.stateMachineByIndex(T).name);return m},enumerable:!1,configurable:!0}),S.prototype.stateMachineInputs=function(m){if(this.loaded){var T=this.animator.stateMachines.find(function(N){return N.name===m});return T==null?void 0:T.inputs}},S.prototype.retrieveInputAtPath=function(m,T){if(!m){console.warn("No input name provided for path '".concat(T,"'"));return}if(!this.artboard){console.warn("Tried to access input: '".concat(m,"', at path: '").concat(T,"', but the Artboard is null"));return}var N=this.artboard.inputByPath(m,T);if(!N){console.warn("Could not access an input with name: '".concat(m,"', at path:'").concat(T,"'"));return}return N},S.prototype.setBooleanStateAtPath=function(m,T,N){var re=this.retrieveInputAtPath(m,N);re&&(re.type===R.Boolean?re.asBool().value=T:console.warn("Input with name: '".concat(m,"', at path:'").concat(N,"' is not a boolean")))},S.prototype.setNumberStateAtPath=function(m,T,N){var re=this.retrieveInputAtPath(m,N);re&&(re.type===R.Number?re.asNumber().value=T:console.warn("Input with name: '".concat(m,"', at path:'").concat(N,"' is not a number")))},S.prototype.fireStateAtPath=function(m,T){var N=this.retrieveInputAtPath(m,T);N&&(N.type===R.Trigger?N.asTrigger().fire():console.warn("Input with name: '".concat(m,"', at path:'").concat(T,"' is not a trigger")))},S.prototype.retrieveTextAtPath=function(m,T){if(!m){console.warn("No text name provided for path '".concat(T,"'"));return}if(!T){console.warn("No path provided for text '".concat(m,"'"));return}if(!this.artboard){console.warn("Tried to access text: '".concat(m,"', at path: '").concat(T,"', but the Artboard is null"));return}var N=this.artboard.textByPath(m,T);if(!N){console.warn("Could not access text with name: '".concat(m,"', at path:'").concat(T,"'"));return}return N},S.prototype.getTextRunValueAtPath=function(m,T){var N=this.retrieveTextAtPath(m,T);if(!N){console.warn("Could not get text with name: '".concat(m,"', at path:'").concat(T,"'"));return}return N.text},S.prototype.setTextRunValueAtPath=function(m,T,N){var re=this.retrieveTextAtPath(m,N);if(!re){console.warn("Could not set text with name: '".concat(m,"', at path:'").concat(N,"'"));return}re.text=T},Object.defineProperty(S.prototype,"playingStateMachineNames",{get:function(){return this.loaded?this.animator.stateMachines.filter(function(m){return m.playing}).map(function(m){return m.name}):[]},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"playingAnimationNames",{get:function(){return this.loaded?this.animator.animations.filter(function(m){return m.playing}).map(function(m){return m.name}):[]},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"pausedAnimationNames",{get:function(){return this.loaded?this.animator.animations.filter(function(m){return!m.playing}).map(function(m){return m.name}):[]},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"pausedStateMachineNames",{get:function(){return this.loaded?this.animator.stateMachines.filter(function(m){return!m.playing}).map(function(m){return m.name}):[]},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"isPlaying",{get:function(){return this.animator.isPlaying},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"isPaused",{get:function(){return this.animator.isPaused},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"isStopped",{get:function(){return this.animator.isStopped},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"bounds",{get:function(){return this.artboard?this.artboard.bounds:void 0},enumerable:!1,configurable:!0}),S.prototype.on=function(m,T){this.eventManager.add({type:m,callback:T})},S.prototype.off=function(m,T){this.eventManager.remove({type:m,callback:T})},S.prototype.unsubscribe=function(m,T){console.warn("This function is deprecated: please use `off()` instead."),this.off(m,T)},S.prototype.removeAllRiveEventListeners=function(m){this.eventManager.removeAll(m)},S.prototype.unsubscribeAll=function(m){console.warn("This function is deprecated: please use `removeAllRiveEventListeners()` instead."),this.removeAllRiveEventListeners(m)},S.prototype.stopRendering=function(){this.loaded&&this.frameRequestId&&(this.runtime.cancelAnimationFrame?this.runtime.cancelAnimationFrame(this.frameRequestId):cancelAnimationFrame(this.frameRequestId),this.frameRequestId=null)},S.prototype.startRendering=function(){this.loaded&&this.artboard&&!this.frameRequestId&&(this.runtime.requestAnimationFrame?this.frameRequestId=this.runtime.requestAnimationFrame(this._boundDraw):this.frameRequestId=requestAnimationFrame(this._boundDraw))},S.prototype.enableFPSCounter=function(m){this.runtime.enableFPSCounter(m)},S.prototype.disableFPSCounter=function(){this.runtime.disableFPSCounter()},Object.defineProperty(S.prototype,"contents",{get:function(){if(this.loaded){for(var m={artboards:[]},T=0;T<this.file.artboardCount();T++){for(var N=this.file.artboardByIndex(T),re={name:N.name,animations:[],stateMachines:[]},ce=0;ce<N.animationCount();ce++){var Ee=N.animationByIndex(ce);re.animations.push(Ee.name)}for(var De=0;De<N.stateMachineCount();De++){for(var Pe=N.stateMachineByIndex(De),Be=Pe.name,Qe=new this.runtime.StateMachineInstance(Pe,N),tt=[],pt=0;pt<Qe.inputCount();pt++){var mt=Qe.input(pt);tt.push({name:mt.name,type:mt.type})}re.stateMachines.push({name:Be,inputs:tt})}m.artboards.push(re)}return m}},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"volume",{get:function(){return this.artboard&&this.artboard.volume!==this._volume&&(this._volume=this.artboard.volume),this._volume},set:function(m){this._volume=m,this.artboard&&(this.artboard.volume=m*W.systemVolume)},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"artboardWidth",{get:function(){var m;return this.artboard?this.artboard.width:(m=this._artboardWidth)!==null&&m!==void 0?m:0},set:function(m){this._artboardWidth=m,this.artboard&&(this.artboard.width=m)},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"artboardHeight",{get:function(){var m;return this.artboard?this.artboard.height:(m=this._artboardHeight)!==null&&m!==void 0?m:0},set:function(m){this._artboardHeight=m,this.artboard&&(this.artboard.height=m)},enumerable:!1,configurable:!0}),S.prototype.resetArtboardSize=function(){this.artboard?(this.artboard.resetArtboardSize(),this._artboardWidth=this.artboard.width,this._artboardHeight=this.artboard.height):(this._artboardWidth=void 0,this._artboardHeight=void 0)},Object.defineProperty(S.prototype,"devicePixelRatioUsed",{get:function(){return this._devicePixelRatioUsed},set:function(m){this._devicePixelRatioUsed=m},enumerable:!1,configurable:!0}),S.prototype.bindViewModelInstance=function(m){var T;this.artboard&&!this.destroyed&&m&&m.runtimeInstance&&(m.internalIncrementReferenceCount(),(T=this._viewModelInstance)===null||T===void 0||T.cleanup(),this._viewModelInstance=m,this.animator.stateMachines.length>0?this.animator.stateMachines.forEach(function(N){return N.bindViewModelInstance(m)}):this.artboard.bindViewModelInstance(m.runtimeInstance))},Object.defineProperty(S.prototype,"viewModelInstance",{get:function(){return this._viewModelInstance},enumerable:!1,configurable:!0}),S.prototype.viewModelByIndex=function(m){var T=this.file.viewModelByIndex(m);return T!==null?new ye(T):null},S.prototype.viewModelByName=function(m){var T=this.file.viewModelByName(m);return T!==null?new ye(T):null},S.prototype.enums=function(){if(this._dataEnums===null){var m=this.file.enums();this._dataEnums=m.map(function(T){return new Ae(T)})}return this._dataEnums},S.prototype.defaultViewModel=function(){if(this.artboard){var m=this.file.defaultArtboardViewModel(this.artboard);if(m)return new ye(m)}return null},S.prototype.getArtboard=function(m){var T,N;return(N=(T=this.riveFile)===null||T===void 0?void 0:T.getArtboard(m))!==null&&N!==void 0?N:null},S.missingErrorMessage="Rive source file or data buffer required",S.cleanupErrorMessage="Attempt to use file after calling cleanup.",S}(),ye=function(){function S(m){this._viewModel=m}return Object.defineProperty(S.prototype,"instanceCount",{get:function(){return this._viewModel.instanceCount},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"name",{get:function(){return this._viewModel.name},enumerable:!1,configurable:!0}),S.prototype.instanceByIndex=function(m){var T=this._viewModel.instanceByIndex(m);return T!==null?new ie(T,null):null},S.prototype.instanceByName=function(m){var T=this._viewModel.instanceByName(m);return T!==null?new ie(T,null):null},S.prototype.defaultInstance=function(){var m=this._viewModel.defaultInstance();return m!==null?new ie(m,null):null},S.prototype.instance=function(){var m=this._viewModel.instance();return m!==null?new ie(m,null):null},Object.defineProperty(S.prototype,"properties",{get:function(){return this._viewModel.getProperties()},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"instanceNames",{get:function(){return this._viewModel.getInstanceNames()},enumerable:!1,configurable:!0}),S}(),Ae=function(){function S(m){this._dataEnum=m}return Object.defineProperty(S.prototype,"name",{get:function(){return this._dataEnum.name},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"values",{get:function(){return this._dataEnum.values},enumerable:!1,configurable:!0}),S}(),be;(function(S){S.Number="number",S.String="string",S.Boolean="boolean",S.Color="color",S.Trigger="trigger",S.Enum="enum",S.List="list",S.Image="image",S.Artboard="artboard"})(be||(be={}));var ie=function(){function S(m,T){this._parents=[],this._children=[],this._viewModelInstances=new Map,this._propertiesWithCallbacks=[],this._referenceCount=0,this._runtimeInstance=m,T!==null&&this._parents.push(T)}return Object.defineProperty(S.prototype,"runtimeInstance",{get:function(){return this._runtimeInstance},enumerable:!1,configurable:!0}),S.prototype.handleCallbacks=function(){this._propertiesWithCallbacks.length!==0&&(this._propertiesWithCallbacks.forEach(function(m){m.handleCallbacks()}),this._propertiesWithCallbacks.forEach(function(m){m.clearChanges()})),this._children.forEach(function(m){return m.handleCallbacks()})},S.prototype.addParent=function(m){this._parents.includes(m)||(this._parents.push(m),(this._propertiesWithCallbacks.length>0||this._children.length>0)&&m.addToViewModelCallbacks(this))},S.prototype.removeParent=function(m){var T=this._parents.indexOf(m);if(T!==-1){var N=this._parents[T];N.removeFromViewModelCallbacks(this),this._parents.splice(T,1)}},S.prototype.addToPropertyCallbacks=function(m){var T=this;this._propertiesWithCallbacks.includes(m)||(this._propertiesWithCallbacks.push(m),this._propertiesWithCallbacks.length>0&&this._parents.forEach(function(N){N.addToViewModelCallbacks(T)}))},S.prototype.removeFromPropertyCallbacks=function(m){var T=this;this._propertiesWithCallbacks.includes(m)&&(this._propertiesWithCallbacks=this._propertiesWithCallbacks.filter(function(N){return N!==m}),this._children.length===0&&this._propertiesWithCallbacks.length===0&&this._parents.forEach(function(N){N.removeFromViewModelCallbacks(T)}))},S.prototype.addToViewModelCallbacks=function(m){var T=this;this._children.includes(m)||(this._children.push(m),this._parents.forEach(function(N){N.addToViewModelCallbacks(T)}))},S.prototype.removeFromViewModelCallbacks=function(m){var T=this;this._children.includes(m)&&(this._children=this._children.filter(function(N){return N!==m}),this._children.length===0&&this._propertiesWithCallbacks.length===0&&this._parents.forEach(function(N){N.removeFromViewModelCallbacks(T)}))},S.prototype.clearCallbacks=function(){this._propertiesWithCallbacks.forEach(function(m){m.clearCallbacks()})},S.prototype.propertyFromPath=function(m,T){var N=m.split("/");return this.propertyFromPathSegments(N,0,T)},S.prototype.viewModelFromPathSegments=function(m,T){var N=this.internalViewModelInstance(m[T]);return N!==null?T==m.length-1?N:N.viewModelFromPathSegments(m,T++):null},S.prototype.propertyFromPathSegments=function(m,T,N){var re,ce,Ee,De,Pe,Be,Qe,tt,pt,mt,rn,nt,Ut,kt,dt,jt,xn,Pn;if(T<m.length-1){var Ke=this.internalViewModelInstance(m[T]);return Ke!==null?Ke.propertyFromPathSegments(m,T+1,N):null}var ht=null;switch(N){case be.Number:if(ht=(ce=(re=this._runtimeInstance)===null||re===void 0?void 0:re.number(m[T]))!==null&&ce!==void 0?ce:null,ht!==null)return new Se(ht,this);break;case be.String:if(ht=(De=(Ee=this._runtimeInstance)===null||Ee===void 0?void 0:Ee.string(m[T]))!==null&&De!==void 0?De:null,ht!==null)return new he(ht,this);break;case be.Boolean:if(ht=(Be=(Pe=this._runtimeInstance)===null||Pe===void 0?void 0:Pe.boolean(m[T]))!==null&&Be!==void 0?Be:null,ht!==null)return new Ie(ht,this);break;case be.Color:if(ht=(tt=(Qe=this._runtimeInstance)===null||Qe===void 0?void 0:Qe.color(m[T]))!==null&&tt!==void 0?tt:null,ht!==null)return new ee(ht,this);break;case be.Trigger:if(ht=(mt=(pt=this._runtimeInstance)===null||pt===void 0?void 0:pt.trigger(m[T]))!==null&&mt!==void 0?mt:null,ht!==null)return new j(ht,this);break;case be.Enum:if(ht=(nt=(rn=this._runtimeInstance)===null||rn===void 0?void 0:rn.enum(m[T]))!==null&&nt!==void 0?nt:null,ht!==null)return new P(ht,this);break;case be.List:if(ht=(kt=(Ut=this._runtimeInstance)===null||Ut===void 0?void 0:Ut.list(m[T]))!==null&&kt!==void 0?kt:null,ht!==null)return new Y(ht,this);break;case be.Image:if(ht=(jt=(dt=this._runtimeInstance)===null||dt===void 0?void 0:dt.image(m[T]))!==null&&jt!==void 0?jt:null,ht!==null)return new X(ht,this);break;case be.Artboard:if(ht=(Pn=(xn=this._runtimeInstance)===null||xn===void 0?void 0:xn.artboard(m[T]))!==null&&Pn!==void 0?Pn:null,ht!==null)return new C(ht,this);break}return null},S.prototype.internalViewModelInstance=function(m){var T;if(this._viewModelInstances.has(m))return this._viewModelInstances.get(m);var N=(T=this._runtimeInstance)===null||T===void 0?void 0:T.viewModel(m);if(N!==null){var re=new S(N,this);return re.internalIncrementReferenceCount(),this._viewModelInstances.set(m,re),re}return null},S.prototype.number=function(m){var T=this.propertyFromPath(m,be.Number);return T},S.prototype.string=function(m){var T=this.propertyFromPath(m,be.String);return T},S.prototype.boolean=function(m){var T=this.propertyFromPath(m,be.Boolean);return T},S.prototype.color=function(m){var T=this.propertyFromPath(m,be.Color);return T},S.prototype.trigger=function(m){var T=this.propertyFromPath(m,be.Trigger);return T},S.prototype.enum=function(m){var T=this.propertyFromPath(m,be.Enum);return T},S.prototype.list=function(m){var T=this.propertyFromPath(m,be.List);return T},S.prototype.image=function(m){var T=this.propertyFromPath(m,be.Image);return T},S.prototype.artboard=function(m){var T=this.propertyFromPath(m,be.Artboard);return T},S.prototype.viewModel=function(m){var T=m.split("/"),N=T.length>1?this.viewModelFromPathSegments(T.slice(0,T.length-1),0):this;return N!=null?N.internalViewModelInstance(T[T.length-1]):null},S.prototype.internalReplaceViewModel=function(m,T){var N;if(T.runtimeInstance!==null){var re=((N=this._runtimeInstance)===null||N===void 0?void 0:N.replaceViewModel(m,T.runtimeInstance))||!1;if(re){T.internalIncrementReferenceCount();var ce=this.internalViewModelInstance(m);ce!==null&&(ce.removeParent(this),this._children.includes(ce)&&(this._children=this._children.filter(function(Ee){return Ee!==ce})),ce.cleanup()),this._viewModelInstances.set(m,T),T.addParent(this)}return re}return!1},S.prototype.replaceViewModel=function(m,T){var N,re=m.split("/"),ce=re.length>1?this.viewModelFromPathSegments(re.slice(0,re.length-1),0):this;return(N=ce==null?void 0:ce.internalReplaceViewModel(re[re.length-1],T))!==null&&N!==void 0?N:!1},S.prototype.incrementReferenceCount=function(){var m;this._referenceCount++,(m=this._runtimeInstance)===null||m===void 0||m.incrementReferenceCount()},S.prototype.decrementReferenceCount=function(){var m;this._referenceCount--,(m=this._runtimeInstance)===null||m===void 0||m.decrementReferenceCount()},Object.defineProperty(S.prototype,"properties",{get:function(){var m;return((m=this._runtimeInstance)===null||m===void 0?void 0:m.getProperties().map(function(T){return l({},T)}))||[]},enumerable:!1,configurable:!0}),S.prototype.internalIncrementReferenceCount=function(){this._referenceCount++},S.prototype.cleanup=function(){var m=this;if(this._referenceCount--,this._referenceCount<=0){this._runtimeInstance=null,this.clearCallbacks(),this._propertiesWithCallbacks=[],this._viewModelInstances.forEach(function(re){re.cleanup()}),this._viewModelInstances.clear();var T=_([],this._children,!0);this._children.length=0;var N=_([],this._parents,!0);this._parents.length=0,T.forEach(function(re){re.removeParent(m)}),N.forEach(function(re){re.removeFromViewModelCallbacks(m)})}},S}(),le=function(){function S(m,T){this.callbacks=[],this._viewModelInstanceValue=m,this._parentViewModel=T}return S.prototype.on=function(m){this.callbacks.length===0&&this._viewModelInstanceValue.clearChanges(),this.callbacks.includes(m)||(this.callbacks.push(m),this._parentViewModel.addToPropertyCallbacks(this))},S.prototype.off=function(m){m?this.callbacks=this.callbacks.filter(function(T){return T!==m}):this.callbacks.length=0,this.callbacks.length===0&&this._parentViewModel.removeFromPropertyCallbacks(this)},S.prototype.internalHandleCallback=function(m){},S.prototype.handleCallbacks=function(){var m=this;this._viewModelInstanceValue.hasChanged&&this.callbacks.forEach(function(T){m.internalHandleCallback(T)})},S.prototype.clearChanges=function(){this._viewModelInstanceValue.clearChanges()},S.prototype.clearCallbacks=function(){this.callbacks.length=0},Object.defineProperty(S.prototype,"name",{get:function(){return this._viewModelInstanceValue.name},enumerable:!1,configurable:!0}),S}(),he=function(S){h(m,S);function m(T,N){return S.call(this,T,N)||this}return Object.defineProperty(m.prototype,"value",{get:function(){return this._viewModelInstanceValue.value},set:function(T){this._viewModelInstanceValue.value=T},enumerable:!1,configurable:!0}),m.prototype.internalHandleCallback=function(T){T(this.value)},m}(le),Se=function(S){h(m,S);function m(T,N){return S.call(this,T,N)||this}return Object.defineProperty(m.prototype,"value",{get:function(){return this._viewModelInstanceValue.value},set:function(T){this._viewModelInstanceValue.value=T},enumerable:!1,configurable:!0}),m.prototype.internalHandleCallback=function(T){T(this.value)},m}(le),Ie=function(S){h(m,S);function m(T,N){return S.call(this,T,N)||this}return Object.defineProperty(m.prototype,"value",{get:function(){return this._viewModelInstanceValue.value},set:function(T){this._viewModelInstanceValue.value=T},enumerable:!1,configurable:!0}),m.prototype.internalHandleCallback=function(T){T(this.value)},m}(le),j=function(S){h(m,S);function m(T,N){return S.call(this,T,N)||this}return m.prototype.trigger=function(){return this._viewModelInstanceValue.trigger()},m.prototype.internalHandleCallback=function(T){T()},m}(le),P=function(S){h(m,S);function m(T,N){return S.call(this,T,N)||this}return Object.defineProperty(m.prototype,"value",{get:function(){return this._viewModelInstanceValue.value},set:function(T){this._viewModelInstanceValue.value=T},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"valueIndex",{get:function(){return this._viewModelInstanceValue.valueIndex},set:function(T){this._viewModelInstanceValue.valueIndex=T},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"values",{get:function(){return this._viewModelInstanceValue.values},enumerable:!1,configurable:!0}),m.prototype.internalHandleCallback=function(T){T(this.value)},m}(le),Y=function(S){h(m,S);function m(T,N){return S.call(this,T,N)||this}return Object.defineProperty(m.prototype,"length",{get:function(){return this._viewModelInstanceValue.size},enumerable:!1,configurable:!0}),m.prototype.addInstance=function(T){T.runtimeInstance!=null&&(this._viewModelInstanceValue.addInstance(T.runtimeInstance),T.addParent(this._parentViewModel))},m.prototype.addInstanceAt=function(T,N){return T.runtimeInstance!=null&&this._viewModelInstanceValue.addInstanceAt(T.runtimeInstance,N)?(T.addParent(this._parentViewModel),!0):!1},m.prototype.removeInstance=function(T){T.runtimeInstance!=null&&(this._viewModelInstanceValue.removeInstance(T.runtimeInstance),T.removeParent(this._parentViewModel))},m.prototype.removeInstanceAt=function(T){this._viewModelInstanceValue.removeInstanceAt(T)},m.prototype.instanceAt=function(T){var N=this._viewModelInstanceValue.instanceAt(T);if(N!=null){var re=new ie(N,this._parentViewModel);return re}return null},m.prototype.swap=function(T,N){this._viewModelInstanceValue.swap(T,N)},m.prototype.internalHandleCallback=function(T){T()},m}(le),ee=function(S){h(m,S);function m(T,N){return S.call(this,T,N)||this}return Object.defineProperty(m.prototype,"value",{get:function(){return this._viewModelInstanceValue.value},set:function(T){this._viewModelInstanceValue.value=T},enumerable:!1,configurable:!0}),m.prototype.rgb=function(T,N,re){this._viewModelInstanceValue.rgb(T,N,re)},m.prototype.rgba=function(T,N,re,ce){this._viewModelInstanceValue.argb(ce,T,N,re)},m.prototype.argb=function(T,N,re,ce){this._viewModelInstanceValue.argb(T,N,re,ce)},m.prototype.alpha=function(T){this._viewModelInstanceValue.alpha(T)},m.prototype.opacity=function(T){this._viewModelInstanceValue.alpha(Math.round(Math.max(0,Math.min(1,T))*255))},m.prototype.internalHandleCallback=function(T){T(this.value)},m}(le),X=function(S){h(m,S);function m(T,N){return S.call(this,T,N)||this}return Object.defineProperty(m.prototype,"value",{set:function(T){var N;this._viewModelInstanceValue.value((N=T==null?void 0:T.nativeImage)!==null&&N!==void 0?N:null)},enumerable:!1,configurable:!0}),m.prototype.internalHandleCallback=function(T){T()},m}(le),C=function(S){h(m,S);function m(T,N){return S.call(this,T,N)||this}return Object.defineProperty(m.prototype,"value",{set:function(T){this._viewModelInstanceValue.value(T.nativeArtboard)},enumerable:!1,configurable:!0}),m.prototype.internalHandleCallback=function(T){T()},m}(le),G=function(S){return d(void 0,void 0,void 0,function(){var m,T,N;return f(this,function(re){switch(re.label){case 0:return m=new Request(S),[4,fetch(m)];case 1:return T=re.sent(),[4,T.arrayBuffer()];case 2:return N=re.sent(),[2,N]}})})},I=function(S){return typeof S=="string"?[S]:S instanceof Array?S:[]},D={EventManager:M,TaskQueueManager:z},Z=function(S){return d(void 0,void 0,void 0,function(){var m,T,N;return f(this,function(re){switch(re.label){case 0:return m=new Promise(function(ce){return k.getInstance(function(Ee){Ee.decodeAudio(S,ce)})}),[4,m];case 1:return T=re.sent(),N=new c.AudioWrapper(T),c.finalizationRegistry.register(N,T),[2,N]}})})},fe=function(S){return d(void 0,void 0,void 0,function(){var m,T,N;return f(this,function(re){switch(re.label){case 0:return m=new Promise(function(ce){return k.getInstance(function(Ee){Ee.decodeImage(S,ce)})}),[4,m];case 1:return T=re.sent(),N=new c.ImageWrapper(T),c.finalizationRegistry.register(N,T),[2,N]}})})},ue=function(S){return d(void 0,void 0,void 0,function(){var m,T,N;return f(this,function(re){switch(re.label){case 0:return m=new Promise(function(ce){return k.getInstance(function(Ee){Ee.decodeFont(S,ce)})}),[4,m];case 1:return T=re.sent(),N=new c.FontWrapper(T),c.finalizationRegistry.register(N,T),[2,N]}})})}})(),o})())}(Zf)),Zf.exports}var Md=IF();const LF=xF(Md),OF=fk({__proto__:null,default:LF},[Md]),c1={fontMap:{"RoslindaleDisplayCondensed-Light":"/rive/RoslindaleDisplayCondensed-Light-3462095.ttf"},imageMap:{}},MF={__name:"RivePlayer",props:{srcAll:{default:{src:"",artboard:"Main",animation:"Main"},required:!0},assets:{default:c1},textRuns:{default:{}},fit:{default:"contain"},alignment:{default:"center"},stateMachines:{default:null},autoplay:{default:!0},fpsCounter:{default:!1},logInstance:{default:!1}},emits:["load"],setup(t,{expose:e,emit:n}){const r=t,i=n,{Rive:o,Layout:s}=OF,a=U(null),u=U(null),c=_a(null),h=_a([]),l=U(!1),d=U(0),f=U(""),_=U("");let g=[],b=null;Ne(()=>a.value&&u.value,()=>H());function y(){var W,oe;const B=Math.min(window.devicePixelRatio,2);(W=c.value)==null||W.resizeDrawingSurfaceToCanvas(B),(oe=c.value)==null||oe.startRendering()}function w(){var B;g=[],(B=c.value)==null||B.cleanup(),b==null||b.disconnect(),b=null,c.value=null,l.value=!1}function A(){const B=F();Object.keys(B).forEach(W=>{B[W]})}function k(){const B=c.value;r.textRuns&&Object.keys(r.textRuns).forEach(W=>{B==null||B.setTextRunValue(W,r.textRuns[W])})}function R(){return r.assets||c1}function x(B){var oe;const W=((oe=R().fontMap)==null?void 0:oe[B.name])||null;if(!W){console.warn(`rive: ${r.srcAll.src} :: missing font asset: ${B.name}`);return}fetch(W).then(async se=>{const q=await Md.decodeFont(new Uint8Array(await se.arrayBuffer()));B.setFont(q),q.unref()})}function L(B){var oe,se;const W=((se=(oe=R())==null?void 0:oe.imageMap)==null?void 0:se[B.name])||null;if(!W){console.warn(`rive: ${r.srcAll.src} :: missing image asset: ${B.name}`);return}fetch(W).then(async q=>{const pe=await Md.decodeImage(new Uint8Array(await q.arrayBuffer()));B.setRenderImage(pe),pe.unref()})}function F(){var Te;const B=c.value;if(!B)return null;const W=B.animator.animations[0].animation.duration,oe=B.animator.animations[0].animation.fps,se=W/oe,q=(Te=c.value.contents)==null?void 0:Te.artboards.map(_e=>_e.name),pe=c.value.animationNames;return{src:c.value.src,rive:c.value,artboardNames:q,animationNames:pe,artboardHeight:B._artboardHeight,artboardWidth:B._artboardWidth,ratio:B._artboardWidth/B._artboardHeight,fps:oe,durationFrames:W,durationSeconds:se,assetsRequested:g}}function H(B=!1){w();const W=r.logInstance||B;W&&console.group("RIVE INFO"),f.value=B?null:r.srcAll.animation||"Main",_.value=B?null:r.srcAll.artboard||"Main";let oe=!1;W&&r.srcAll.src,c.value=new o({src:r.srcAll.src,artboard:_.value,animation:f.value,canvas:u.value,layout:new s({fit:r.fit,alignment:r.alignment}),autoplay:r.autoplay,assetLoader:(se,q)=>{const pe={name:se.name,fileExtension:se.fileExtension,cdnUuid:se.cdnUuid,isFont:se.isFont,isImage:se.isImage,bytes:q};return g.push(pe),se.cdnUuid.length>0||q.length>0?!1:se.isFont?(x(se),!0):se.isImage?(L(se),!0):!1},onLoad:()=>{if(oe)return;y(),h.value=c.value.stateMachineInputs(r.stateMachines),r.fpsCounter&&c.value.enableFPSCounter(),W&&(B&&console.warn(`ERROR IN RIVE CONFIGURATION,: ${r.srcAll.src}, animation: ${r.srcAll.animation}, artboard: ${r.srcAll.artboard}`),(r.logInstance||B)&&A(),console.groupEnd());const se=F();d.value=se.durationSeconds,k(),l.value=!0,i("load")},onLoadError:se=>{B||(oe=!0,setTimeout(()=>H(!0),500))}}),b=new ResizeObserver(y),b.observe(u.value)}function V(B,W=null){var oe,se;W=W||f.value,(oe=c.value)==null||oe.scrub(W,B),(se=c.value)==null||se.startRendering()}let ne=null;function $(B,W=null){var se,q,pe;if(W=W||f.value,B===ne)return;const oe=Ii(B)*d.value;(se=c.value)==null||se.pause(W),(q=c.value)==null||q.scrub(W,oe),(pe=c.value)==null||pe.startRendering(),ne=B}function M(B=null){var W;B=B||f.value,(W=c.value)==null||W.play(B)}function z(B=null){var W;B=B||f.value,(W=c.value)==null||W.pause(B)}function K(B=null){var W;B=B||f.value,(W=c.value)==null||W.stop(B)}return Ct(()=>{setTimeout(()=>{a.value=!0},50)}),Vt(()=>{w()}),e({animation:f,loaded:l,resize:y,instance:c,inputs:h,scrub:V,play:M,pause:z,stop:K,progress:$,getInfo:F}),(B,W)=>(ae(),me("canvas",{ref_key:"canvasRef",ref:u,class:"RivePlayer"},null,512))}},_E=_t(MF,[["__scopeId","data-v-667a266b"]]),Ti=5.6;class FF{constructor(){Le(this,"desktop",{elements:{heroRect:null},time:{swirlEnd:Ti,graphStart:Ti-.15,imageStackStart:Ti+2,quoteStart:Ti+4.5,keyAreaStart:Ti+5.5,approachStart:Ti+15.3}});Le(this,"mobile",{elements:{heroRect:null},time:{swirlEnd:Ti,graphStart:Ti-.15,imageStackStart:Ti+2,quoteStart:Ti+4.5,keyAreaStart:Ti+5.5,approachStart:Ti+15.3}})}}const pr=new FF;function DF(t,e=0,n=1){return t<e?e:t>n?n:t}class vE{constructor({decel:e=.4,accel:n=.06,maxSpeed:r=.2}={}){this.maxSpeed=r,this.decel=e,this.accel=n,this.to=this.current=this.velocity=0}set(e){e=e===void 0?this.to:e,this.to=this.current=e,this.velocity=0}update(e){return this.to=e,this.process()}process(){const n=(this.to-this.current)*this.accel;return this.velocity+=n,this.velocity*=1-this.decel,this.velocity=DF(this.velocity,0-this.maxSpeed,this.maxSpeed),this.current+=this.velocity,this.current}}const Li=function(t){return t*=2,t<1?.5*t*t*t:.5*((t-=2)*t*t+2)},mc=function(t){return 1-Math.cos(t*Math.PI/2)},zo=function(t){return Math.sin(t*Math.PI/2)},Rl=function(t){return .5*(1-Math.cos(Math.PI*t))};function Ms(t,e=.3333){return t<e?1/(2*e)*t*t:t-e/2}const $F="/assets/desktop-1500-1080-homepage-approach%20section-refresh-v8-CGbbtDTB.riv",HF="/assets/mobile-375-520-homepage-approach%20section-refresh-v10-57ftYjte.riv",NF={desktop:{rive:$F,chapters:[{title:"DISCOVER",subtitle:`Our Ventures
innovation approach `,body:"Based on a clear investment thesis, we discover promising technologies and leverage our unique resources and talent to build companies from the ground.up."},{title:"DEVELOP",subtitle:null,body:"Once the technology has been validated, we accelerate the development of breakthrough innovations and build resilient companies."},{title:"DEPLOY",subtitle:null,body:"We focus on driving down the costs and eliminating green premiums of clean technologies so they can be deployed globally"}]},mobile:{rive:HF,chapters:[{title:"DISCOVER",subtitle:`Our Ventures
innovation approach `,body:"Based on a clear investment thesis, we discover promising technologies and leverage our unique resources and talent to build companies from the ground.up."},{title:"DEVELOP",subtitle:null,body:"Once the technology has been validated, we accelerate the development of breakthrough innovations and build resilient companies."},{title:"DEPLOY",subtitle:null,body:"We focus on driving down the costs and eliminating green premiums of clean technologies so they can be deployed globally"}]}},{gsap:Fc,SplitText:s_}=gn(),zi=Math.PI*2;function jr(t){Object.values(t).forEach(e=>{var n;return(n=e.timeline)==null?void 0:n.kill()})}function a_(t){return BF(Math.sin(t*43758.5453123)*43758.5453123)}function BF(t){return t-Math.floor(t)}function cr(t){return{baseRadius:1,radiusWander:.5,radiusFreq:.2,angleSpeed:1,angleWander:.5,angleFreq:.5,seed:a_(t*.01)}}function yE(t,e,{baseRadius:n=0,radiusWander:r=1,radiusFreq:i=.2,angleSpeed:o=1,angleWander:s=.5,angleFreq:a=.5,seed:u=0}={}){const c=t,h=u*zi,l=u*zi,d=(1-u)*zi,f=n+Math.sin(c*i+h)*r;let _=c*o+Math.sin(c*a+l)*s;_-=c+.75*o*1.4+Math.sin(c*a+l*1.3)*s*.5;let g=c*o+Math.cos(c*a+d)*s;g-=c+1.75*o*1.2+Math.cos(c*a+d*1.5)*s*.65;const b=Math.cos(_)*f*e,y=Math.sin(_)*f*e,w=Math.sin(g)*f*e;return[b,y,w]}function gt(t,e,n){return t>=e&&t<n}function Hl(t,e){return t.forEach(n=>{const r=`<${n}>`,i=`</${n}>`;e.includes(r)&&!e.includes(i)&&(e=e+i),e.includes(i)&&!e.includes(r)&&(e=r+e)}),e}function bE({timeline:t,lineElementsArray:e}={}){const n=t;let r=.25;e.forEach(i=>{var a;const o={duration:.6,y:0,ease:"circ.out"};n.set(i,{y:50},0),n.to(i,o,r),(a=i.wordSplit)==null||a.revert(),i.wordSplit=s_.create(i,{type:"words"});const s={duration:.001,autoAlpha:1,stagger:o.duration*.8/i.wordSplit.words.length};n.set(i.wordSplit.words,{autoAlpha:0},0),Fc.set(i.wordSplit.words,{autoAlpha:0},0),n.to(i.wordSplit.words,s,r+.01),r+=.6})}function Es({timeline:t,lineElementsArray:e,outroOffset:n=.01,x:r=100}={}){const i=t;let o=.25;e.forEach(c=>{var d;const h={duration:.6,x:0,ease:"circ.out"};i.set(c,{x:r},0),i.to(c,h,o),(d=c.wordSplit)==null||d.revert(),c.wordSplit=s_.create(c,{type:"words"});const l={duration:.001,autoAlpha:1,stagger:h.duration*.8/c.wordSplit.words.length};i.set(c.wordSplit.words,{autoAlpha:0},0),Fc.set(c.wordSplit.words,{autoAlpha:0},0),i.to(c.wordSplit.words,l,o+.01),o+=.6});const s=i.duration();o=n+s+.01,e.forEach(c=>{i.to(c.wordSplit.words,{duration:.001,autoAlpha:0,stagger:.1},o),o+=.1});const a=i.duration();return s/a}function wE({timeline:t,lineElementsArray:e,outroOffset:n=.01,x:r=100}={}){const i=t;let o=.25;e.forEach(h=>{var f;const l={duration:.6,x:0,ease:"circ.out"};i.set(h,{x:r},0),i.to(h,l,o),(f=h.wordSplit)==null||f.revert(),h.wordSplit=s_.create(h,{type:"words"});const d={duration:.001,autoAlpha:1,stagger:l.duration*.8/h.wordSplit.words.length};i.set(h.wordSplit.words,{autoAlpha:0},0),Fc.set(h.wordSplit.words,{autoAlpha:0},0),i.to(h.wordSplit.words,d,o+.01),o+=.6});const s=i.duration();o=n+s;const a="circ.in";e.forEach(h=>{i.to(h,{duration:.3,x:-r*.5,ease:a},o),i.to(h,{duration:.001,autoAlpha:0},o+.3),o+=.2});const u=i.duration();return s/u}function gh({timeline:t,lineElementsArray:e,x:n=100}={}){const r=t;let i=0;e.forEach((u,c)=>{const h={duration:1.5-c*.2,x:0,ease:"circ.out"};r.set(u,{x:n,autoAlpha:0},0),Fc.set(u,{x:n,autoAlpha:0},0),r.to(u,h,i),r.to(u,{duration:0,autoAlpha:1},i+.05),i+=.3});const o=r.duration();e.forEach(u=>{r.to(u,{duration:.5,autoAlpha:0},o+.01)});const s=r.duration();return o/s}function Fd({timeline:t,lineElementsArray:e,lineDuration:n,startTime:r}={}){const i=t;let o=r;e.forEach((s,a)=>{const u={duration:n,y:0,ease:"circ.out"};i.set(s,{y:"11cqh",autoAlpha:0},0),Fc.set(s,{y:"11cqh",autoAlpha:0},0),i.to(s,u,o),i.to(s,{duration:0,autoAlpha:1},o+n*.3),o+=n*.3})}function SE({timeline:t,lineElementsArray:e,lineDuration:n,startTime:r}={}){const i=t;let o=r;e.forEach((s,a)=>{const u={duration:n,y:"-11cqh",ease:"circ.in"};i.to(s,u,o),i.to(s,{duration:0,autoAlpha:0},o+n*.8),o+=n*.1})}function TE(t,e=.5){if(!Array.isArray(t)||t.length<2)throw new Error("points must be an array of [input, output] pairs with length >= 2");const n=t.map(o=>o[0]),r=t.map(o=>o[1]);function i(o,s,a,u,c){const h=(a-o)*e,l=(u-s)*e,d=c*c,f=d*c;return(2*f-3*d+1)*s+(f-2*d+c)*h+(-2*f+3*d)*a+(f-d)*l}return function(s){let a=0;for(;a<n.length-1&&s>n[a+1];)a++;for(;a>0&&s<n[a];)a--;const u=r[Math.max(a-1,0)],c=r[a],h=r[Math.min(a+1,r.length-1)],l=r[Math.min(a+2,r.length-1)],d=n[a],f=n[Math.min(a+1,n.length-1)],_=(s-d)/(f-d);return i(u,c,h,l,_)}}const Cn=function(t=()=>{},e=!0,n=-1,r=!1){let i=[];const o=()=>{i.forEach(s=>s==null?void 0:s()),i=[]};return Ct(()=>{i.push(Je.subscribeResize(t,e,n)),r&&i.push(Je.subscribeBodyHeight(t,e,n))}),wc(()=>{o()}),o};class VF{constructor(){Le(this,"_update",e=>{const n=e-this._prevElapsed;this._prevElapsed=e;let r=this._fns.length;for(;r--;)this._fns[r]&&this._fns[r]({elapsed:e,delta:n});this.rafId=lt.isSSR?null:window.requestAnimationFrame(this._update)});Le(this,"_updateWithStats",e=>{const n=e-this._prevElapsed;this._prevElapsed=e,this.stats.begin();const r=this._fns.length;for(let i=0;i<r;i++)this._fns[i]&&this._fns[i]({elapsed:e,delta:n});this.stats.end(),this.rafId=lt.isSSR?null:window.requestAnimationFrame(this._updateWithStats)});Le(this,"start",()=>{this.running||(this.running=!0,this.rafId=lt.isSSR?null:window.requestAnimationFrame(this._update))});Le(this,"stop",()=>{window.cancelAnimationFrame(this.rafId),this.running=!1});Le(this,"add",(e,n=-1)=>typeof e=="function"?this._fns.includes(e)?!1:(this._fns.push(e),e._callback_order=n===-1?1e6:n,n>-1&&this._fns.sort((r,i)=>r._callback_order-i._callback_order),!0):!1);Le(this,"remove",e=>{const n=this._fns.indexOf(e);n>=0&&this._fns.splice(n,1)});this.running=!1,this.rafId=null,this._fns=[],this._prevElapsed=0}async startWithStats(){const e=await zr(()=>import("./stats.min-Dfc5J4WO.js").then(n=>n.s),[]);this.stats=new e.default,this.stats.showPanel(0),this.stats.dom.id="stats",lt.isClient&&document.querySelector("html").appendChild(this.stats.dom),!this.running&&(this.running=!0,this.rafId=lt.isSSR?null:window.requestAnimationFrame(this._updateWithStats))}}const Hm=new VF;function So(t=()=>{},e={}){const n=Ca({autoplay:!0,delegate:null,...e}),r=e.order||-1,i=n.delegate!==null,o=U(i?n.delegate:n.autoplay),s=U(!0),a=l=>{t({...l,isFirstTick:s.value}),s.value=!1},u=()=>{i||(o.value=!0),Hm.add(a,r)},c=()=>{i||(o.value=!1),Hm.remove(a)},h=()=>{i&&(o.value=n.delegate),o.value?u():c()};return Ne(()=>n.delegate,()=>h()),Ct(()=>h()),Fb(()=>h()),wc(()=>c()),i?{isActive:o,isFirstTick:s}:{isActive:o,isFirstTick:s,pause:c,resume:u}}const UF={key:1,class:"HomeApproach-inner"},jF={key:0,ref:"chaptersRef",class:"HomeApproach-chapters"},WF={class:"HomeApproach-chapter-inner"},zF={__name:"HomeApproachMo",props:{block:{type:Object,required:!0,default:()=>({})}},emits:["load"],setup(t,{emit:e}){const n=t,r=e,i=xe(()=>n.block),o=xe(()=>i.value.chapters),s={radar:"Loop Radar",smallDots:"Init Loop",largeDot:"Loop B",whiteDot:"Loop C",main:"main"},a=xe(()=>{var Ae;return{src:((Ae=i.value)==null?void 0:Ae.rive)||"",artboard:"main",animation:s.main}}),u={dots:.307,bigDot:.4756,premium:.665},c={dots:[u.dots,u.dots+.04],bigDot:[u.bigDot,u.bigDot+.01],premium:[u.premium-0,1]},h=[u.dots,u.bigDot,u.premium],l=[c.dots[1],c.bigDot[1],c.premium[1]],d=TE([[-1,0],[0,h[0]],[.2,l[0]],[1,h[1]],[1.2,l[1]],[2,h[2]],[3,1]],.4),f=U(null),_=U(null),g={decel:.8,accel:.5,maxSpeed:.01};new vE(g);const b=U(!1),y=U(!1),w=U(!1),A=U(!1),k={[s.radar]:0,[s.smallDots]:0,[s.largeDot]:0,[s.whiteDot]:0},R=U(!1);function x(){Object.values(s).forEach(Ae=>{f.value.stop(Ae)}),R.value=!0,r("load"),Te()}const L=wn(),F=[],H=[],V=U(!1),ne=U(0);U(0);const $={indexEased:0,indexLinear:0},M=U(null),z=U(!1),{gsap:K}=gn(),B={main:{timeline:null}};function W(){const Ae=B.main;Ae.timeline=K.timeline({paused:!0}),Ae.timeline.set($,{indexEased:-1},0),Ae.timeline.set($,{indexLinear:-1},0),Ae.timeline.to($,{indexLinear:3,ease:"linear",duration:1},0);const be=1/4,ie=be*.1;for(let le=0;le<4;le++)Ae.timeline.to($,{indexEased:le,ease:"sine.inOut",duration:be-ie},be*le)}function oe(){const Ae=f.value,{indexLinear:be}=$,ie=d(be);Ae&&Ae.progress(ie),b.value=gt(ie,...c.dots),y.value=gt(ie,...c.dots),w.value=gt(ie,...c.bigDot),A.value=gt(ie,...c.premium)}function se(Ae,be){var ie,le,he;be?((ie=f.value)==null||ie.play(Ae),k[Ae]=setInterval(()=>{var Se;return(Se=f.value)==null?void 0:Se.play(Ae)},3e3)):(clearInterval(k[Ae]),(le=f.value)==null||le.pause(Ae),(he=f.value)==null||he.scrub(0,Ae))}Ne(()=>b.value&&R.value,Ae=>se(s.radar,Ae)),Ne(()=>y.value&&R.value,Ae=>se(s.smallDots,Ae)),Ne(()=>w.value&&R.value,Ae=>se(s.largeDot,Ae)),Ne(()=>A.value&&R.value,Ae=>se(s.whiteDot,Ae));function q(){var Ie;const Ae=Je.lvh,be=L.scrollSubPixel/Ae,ie=pr.mobile.time.approachStart,le=[ie,ie+4.2],he=ie+4.8,Se=B.main;if(z.value=gt(be,le[0],he),z.value){(Ie=Se.timeline)==null||Ie.progress(je(be,le[0],le[1]));const j=Ms(je(be,le[0]+.8,le[0]),.2)*Ae*.5;_.value.style.translate=`0px ${j}px`;const P=Ms(je(be,he-1,he),.2)*-Ae;M.value.style.translate=`0px ${P}px`}}function pe(){const Ae=Je.lvh;L.scrollSubPixel/Ae;const{indexEased:be}=$;ne.value=Math.round(be);for(let ie=0;ie<F.length;ie++){let le=F[ie];const he=0;let Se=Math.min(be,2)*-Ae;Se+=ie*Ae,le.style.translate=`${he}px ${Se}px`,le=H[ie];const Ie=je(be,ie-.4,ie-.25);le.style.opacity=Ie}}function Te(){V.value&&(q(),z.value&&pe())}function _e(){z.value&&oe()}function ye(){Te()}return Ne(()=>L.scrollSubPixel,()=>{Te()}),Cn(ye),So(_e),Ct(()=>{Lt(()=>{V.value=!0,W(),Te()})}),Vt(()=>{V.value=!1}),(Ae,be)=>{var le;const ie=_E;return ae(),me("div",{ref_key:"rootRef",ref:M,class:st(["HomeApproach",{visible:ge(z)}])},[ge(a)?(ae(),me("div",{key:0,ref_key:"riveParentRef",ref:_,class:"HomeApproach-rive-container"},[Ve(ie,{ref_key:"rivePlayerRef",ref:f,"src-all":ge(a),"log-instance":!1,autoplay:!0,onLoad:x},null,8,["src-all"])],512)):bt("",!0),ge(a)?(ae(),me("div",UF,[(le=ge(o))!=null&&le.length?(ae(),me("div",jF,[(ae(!0),me(Ye,null,ut(ge(o),(he,Se)=>(ae(),me("div",{ref_for:!0,ref:Ie=>F[Se]=Ie,key:`chapter-${Se}`,class:"HomeApproach-chapter"},[J("div",WF,[he.title?(ae(),me("div",{key:0,ref_for:!0,ref:Ie=>Ie,class:"HomeApproach-title"},We(he.title),513)):bt("",!0),he.subtitle?(ae(),me("div",{key:1,ref_for:!0,ref:Ie=>Ie,class:"HomeApproach-subtitle"},We(he.subtitle),513)):bt("",!0),he.body?(ae(),me("div",{key:2,ref_for:!0,ref:Ie=>H[Se]=Ie,class:"HomeApproach-body"},We(he.body),513)):bt("",!0)])]))),128))],512)):bt("",!0)])):bt("",!0)],2)}}},qF=_t(zF,[["__scopeId","data-v-7c969422"]]),GF={class:"InlineVideo"},YF=["src"],KF=["src"],XF={__name:"InlineVideo",props:{videoUrl:{type:String,required:!0},webmUrl:{type:String,required:!1},imageUrl:{type:String,required:!0},fallbackToStatic:{type:Boolean,default:!1}},emits:["imgload","videoplay"],setup(t,{expose:e,emit:n}){const r=t,i=n,o={imgLoaded:"imgload",videoPlaying:"videoplay"};let s;const a=U(null),u=U(null),c=U(!1),h=U(!1),l=U(!1),{gsap:d}=gn();function f(){c.value=!0,i(o.imgLoaded)}async function _(){try{await s.play()}catch(y){console.warn("Autoplay failed:",y)}}Ne(()=>r.fallbackToStatic,y=>{y?u.value&&(d.killTweensOf(u.value),d.set(u.value,{autoAlpha:1})):u.value&&(d.killTweensOf(u.value),d.set(u.value,{autoAlpha:0}))}),Ne(()=>h.value&&u.value,y=>{y&&(i(o.videoPlaying),d.to(u.value,{duration:.2,autoAlpha:0}))});const g=xe(()=>{const y=lt.android||lt.windows,w=r.webmUrl||r.videoUrl;return y?w:r.videoUrl});function b(){!h.value&&s&&s.currentTime>0&&(h.value=!0,s==null||s.removeEventListener("timeupdate",b))}return Ct(()=>{Lt(()=>{l.value=!0,s=a.value,s==null||s.addEventListener("timeupdate",b),s&&_()})}),Vt(()=>{l.value=!1,s==null||s.removeEventListener("timeupdate",b)}),e({isImgLoaded:c,isVideoPlaying:h}),(y,w)=>(ae(),me("div",GF,[t.fallbackToStatic?bt("",!0):(ae(),me("video",{key:0,ref_key:"videoRef",ref:a,class:"InlineVideo-video",src:ge(g),playsinline:"","webkit-playsinline":"",autoplay:"",muted:"",loop:"",disablepictureinpicture:""},null,8,YF)),J("img",{ref_key:"imageRef",ref:u,src:t.imageUrl,class:"InlineVideo-image",alt:"video placeholder",onLoad:f},null,40,KF)]))}},Nl=_t(XF,[["__scopeId","data-v-7582a48d"]]),QF={__name:"KeyAreasBtnLabel",props:{currentIndex:{type:Number,default:0},itemIndex:{type:Number,default:0},label:{type:String,default:"this is default"}},setup(t,{expose:e}){const n=t,{gsap:r}=gn(),i=U(null),o=U(!1),s=[];let a,u=20;const c=xe(()=>{var b;return(b=n.label)==null?void 0:b.split(" ")}),h=xe(()=>n.itemIndex===n.currentIndex,{});Ne(()=>h.value&&o.value,b=>{!b&&l(),b&&d()},{immediate:!0});function l(){if(!o.value)return;a==null||a.kill(),a=r.timeline(),a.to(s,{duration:.5,stagger:.05,y:-u,ease:"sine.in"})}function d(){if(!o.value)return;a==null||a.kill(),a=r.timeline();const b=a,y="sine.out";b.set(s,{y:u}),b.to(s,{delay:.1,duration:.5,stagger:.05,y:0,ease:y})}function f(){i.value&&(u=i.value.getBoundingClientRect().height*2)}Cn(f);function _(){h.value||r.set(s,{y:u})}Ct(()=>{Lt(()=>{o.value=!0,f(),_()})}),Vt(()=>{o.value=!1});function g(){var b;return((b=i.value)==null?void 0:b.getBoundingClientRect().width)||-1}return e({getLabelWidth:g}),(b,y)=>(ae(),me("div",{class:st(["KeyAreasBtnLabel",{isCurrentIndex:ge(h)}])},[J("div",{ref_key:"labelRef",ref:i,class:"KeyAreasBtnLabel-label"},[(ae(!0),me(Ye,null,ut(ge(c),(w,A)=>(ae(),me("div",{key:`KeyAreasBtnLabel-word-${A}`,ref_for:!0,ref:k=>s[A]=k,class:"KeyAreasBtnLabel-word"},We(w),1))),128))],512)],2))}},JF=_t(QF,[["__scopeId","data-v-e196f883"]]),ZF={class:"KeyAreasBtn-labels-wrap"},e4={class:"KeyAreasBtn-labels"},t4={class:"KeyAreasBtn-labels-wrap"},n4={class:"KeyAreasBtn-labels"},r4={__name:"KeyAreasBtn",props:{labelIndex:{type:Number,default:0},areas:{type:Array,default:[]}},setup(t){const e=t,n=Pl(),r=wn(),i=vi(),{gsap:o}=gn(),s=[],a=U(null),u=U(null),c=U(null),h=U(null),l=U(null),d=U(!1),f=U(!1),_=U(!1),g={roll:{timeline:null},width:{timeline:null}};function b(){const K=Je.lvh,B=r.scrollSubPixel/K,W=pr.desktop.time.keyAreaStart;if(d.value=gt(B,W+3,W+10.5),d.value){let oe,se;gt(B,W+2.8,W+3.3)?(se=mc(je(B,W+3.2,W+2.9))*K*.15,oe=zo(je(B,W+2.9,W+3.2))):oe=1,u.value.style.translate=`0px ${se}px`,u.value.style.opacity=oe;const q=Rl(je(B,W+9.5,W+10.5))*K*.13;a.value.style.translate=`0px ${q}px`}}function y(){f.value=!0}function w(){f.value=!1}function A(K){var W;return(W=s[K])==null?void 0:W.getLabelWidth()}const k=U(270);Ne(k,K=>{_.value&&(c.value.style.width=`${K}px`,l.value.style.width=`${K}px`)});function R(K){var oe;const B=g.roll;(oe=B.timeline)==null||oe.kill(),B.timeline=o.timeline(),B.timeline.to(k,{value:K,duration:.3,ease:"sine.inOut"},.1)}function x(){const K=H.value;if(K>-1){const B=A(K),W=Je.landscape?56:32,oe=Math.max(B+W,140);R(oe)}}function L(){var B;const K=g.roll;(B=K.timeline)==null||B.kill(),K.timeline=o.timeline(),K.timeline.set(h.value,{y:"100%"},0),K.timeline.to(h.value,{duration:.45,ease:"sine.inOut",y:0},.01)}function F(K=.45){var W;const B=g.roll;(W=B.timeline)==null||W.kill(),B.timeline=o.timeline(),B.timeline.to(h.value,{duration:K,ease:"sine.inOut",y:"-100%"})}const H=xe(()=>f.value?-1:e.labelIndex,{});Ne(H,K=>{x()});const V=xe(()=>f.value?e.labelIndex:-1,{});Ne(f,K=>{lt.touchScreen||(K&&L(),!K&&F())});const ne=xe(()=>{var K,B;if((K=e.areas)!=null&&K.length){const W=Ii(e.labelIndex,0,e.areas.length-1);return((B=e.areas[W])==null?void 0:B.url)||"no modal url"}return""});function $(){if(ne.value.startsWith("/")){n.push(ne.value);return}i.setModalState(di.CONTENT+ne.value)}function M(){_.value&&b()}function z(){d.value=!1,F(0),M(),x()}return Ne(()=>r.scrollSubPixel,()=>{M()}),Ct(()=>{Lt(()=>{_.value=!0,z()})}),Vt(()=>{_.value=!1,jr(g)}),(K,B)=>{const W=JF;return ae(),me("div",{ref_key:"rootRef",ref:a,class:st(["KeyAreasBtn",{visible:ge(d)}])},[J("div",{ref_key:"btnRef",ref:u,class:"KeyAreasBtn-btn",onMouseover:y,onMouseout:w},[J("div",{ref_key:"greenBgRef",ref:l,class:"KeyAreasBtn-bg green"},null,512),J("div",ZF,[J("div",e4,[(ae(!0),me(Ye,null,ut(t.areas,(oe,se)=>(ae(),Kt(W,{key:`KeyAreasBtn-label-${se}`,ref_for:!0,ref:q=>s[se]=q,label:oe.label,"current-index":ge(H),"item-index":se},null,8,["label","current-index","item-index"]))),128))])]),J("div",{ref_key:"rollParentBgRef",ref:c,class:"KeyAreasBtn-bg masked"},[J("div",{ref_key:"rollWhiteBgRef",ref:h,class:"KeyAreasBtn-bg white"},null,512)],512),J("div",t4,[J("div",n4,[(ae(!0),me(Ye,null,ut(t.areas,(oe,se)=>(ae(),Kt(W,{key:`KeyAreasBtn-label-${se}`,ref_for:!0,ref:q=>q,label:oe.label,"current-index":ge(V),"item-index":se},null,8,["label","current-index","item-index"]))),128))])]),J("button",{class:"KeyAreasBtn-link",onClick:$})],544)],2)}}},EE=_t(r4,[["__scopeId","data-v-c25791e6"]]),i4=["innerHTML"],o4={__name:"KeyAreasOutroMo",props:{block:{type:Object,required:!0,default:()=>({})}},setup(t){const e=t,n=wn(),r=xe(()=>e.block.content.outro),i=U(!1),o=U(null),s=[],a=xe(()=>{var w,A;let y=((A=(w=r.value)==null?void 0:w.title)==null?void 0:A.split(`
`))||[];return y=y.map(k=>Hl(["code","em"],k)),y}),u=U(null),c=U(null),h=U(!1),{gsap:l}=gn(),d={main:{timeline:null}};function f(){const y=d.main;y.timeline=l.timeline({paused:!0}),bE({timeline:y.timeline,lineElementsArray:s})}function _(){var x;const y=Je.lvh,w=n.scrollSubPixel/y,A=pr.mobile.time.keyAreaStart,k=d.main;h.value=gt(w,A+6,A+10.5),h.value&&((x=k.timeline)==null||x.progress(je(w,A+8.4,A+8.8)));const R=Rl(je(w,A+9.5,A+10.5))*y*.13;c.value.style.translate=`0px ${R}px`}function g(){i.value&&_()}function b(){g()}return Ne(()=>n.scrollSubPixel,()=>{g()}),Cn(b),Ct(()=>{Lt(()=>{i.value=!0,f(),g()})}),Vt(()=>{i.value=!1}),(y,w)=>(ae(),me("div",{ref_key:"rootRef",ref:u,class:st(["KeyAreasOutro",{visible:ge(h)}])},[J("div",{ref_key:"contentRef",ref:c,class:"KeyAreasOutro-inner"},[J("div",{ref_key:"titleRef",ref:o,class:"KeyAreasOutro-title"},[(ae(!0),me(Ye,null,ut(ge(a),(A,k)=>(ae(),me("div",{ref_for:!0,ref:R=>s[k]=R,key:`titleLine-${k}`,innerHTML:A},null,8,i4))),128))],512)],512)],2))}},s4=_t(o4,[["__scopeId","data-v-498ebf65"]]);class or{constructor(){Le(this,"width",1e3);Le(this,"height",1e3);Le(this,"top",0);Le(this,"left",0)}get right(){return this.left+this.width}get bottom(){return this.top+this.height}updateFromElement(e){if(e){const n=e.getBoundingClientRect();this.width=n.width,this.height=n.height,this.top=n.top,this.left=n.left}}static clipPathInsetFromRects(e,n){const r={top:e.top-n.top,left:e.left-n.left,right:n.right-e.right,bottom:n.bottom-e.bottom};return`inset(${r.top}px ${r.right}px ${r.bottom}px ${r.left}px)`}}const a4={class:"KeyAreas-title-wrap"},l4={ref:"titleMaskedRef",class:"KeyAreas-title"},u4=["innerHTML"],c4={key:0,class:"KeyAreas-rect-wrap"},f4={class:"KeyAreas-video"},d4={class:"KeyAreas-content-wrap"},h4={class:"KeyAreas-content unmasked"},p4={class:"KeyAreas-content"},m4={class:"KeyAreas-content-body-inner"},g4={class:"KeyAreas-content-eyebrow"},_4={__name:"KeyAreasMo",props:{block:{type:Object,required:!0,default:()=>({})}},emits:["load"],setup(t,{emit:e}){const n=t,r=e,i=U(!1);let o=0;Ne(()=>i.value,P=>{P&&r("load")},{immediate:!0});const s=vi(),a=wn(),{gsap:u}=gn(),c=U(!1),h=[],l=[],d=[],f=U(null),_=U(null),g=U(null),b=U(null),y=U(null),w=U(0),A=U(null),k=U(!1),R=xe(()=>s.lowFPS),x=U(!1);Ne(x,P=>{const Y=[_.value,g.value];Y[0]&&Y[1]&&Y.forEach(ee=>{ee.style.visibility=P?"visible":"hidden"})});const L={title:{timeline:null,bisection:.5},areas:{timeline:null}},F=xe(()=>n.block),H=xe(()=>{var P;return(P=F.value)==null?void 0:P.content.areas}),V=xe(()=>{var P;return(P=F.value)==null?void 0:P.content.main.title}),ne=xe(()=>{var Y;let P=((Y=V.value)==null?void 0:Y.split(`
`))||[];return P=P.map(ee=>Hl(["code","em"],ee)),P}),$=U(""),M=U(""),z=U("");class K{constructor(Y=0,ee=0){Le(this,"clusterRectScale",1);Le(this,"clusterOverShoot",-1);Le(this,"clusterRadius",0);Le(this,"stackLerp",0);Le(this,"clusterRect",null);Le(this,"stackRect",null);Le(this,"outputRect",null);Le(this,"clusterIndex",0);Le(this,"index",0);Le(this,"wanderData",{});this.index=0,this.clusterIndex=ee,this.clusterRect=new or,this.stackRect=new or,this.outputRect=new or,this.wanderData=cr(Y)}}const B={areaIndex:0,areaTitleIndex:-1,areas:[new K(0,3),new K(1,3),new K(2,2),new K(3,1),new K(4,0),new K(5)]},W=xe(()=>{var ee,X;const P=[];(ee=H.value)==null||ee.forEach(C=>{P.push({label:C.button,url:C.url})});const Y=(X=F.value)==null?void 0:X.content.outro;return P.push({label:Y.button,url:Y.url}),P}),oe=U(0);function se(){var Y,ee;jr(L);let P=L.title;(Y=P.timeline)==null||Y.kill(),P.timeline=u.timeline({paused:!0}),P.bisection=gh({timeline:P.timeline,lineElementsArray:h,x:50}),P=L.areas,(ee=P.timeline)==null||ee.kill(),P.timeline=u.timeline({paused:!0}),B.areas.forEach((X,C)=>{const{clusterIndex:G}=X;P.timeline.set(X,{clusterRadius:0,stackLerp:0,clusterRectScale:1.7,clusterOverShoot:-3},0);const I=G*.08;P.timeline.to(X,{clusterRectScale:1,duration:1,ease:"power3.inOut"},1+I),P.timeline.to(X,{clusterRadius:1,duration:1,ease:"power3.inOut"},1+I),P.timeline.set(X,{clusterOverShoot:-1},.8),P.timeline.to(X,{clusterOverShoot:0,duration:.6,ease:"sine.inOut"},1+I),P.timeline.to(X,{stackLerp:1,duration:1.4,ease:"power2.inOut"},3.4-C*.05),P.timeline.set(B,{areaIndex:0,areaTitleIndex:-1},0),P.timeline.set(x,{value:!1},3.5),P.timeline.set(x,{value:!0},4.1);const D="sine.inOut";C===0&&P.timeline.to(B,{duration:1,areaTitleIndex:C,ease:D},3.5+.05),C>0&&(P.timeline.to(B,{duration:1,areaIndex:C,ease:D},4.5+C*1.25),P.timeline.to(B,{duration:1,areaTitleIndex:C,ease:D},4.5+C*1.25+.05))})}const q=new or,pe=new or;function Te(){const P=Je.lvh,Y=Je.ww,ee=Math.round(B.areaTitleIndex),X=ee-B.areaTitleIndex,C=Ii(ee,0,4);w.value=Ii(ee,0,4),oe.value=Ii(ee,0,5);const G=B.areas[C],I=H.value[C];$.value=(I==null?void 0:I.title)||"",M.value=(I==null?void 0:I.body)||"",z.value=(I==null?void 0:I.emission)||"";const D=G.outputRect;q.width=Y,q.height=P,pe.width=D.width,pe.height=D.height,pe.left=D.x-D.width*.5,pe.top=D.y-D.height*.5,f.value.style.clipPath=or.clipPathInsetFromRects(pe,q);let Z=0,fe=pe.top+Y*.04;fe+=P*.15*je(Math.max(X,0),.01,.5);let ue=1-zo(je(Math.abs(X),.25,.45));_.value.style.translate=`${Z}px ${fe}px`,_.value.style.opacity=ue,g.value.style.translate=`${Z}px ${fe}px`,g.value.style.opacity=ue,Z=0,fe=P+P*X*.8,ue=1-zo(je(Math.abs(X),.07,.2)),ue=ee<0||ee>4?0:ue,y.value.style.translate=`${Z}px ${fe}px`,y.value.style.opacity=ue}function _e(){const P=Je.svh,Y=Je.ww,ee=121,X=48,C=11,G=P-(ee+X),I=Y-C*2;return{top:ee,height:G,width:I,pad:C,base:X}}const ye=[375,667],Ae={x:0,y:0};function be(P,Y,ee){const X=Y[0]*.5+P[0],C=Y[1]*.5+P[1];return Ae.x=(X-ee[0]*.5)/ee[0],Ae.y=(C-ee[1]*.5)/ee[0],Ae}function ie(){const P=Je.svh,Y=Je.ww,ee=l,{pivot:X,rects:C}=F.value.animation.cluster;ee.forEach((G,I)=>{const D=B.areas[I],{offset:Z,rectSize:fe}=C[I],{clusterRectScale:ue,clusterRadius:S,clusterOverShoot:m,stackLerp:T,clusterRect:N,stackRect:re,outputRect:ce,wanderData:Ee}=D;N.width=fe[0]/ye[0]*ue*Y,N.height=fe[1]/ye[0]*ue*Y,N.x=X.x,N.y=X.y,N.x*=Y,N.y*=P;const De=P/Y,Pe=1-Ii(je(De,ye[1]/ye[0],0)*1.05),Be=be(Z,fe,ye);N.x+=Be.x*S*Y,N.y+=Be.y*S*Y*Pe,N.x+=m*Y*.3;let{areaIndex:Qe}=B;Qe=Math.max(Qe,0);const{top:tt,height:pt,width:mt,base:rn}=_e(),nt=P-rn*2;re.width=mt,re.height=pt,re.x=.5*Y,re.y=re.height*.5+tt+nt*I,re.y-=Qe*nt;const Ut=zo(je(Math.abs(I-Qe),1,0));re.width*=Wn(Ut,.75,1),re.height*=Wn(Ut,.75,1);const kt=T;ce.x=Wn(zo(kt),N.x,re.x),ce.y=Wn(kt,N.y,re.y),ce.width=Wn(mc(kt),N.width,re.width),ce.height=Wn(mc(kt),N.height,re.height);const dt=0;G.style.width=`${ce.width}px`,G.style.height=`${ce.height}px`,G.style.translate=`${ce.x}px ${ce.y}px ${dt}px`,d[I].style.opacity=je(T,.1,.6,0,.5,!0)})}function le(){var X,C,G;const P=Je.lvh,Y=a.scrollSubPixel/P,ee=pr.mobile.time.keyAreaStart;if(k.value=gt(Y,ee+.2,ee+10.5),k.value){let I=L.title;gt(Y,-1,ee+1.9)?(X=I.timeline)==null||X.progress(je(Y,ee+1.15,ee+1.85,0,I.bisection,!0)):(C=I.timeline)==null||C.progress(je(Y,ee+1.9,ee+2.3,I.bisection,1,!0)),I=L.areas,(G=I.timeline)==null||G.progress(je(Y,ee-.5,ee+9));const D=Rl(je(Y,ee+9.5,ee+10.5))*-P;A.value.style.translate=`0px ${D}px`}}function he(){c.value&&(le(),k.value&&(ie(),Te()))}function Se(){}function Ie(){he()}Ne(()=>a.scrollSubPixel,()=>{he()}),Cn(Ie),So(Se),Ct(()=>{Lt(()=>{c.value=!0,se(),he()})}),Vt(()=>{var Y;o=0,(Y=L.title.timeline)==null||Y.kill()});function j(){var Y;o++;const P=(Y=H.value)==null?void 0:Y.length;i.value=P>0&&o===P}return(P,Y)=>{const ee=s4,X=EE,C=Nl;return ae(),me("div",{ref_key:"rootRef",ref:A,class:st(["KeyAreas",{visible:ge(k)}])},[Ve(ee,{block:t.block},null,8,["block"]),Ve(X,{"label-index":ge(oe),areas:ge(W)},null,8,["label-index","areas"]),J("div",a4,[J("div",l4,[(ae(!0),me(Ye,null,ut(ge(ne),(G,I)=>(ae(),me("div",{ref_for:!0,ref:D=>h[I]=D,key:`line-${I}`,innerHTML:G},null,8,u4))),128))],512)]),ge(H)?(ae(),me("div",c4,[(ae(!0),me(Ye,null,ut(ge(H),(G,I)=>(ae(),me("div",{ref_for:!0,ref:D=>l[I]=D,key:`area-${I}`,class:"KeyAreas-area"},[J("div",f4,[Ve(C,{"image-url":G.imageSrc,"video-url":G.src,"fallback-to-static":ge(R),onImgload:j},null,8,["image-url","video-url","fallback-to-static"]),J("div",{ref_for:!0,ref:D=>d[I]=D,class:"KeyAreas-video-gradient"},null,512)])]))),128))])):bt("",!0),J("div",d4,[J("div",h4,[J("h2",{ref_key:"unmaskedTitleRef",ref:_,class:"KeyAreas-content-title"},We(ge($)),513)]),J("div",{ref_key:"maskedRef",ref:f,class:"KeyAreas-content masked"},[J("div",{ref_key:"maskedTitleRef",ref:g,class:"KeyAreas-content-title"},We(ge($)),513)],512),J("div",p4,[J("div",{ref_key:"maskedBodyWrapRef",ref:y,class:"KeyAreas-content-body-wrap"},[J("div",m4,[J("div",g4,We(ge(z)),1),J("div",{ref_key:"maskedBodyRef",ref:b,class:"KeyAreas-content-body"},We(ge(M)),513)])],512)])])],2)}}},v4=_t(_4,[["__scopeId","data-v-c690cc61"]]),y4={fill:"none",viewBox:"0 0 41 40",xmlns:"http://www.w3.org/2000/svg"};function b4(t,e){return ae(),me("svg",y4,e[0]||(e[0]=[J("path",{d:"m14.6501 8.90342c-.1667-.13333-.3667-.16666-.5667-.16666-.1667 0-.3333.03333-.5.13333-.3333.16667-.5667.53333-.5667.9v21.03331c0 .4.2.7334.5667.9.3333.1667.7333.1667 1.0667-.0666l16.8333-11.3667zm2.0333 5.73338 8.3333 5.6333-8.3333 5.6333z",fill:"currentColor"},null,-1)]))}const kE={render:b4},w4={class:"icon-plus",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 6 6",fill:"none"};function S4(t,e){return ae(),me("svg",w4,e[0]||(e[0]=[J("path",{d:"M6 3L3.12201e-08 3",stroke:"currentColor","stroke-width":"0.666667","stroke-miterlimit":"10"},null,-1),J("path",{d:"M3 6L3 0",stroke:"currentColor","stroke-width":"0.666667","stroke-miterlimit":"10"},null,-1)]))}const AE={render:S4},T4=["innerHTML"],E4={ref:"videoSectionRef",class:"HomeQuote-video-section"},k4={ref:"videoTitlesRef",class:"HomeQuote-video-titles"},A4={class:"HomeQuote-video-play"},R4=["src"],C4={__name:"HomeQuoteMo",props:{block:{type:Object,required:!0,default:()=>({})}},emits:["load"],setup(t,{emit:e}){const n=t,r=e,i=lt.href.includes("debug-quote-video");let o=0;const s=wn(),a=vi(),u=mr(),c=xe(()=>n.block),h=xe(()=>{if(i)return!1;const z=a.modalState===di.VIDEO;return a.lowFPS||z}),l=U(!1),d=U(null),f=[],_=xe(()=>{var K,B;let z=((B=(K=c.value)==null?void 0:K.title)==null?void 0:B.split(`
`))||[];return z=z.map(W=>Hl(["code","em"],W)),z}),g=U(null),b=U(null),y=U(null),w=U(null),A=U(!1),{gsap:k}=gn(),R={title:{timeline:null}};function x(){var K;jr(R);const z=R.title;(K=z.timeline)==null||K.kill(),z.timeline=k.timeline({paused:!0}),z.bisection=gh({timeline:z.timeline,lineElementsArray:f})}function L(){var W;const z=Je.lvh,K=s.scrollSubPixel/z,B=pr.mobile.time.quoteStart;if(A.value=gt(K,B,B+2.5),A.value){const oe=R.title;(W=oe.timeline)==null||W.progress(je(K,B+.4,B+1.4,0,oe.bisection,!0));const se=Li(je(K,B+1.1,B-.2)),q=Li(je(K,B+1.2,B+2.4))*-1,pe=gt(K,0,B+1.2)?se:q;w.value.style.translate=`0px ${pe*z}px`;const Te=Math.max(se,0),_e=Math.max(Te*z*.07,0);i||(g.value.style.clipPath=`inset(${_e}px ${_e}px ${_e}px ${_e}px)`);const ye=pe*-z*.13;b.value.style.translate=`0px ${ye}px`;const Ae=pe*-z*.6;y.value.style.translate=`0px ${Ae}px`}}function F(){l.value&&L()}function H(){F()}Ne(()=>s.scrollSubPixel,()=>{F()}),Cn(H);function V(){a.setVideoModalData({sources:u.getVideoSources(n.block.video.videoData),timeOffset:0}),a.setModalState(di.VIDEO)}const ne=U(!1);function $(z){ne.value=z}Ct(()=>{Lt(()=>{l.value=!0,x(),F()})}),Vt(()=>{o=0,l.value=!1});function M(){o++,o===2&&r("load")}return(z,K)=>{const B=Nl,W=AE,oe=kE,se=i_;return ge(c)?(ae(),me("div",{key:0,ref_key:"rootRef",ref:w,class:st(["HomeQuote",{visible:ge(A)}])},[J("div",{ref_key:"maskRef",ref:g,class:"HomeQuote-inner"},[J("div",{ref_key:"bgRef",ref:y,class:"HomeQuote-bg"},[Ve(B,{"image-url":ge(c).backgroundImageSrc,"video-url":ge(c).backgroundVideoSrc,"fallback-to-static":ge(h),onImgload:M},null,8,["image-url","video-url","fallback-to-static"])],512),J("div",{ref_key:"columnRef",ref:b,class:"HomeQuote-grid"},[J("div",{ref_key:"columnRef",ref:b,class:"HomeQuote-column"},[J("div",{ref_key:"titleRef",ref:d,class:"HomeQuote-title"},[(ae(!0),me(Ye,null,ut(ge(_),(q,pe)=>(ae(),me("div",{ref_for:!0,ref:Te=>f[pe]=Te,key:`titleLine-${pe}`,innerHTML:q},null,8,T4))),128))],512),J("div",E4,[J("div",k4,[J("div",{ref:"videoTitleNameRef",class:"HomeQuote-video-title"},We(ge(c).video.name),513),J("div",{ref:"videoTitleRoleRef",class:"HomeQuote-video-title green"},We(ge(c).video.role),513),Ve(W)],512),J("button",{ref:"videoWrapRef",class:"HomeQuote-video-wrap",onClick:V,onMouseenter:K[0]||(K[0]=q=>$(!0)),onMouseleave:K[1]||(K[1]=q=>$(!1))},[J("span",A4,[Ve(se,{label:"Open video modal",theme:"white-alt","not-button":!0,"manual-hover":ge(ne)},{default:Di(()=>[Ve(oe)]),_:1},8,["manual-hover"])]),J("img",{class:"HomeQuote-video-bg",src:ge(c).video.videoImageSrc,onLoad:M,alt:""},null,40,R4)],544)],512)],512)],512)],512)],2)):bt("",!0)}}},x4=_t(C4,[["__scopeId","data-v-18f28bb9"]]),P4=["width","height","viewBox"],I4=["x","y","width","height","rx","ry","stroke","stroke-width"],L4={__name:"GraphBorder",props:{width:{default:100},height:{default:100},progress:{default:0},radius:{default:3},stroke:{default:1.5}},setup(t){const e=t,n=U(!1),r=J3.KEYLINE_DARK,i=U(null);let o=1;So(()=>{n.value&&a()}),Cn(()=>{s()});function s(){if(!n.value)return;o=i.value.getTotalLength()}function a(){if(!n.value)return;const u=i.value,c=e.progress,h=Wn(c,0,o*.95),l=Wn(c,o,0),d=Wn(c,0,o*.05),f=0,_=Wn(c,-o*.27,0);u==null||u.setAttribute("stroke-dasharray",`${d} ${l} ${h} ${f}`),u==null||u.setAttribute("stroke-dashoffset",_)}return Ct(()=>{Lt(()=>{n.value=!0,s()})}),Vt(()=>{n.value=!1}),(u,c)=>(ae(),me("svg",{width:t.width,height:t.height,viewBox:`0 0 ${t.width} ${t.height}`,class:"GraphBorder",xmlns:"http://www.w3.org/2000/svg"},[J("rect",{ref_key:"borderRect",ref:i,x:t.stroke/2,y:t.stroke/2,width:t.width-t.stroke,height:t.height-t.stroke,rx:t.radius,ry:t.radius,stroke:ge(r),"stroke-width":t.stroke,fill:"none"},null,8,I4)],8,P4))}},RE=_t(L4,[["__scopeId","data-v-99ab6858"]]),O4={viewBox:"0 0 9 9",fill:"none","stroke-width":"1px",stroke:"currentColor",xmlns:"http://www.w3.org/2000/svg"};function M4(t,e){return ae(),me("svg",O4,e[0]||(e[0]=[J("path",{d:"M9 4.5L-4.0 4.5","vector-effect":"non-scaling-stroke","stroke-miterlimit":"10"},null,-1),J("path",{d:"M4.5 9L4.5 0","vector-effect":"non-scaling-stroke","stroke-miterlimit":"10"},null,-1)]))}const CE={render:M4},F4={class:"HomeImageStack-inner"},D4={class:"HomeImageStack-box"},$4={class:"HomeImageStack-box-content"},H4={class:"HomeImageStack-box-text"},N4={class:"HomeImageStack-subtitle HomeImageStack-typo"},B4=["src"],V4={class:"HomeImageStack-box-text masked"},U4={class:"HomeImageStack-subtitle HomeImageStack-typo"},j4={__name:"HomeImageStackMo",props:{block:{type:Object,required:!0,default:()=>({})}},emits:["load"],setup(t,{emit:e}){const n=t,r=e,i=wn(),o=xe(()=>n.block),s=U(!1);let a=40;const u=[],c=[],h=[],l=U(null),d=U(null),f=U(null),_=U(null),g=U(),b=U(null),y=U(!1),w=U(!1);let A=0;const k=U(!1);Ne(()=>k.value,M=>{M&&r("load")},{immediate:!0});const{gsap:R,CustomEase:x}=gn(),L={main:{timeline:null}};function F(){jr(L);const M=L.main;M.timeline=R.timeline({paused:!0});const z=x.create("custom","M0,0 C0,0.023 0,0.229 0,0.248 0,0.699 0.493,1 1,1 "),K=x.create("imgEase","M0,0 C0.36,0.521 0.624,1 1,1 ");let B=[];const W=u.length,oe=M.timeline,se=a*W;oe.set([d.value,l.value],{y:se},0),oe.set([u,c],{opacity:0},0),B=[f.value,_.value],oe.set(B,{y:a,opacity:0},0),oe.to(B,{y:0,ease:z,duration:.95},.2),oe.set(B,{opacity:1},.2);for(let q=0;q<W;q++){const pe=se-a*(q+1),Te=q<1?q+.01:q+.5,_e=z;if(B=[d.value,l.value],oe.to(B,{y:pe,duration:.95,ease:_e},Te),B=[u[q],c[q]],oe.set(B,{opacity:1},Te),q>0){const ye=h[q],Ae=K;oe.set(ye,{opacity:0,scale:1},0),oe.to(ye,{opacity:1,duration:.1},Te),oe.to(ye,{scale:1.1,duration:.95,ease:Ae},Te)}else{const ye=h[q];oe.set(ye,{opacity:1},0)}}oe.progress(.001)}function H(){var B;const M=Je.lvh,z=i.scrollSubPixel/M,K=pr.mobile.time.imageStackStart;y.value=gt(z,K,K+3.9),y.value&&((B=L.main.timeline)==null||B.progress(je(z,K+.3,K+2.2)))}function V(){s.value&&H()}function ne(){var M;a=((M=u[0])==null?void 0:M.getBoundingClientRect().height)||40,F(),V()}Ne(()=>i.scrollSubPixel,()=>{V()}),Cn(ne),Ct(()=>{Lt(()=>{var M;s.value=!0,ne(),F(),V(),Lt(ne),w.value=(M=lt.href)==null?void 0:M.includes("debug-vertical")})}),Vt(()=>{A=0,k.value=!1,s.value=!1});function $(M,z){A++;const K=o.value.stacks.length;k.value=K>0&&A===K}return(M,z)=>(ae(),me("div",{ref_key:"rootRef",ref:b,class:st(["HomeImageStack",{visible:ge(y),debugVertical:ge(w)}])},[z[1]||(z[1]=J("div",{class:"HomeImageStack-redline"},null,-1)),J("div",F4,[J("div",D4,[J("div",$4,[J("div",H4,[J("div",{ref_key:"labelsRef",ref:d,class:"HomeImageStack-labels HomeImageStack-typo"},[(ae(!0),me(Ye,null,ut(ge(o).stacks,(K,B)=>(ae(),me("div",{ref_for:!0,ref:W=>u[B]=W,key:`label-${B}`,class:"HomeImageStack-label"},We(K.label),1))),128))],512),J("div",N4,[J("div",{ref_key:"subtitleRef",ref:f,class:"HomeImageStack-label"},We(ge(o).subtitle),513)])]),J("div",{ref_key:"imagesRef",ref:g,class:"HomeImageStack-images"},[(ae(!0),me(Ye,null,ut(ge(o).stacks,(K,B)=>(ae(),me("img",{ref_for:!0,ref:W=>h[B]=W,key:`image-${B}`,class:"HomeImageStack-image",src:K.imageSrc,onLoad:z[0]||(z[0]=W=>$(W,M.image)),alt:""},null,40,B4))),128))],512),J("div",V4,[J("div",{ref_key:"labelsMaskedRef",ref:l,class:"HomeImageStack-labels HomeImageStack-typo"},[(ae(!0),me(Ye,null,ut(ge(o).stacks,(K,B)=>(ae(),me("div",{ref_for:!0,ref:W=>c[B]=W,key:`label-masked--${B}`,class:"HomeImageStack-label white"},We(K.label),1))),128))],512),J("div",U4,[J("div",{ref_key:"subtitleMaskedRef",ref:_,class:"HomeImageStack-label green"},We(ge(o).subtitle),513)])])])])])],2))}},W4=_t(j4,[["__scopeId","data-v-9426fd8e"]]),z4={desktop:{title:"THE OPPORTUNITY AHEAD",body1:`The world’s demand for
energy will more than
double by 2050.`,body2:`Innovation must meet
rising needs without
compromise to people
and planet.`,maximum1:"66k TWh",maximum2:"in 2050",minimum1:"26k TWh",minimum2:"in 2023"}},q4={class:"HomeGraph-sidetitle-wrap"},G4={class:"HomeGraph-inner"},Y4={class:"HomeGraph-box"},K4={class:"HomeGraph-text"},X4={class:"HomeGraph-text text2"},Q4={class:"HomeGraph-value-labels"},J4={class:"HomeGraph-value-labels"},Z4={__name:"HomeGraphMo",props:{block:{type:Object,required:!0,default:()=>({})},blockStack:{type:Object,required:!0,default:()=>({})}},emits:["load"],setup(t,{emit:e}){const n=t,r=e,i=wn(),o=xe(()=>n.block),s=U(null),a=U(null),u=U(null),c=U(null),h=U(null),l=U(null),d=U(null),f=U(0),_=U(300),g=U(300),b=U(null),y=U(null),w=U(null),A=U(null),k=U(null),R=U(null),x=U(null),L=U(null),F=U(null),H=U(null),V=U(null),ne=U(null),$=U(null),M=U(null),z=U(null),K=U(null),B=U(null),W=U(null),oe=U(null),se=U(null),q=[],pe=[],Te=xe(()=>{var ee,X;return((X=(ee=o.value)==null?void 0:ee.body1)==null?void 0:X.split(`
`))||[]}),_e=xe(()=>{var ee,X;return((X=(ee=o.value)==null?void 0:ee.body2)==null?void 0:X.split(`
`))||[]}),ye=U(!1),Ae=U(null),be=U(!1),{gsap:ie}=gn(),le={main:{timeline:null}};function he(){jr(le);const ee=le.main;ee.timeline=ie.timeline({paused:!0});const X=ee.timeline;let C=[];C=s.value,X.set(C,{y:"100svh"},0),X.to(C,{duration:.75,y:"42.4svh",ease:"sine.out"},.001),X.to(C,{duration:.65,y:0,ease:"sine.in"},1.2),X.set(C,{y:0},3),C=a.value,X.set(C,{scale:.7,y:"75svh"},0),X.to(C,{duration:.75,scale:1,y:0,ease:"sine.out"},.05),X.set(f,{value:0},0),X.to(f,{value:1,duration:1,ease:"sine.out"},.1);const G=.9;C=[W.value,oe.value],X.set(C,{opacity:0},0),X.to(C,{opacity:1,duration:0,ease:"sine.out"},G),C=l.value,X.set(C,{x:20,opacity:0},0),X.to(C,{x:0,opacity:1,duration:.5,ease:"sine.out"},.5);function I({start:fe=.6,parent:ue,barHorz:S,barVertArray:m,labelArray:T}={}){C=ue,X.set(C,{x:"-5cqw"},0),X.to(C,{x:0,duration:.4,ease:"sine.out"},fe),C=S,X.set(C,{x:-10,scaleX:.5,opacity:0},0),X.to(C,{x:0,scaleX:1,duration:.35,ease:"sine.out"},fe),X.set(C,{opacity:1},fe),C=m,X.set(C,{opacity:0},0),X.set(C,{opacity:1},fe),C=T,X.set(C,{opacity:0,x:-10},0),X.to(C,{x:0,duration:.35,ease:"sine.out"},fe+.15),X.set(C,{opacity:1},fe+.2)}I({start:.5,parent:y.value,barHorz:A.value,barVertArray:[k.value,R.value],labelArray:[x.value,L.value]}),C=F.value,X.set(C,{x:-10,scaleX:0,opacity:0},0),X.to(C,{x:0,scaleX:1,duration:.5,ease:"sine.out"},.75),X.set(C,{opacity:1},.7),C=H.value,X.set(C,{x:-10,scaleX:0,opacity:0},0),X.to(C,{x:0,scaleX:1,duration:.5,ease:"sine.out"},.85),X.set(C,{opacity:1},.8),I({start:.75,parent:V.value,barHorz:$.value,barVertArray:[M.value,z.value],labelArray:[K.value,B.value]}),C=q,Fd({timeline:X,lineElementsArray:C,lineDuration:.3,startTime:.7}),SE({timeline:X,lineElementsArray:C,lineDuration:.3,startTime:1.35}),C=pe,Fd({timeline:X,lineElementsArray:C,lineDuration:.3,startTime:2.1}),C=se.value,X.set(C,{y:"100cqh"},0);const D="67cqh",Z="25.5cqh";X.to(C,{y:D,duration:.75,ease:"sine.out"},.3),X.to(C,{y:Z,duration:0,ease:"sine.inOut"},1.75),C=c.value,X.set(C,{y:"100cqh"},0),X.to(C,{y:D,duration:.75,ease:"sine.out"},.3),X.to(C,{y:Z,duration:1,ease:"sine.inOut"},1.25),C=h.value,X.set(C,{autoAlpha:1},0)}function Se(){var G;const ee=Je.lvh,X=i.scrollSubPixel/ee,C=pr.mobile.time.graphStart;if(be.value=gt(X,C,C+5.95),be.value){(G=le.main.timeline)==null||G.progress(je(X,C,C+2.15));const D=Li(je(X,C+4.45,C+5.75))*-1;Ae.value.style.translate=`0px ${D*ee}px`;const Z=Li(je(X,C+2.15,C+2.65)),fe=ee*.65,ue=Wn(Z,0,fe);u.value.style.clipPath=`inset( -2px -2px ${ue}px -2px )`;const S=Li(je(X,C+2.75,C+2.55));d.value.style.opacity=S;const m=Li(je(X,C+2.35,C+2.15));b.value.style.opacity=m}}function Ie(){const{svh:ee,ww:X}=Je;_.value=Math.max(50,Math.min(.584*ee,.589*X)),g.value=Math.max(100,.5967*ee)}function j(){ye.value&&Se()}function P(){he(),Ie(),j()}Ne(()=>i.scrollSubPixel,()=>{j()}),Cn(P),Ct(()=>{Lt(()=>{ye.value=!0,he(),j()})}),Vt(()=>{ye.value=!1});function Y(){r("load")}return(ee,X)=>{const C=W4,G=CE,I=RE;return ae(),me("div",{ref_key:"rootRef",ref:Ae,class:st(["HomeGraph",{visible:ge(be)}])},[J("div",{ref_key:"bgRef",ref:s,class:"HomeGraph-bg"},null,512),J("div",q4,[J("div",{ref_key:"sideTitleRef",ref:l,class:"HomeGraph-sidetitle"},We(ge(o).title),513)]),Ve(C,{block:t.blockStack,onLoad:Y},null,8,["block"]),J("div",G4,[J("div",{ref_key:"boxRef",ref:a,class:"HomeGraph-box-wrap"},[J("div",Y4,[J("div",{ref_key:"cornerCrossTLRef",ref:W,class:"HomeGraph-box-corner tl"},[Ve(G)],512),J("div",{ref_key:"cornerCrossBRRef",ref:oe,class:"HomeGraph-box-corner br"},[Ve(G)],512),J("div",{ref_key:"boxContentRef",ref:u,class:"HomeGraph-box-content"},[J("div",{ref_key:"boxWhiteBGRef",ref:h,class:"HomeGraph-box-content-bg white"},null,512),J("div",{ref_key:"boxGreenBGRef",ref:c,class:"HomeGraph-box-content-bg"},null,512),J("div",{ref_key:"titleRef",ref:se,class:"HomeGraph-text-wrap"},[J("div",K4,[(ae(!0),me(Ye,null,ut(ge(Te),(D,Z)=>(ae(),me("div",{ref_for:!0,ref:fe=>q[Z]=fe,key:`title1Line-${Z}`},We(D),1))),128))]),J("div",X4,[(ae(!0),me(Ye,null,ut(ge(_e),(D,Z)=>(ae(),me("div",{ref_for:!0,ref:fe=>pe[Z]=fe,key:`title2Line-${Z}`},We(D),1))),128))])],512)],512),J("div",{ref_key:"valuesRef",ref:b,class:"HomeGraph-box-values"},[J("div",{ref_key:"values1Ref",ref:y,class:"HomeGraph-value top"},[J("div",{ref_key:"values1BarRef",ref:w,class:"HomeGraph-value-bar"},[J("div",{ref_key:"values1BarHorzRef",ref:A,class:"HomeGraph-value-bar-horz"},null,512),J("div",{ref_key:"values1BarVertLeftRef",ref:k,class:"HomeGraph-value-bar-vert left"},null,512),J("div",{ref_key:"values1BarVertRightRef",ref:R,class:"HomeGraph-value-bar-vert right"},null,512)],512),J("div",Q4,[J("div",{ref_key:"values1Label1",ref:x,class:"HomeGraph-value-label top"},We(ge(o).maximum1),513),J("div",{ref_key:"values1Label2",ref:L,class:"HomeGraph-value-label base"},We(ge(o).maximum2),513)])],512),J("div",{ref_key:"valuesMid1Ref",ref:F,class:"HomeGraph-value-mid"},null,512),J("div",{ref_key:"valuesMid2Ref",ref:H,class:"HomeGraph-value-mid"},null,512),J("div",{ref_key:"values2Ref",ref:V,class:"HomeGraph-value base"},[J("div",{ref_key:"values2BarRef",ref:ne,class:"HomeGraph-value-bar"},[J("div",{ref_key:"values2BarHorzRef",ref:$,class:"HomeGraph-value-bar-horz"},null,512),J("div",{ref_key:"values2BarVertLeftRef",ref:M,class:"HomeGraph-value-bar-vert left"},null,512),J("div",{ref_key:"values2BarVertRightRef",ref:z,class:"HomeGraph-value-bar-vert right"},null,512)],512),J("div",J4,[J("div",{ref_key:"values2Label1",ref:K,class:"HomeGraph-value-label top"},We(ge(o).minimum1),513),J("div",{ref_key:"values2Label2",ref:B,class:"HomeGraph-value-label base"},We(ge(o).minimum2),513)])],512)],512)]),J("div",{ref_key:"boxBorderRef",ref:d,class:"HomeGraph-box-border"},[Ve(I,{width:ge(_),height:ge(g),progress:ge(f),radius:2,stroke:.75},null,8,["width","height","progress"])],512)],512)])],2)}}},eD=_t(Z4,[["__scopeId","data-v-6f4e13e6"]]),tD="/assets/mediaswirl-1@2x-BnmEsBkb.webp",nD="/assets/mediaswirl-2@2x-Cj07mDi-.webp",rD="/assets/mediaswirl-3@2x-HAT8tFyE.webp",iD="/assets/mediaswirl-4@2x-Dqbow5UR.webp",oD="/assets/mediaswirl-5@2x-D3af6shk.webp",sD="/assets/mediaswirl-6@2x-soDYuKkW.webp",aD="/assets/mediaswirl-7@2x-BWMLbOS2.webp",lD="/assets/mediaswirl-8@2x-DmLJDpg0.webp",uD="/assets/mediaswirl-9@2x-DPL8GeNt.webp",cD="/assets/mediaswirl-10@2x-BHrUQZCI.webp",fD="/assets/mediaswirl-11@2x-BG58g1Ow.webp",dD="/assets/mediaswirl-12@2x-DoAy-BYk.webp",hD="/assets/mediaswirl-13@2x-DImtqJBE.webp",pD="/assets/mediaswirl-14@2x-BM3rNPwo.webp",mD="/assets/mediaswirl-15@2x-f8ACBS_2.webp",gc={desktop:{content:{title1:`
Breakthrough Energy is a global
platform focused on accelerating
clean energy innovation and building
the industries of the future`.trim(),title2:"Energy is prosperity",images:[{id:0,src:tD},{id:1,src:nD},{id:2,src:rD},{id:3,src:iD},{id:4,src:oD},{id:5,src:sD},{id:6,src:aD},{id:7,src:lD},{id:8,src:uD},{id:9,src:cD},{id:10,src:fD},{id:11,src:dD},{id:12,src:hD},{id:13,src:pD},{id:14,src:mD}]},animation:{main:{radius_multiply:.6,radius_add:0,radius_random_mul:1,z_scale:1,z_add:0,rect_scale:.01,rotation:0,rotationModulated:0,rotationModulateRamp:1,aspect_scale:1},rects:[{id:0,aspect:1,scale:1,z:1,radius:1,rotation:0,el:null,wander:cr(0)},{id:1,aspect:1,scale:1,z:1,radius:1,rotation:0,el:null,wander:cr(1)},{id:2,aspect:1,scale:1,z:1,radius:1,rotation:0,el:null,wander:cr(2)},{id:3,aspect:1,scale:1,z:1,radius:1,rotation:0,el:null,wander:cr(3)},{id:4,aspect:1,scale:1,z:1,radius:1,rotation:0,el:null,wander:cr(4)},{id:5,aspect:1,scale:1,z:1,radius:1,rotation:0,el:null,wander:cr(5)},{id:6,aspect:1,scale:1,z:1,radius:1,rotation:0,el:null,wander:cr(6)},{id:7,aspect:1,scale:1,z:1,radius:1,rotation:0,el:null,wander:cr(7)},{id:8,aspect:1,scale:1,z:1,radius:1,rotation:0,el:null,wander:cr(8)},{id:9,aspect:1,scale:1,z:1,radius:1,rotation:0,el:null,wander:cr(9)},{id:10,aspect:1,scale:1,z:1,radius:1,rotation:0,el:null,wander:cr(10)},{id:11,aspect:1,scale:1,z:1,radius:1,rotation:0,el:null,wander:cr(11)},{id:12,aspect:1,scale:1,z:1,radius:1,rotation:0,el:null,wander:cr(12)},{id:13,aspect:1,scale:1,z:1,radius:1,rotation:0,el:null,wander:cr(13)},{id:14,aspect:1,scale:1,z:1,radius:1,rotation:0,el:null,wander:cr(14)}]}}},gD=["src","onLoad"],_D={__name:"ImageSwirlMo",props:{block:{type:Object,required:!0,default:()=>({})}},emits:["load"],setup(t,{emit:e}){const n=t,r=e,i=wn(),{gsap:o}=gn(),s=U(!1),a=U(null),u=U(!1),c=[];let h=null;const l=xe(()=>n.block),d=xe(()=>l.value.content),f=structuredClone(gc.desktop.animation.main),_=structuredClone(gc.desktop.animation.rects),g=U(!1);Ne(()=>g.value,F=>{F&&r("load")},{immediate:!0});function b(){h==null||h.kill(),h=o.timeline({paused:!0});const F=h,H=l.value.animation.main,V=f;for(const[se,q]of Object.entries(H))F.set(V,{[se]:q},0);const ne=6,$=1,M={s:.001,k:2.3,d:2.3},z={s:M.k,k:3.2,d:3.2-M.k},K={s:z.k,d:4.4-z.k},B={s:ne-1,d:1},W="power2.inOut";F.set(V,{aspect_scale:0,rect_scale:1.5,duration:0,radius_multiply:1,radius_add:.3,radius_random_mul:1,ease:W},0),F.to(V,{aspect_scale:.1,duration:M.d,ease:W},M.s),F.to(V,{rect_scale:.9,duration:M.d,ease:W},M.s),F.to(V,{radius_multiply:.3,radius_add:.03,duration:M.d,ease:W},M.s),F.to(V,{rect_scale:1.2,duration:z.d,ease:W},z.s),F.to(V,{radius_multiply:.6,duration:z.d,ease:W},z.s),F.to(V,{radius_add:.05,duration:z.d+.6,ease:"sine.in"},z.s+.6),F.to(V,{aspect_scale:0,duration:z.d,ease:W},z.s),F.to(V,{radius_random_mul:.6,duration:z.d,ease:W},z.s),F.to(V,{radius_add:1,duration:B.d,ease:"sine.in"},B.s-.6),F.to(V,{radius_random_mul:0,rect_scale:1.4,duration:K.d,ease:W},K.s),F.to(V,{rect_scale:0,duration:0,ease:W},ne-.05),F.to(V,{rotation:2,duration:ne-$,ease:se=>Ms(se,.07)},$);const oe=M.k-$;F.to(V,{rotationModulated:0,duration:oe,ease:W},$),F.to(V,{rotationModulated:.8,duration:K.d+B.d,ease:se=>Ms(se,.35)},K.s)}function y(){let F=0;const H=performance.now()/1e3,{radius_multiply:V,radius_random_mul:ne,radius_add:$,z_scale:M,z_add:z,rect_scale:K,rotation:B,rotationModulated:W,rotationModulateRamp:oe,aspect_scale:se}=f,q=(B+W-.2)*.5*zi;for(const pe of c){const Te=_[F];if(Te.el=pe,pe){const _e=Je.lvh,ye=Je.ww,Ae=ye/_e,be=F/c.length;let{el:ie,scale:le,aspect:he,z:Se,rotation:Ie,radius:j}=Te,P=Te.wander.seed;const Y=.5+P*.5,ee=yE(H,Y,Te.wander);Se+=z,Se+=ee[2]*.1;const X=Se*M+(1-M);let C=le*X*K;P=a_(P)*ne,C*=.75*P+.25;const G=Ie*zi,I=be*zi,D=G+I+q;let Z=X*j*V;Z+=$,Z+=P*.6,Z+=C*.15*he;const fe=Z*ye,ue=Wn(se,1,Ae);let S=Math.cos(D)*fe*ue,m=Math.sin(D)*fe;S+=ee[0]*.15*ye*Z,m+=ee[1]*.15*ye*Z,S+=ye*.5,m+=_e*.5,m-=_e*.15,S-=_e*.15*he,ie.style.translate=`${S}px ${m}px`,ie.style.scale=`${C} ${C}`}F++}}function w(){const F=i.scrollSubPixel/Je.lvh,H=[.1,5.5];u.value=gt(F,-1,H[1]),u.value&&(h==null||h.progress(je(F,H[0],H[1])))}function A(){s.value&&w()}function k(){u.value&&y()}function R(){A()}Ne(()=>i.scrollSubPixel,()=>{A()}),Cn(R),So(k),Ct(()=>{Lt(()=>{s.value=!0,b()})}),Vt(()=>{h==null||h.kill(),c.splice(0,c.length),x=0});let x=0;function L(F,H){const V=F.target;H.aspect=V.naturalWidth/V.naturalHeight,x++;const ne=_.length;g.value=ne>0&&x===ne}return(F,H)=>(ae(),me("div",{ref_key:"rootRef",ref:a,class:st(["ImageSwirl",{visible:ge(u)}])},[(ae(!0),me(Ye,null,ut(ge(_),(V,ne)=>{var $;return ae(),me("img",{ref_for:!0,ref:M=>c[ne]=M,key:`swirlimage-${ne}`,class:"ImageSwirl-rect",src:(($=ge(d).images[ne])==null?void 0:$.src)||"",onLoad:M=>L(M,V),alt:""},null,40,gD)}),128))],2))}},vD=_t(_D,[["__scopeId","data-v-af7fb688"]]),yD={class:"icon-logo-bt",viewBox:"0 0 184 184",xmlns:"http://www.w3.org/2000/svg"};function bD(t,e){return ae(),me("svg",yD,e[0]||(e[0]=[J("g",null,[J("path",{d:"M65.1896 27.2328L70.1777 10.1643C71.8144 4.47475 77.1142 0.499878 83.0376 0.499878H101.041C106.965 0.499878 112.265 4.47475 113.901 10.1643L127.463 56.6157L148.428 62.7729L144.219 70.4109L120.526 63.4743L105.64 12.5804C105.016 10.554 103.146 9.07313 100.963 9.07313H82.9596C80.7773 9.07313 78.9068 10.554 78.2833 12.5804L72.7496 31.4415L65.1117 27.2328H65.1896ZM27.2335 118.811L31.4421 111.173L12.581 105.639C10.5546 105.016 9.07374 103.145 9.07374 100.963V82.959C9.07374 81.634 9.61931 80.387 10.4766 79.5297C11.0222 78.9841 11.7237 78.5165 12.503 78.2827L63.397 63.3964L70.3335 39.703L62.6956 35.4943L56.5384 56.4599L10.0869 70.0212C4.47536 71.8138 0.500488 77.1136 0.500488 83.0369V101.041C0.500488 106.964 4.47536 112.264 10.1649 113.901L27.2335 118.889V118.811ZM173.914 70.1771L156.845 65.189L152.637 72.827L171.498 78.3606C173.524 78.9841 175.005 80.8547 175.005 83.0369V101.041C175.005 103.223 173.602 105.094 171.498 105.717L120.604 120.603L113.667 144.297L121.305 148.505L127.463 127.54L173.914 113.979C176.096 113.355 178.045 112.186 179.604 110.627C182.098 108.133 183.578 104.782 183.578 101.119V83.1149C183.578 77.1915 179.604 71.8917 173.914 70.255V70.1771ZM111.173 152.636L105.64 171.497C105.016 173.524 103.146 175.005 100.963 175.005H82.9596C80.7773 175.005 78.9068 173.602 78.2833 171.497L63.397 120.603L39.7036 113.667L35.495 121.305L56.4605 127.462L70.0218 173.913C71.6585 179.603 76.9583 183.578 82.8817 183.578H100.886C106.809 183.578 112.109 179.603 113.745 173.913L118.733 156.845L111.095 152.636H111.173Z",fill:"currentColor"}),J("path",{opacity:"0.62",d:"M27.2328 65.1888L18.6595 49.6011C15.8538 44.4571 16.789 37.9103 20.9198 33.7016L33.6238 20.9976C37.8325 16.7889 44.3014 15.8536 49.5233 18.7374L91.9998 41.9631L111.173 31.4414L113.589 39.7808L91.9219 51.6275L45.3925 26.1415C43.522 25.1283 41.1059 25.4401 39.6251 26.9989L26.921 39.7029C25.4402 41.2616 25.0505 43.5998 26.0637 45.4703L35.4943 62.6948L27.1549 65.1109L27.2328 65.1888ZM65.1889 156.767L62.7728 148.427L45.5484 157.858C43.6779 158.871 41.2618 158.559 39.7809 157.001L27.0769 144.297C26.1417 143.361 25.674 142.114 25.674 140.867C25.674 139.62 25.8299 139.231 26.2975 138.529L51.7835 91.9997L39.9368 70.3328L31.5974 72.7489L42.1191 91.9218L18.8934 134.398C16.0876 139.542 17.0228 146.089 21.1536 150.298L33.8576 163.002C38.0663 167.211 44.5352 168.146 49.7571 165.262L65.3448 156.689L65.1889 156.767ZM134.476 18.6594L118.889 27.2327L121.305 35.5721L138.529 26.1415C140.4 25.1283 142.816 25.4401 144.297 26.9989L157.001 39.7029C158.482 41.2616 158.871 43.5998 157.858 45.4703L132.372 91.9997L144.219 113.667L152.558 111.251L142.036 92.0777L165.262 49.6011C166.353 47.5747 166.899 45.3924 166.899 43.2101C166.899 39.7029 165.574 36.2736 163.002 33.7016L150.298 20.9976C146.089 16.7889 139.62 15.8536 134.398 18.7374L134.476 18.6594ZM148.427 121.305L157.858 138.529C158.871 140.4 158.559 142.816 157.001 144.297L144.297 157.001C142.816 158.481 140.4 158.871 138.529 157.858L91.9998 132.372L70.3329 144.219L72.749 152.558L91.9219 142.036L134.398 165.262C139.542 168.068 146.089 167.133 150.298 163.002L163.002 150.298C167.211 146.089 168.146 139.62 165.262 134.398L156.689 118.811L148.35 121.227L148.427 121.305Z",fill:"currentColor"})],-1)]))}const xE={render:bD},wD={class:"HomeSwirlTitles-title-wrap"},SD={class:"HomeSwirlTitles-title-wrap"},TD={__name:"HomeSwirlTitlesMo",props:{block:{type:Object,required:!0,default:()=>({})}},setup(t){const e=t,n=wn(),r=U(null),i=U(null),o=U(null),s=U(null),a=U(null),u=U(null),c=U(null),h=[],l=[],d=xe(()=>e.block),f=xe(()=>{var $,M,z;return((z=(M=($=d.value)==null?void 0:$.content)==null?void 0:M.title1)==null?void 0:z.split(`
`))||""}),_=xe(()=>{var $,M,z;return((z=(M=($=d.value)==null?void 0:$.content)==null?void 0:M.title2)==null?void 0:z.split(`
`))||""});xe(()=>{var $,M,z;return((z=(M=($=d.value)==null?void 0:$.content)==null?void 0:M.title3)==null?void 0:z.split(`
`))||""});const g=U(!1),b=U(null),y=U(!1),{gsap:w}=gn(),A={logoOutro:{timeline:null,bisection:.5},background:{timeline:null},title1:{timeline:null,bisection:.5},title2:{timeline:null,bisection:.5}};function k(){w.set(i.value,{autoAlpha:0}),w.set(a.value,{autoAlpha:0}),w.set(o.value,{autoAlpha:1})}function R(){jr(A);let $=A.logoOutro;$.timeline=w.timeline({paused:!0});let M=$.timeline;M.set(o.value,{autoAlpha:1},0),M.to(o.value,{duration:.25,autoAlpha:0},.01),$=A.background,$.timeline=w.timeline({paused:!0}),M=$.timeline,M.set(i.value,{autoAlpha:0},0),M.set(a.value,{autoAlpha:0},0),M.to(i.value,{duration:.25,autoAlpha:1},.01),M.to(a.value,{duration:.25,autoAlpha:1},.01),M.to(r.value,{duration:0,autoAlpha:0},.26),$=A.title1,$.timeline=w.timeline({paused:!0}),$.bisection=wE({timeline:$.timeline,lineElementsArray:h,x:30}),$=A.title2,$.timeline=w.timeline({paused:!0}),$.timeline.set(c.value,{y:0},0),$.bisection=Es({timeline:$.timeline,lineElementsArray:l,outroOffset:.3,x:30});const z=$.bisection*$.timeline.duration(),K=$.timeline.duration()-z;$.timeline.to(c.value,{y:-20,ease:"power2.in",duration:K},z+.01)}const x={vis:[-1,7],background:[2.4,2.6],title1_in:[2.6,3.6],title1_out:[3.8,4.5],title2_in:[4.5,4.9],title2_out:[4.9,5.4],logo:[5.2,5.6]};function L(){var q,pe,Te,_e,ye,Ae;const $=n.scrollSubPixel/Je.lvh,{vis:M,logo:z,background:K,title1_in:B,title1_out:W,title2_in:oe,title2_out:se}=x;if(y.value=gt($,M[0],M[1]),y.value){let be=A.logoOutro;(q=be.timeline)==null||q.progress(je($,z[0],z[1])),be=A.background,(pe=be.timeline)==null||pe.progress(je($,K[0],K[1])),be=A.title1,gt($,-1,B[1])?(Te=be.timeline)==null||Te.progress(je($,B[0],B[1],0,be.bisection,!0)):(_e=be.timeline)==null||_e.progress(je($,W[0],W[1],be.bisection,1,!0)),be=A.title2,gt($,-1,oe[1])?(ye=be.timeline)==null||ye.progress(je($,oe[0],oe[1],0,be.bisection,!0)):(Ae=be.timeline)==null||Ae.progress(je($,se[0],se[1],be.bisection,1,!0))}}let F=0;function H(){F+=.25,g.value&&y.value&&(o.value.style.rotate=`${F}deg`,s.value.style.rotate=`${F}deg`)}So(H);function V(){g.value&&L()}function ne(){V()}return Ne(()=>n.scrollSubPixel,()=>{V()}),Cn(ne),Ct(()=>{Lt(()=>{g.value=!0,k(),R(),V()})}),Vt(()=>{g.value=!1}),($,M)=>{const z=xE;return ae(),me("div",{ref_key:"rootRef",ref:b,class:st(["HomeSwirlTitles",{visible:ge(y)}])},[J("div",{ref_key:"bgWhiteRef",ref:r,class:"HomeSwirlTitles-bg white"},[J("div",{ref_key:"logoGreenRef",ref:s,class:"HomeSwirlTitles-logo green"},[Ve(z)],512)],512),J("div",{ref_key:"bgGreenRef",ref:i,class:"HomeSwirlTitles-bg green"},null,512),J("div",{ref_key:"logoWhiteWrapRef",ref:a,class:"HomeSwirlTitles-bg"},[J("div",{ref_key:"logoWhiteRef",ref:o,class:"HomeSwirlTitles-logo white"},[Ve(z)],512)],512),J("div",wD,[J("div",{ref_key:"titleRef1",ref:u,class:"HomeSwirlTitles-title"},[(ae(!0),me(Ye,null,ut(ge(f),(K,B)=>(ae(),me("div",{ref_for:!0,ref:W=>h[B]=W,key:`title1Line-${B}`,role:"group"},We(K),1))),128))],512)]),J("div",SD,[J("div",{ref_key:"titleRef2",ref:c,class:"HomeSwirlTitles-title"},[(ae(!0),me(Ye,null,ut(ge(_),(K,B)=>(ae(),me("div",{ref_for:!0,ref:W=>l[B]=W,key:`title2Line-${B}`,role:"group"},We(K),1))),128))],512)])],2)}}},ED=_t(TD,[["__scopeId","data-v-9da85970"]]),kD={class:"HomeHero-inner"},AD={class:"sr-only"},RD={class:"HomeHero-title"},CD={class:"HomeHero-title base"},xD={class:"HomeHero-title"},PD={class:"HomeHero-title base"},ID={__name:"HomeHeroMo",props:{block:{type:Object,required:!0,default:()=>({})}},emits:["load"],setup(t,{emit:e}){const n=t,r=e,i=wn(),o=mh();vi();const s=[],a=[],u=[],c=[],h=U(null),l=U(null),d=U(null),f={rectScale:1,zScale:1,radiusScale:0,rotationUnit:0,el:null},_=U(!1),g=U(null),b=U(!1),{gsap:y}=gn(),w=xe(()=>n.block),A=xe(()=>w.value.videoSrc),k=xe(()=>w.value.imageSrc),R=xe(()=>w.value.title1),x=xe(()=>{var P;const j=((P=R.value)==null?void 0:P.split(`
`))||[];return w.value.title2&&j.push(w.value.title2),j}),L=xe(()=>{var P;return((P=w.value.title3)==null?void 0:P.split(`
`))||[]}),F=new or,H=new or,V={progress:0},ne=[-1,.2],$=[.3,1],M={unmasked:{timeline:null,bisection:.5},masked:{timeline:null,bisection:.5},unmaskedBase:{timeline:null,bisection:.5},maskedBase:{timeline:null,bisection:.5},video:{timeline:null,bisection:.5}},z=U(!1),K=U(!1),B=()=>z.value=!0,W=()=>K.value=!0,oe=xe(()=>K.value);Ne(oe,j=>j&&r("load"),{immediate:!0});const se=xe(()=>!1);function q(){jr(M);let j=M.masked;const P=50;j.timeline=y.timeline({paused:!0}),j.bisection=Es({timeline:j.timeline,lineElementsArray:s,x:P}),j=M.unmasked,j.timeline=y.timeline({paused:!0}),j.bisection=Es({timeline:j.timeline,lineElementsArray:a,x:P}),j=M.maskedBase,j.timeline=y.timeline({paused:!0}),j.bisection=Es({timeline:j.timeline,lineElementsArray:u,x:P}),j=M.unmaskedBase,j.timeline=y.timeline({paused:!0}),j.bisection=Es({timeline:j.timeline,lineElementsArray:c,x:P}),j=M.video,j.timeline=y.timeline({paused:!0}),j.timeline.set(f,{rotationUnit:.5},0),j.timeline.to(f,{rectScale:.3,duration:1.5,ease:"power2.inOut"},.001),j.timeline.to(f,{zScale:.7,duration:2,ease:"power2.inOut"},.001),j.timeline.to(f,{rotationUnit:.75,duration:2,ease:"power2.inOut"},.2),j.timeline.to(f,{radiusScale:1.02,duration:1.7,ease:"power2.inOut"},.3)}Ne(()=>o.transitionVisibleState,j=>{j===ga.AFTER_ENTER&&pe()},{immediate:!0});function pe(){y.to(V,{progress:1,duration:3.4,ease:"sine.out"})}function Te(){H.updateFromElement(h.value)}function _e(){const{el:j,rectScale:P,zScale:Y,rotationUnit:ee,radiusScale:X}=f;if(j){const C=Je.lvh,I=Je.ww/C,D=P*Y,Z=ee*zi,fe=Y*X*C,ue=Math.cos(Z)*fe*I,S=Math.sin(Z)*fe;j.style.translate=`${ue}px ${S}px`,j.style.scale=`${D} ${D}`}}function ye(){_e(),F.updateFromElement(pr.mobile.elements.heroRect)}function Ae(){_.value&&(h.value.style.clipPath=or.clipPathInsetFromRects(F,H),l.value.style.translate=`${F.left}px ${F.top}px`,l.value.style.width=`${F.width}px`,l.value.style.height=`${F.height}px`)}function be(j){var P,Y;(P=M.masked.timeline)==null||P.progress(j),(Y=M.unmasked.timeline)==null||Y.progress(j)}function ie(j){var P,Y;(P=M.maskedBase.timeline)==null||P.progress(j),(Y=M.unmaskedBase.timeline)==null||Y.progress(j)}function le(){var ee;const j=i.scrollSubPixel/Je.lvh,P=$[1]+1;b.value=gt(j,-1,P);let Y=M.masked;if(b.value){if(gt(j,$[0],P)){let X=je(j,$[0],$[1],Y.bisection,1,!0);be(X),Y=M.maskedBase,X=je(j,$[0],$[1],Y.bisection,1,!0),ie(X)}Y=M.video,(ee=Y.timeline)==null||ee.progress(je(j,.2,2.5))}}function he(){_.value&&(le(),Te(),ye(),Ae())}function Se(){he()}Ne(()=>i.scrollSubPixel,()=>{he()}),Cn(Se);function Ie(){const j=i.scrollSubPixel/Je.lvh;if(gt(j,ne[0],ne[1])){let P=M.masked,Y=je(V.progress,0,.7,0,P.bisection,!0);be(Y),P=M.maskedBase,Y=je(V.progress,.65,1,0,P.bisection,!0),ie(Y)}}return So(Ie),Ct(()=>{Lt(()=>{_.value=!0,pr.mobile.elements.heroRect=d.value,f.el=d.value,q(),he(),Lt(he)})}),Vt(()=>{y.killTweensOf(V),jr(M),V.progress=0}),(j,P)=>{const Y=Nl;return ae(),me("div",{ref_key:"rootRef",ref:g,class:st(["HomeHero",{visible:ge(b)}])},[J("div",{ref_key:"inputRectRef",ref:d,class:"HomeHero-rect"},null,512),J("div",kD,[J("h1",AD,[(ae(!0),me(Ye,null,ut(ge(x),(ee,X)=>(ae(),me("span",{key:`sr-only-line-${X}`},We(ee),1))),128)),(ae(!0),me(Ye,null,ut(ge(L),(ee,X)=>(ae(),me("span",{key:`sr-only-line-base-${X}`},We(ee),1))),128))]),J("div",RD,[(ae(!0),me(Ye,null,ut(ge(x),(ee,X)=>(ae(),me("div",{ref_for:!0,ref:C=>a[X]=C,key:`unmaskedLine-${X}`,class:"HomeHero-title-line",role:"group"},We(ee),1))),128))]),J("div",CD,[(ae(!0),me(Ye,null,ut(ge(L),(ee,X)=>(ae(),me("div",{ref_for:!0,ref:C=>c[X]=C,key:`unmaskedLineBase-${X}`,class:"HomeHero-title-line-base",role:"group"},We(ee),1))),128))])]),J("div",{ref_key:"maskedBGRef",ref:l,class:"HomeHero-bg"},[Ve(Y,{"image-url":ge(k),"video-url":ge(A),"fallback-to-static":ge(se),onVideoplay:B,onImgload:W},null,8,["image-url","video-url","fallback-to-static"])],512),J("div",{ref_key:"maskedRef",ref:h,class:"HomeHero-inner masked"},[J("div",xD,[(ae(!0),me(Ye,null,ut(ge(x),(ee,X)=>(ae(),me("div",{ref_for:!0,ref:C=>s[X]=C,key:`maskedLine-${X}`,class:"HomeHero-title-line",role:"group"},We(ee),1))),128))]),J("div",PD,[(ae(!0),me(Ye,null,ut(ge(L),(ee,X)=>(ae(),me("div",{ref_for:!0,ref:C=>u[X]=C,key:`maskedLineBase-${X}`,class:"HomeHero-title-line-base",role:"group"},We(ee),1))),128))])],512)],2)}}},LD=_t(ID,[["__scopeId","data-v-088b7959"]]),OD={class:"icon-arrow",fill:"none",viewBox:"0 0 40 41",xmlns:"http://www.w3.org/2000/svg"};function MD(t,e){return ae(),me("svg",OD,e[0]||(e[0]=[J("path",{d:"m26.8333 17.5709c.6334.2667 1.0334.8667 1.0334 1.5667v9.7h3.6333v-20.06666h-20.0333v3.63336h9.8333c.7 0 1.3.4 1.5667 1.0666.2666.6667.1333 1.3667-.3667 1.8667l-14 13.7 2.5333 2.5667 13.9667-13.7c.5-.5 1.2-.6334 1.8333-.3667z",fill:"currentColor"},null,-1)]))}const PE={render:MD},FD={ref:"iconRef",class:"HomeScrollCTA-icon"},DD={ref:"labelRef",class:"HomeScrollCTA-label"},$D={__name:"HomeScrollCTA",setup(t){const e=wn(),n=mh(),r=U(null),i=U(null),o=U(!1),s=U(!1);Ne(()=>n.transitionVisibleState,c=>{},{immediate:!0});function a(){if(s.value){const c=e.scrollSubPixel/Je.lvh;o.value=gt(c,-1,1)}}function u(){a()}return Cn(u),Ne(()=>e.scrollSubPixel,()=>{a()}),Ct(()=>{Lt(()=>{s.value=!0,a(),Lt(a)})}),Vt(()=>{}),(c,h)=>{const l=PE;return ae(),me("div",{ref_key:"rootRef",ref:r,class:st(["HomeScrollCTA",{visible:ge(o)}])},[J("div",{ref_key:"ctaRef",ref:i,class:"HomeScrollCTA-cta"},[J("div",FD,[Ve(l)],512),J("div",DD," Scroll for more ",512)],512)],2)}}},IE=_t($D,[["__scopeId","data-v-261f991c"]]),HD={class:"HomeAnimation-portrait"},ND={class:"HomeAnimation-portrait-sticky-wrap"},BD={key:0,class:"HomeAnimation-portrait-sticky"},VD={__name:"HomeAnimationPortrait",props:{content:{type:Object,required:!0,default:()=>({hero:{},swirl:{},graph:{},stack:{},quote:{},keyAreas:{},approach:{},stats:{},funds:{}})}},emits:["load"],setup(t,{emit:e}){const n=e,r=U(!1),i=U(!1),o=U(!1),s=U(!1),a=U(!1),u=U(!1),c=xe(()=>r.value&&i.value&&o.value&&s.value&&a.value&&u.value);Ne(c,b=>{b&&n("load")});function h(){r.value=!0}function l(){i.value=!0}function d(){o.value=!0}function f(){s.value=!0}function _(){a.value=!0}function g(){u.value=!0}return(b,y)=>{const w=IE,A=LD,k=ED,R=vD,x=eD,L=x4,F=v4,H=qF;return ae(),me("div",HD,[J("div",ND,[t.content?(ae(),me("div",BD,[Ve(w),Ve(A,{block:t.content.hero.mobile,onLoad:h},null,8,["block"]),Ve(k,{block:t.content.swirl.mobile},null,8,["block"]),Ve(R,{block:t.content.swirl.mobile,onLoad:l},null,8,["block"]),Ve(x,{block:t.content.graph.mobile,"block-stack":t.content.stack.mobile,onLoad:d},null,8,["block","block-stack"]),Ve(L,{block:t.content.quote.mobile,onLoad:f},null,8,["block"]),Ve(F,{block:t.content.keyAreas.mobile,onLoad:_},null,8,["block"]),Ve(H,{block:t.content.approach.mobile,onLoad:g},null,8,["block"])])):bt("",!0)])])}}},UD=_t(VD,[["__scopeId","data-v-3f8622f7"]]),jD={class:"PaginationDots"},WD={__name:"PaginationDots",props:{currentIndex:{type:Number,default:0},total:{type:Number,default:5}},setup(t){return(e,n)=>(ae(),me("div",jD,[(ae(!0),me(Ye,null,ut(t.total,r=>(ae(),me("div",{ref_for:!0,ref:i=>i,key:`pagination-dot-${r}`,class:st(["PaginationDots-dot",{current:r<=t.currentIndex+1}])},n[0]||(n[0]=[J("div",{class:"PaginationDots-dot-border"},null,-1),J("div",{class:"PaginationDots-dot-fill"},null,-1)]),2))),128))]))}},LE=_t(WD,[["__scopeId","data-v-fa615e89"]]),zD={key:0,class:"HomeApproach-inner"},qD={key:0,ref:"chapterTitlesRef",class:"HomeApproach-sideTitles"},GD={class:"HomeApproach-sideTitles-inner"},YD={key:1,ref:"chaptersRef",class:"HomeApproach-chapters"},KD={class:"HomeApproach-dots"},XD={class:"HomeApproach-chapter-inner"},QD={__name:"HomeApproach",props:{block:{type:Object,required:!0,default:()=>({})}},emits:["load"],setup(t,{emit:e}){const n=t,r=e,i=xe(()=>n.block),o=xe(()=>i.value.chapters),s={radar:"Loop Radar",smallDots:"Init Loop",largeDot:"Loop B",whiteDot:"Loop C",main:"main"},a=xe(()=>{var ie;return{src:((ie=i.value)==null?void 0:ie.rive)||"",artboard:"main",animation:s.main}}),u={dots:.307,bigDot:.4756,premium:.665},c={dots:[u.dots,u.dots+.04],bigDot:[u.bigDot,u.bigDot+.01],premium:[u.premium,1]},h=[u.dots,u.bigDot,u.premium],l=[c.dots[1],c.bigDot[1],c.premium[1]],d=TE([[-1,0],[0,h[0]],[.2,l[0]],[1,h[1]],[1.2,l[1]],[2,h[2]],[3,1]],.4),f=U(null),_=U(null),g={decel:.8,accel:.5,maxSpeed:.01};new vE(g);const b=U(!1),y=U(!1),w=U(!1),A=U(!1),k={[s.radar]:0,[s.smallDots]:0,[s.largeDot]:0,[s.whiteDot]:0},R=U(!1);function x(){Object.values(s).forEach(ie=>{f.value.stop(ie)}),R.value=!0,r("load"),ye()}const L=wn(),F=[],H=[],V=[],ne=U(!1),$=U(0),M=U(0),z={indexEased:0,indexLinear:0},K=U(null),B=U(!1);Ne($,(ie,le)=>{const he=le!==ie&>(le,0,3),Se=le!==ie&>(ie,0,3);if(M.value=Ii(ie,0,2),ne.value&&he){const Ie=H[le];W.killTweensOf(Ie),W.to(Ie,{opacity:0,x:0,duration:.1})}if(ne.value&&Se){const Ie=H[ie];W.killTweensOf(Ie),W.set(Ie,{opacity:0,x:"-2vw"}),W.to(Ie,{opacity:1,x:0,duration:.6,delay:.1,ease:"sine.out"})}});const{gsap:W}=gn(),oe={main:{timeline:null}};function se(){const ie=oe.main;ie.timeline=W.timeline({paused:!0}),ie.timeline.set(z,{indexEased:-1},0),ie.timeline.set(z,{indexLinear:-1},0),ie.timeline.to(z,{indexLinear:3,ease:"linear",duration:1},0);const le=1/4,he=le*.1;for(let Se=0;Se<4;Se++)ie.timeline.to(z,{indexEased:Se,ease:"sine.inOut",duration:le-he},le*Se)}function q(){const ie=f.value,{indexLinear:le}=z,he=d(le);ie&&ie.progress(he),b.value=gt(he,...c.dots),y.value=gt(he,...c.dots),w.value=gt(he,...c.bigDot),A.value=gt(he,...c.premium)}function pe(ie,le){var he,Se,Ie;le?((he=f.value)==null||he.play(ie),k[ie]=setInterval(()=>{var j;return(j=f.value)==null?void 0:j.play(ie)},3e3)):(clearInterval(k[ie]),(Se=f.value)==null||Se.pause(ie),(Ie=f.value)==null||Ie.scrub(0,ie))}Ne(()=>b.value&&R.value,ie=>pe(s.radar,ie)),Ne(()=>y.value&&R.value,ie=>pe(s.smallDots,ie)),Ne(()=>w.value&&R.value,ie=>pe(s.largeDot,ie)),Ne(()=>A.value&&R.value,ie=>pe(s.whiteDot,ie));function Te(){var P;const ie=Je.lvh,le=L.scrollSubPixel/ie,he=pr.desktop.time.approachStart,Se=[he,he+4.2],Ie=he+4.7,j=oe.main;if(B.value=gt(le,Se[0],Ie),B.value){(P=j.timeline)==null||P.progress(je(le,Se[0],Se[1]));const Y=Ms(je(le,Se[0]+.8,Se[0]),.2)*ie*.5;_.value.style.translate=`0px ${Y}px`;const ee=Ms(je(le,Ie-1.2,Ie),.2)*-ie;K.value.style.translate=`0px ${ee}px`}}function _e(){const ie=Je.lvh;L.scrollSubPixel/ie;const{indexEased:le}=z;$.value=Math.round(le);for(let he=0;he<F.length;he++){let Se=F[he];const Ie=0;let j=Math.min(le,2)*-ie;j+=he*ie,Se.style.translate=`${Ie}px ${j}px`,Se=V[he];const P=je(le,he-.4,he-.25);Se.style.opacity=P}}function ye(){ne.value&&(Te(),B.value&&_e())}function Ae(){B.value&&q()}function be(){ye()}return Ne(()=>L.scrollSubPixel,()=>{ye()}),Cn(be),So(Ae),Ct(()=>{Lt(()=>{ne.value=!0,se(),ye()})}),Vt(()=>{ne.value=!1}),(ie,le)=>{var Ie,j;const he=_E,Se=LE;return ae(),me("div",{ref_key:"rootRef",ref:K,class:st(["HomeApproach",{visible:ge(B)}])},[ge(a)?(ae(),me("div",zD,[J("div",{ref_key:"riveParentRef",ref:_,class:"HomeApproach-rive-container"},[Ve(he,{ref_key:"rivePlayerRef",ref:f,"src-all":ge(a),"log-instance":!1,autoplay:!0,onLoad:x},null,8,["src-all"])],512),(Ie=ge(o))!=null&&Ie.length?(ae(),me("div",qD,[J("div",GD,[(ae(!0),me(Ye,null,ut(ge(o),(P,Y)=>(ae(),me("div",{ref_for:!0,ref:ee=>H[Y]=ee,key:`chapter-${Y}`,class:"HomeApproach-sideTitle"},We(P.title),1))),128))])],512)):bt("",!0),(j=ge(o))!=null&&j.length?(ae(),me("div",YD,[J("div",KD,[Ve(Se,{total:ge(o).length,"current-index":ge(M)},null,8,["total","current-index"])]),(ae(!0),me(Ye,null,ut(ge(o),(P,Y)=>(ae(),me("div",{ref_for:!0,ref:ee=>F[Y]=ee,key:`chapter-${Y}`,class:"HomeApproach-chapter"},[J("div",XD,[P.subtitle?(ae(),me("div",{key:0,ref_for:!0,ref:ee=>ee,class:"HomeApproach-subtitle"},We(P.subtitle),513)):bt("",!0),P.body?(ae(),me("div",{key:1,ref_for:!0,ref:ee=>V[Y]=ee,class:"HomeApproach-body"},We(P.body),513)):bt("",!0)])]))),128))],512)):bt("",!0)])):bt("",!0)],2)}}},JD=_t(QD,[["__scopeId","data-v-77d46489"]]),ZD=["innerHTML"],e6={__name:"KeyAreasOutro",props:{block:{type:Object,required:!0,default:()=>({})}},setup(t){const e=t,n=wn(),r=xe(()=>e.block.content.outro),i=U(!1),o=U(null),s=[],a=xe(()=>{var w,A;let y=((A=(w=r.value)==null?void 0:w.title)==null?void 0:A.split(`
`))||[];return y=y.map(k=>Hl(["code","em"],k)),y}),u=U(null),c=U(null),h=U(!1),{gsap:l}=gn(),d={main:{timeline:null}};function f(){const y=d.main;y.timeline=l.timeline({paused:!0}),bE({timeline:y.timeline,lineElementsArray:s})}function _(){var x;const y=Je.lvh,w=n.scrollSubPixel/y,A=pr.desktop.time.keyAreaStart,k=d.main;h.value=gt(w,A+6,A+10.5),h.value&&((x=k.timeline)==null||x.progress(je(w,A+8.5,A+8.8)));const R=Rl(je(w,A+9.5,A+10.5))*y*.13;c.value.style.translate=`0px ${R}px`}function g(){i.value&&_()}function b(){g()}return Ne(()=>n.scrollSubPixel,()=>{g()}),Cn(b),Ct(()=>{Lt(()=>{i.value=!0,f(),g()})}),Vt(()=>{i.value=!1}),(y,w)=>(ae(),me("div",{ref_key:"rootRef",ref:u,class:st(["KeyAreasOutro",{visible:ge(h)}])},[J("div",{ref_key:"contentRef",ref:c,class:"KeyAreasOutro-inner"},[J("div",{ref_key:"titleRef",ref:o,class:"KeyAreasOutro-title"},[(ae(!0),me(Ye,null,ut(ge(a),(A,k)=>(ae(),me("div",{ref_for:!0,ref:R=>s[k]=R,key:`titleLine-${k}`,innerHTML:A},null,8,ZD))),128))],512)],512)],2))}},t6=_t(e6,[["__scopeId","data-v-6e5404a4"]]),n6={class:"KeyAreas-title-wrap"},r6={ref:"titleMaskedRef",class:"KeyAreas-title"},i6=["innerHTML"],o6={key:0,class:"KeyAreas-rect-wrap"},s6={class:"KeyAreas-video"},a6={class:"KeyAreas-content-wrap"},l6={class:"KeyAreas-content unmasked"},u6={class:"KeyAreas-content-body-inner"},c6={class:"KeyAreas-content-eyebrow"},f6=.92,d6={__name:"KeyAreas",props:{block:{type:Object,required:!0,default:()=>({})}},emits:["load"],setup(t,{emit:e}){const n=t,r=e,i=U(!1);let o=0;Ne(()=>i.value,P=>{P&&r("load")},{immediate:!0});const s=vi(),a=wn(),{gsap:u}=gn(),c=U(!1),h=[],l=[],d=[],f=U(null),_=U(null),g=U(null),b=U(null),y=U(null),w=U(null),A=U(0),k=U(null),R=U(!1),x=xe(()=>s.lowFPS),L=U(!1);Ne(L,P=>{const Y=[_.value,g.value];Y[0]&&Y[1]&&Y.forEach(ee=>{ee.style.visibility=P?"visible":"hidden"})});const F={title:{timeline:null,bisection:.5},areas:{timeline:null}},H=xe(()=>n.block),V=xe(()=>{var P;return(P=H.value)==null?void 0:P.content.areas}),ne=xe(()=>{var P;return(P=H.value)==null?void 0:P.content.main.title}),$=xe(()=>{var Y;let P=((Y=ne.value)==null?void 0:Y.split(`
`))||[];return P=P.map(ee=>Hl(["code","em"],ee)),P}),M=U(""),z=U(""),K=U(""),B=[1440,810];class W{constructor(Y=0,ee=0){Le(this,"clusterRectScale",1);Le(this,"clusterOverShoot",-1);Le(this,"clusterRadius",0);Le(this,"stackLerp",0);Le(this,"clusterRect",null);Le(this,"stackRect",null);Le(this,"outputRect",null);Le(this,"clusterIndex",0);Le(this,"index",0);Le(this,"wanderData",{});this.index=0,this.clusterIndex=ee,this.clusterRect=new or,this.stackRect=new or,this.outputRect=new or,this.wanderData=cr(Y)}}const oe={areaIndex:0,areaTitleIndex:-1,areas:[new W(0,3),new W(1,4),new W(2,2),new W(3,1),new W(4,0),new W(5)]},se=xe(()=>{var ee,X;const P=[];(ee=V.value)==null||ee.forEach(C=>{P.push({label:C.button,url:C.url})});const Y=(X=H.value)==null?void 0:X.content.outro;return P.push({label:Y.button,url:Y.url}),P}),q=U(0);function pe(){var Y,ee;jr(F);let P=F.title;(Y=P.timeline)==null||Y.kill(),P.timeline=u.timeline({paused:!0}),P.bisection=gh({timeline:P.timeline,lineElementsArray:h,x:100}),P=F.areas,(ee=P.timeline)==null||ee.kill(),P.timeline=u.timeline({paused:!0}),oe.areas.forEach((X,C)=>{const{clusterIndex:G}=X;P.timeline.set(X,{clusterRadius:0,stackLerp:0,clusterRectScale:1.7,clusterOverShoot:-3},0);const I=G*.05;P.timeline.to(X,{clusterRectScale:1,duration:1,ease:"power3.inOut"},1+I),P.timeline.to(X,{clusterRadius:1,duration:1,ease:"power3.inOut"},1+I),P.timeline.set(X,{clusterOverShoot:-1},.8),P.timeline.to(X,{clusterOverShoot:0,duration:.6,ease:"sine.out"},1.1+I),P.timeline.to(X,{stackLerp:1,duration:1.4,ease:"power2.inOut"},3.4-C*.05),P.timeline.set(oe,{areaIndex:0,areaTitleIndex:-1},0),P.timeline.set(L,{value:!1},3.5),P.timeline.set(L,{value:!0},4.1);const D="sine.inOut";C===0&&P.timeline.to(oe,{duration:1,areaTitleIndex:C,ease:D},3.5+.05),C>0&&(P.timeline.to(oe,{duration:1,areaIndex:C,ease:D},4.5+C*1.25),P.timeline.to(oe,{duration:1,areaTitleIndex:C,ease:D},4.5+C*1.25+.05))})}const Te=new or,_e=new or;function ye(){const P=Je.svh,Y=Je.ww,ee=Math.round(oe.areaTitleIndex),X=ee-oe.areaTitleIndex,C=Ii(ee,0,4);A.value=Ii(ee,0,4),q.value=Ii(ee,0,5);const G=oe.areas[C],I=V.value[C];M.value=(I==null?void 0:I.title)||"",z.value=(I==null?void 0:I.body)||"",K.value=(I==null?void 0:I.emission)||"";const D=G.outputRect;Te.width=Y,Te.height=P,_e.width=D.width,_e.height=D.height,_e.left=D.x-D.width*.5,_e.top=D.y-D.height*.5,f.value.style.clipPath=or.clipPathInsetFromRects(_e,Te);let Z=0,fe=_e.top+Y*.059;fe+=P*.2*je(Math.max(X,0),.01,.5);let ue=1-zo(je(Math.abs(X),.25,.45));_.value.style.translate=`${Z}px ${fe}px`,_.value.style.opacity=ue,g.value.style.translate=`${Z}px ${fe}px`,g.value.style.opacity=ue;const{pad:S,padSide:m}=Ae();Z=m,fe=P-S+P*X*.8,ue=1-zo(je(Math.abs(X),.07,.2)),y.value.style.translate=`${Z}px ${fe}px`,y.value.style.opacity=ue}function Ae(){const P=Je.lvh,X=Je.ww*.046+60,C=f6*X;return{stackHeight:P-X*2,pad:X,padSide:C}}const be={x:0,y:0};function ie(P,Y,ee){const X=Y[0]*.6+P[0],C=Y[1]*.5+P[1];return be.x=(X-ee[0]*.6)/ee[0],be.y=(C-ee[1]*.5)/ee[0],be}function le(){performance.now()/1e3;const P=Je.lvh,Y=Je.ww,ee=l,{pivot:X,rects:C}=H.value.animation.cluster;ee.forEach((G,I)=>{const D=oe.areas[I],{offset:Z,rectSize:fe}=C[I],{clusterRectScale:ue,clusterRadius:S,clusterOverShoot:m,stackLerp:T,clusterRect:N,stackRect:re,outputRect:ce,wanderData:Ee}=D;N.width=fe[0]/B[0]*ue*Y,N.height=fe[1]/B[0]*ue*Y,N.x=X.x,N.y=X.y,N.x*=Y,N.y*=P;const De=P/Y,Pe=1-Ii(je(De,B[1]/B[0],0)*1.5),Be=ie(Z,fe,B);N.x+=Be.x*S*Y,N.y+=Be.y*S*Y*Pe,N.x+=m*Y*.2;let{areaIndex:Qe}=oe;Qe=Math.max(Qe,0);const{stackHeight:tt,pad:pt,padSide:mt}=Ae(),rn=tt+pt;re.width=Y-mt*2,re.height=tt,re.x=.5*Y,re.y=re.height*.5+pt+rn*I,re.y-=Qe*rn;const nt=zo(je(Math.abs(I-Qe),1,0));re.width*=Wn(nt,.85,1),re.height*=Wn(nt,.85,1);const Ut=T;ce.x=Wn(zo(Ut),N.x,re.x),ce.y=Wn(Ut,N.y,re.y),ce.width=Wn(mc(Ut),N.width,re.width),ce.height=Wn(mc(Ut),N.height,re.height);const kt=0;G.style.width=`${ce.width}px`,G.style.height=`${ce.height}px`,G.style.translate=`${ce.x}px ${ce.y}px ${kt}px`,d[I].style.opacity=je(T,.1,.6,0,.5,!0)})}function he(){var X,C,G;const P=Je.lvh,Y=a.scrollSubPixel/P,ee=pr.desktop.time.keyAreaStart;if(R.value=gt(Y,ee+.2,ee+10.5),R.value){let I=F.title;gt(Y,-1,ee+1.9)?(X=I.timeline)==null||X.progress(je(Y,ee+.9,ee+1.9,0,I.bisection,!0)):(C=I.timeline)==null||C.progress(je(Y,ee+2.3,ee+2.65,I.bisection,1,!0)),I=F.areas,(G=I.timeline)==null||G.progress(je(Y,ee-.5,ee+9));const D=Rl(je(Y,ee+9.5,ee+10.5))*-P;k.value.style.translate=`0px ${D}px`;const Z=je(Y,ee+3,ee+3.3),fe=je(Y,ee+8.4,ee+8.2),ue=Rl(gt(Y,0,ee+3.4)?Z:fe);w.value.style.opacity=ue}}function Se(){c.value&&(he(),R.value&&(le(),ye()))}function Ie(){Se()}Ne(()=>a.scrollSubPixel,()=>{Se()}),Cn(Ie),Ct(()=>{Lt(()=>{c.value=!0,pe(),Se()})}),Vt(()=>{var Y;o=0,(Y=F.title.timeline)==null||Y.kill()});function j(){var Y;o++;const P=(Y=V.value)==null?void 0:Y.length;i.value=P>0&&o===P}return(P,Y)=>{var I;const ee=t6,X=EE,C=LE,G=Nl;return ae(),me("div",{ref_key:"rootRef",ref:k,class:st(["KeyAreas",{visible:ge(R)}])},[Ve(ee,{block:t.block},null,8,["block"]),Ve(X,{"label-index":ge(q),areas:ge(se)},null,8,["label-index","areas"]),J("div",n6,[J("div",r6,[(ae(!0),me(Ye,null,ut(ge($),(D,Z)=>(ae(),me("div",{ref_for:!0,ref:fe=>h[Z]=fe,key:`line-${Z}`,innerHTML:D},null,8,i6))),128))],512)]),ge(V)?(ae(),me("div",o6,[J("div",{ref_key:"dotsRef",ref:w,class:"KeyAreas-dots"},[Ve(C,{total:((I=ge(V))==null?void 0:I.length)||5,"current-index":ge(A)},null,8,["total","current-index"])],512),(ae(!0),me(Ye,null,ut(ge(V),(D,Z)=>(ae(),me("div",{ref_for:!0,ref:fe=>l[Z]=fe,key:`area-${Z}`,class:"KeyAreas-area"},[J("div",s6,[Ve(G,{"image-url":D.imageSrc,"video-url":D.src,"fallback-to-static":ge(x),onImgload:j},null,8,["image-url","video-url","fallback-to-static"]),J("div",{ref_for:!0,ref:fe=>d[Z]=fe,class:"KeyAreas-video-gradient"},null,512)])]))),128))])):bt("",!0),J("div",a6,[J("div",l6,[J("h2",{ref_key:"unmaskedTitleRef",ref:_,class:"KeyAreas-content-title"},We(ge(M)),513)]),J("div",{ref_key:"maskedRef",ref:f,class:"KeyAreas-content masked"},[J("div",{ref_key:"maskedTitleRef",ref:g,class:"KeyAreas-content-title"},We(ge(M)),513),J("div",{ref_key:"maskedBodyWrapRef",ref:y,class:"KeyAreas-content-body-wrap"},[J("div",u6,[J("div",c6,We(ge(K)),1),J("div",{ref_key:"maskedBodyRef",ref:b,class:"KeyAreas-content-body"},We(ge(z)),513)])],512)],512)])],2)}}},h6=_t(d6,[["__scopeId","data-v-4c555c38"]]),p6=["innerHTML"],m6={ref:"videoSectionRef",class:"HomeQuote-video-section"},g6={ref:"videoTitlesRef",class:"HomeQuote-video-titles"},_6={class:"HomeQuote-video-play"},v6=["src"],y6={__name:"HomeQuote",props:{block:{type:Object,required:!0,default:()=>({})}},emits:["load"],setup(t,{emit:e}){const n=t,r=e,i=lt.href.includes("debug-quote-video");let o=0;const s=wn(),a=vi(),u=mr(),c=xe(()=>n.block),h=xe(()=>{if(i)return!1;const z=a.modalState===di.VIDEO;return a.lowFPS||z}),l=U(!1),d=U(null),f=[],_=xe(()=>{var K,B;let z=((B=(K=c.value)==null?void 0:K.title)==null?void 0:B.split(`
`))||[];return z=z.map(W=>Hl(["code","em"],W)),z}),g=U(null),b=U(null),y=U(null),w=U(null),A=U(!1),{gsap:k}=gn(),R={title:{timeline:null}};function x(){var K;jr(R);const z=R.title;(K=z.timeline)==null||K.kill(),z.timeline=k.timeline({paused:!0}),z.bisection=gh({timeline:z.timeline,lineElementsArray:f})}function L(){var W;const z=Je.lvh,K=s.scrollSubPixel/z,B=pr.desktop.time.quoteStart;if(A.value=gt(K,B,B+2.5),A.value){const oe=R.title;(W=oe.timeline)==null||W.progress(je(K,B+.4,B+1.4,0,oe.bisection,!0));const se=Li(je(K,B+1.1,B-.2)),q=Li(je(K,B+1.2,B+2.4))*-1,pe=gt(K,0,B+1.1)?se:q;w.value.style.translate=`0px ${pe*z}px`;const Te=Math.max(se,0),_e=Math.max(Te*z*.07,0),ye=1+Te*4;i||(g.value.style.clipPath=`inset(${_e}px ${_e}px ${_e}px ${_e}px round ${ye}px)`);const Ae=pe*-z*.13;b.value.style.translate=`0px ${Ae}px`;const be=pe*-z*.6;y.value.style.translate=`0px ${be}px`}}function F(){l.value&&L()}function H(){F()}Ne(()=>s.scrollSubPixel,()=>{F()}),Cn(H);function V(){a.setVideoModalData({sources:u.getVideoSources(n.block.video.videoData),timeOffset:0}),a.setModalState(di.VIDEO)}Ct(()=>{Lt(()=>{l.value=!0,x(),F()})});const ne=U(!1);function $(z){ne.value=z}Vt(()=>{o=0,l.value=!1});function M(){o++,o===2&&r("load")}return(z,K)=>{const B=Nl,W=AE,oe=kE,se=i_;return ge(c)?(ae(),me("div",{key:0,ref_key:"rootRef",ref:w,class:st(["HomeQuote",{visible:ge(A)}])},[J("div",{ref_key:"maskRef",ref:g,class:"HomeQuote-inner"},[J("div",{ref_key:"bgRef",ref:y,class:"HomeQuote-bg"},[Ve(B,{"image-url":ge(c).backgroundImageSrc,"video-url":ge(c).backgroundVideoSrc,"fallback-to-static":ge(h),onImgload:M},null,8,["image-url","video-url","fallback-to-static"])],512),J("div",{ref_key:"columnRef",ref:b,class:"HomeQuote-grid"},[J("div",{ref_key:"columnRef",ref:b,class:"HomeQuote-column"},[J("div",{ref_key:"titleRef",ref:d,class:"HomeQuote-title"},[(ae(!0),me(Ye,null,ut(ge(_),(q,pe)=>(ae(),me("div",{ref_for:!0,ref:Te=>f[pe]=Te,key:`titleLine-${pe}`,innerHTML:q},null,8,p6))),128))],512),J("div",m6,[J("div",g6,[J("div",{ref:"videoTitleNameRef",class:"HomeQuote-video-title"},We(ge(c).video.name),513),J("div",{ref:"videoTitleRoleRef",class:"HomeQuote-video-title green"},We(ge(c).video.role),513),Ve(W)],512),J("button",{ref:"videoWrapRef",class:"HomeQuote-video-wrap",onClick:V,onMouseenter:K[0]||(K[0]=q=>$(!0)),onMouseleave:K[1]||(K[1]=q=>$(!1))},[J("span",_6,[Ve(se,{label:"Open video modal",theme:"white-alt","not-button":!0,variant:"large","manual-hover":ge(ne)},{default:Di(()=>[Ve(oe)]),_:1},8,["manual-hover"])]),J("img",{alt:"",class:"HomeQuote-video-bg",src:ge(c).video.videoImageSrc,onLoad:M},null,40,v6)],544)],512)],512)],512)],512)],2)):bt("",!0)}}},b6=_t(y6,[["__scopeId","data-v-ed655a87"]]),w6={class:"HomeImageStack-inner"},S6={class:"HomeImageStack-box"},T6={class:"HomeImageStack-box-content"},E6={class:"HomeImageStack-box-text"},k6={class:"HomeImageStack-subtitle HomeImageStack-typo"},A6=["src"],R6={class:"HomeImageStack-box-text masked"},C6={class:"HomeImageStack-subtitle HomeImageStack-typo"},x6={__name:"HomeImageStack",props:{block:{type:Object,required:!0,default:()=>({})}},emits:["load"],setup(t,{emit:e}){const n=t,r=e,i=wn(),o=xe(()=>n.block),s=U(!1);let a=40;const u=[],c=[],h=[],l=U(null),d=U(null),f=U(null),_=U(null),g=U(),b=U(null),y=U(!1),w=U(!1);let A=0;const k=U(!1);Ne(()=>k.value,M=>{M&&r("load")},{immediate:!0});const{gsap:R,CustomEase:x}=gn(),L={main:{timeline:null}};function F(){jr(L);const M=L.main;M.timeline=R.timeline({paused:!0});const z=x.create("custom","M0,0 C0,0.023 0,0.229 0,0.248 0,0.699 0.493,1 1,1 "),K=x.create("imgEase","M0,0 C0.36,0.521 0.624,1 1,1 ");let B=[];const W=u.length,oe=M.timeline,se=a*W;oe.set([d.value,l.value],{y:se},0),oe.set([u,c],{opacity:0},0),B=[f.value,_.value],oe.set(B,{y:a,opacity:0},0),oe.to(B,{y:0,ease:z,duration:.95},.2),oe.set(B,{opacity:1},.2);for(let q=0;q<W;q++){const pe=se-a*(q+1),Te=q<1?q+.01:q+.5,_e=z;if(B=[d.value,l.value],oe.to(B,{y:pe,duration:.95,ease:_e},Te),B=[u[q],c[q]],oe.set(B,{opacity:1},Te),q>0){const ye=h[q],Ae=K;oe.set(ye,{opacity:0,scale:1},0),oe.to(ye,{opacity:1,duration:.1},Te),oe.to(ye,{scale:1.1,duration:.95,ease:Ae},Te)}else{const ye=h[q];oe.set(ye,{opacity:1},0)}}oe.progress(.001)}function H(){var B;const M=Je.lvh,z=i.scrollSubPixel/M,K=pr.desktop.time.imageStackStart;y.value=gt(z,K,K+3.9),y.value&&((B=L.main.timeline)==null||B.progress(je(z,K+.3,K+2.2)))}function V(){s.value&&H()}function ne(){var M;a=((M=u[0])==null?void 0:M.getBoundingClientRect().height)||40,F(),V()}Ne(()=>i.scrollSubPixel,()=>{V()}),Cn(ne),Ct(()=>{Lt(()=>{var M;s.value=!0,ne(),F(),V(),Lt(ne),w.value=(M=lt.href)==null?void 0:M.includes("debug-vertical")})}),Vt(()=>{A=0,k.value=!1,s.value=!1});function $(M,z){A++;const K=o.value.stacks.length;k.value=K>0&&A===K}return(M,z)=>(ae(),me("div",{ref_key:"rootRef",ref:b,class:st(["HomeImageStack",{visible:ge(y),debugVertical:ge(w)}])},[z[1]||(z[1]=J("div",{class:"HomeImageStack-redline"},null,-1)),J("div",w6,[J("div",S6,[J("div",T6,[J("div",E6,[J("div",{ref_key:"labelsRef",ref:d,class:"HomeImageStack-labels HomeImageStack-typo"},[(ae(!0),me(Ye,null,ut(ge(o).stacks,(K,B)=>(ae(),me("div",{ref_for:!0,ref:W=>u[B]=W,key:`label-${B}`,class:"HomeImageStack-label"},We(K.label),1))),128))],512),J("div",k6,[J("div",{ref_key:"subtitleRef",ref:f,class:"HomeImageStack-label"},We(ge(o).subtitle),513)])]),J("div",{ref_key:"imagesRef",ref:g,class:"HomeImageStack-images"},[(ae(!0),me(Ye,null,ut(ge(o).stacks,(K,B)=>(ae(),me("img",{ref_for:!0,ref:W=>h[B]=W,key:`image-${B}`,class:"HomeImageStack-image",src:K.imageSrc,onLoad:z[0]||(z[0]=W=>$(W,M.image)),alt:""},null,40,A6))),128))],512),J("div",R6,[J("div",{ref_key:"labelsMaskedRef",ref:l,class:"HomeImageStack-labels HomeImageStack-typo"},[(ae(!0),me(Ye,null,ut(ge(o).stacks,(K,B)=>(ae(),me("div",{ref_for:!0,ref:W=>c[B]=W,key:`label-masked--${B}`,class:"HomeImageStack-label white"},We(K.label),1))),128))],512),J("div",C6,[J("div",{ref_key:"subtitleMaskedRef",ref:_,class:"HomeImageStack-label green"},We(ge(o).subtitle),513)])])])])])],2))}},P6=_t(x6,[["__scopeId","data-v-99a445c1"]]),I6={class:"HomeGraph-sidetitle-wrap"},L6={class:"HomeGraph-inner"},O6={class:"HomeGraph-box"},M6={class:"HomeGraph-text"},F6={class:"HomeGraph-text text2"},D6={class:"HomeGraph-value-labels"},$6={class:"HomeGraph-value-labels"},H6={__name:"HomeGraph",props:{block:{type:Object,required:!0,default:()=>({})},blockStack:{type:Object,required:!0,default:()=>({})}},emits:["load"],setup(t,{emit:e}){const n=t,r=e,i=wn(),o=xe(()=>n.block),s=U(null),a=U(null),u=U(null),c=U(null),h=U(null),l=U(null),d=U(null),f=U(0),_=U(300),g=U(300),b=U(null),y=U(null),w=U(null),A=U(null),k=U(null),R=U(null),x=U(null),L=U(null),F=U(null),H=U(null),V=U(null),ne=U(null),$=U(null),M=U(null),z=U(null),K=U(null),B=U(null),W=U(null),oe=U(null),se=U(null),q=[],pe=[],Te=xe(()=>{var ee,X;return((X=(ee=o.value)==null?void 0:ee.body1)==null?void 0:X.split(`
`))||[]}),_e=xe(()=>{var ee,X;return((X=(ee=o.value)==null?void 0:ee.body2)==null?void 0:X.split(`
`))||[]}),ye=U(!1),Ae=U(null),be=U(!1),{gsap:ie}=gn(),le={main:{timeline:null}};function he(){jr(le);const ee=le.main;ee.timeline=ie.timeline({paused:!0});const X=ee.timeline;let C=[];C=s.value,X.set(C,{y:"100lvh"},0),X.to(C,{duration:.75,y:"35.5vh",ease:"sine.out"},.001),X.to(C,{duration:.65,y:0,ease:"sine.in"},1.2),X.set(C,{y:0},3),C=a.value,X.set(C,{scale:.7,y:"75vh"},0),X.to(C,{duration:.75,scale:1,y:0,ease:"sine.out"},.05),X.set(f,{value:0},0),X.to(f,{value:1,duration:1,ease:"sine.out"},.1);const G=.9;C=[W.value,oe.value],X.set(C,{opacity:0},0),X.to(C,{opacity:1,duration:0,ease:"sine.out"},G),C=l.value,X.set(C,{x:20,opacity:0},0),X.to(C,{x:0,opacity:1,duration:.5,ease:"sine.out"},.5);function I({start:fe=.6,parent:ue,barHorz:S,barVertArray:m,labelArray:T}={}){C=ue,X.set(C,{x:"-5cqw"},0),X.to(C,{x:0,duration:.4,ease:"sine.out"},fe),C=S,X.set(C,{x:-10,scaleX:.5,opacity:0},0),X.to(C,{x:0,scaleX:1,duration:.35,ease:"sine.out"},fe),X.set(C,{opacity:1},fe),C=m,X.set(C,{opacity:0},0),X.set(C,{opacity:1},fe),C=T,X.set(C,{opacity:0,x:-10},0),X.to(C,{x:0,duration:.35,ease:"sine.out"},fe+.15),X.set(C,{opacity:1},fe+.2)}I({start:.5,parent:y.value,barHorz:A.value,barVertArray:[k.value,R.value],labelArray:[x.value,L.value]}),C=F.value,X.set(C,{x:-10,scaleX:0,opacity:0},0),X.to(C,{x:0,scaleX:1,duration:.5,ease:"sine.out"},.75),X.set(C,{opacity:1},.7),C=H.value,X.set(C,{x:-10,scaleX:0,opacity:0},0),X.to(C,{x:0,scaleX:1,duration:.5,ease:"sine.out"},.85),X.set(C,{opacity:1},.8),I({start:.75,parent:V.value,barHorz:$.value,barVertArray:[M.value,z.value],labelArray:[K.value,B.value]}),C=q,Fd({timeline:X,lineElementsArray:C,lineDuration:.3,startTime:.7}),SE({timeline:X,lineElementsArray:C,lineDuration:.3,startTime:1.35}),C=pe,Fd({timeline:X,lineElementsArray:C,lineDuration:.3,startTime:2.1}),C=se.value,X.set(C,{y:"100cqh"},0);const D="61cqh",Z="20.8cqh";X.to(C,{y:D,duration:.75,ease:"sine.out"},.3),X.to(C,{y:Z,duration:0,ease:"sine.inOut"},1.75),C=c.value,X.set(C,{y:"100cqh"},0),X.to(C,{y:D,duration:.75,ease:"sine.out"},.3),X.to(C,{y:Z,duration:1,ease:"sine.inOut"},1.25),C=h.value,X.set(C,{autoAlpha:1},0)}function Se(){var G;const ee=Je.lvh,X=i.scrollSubPixel/ee,C=pr.desktop.time.graphStart;if(be.value=gt(X,C,C+5.95),be.value){(G=le.main.timeline)==null||G.progress(je(X,C,C+2.15));const D=Li(je(X,C+4.45,C+5.75))*-1;Ae.value.style.translate=`0px ${D*ee}px`;const Z=Li(je(X,C+2.15,C+2.65)),fe=ee*.65,ue=Wn(Z,0,fe);u.value.style.clipPath=`inset( -2px -2px ${ue}px -2px )`;const S=Li(je(X,C+2.75,C+2.55));d.value.style.opacity=S;const m=Li(je(X,C+2.35,C+2.15));b.value.style.opacity=m}}function Ie(){const{svh:ee}=Je;_.value=Math.max(300,.584*ee),g.value=Math.max(100,.65*ee)}function j(){ye.value&&Se()}function P(){he(),Ie(),j()}Ne(()=>i.scrollSubPixel,()=>{j()}),Cn(P),Ct(()=>{Lt(()=>{ye.value=!0,he(),j()})}),Vt(()=>{ye.value=!1});function Y(){r("load")}return(ee,X)=>{const C=P6,G=CE,I=RE;return ae(),me("div",{ref_key:"rootRef",ref:Ae,class:st(["HomeGraph",{visible:ge(be)}])},[J("div",{ref_key:"bgRef",ref:s,class:"HomeGraph-bg"},null,512),J("div",I6,[J("div",{ref_key:"sideTitleRef",ref:l,class:"HomeGraph-sidetitle"},We(ge(o).title),513)]),Ve(C,{block:t.blockStack,onLoad:Y},null,8,["block"]),J("div",L6,[J("div",{ref_key:"boxRef",ref:a,class:"HomeGraph-box-wrap"},[J("div",O6,[J("div",{ref_key:"cornerCrossTLRef",ref:W,class:"HomeGraph-box-corner tl"},[Ve(G)],512),J("div",{ref_key:"cornerCrossBRRef",ref:oe,class:"HomeGraph-box-corner br"},[Ve(G)],512),J("div",{ref_key:"boxContentRef",ref:u,class:"HomeGraph-box-content"},[J("div",{ref_key:"boxWhiteBGRef",ref:h,class:"HomeGraph-box-content-bg white"},null,512),J("div",{ref_key:"boxGreenBGRef",ref:c,class:"HomeGraph-box-content-bg"},null,512),J("div",{ref_key:"titleRef",ref:se,class:"HomeGraph-text-wrap"},[J("div",M6,[(ae(!0),me(Ye,null,ut(ge(Te),(D,Z)=>(ae(),me("div",{ref_for:!0,ref:fe=>q[Z]=fe,key:`title1Line-${Z}`},We(D),1))),128))]),J("div",F6,[(ae(!0),me(Ye,null,ut(ge(_e),(D,Z)=>(ae(),me("div",{ref_for:!0,ref:fe=>pe[Z]=fe,key:`title2Line-${Z}`},We(D),1))),128))])],512)],512),J("div",{ref_key:"valuesRef",ref:b,class:"HomeGraph-box-values"},[J("div",{ref_key:"values1Ref",ref:y,class:"HomeGraph-value top"},[J("div",{ref_key:"values1BarRef",ref:w,class:"HomeGraph-value-bar"},[J("div",{ref_key:"values1BarHorzRef",ref:A,class:"HomeGraph-value-bar-horz"},null,512),J("div",{ref_key:"values1BarVertLeftRef",ref:k,class:"HomeGraph-value-bar-vert left"},null,512),J("div",{ref_key:"values1BarVertRightRef",ref:R,class:"HomeGraph-value-bar-vert right"},null,512)],512),J("div",D6,[J("div",{ref_key:"values1Label1",ref:x,class:"HomeGraph-value-label top"},We(ge(o).maximum1),513),J("div",{ref_key:"values1Label2",ref:L,class:"HomeGraph-value-label base"},We(ge(o).maximum2),513)])],512),J("div",{ref_key:"valuesMid1Ref",ref:F,class:"HomeGraph-value-mid"},null,512),J("div",{ref_key:"valuesMid2Ref",ref:H,class:"HomeGraph-value-mid"},null,512),J("div",{ref_key:"values2Ref",ref:V,class:"HomeGraph-value base"},[J("div",{ref_key:"values2BarRef",ref:ne,class:"HomeGraph-value-bar"},[J("div",{ref_key:"values2BarHorzRef",ref:$,class:"HomeGraph-value-bar-horz"},null,512),J("div",{ref_key:"values2BarVertLeftRef",ref:M,class:"HomeGraph-value-bar-vert left"},null,512),J("div",{ref_key:"values2BarVertRightRef",ref:z,class:"HomeGraph-value-bar-vert right"},null,512)],512),J("div",$6,[J("div",{ref_key:"values2Label1",ref:K,class:"HomeGraph-value-label top"},We(ge(o).minimum1),513),J("div",{ref_key:"values2Label2",ref:B,class:"HomeGraph-value-label base"},We(ge(o).minimum2),513)])],512)],512)]),J("div",{ref_key:"boxBorderRef",ref:d,class:"HomeGraph-box-border"},[Ve(I,{width:ge(_),height:ge(g),progress:ge(f)},null,8,["width","height","progress"])],512)],512)])],2)}}},N6=_t(H6,[["__scopeId","data-v-18da34fd"]]),B6=["src","onLoad"],V6={__name:"ImageSwirl",props:{block:{type:Object,required:!0,default:()=>({})}},emits:["load"],setup(t,{emit:e}){const n=t,r=e,i=wn(),{gsap:o}=gn(),s=U(!1),a=U(null),u=U(!1),c=[];let h=null;const l=xe(()=>n.block),d=xe(()=>l.value.content),f=structuredClone(gc.desktop.animation.main),_=structuredClone(gc.desktop.animation.rects),g=U(!1);Ne(()=>g.value,F=>{F&&r("load")},{immediate:!0});function b(){h==null||h.kill(),h=o.timeline({paused:!0});const F=h;l.value;const H=l.value.animation.main,V=f;for(const[se,q]of Object.entries(H))F.set(V,{[se]:q},0);const ne=6,$=1,M={s:.001,k:2.3,d:2.3},z={s:M.k,k:3.2,d:3.2-M.k},K={s:z.k,d:4.4-z.k},B={s:ne-1,d:1},W="sine.inOut";F.set(V,{rect_scale:5,duration:0,ease:W},0),F.to(V,{aspect_scale:.3,duration:M.d,ease:W},M.s),F.to(V,{rect_scale:1.5,duration:M.d,ease:W},M.s),F.to(V,{radius_multiply:.2,duration:M.d,ease:W},M.s),F.to(V,{rect_scale:2.2,duration:z.d,ease:W},z.s),F.to(V,{radius_multiply:.36,duration:z.d,ease:W},z.s),F.to(V,{aspect_scale:1,duration:z.d,ease:W},z.s),F.to(V,{radius_random_mul:.3,duration:z.d,ease:W},z.s),F.to(V,{radius_add:.48,duration:B.d,ease:"sine.in"},B.s-.6),F.to(V,{radius_random_mul:0,duration:K.d,ease:W},K.s),F.to(V,{rect_scale:0,duration:0,ease:W},ne-.05),F.to(V,{rotation:2,duration:ne-$,ease:se=>Ms(se,.07)},$);const oe=M.k-$;F.to(V,{rotationModulated:0,duration:oe,ease:W},$),F.to(V,{rotationModulated:.8,duration:K.d+B.d,ease:se=>Ms(se,.35)},K.s)}function y(){let F=0;const H=performance.now()/1e3,{radius_multiply:V,radius_random_mul:ne,radius_add:$,z_scale:M,z_add:z,rect_scale:K,rotation:B,rotationModulated:W,rotationModulateRamp:oe,aspect_scale:se}=f,q=(B+W-.2)*.5*zi;for(const pe of c){const Te=_[F];if(Te.el=pe,pe){const _e=Je.lvh,ye=Je.ww,Ae=ye/_e,be=F/c.length;let{el:ie,scale:le,aspect:he,z:Se,rotation:Ie,radius:j}=Te,P=Te.wander.seed;const Y=.5+P*.5,ee=yE(H,Y,Te.wander);Se+=z,Se+=ee[2]*.1;const X=Se*M+(1-M);let C=le*X*K;P=a_(P)*ne,C*=.75*P+.25;const G=Ie*zi,I=be*zi,D=G+I+q;let Z=X*j*V;Z+=$,Z+=P*.6,Z+=C*.15*he;const fe=Z*_e,ue=Wn(se,1,Ae);let S=Math.cos(D)*fe*ue,m=Math.sin(D)*fe;S+=ee[0]*.1*_e*Z,m+=ee[1]*.1*_e*Z,S+=ye*.5,m+=_e*.5,m-=_e*.15,S-=_e*.15*he,ie.style.translate=`${S}px ${m}px`,ie.style.scale=`${C} ${C}`}F++}}function w(){const F=i.scrollSubPixel/Je.lvh,H=[.1,5.5];u.value=gt(F,-1,H[1]),u.value&&(h==null||h.progress(je(F,H[0],H[1])))}function A(){s.value&&w()}function k(){u.value&&y()}function R(){A()}Ne(()=>i.scrollSubPixel,()=>{A()}),Cn(R),So(k),Ct(()=>{Lt(()=>{s.value=!0,b()})}),Vt(()=>{h==null||h.kill(),c.splice(0,c.length),x=0});let x=0;function L(F,H){const V=F.target;H.aspect=V.naturalWidth/V.naturalHeight,x++;const ne=_.length;g.value=ne>0&&x===ne}return(F,H)=>(ae(),me("div",{ref_key:"rootRef",ref:a,class:st(["ImageSwirl",{visible:ge(u)}])},[(ae(!0),me(Ye,null,ut(ge(_),(V,ne)=>{var $;return ae(),me("img",{ref_for:!0,ref:M=>c[ne]=M,key:`swirlimage-${ne}`,class:"ImageSwirl-rect",src:(($=ge(d).images[ne])==null?void 0:$.src)||"",onLoad:M=>L(M,V),alt:""},null,40,B6)}),128))],2))}},U6=_t(V6,[["__scopeId","data-v-59404dea"]]),j6={class:"HomeSwirlTitles-title-wrap"},W6={class:"HomeSwirlTitles-title-wrap"},z6={__name:"HomeSwirlTitles",props:{block:{type:Object,required:!0,default:()=>({})}},setup(t){const e=t,n=wn(),r=U(null),i=U(null),o=U(null),s=U(null),a=U(null),u=U(null),c=U(null),h=[],l=[],d=xe(()=>e.block),f=xe(()=>{var $,M,z;return((z=(M=($=d.value)==null?void 0:$.content)==null?void 0:M.title1)==null?void 0:z.split(`
`))||""}),_=xe(()=>{var $,M,z;return((z=(M=($=d.value)==null?void 0:$.content)==null?void 0:M.title2)==null?void 0:z.split(`
`))||""});xe(()=>{var $,M,z;return((z=(M=($=d.value)==null?void 0:$.content)==null?void 0:M.title3)==null?void 0:z.split(`
`))||""});const g=U(!1),b=U(null),y=U(!1),{gsap:w}=gn(),A={logoOutro:{timeline:null,bisection:.5},background:{timeline:null},title1:{timeline:null,bisection:.5},title2:{timeline:null,bisection:.5}};function k(){w.set(i.value,{autoAlpha:0}),w.set(a.value,{autoAlpha:0}),w.set(o.value,{autoAlpha:1})}function R(){jr(A);let $=A.logoOutro;$.timeline=w.timeline({paused:!0});let M=$.timeline;M.set(o.value,{autoAlpha:1},0),M.to(o.value,{duration:.25,autoAlpha:0},.01),$=A.background,$.timeline=w.timeline({paused:!0}),M=$.timeline,M.set(i.value,{autoAlpha:0},0),M.set(a.value,{autoAlpha:0},0),M.to(i.value,{duration:.25,autoAlpha:1},.01),M.to(a.value,{duration:.25,autoAlpha:1},.01),M.to(r.value,{duration:0,autoAlpha:0},.26),$=A.title1,$.timeline=w.timeline({paused:!0}),$.bisection=wE({timeline:$.timeline,lineElementsArray:h}),$=A.title2,$.timeline=w.timeline({paused:!0}),$.timeline.set(c.value,{y:0},0),$.bisection=Es({timeline:$.timeline,lineElementsArray:l,outroOffset:.3});const z=$.bisection*$.timeline.duration(),K=$.timeline.duration()-z;$.timeline.to(c.value,{y:-20,ease:"power2.in",duration:K},z+.01)}const x={vis:[-1,7],background:[2.4,2.6],title1_in:[2.6,3.6],title1_out:[3.8,4.5],title2_in:[4.5,4.9],title2_out:[4.9,5.4],logo:[5.2,5.6]};function L(){var q,pe,Te,_e,ye,Ae;const $=n.scrollSubPixel/Je.lvh,{vis:M,logo:z,background:K,title1_in:B,title1_out:W,title2_in:oe,title2_out:se}=x;if(y.value=gt($,M[0],M[1]),y.value){let be=A.logoOutro;(q=be.timeline)==null||q.progress(je($,z[0],z[1])),be=A.background,(pe=be.timeline)==null||pe.progress(je($,K[0],K[1])),be=A.title1,gt($,-1,B[1])?(Te=be.timeline)==null||Te.progress(je($,B[0],B[1],0,be.bisection,!0)):(_e=be.timeline)==null||_e.progress(je($,W[0],W[1],be.bisection,1,!0)),be=A.title2,gt($,-1,oe[1])?(ye=be.timeline)==null||ye.progress(je($,oe[0],oe[1],0,be.bisection,!0)):(Ae=be.timeline)==null||Ae.progress(je($,se[0],se[1],be.bisection,1,!0))}}let F=0;function H(){F+=.25,g.value&&y.value&&(o.value.style.rotate=`${F}deg`,s.value.style.rotate=`${F}deg`)}So(H);function V(){g.value&&L()}function ne(){V()}return Ne(()=>n.scrollSubPixel,()=>{V()}),Cn(ne),Ct(()=>{Lt(()=>{g.value=!0,k(),R(),V()})}),Vt(()=>{g.value=!1}),($,M)=>{const z=xE;return ae(),me("div",{ref_key:"rootRef",ref:b,class:st(["HomeSwirlTitles",{visible:ge(y)}])},[J("div",{ref_key:"bgWhiteRef",ref:r,class:"HomeSwirlTitles-bg white"},[J("div",{ref_key:"logoGreenRef",ref:s,class:"HomeSwirlTitles-logo green"},[Ve(z)],512)],512),J("div",{ref_key:"bgGreenRef",ref:i,class:"HomeSwirlTitles-bg green"},null,512),J("div",{ref_key:"logoWhiteWrapRef",ref:a,class:"HomeSwirlTitles-bg"},[J("div",{ref_key:"logoWhiteRef",ref:o,class:"HomeSwirlTitles-logo white"},[Ve(z)],512)],512),J("div",j6,[J("div",{ref_key:"titleRef1",ref:u,class:"HomeSwirlTitles-title"},[(ae(!0),me(Ye,null,ut(ge(f),(K,B)=>(ae(),me("div",{ref_for:!0,ref:W=>h[B]=W,key:`title1Line-${B}`,role:"group"},We(K),1))),128))],512)]),J("div",W6,[J("div",{ref_key:"titleRef2",ref:c,class:"HomeSwirlTitles-title"},[(ae(!0),me(Ye,null,ut(ge(_),(K,B)=>(ae(),me("div",{ref_for:!0,ref:W=>l[B]=W,key:`title2Line-${B}`,role:"group"},We(K),1))),128))],512)])],2)}}},q6=_t(z6,[["__scopeId","data-v-79c990d7"]]),G6={class:"HomeHero-inner"},Y6={class:"sr-only"},K6={class:"HomeHero-title"},X6={class:"HomeHero-title"},Q6={__name:"HomeHero",props:{block:{type:Object,required:!0,default:()=>({})}},emits:["load"],setup(t,{emit:e}){const n=t,r=e,i=wn(),o=mh(),s=[],a=[],u=U(null),c=U(null),h=U(null),l={rectScale:1,zScale:1,radiusScale:0,rotationUnit:0,el:null},d=U(!1),f=U(null),_=U(!1),{gsap:g}=gn(),b=xe(()=>n.block),y=xe(()=>b.value.videoSrc),w=xe(()=>b.value.imageSrc),A=xe(()=>b.value.title1),k=xe(()=>{var he;const le=((he=A.value)==null?void 0:he.split(`
`))||[];return b.value.title2&&le.push(b.value.title2),le}),R=xe(()=>{const le=k.value,he=["Empowering innovators","to build the future","of energy"];let Se=!0;return he.forEach((Ie,j)=>{he[j]!==le[j]&&(Se=!1)}),Se}),x=new or,L=new or,F={progress:0},H=[-1,.2],V=[.3,1],ne={unmasked:{timeline:null,bisection:.5},masked:{timeline:null,bisection:.5},video:{timeline:null,bisection:.5}},$=U(!1),M=U(!1),z=()=>$.value=!0,K=()=>M.value=!0,B=xe(()=>M.value);Ne(B,le=>le&&r("load"),{immediate:!0});function W(){jr(ne);let le=ne.masked;le.timeline=g.timeline({paused:!0}),le.bisection=Es({timeline:le.timeline,lineElementsArray:s}),le=ne.unmasked,le.timeline=g.timeline({paused:!0}),le.bisection=Es({timeline:le.timeline,lineElementsArray:a}),le=ne.video,le.timeline=g.timeline({paused:!0}),le.timeline.set(l,{rotationUnit:.5},0),le.timeline.to(l,{rectScale:.3,duration:1.5,ease:"power2.inOut"},.001),le.timeline.to(l,{zScale:.7,duration:2,ease:"power2.inOut"},.001),le.timeline.to(l,{rotationUnit:.75,duration:2,ease:"power2.inOut"},.2),le.timeline.to(l,{radiusScale:1.02,duration:1.7,ease:"power2.inOut"},.3)}Ne(()=>o.transitionVisibleState,le=>{le===ga.AFTER_ENTER&&oe()},{immediate:!0});function oe(){g.to(F,{progress:1,duration:3.4,ease:"sine.out"})}function se(){L.updateFromElement(u.value)}function q(){const{el:le,rectScale:he,zScale:Se,rotationUnit:Ie,radiusScale:j}=l;if(le){const P=Je.lvh,ee=Je.ww/P,X=he*Se,C=Ie*zi,G=Se*j*P,I=Math.cos(C)*G*ee,D=Math.sin(C)*G;le.style.translate=`${I}px ${D}px`,le.style.scale=`${X} ${X}`}}function pe(){q(),x.updateFromElement(pr.desktop.elements.heroRect)}function Te(){d.value&&(u.value.style.clipPath=or.clipPathInsetFromRects(x,L),c.value.style.translate=`${x.left}px ${x.top}px`,c.value.style.width=`${x.width}px`,c.value.style.height=`${x.height}px`)}function _e(le){var he,Se;(he=ne.masked.timeline)==null||he.progress(le),(Se=ne.unmasked.timeline)==null||Se.progress(le)}function ye(){var Ie;const le=i.scrollSubPixel/Je.lvh,he=V[1]+1;_.value=gt(le,-1,he);let Se=ne.masked;if(_.value){if(gt(le,V[0],he)){const j=je(le,V[0],V[1],Se.bisection,1,!0);_e(j)}Se=ne.video,(Ie=Se.timeline)==null||Ie.progress(je(le,.2,2.5))}}function Ae(){d.value&&(ye(),se(),pe(),Te())}function be(){Ae()}Ne(()=>i.scrollSubPixel,()=>{Ae()}),Cn(be);function ie(){const le=i.scrollSubPixel/Je.lvh,he=ne.masked;if(gt(le,H[0],H[1])){const Se=je(F.progress,0,1,0,he.bisection,!0);_e(Se)}}return So(ie),Ct(()=>{Lt(()=>{d.value=!0,pr.desktop.elements.heroRect=h.value,l.el=h.value,W(),Ae(),Lt(Ae)})}),Vt(()=>{g.killTweensOf(F),jr(ne),F.progress=0}),(le,he)=>{const Se=Nl;return ae(),me("div",{ref_key:"rootRef",ref:f,class:st(["HomeHero",{visible:ge(_),isInitialText:ge(R)}])},[J("div",{ref_key:"inputRectRef",ref:h,class:"HomeHero-rect"},null,512),J("div",G6,[J("h1",Y6,[(ae(!0),me(Ye,null,ut(ge(k),(Ie,j)=>(ae(),me("span",{key:`sr-only-line-${j}`},We(Ie),1))),128))]),J("div",K6,[(ae(!0),me(Ye,null,ut(ge(k),(Ie,j)=>(ae(),me("div",{ref_for:!0,ref:P=>a[j]=P,key:`unmaskedLine-${j}`,class:"HomeHero-title-line",role:"group"},We(Ie),1))),128))])]),J("div",{ref_key:"maskedBGRef",ref:c,class:"HomeHero-bg"},[Ve(Se,{"image-url":ge(w),"video-url":ge(y),onVideoplay:z,onImgload:K},null,8,["image-url","video-url"])],512),J("div",{ref_key:"maskedRef",ref:u,class:"HomeHero-inner masked"},[J("div",X6,[(ae(!0),me(Ye,null,ut(ge(k),(Ie,j)=>(ae(),me("div",{ref_for:!0,ref:P=>s[j]=P,key:`maskedLine-${j}`,class:"HomeHero-title-line",role:"group"},We(Ie),1))),128))])],512)],2)}}},J6=_t(Q6,[["__scopeId","data-v-f92dfd40"]]),Z6={class:"HomeAnimation-landscape"},e$={class:"HomeAnimation-landscape-sticky-wrap"},t$={key:0,class:"HomeAnimation-landscape-sticky"},n$={__name:"HomeAnimationLandscape",props:{content:{type:Object,required:!0,default:()=>({hero:{},swirl:{},graph:{},stack:{},quote:{},keyAreas:{},approach:{},stats:{},funds:{}})}},emits:["load"],setup(t,{expose:e,emit:n}){const r=n,i=U(!1),o=U(!1),s=U(!1),a=U(!1),u=U(!1),c=U(!1),h=xe(()=>i.value&&o.value&&s.value&&a.value&&u.value&&c.value);Ne(h,y=>{y&&r("load")},{immediate:!0});function l(){i.value=!0}function d(){o.value=!0}function f(){s.value=!0}function _(){a.value=!0}function g(){u.value=!0}function b(){c.value=!0}return e({loaded:h}),(y,w)=>{const A=IE,k=J6,R=q6,x=U6,L=N6,F=b6,H=h6,V=JD;return ae(),me("div",Z6,[J("div",e$,[t.content?(ae(),me("div",t$,[Ve(A),Ve(k,{block:t.content.hero.desktop,onLoad:l},null,8,["block"]),Ve(R,{block:t.content.swirl.desktop},null,8,["block"]),Ve(x,{block:t.content.swirl.desktop,onLoad:d},null,8,["block"]),Ve(L,{block:t.content.graph.desktop,"block-stack":t.content.stack.desktop,onLoad:f},null,8,["block","block-stack"]),Ve(F,{block:t.content.quote.desktop,onLoad:_},null,8,["block"]),Ve(H,{block:t.content.keyAreas.desktop,onLoad:g},null,8,["block"]),Ve(V,{block:t.content.approach.desktop,onLoad:b},null,8,["block"])])):bt("",!0)])])}}},r$=_t(n$,[["__scopeId","data-v-3059f735"]]);class i${constructor(e){Le(this,"canObserve",!1);Le(this,"onFallback",null);Le(this,"detector",null);Le(this,"onLowPerformance",()=>{var e;(e=this.onFallback)==null||e.call(this),this.destroy()});var n;this.onFallback=e,this.canObserve=typeof PerformanceObserver<"u"&&((n=PerformanceObserver.supportedEntryTypes)==null?void 0:n.includes("long-animation-frame")),this.canObserve?this.detector=new s$({onFallback:this.onLowPerformance}):(this.detector=new o$({onLowFPS:this.onLowPerformance}),this.detector.start())}destroy(){var e;this.onFallback=null,(e=this.detector)==null||e.destroy(),this.detector=null}}class o${constructor({fpsThreshold:e=42,checkInterval:n=1e3,failCountThreshold:r=5,historySize:i=3,onLowFPS:o=()=>{}}={}){Le(this,"destroyed",!1);Le(this,"frameCount",0);Le(this,"checkFailCount",0);Le(this,"lastCheck",performance.now());Le(this,"fpsHistory",[]);Le(this,"_raf",null);Le(this,"_tick",()=>{var r;if(this._raf=requestAnimationFrame(this._tick),document.visibilityState==="hidden"){this.lastCheck=performance.now(),this.frameCount=0;return}this.frameCount++;const e=performance.now(),n=e-this.lastCheck;if(n>=this.checkInterval){const i=this.frameCount/n*1e3;this.fpsHistory.push(i),this.fpsHistory.length>this.historySize&&this.fpsHistory.shift();const s=this.fpsHistory.reduce((a,u)=>a+u,0)/this.fpsHistory.length;if(s<this.fpsThreshold?this.checkFailCount++:this.checkFailCount=Math.floor(this.checkFailCount*=.5),this.checkFailCount>=this.failCountThreshold){(r=this.onLowFPS)==null||r.call(this,s),this.stop();return}this.frameCount=0,this.lastCheck=e}});this.fpsThreshold=e,this.checkInterval=n,this.failCountThreshold=r,this.historySize=i,this.onLowFPS=o}start(){this.destroyed||(cancelAnimationFrame(this._raf),this.frameCount=0,this.fpsHistory=[],this.checkFailCount=0,this.lastCheck=performance.now(),this._tick())}stop(){cancelAnimationFrame(this._raf),this._raf=null}destroy(){this.destroyed=!0,this.stop(),this.onLowFPS=null}}class s${constructor(e){Le(this,"longFrames",0);Le(this,"windowStart",performance.now());Le(this,"observer",null);Le(this,"opts",{frameBudgetMS:1e3/60,maxLongFramesPerInterval:12,interval:3e3,onFallback:null});Object.assign(this.opts,e),this.observer=new PerformanceObserver(n=>{for(const r of n.getEntries())r.entryType==="long-animation-frame"&&r.duration>this.opts.frameBudgetMS&&this.registerLongFrame()}),this.observer.observe({type:"long-animation-frame",buffered:!0})}registerLongFrame(){const e=performance.now(),{interval:n,maxLongFramesPerInterval:r,onFallback:i}=this.opts;e-this.windowStart>n&&(this.longFrames=0,this.windowStart=e),this.longFrames++,this.longFrames>=r&&(i==null||i(),this.destroy())}destroy(){this.opts.onFallback=null,this.observer.disconnect()}}const a$={class:"HomeAnimation"},l$={__name:"HomeAnimation",props:{content:{type:Object,required:!0,default:()=>({hero:{},swirl:{},graph:{},stack:{},quote:{},keyAreas:{},approach:{},stats:{},funds:{}})}},emits:["load"],setup(t,{emit:e}){const n=e,r=pE(),i=wn(),o=vi(),s=U(!1),a=U(!1);let u;const c=xe(()=>r.orientation==="landscape");Ne(a,d=>{d&&s.value&&(n("load"),u==null||u.destroy(),u=new i$(()=>{console.warn("LOW FPS DETECTED"),o.setLowFPS(!0)}))},{immediate:!0});function h(){a.value=!0}let l=!1;return Ne(()=>!i.scrollLock&&s.value,d=>{d&&l&&(l=!1,setTimeout(i.scrollTo(1),50),setTimeout(i.scrollTo(0),100))}),Ct(()=>{l=!0,s.value=!0}),Vt(()=>{s.value=!1,u==null||u.destroy(),u=null}),(d,f)=>{const _=r$,g=UD;return ae(),me("div",a$,[ge(c)?(ae(),Kt(_,{key:0,content:t.content,onLoad:h},null,8,["content"])):(ae(),Kt(g,{key:1,content:t.content,onLoad:h},null,8,["content"]))])}}},u$=_t(l$,[["__scopeId","data-v-f0803819"]]),c$="/assets/feature_quote_video_thumb-Z86du56P.webp",f$="/assets/featured_quote_bg-CSY0NBS6.webp",d$="/assets/Quote-CPw6Wkep.mp4",h$={desktop:{backgroundVideoSrc:d$,backgroundImageSrc:f$,title:`When I see a tough problem, my first
thought is always <code>“how can innovation help</code>
<code>solve this?â€</code> That’s why Breakthrough
Energy was started – to bring the power of
innovation to bear on the toughest problem
humanity has ever faced: climate change.`,video:{name:"Bill Gates",role:`Founder
Breakthrough Energy`,videoImageSrc:c$,videoData:{value:{url:"",type:""}}}}},f1="/assets/Hero-Reel-compressed-COlxHHPV.mp4",d1="/assets/hero_f0-C9PFU_wA.webp",p$={desktop:{imageSrc:d1,videoSrc:f1,title1:`
Empowering innovators
to build the future
`.trim(),title2:`
of energy.
`.trim()},mobile:{imageSrc:d1,videoSrc:f1,title1:`
Empowering
innovators
`.trim(),title2:`
to build`,title3:`
the future
of energy
`.trim()}},m$="/assets/affordable-1@2x-BiGOHVqX.webp",g$="/assets/reliable-2@2x-CETxX1DK.webp",_$="/assets/zero-carbon-3@2x-CaxkkjRK.webp",v$={desktop:{title:"THE OPPORTUNITY AHEAD",subtitle:"Energy",stacks:[{label:"Affordable",imageSrc:m$},{label:"Reliable",imageSrc:g$},{label:"Zero Carbon",imageSrc:_$}]}},h1="/assets/Agriculture-Edit-compressed-Ddb0a7xq.mp4",p1="/assets/agriculture_f0-B2HbTrze.webp",m1="/assets/Buildings-Edit-compressed-CM3Iudkx.mp4",g1="/assets/buildings_f0-DkMi9yRx.webp",_1="/assets/Electricity-Edit-compressed-Da1Qay8h.mp4",v1="/assets/electricity_f0-Bv7ZfiCF.webp",y1="/assets/Manufacturing-Edit-compressed-DpJAf_Rb.mp4",b1="/assets/manufacturing_f0-DN44fdvY.webp",w1="/assets/Transportation-Edit-compressed-BuDVVJlQ.mp4",S1="/assets/transportation_f0-CJ_Tegjh.webp",y$={desktop:{content:{main:{title:`
We work to accelerate progress across
every source of emissions. In these five
critical areas of energy consumption,
a fundamental shift is underway,
creating a <em>landscape of opportunity.</em>
`.trim(),sideTitle:"ENERGY CONSUMPTION"},areas:[{id:0,src:y1,imageSrc:b1,emission:"30% emissions",button:"25 Manufacturing Companies",url:"manufacturing",title:"Manufacturing",body:"The shift to clean materials is accelerating opening up massive opportunity across every mode of movement."},{id:1,src:_1,imageSrc:v1,emission:"28% emissions",button:"32 Electricity Companies",url:"electricity",title:"Electricity",body:"A surge in innovation is leading the charge to deliver clean and reliable power while transforming the grid."},{id:2,src:h1,imageSrc:p1,emission:"19% emissions",button:"16 Agriculture Companies",url:"agriculture",title:"Agriculture",body:"Agriculture is undergoing a fundamental shift—toward systems that feed more people with fewer emissions."},{id:3,src:w1,imageSrc:S1,emission:"16% emissions",button:"12 Transportation Companies",url:"transportation",title:"Transportation",body:"The shift to clean mobility is accelerating—opening up massive opportunity across every mode of movement."},{id:4,src:m1,imageSrc:g1,emission:"7% emissions",button:"8 Building Companies",url:"buildings",title:"Buildings",body:"Decarbonizing the built environment is a global challenge and a high-leverage play for long-term impact."}],outro:{title:`This is <em>energy innovation</em>
on a global scale`,button:"Full Portfolio",url:"/portfolio"}},animation:{cluster:{pivot:{x:.6,y:.5},rects:[{offset:[501,82],rectSize:[138,87]},{offset:[1036,98],rectSize:[172,97]},{offset:[741,256],rectSize:[172,126]},{offset:[1036,509],rectSize:[165,97]},{offset:[777,695],rectSize:[138,87]}]}}},mobile:{content:{main:{title:`
We work to accelerate progress across
every source of emissions. In these five
critical areas of energy consumption,
a fundamental shift is underway,
creating a <em>landscape of opportunity.</em>
`.trim(),sideTitle:"ENERGY CONSUMPTION"},areas:[{id:0,src:y1,imageSrc:b1,emission:"30% emissions",button:"25 Manufacturing Companies",url:"manufacturing",title:"Manufacturing",body:"The shift to clean materials is accelerating opening up massive opportunity across every mode of movement."},{id:1,src:_1,imageSrc:v1,emission:"28% emissions",button:"32 Electricity Companies",url:"electricity",title:"Electricity",body:"A surge in innovation is leading the charge to deliver clean and reliable power while transforming the grid."},{id:2,src:h1,imageSrc:p1,emission:"19% emissions",button:"16 Agriculture Companies",url:"agriculture",title:"Agriculture",body:"Agriculture is undergoing a fundamental shift—toward systems that feed more people with fewer emissions."},{id:3,src:w1,imageSrc:S1,emission:"16% emissions",button:"12 Transportation Companies",url:"transportation",title:"Transportation",body:"The shift to clean mobility is accelerating—opening up massive opportunity across every mode of movement."},{id:4,src:m1,imageSrc:g1,emission:"7% emissions",button:"8 Building Companies",url:"buildings",title:"Buildings",body:"Decarbonizing the built environment is a global challenge and a high-leverage play for long-term impact."}],outro:{title:`This is <em>energy innovation</em>
on a global scale`,button:"Full Portfolio",url:"/portfolio"}},animation:{cluster:{pivot:{x:.5,y:.5},rects:[{offset:[221,54],rectSize:[69,44]},{offset:[34,128],rectSize:[68,43]},{offset:[289,190],rectSize:[105,60]},{offset:[25,449],rectSize:[87,51]},{offset:[240,510],rectSize:[75,55]}]}}}},Ia=["desktop","mobile"];function qt(t,e,n){var o,s;e=e==="desktop"?"":"mobile_";const r=e+n;let i=(o=t[r])==null?void 0:o.value;return i==null&&(i=((s=t[n])==null?void 0:s.value)||null),i}function La(t){const e=structuredClone(t);return e.desktop=e.desktop||{},e.mobile=e.mobile||structuredClone(t.desktop),e}function OE(t){return t?mr().getVideoSource(t):null}function Cl(t,{width:e=null,height:n=null}={}){return t?mr().getWebP(t,{width:e,height:n}):null}function b$(t){const e={};return e.hero=w$(t),e.swirl=S$(t),e.graph=T$(t),e.stack=E$(t),e.quote=k$(t),e.keyAreas=A$(t),e.approach=R$(t),e.stats={},e.funds={},e}function w$(t){const e=La(p$);return Ia.forEach(n=>{var a,u,c,h;const r=e[n];r.title1=qt(t,n,"home_hero_heading_1"),r.title2=qt(t,n,"home_hero_heading_2"),r.title3=qt(t,n,"home_hero_heading_3");const i=(u=(a=qt(t,n,"home_hero_video"))==null?void 0:a[0])==null?void 0:u.url;r.videoSrc=OE(i);const o=(h=(c=qt(t,n,"home_hero_video_image"))==null?void 0:c[0])==null?void 0:h.url,s=n==="desktop"?1920:375;r.imageSrc=Cl(o,{width:s})||r.imageSrc}),e}function S$(t){const e=La(gc);return Ia.forEach(n=>{const r=e[n].content;r.title1=qt(t,n,"home_swirl_title_1"),r.title2=qt(t,n,"home_swirl_title_2");const i=qt(t,n,"home_swirl_images")||[];r.images.forEach((o,s)=>{var u;const a=n==="desktop"?700:300;o.src=Cl((u=i[s])==null?void 0:u.url,{width:a})||o.src})}),e}function T$(t){const e=La(z4);return Ia.forEach(n=>{const r=e[n];r.title=qt(t,n,"home_graph_title"),r.body1=qt(t,n,"home_graph_body_1"),r.body2=qt(t,n,"home_graph_body_2"),r.maximum1=qt(t,n,"home_graph_max_1"),r.maximum2=qt(t,n,"home_graph_max_2"),r.minimum1=qt(t,n,"home_graph_min_1"),r.minimum2=qt(t,n,"home_graph_min_2")}),e}function E$(t){const e=La(v$);return Ia.forEach(n=>{e[n]=e[n]||{};const r=e[n];r.title=qt(t,n,"home_graph_title"),r.subtitle=qt(t,n,"home_image_stack_subtitle"),r.stacks.forEach((i,o)=>{var c,h;const s=qt(t,n,`home_image_stack_label_${o+1}`);i.label=s||i.label;const a=(h=(c=qt(t,n,`home_image_stack_img_src_${o+1}`))==null?void 0:c[0])==null?void 0:h.url,u=n==="desktop"?1024:375;i.imageSrc=Cl(a,{width:u})||i.imageSrc})}),e}function k$(t){const e=La(h$);return Ia.forEach(n=>{var u,c,h,l,d,f,_;const r=e[n];r.title=qt(t,n,"home_quote_text"),r.video.name=qt(t,n,"home_quote_title"),r.video.role=qt(t,n,"home_quote_role");const i=(c=(u=qt(t,n,"home_quote_bg_video"))==null?void 0:u[0])==null?void 0:c.url;r.backgroundVideoSrc=i||r.backgroundVideoSrc;const o=(l=(h=qt(t,n,"home_quote_bg_image"))==null?void 0:h[0])==null?void 0:l.url;let s=n==="desktop"?1920:375;r.backgroundImageSrc=Cl(o,{width:s})||r.backgroundImageSrc;const a=(f=(d=qt(t,n,"home_quote_video_image"))==null?void 0:d[0])==null?void 0:f.url;s=n==="desktop"?500:375,r.video.videoImageSrc=Cl(a,{width:s})||r.video.videoImageSrc,r.video.videoData=((_=t.home_quote_video)==null?void 0:_.linkedItems[0].elements.video)||null}),e}function A$(t){const e=La(y$);return Ia.forEach(n=>{const r=e[n].content;r.main.title=qt(t,n,"home_key_areas_intro"),r.main.sidetitle=qt(t,n,"home_key_areas_sidetitle"),r.outro.title=qt(t,n,"home_key_areas_outro"),r.areas.forEach((i,o)=>{var a,u,c,h,l,d,f,_,g;const s=(c=(u=(a=t.key_areas)==null?void 0:a.linkedItems)==null?void 0:u[o])==null?void 0:c.elements;if(s){const b=(d=(l=(h=s[n==="desktop"?"video":"mobile_video"])==null?void 0:h.value)==null?void 0:l[0])==null?void 0:d.url;i.src=OE(b)||i.src;const y=(g=(_=(f=s[n==="desktop"?"video_image":"mobile_video_image"])==null?void 0:f.value)==null?void 0:_[0])==null?void 0:g.url,w=n==="desktop"?1920:375;i.imageSrc=Cl(y,{width:w})||i.imageSrc,i.emission=s.emissions.value,i.button=s.button.value,i.title=s.title.value,i.body=s.description.value}})}),e}function R$(t){const e=La(NF);return Ia.forEach(n=>{e[n].chapters.forEach((i,o)=>{i.title=qt(t,n,`home_approach_${o+1}_title`),i.subtitle=qt(t,n,`home_approach_${o+1}_subtitle`),i.body=qt(t,n,`home_approach_${o+1}_body`)})}),e}const C$={class:"page"},x$=Object.assign({name:"IndexPage"},{__name:"index",setup(t){const e=mr(),n=vi();U("home");const r=U(""),i=U(null);Il(),Pl();const o=U(),{data:s,error:a,isLoading:u}=Ld("home",!0,5),c=U(null);r_(xe(()=>({title:r.value||"Home",meta:i.value?e.getMeta(i.value):[],link:e.getMetaLinks(i.value)})));async function h(){var _,g;if(o.value=!1,!!s.value){if(!((_=s.value.system)!=null&&_.type)){o.value="Invalid page data structure";return}i.value=s.value.elements,l(),r.value=(g=i.value.title)==null?void 0:g.value,e.pageType=s.value.system.type}}function l(){var g,b,y,w;const _=(w=(y=(b=(g=i.value)==null?void 0:g.components)==null?void 0:b.linkedItems)==null?void 0:y[0])==null?void 0:w.elements;if(_){const A=b$(_);c.value=A}}async function d(){try{await new Promise((_,g)=>{const b=Ne(()=>u.value,y=>{y||(b(),_())},{immediate:!0})}),s.value&&await h()}catch(_){console.error("Error in onServerPrefetch:",_)}}Tc(()=>{s.value&&!u.value&&h(),a.value&&(o.value="Error loading page",console.error("Error loading page:",a.value))}),Yd(async()=>{s.value&&!u.value&&h()}),Sc(async()=>{await d()});function f(){n.setIsLoaderVisible(!1)}return Ct(()=>{n.setIsLoaderVisible(!0)}),Vt(()=>{}),(_,g)=>{const b=u$,y=CF;return ae(),me("div",C$,[c.value?(ae(),Kt(b,{key:0,content:c.value,onLoad:f},null,8,["content"])):bt("",!0),c.value?(ae(),Kt(y,{key:1})):bt("",!0)])}}}),ME=_t(x$,[["__scopeId","data-v-3122bc98"]]),P$=Object.freeze(Object.defineProperty({__proto__:null,default:ME},Symbol.toStringTag,{value:"Module"}));function I$({elRef:t=U(null),activeMargin:e=0,activeInitDelaySeconds:n=.1,onUpdate:r}={}){const i=wn(),o=U(!1);let s=null,a=null;const u=(b,y=0)=>{clearTimeout(s),y?s=setTimeout(()=>{o.value=b},y*1e3):o.value=b},c={scrollY:0,viewportHeight:1080,viewportWidth:1080,svh:1e3,lvh:1e3,rect:{scrollContent:{y:1,height:1,get baseY(){return this.y+this.height},x:1,width:1},viewport:{y:-1,height:1,get baseY(){return this.y+this.height},x:1,width:1},viewportUnit:{y:1,height:1,get baseY(){return this.y+this.height},x:1,width:1}},rectIsVisible:!1,rectIsActive:!1},h=U(!1),l=U(!1);Ne(()=>t.value&&o.value,b=>{b&&_()},{immediate:!0});const d=()=>i.scrollCurrent,f=()=>Je.lvh||window.innerHeight,_=()=>{const b=f(),y=window.innerWidth,w=d();if(c.scrollY=w,c.viewportHeight=b,c.viewportWidth=y,c.svh=Je.svh,c.lvh=Je.lvh,!t.value)return;const{top:A,left:k,width:R,height:x}=t.value.getBoundingClientRect();let L=c.rect.scrollContent;L.y=A+w,L.height=x,L.x=k,L.width=R,L=c.rect.viewport,L.height=x,L.x=k,L.width=R,L=c.rect.viewportUnit,L.height=x/b,L.x=k/y,L.width=R/y,g()},g=()=>{const b=c.viewportHeight,y=d();if(c.scrollY=y,c.rect.viewport.y=c.rect.scrollContent.y-y,c.rect.viewportUnit.y=c.rect.viewport.y/b,o.value){const{y:w,baseY:A}=c.rect.viewportUnit,k=e;c.rectIsVisible=A>0&&w<1,c.rectIsActive=A+k>0&&w-k<1,h.value=c.rectIsVisible,l.value=c.rectIsActive}r==null||r(c)};return Cn(()=>{_(),clearTimeout(a),a=setTimeout(_,100)},!0,3,!0),Ne(()=>i.scrollCurrent,()=>{g()}),Vt(()=>{u(!1),clearTimeout(a)}),Ct(()=>{u(!1),u(!0,n)}),{elRef:t,scrollData:c,rectIsVisible:h,rectIsActive:l}}const L$=["data-open","data-fixed"],O$=["data-open"],M$=["data-open"],F$={class:"FilterList-container"},D$={class:"FilterList-items"},$$=["data-active","aria-label","onClick"],H$={key:0,class:"FilterList-bullet","aria-hidden":"true"},N$={class:"FilterList-footeritem FilterList-footeritem--left"},B$=["aria-hidden"],V$=["aria-hidden"],U$=["data-open"],j$={__name:"FilterList",props:{taxonomies:{type:Object,required:!0,default:()=>[{codename:"sector",name:"sector",terms:[{codename:"manufacturing",name:"manufacturing",terms:[]},{codename:"electricity",name:"electricity",terms:[]}]},{codename:"program",name:"program",terms:[{codename:"fellows",name:"fellows",terms:[]}]}]},selectedTerm:{type:String,default:""}},emits:["update:selectedTerm"],setup(t,{emit:e}){const n=t,r=e,i=vi(),o=wn(),s=U(n.selectedTerm),a=U(!1),u=U(!1),c=U(null),h=U(null),l=U(null),d=U(null),f=U(null),_=U(null),g=[],b=U(null),y=U(null),w=U(null),A=U(!1);I$({elRef:c,activeMargin:.1,onUpdate:()=>M()});let k=null;const R=xe(()=>!!s.value),x=xe(()=>{if(!Array.isArray(n.taxonomies))return n.taxonomies;const _e={};return n.taxonomies.forEach(ye=>{ye.name&&ye.terms&&(_e[ye.name]=ye.terms)}),_e}),L=xe(()=>Object.keys(x.value));function F(){i.setModalState(di.FILTER)}function H(){i.setModalState(di.NONE)}function V(_e){const ye=s.value===_e?"":_e;s.value=ye,r("update:selectedTerm",ye)}function ne(){s.value="",r("update:selectedTerm","")}function $(){a.value=!a.value,a.value?F():H()}function M(){if(!c.value||!c.value.parentElement)return;const _e=c.value.getBoundingClientRect(),ye=c.value.parentElement.getBoundingClientRect(),Ae=ye.top>0&&_e.top<=ye.top,be=_e.bottom>=ye.bottom;Ae&&!be?A.value=!1:be?A.value=!0:A.value=!1}function z(){M()}function K(){M()}function B(){u.value=!0,Lt(()=>{const _e=h.value,ye=d.value;if(!_e||!ye)return;k&&(k.kill(),k=null),Bn.set(ye,{clipPath:"inset(100% 0% 0% 0%)",display:"block"}),A.value&&Bn.set(c.value,{position:"fixed"}),g.flat().forEach(be=>{be&&Bn.set(be,{opacity:0,y:20})}),k=Bn.timeline(),k.set(_e,{clipPath:"inset(0% 0% 0% 0%)"}),k.to(ye,{clipPath:"inset(0% 0% 0% 0%)",duration:.33,ease:"power1.inOut"},"-=0.10");const Ae="-=0.10";g.forEach(be=>{!be||!be.length||k.to(be.filter(Boolean),{y:0,opacity:1,duration:.18,ease:"power4.out",stagger:.03},Ae)})})}function W(){const _e=h.value,ye=d.value;if(!_e||!ye)return;k&&(k.kill(),k=null),k=Bn.timeline();let Ae="0";g.forEach(be=>{!be||!be.length||(k.to(be.filter(Boolean),{y:20,opacity:0,duration:.1,ease:"power4.in",stagger:0},Ae),Ae="+=0.05")}),k.to(ye,{duration:.14,ease:"power1.inOut",onComplete:()=>{Bn.set(ye,{clearProps:"all"}),Bn.set(_e,{clearProps:"all"}),Bn.set(c.value,{clearProps:"all"}),Bn.set(_.value,{clearProps:"all"}),g.flat().forEach(be=>{be&&Bn.set(be,{clearProps:"all"})}),u.value=!1}},"-=0.08")}function oe(_e,ye,Ae,be=0){_e&&Bn.to(_e,{y:-Ae,duration:.5,ease:"power3.out",delay:be}),ye&&Bn.fromTo(ye,{y:Ae},{y:0,duration:.5,ease:"power3.out",delay:0})}function se(_e,ye,Ae,be=0){ye&&Bn.to(ye,{y:Ae,duration:.5,ease:"power3.out",delay:be}),_e&&Bn.fromTo(_e,{y:-Ae},{y:0,duration:.5,ease:"power3.out",delay:0})}function q(){$()}function pe(){a.value=!1,H()}function Te(_e){return s.value===_e}return Ne(a,async _e=>{await Lt();const ye=b.value,Ae=y.value,be=w.value;!ye||!Ae||(_e?(oe(ye,Ae,30),R.value&&(Bn.set(be,{opacity:1,delay:.5}),oe(null,be,30,.5))):(se(ye,Ae,30),R.value&&(se(null,be,30,.5),Bn.set(be,{opacity:0,delay:0}))))}),Ne(a,_e=>{_e?B():W()}),Ne(()=>n.selectedTerm,_e=>{s.value=_e}),Ne(()=>o.scrollSubPixel,()=>{z()}),Cn(K),Ct(()=>{Lt(z)}),Vt(()=>{a.value&&H(),k&&(k.kill(),k=null)}),(_e,ye)=>(ae(),me(Ye,null,[u.value?(ae(),me("div",{key:0,ref_key:"filterSpacer",ref:_,"aria-hidden":"true",class:"FilterList-spacer"},null,512)):bt("",!0),J("div",{ref_key:"filterWrapperRef",ref:c,class:"FilterList-wrapper","data-open":a.value,"data-fixed":A.value},[J("div",{ref_key:"filterPanelRef",ref:h,class:"FilterList","data-open":a.value},[J("div",{ref_key:"filterBgRef",ref:d,class:"FilterList-bg","data-open":a.value},null,8,M$),J("div",F$,[(ae(!0),me(Ye,null,ut(L.value,(Ae,be)=>(ae(),me("div",{key:Ae,class:"FilterList-category"},[J("h3",{ref_for:!0,ref:ie=>{g[be]||(g[be]=[]),g[be][0]=ie},class:"FilterList-categorytitle"},We(Ae),513),J("ul",D$,[(ae(!0),me(Ye,null,ut(x.value[Ae],(ie,le)=>(ae(),me("li",{key:`${Ae}-${ie.name||ie}`,class:"FilterList-item"},[J("button",{ref_for:!0,ref:he=>{g[be]||(g[be]=[]),g[be][le+1]=he},class:"FilterList-term","data-active":Te(ie.name||ie),"aria-label":`Filter by ${ie.name||ie}`,onClick:he=>V(ie.name||ie)},[J("span",null,We(ie.name||ie),1),Te(ie.name||ie)?(ae(),me("span",H$)):bt("",!0)],8,$$)]))),128))])]))),128))]),J("div",{class:"FilterList-footer",onClick:q},[J("div",N$,[MR(J("button",{ref_key:"seeAllBtn",ref:w,class:"FilterList-action FilterList-action--seeall","aria-label":"See all categories",onClick:Yv(ne,["stop"])}," See All ",512),[[WC,R.value&&a.value]])]),J("div",{ref_key:"filterFooter",ref:f,class:"FilterList-footeritem FilterList-footeritem--center type-body--bold"},[J("button",{class:"FilterList-action FilterList-togglebtn",onClick:Yv($,["stop"])},[J("span",{ref_key:"filterTextTop",ref:b,class:"FilterList-toggletext FilterList-toggletext--filter","aria-hidden":a.value},"Filter",8,B$),J("span",{ref_key:"closeTextBottom",ref:y,class:"FilterList-toggletext FilterList-toggletext--close","aria-hidden":!a.value},"Close",8,V$)])],512),ye[0]||(ye[0]=J("div",{class:"FilterList-footeritem FilterList-footeritem--right",role:"presentation"},null,-1))])],8,O$)],8,L$),J("div",{ref_key:"filterBackdropRef",ref:l,class:"FilterList-backdrop","data-open":a.value,onClick:pe},ye[1]||(ye[1]=[J("div",{class:"FilterList-backdrop-gradient"},null,-1)]),8,U$)],64))}},W$=_t(j$,[["__scopeId","data-v-acb5d8b3"]]),z$=Ji({__name:"PillLabel",props:{label:{type:String,required:!0},variant:{type:String,required:!1,default:"default"},isActive:{type:Boolean,required:!1,default:!1},action:{type:Function,required:!1,default:null},to:{type:String,required:!1,default:""}},setup(t){return(e,n)=>{const r=lg("router-link");return t.to?(ae(),Kt(r,{key:0,to:t.to,class:st(["PillLabel",`PillLabel--${t.variant}`]),"data-active":t.isActive},{default:Di(()=>[Ju(We(t.label),1)]),_:1},8,["to","class","data-active"])):(ae(),Kt(va(t.action?"button":"span"),{key:1,class:st(["PillLabel",`PillLabel--${t.variant}`]),"data-active":t.isActive,onClick:t.action},{default:Di(()=>[Ju(We(t.label),1)]),_:1},8,["class","data-active","onClick"]))}}}),FE=_t(z$,[["__scopeId","data-v-3fbcf133"]]),q$=["href","data-nav-color"],G$={class:"PortfolioCard-inner"},Y$={class:"PortfolioCard-logo"},K$=["src","alt"],X$={class:"PortfolioCard-title type-body--bold"},Q$={class:"PortfolioCard-description type-body--xs"},J$={key:1},Z$={class:"PortfolioCard-tags"},eH={__name:"PortfolioCard",props:{company:{type:Object,required:!0},theme:{type:Object,default:()=>({name:"theme",type:"multiple_choice",value:[{name:"yellow",codename:"yellow"}]})}},setup(t){const e=t,n=mr(),r=xe(()=>{var s,a,u;const o=(u=(a=(s=e.company)==null?void 0:s.elements)==null?void 0:a.description_rt)==null?void 0:u.value;return!o||o.trim()==="<p><br></p>"?!1:o}),i=o=>{var a;const s=n.getAssetURL((a=e.company.elements)==null?void 0:a.logo);return s||"https://placehold.co/200x80/transparent/000000?font=Poppins&text="+o};return xe(()=>{var o,s,a;return(a=(s=(o=e.company.elements)==null?void 0:o.tags)==null?void 0:s.value)!=null&&a.length?e.company.elements.tags.value.map(u=>u.name).join(" • "):""}),(o,s)=>{const a=PE,u=Pc,c=FE;return ae(),me("a",{href:t.company.elements.url.value,target:"_blank",class:st(["PortfolioCard",`theme--${ge(n).getThemeValue(t.theme)}`]),"data-nav-color":ge(n).getNavColorValue(ge(n).getThemeValue(t.theme))},[J("div",G$,[Ve(a,{class:"PortfolioCard-icon"}),J("div",Y$,[J("img",{src:i(t.company.elements.title.value),alt:t.company.elements.title.value+" logo",class:"PortfolioCard-img"},null,8,K$)]),J("h3",X$,We(t.company.elements.title.value),1),J("div",Q$,[r.value?(ae(),Kt(u,{key:0,"disable-styles":!0,html:r.value},null,8,["html"])):(ae(),me("p",J$,We(t.company.elements.description.value),1))]),J("div",Z$,[(ae(!0),me(Ye,null,ut(t.company.elements.technologies.value,h=>(ae(),Kt(c,{key:h.codename,label:h.name,variant:"compact"},null,8,["label"]))),128))])])],10,q$)}}},tH=_t(eH,[["__scopeId","data-v-cd1068c8"]]),nH=["data-is-modal-route"],rH=["data-is-modal-route"],iH={__name:"PortfolioGrid",props:{companies:{type:Array,required:!0,default:()=>[]},filtered:{type:Boolean,default:!1},theme:{type:Object,default:()=>({name:"theme",type:"multiple_choice",value:[{name:"yellow",codename:"yellow"}]})},isModalRoute:{type:Boolean,default:!1}},setup(t){return(e,n)=>{const r=tH;return ae(),me("div",{class:st(["PortfolioGrid",{"PortfolioGrid--filtered":t.filtered}]),"data-is-modal-route":t.isModalRoute},[J("div",{class:"PortfolioGrid-container","data-is-modal-route":t.isModalRoute},[(ae(!0),me(Ye,null,ut(t.companies,i=>(ae(),me("div",{key:i.system.id,class:"PortfolioGrid-item"},[Ve(r,{company:i,theme:t.theme},null,8,["company","theme"])]))),128))],8,rH)],10,nH)}}},oH=_t(iH,[["__scopeId","data-v-0b547557"]]),sH={viewBox:"0 0 63 64",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function aH(t,e){return ae(),me("svg",sH,e[0]||(e[0]=[J("path",{d:"M49.2303 38.2347C48.1636 39.3014 47.0969 40.1547 45.9769 40.7947C42.8303 42.6614 39.4169 43.4614 35.8436 43.1947C33.3903 43.0347 30.9903 42.2881 28.8569 41.1147C26.6703 39.9414 24.8036 38.2881 23.3103 36.3147L21.5503 34.0214L24.8569 31.5147C25.2303 31.2481 25.6569 31.1414 26.0836 31.1947C26.5103 31.2481 26.8836 31.4614 27.1503 31.8347L27.8969 32.8481C28.8569 34.1814 30.1369 35.2481 31.5769 36.0481C33.0169 36.8481 34.6169 37.2747 36.2169 37.4347C38.4569 37.5947 40.7503 37.0614 42.7769 35.9414C43.6303 35.4614 44.4303 34.8214 45.2303 34.0214L53.7103 25.5414C55.7903 23.4081 56.9103 20.5814 56.8569 17.5947C56.8569 13.3814 54.5103 9.59474 50.7236 7.56808C49.2303 6.76808 47.4703 6.34141 45.4436 6.28808C42.4569 6.28808 39.6836 7.40808 37.5503 9.48808L31.7903 15.1947C31.1503 15.8347 30.0836 15.8347 29.4436 15.1947L26.5103 12.2614L33.4969 5.32808C36.7503 2.28808 41.0169 0.528076 45.6569 0.528076C50.1903 0.528076 54.457 2.34141 57.657 5.54141C60.857 8.74141 62.6703 13.0081 62.6703 17.5414C62.6703 22.0747 61.017 26.3414 57.8703 29.5947L49.2303 38.2347ZM4.85695 33.9681C1.71028 37.2214 0.0569458 41.5414 0.0569458 46.0747C0.110279 52.3681 3.52361 57.9681 9.17695 61.1147C11.4703 62.3947 14.2436 63.0881 17.1236 63.0881H17.2836C21.7636 63.0881 26.0303 61.3814 29.2836 58.2347L36.2169 51.3014L33.2836 48.3681C32.6436 47.7281 31.5769 47.7281 30.9369 48.3681L25.2303 54.0747C23.0969 56.1547 20.3236 57.2747 17.2303 57.2747C14.1903 57.2747 11.3636 56.0481 9.28361 53.9147C7.15028 51.7814 5.97695 48.9547 5.97695 45.9681C5.97695 42.9814 7.04361 40.1547 9.12361 38.0214L17.7103 29.4347C18.8836 28.2614 20.2169 27.4081 21.7636 26.8214C23.3103 26.2347 24.9103 26.0214 26.5636 26.1281C28.1636 26.2347 29.8169 26.7147 31.2036 27.5147C32.6436 28.3147 33.8703 29.3814 34.8836 30.7147L35.6303 31.7281C35.8969 32.1014 36.2703 32.3147 36.6969 32.3681C37.1236 32.3681 37.5503 32.3681 37.9236 32.0481L41.2303 29.5414L39.4703 27.2481C38.0303 25.2747 36.1103 23.6214 33.9236 22.4481C31.7903 21.2747 29.3369 20.5814 26.9369 20.3681C26.5103 20.3681 26.0836 20.3681 25.7103 20.3681C23.1503 20.3681 20.6969 20.9014 18.3503 22.0214C16.5903 22.8747 14.8303 24.1014 13.1769 25.7547L4.91028 34.0214L4.85695 33.9681Z",fill:"currentColor"},null,-1)]))}const lH={render:aH},uH={fill:"none",viewBox:"0 0 41 41",xmlns:"http://www.w3.org/2000/svg"};function cH(t,e){return ae(),me("svg",uH,e[0]||(e[0]=[J("path",{d:"m6.06382 18.4375 2.53333-2.6 7.06665 6.9333c.5.5 1.2.6334 1.8334.3667.6333-.2667 1.0333-.8667 1.0333-1.5667v-19.59997h3.6333v19.73337c0 .7.4 1.3 1.0334 1.5666.6666.2667 1.3666.1334 1.8666-.3666l7.0334-7.0334 2.5666 2.5667-14.1666 14.1667zm-3.9 16.3333v3.6334h36.39998v-3.6334z",fill:"currentColor"},null,-1)]))}const fH={render:cH},dH=["data-is-modal-route"],hH=["data-is-modal-route"],pH={class:"AreaDetail-main"},mH={class:"AreaDetail-header"},gH={class:"AreaDetail-content"},_H={key:1,class:"AreaDetail-technologies"},vH={class:"AreaDetail-pilllist"},yH={key:2,class:"AreaDetail-links"},bH={class:"AreaDetail-linklist"},wH=["href","target"],SH={key:0,class:"AreaDetail-linktype type-body--bold"},TH={key:1,class:"AreaDetail-linktype AreaDetail-linktype--placeholder"},EH={class:"AreaDetail-linktitle type-body"},kH={class:"AreaDetail-linkicon"},AH={key:0,class:"AreaDetail-actions"},RH={__name:"AreaDetail",props:{area:{type:Object,required:!0},theme:{type:Object,default:()=>({name:"theme",type:"multiple_choice",value:[{name:"yellow",codename:"yellow"}]})},isModalRoute:{type:Boolean,default:!1}},setup(t){const e=t,n=mr(),r=xe(()=>e.area.elements||{});function i(c){var l,d;if(!c.elements)return"#";const h=n.getAssetURL(c.elements.download);return h||((d=(l=c.elements)==null?void 0:l.link)!=null&&d.value?c.elements.link.value:"#")}function o(c){return!!n.getAssetURL(c.elements.download)}function s(c){var h,l;return!!((l=(h=c.elements)==null?void 0:h.link)!=null&&l.value)}function a(c){if(!c.type)return"";const h=c.type.value;return!h||!h.length?"":h[0].name||""}const u=xe(()=>e.area.elements.title.value?n_(e.area.elements.title.value):"");return(c,h)=>{var b,y,w,A;const l=Pc,d=FE,f=fH,_=lH,g=PT;return ae(),me("section",{class:"AreaDetail","data-is-modal-route":t.isModalRoute},[J("div",{class:"AreaDetail-container","data-is-modal-route":t.isModalRoute},[J("div",pH,[J("header",mH,[r.value.title?(ae(),me("h2",{key:0,class:st(["AreaDetail-title type-h3",u.value])},We(r.value.title.value),3)):bt("",!0)]),J("div",gH,[r.value.intro?(ae(),Kt(l,{key:0,class:"AreaDetail-intro type-body--lg",html:r.value.intro.value},null,8,["html"])):bt("",!0),(y=(b=r.value.technologies)==null?void 0:b.value)!=null&&y.length?(ae(),me("div",_H,[h[0]||(h[0]=J("h3",{class:"AreaDetail-sectiontitle type-h6"}," Key Technologies ",-1)),J("ul",vH,[(ae(!0),me(Ye,null,ut(r.value.technologies.value,k=>(ae(),me("li",{key:k.codename,class:"technology-item"},[Ve(d,{label:k.name},null,8,["label"])]))),128))])])):bt("",!0),(A=(w=r.value.perspectives)==null?void 0:w.linkedItems)!=null&&A.length?(ae(),me("div",yH,[h[1]||(h[1]=J("h3",{class:"AreaDetail-sectiontitle type-h6"}," Perspectives ",-1)),J("ul",bH,[(ae(!0),me(Ye,null,ut(r.value.perspectives.linkedItems,k=>{var R;return ae(),me("li",{key:k.system.id,class:"AreaDetail-linkitem"},[J("a",{href:i(k),target:s(k)?"_blank":"_self",class:"AreaDetail-link"},[(R=k.elements)!=null&&R.type?(ae(),me("span",SH,We(a(k.elements)),1)):(ae(),me("span",TH)),J("span",EH,We(k.system.name),1),J("span",kH,[o(k)?(ae(),Kt(f,{key:0})):(ae(),Kt(_,{key:1}))])],8,wH)])}),128))])])):bt("",!0)])]),t.isModalRoute?(ae(),me("div",AH,[Ve(g,{to:ge(n).prepLink("portfolio"),theme:"black",label:"Explore the Full Portfolio"},null,8,["to"])])):bt("",!0)],8,hH)],8,dH)}}},CH=_t(RH,[["__scopeId","data-v-36cae1fc"]]),xH={class:"TextHero-container"},PH={class:"TextHero-wrap"},IH={class:"TextHero-titlewrap"},LH={class:"TextHero-lead"},OH=Ji({__name:"TextHero",props:{block:{type:Object,required:!0,default:()=>({_type:"",vueType:"",pageTitle:"",blockIndex:1,cascadeColor:"white",theme:{name:"theme",type:"multiple_choice",value:[{name:"white",codename:"white"}]}})}},setup(t){const e=t;mr();const n=xe(()=>{var r;return n_((r=e.block.title)==null?void 0:r.value)});return(r,i)=>{const o=Pc;return ae(),me("header",{class:st(["TextHero","theme-text--yellow"])},[J("div",xH,[J("div",PH,[J("div",IH,[t.block.title?(ae(),me("h1",{key:0,class:st(["TextHero-title type-oversized",n.value])},We(t.block.title.value),3)):bt("",!0)]),J("div",LH,[t.block.intro?(ae(),Kt(o,{key:0,class:"TextHero-leadtext type-h6",html:t.block.intro.value},null,8,["html"])):bt("",!0)])])])])}}}),MH=_t(OH,[["__scopeId","data-v-63347f05"]]),FH=["data-nav-color","data-is-modal-route"],DH={key:0,class:"portfolio-loading"},$H={key:1,class:"portfolio-error"},HH={class:"type-oversized"},NH={key:2,class:"portfolio-content"},BH=["data-is-modal-route","data-has-filter"],VH=["data-has-filter","data-is-modal-route"],UH={__name:"portfolio",props:{slug:{type:String,required:!0},filter:{type:String,default:""},isModalRoute:{type:Boolean,default:!1},theme:{name:"theme",type:Object,default:()=>({name:"theme",type:"multiple_choice",value:[{name:"cream",codename:"cream"}]})}},setup(t){const e=t,n=mr(),r=U(""),i=U(null),o=Il(),s=Pl(),a=U(),u=U(null),{data:c,error:h,isLoading:l}=aE("portfolio"),{data:d,error:f,isLoading:_}=Ld("sector"),{data:g,error:b,isLoading:y}=Ld("program"),{data:w,error:A,isLoading:k}=j3("be"),R=U(""),x=U([]),L=xe(()=>R.value?`${r.value||"Portfolio"} - ${R.value}`:r.value||"Portfolio");e.isModalRoute||r_(xe(()=>({title:L.value,meta:i.value?n.getMeta(i.value):[],link:n.getMetaLinks(i.value)})));function F(){i.value.theme=e.theme}const H=xe(()=>!i.value||!i.value.theme?{}:{[`theme--${n.getThemeValue(i.value.theme)}`]:!0}),V=xe(()=>{var oe,se,q;return(q=(se=(oe=i.value)==null?void 0:oe.companies)==null?void 0:se.linkedItems)!=null&&q.length?i.value.companies.linkedItems:[]}),ne=xe(()=>R.value?V.value.filter(oe=>{var se,q,pe;return(pe=(q=(se=oe.elements)==null?void 0:se.tags)==null?void 0:q.value)!=null&&pe.length?!!(oe.elements.tags.value.some(Te=>Te.name===R.value)||oe.elements.tags.value.some(Te=>Te.name===R.value)):!1}):V.value);async function $(){var oe,se;if(a.value=!1,K(),!!c.value){if(!((oe=c.value.system)!=null&&oe.type)){a.value="Invalid page data structure";return}i.value=c.value.elements,r.value=(se=i.value.title)==null?void 0:se.value,e.isModalRoute||(n.pageType=c.value.system.type),F()}}function M(oe){var q,pe;let se=(pe=(q=oe.elements)==null?void 0:q.portfolio_area)==null?void 0:pe.value;return se.length<1?!1:(se=se[0].name,se===R.value)}function z(){if(!d||!g||!d.value||!g.value){x.value=[];return}const oe=d.value.filter(q=>M(q)),se=g.value.filter(q=>M(q));x.value=oe.length?oe[0]:se.length?se[0]:[]}function K(){R.value=e.filter?e.filter:"",(g.value||d.value)&&R.value!==""&&z()}function B(oe){if(e.filter===oe)return;const se=oe?`/portfolio/${encodeURIComponent(oe)}`:"/portfolio";s.push(se)}async function W(){try{await new Promise((oe,se)=>{const q=Ne(()=>l.value,pe=>{pe||(q(),oe())},{immediate:!0})}),c.value&&await $()}catch(oe){console.error("Error in onServerPrefetch:",oe)}}return Ne(R,oe=>{B(oe)}),Ne(()=>o.params,()=>{K()},{immediate:!0}),Tc(()=>{c.value&&!l.value&&$(),h.value&&(a.value="Error loading page")}),Yd(async()=>{u.value=e.slug,c.value&&!l.value&&$()}),Sc(async()=>{u.value=e.slug,await W()}),Vt(()=>{}),(oe,se)=>{const q=MH,pe=CH,Te=oH,_e=W$;return ae(),me("div",{key:oe.$route.fullPath,class:st(["portfolio",H.value]),"data-nav-color":ge(n).getNavColorValue(H.value),"data-is-modal-route":t.isModalRoute},[ge(l)||ge(k)?(ae(),me("div",DH,se[1]||(se[1]=[J("div",{class:"loading-indicator"}," Loading page content... ",-1)]))):a.value?(ae(),me("div",$H,[J("h1",HH,We(a.value),1),se[2]||(se[2]=J("p",null,"Sorry, we couldn't load the page you requested.",-1))])):i.value?(ae(),me("div",NH,[!x.value||!R.value?(ae(),Kt(q,{key:0,block:i.value},null,8,["block"])):bt("",!0),J("section",{class:"portfolio-companies","data-is-modal-route":t.isModalRoute,"data-has-filter":!!R.value},[J("div",{class:st(["portfolio-container",t.isModalRoute?"portfolio-container--modal":""])},[J("div",{class:"portfolio-layout","data-has-filter":!!R.value,"data-is-modal-route":t.isModalRoute},[x.value&&R.value?(ae(),Kt(pe,{key:0,area:x.value,theme:i.value.theme,class:"portfolio-areadetail","is-modal-route":t.isModalRoute},null,8,["area","theme","is-modal-route"])):bt("",!0),Ve(Te,{companies:ne.value,filtered:!!R.value,theme:i.value.theme,class:"portfolio-gridcontainer","is-modal-route":t.isModalRoute},null,8,["companies","filtered","theme","is-modal-route"])],8,VH)],2)],8,BH),!t.isModalRoute&&Object.keys(ge(w)).length>0?(ae(),Kt(_e,{key:1,"selected-term":R.value,"onUpdate:selectedTerm":se[0]||(se[0]=ye=>R.value=ye),taxonomies:ge(w)},null,8,["selected-term","taxonomies"])):bt("",!0)])):bt("",!0)],10,FH)}}},Dd=_t(UH,[["__scopeId","data-v-013329b3"]]),jH=Object.freeze(Object.defineProperty({__proto__:null,default:Dd},Symbol.toStringTag,{value:"Module"})),DE=t=>{const e={};Object.entries(Object.assign({"/src/layouts/default.vue":()=>zr(()=>import("./default-NFWhMLka.js"),__vite__mapDeps([2,3,4]))})).forEach(([i,o])=>{let s=i.replace("/src/layouts/","").replace(".vue","");e[s]=o});function r(i,o=!0){return i.map(s=>{var a,u,c,h,l,d;if(((a=s.children)==null?void 0:a.length)>0&&(s.children=r(s.children,!1)),o){if(!s.component&&((u=s.children)==null?void 0:u.find(_=>{var g;return(_.path===""||_.path==="/")&&((g=_.meta)==null?void 0:g.isLayout)})))return s;if(((c=s.meta)==null?void 0:c.layout)!==!1)return{path:s.path,component:e[((h=s.meta)==null?void 0:h.layout)||"default"],children:s.path==="/"?[s]:[{...s,path:""}],meta:{isLayout:!0}}}return(l=s.meta)!=null&&l.layout?{path:s.path,component:e[(d=s.meta)==null?void 0:d.layout],children:[{...s,path:""}],meta:{isLayout:!0}}:s})}return r(t)};async function $E(t,e={}){const n=e.document||t.resolvedOptions.document;if(!n||!t.dirty)return;const r={shouldRender:!0,tags:[]};if(await t.hooks.callHook("dom:beforeRender",r),!!r.shouldRender)return t._domUpdatePromise||(t._domUpdatePromise=new Promise(async i=>{var f;const o=new Map,s=new Promise(_=>{t.resolveTags().then(g=>{_(g.map(b=>{const y=o.get(b._d)||0,w={tag:b,id:(y?`${b._d}:${y}`:b._d)||Jy(b),shouldRender:!0};return b._d&&uE(b._d)&&o.set(b._d,y+1),w}))})});let a=t._dom;if(!a){a={title:n.title,elMap:new Map().set("htmlAttrs",n.documentElement).set("bodyAttrs",n.body)};for(const _ of["body","head"]){const g=(f=n[_])==null?void 0:f.children;for(const b of g){const y=b.tagName.toLowerCase();if(!Qy.has(y))continue;const w=cE({tag:y,props:{}},{innerHTML:b.innerHTML,...b.getAttributeNames().reduce((A,k)=>(A[k]=b.getAttribute(k),A),{})||{}});if(w.key=b.getAttribute("data-hid")||void 0,w._d=Mm(w)||Jy(w),a.elMap.has(w._d)){let A=1,k=w._d;for(;a.elMap.has(k);)k=`${w._d}:${A++}`;a.elMap.set(k,b)}else a.elMap.set(w._d,b)}}}a.pendingSideEffects={...a.sideEffects},a.sideEffects={};function u(_,g,b){const y=`${_}:${g}`;a.sideEffects[y]=b,delete a.pendingSideEffects[y]}function c({id:_,$el:g,tag:b}){const y=b.tag.endsWith("Attrs");a.elMap.set(_,g),y||(b.textContent&&b.textContent!==g.textContent&&(g.textContent=b.textContent),b.innerHTML&&b.innerHTML!==g.innerHTML&&(g.innerHTML=b.innerHTML),u(_,"el",()=>{g==null||g.remove(),a.elMap.delete(_)}));for(const w in b.props){if(!Object.prototype.hasOwnProperty.call(b.props,w))continue;const A=b.props[w];if(w.startsWith("on")&&typeof A=="function"){const R=g==null?void 0:g.dataset;if(R&&R[`${w}fired`]){const x=w.slice(0,-5);A.call(g,new Event(x.substring(2)))}g.getAttribute(`data-${w}`)!==""&&((b.tag==="bodyAttrs"?n.defaultView:g).addEventListener(w.substring(2),A.bind(g)),g.setAttribute(`data-${w}`,""));continue}const k=`attr:${w}`;if(w==="class"){if(!A)continue;for(const R of A)y&&u(_,`${k}:${R}`,()=>g.classList.remove(R)),!g.classList.contains(R)&&g.classList.add(R)}else if(w==="style"){if(!A)continue;for(const[R,x]of A)u(_,`${k}:${R}`,()=>{g.style.removeProperty(R)}),g.style.setProperty(R,x)}else A!==!1&&A!==null&&(g.getAttribute(w)!==A&&g.setAttribute(w,A===!0?"":String(A)),y&&u(_,k,()=>g.removeAttribute(w)))}}const h=[],l={bodyClose:void 0,bodyOpen:void 0,head:void 0},d=await s;for(const _ of d){const{tag:g,shouldRender:b,id:y}=_;if(b){if(g.tag==="title"){n.title=g.textContent,u("title","",()=>n.title=a.title);continue}_.$el=_.$el||a.elMap.get(y),_.$el?c(_):Qy.has(g.tag)&&h.push(_)}}for(const _ of h){const g=_.tag.tagPosition||"head";_.$el=n.createElement(_.tag.tag),c(_),l[g]=l[g]||n.createDocumentFragment(),l[g].appendChild(_.$el)}for(const _ of d)await t.hooks.callHook("dom:renderTag",_,n,u);l.head&&n.head.appendChild(l.head),l.bodyOpen&&n.body.insertBefore(l.bodyOpen,n.body.firstChild),l.bodyClose&&n.body.appendChild(l.bodyClose);for(const _ in a.pendingSideEffects)a.pendingSideEffects[_]();t._dom=a,await t.hooks.callHook("dom:rendered",{renders:d}),i()}).finally(()=>{t._domUpdatePromise=void 0,t.dirty=!1})),t._domUpdatePromise}function WH(t={}){var r,i,o;const e=((r=t.domOptions)==null?void 0:r.render)||$E;t.document=t.document||(typeof window<"u"?document:void 0);const n=((o=(i=t.document)==null?void 0:i.head.querySelector('script[id="unhead:payload"]'))==null?void 0:o.innerHTML)||!1;return b5({...t,plugins:[...t.plugins||[],{key:"client",hooks:{"entries:updated":e}}],init:[n?JSON.parse(n):!1,...t.init||[]]})}function zH(t,e){let n=0;return()=>{const r=++n;e(()=>{n===r&&t()})}}function qH(t={}){const e=WH({domOptions:{render:zH(()=>$E(e),n=>setTimeout(n,0))},...t});return e.install=S5(e),e}function GH(t){return document.readyState==="loading"?new Promise(e=>{document.addEventListener("DOMContentLoaded",()=>e(t))}):Promise.resolve(t)}const YH=Ji({setup(t,{slots:e}){const n=U(!1);return Ct(()=>n.value=!0),()=>n.value?e.default&&e.default({}):e.placeholder&&e.placeholder({})}});function KH(t){try{return JSON.parse(t||"{}")}catch(e){return console.error("[SSG] On state deserialization -",e,t),{}}}function XH(t,e,n,r){const{transformState:i,registerComponents:o=!0,useHead:s=!0,rootContainer:a="#app"}={};async function u(c=!1,h){const l=ux(t);let d;s&&l.use(d=qH());const f=J2({history:R2(e.base),...e}),{routes:_}=e;o&&l.component("ClientOnly",YH);const g=[],w={app:l,head:d,isClient:!0,router:f,routes:_,onSSRAppRendered:()=>{},triggerOnSSRAppRendered:()=>Promise.all(g.map(x=>x())),initialState:{},transformState:i,routePath:h};await GH(),w.initialState=(i==null?void 0:i(window.__INITIAL_STATE__||{}))||KH(window.__INITIAL_STATE__),await(n==null?void 0:n(w)),l.use(f);let A,k=!0;f.beforeEach((x,L,F)=>{(k||A&&A===x.path)&&(k=!1,A=x.path,x.meta.state=w.initialState),F()});const R=w.initialState;return{...w,initialState:R}}return(async()=>{const{app:c,router:h}=await u();await h.isReady(),c.mount(a,!0)})(),u}const HE=[{path:"/",name:"/",component:()=>zr(()=>Promise.resolve().then(()=>P$),void 0)},{path:"/:slug",name:"/[slug]",component:()=>zr(()=>import("./_slug_-BJCgeKe5.js"),__vite__mapDeps([0,1])),meta:{layout:"default"}},{path:"/:slug(.*)",name:"/[...slug]",component:()=>zr(()=>Promise.resolve().then(()=>M5),void 0),meta:{layout:"default"}},{path:"/example",name:"/example",component:()=>zr(()=>import("./example-CwIXk9r9.js"),__vite__mapDeps([5,6,7,3,8]))},{path:"/fellows-projects",name:"/fellows-projects",component:()=>zr(()=>import("./fellows-projects-DraDp4g3.js"),__vite__mapDeps([9,10]))},{path:"/partners",name:"/partners",component:()=>zr(()=>import("./partners-BNtLCFcy.js"),__vite__mapDeps([11,12,13,14]))},{path:"/people",name:"/people",component:()=>zr(()=>import("./people-BtTdOfTX.js"),__vite__mapDeps([15,16,12,13,17,18]))},{path:"/perspectives",name:"/perspectives",component:()=>zr(()=>import("./perspectives-CP6r0l4G.js"),__vite__mapDeps([19,6,7,20]))},{path:"/portfolio",name:"/portfolio",component:()=>zr(()=>Promise.resolve().then(()=>jH),void 0)},{path:"/programs",name:"/programs",component:()=>zr(()=>import("./programs-D4adppiy.js"),__vite__mapDeps([21,16,12,13,17,22]))},{path:"/signup",name:"/signup",component:()=>zr(()=>import("./signup-FOUQTrML.js"),__vite__mapDeps([23,24]))}],QH={class:"proxy-block"},JH={__name:"ProxyBlock",props:{block:{type:Object,required:!0,default:()=>({_type:"",vueType:"",pageTitle:"",pageSlug:"",blockIndex:1,cascadeColor:"white"})}},setup(t){return(e,n)=>(ae(),me("div",QH,[J("h3",null,We(t.block.vueType)+" : "+We(t.block._type),1),J("p",null,We(t.block),1)]))}},ZH=_t(JH,[["__scopeId","data-v-f15c05b3"]]);var yp={};/*!
* howler.js v2.2.4
* howlerjs.com
*
* (c) 2013-2020, James Simpson of GoldFire Studios
* goldfirestudios.com
*
* MIT License
*/var T1;function e8(){return T1||(T1=1,function(t){(function(){var e=function(){this.init()};e.prototype={init:function(){var l=this||n;return l._counter=1e3,l._html5AudioPool=[],l.html5PoolSize=10,l._codecs={},l._howls=[],l._muted=!1,l._volume=1,l._canPlayEvent="canplaythrough",l._navigator=typeof window<"u"&&window.navigator?window.navigator:null,l.masterGain=null,l.noAudio=!1,l.usingWebAudio=!0,l.autoSuspend=!0,l.ctx=null,l.autoUnlock=!0,l._setup(),l},volume:function(l){var d=this||n;if(l=parseFloat(l),d.ctx||h(),typeof l<"u"&&l>=0&&l<=1){if(d._volume=l,d._muted)return d;d.usingWebAudio&&d.masterGain.gain.setValueAtTime(l,n.ctx.currentTime);for(var f=0;f<d._howls.length;f++)if(!d._howls[f]._webAudio)for(var _=d._howls[f]._getSoundIds(),g=0;g<_.length;g++){var b=d._howls[f]._soundById(_[g]);b&&b._node&&(b._node.volume=b._volume*l)}return d}return d._volume},mute:function(l){var d=this||n;d.ctx||h(),d._muted=l,d.usingWebAudio&&d.masterGain.gain.setValueAtTime(l?0:d._volume,n.ctx.currentTime);for(var f=0;f<d._howls.length;f++)if(!d._howls[f]._webAudio)for(var _=d._howls[f]._getSoundIds(),g=0;g<_.length;g++){var b=d._howls[f]._soundById(_[g]);b&&b._node&&(b._node.muted=l?!0:b._muted)}return d},stop:function(){for(var l=this||n,d=0;d<l._howls.length;d++)l._howls[d].stop();return l},unload:function(){for(var l=this||n,d=l._howls.length-1;d>=0;d--)l._howls[d].unload();return l.usingWebAudio&&l.ctx&&typeof l.ctx.close<"u"&&(l.ctx.close(),l.ctx=null,h()),l},codecs:function(l){return(this||n)._codecs[l.replace(/^x-/,"")]},_setup:function(){var l=this||n;if(l.state=l.ctx&&l.ctx.state||"suspended",l._autoSuspend(),!l.usingWebAudio)if(typeof Audio<"u")try{var d=new Audio;typeof d.oncanplaythrough>"u"&&(l._canPlayEvent="canplay")}catch{l.noAudio=!0}else l.noAudio=!0;try{var d=new Audio;d.muted&&(l.noAudio=!0)}catch{}return l.noAudio||l._setupCodecs(),l},_setupCodecs:function(){var l=this||n,d=null;try{d=typeof Audio<"u"?new Audio:null}catch{return l}if(!d||typeof d.canPlayType!="function")return l;var f=d.canPlayType("audio/mpeg;").replace(/^no$/,""),_=l._navigator?l._navigator.userAgent:"",g=_.match(/OPR\/(\d+)/g),b=g&&parseInt(g[0].split("/")[1],10)<33,y=_.indexOf("Safari")!==-1&&_.indexOf("Chrome")===-1,w=_.match(/Version\/(.*?) /),A=y&&w&&parseInt(w[1],10)<15;return l._codecs={mp3:!!(!b&&(f||d.canPlayType("audio/mp3;").replace(/^no$/,""))),mpeg:!!f,opus:!!d.canPlayType('audio/ogg; codecs="opus"').replace(/^no$/,""),ogg:!!d.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),oga:!!d.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),wav:!!(d.canPlayType('audio/wav; codecs="1"')||d.canPlayType("audio/wav")).replace(/^no$/,""),aac:!!d.canPlayType("audio/aac;").replace(/^no$/,""),caf:!!d.canPlayType("audio/x-caf;").replace(/^no$/,""),m4a:!!(d.canPlayType("audio/x-m4a;")||d.canPlayType("audio/m4a;")||d.canPlayType("audio/aac;")).replace(/^no$/,""),m4b:!!(d.canPlayType("audio/x-m4b;")||d.canPlayType("audio/m4b;")||d.canPlayType("audio/aac;")).replace(/^no$/,""),mp4:!!(d.canPlayType("audio/x-mp4;")||d.canPlayType("audio/mp4;")||d.canPlayType("audio/aac;")).replace(/^no$/,""),weba:!!(!A&&d.canPlayType('audio/webm; codecs="vorbis"').replace(/^no$/,"")),webm:!!(!A&&d.canPlayType('audio/webm; codecs="vorbis"').replace(/^no$/,"")),dolby:!!d.canPlayType('audio/mp4; codecs="ec-3"').replace(/^no$/,""),flac:!!(d.canPlayType("audio/x-flac;")||d.canPlayType("audio/flac;")).replace(/^no$/,"")},l},_unlockAudio:function(){var l=this||n;if(!(l._audioUnlocked||!l.ctx)){l._audioUnlocked=!1,l.autoUnlock=!1,!l._mobileUnloaded&&l.ctx.sampleRate!==44100&&(l._mobileUnloaded=!0,l.unload()),l._scratchBuffer=l.ctx.createBuffer(1,1,22050);var d=function(f){for(;l._html5AudioPool.length<l.html5PoolSize;)try{var _=new Audio;_._unlocked=!0,l._releaseHtml5Audio(_)}catch{l.noAudio=!0;break}for(var g=0;g<l._howls.length;g++)if(!l._howls[g]._webAudio)for(var b=l._howls[g]._getSoundIds(),y=0;y<b.length;y++){var w=l._howls[g]._soundById(b[y]);w&&w._node&&!w._node._unlocked&&(w._node._unlocked=!0,w._node.load())}l._autoResume();var A=l.ctx.createBufferSource();A.buffer=l._scratchBuffer,A.connect(l.ctx.destination),typeof A.start>"u"?A.noteOn(0):A.start(0),typeof l.ctx.resume=="function"&&l.ctx.resume(),A.onended=function(){A.disconnect(0),l._audioUnlocked=!0,document.removeEventListener("touchstart",d,!0),document.removeEventListener("touchend",d,!0),document.removeEventListener("click",d,!0),document.removeEventListener("keydown",d,!0);for(var k=0;k<l._howls.length;k++)l._howls[k]._emit("unlock")}};return document.addEventListener("touchstart",d,!0),document.addEventListener("touchend",d,!0),document.addEventListener("click",d,!0),document.addEventListener("keydown",d,!0),l}},_obtainHtml5Audio:function(){var l=this||n;if(l._html5AudioPool.length)return l._html5AudioPool.pop();var d=new Audio().play();return d&&typeof Promise<"u"&&(d instanceof Promise||typeof d.then=="function")&&d.catch(function(){console.warn("HTML5 Audio pool exhausted, returning potentially locked audio object.")}),new Audio},_releaseHtml5Audio:function(l){var d=this||n;return l._unlocked&&d._html5AudioPool.push(l),d},_autoSuspend:function(){var l=this;if(!(!l.autoSuspend||!l.ctx||typeof l.ctx.suspend>"u"||!n.usingWebAudio)){for(var d=0;d<l._howls.length;d++)if(l._howls[d]._webAudio){for(var f=0;f<l._howls[d]._sounds.length;f++)if(!l._howls[d]._sounds[f]._paused)return l}return l._suspendTimer&&clearTimeout(l._suspendTimer),l._suspendTimer=setTimeout(function(){if(l.autoSuspend){l._suspendTimer=null,l.state="suspending";var _=function(){l.state="suspended",l._resumeAfterSuspend&&(delete l._resumeAfterSuspend,l._autoResume())};l.ctx.suspend().then(_,_)}},3e4),l}},_autoResume:function(){var l=this;if(!(!l.ctx||typeof l.ctx.resume>"u"||!n.usingWebAudio))return l.state==="running"&&l.ctx.state!=="interrupted"&&l._suspendTimer?(clearTimeout(l._suspendTimer),l._suspendTimer=null):l.state==="suspended"||l.state==="running"&&l.ctx.state==="interrupted"?(l.ctx.resume().then(function(){l.state="running";for(var d=0;d<l._howls.length;d++)l._howls[d]._emit("resume")}),l._suspendTimer&&(clearTimeout(l._suspendTimer),l._suspendTimer=null)):l.state==="suspending"&&(l._resumeAfterSuspend=!0),l}};var n=new e,r=function(l){var d=this;if(!l.src||l.src.length===0){console.error("An array of source files must be passed with any new Howl.");return}d.init(l)};r.prototype={init:function(l){var d=this;return n.ctx||h(),d._autoplay=l.autoplay||!1,d._format=typeof l.format!="string"?l.format:[l.format],d._html5=l.html5||!1,d._muted=l.mute||!1,d._loop=l.loop||!1,d._pool=l.pool||5,d._preload=typeof l.preload=="boolean"||l.preload==="metadata"?l.preload:!0,d._rate=l.rate||1,d._sprite=l.sprite||{},d._src=typeof l.src!="string"?l.src:[l.src],d._volume=l.volume!==void 0?l.volume:1,d._xhr={method:l.xhr&&l.xhr.method?l.xhr.method:"GET",headers:l.xhr&&l.xhr.headers?l.xhr.headers:null,withCredentials:l.xhr&&l.xhr.withCredentials?l.xhr.withCredentials:!1},d._duration=0,d._state="unloaded",d._sounds=[],d._endTimers={},d._queue=[],d._playLock=!1,d._onend=l.onend?[{fn:l.onend}]:[],d._onfade=l.onfade?[{fn:l.onfade}]:[],d._onload=l.onload?[{fn:l.onload}]:[],d._onloaderror=l.onloaderror?[{fn:l.onloaderror}]:[],d._onplayerror=l.onplayerror?[{fn:l.onplayerror}]:[],d._onpause=l.onpause?[{fn:l.onpause}]:[],d._onplay=l.onplay?[{fn:l.onplay}]:[],d._onstop=l.onstop?[{fn:l.onstop}]:[],d._onmute=l.onmute?[{fn:l.onmute}]:[],d._onvolume=l.onvolume?[{fn:l.onvolume}]:[],d._onrate=l.onrate?[{fn:l.onrate}]:[],d._onseek=l.onseek?[{fn:l.onseek}]:[],d._onunlock=l.onunlock?[{fn:l.onunlock}]:[],d._onresume=[],d._webAudio=n.usingWebAudio&&!d._html5,typeof n.ctx<"u"&&n.ctx&&n.autoUnlock&&n._unlockAudio(),n._howls.push(d),d._autoplay&&d._queue.push({event:"play",action:function(){d.play()}}),d._preload&&d._preload!=="none"&&d.load(),d},load:function(){var l=this,d=null;if(n.noAudio){l._emit("loaderror",null,"No audio support.");return}typeof l._src=="string"&&(l._src=[l._src]);for(var f=0;f<l._src.length;f++){var _,g;if(l._format&&l._format[f])_=l._format[f];else{if(g=l._src[f],typeof g!="string"){l._emit("loaderror",null,"Non-string found in selected audio sources - ignoring.");continue}_=/^data:audio\/([^;,]+);/i.exec(g),_||(_=/\.([^.]+)$/.exec(g.split("?",1)[0])),_&&(_=_[1].toLowerCase())}if(_||console.warn('No file extension was found. Consider using the "format" property or specify an extension.'),_&&n.codecs(_)){d=l._src[f];break}}if(!d){l._emit("loaderror",null,"No codec support for selected audio sources.");return}return l._src=d,l._state="loading",window.location.protocol==="https:"&&d.slice(0,5)==="http:"&&(l._html5=!0,l._webAudio=!1),new i(l),l._webAudio&&s(l),l},play:function(l,d){var f=this,_=null;if(typeof l=="number")_=l,l=null;else{if(typeof l=="string"&&f._state==="loaded"&&!f._sprite[l])return null;if(typeof l>"u"&&(l="__default",!f._playLock)){for(var g=0,b=0;b<f._sounds.length;b++)f._sounds[b]._paused&&!f._sounds[b]._ended&&(g++,_=f._sounds[b]._id);g===1?l=null:_=null}}var y=_?f._soundById(_):f._inactiveSound();if(!y)return null;if(_&&!l&&(l=y._sprite||"__default"),f._state!=="loaded"){y._sprite=l,y._ended=!1;var w=y._id;return f._queue.push({event:"play",action:function(){f.play(w)}}),w}if(_&&!y._paused)return d||f._loadQueue("play"),y._id;f._webAudio&&n._autoResume();var A=Math.max(0,y._seek>0?y._seek:f._sprite[l][0]/1e3),k=Math.max(0,(f._sprite[l][0]+f._sprite[l][1])/1e3-A),R=k*1e3/Math.abs(y._rate),x=f._sprite[l][0]/1e3,L=(f._sprite[l][0]+f._sprite[l][1])/1e3;y._sprite=l,y._ended=!1;var F=function(){y._paused=!1,y._seek=A,y._start=x,y._stop=L,y._loop=!!(y._loop||f._sprite[l][2])};if(A>=L){f._ended(y);return}var H=y._node;if(f._webAudio){var V=function(){f._playLock=!1,F(),f._refreshBuffer(y);var z=y._muted||f._muted?0:y._volume;H.gain.setValueAtTime(z,n.ctx.currentTime),y._playStart=n.ctx.currentTime,typeof H.bufferSource.start>"u"?y._loop?H.bufferSource.noteGrainOn(0,A,86400):H.bufferSource.noteGrainOn(0,A,k):y._loop?H.bufferSource.start(0,A,86400):H.bufferSource.start(0,A,k),R!==1/0&&(f._endTimers[y._id]=setTimeout(f._ended.bind(f,y),R)),d||setTimeout(function(){f._emit("play",y._id),f._loadQueue()},0)};n.state==="running"&&n.ctx.state!=="interrupted"?V():(f._playLock=!0,f.once("resume",V),f._clearTimer(y._id))}else{var ne=function(){H.currentTime=A,H.muted=y._muted||f._muted||n._muted||H.muted,H.volume=y._volume*n.volume(),H.playbackRate=y._rate;try{var z=H.play();if(z&&typeof Promise<"u"&&(z instanceof Promise||typeof z.then=="function")?(f._playLock=!0,F(),z.then(function(){f._playLock=!1,H._unlocked=!0,d?f._loadQueue():f._emit("play",y._id)}).catch(function(){f._playLock=!1,f._emit("playerror",y._id,"Playback was unable to start. This is most commonly an issue on mobile devices and Chrome where playback was not within a user interaction."),y._ended=!0,y._paused=!0})):d||(f._playLock=!1,F(),f._emit("play",y._id)),H.playbackRate=y._rate,H.paused){f._emit("playerror",y._id,"Playback was unable to start. This is most commonly an issue on mobile devices and Chrome where playback was not within a user interaction.");return}l!=="__default"||y._loop?f._endTimers[y._id]=setTimeout(f._ended.bind(f,y),R):(f._endTimers[y._id]=function(){f._ended(y),H.removeEventListener("ended",f._endTimers[y._id],!1)},H.addEventListener("ended",f._endTimers[y._id],!1))}catch(K){f._emit("playerror",y._id,K)}};H.src==="data:audio/wav;base64,UklGRigAAABXQVZFZm10IBIAAAABAAEARKwAAIhYAQACABAAAABkYXRhAgAAAAEA"&&(H.src=f._src,H.load());var $=window&&window.ejecta||!H.readyState&&n._navigator.isCocoonJS;if(H.readyState>=3||$)ne();else{f._playLock=!0,f._state="loading";var M=function(){f._state="loaded",ne(),H.removeEventListener(n._canPlayEvent,M,!1)};H.addEventListener(n._canPlayEvent,M,!1),f._clearTimer(y._id)}}return y._id},pause:function(l){var d=this;if(d._state!=="loaded"||d._playLock)return d._queue.push({event:"pause",action:function(){d.pause(l)}}),d;for(var f=d._getSoundIds(l),_=0;_<f.length;_++){d._clearTimer(f[_]);var g=d._soundById(f[_]);if(g&&!g._paused&&(g._seek=d.seek(f[_]),g._rateSeek=0,g._paused=!0,d._stopFade(f[_]),g._node))if(d._webAudio){if(!g._node.bufferSource)continue;typeof g._node.bufferSource.stop>"u"?g._node.bufferSource.noteOff(0):g._node.bufferSource.stop(0),d._cleanBuffer(g._node)}else(!isNaN(g._node.duration)||g._node.duration===1/0)&&g._node.pause();arguments[1]||d._emit("pause",g?g._id:null)}return d},stop:function(l,d){var f=this;if(f._state!=="loaded"||f._playLock)return f._queue.push({event:"stop",action:function(){f.stop(l)}}),f;for(var _=f._getSoundIds(l),g=0;g<_.length;g++){f._clearTimer(_[g]);var b=f._soundById(_[g]);b&&(b._seek=b._start||0,b._rateSeek=0,b._paused=!0,b._ended=!0,f._stopFade(_[g]),b._node&&(f._webAudio?b._node.bufferSource&&(typeof b._node.bufferSource.stop>"u"?b._node.bufferSource.noteOff(0):b._node.bufferSource.stop(0),f._cleanBuffer(b._node)):(!isNaN(b._node.duration)||b._node.duration===1/0)&&(b._node.currentTime=b._start||0,b._node.pause(),b._node.duration===1/0&&f._clearSound(b._node))),d||f._emit("stop",b._id))}return f},mute:function(l,d){var f=this;if(f._state!=="loaded"||f._playLock)return f._queue.push({event:"mute",action:function(){f.mute(l,d)}}),f;if(typeof d>"u")if(typeof l=="boolean")f._muted=l;else return f._muted;for(var _=f._getSoundIds(d),g=0;g<_.length;g++){var b=f._soundById(_[g]);b&&(b._muted=l,b._interval&&f._stopFade(b._id),f._webAudio&&b._node?b._node.gain.setValueAtTime(l?0:b._volume,n.ctx.currentTime):b._node&&(b._node.muted=n._muted?!0:l),f._emit("mute",b._id))}return f},volume:function(){var l=this,d=arguments,f,_;if(d.length===0)return l._volume;if(d.length===1||d.length===2&&typeof d[1]>"u"){var g=l._getSoundIds(),b=g.indexOf(d[0]);b>=0?_=parseInt(d[0],10):f=parseFloat(d[0])}else d.length>=2&&(f=parseFloat(d[0]),_=parseInt(d[1],10));var y;if(typeof f<"u"&&f>=0&&f<=1){if(l._state!=="loaded"||l._playLock)return l._queue.push({event:"volume",action:function(){l.volume.apply(l,d)}}),l;typeof _>"u"&&(l._volume=f),_=l._getSoundIds(_);for(var w=0;w<_.length;w++)y=l._soundById(_[w]),y&&(y._volume=f,d[2]||l._stopFade(_[w]),l._webAudio&&y._node&&!y._muted?y._node.gain.setValueAtTime(f,n.ctx.currentTime):y._node&&!y._muted&&(y._node.volume=f*n.volume()),l._emit("volume",y._id))}else return y=_?l._soundById(_):l._sounds[0],y?y._volume:0;return l},fade:function(l,d,f,_){var g=this;if(g._state!=="loaded"||g._playLock)return g._queue.push({event:"fade",action:function(){g.fade(l,d,f,_)}}),g;l=Math.min(Math.max(0,parseFloat(l)),1),d=Math.min(Math.max(0,parseFloat(d)),1),f=parseFloat(f),g.volume(l,_);for(var b=g._getSoundIds(_),y=0;y<b.length;y++){var w=g._soundById(b[y]);if(w){if(_||g._stopFade(b[y]),g._webAudio&&!w._muted){var A=n.ctx.currentTime,k=A+f/1e3;w._volume=l,w._node.gain.setValueAtTime(l,A),w._node.gain.linearRampToValueAtTime(d,k)}g._startFadeInterval(w,l,d,f,b[y],typeof _>"u")}}return g},_startFadeInterval:function(l,d,f,_,g,b){var y=this,w=d,A=f-d,k=Math.abs(A/.01),R=Math.max(4,k>0?_/k:_),x=Date.now();l._fadeTo=f,l._interval=setInterval(function(){var L=(Date.now()-x)/_;x=Date.now(),w+=A*L,w=Math.round(w*100)/100,A<0?w=Math.max(f,w):w=Math.min(f,w),y._webAudio?l._volume=w:y.volume(w,l._id,!0),b&&(y._volume=w),(f<d&&w<=f||f>d&&w>=f)&&(clearInterval(l._interval),l._interval=null,l._fadeTo=null,y.volume(f,l._id),y._emit("fade",l._id))},R)},_stopFade:function(l){var d=this,f=d._soundById(l);return f&&f._interval&&(d._webAudio&&f._node.gain.cancelScheduledValues(n.ctx.currentTime),clearInterval(f._interval),f._interval=null,d.volume(f._fadeTo,l),f._fadeTo=null,d._emit("fade",l)),d},loop:function(){var l=this,d=arguments,f,_,g;if(d.length===0)return l._loop;if(d.length===1)if(typeof d[0]=="boolean")f=d[0],l._loop=f;else return g=l._soundById(parseInt(d[0],10)),g?g._loop:!1;else d.length===2&&(f=d[0],_=parseInt(d[1],10));for(var b=l._getSoundIds(_),y=0;y<b.length;y++)g=l._soundById(b[y]),g&&(g._loop=f,l._webAudio&&g._node&&g._node.bufferSource&&(g._node.bufferSource.loop=f,f&&(g._node.bufferSource.loopStart=g._start||0,g._node.bufferSource.loopEnd=g._stop,l.playing(b[y])&&(l.pause(b[y],!0),l.play(b[y],!0)))));return l},rate:function(){var l=this,d=arguments,f,_;if(d.length===0)_=l._sounds[0]._id;else if(d.length===1){var g=l._getSoundIds(),b=g.indexOf(d[0]);b>=0?_=parseInt(d[0],10):f=parseFloat(d[0])}else d.length===2&&(f=parseFloat(d[0]),_=parseInt(d[1],10));var y;if(typeof f=="number"){if(l._state!=="loaded"||l._playLock)return l._queue.push({event:"rate",action:function(){l.rate.apply(l,d)}}),l;typeof _>"u"&&(l._rate=f),_=l._getSoundIds(_);for(var w=0;w<_.length;w++)if(y=l._soundById(_[w]),y){l.playing(_[w])&&(y._rateSeek=l.seek(_[w]),y._playStart=l._webAudio?n.ctx.currentTime:y._playStart),y._rate=f,l._webAudio&&y._node&&y._node.bufferSource?y._node.bufferSource.playbackRate.setValueAtTime(f,n.ctx.currentTime):y._node&&(y._node.playbackRate=f);var A=l.seek(_[w]),k=(l._sprite[y._sprite][0]+l._sprite[y._sprite][1])/1e3-A,R=k*1e3/Math.abs(y._rate);(l._endTimers[_[w]]||!y._paused)&&(l._clearTimer(_[w]),l._endTimers[_[w]]=setTimeout(l._ended.bind(l,y),R)),l._emit("rate",y._id)}}else return y=l._soundById(_),y?y._rate:l._rate;return l},seek:function(){var l=this,d=arguments,f,_;if(d.length===0)l._sounds.length&&(_=l._sounds[0]._id);else if(d.length===1){var g=l._getSoundIds(),b=g.indexOf(d[0]);b>=0?_=parseInt(d[0],10):l._sounds.length&&(_=l._sounds[0]._id,f=parseFloat(d[0]))}else d.length===2&&(f=parseFloat(d[0]),_=parseInt(d[1],10));if(typeof _>"u")return 0;if(typeof f=="number"&&(l._state!=="loaded"||l._playLock))return l._queue.push({event:"seek",action:function(){l.seek.apply(l,d)}}),l;var y=l._soundById(_);if(y)if(typeof f=="number"&&f>=0){var w=l.playing(_);w&&l.pause(_,!0),y._seek=f,y._ended=!1,l._clearTimer(_),!l._webAudio&&y._node&&!isNaN(y._node.duration)&&(y._node.currentTime=f);var A=function(){w&&l.play(_,!0),l._emit("seek",_)};if(w&&!l._webAudio){var k=function(){l._playLock?setTimeout(k,0):A()};setTimeout(k,0)}else A()}else if(l._webAudio){var R=l.playing(_)?n.ctx.currentTime-y._playStart:0,x=y._rateSeek?y._rateSeek-y._seek:0;return y._seek+(x+R*Math.abs(y._rate))}else return y._node.currentTime;return l},playing:function(l){var d=this;if(typeof l=="number"){var f=d._soundById(l);return f?!f._paused:!1}for(var _=0;_<d._sounds.length;_++)if(!d._sounds[_]._paused)return!0;return!1},duration:function(l){var d=this,f=d._duration,_=d._soundById(l);return _&&(f=d._sprite[_._sprite][1]/1e3),f},state:function(){return this._state},unload:function(){for(var l=this,d=l._sounds,f=0;f<d.length;f++)d[f]._paused||l.stop(d[f]._id),l._webAudio||(l._clearSound(d[f]._node),d[f]._node.removeEventListener("error",d[f]._errorFn,!1),d[f]._node.removeEventListener(n._canPlayEvent,d[f]._loadFn,!1),d[f]._node.removeEventListener("ended",d[f]._endFn,!1),n._releaseHtml5Audio(d[f]._node)),delete d[f]._node,l._clearTimer(d[f]._id);var _=n._howls.indexOf(l);_>=0&&n._howls.splice(_,1);var g=!0;for(f=0;f<n._howls.length;f++)if(n._howls[f]._src===l._src||l._src.indexOf(n._howls[f]._src)>=0){g=!1;break}return o&&g&&delete o[l._src],n.noAudio=!1,l._state="unloaded",l._sounds=[],l=null,null},on:function(l,d,f,_){var g=this,b=g["_on"+l];return typeof d=="function"&&b.push(_?{id:f,fn:d,once:_}:{id:f,fn:d}),g},off:function(l,d,f){var _=this,g=_["_on"+l],b=0;if(typeof d=="number"&&(f=d,d=null),d||f)for(b=0;b<g.length;b++){var y=f===g[b].id;if(d===g[b].fn&&y||!d&&y){g.splice(b,1);break}}else if(l)_["_on"+l]=[];else{var w=Object.keys(_);for(b=0;b<w.length;b++)w[b].indexOf("_on")===0&&Array.isArray(_[w[b]])&&(_[w[b]]=[])}return _},once:function(l,d,f){var _=this;return _.on(l,d,f,1),_},_emit:function(l,d,f){for(var _=this,g=_["_on"+l],b=g.length-1;b>=0;b--)(!g[b].id||g[b].id===d||l==="load")&&(setTimeout((function(y){y.call(this,d,f)}).bind(_,g[b].fn),0),g[b].once&&_.off(l,g[b].fn,g[b].id));return _._loadQueue(l),_},_loadQueue:function(l){var d=this;if(d._queue.length>0){var f=d._queue[0];f.event===l&&(d._queue.shift(),d._loadQueue()),l||f.action()}return d},_ended:function(l){var d=this,f=l._sprite;if(!d._webAudio&&l._node&&!l._node.paused&&!l._node.ended&&l._node.currentTime<l._stop)return setTimeout(d._ended.bind(d,l),100),d;var _=!!(l._loop||d._sprite[f][2]);if(d._emit("end",l._id),!d._webAudio&&_&&d.stop(l._id,!0).play(l._id),d._webAudio&&_){d._emit("play",l._id),l._seek=l._start||0,l._rateSeek=0,l._playStart=n.ctx.currentTime;var g=(l._stop-l._start)*1e3/Math.abs(l._rate);d._endTimers[l._id]=setTimeout(d._ended.bind(d,l),g)}return d._webAudio&&!_&&(l._paused=!0,l._ended=!0,l._seek=l._start||0,l._rateSeek=0,d._clearTimer(l._id),d._cleanBuffer(l._node),n._autoSuspend()),!d._webAudio&&!_&&d.stop(l._id,!0),d},_clearTimer:function(l){var d=this;if(d._endTimers[l]){if(typeof d._endTimers[l]!="function")clearTimeout(d._endTimers[l]);else{var f=d._soundById(l);f&&f._node&&f._node.removeEventListener("ended",d._endTimers[l],!1)}delete d._endTimers[l]}return d},_soundById:function(l){for(var d=this,f=0;f<d._sounds.length;f++)if(l===d._sounds[f]._id)return d._sounds[f];return null},_inactiveSound:function(){var l=this;l._drain();for(var d=0;d<l._sounds.length;d++)if(l._sounds[d]._ended)return l._sounds[d].reset();return new i(l)},_drain:function(){var l=this,d=l._pool,f=0,_=0;if(!(l._sounds.length<d)){for(_=0;_<l._sounds.length;_++)l._sounds[_]._ended&&f++;for(_=l._sounds.length-1;_>=0;_--){if(f<=d)return;l._sounds[_]._ended&&(l._webAudio&&l._sounds[_]._node&&l._sounds[_]._node.disconnect(0),l._sounds.splice(_,1),f--)}}},_getSoundIds:function(l){var d=this;if(typeof l>"u"){for(var f=[],_=0;_<d._sounds.length;_++)f.push(d._sounds[_]._id);return f}else return[l]},_refreshBuffer:function(l){var d=this;return l._node.bufferSource=n.ctx.createBufferSource(),l._node.bufferSource.buffer=o[d._src],l._panner?l._node.bufferSource.connect(l._panner):l._node.bufferSource.connect(l._node),l._node.bufferSource.loop=l._loop,l._loop&&(l._node.bufferSource.loopStart=l._start||0,l._node.bufferSource.loopEnd=l._stop||0),l._node.bufferSource.playbackRate.setValueAtTime(l._rate,n.ctx.currentTime),d},_cleanBuffer:function(l){var d=this,f=n._navigator&&n._navigator.vendor.indexOf("Apple")>=0;if(!l.bufferSource)return d;if(n._scratchBuffer&&l.bufferSource&&(l.bufferSource.onended=null,l.bufferSource.disconnect(0),f))try{l.bufferSource.buffer=n._scratchBuffer}catch{}return l.bufferSource=null,d},_clearSound:function(l){var d=/MSIE |Trident\//.test(n._navigator&&n._navigator.userAgent);d||(l.src="data:audio/wav;base64,UklGRigAAABXQVZFZm10IBIAAAABAAEARKwAAIhYAQACABAAAABkYXRhAgAAAAEA")}};var i=function(l){this._parent=l,this.init()};i.prototype={init:function(){var l=this,d=l._parent;return l._muted=d._muted,l._loop=d._loop,l._volume=d._volume,l._rate=d._rate,l._seek=0,l._paused=!0,l._ended=!0,l._sprite="__default",l._id=++n._counter,d._sounds.push(l),l.create(),l},create:function(){var l=this,d=l._parent,f=n._muted||l._muted||l._parent._muted?0:l._volume;return d._webAudio?(l._node=typeof n.ctx.createGain>"u"?n.ctx.createGainNode():n.ctx.createGain(),l._node.gain.setValueAtTime(f,n.ctx.currentTime),l._node.paused=!0,l._node.connect(n.masterGain)):n.noAudio||(l._node=n._obtainHtml5Audio(),l._errorFn=l._errorListener.bind(l),l._node.addEventListener("error",l._errorFn,!1),l._loadFn=l._loadListener.bind(l),l._node.addEventListener(n._canPlayEvent,l._loadFn,!1),l._endFn=l._endListener.bind(l),l._node.addEventListener("ended",l._endFn,!1),l._node.src=d._src,l._node.preload=d._preload===!0?"auto":d._preload,l._node.volume=f*n.volume(),l._node.load()),l},reset:function(){var l=this,d=l._parent;return l._muted=d._muted,l._loop=d._loop,l._volume=d._volume,l._rate=d._rate,l._seek=0,l._rateSeek=0,l._paused=!0,l._ended=!0,l._sprite="__default",l._id=++n._counter,l},_errorListener:function(){var l=this;l._parent._emit("loaderror",l._id,l._node.error?l._node.error.code:0),l._node.removeEventListener("error",l._errorFn,!1)},_loadListener:function(){var l=this,d=l._parent;d._duration=Math.ceil(l._node.duration*10)/10,Object.keys(d._sprite).length===0&&(d._sprite={__default:[0,d._duration*1e3]}),d._state!=="loaded"&&(d._state="loaded",d._emit("load"),d._loadQueue()),l._node.removeEventListener(n._canPlayEvent,l._loadFn,!1)},_endListener:function(){var l=this,d=l._parent;d._duration===1/0&&(d._duration=Math.ceil(l._node.duration*10)/10,d._sprite.__default[1]===1/0&&(d._sprite.__default[1]=d._duration*1e3),d._ended(l)),l._node.removeEventListener("ended",l._endFn,!1)}};var o={},s=function(l){var d=l._src;if(o[d]){l._duration=o[d].duration,c(l);return}if(/^data:[^;]+;base64,/.test(d)){for(var f=atob(d.split(",")[1]),_=new Uint8Array(f.length),g=0;g<f.length;++g)_[g]=f.charCodeAt(g);u(_.buffer,l)}else{var b=new XMLHttpRequest;b.open(l._xhr.method,d,!0),b.withCredentials=l._xhr.withCredentials,b.responseType="arraybuffer",l._xhr.headers&&Object.keys(l._xhr.headers).forEach(function(y){b.setRequestHeader(y,l._xhr.headers[y])}),b.onload=function(){var y=(b.status+"")[0];if(y!=="0"&&y!=="2"&&y!=="3"){l._emit("loaderror",null,"Failed loading audio file with status: "+b.status+".");return}u(b.response,l)},b.onerror=function(){l._webAudio&&(l._html5=!0,l._webAudio=!1,l._sounds=[],delete o[d],l.load())},a(b)}},a=function(l){try{l.send()}catch{l.onerror()}},u=function(l,d){var f=function(){d._emit("loaderror",null,"Decoding audio data failed.")},_=function(g){g&&d._sounds.length>0?(o[d._src]=g,c(d,g)):f()};typeof Promise<"u"&&n.ctx.decodeAudioData.length===1?n.ctx.decodeAudioData(l).then(_).catch(f):n.ctx.decodeAudioData(l,_,f)},c=function(l,d){d&&!l._duration&&(l._duration=d.duration),Object.keys(l._sprite).length===0&&(l._sprite={__default:[0,l._duration*1e3]}),l._state!=="loaded"&&(l._state="loaded",l._emit("load"),l._loadQueue())},h=function(){if(n.usingWebAudio){try{typeof AudioContext<"u"?n.ctx=new AudioContext:typeof webkitAudioContext<"u"?n.ctx=new webkitAudioContext:n.usingWebAudio=!1}catch{n.usingWebAudio=!1}n.ctx||(n.usingWebAudio=!1);var l=/iP(hone|od|ad)/.test(n._navigator&&n._navigator.platform),d=n._navigator&&n._navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/),f=d?parseInt(d[1],10):null;if(l&&f&&f<9){var _=/safari/.test(n._navigator&&n._navigator.userAgent.toLowerCase());n._navigator&&!_&&(n.usingWebAudio=!1)}n.usingWebAudio&&(n.masterGain=typeof n.ctx.createGain>"u"?n.ctx.createGainNode():n.ctx.createGain(),n.masterGain.gain.setValueAtTime(n._muted?0:n._volume,n.ctx.currentTime),n.masterGain.connect(n.ctx.destination)),n._setup()}};t.Howler=n,t.Howl=r,typeof cu<"u"?(cu.HowlerGlobal=e,cu.Howler=n,cu.Howl=r,cu.Sound=i):typeof window<"u"&&(window.HowlerGlobal=e,window.Howler=n,window.Howl=r,window.Sound=i)})();/*!
* Spatial Plugin - Adds support for stereo and 3D audio where Web Audio is supported.
*
* howler.js v2.2.4
* howlerjs.com
*
* (c) 2013-2020, James Simpson of GoldFire Studios
* goldfirestudios.com
*
* MIT License
*/(function(){HowlerGlobal.prototype._pos=[0,0,0],HowlerGlobal.prototype._orientation=[0,0,-1,0,1,0],HowlerGlobal.prototype.stereo=function(n){var r=this;if(!r.ctx||!r.ctx.listener)return r;for(var i=r._howls.length-1;i>=0;i--)r._howls[i].stereo(n);return r},HowlerGlobal.prototype.pos=function(n,r,i){var o=this;if(!o.ctx||!o.ctx.listener)return o;if(r=typeof r!="number"?o._pos[1]:r,i=typeof i!="number"?o._pos[2]:i,typeof n=="number")o._pos=[n,r,i],typeof o.ctx.listener.positionX<"u"?(o.ctx.listener.positionX.setTargetAtTime(o._pos[0],Howler.ctx.currentTime,.1),o.ctx.listener.positionY.setTargetAtTime(o._pos[1],Howler.ctx.currentTime,.1),o.ctx.listener.positionZ.setTargetAtTime(o._pos[2],Howler.ctx.currentTime,.1)):o.ctx.listener.setPosition(o._pos[0],o._pos[1],o._pos[2]);else return o._pos;return o},HowlerGlobal.prototype.orientation=function(n,r,i,o,s,a){var u=this;if(!u.ctx||!u.ctx.listener)return u;var c=u._orientation;if(r=typeof r!="number"?c[1]:r,i=typeof i!="number"?c[2]:i,o=typeof o!="number"?c[3]:o,s=typeof s!="number"?c[4]:s,a=typeof a!="number"?c[5]:a,typeof n=="number")u._orientation=[n,r,i,o,s,a],typeof u.ctx.listener.forwardX<"u"?(u.ctx.listener.forwardX.setTargetAtTime(n,Howler.ctx.currentTime,.1),u.ctx.listener.forwardY.setTargetAtTime(r,Howler.ctx.currentTime,.1),u.ctx.listener.forwardZ.setTargetAtTime(i,Howler.ctx.currentTime,.1),u.ctx.listener.upX.setTargetAtTime(o,Howler.ctx.currentTime,.1),u.ctx.listener.upY.setTargetAtTime(s,Howler.ctx.currentTime,.1),u.ctx.listener.upZ.setTargetAtTime(a,Howler.ctx.currentTime,.1)):u.ctx.listener.setOrientation(n,r,i,o,s,a);else return c;return u},Howl.prototype.init=function(n){return function(r){var i=this;return i._orientation=r.orientation||[1,0,0],i._stereo=r.stereo||null,i._pos=r.pos||null,i._pannerAttr={coneInnerAngle:typeof r.coneInnerAngle<"u"?r.coneInnerAngle:360,coneOuterAngle:typeof r.coneOuterAngle<"u"?r.coneOuterAngle:360,coneOuterGain:typeof r.coneOuterGain<"u"?r.coneOuterGain:0,distanceModel:typeof r.distanceModel<"u"?r.distanceModel:"inverse",maxDistance:typeof r.maxDistance<"u"?r.maxDistance:1e4,panningModel:typeof r.panningModel<"u"?r.panningModel:"HRTF",refDistance:typeof r.refDistance<"u"?r.refDistance:1,rolloffFactor:typeof r.rolloffFactor<"u"?r.rolloffFactor:1},i._onstereo=r.onstereo?[{fn:r.onstereo}]:[],i._onpos=r.onpos?[{fn:r.onpos}]:[],i._onorientation=r.onorientation?[{fn:r.onorientation}]:[],n.call(this,r)}}(Howl.prototype.init),Howl.prototype.stereo=function(n,r){var i=this;if(!i._webAudio)return i;if(i._state!=="loaded")return i._queue.push({event:"stereo",action:function(){i.stereo(n,r)}}),i;var o=typeof Howler.ctx.createStereoPanner>"u"?"spatial":"stereo";if(typeof r>"u")if(typeof n=="number")i._stereo=n,i._pos=[n,0,0];else return i._stereo;for(var s=i._getSoundIds(r),a=0;a<s.length;a++){var u=i._soundById(s[a]);if(u)if(typeof n=="number")u._stereo=n,u._pos=[n,0,0],u._node&&(u._pannerAttr.panningModel="equalpower",(!u._panner||!u._panner.pan)&&e(u,o),o==="spatial"?typeof u._panner.positionX<"u"?(u._panner.positionX.setValueAtTime(n,Howler.ctx.currentTime),u._panner.positionY.setValueAtTime(0,Howler.ctx.currentTime),u._panner.positionZ.setValueAtTime(0,Howler.ctx.currentTime)):u._panner.setPosition(n,0,0):u._panner.pan.setValueAtTime(n,Howler.ctx.currentTime)),i._emit("stereo",u._id);else return u._stereo}return i},Howl.prototype.pos=function(n,r,i,o){var s=this;if(!s._webAudio)return s;if(s._state!=="loaded")return s._queue.push({event:"pos",action:function(){s.pos(n,r,i,o)}}),s;if(r=typeof r!="number"?0:r,i=typeof i!="number"?-.5:i,typeof o>"u")if(typeof n=="number")s._pos=[n,r,i];else return s._pos;for(var a=s._getSoundIds(o),u=0;u<a.length;u++){var c=s._soundById(a[u]);if(c)if(typeof n=="number")c._pos=[n,r,i],c._node&&((!c._panner||c._panner.pan)&&e(c,"spatial"),typeof c._panner.positionX<"u"?(c._panner.positionX.setValueAtTime(n,Howler.ctx.currentTime),c._panner.positionY.setValueAtTime(r,Howler.ctx.currentTime),c._panner.positionZ.setValueAtTime(i,Howler.ctx.currentTime)):c._panner.setPosition(n,r,i)),s._emit("pos",c._id);else return c._pos}return s},Howl.prototype.orientation=function(n,r,i,o){var s=this;if(!s._webAudio)return s;if(s._state!=="loaded")return s._queue.push({event:"orientation",action:function(){s.orientation(n,r,i,o)}}),s;if(r=typeof r!="number"?s._orientation[1]:r,i=typeof i!="number"?s._orientation[2]:i,typeof o>"u")if(typeof n=="number")s._orientation=[n,r,i];else return s._orientation;for(var a=s._getSoundIds(o),u=0;u<a.length;u++){var c=s._soundById(a[u]);if(c)if(typeof n=="number")c._orientation=[n,r,i],c._node&&(c._panner||(c._pos||(c._pos=s._pos||[0,0,-.5]),e(c,"spatial")),typeof c._panner.orientationX<"u"?(c._panner.orientationX.setValueAtTime(n,Howler.ctx.currentTime),c._panner.orientationY.setValueAtTime(r,Howler.ctx.currentTime),c._panner.orientationZ.setValueAtTime(i,Howler.ctx.currentTime)):c._panner.setOrientation(n,r,i)),s._emit("orientation",c._id);else return c._orientation}return s},Howl.prototype.pannerAttr=function(){var n=this,r=arguments,i,o,s;if(!n._webAudio)return n;if(r.length===0)return n._pannerAttr;if(r.length===1)if(typeof r[0]=="object")i=r[0],typeof o>"u"&&(i.pannerAttr||(i.pannerAttr={coneInnerAngle:i.coneInnerAngle,coneOuterAngle:i.coneOuterAngle,coneOuterGain:i.coneOuterGain,distanceModel:i.distanceModel,maxDistance:i.maxDistance,refDistance:i.refDistance,rolloffFactor:i.rolloffFactor,panningModel:i.panningModel}),n._pannerAttr={coneInnerAngle:typeof i.pannerAttr.coneInnerAngle<"u"?i.pannerAttr.coneInnerAngle:n._coneInnerAngle,coneOuterAngle:typeof i.pannerAttr.coneOuterAngle<"u"?i.pannerAttr.coneOuterAngle:n._coneOuterAngle,coneOuterGain:typeof i.pannerAttr.coneOuterGain<"u"?i.pannerAttr.coneOuterGain:n._coneOuterGain,distanceModel:typeof i.pannerAttr.distanceModel<"u"?i.pannerAttr.distanceModel:n._distanceModel,maxDistance:typeof i.pannerAttr.maxDistance<"u"?i.pannerAttr.maxDistance:n._maxDistance,refDistance:typeof i.pannerAttr.refDistance<"u"?i.pannerAttr.refDistance:n._refDistance,rolloffFactor:typeof i.pannerAttr.rolloffFactor<"u"?i.pannerAttr.rolloffFactor:n._rolloffFactor,panningModel:typeof i.pannerAttr.panningModel<"u"?i.pannerAttr.panningModel:n._panningModel});else return s=n._soundById(parseInt(r[0],10)),s?s._pannerAttr:n._pannerAttr;else r.length===2&&(i=r[0],o=parseInt(r[1],10));for(var a=n._getSoundIds(o),u=0;u<a.length;u++)if(s=n._soundById(a[u]),s){var c=s._pannerAttr;c={coneInnerAngle:typeof i.coneInnerAngle<"u"?i.coneInnerAngle:c.coneInnerAngle,coneOuterAngle:typeof i.coneOuterAngle<"u"?i.coneOuterAngle:c.coneOuterAngle,coneOuterGain:typeof i.coneOuterGain<"u"?i.coneOuterGain:c.coneOuterGain,distanceModel:typeof i.distanceModel<"u"?i.distanceModel:c.distanceModel,maxDistance:typeof i.maxDistance<"u"?i.maxDistance:c.maxDistance,refDistance:typeof i.refDistance<"u"?i.refDistance:c.refDistance,rolloffFactor:typeof i.rolloffFactor<"u"?i.rolloffFactor:c.rolloffFactor,panningModel:typeof i.panningModel<"u"?i.panningModel:c.panningModel};var h=s._panner;h||(s._pos||(s._pos=n._pos||[0,0,-.5]),e(s,"spatial"),h=s._panner),h.coneInnerAngle=c.coneInnerAngle,h.coneOuterAngle=c.coneOuterAngle,h.coneOuterGain=c.coneOuterGain,h.distanceModel=c.distanceModel,h.maxDistance=c.maxDistance,h.refDistance=c.refDistance,h.rolloffFactor=c.rolloffFactor,h.panningModel=c.panningModel}return n},Sound.prototype.init=function(n){return function(){var r=this,i=r._parent;r._orientation=i._orientation,r._stereo=i._stereo,r._pos=i._pos,r._pannerAttr=i._pannerAttr,n.call(this),r._stereo?i.stereo(r._stereo):r._pos&&i.pos(r._pos[0],r._pos[1],r._pos[2],r._id)}}(Sound.prototype.init),Sound.prototype.reset=function(n){return function(){var r=this,i=r._parent;return r._orientation=i._orientation,r._stereo=i._stereo,r._pos=i._pos,r._pannerAttr=i._pannerAttr,r._stereo?i.stereo(r._stereo):r._pos?i.pos(r._pos[0],r._pos[1],r._pos[2],r._id):r._panner&&(r._panner.disconnect(0),r._panner=void 0,i._refreshBuffer(r)),n.call(this)}}(Sound.prototype.reset);var e=function(n,r){r=r||"spatial",r==="spatial"?(n._panner=Howler.ctx.createPanner(),n._panner.coneInnerAngle=n._pannerAttr.coneInnerAngle,n._panner.coneOuterAngle=n._pannerAttr.coneOuterAngle,n._panner.coneOuterGain=n._pannerAttr.coneOuterGain,n._panner.distanceModel=n._pannerAttr.distanceModel,n._panner.maxDistance=n._pannerAttr.maxDistance,n._panner.refDistance=n._pannerAttr.refDistance,n._panner.rolloffFactor=n._pannerAttr.rolloffFactor,n._panner.panningModel=n._pannerAttr.panningModel,typeof n._panner.positionX<"u"?(n._panner.positionX.setValueAtTime(n._pos[0],Howler.ctx.currentTime),n._panner.positionY.setValueAtTime(n._pos[1],Howler.ctx.currentTime),n._panner.positionZ.setValueAtTime(n._pos[2],Howler.ctx.currentTime)):n._panner.setPosition(n._pos[0],n._pos[1],n._pos[2]),typeof n._panner.orientationX<"u"?(n._panner.orientationX.setValueAtTime(n._orientation[0],Howler.ctx.currentTime),n._panner.orientationY.setValueAtTime(n._orientation[1],Howler.ctx.currentTime),n._panner.orientationZ.setValueAtTime(n._orientation[2],Howler.ctx.currentTime)):n._panner.setOrientation(n._orientation[0],n._orientation[1],n._orientation[2])):(n._panner=Howler.ctx.createStereoPanner(),n._panner.pan.setValueAtTime(n._stereo,Howler.ctx.currentTime)),n._panner.connect(n._node),n._paused||n._parent.pause(n._id,!0).play(n._id,!0)}})()}(yp)),yp}var bp=e8();const t8={class:"audio-unlock"},n8={__name:"AudioUnlock",setup(t){const e=vi(),{audioMuted:n}=yw(e);let r;return bp.Howler._audioUnlocked?e.audioUnlocked=!0:lt.isClient&&(window.addEventListener("click",()=>{e.audioUnlocked=!0},{once:!0}),r=setInterval(()=>{bp.Howler._audioUnlocked&&(e.audioUnlocked=!0,clearInterval(r))},100)),Ne(n,i=>{bp.Howler.mute(i)}),(i,o)=>(ae(),me("div",t8))}},r8=Ji({__name:"App",setup(t){const e=dE(),n=U(""),r=vi(),i=mr(),{data:o,error:s,isLoading:a}=Ld("siteconfig",!0,3);Ne(o,c=>{c&&(i.siteConfig={...c})}),lt.isClient&&document.addEventListener("visibilitychange",()=>{r.tabVisible=document.visibilityState==="visible"||!1});function u(c){lt.isClient&&(window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"page_view",page_title:c,page_location:window.location.href,page_path:window.location.pathname}))}return e.hooks.hook("entries:updated",c=>{lt.isClient&&setTimeout(()=>{var d;const h=e.headEntries().find(f=>f.input&&typeof f.input=="object"&&"title"in f.input),l=(d=h==null?void 0:h.input)==null?void 0:d.title;l&&l!==n.value&&(n.value=l,u(l))},0)}),Ct(async()=>{o.value||await i.populateSiteConfig()}),Sc(async()=>{a.value&&!o.value?await i.populateSiteConfig():o.value&&(i.siteConfig={...o.value})}),Hm.start(),(c,h)=>{const l=n8,d=lg("RouterView");return ae(),me(Ye,null,[Ve(l),Ve(d)],64)}}}),i8=["portfolio"],o8=["/prototype/","/test/","/readme"],s8=!1;function NE(t){let e=!1;return o8.forEach(n=>{t.includes(n)&&(e=!0)}),e?s8:!0}function BE(){return(HE.filter(e=>NE(e.path||""))||[]).map(e=>({...e,props:{slug:e.path.substring(1)||"index"}}))}function a8(){const t=DE(HE);return(t==null?void 0:t.filter(e=>NE(e.path||"")))||[]}function l8(t){t.component("ProxyBlock",ZH)}XH(r8,{routes:BE(),base:"/"},async t=>{const{app:e,router:n}=t;Object.values([Bx,Yx]).forEach(o=>{var s;return(s=o.install)==null?void 0:s.call(o,t)});const r=await f8();DE(r).forEach(o=>{n.addRoute(o)}),l8(e)});function u8(t,e){var h,l,d;const n=mr(),r="default",i=n.internalRouting(t,e.system),o=(h=a8())==null?void 0:h.find(f=>f.path===i);let s=o==null?void 0:o.component;const a=i==="/"?"/index":`${i}/index`,u=i8.includes(t)?`${i}/index`:`${i}`;if(s)return{componentTemplate:s,path:u,layout:r,pathAlias:a};const c={page:Fm,home:ME,portfolio:Dd};return s=c[(l=e==null?void 0:e.system)==null?void 0:l.type]?c[(d=e==null?void 0:e.system)==null?void 0:d.type]:Fm,{componentTemplate:s,path:u,layout:r,pathAlias:a}}async function c8(){const e=await mr().getAllRoutes();if(!e||!Array.isArray(e))return[];const n=[];return e.forEach(r=>{const i=r.elements||{},o=r.system||{};if(!i.slug||!i.slug.value)return;let s;const a=i.slug.value,u=o.type,{componentTemplate:c,path:h,layout:l,pathAlias:d}=u8(a,r);c&&(s={path:h,name:`${u}-${a}`,component:c,props:{slug:a},meta:{layout:l},alias:d},s.name&&n.push(s))}),n}async function f8(){const t=await c8(),e=BE(),n=await h8();return t.length<1?[...e,...n]:[...e,...t,...n]}function d8(t){if(!Array.isArray(t))return t;const e=[];return t.forEach(n=>{n.name&&n.terms&&n.terms.map(i=>{e.push(i.name)})}),e}async function h8(){const t=await iE("be"),n=d8(t).map(r=>({path:`/portfolio/${r}`,name:`portfolio-filter-${r}`,component:Dd,props:{slug:"portfolio",filter:r},meta:{layout:"default"}}));return n.push({path:"/portfolio/:filter(.*)",name:"portfolio-filter-404",component:Dd,props:{slug:"portfolio",filter:null},meta:{layout:"default"}}),n}export{Lt as $,r1 as A,gn as B,vi as C,Cn as D,So as E,Ye as F,Ct as G,Ju as H,Di as I,q5 as J,i_ as K,kE as L,di as M,Xm as N,Ii as O,wn as P,yw as Q,lt as R,je as S,DR as T,PE as U,Lw as V,xE as W,pE as X,m8 as Y,$8 as Z,_t as _,Il as a,Je as a0,gt as a1,mh as a2,ga as a3,MR as a4,WC as a5,J3 as a6,vn as a7,_8 as a8,v8 as a9,lg as aa,g8 as ab,iw as ac,Mc as ad,Ji as ae,fH as af,lH as ag,AE as ah,PT as ai,kF as aj,FE as ak,_E as al,Ld as am,j3 as an,oH as ao,MH as ap,CH as aq,n_ as ar,cu as as,xF as at,I$ as au,Pl as b,aE as c,r_ as d,xe as e,Sc as f,Vt as g,me as h,ae as i,ge as j,J as k,Ve as l,bt as m,st as n,Yd as o,Q3 as p,Pc as q,U as r,ut as s,We as t,mr as u,Kt as v,Tc as w,va as x,iO as y,Ne as z};