vendor: 28,158 bytes, lines 1-9
1import{r as T}from"./vendor-react-C1IWQWMj.js";var Ve={exports:{}},Mt={};/** 2 * @license React 3 * react-jsx-runtime.production.js 4 * 5 * Copyright (c) Meta Platforms, Inc. and affiliates. 6 * 7 * This source code is licensed under the MIT license found in the 8 * LICENSE file in the root directory of this source tree. 9 */var ts;function go(){if(ts)return Mt;ts=1;var t=Symbol.for("react.transitional.element"),e=Symbol.for("react.fragment");function n(s,i,o){var r=null;if(o!==void 0&&(r=""+o),i.key!==void 0&&(r=""+i.key),"key"in i){o={};for(var a in i)a!=="key"&&(o[a]=i[a])}else o=i;return i=o.ref,{$$typeof:t,type:s,key:r,ref:i!==void 0?i:null,props:o}}return Mt.Fragment=e,Mt.jsx=n,Mt.jsxs=n,Mt}var es;function yo(){return es||(es=1,Ve.exports=go()),Ve.exports}var Q=yo();const hn=T.createContext({});function Pt(t){const e=T.useRef(null);return e.current===null&&(e.current=t()),e.current}const fn=typeof window<"u",ge=fn?T.useLayoutEffect:T.useEffect,ye=T.createContext(null);function dn(t,e){t.indexOf(e)===-1&&t.push(e)}function ve(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}const Z=(t,e,n)=>n>e?e:n<t?t:n;let jt=()=>{};const tt={},Vi=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t);function Ci(t){return typeof t=="object"&&t!==null}const Mi=t=>/^0[^.\s]+$/u.test(t);function mn(t){let e;return()=>(e===void 0&&(e=t()),e)}const U=t=>t,vo=(t,e)=>n=>e(t(n)),Gt=(...t)=>t.reduce(vo),ct=(t,e,n)=>{const s=e-t;return s===0?1:(n-t)/s};class pn{constructor(){this.subscriptions=[]}add(e){return dn(this.subscriptions,e),()=>ve(this.subscriptions,e)}notify(e,n,s){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](e,n,s);else for(let o=0;o<i;o++){const r=this.subscriptions[o];r&&r(e,n,s)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const _=t=>t*1e3,H=t=>t/1e3;function gn(t,e){return e?t*(1e3/e):0}const xo=(t,e,n)=>{const s=e-t;return((n-t)%s+s)%s+t},Di=(t,e,n)=>(((1-3*n+3*e)*t+(3*n-6*e))*t+3*e)*t,To=1e-7,Po=12;function So(t,e,n,s,i){let o,r,a=0;do r=e+(n-e)/2,o=Di(r,s,i)-t,o>0?n=r:e=r;while(Math.abs(o)>To&&++a<Po);return r}function _t(t,e,n,s){if(t===e&&n===s)return U;const i=o=>So(o,0,1,t,n);return o=>o===0||o===1?o:Di(i(o),e,s)}const Ei=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,Ri=t=>e=>1-t(1-e),Li=_t(.33,1.53,.69,.99),yn=Ri(Li),ki=Ei(yn),Fi=t=>(t*=2)<1?.5*yn(t):.5*(2-Math.pow(2,-10*(t-1))),vn=t=>1-Math.sin(Math.acos(t)),Bi=Ri(vn),Ii=Ei(vn),Ao=_t(.42,0,1,1),wo=_t(0,0,.58,1),Oi=_t(.42,0,.58,1),ji=t=>Array.isArray(t)&&typeof t[0]!="number";function Ni(t,e){return ji(t)?t[xo(0,t.length,e)]:t}const Wi=t=>Array.isArray(t)&&typeof t[0]=="number",bo={linear:U,easeIn:Ao,easeInOut:Oi,easeOut:wo,circIn:vn,circInOut:Ii,circOut:Bi,backIn:yn,backInOut:ki,backOut:Li,anticipate:Fi},Vo=t=>typeof t=="string",ns=t=>{if(Wi(t)){jt(t.length===4);const[e,n,s,i]=t;return _t(e,n,s,i)}else if(Vo(t))return bo[t];return t},Qt=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function Co(t,e){let n=new Set,s=new Set,i=!1,o=!1;const r=new WeakSet;let a={delta:0,timestamp:0,isProcessing:!1};function l(c){r.has(c)&&(u.schedule(c),t()),c(a)}const u={schedule:(c,h=!1,f=!1)=>{const m=f&&i?n:s;return h&&r.add(c),m.has(c)||m.add(c),c},cancel:c=>{s.delete(c),r.delete(c)},process:c=>{if(a=c,i){o=!0;return}i=!0,[n,s]=[s,n],n.forEach(l),n.clear(),i=!1,o&&(o=!1,u.process(c))}};return u}const Mo=40;function Ui(t,e){let n=!1,s=!0;const i={delta:0,timestamp:0,isProcessing:!1},o=()=>n=!0,r=Qt.reduce((v,w)=>(v[w]=Co(o),v),{}),{setup:a,read:l,resolveKeyframes:u,preUpdate:c,update:h,preRender:f,render:d,postRender:m}=r,g=()=>{const v=tt.useManualTiming?i.timestamp:performance.now();n=!1,tt.useManualTiming||(i.delta=s?1e3/60:Math.max(Math.min(v-i.timestamp,Mo),1)),i.timestamp=v,i.isProcessing=!0,a.process(i),l.process(i),u.process(i),c.process(i),h.process(i),f.process(i),d.process(i),m.process(i),i.isProcessing=!1,n&&e&&(s=!1,t(g))},x=()=>{n=!0,s=!0,i.isProcessing||t(g)};return{schedule:Qt.reduce((v,w)=>{const P=r[w];return v[w]=(b,V=!1,S=!1)=>(n||x(),P.schedule(b,V,S)),v},{}),cancel:v=>{for(let w=0;w<Qt.length;w++)r[Qt[w]].cancel(v)},state:i,steps:r}}const{schedule:M,cancel:X,state:O,steps:Ce}=Ui(typeof requestAnimationFrame<"u"?requestAnimationFrame:U,!0);let ie;function Do(){ie=void 0}const W={now:()=>(ie===void 0&&W.set(O.isProcessing||tt.useManualTiming?O.timestamp:performance.now()),ie),set:t=>{ie=t,queueMicrotask(Do)}},Ki=t=>e=>typeof e=="string"&&e.startsWith(t),xn=Ki("--"),Eo=Ki("var(--"),Tn=t=>Eo(t)?Ro.test(t.split("/*")[0].trim()):!1,Ro=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,St={test:t=>typeof t=="number",parse:parseFloat,transform:t=>t},Nt={...St,transform:t=>Z(0,1,t)},te={...St,default:1},Lt=t=>Math.round(t*1e5)/1e5,Pn=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function Lo(t){return t==null}const ko=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Sn=(t,e)=>n=>!!(typeof n=="string"&&ko.test(n)&&n.startsWith(t)||e&&!Lo(n)&&Object.prototype.hasOwnProperty.call(n,e)),$i=(t,e,n)=>s=>{if(typeof s!="string")return s;const[i,o,r,a]=s.match(Pn);return{[t]:parseFloat(i),[e]:parseFloat(o),[n]:parseFloat(r),alpha:a!==void 0?parseFloat(a):1}},Fo=t=>Z(0,255,t),Me={...St,transform:t=>Math.round(Fo(t))},ot={test:Sn("rgb","red"),parse:$i("red","green","blue"),transform:({red:t,green:e,blue:n,alpha:s=1})=>"rgba("+Me.transform(t)+", "+Me.transform(e)+", "+Me.transform(n)+", "+Lt(Nt.transform(s))+")"};function Bo(t){let e="",n="",s="",i="";return t.length>5?(e=t.substring(1,3),n=t.substring(3,5),s=t.substring(5,7),i=t.substring(7,9)):(e=t.substring(1,2),n=t.substring(2,3),s=t.substring(3,4),i=t.substring(4,5),e+=e,n+=n,s+=s,i+=i),{red:parseInt(e,16),green:parseInt(n,16),blue:parseInt(s,16),alpha:i?parseInt(i,16)/255:1}}const $e={test:Sn("#"),parse:Bo,transform:ot.transform},Xt=t=>({test:e=>typeof e=="string"&&e.endsWith(t)&&e.split(" ").length===1,parse:parseFloat,transform:e=>`${e}${t}`}),et=Xt("deg"),q=Xt("%"),A=Xt("px"),Io=Xt("vh"),Oo=Xt("vw"),ss={...q,parse:t=>q.parse(t)/100,transform:t=>q.transform(t*100)},dt={test:Sn("hsl","hue"),parse:$i("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:n,alpha:s=1})=>"hsla("+Math.round(t)+", "+q.transform(Lt(e))+", "+q.transform(Lt(n))+", "+Lt(Nt.transform(s))+")"},F={test:t=>ot.test(t)||$e.test(t)||dt.test(t),parse:t=>ot.test(t)?ot.parse(t):dt.test(t)?dt.parse(t):$e.parse(t),transform:t=>typeof t=="string"?t:t.hasOwnProperty("red")?ot.transform(t):dt.transform(t),getAnimatableNone:t=>{const e=F.parse(t);return e.alpha=0,F.transform(e)}},jo=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function No(t){return isNaN(t)&&typeof t=="string"&&(t.match(Pn)?.length||0)+(t.match(jo)?.length||0)>0}const Hi="number",zi="color",Wo="var",Uo="var(",is="${}",Ko=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function Wt(t){const e=t.toString(),n=[],s={color:[],number:[],var:[]},i=[];let o=0;const a=e.replace(Ko,l=>(F.test(l)?(s.color.push(o),i.push(zi),n.push(F.parse(l))):l.startsWith(Uo)?(s.var.push(o),i.push(Wo),n.push(l)):(s.number.push(o),i.push(Hi),n.push(parseFloat(l))),++o,is)).split(is);return{values:n,split:a,indexes:s,types:i}}function Gi(t){return Wt(t).values}function _i(t){const{split:e,types:n}=Wt(t),s=e.length;return i=>{let o="";for(let r=0;r<s;r++)if(o+=e[r],i[r]!==void 0){const a=n[r];a===Hi?o+=Lt(i[r]):a===zi?o+=F.transform(i[r]):o+=i[r]}return o}}const $o=t=>typeof t=="number"?0:F.test(t)?F.getAnimatableNone(t):t;function Ho(t){const e=Gi(t);return _i(t)(e.map($o))}const nt={test:No,parse:Gi,createTransformer:_i,getAnimatableNone:Ho};function De(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+(e-t)*6*n:n<1/2?e:n<2/3?t+(e-t)*(2/3-n)*6:t}function zo({hue:t,saturation:e,lightness:n,alpha:s}){t/=360,e/=100,n/=100;let i=0,o=0,r=0;if(!e)i=o=r=n;else{const a=n<.5?n*(1+e):n+e-n*e,l=2*n-a;i=De(l,a,t+1/3),o=De(l,a,t),r=De(l,a,t-1/3)}return{red:Math.round(i*255),green:Math.round(o*255),blue:Math.round(r*255),alpha:s}}function he(t,e){return n=>n>0?e:t}const E=(t,e,n)=>t+(e-t)*n,Ee=(t,e,n)=>{const s=t*t,i=n*(e*e-s)+s;return i<0?0:Math.sqrt(i)},Go=[$e,ot,dt],_o=t=>Go.find(e=>e.test(t));function rs(t){const e=_o(t);if(!e)return!1;let n=e.parse(t);return e===dt&&(n=zo(n)),n}const os=(t,e)=>{const n=rs(t),s=rs(e);if(!n||!s)return he(t,e);const i={...n};return o=>(i.red=Ee(n.red,s.red,o),i.green=Ee(n.green,s.green,o),i.blue=Ee(n.blue,s.blue,o),i.alpha=E(n.alpha,s.alpha,o),ot.transform(i))},He=new Set(["none","hidden"]);function Xo(t,e){return He.has(t)?n=>n<=0?t:e:n=>n>=1?e:t}function Yo(t,e){return n=>E(t,e,n)}function An(t){return typeof t=="number"?Yo:typeof t=="string"?Tn(t)?he:F.test(t)?os:Jo:Array.isArray(t)?Xi:typeof t=="object"?F.test(t)?os:qo:he}function Xi(t,e){const n=[...t],s=n.length,i=t.map((o,r)=>An(o)(o,e[r]));return o=>{for(let r=0;r<s;r++)n[r]=i[r](o);return n}}function qo(t,e){const n={...t,...e},s={};for(const i in n)t[i]!==void 0&&e[i]!==void 0&&(s[i]=An(t[i])(t[i],e[i]));return i=>{for(const o in s)n[o]=s[o](i);return n}}function Zo(t,e){const n=[],s={color:0,var:0,number:0};for(let i=0;i<e.values.length;i++){const o=e.types[i],r=t.indexes[o][s[o]],a=t.values[r]??0;n[i]=a,s[o]++}return n}const Jo=(t,e)=>{const n=nt.createTransformer(e),s=Wt(t),i=Wt(e);return s.indexes.var.length===i.indexes.var.length&&s.indexes.color.length===i.indexes.color.length&&s.indexes.number.length>=i.indexes.number.length?He.has(t)&&!i.values.length||He.has(e)&&!s.values.length?Xo(t,e):Gt(Xi(Zo(s,i),i.values),n):he(t,e)};function Yi(t,e,n){return typeof t=="number"&&typeof e=="number"&&typeof n=="number"?E(t,e,n):An(t)(t,e)}const Qo=t=>{const e=({timestamp:n})=>t(n);return{start:(n=!0)=>M.update(e,n),stop:()=>X(e),now:()=>O.isProcessing?O.timestamp:W.now()}},qi=(t,e,n=10)=>{let s="";const i=Math.max(Math.round(e/n),2);for(let o=0;o<i;o++)s+=Math.round(t(o/(i-1))*1e4)/1e4+", ";return`linear(${s.substring(0,s.length-2)})`},fe=2e4;function wn(t){let e=0;const n=50;let s=t.next(e);for(;!s.done&&e<fe;)e+=n,s=t.next(e);return e>=fe?1/0:e}function Zi(t,e=100,n){const s=n({...t,keyframes:[0,e]}),i=Math.min(wn(s),fe);return{type:"keyframes",ease:o=>s.next(i*o).value/e,duration:H(i)}}const ta=5;function Ji(t,e,n){const s=Math.max(e-ta,0);return gn(n-t(s),e-s)}const k={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},Re=.001;function ea({duration:t=k.duration,bounce:e=k.bounce,velocity:n=k.velocity,mass:s=k.mass}){let i,o,r=1-e;r=Z(k.minDamping,k.maxDamping,r),t=Z(k.minDuration,k.maxDuration,H(t)),r<1?(i=u=>{const c=u*r,h=c*t,f=c-n,d=ze(u,r),m=Math.exp(-h);return Re-f/d*m},o=u=>{const h=u*r*t,f=h*n+n,d=Math.pow(r,2)*Math.pow(u,2)*t,m=Math.exp(-h),g=ze(Math.pow(u,2),r);return(-i(u)+Re>0?-1:1)*((f-d)*m)/g}):(i=u=>{const c=Math.exp(-u*t),h=(u-n)*t+1;return-Re+c*h},o=u=>{const c=Math.exp(-u*t),h=(n-u)*(t*t);return c*h});const a=5/t,l=sa(i,o,a);if(t=_(t),isNaN(l))return{stiffness:k.stiffness,damping:k.damping,duration:t};{const u=Math.pow(l,2)*s;return{stiffness:u,damping:r*2*Math.sqrt(s*u),duration:t}}}const na=12;function sa(t,e,n){let s=n;for(let i=1;i<na;i++)s=s-t(s)/e(s);return s}function ze(t,e){return t*Math.sqrt(1-e*e)}const ia=["duration","bounce"],ra=["stiffness","damping","mass"];function as(t,e){return e.some(n=>t[n]!==void 0)}function oa(t){let e={velocity:k.velocity,stiffness:k.stiffness,damping:k.damping,mass:k.mass,isResolvedFromDuration:!1,...t};if(!as(t,ra)&&as(t,ia))if(t.visualDuration){const n=t.visualDuration,s=2*Math.PI/(n*1.2),i=s*s,o=2*Z(.05,1,1-(t.bounce||0))*Math.sqrt(i);e={...e,mass:k.mass,stiffness:i,damping:o}}else{const n=ea(t);e={...e,...n,mass:k.mass},e.isResolvedFromDuration=!0}return e}function Ut(t=k.visualDuration,e=k.bounce){const n=typeof t!="object"?{visualDuration:t,keyframes:[0,1],bounce:e}:t;let{restSpeed:s,restDelta:i}=n;const o=n.keyframes[0],r=n.keyframes[n.keyframes.length-1],a={done:!1,value:o},{stiffness:l,damping:u,mass:c,duration:h,velocity:f,isResolvedFromDuration:d}=oa({...n,velocity:-H(n.velocity||0)}),m=f||0,g=u/(2*Math.sqrt(l*c)),x=r-o,p=H(Math.sqrt(l/c)),y=Math.abs(x)<5;s||(s=y?k.restSpeed.granular:k.restSpeed.default),i||(i=y?k.restDelta.granular:k.restDelta.default);let v;if(g<1){const P=ze(p,g);v=b=>{const V=Math.exp(-g*p*b);return r-V*((m+g*p*x)/P*Math.sin(P*b)+x*Math.cos(P*b))}}else if(g===1)v=P=>r-Math.exp(-p*P)*(x+(m+p*x)*P);else{const P=p*Math.sqrt(g*g-1);v=b=>{const V=Math.exp(-g*p*b),S=Math.min(P*b,300);return r-V*((m+g*p*x)*Math.sinh(S)+P*x*Math.cosh(S))/P}}const w={calculatedDuration:d&&h||null,next:P=>{const b=v(P);if(d)a.done=P>=h;else{let V=P===0?m:0;g<1&&(V=P===0?_(m):Ji(v,P,b));const S=Math.abs(V)<=s,C=Math.abs(r-b)<=i;a.done=S&&C}return a.value=a.done?r:b,a},toString:()=>{const P=Math.min(wn(w),fe),b=qi(V=>w.next(P*V).value,P,30);return P+"ms "+b},toTransition:()=>{}};return w}Ut.applyToOptions=t=>{const e=Zi(t,100,Ut);return t.ease=e.ease,t.duration=_(e.duration),t.type="keyframes",t};function Ge({keyframes:t,velocity:e=0,power:n=.8,timeConstant:s=325,bounceDamping:i=10,bounceStiffness:o=500,modifyTarget:r,min:a,max:l,restDelta:u=.5,restSpeed:c}){const h=t[0],f={done:!1,value:h},d=S=>a!==void 0&&S<a||l!==void 0&&S>l,m=S=>a===void 0?l:l===void 0||Math.abs(a-S)<Math.abs(l-S)?a:l;let g=n*e;const x=h+g,p=r===void 0?x:r(x);p!==x&&(g=p-h);const y=S=>-g*Math.exp(-S/s),v=S=>p+y(S),w=S=>{const C=y(S),B=v(S);f.done=Math.abs(C)<=u,f.value=f.done?p:B};let P,b;const V=S=>{d(f.value)&&(P=S,b=Ut({keyframes:[f.value,m(f.value)],velocity:Ji(v,S,f.value),damping:i,stiffness:o,restDelta:u,restSpeed:c}))};return V(0),{calculatedDuration:null,next:S=>{let C=!1;return!b&&P===void 0&&(C=!0,w(S),V(S)),P!==void 0&&S>=P?b.next(S-P):(!C&&w(S),f)}}}function aa(t,e,n){const s=[],i=n||tt.mix||Yi,o=t.length-1;for(let r=0;r<o;r++){let a=i(t[r],t[r+1]);if(e){const l=Array.isArray(e)?e[r]||U:e;a=Gt(l,a)}s.push(a)}return s}function bn(t,e,{clamp:n=!0,ease:s,mixer:i}={}){const o=t.length;if(jt(o===e.length),o===1)return()=>e[0];if(o===2&&e[0]===e[1])return()=>e[1];const r=t[0]===t[1];t[0]>t[o-1]&&(t=[...t].reverse(),e=[...e].reverse());const a=aa(e,s,i),l=a.length,u=c=>{if(r&&c<t[0])return e[0];let h=0;if(l>1)for(;h<t.length-2&&!(c<t[h+1]);h++);const f=ct(t[h],t[h+1],c);return a[h](f)};return n?c=>u(Z(t[0],t[o-1],c)):u}function Qi(t,e){const n=t[t.length-1];for(let s=1;s<=e;s++){const i=ct(0,e,s);t.push(E(n,1,i))}}function Vn(t){const e=[0];return Qi(e,t.length-1),e}function la(t,e){return t.map(n=>n*e)}function ua(t,e){return t.map(()=>e||Oi).splice(0,t.length-1)}function kt({duration:t=300,keyframes:e,times:n,ease:s="easeInOut"}){const i=ji(s)?s.map(ns):ns(s),o={done:!1,value:e[0]},r=la(n&&n.length===e.length?n:Vn(e),t),a=bn(r,e,{ease:Array.isArray(i)?i:ua(e,i)});return{calculatedDuration:t,next:l=>(o.value=a(l),o.done=l>=t,o)}}const ca=t=>t!==null;function Cn(t,{repeat:e,repeatType:n="loop"},s,i=1){const o=t.filter(ca),a=i<0||e&&n!=="loop"&&e%2===1?0:o.length-1;return!a||s===void 0?o[a]:s}const ha={decay:Ge,inertia:Ge,tween:kt,keyframes:kt,spring:Ut};function tr(t){typeof t.type=="string"&&(t.type=ha[t.type])}class Mn{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(e=>{this.resolve=e})}notifyFinished(){this.resolve()}then(e,n){return this.finished.then(e,n)}}const fa=t=>t/100;class Dn extends Mn{constructor(e){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{const{motionValue:n}=this.options;n&&n.updatedAt!==W.now()&&this.tick(W.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},this.options=e,this.initAnimation(),this.play(),e.autoplay===!1&&this.pause()}initAnimation(){const{options:e}=this;tr(e);const{type:n=kt,repeat:s=0,repeatDelay:i=0,repeatType:o,velocity:r=0}=e;let{keyframes:a}=e;const l=n||kt;l!==kt&&typeof a[0]!="number"&&(this.mixKeyframes=Gt(fa,Yi(a[0],a[1])),a=[0,100]);const u=l({...e,keyframes:a});o==="mirror"&&(this.mirroredGenerator=l({...e,keyframes:[...a].reverse(),velocity:-r})),u.calculatedDuration===null&&(u.calculatedDuration=wn(u));const{calculatedDuration:c}=u;this.calculatedDuration=c,this.resolvedDuration=c+i,this.totalDuration=this.resolvedDuration*(s+1)-i,this.generator=u}updateTime(e){const n=Math.round(e-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=n}tick(e,n=!1){const{generator:s,totalDuration:i,mixKeyframes:o,mirroredGenerator:r,resolvedDuration:a,calculatedDuration:l}=this;if(this.startTime===null)return s.next(0);const{delay:u=0,keyframes:c,repeat:h,repeatType:f,repeatDelay:d,type:m,onUpdate:g,finalKeyframe:x}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-i/this.speed,this.startTime)),n?this.currentTime=e:this.updateTime(e);const p=this.currentTime-u*(this.playbackSpeed>=0?1:-1),y=this.playbackSpeed>=0?p<0:p>i;this.currentTime=Math.max(p,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=i);let v=this.currentTime,w=s;if(h){const S=Math.min(this.currentTime,i)/a;let C=Math.floor(S),B=S%1;!B&&S>=1&&(B=1),B===1&&C--,C=Math.min(C,h+1),!!(C%2)&&(f==="reverse"?(B=1-B,d&&(B-=d/a)):f==="mirror"&&(w=r)),v=Z(0,1,B)*a}const P=y?{done:!1,value:c[0]}:w.next(v);o&&(P.value=o(P.value));let{done:b}=P;!y&&l!==null&&(b=this.playbackSpeed>=0?this.currentTime>=i:this.currentTime<=0);const V=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&b);return V&&m!==Ge&&(P.value=Cn(c,this.options,x,this.speed)),g&&g(P.value),V&&this.finish(),P}then(e,n){return this.finished.then(e,n)}get duration(){return H(this.calculatedDuration)}get iterationDuration(){const{delay:e=0}=this.options||{};return this.duration+H(e)}get time(){return H(this.currentTime)}set time(e){e=_(e),this.currentTime=e,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(e){this.updateTime(W.now());const n=this.playbackSpeed!==e;this.playbackSpeed=e,n&&(this.time=H(this.currentTime))}play(){if(this.isStopped)return;const{driver:e=Qo,startTime:n}=this.options;this.driver||(this.driver=e(i=>this.tick(i))),this.options.onPlay?.();const s=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=s):this.holdTime!==null?this.startTime=s-this.holdTime:this.startTime||(this.startTime=n??s),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(W.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),e.observe(this)}}function da(t){for(let e=1;e<t.length;e++)t[e]??(t[e]=t[e-1])}const at=t=>t*180/Math.PI,_e=t=>{const e=at(Math.atan2(t[1],t[0]));return Xe(e)},ma={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:_e,rotateZ:_e,skewX:t=>at(Math.atan(t[1])),skewY:t=>at(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},Xe=t=>(t=t%360,t<0&&(t+=360),t),ls=_e,us=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),cs=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),pa={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:us,scaleY:cs,scale:t=>(us(t)+cs(t))/2,rotateX:t=>Xe(at(Math.atan2(t[6],t[5]))),rotateY:t=>Xe(at(Math.atan2(-t[2],t[0]))),rotateZ:ls,rotate:ls,skewX:t=>at(Math.atan(t[4])),skewY:t=>at(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function Ye(t){return t.includes("scale")?1:0}function qe(t,e){if(!t||t==="none")return Ye(e);const n=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let s,i;if(n)s=pa,i=n;else{const a=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);s=ma,i=a}if(!i)return Ye(e);const o=s[e],r=i[1].split(",").map(ya);return typeof o=="function"?o(r):r[o]}const ga=(t,e)=>{const{transform:n="none"}=getComputedStyle(t);return qe(n,e)};function ya(t){return parseFloat(t.trim())}const At=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],wt=new Set(At),hs=t=>t===St||t===A,va=new Set(["x","y","z"]),xa=At.filter(t=>!va.has(t));function Ta(t){const e=[];return xa.forEach(n=>{const s=t.getValue(n);s!==void 0&&(e.push([n,s.get()]),s.set(n.startsWith("scale")?1:0))}),e}const lt={width:({x:t},{paddingLeft:e="0",paddingRight:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),height:({y:t},{paddingTop:e="0",paddingBottom:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:(t,{transform:e})=>qe(e,"x"),y:(t,{transform:e})=>qe(e,"y")};lt.translateX=lt.x;lt.translateY=lt.y;const ut=new Set;let Ze=!1,Je=!1,Qe=!1;function er(){if(Je){const t=Array.from(ut).filter(s=>s.needsMeasurement),e=new Set(t.map(s=>s.element)),n=new Map;e.forEach(s=>{const i=Ta(s);i.length&&(n.set(s,i),s.render())}),t.forEach(s=>s.measureInitialState()),e.forEach(s=>{s.render();const i=n.get(s);i&&i.forEach(([o,r])=>{s.getValue(o)?.set(r)})}),t.forEach(s=>s.measureEndState()),t.forEach(s=>{s.suspendedScrollY!==void 0&&window.scrollTo(0,s.suspendedScrollY)})}Je=!1,Ze=!1,ut.forEach(t=>t.complete(Qe)),ut.clear()}function nr(){ut.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(Je=!0)})}function Pa(){Qe=!0,nr(),er(),Qe=!1}class En{constructor(e,n,s,i,o,r=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=n,this.name=s,this.motionValue=i,this.element=o,this.isAsync=r}scheduleResolve(){this.state="scheduled",this.isAsync?(ut.add(this),Ze||(Ze=!0,M.read(nr),M.resolveKeyframes(er))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:e,name:n,element:s,motionValue:i}=this;if(e[0]===null){const o=i?.get(),r=e[e.length-1];if(o!==void 0)e[0]=o;else if(s&&n){const a=s.readValue(n,r);a!=null&&(e[0]=a)}e[0]===void 0&&(e[0]=r),i&&o===void 0&&i.set(e[0])}da(e)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),ut.delete(this)}cancel(){this.state==="scheduled"&&(ut.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const Sa=t=>t.startsWith("--");function Aa(t,e,n){Sa(e)?t.style.setProperty(e,n):t.style[e]=n}const sr=mn(()=>window.ScrollTimeline!==void 0),wa={};function ba(t,e){const n=mn(t);return()=>wa[e]??n()}const ir=ba(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Rt=([t,e,n,s])=>`cubic-bezier(${t}, ${e}, ${n}, ${s})`,fs={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Rt([0,.65,.55,1]),circOut:Rt([.55,0,1,.45]),backIn:Rt([.31,.01,.66,-.59]),backOut:Rt([.33,1.53,.69,.99])};function rr(t,e){if(t)return typeof t=="function"?ir()?qi(t,e):"ease-out":Wi(t)?Rt(t):Array.isArray(t)?t.map(n=>rr(n,e)||fs.easeOut):fs[t]}function Va(t,e,n,{delay:s=0,duration:i=300,repeat:o=0,repeatType:r="loop",ease:a="easeOut",times:l}={},u=void 0){const c={[e]:n};l&&(c.offset=l);const h=rr(a,i);Array.isArray(h)&&(c.easing=h);const f={delay:s,duration:i,easing:Array.isArray(h)?"linear":h,fill:"both",iterations:o+1,direction:r==="reverse"?"alternate":"normal"};return u&&(f.pseudoElement=u),t.animate(c,f)}function Rn(t){return typeof t=="function"&&"applyToOptions"in t}function Ca({type:t,...e}){return Rn(t)&&ir()?t.applyToOptions(e):(e.duration??(e.duration=300),e.ease??(e.ease="easeOut"),e)}class Ma extends Mn{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,!e)return;const{element:n,name:s,keyframes:i,pseudoElement:o,allowFlatten:r=!1,finalKeyframe:a,onComplete:l}=e;this.isPseudoElement=!!o,this.allowFlatten=r,this.options=e,jt(typeof e.type!="string");const u=Ca(e);this.animation=Va(n,s,i,u,o),u.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!o){const c=Cn(i,this.options,a,this.speed);this.updateMotionValue?this.updateMotionValue(c):Aa(n,s,c),this.animation.cancel()}l?.(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:e}=this;e==="idle"||e==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){const e=this.animation.effect?.getComputedTiming?.().duration||0;return H(Number(e))}get iterationDuration(){const{delay:e=0}=this.options||{};return this.duration+H(e)}get time(){return H(Number(this.animation.currentTime)||0)}set time(e){this.finishedTime=null,this.animation.currentTime=_(e)}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(e){this.animation.startTime=e}attachTimeline({timeline:e,observe:n}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,e&&sr()?(this.animation.timeline=e,U):n(this)}}const or={anticipate:Fi,backInOut:ki,circInOut:Ii};function Da(t){return t in or}function Ea(t){typeof t.ease=="string"&&Da(t.ease)&&(t.ease=or[t.ease])}const ds=10;class Ra extends Ma{constructor(e){Ea(e),tr(e),super(e),e.startTime&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){const{motionValue:n,onUpdate:s,onComplete:i,element:o,...r}=this.options;if(!n)return;if(e!==void 0){n.set(e);return}const a=new Dn({...r,autoplay:!1}),l=_(this.finishedTime??this.time);n.setWithVelocity(a.sample(l-ds).value,a.sample(l).value,ds),a.stop()}}const ms=(t,e)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(nt.test(t)||t==="0")&&!t.startsWith("url("));function La(t){const e=t[0];if(t.length===1)return!0;for(let n=0;n<t.length;n++)if(t[n]!==e)return!0}function ka(t,e,n,s){const i=t[0];if(i===null)return!1;if(e==="display"||e==="visibility")return!0;const o=t[t.length-1],r=ms(i,e),a=ms(o,e);return!r||!a?!1:La(t)||(n==="spring"||Rn(n))&&s}function tn(t){t.duration=0,t.type="keyframes"}const Fa=new Set(["opacity","clipPath","filter","transform"]),Ba=mn(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function Ia(t){const{motionValue:e,name:n,repeatDelay:s,repeatType:i,damping:o,type:r}=t;if(!(e?.owner?.current instanceof HTMLElement))return!1;const{onUpdate:l,transformTemplate:u}=e.owner.getProps();return Ba()&&n&&Fa.has(n)&&(n!=="transform"||!u)&&!l&&!s&&i!=="mirror"&&o!==0&&r!=="inertia"}const Oa=40;
vendor: 4,651 bytes, line 9
9class ja extends Mn{constructor({autoplay:e=!0,delay:n=0,type:s="keyframes",repeat:i=0,repeatDelay:o=0,repeatType:r="loop",keyframes:a,name:l,motionValue:u,element:c,...h}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=W.now();const f={autoplay:e,delay:n,type:s,repeat:i,repeatDelay:o,repeatType:r,name:l,motionValue:u,element:c,...h},d=c?.KeyframeResolver||En;this.keyframeResolver=new d(a,(m,g,x)=>this.onKeyframesResolved(m,g,f,!x),l,u,c),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,n,s,i){this.keyframeResolver=void 0;const{name:o,type:r,velocity:a,delay:l,isHandoff:u,onUpdate:c}=s;this.resolvedAt=W.now(),ka(e,o,r,a)||((tt.instantAnimations||!l)&&c?.(Cn(e,s,n)),e[0]=e[e.length-1],tn(s),s.repeat=0);const f={startTime:i?this.resolvedAt?this.resolvedAt-this.createdAt>Oa?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...s,keyframes:e},d=!u&&Ia(f)?new Ra({...f,element:f.motionValue.owner.current}):new Dn(f);d.finished.then(()=>this.notifyFinished()).catch(U),this.pendingTimeline&&(this.stopTimeline=d.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=d}get finished(){return this._animation?this.animation.finished:this._finished}then(e,n){return this.finished.finally(e).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),Pa()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}class Na{constructor(e){this.stop=()=>this.runAll("stop"),this.animations=e.filter(Boolean)}get finished(){return Promise.all(this.animations.map(e=>e.finished))}getAll(e){return this.animations[0][e]}setAll(e,n){for(let s=0;s<this.animations.length;s++)this.animations[s][e]=n}attachTimeline(e){const n=this.animations.map(s=>s.attachTimeline(e));return()=>{n.forEach((s,i)=>{s&&s(),this.animations[i].stop()})}}get time(){return this.getAll("time")}set time(e){this.setAll("time",e)}get speed(){return this.getAll("speed")}set speed(e){this.setAll("speed",e)}get state(){return this.getAll("state")}get startTime(){return this.getAll("startTime")}get duration(){return ps(this.animations,"duration")}get iterationDuration(){return ps(this.animations,"iterationDuration")}runAll(e){this.animations.forEach(n=>n[e]())}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}function ps(t,e){let n=0;for(let s=0;s<t.length;s++){const i=t[s][e];i!==null&&i>n&&(n=i)}return n}class Wa extends Na{then(e,n){return this.finished.finally(e).then(()=>{})}}const Ua=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Ka(t){const e=Ua.exec(t);if(!e)return[,];const[,n,s,i]=e;return[`--${n??s}`,i]}function ar(t,e,n=1){const[s,i]=Ka(t);if(!s)return;const o=window.getComputedStyle(e).getPropertyValue(s);if(o){const r=o.trim();return Vi(r)?parseFloat(r):r}return Tn(i)?ar(i,e,n+1):i}function Ln(t,e){return t?.[e]??t?.default??t}const lr=new Set(["width","height","top","left","right","bottom",...At]),$a={test:t=>t==="auto",parse:t=>t},ur=t=>e=>e.test(t),cr=[St,A,q,et,Oo,Io,$a],gs=t=>cr.find(ur(t));function Ha(t){return typeof t=="number"?t===0:t!==null?t==="none"||t==="0"||Mi(t):!0}const za=new Set(["brightness","contrast","saturate","opacity"]);function Ga(t){const[e,n]=t.slice(0,-1).split("(");if(e==="drop-shadow")return t;const[s]=n.match(Pn)||[];if(!s)return t;const i=n.replace(s,"");let o=za.has(e)?1:0;return s!==n&&(o*=100),e+"("+o+i+")"}const _a=/\b([a-z-]*)\(.*?\)/gu,en={...nt,getAnimatableNone:t=>{const e=t.match(_a);return e?e.map(Ga).join(" "):t}},ys={...St,transform:Math.round},Xa={rotate:et,rotateX:et,rotateY:et,rotateZ:et,scale:te,scaleX:te,scaleY:te,scaleZ:te,skew:et,skewX:et,skewY:et,distance:A,translateX:A,translateY:A,translateZ:A,x:A,y:A,z:A,perspective:A,transformPerspective:A,opacity:Nt,originX:ss,originY:ss,originZ:A},kn={borderWidth:A,borderTopWidth:A,borderRightWidth:A,borderBottomWidth:A,borderLeftWidth:A,borderRadius:A,radiu
vendor: 2,337 bytes, line 9
9s:A,borderTopLeftRadius:A,borderTopRightRadius:A,borderBottomRightRadius:A,borderBottomLeftRadius:A,width:A,maxWidth:A,height:A,maxHeight:A,top:A,right:A,bottom:A,left:A,padding:A,paddingTop:A,paddingRight:A,paddingBottom:A,paddingLeft:A,margin:A,marginTop:A,marginRight:A,marginBottom:A,marginLeft:A,backgroundPositionX:A,backgroundPositionY:A,...Xa,zIndex:ys,fillOpacity:Nt,strokeOpacity:Nt,numOctaves:ys},Ya={...kn,color:F,backgroundColor:F,outlineColor:F,fill:F,stroke:F,borderColor:F,borderTopColor:F,borderRightColor:F,borderBottomColor:F,borderLeftColor:F,filter:en,WebkitFilter:en},hr=t=>Ya[t];function fr(t,e){let n=hr(t);return n!==en&&(n=nt),n.getAnimatableNone?n.getAnimatableNone(e):void 0}const qa=new Set(["auto","none","0"]);function Za(t,e,n){let s=0,i;for(;s<t.length&&!i;){const o=t[s];typeof o=="string"&&!qa.has(o)&&Wt(o).values.length&&(i=t[s]),s++}if(i&&n)for(const o of e)t[o]=fr(n,i)}class Ja extends En{constructor(e,n,s,i,o){super(e,n,s,i,o,!0)}readKeyframes(){const{unresolvedKeyframes:e,element:n,name:s}=this;if(!n||!n.current)return;super.readKeyframes();for(let l=0;l<e.length;l++){let u=e[l];if(typeof u=="string"&&(u=u.trim(),Tn(u))){const c=ar(u,n.current);c!==void 0&&(e[l]=c),l===e.length-1&&(this.finalKeyframe=u)}}if(this.resolveNoneKeyframes(),!lr.has(s)||e.length!==2)return;const[i,o]=e,r=gs(i),a=gs(o);if(r!==a)if(hs(r)&&hs(a))for(let l=0;l<e.length;l++){const u=e[l];typeof u=="string"&&(e[l]=parseFloat(u))}else lt[s]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:e,name:n}=this,s=[];for(let i=0;i<e.length;i++)(e[i]===null||Ha(e[i]))&&s.push(i);s.length&&Za(e,s,n)}measureInitialState(){const{element:e,unresolvedKeyframes:n,name:s}=this;if(!e||!e.current)return;s==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=lt[s](e.measureViewportBox(),window.getComputedStyle(e.current)),n[0]=this.measuredOrigin;const i=n[n.length-1];i!==void 0&&e.getValue(s,i).jump(i,!1)}measureEndState(){const{element:e,name:n,unresolvedKeyframes:s}=this;if(!e||!e.current)return;const i=e.getValue(n);i&&i.jump(this.measuredOrigin,!1);const o=s.length-1,r=s[o];s[o]=lt[n](e.measureViewportBox(),window.getComputedStyle(e.current)),r!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=r),this.removedTransforms?.length&&this.removedTransforms.forEac
vendor: 4,779 bytes, line 9
9h(([a,l])=>{e.getValue(a).set(l)}),this.resolveNoneKeyframes()}}function Fn(t,e,n){if(t instanceof EventTarget)return[t];if(typeof t=="string"){let s=document;const i=n?.[t]??s.querySelectorAll(t);return i?Array.from(i):[]}return Array.from(t)}const dr=(t,e)=>e&&typeof t=="number"?e.transform(t):t;function Bn(t){return Ci(t)&&"offsetHeight"in t}const vs=30,Qa=t=>!isNaN(parseFloat(t)),Ft={current:void 0};class tl{constructor(e,n={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=s=>{const i=W.now();if(this.updatedAt!==i&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(s),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(const o of this.dependents)o.dirty()},this.hasAnimated=!1,this.setCurrent(e),this.owner=n.owner}setCurrent(e){this.current=e,this.updatedAt=W.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=Qa(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,n){this.events[e]||(this.events[e]=new pn);const s=this.events[e].add(n);return e==="change"?()=>{s(),M.read(()=>{this.events.change.getSize()||this.stop()})}:s}clearListeners(){for(const e in this.events)this.events[e].clear()}attach(e,n){this.passiveEffect=e,this.stopPassiveEffect=n}set(e){this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e)}setWithVelocity(e,n,s){this.set(n),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-s}jump(e,n=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(e){this.dependents||(this.dependents=new Set),this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return Ft.current&&Ft.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const e=W.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>vs)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,vs);return gn(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(e){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=e(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function G(t,e){return new tl(t,e)}const{schedule:In}=Ui(queueMicrotask,!1),z={x:!1,y:!1};function mr(){return z.x||z.y}function el(t){return t==="x"||t==="y"?z[t]?null:(z[t]=!0,()=>{z[t]=!1}):z.x||z.y?null:(z.x=z.y=!0,()=>{z.x=z.y=!1})}function pr(t,e){const n=Fn(t),s=new AbortController,i={passive:!0,...e,signal:s.signal};return[n,i,()=>s.abort()]}function xs(t){return!(t.pointerType==="touch"||mr())}function nl(t,e,n={}){const[s,i,o]=pr(t,n),r=a=>{if(!xs(a))return;const{target:l}=a,u=e(l,a);if(typeof u!="function"||!l)return;const c=h=>{xs(h)&&(u(h),l.removeEventListener("pointerleave",c))};l.addEventListener("pointerleave",c,i)};return s.forEach(a=>{a.addEventListener("pointerenter",r,i)}),o}const gr=(t,e)=>e?t===e?!0:gr(t,e.parentElement):!1,On=t=>t.pointerType==="mouse"?typeof t.button!="number"||t.button<=0:t.isPrimary!==!1,sl=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function il(t){return sl.has(t.tagName)||t.tabIndex!==-1}const re=new WeakSet;function Ts(t){return e=>{e.key==="Enter"&&t(e)}}function Le(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}const rl=(t,e)=>{const n=t.currentTarget;if(!n)return;const s=Ts(()=>{if(re.has(n))return;Le(n,"down");const i=Ts(()=>{Le(n,"up")}),o=()=>Le(n,"cancel");n.addEventListener("keyup",i,e),n.addEventListener("blur",o,e)});n.addEventListener("keydown",s,e),n.addEventListener("blur",()=>n.removeEventListener("keydown",s),e)};function Ps(t){return On(t)&&!mr()}function ol(t,e,n={}){const[s,i,o]=pr(t,n),r=a=>{const l=a.currentTarget;if(!Ps(a))return;re.add(l);const u=e(l,a),c=(d,m)=>{window.removeEventListener("pointerup",h),window.removeEventListener("pointercancel",f),re.has(l)&&re.delete(l),Ps(d)&&typeof u=="function"&&u(d,{success:m})},h=d=>{c(d,l===window||l===document||n.useGlobalTarget||gr(l,d.target))},f=d=>{c(d,!1)};window.addEventListener("pointerup",h,i),window.addEventListener("pointercancel",f,i)};
9return s.forEach(a=>{(n.useGlobalTarget?window:a).addEventListener("pointerdown",r,i),Bn(a)&&(a.addEventListener("focus",u=>rl(u,i)),!il(a)&&!a.hasAttribute("tabindex")&&(a.tabIndex=0))}),o}function xe(t){return Ci(t)&&"ownerSVGElement"in t}const oe=new WeakMap;let ae;const yr=(t,e,n)=>(s,i)=>i&&i[0]?i[0][t+"Size"]:xe(s)&&"getBBox"in s?s.getBBox()[e]:s[n],al=yr("inline","width","offsetWidth"),ll=yr("block","height","offsetHeight");function ul({target:t,borderBoxSize:e}){oe.get(t)?.forEach(n=>{n(t,{get width(){return al(t,e)},get height(){return ll(t,e)}})})}function cl(t){t.forEach(ul)}function hl(){typeof ResizeObserver>"u"||(ae=new ResizeObserver(cl))}function fl(t,e){ae||hl();const n=Fn(t);return n.forEach(s=>{let i=oe.get(s);i||(i=new Set,oe.set(s,i)),i.add(e),ae?.observe(s)}),()=>{n.forEach(s=>{const i=oe.get(s);i?.delete(e),i?.size||ae?.unobserve(s)})}}const le=new Set;let mt;function dl(){mt=()=>{const t={get width(){return window.innerWidth},get height(){return window.innerHeight}};le.forEach(e=>e(t))},window.addEventListener("resize",mt)}function ml(t){return le.add(t),mt||dl(),()=>{le.delete(t),!le.size&&typeof mt=="function"&&(window.removeEventListener("resize",mt),mt=void 0)}}function pl(t,e){return typeof t=="function"?ml(t):fl(t,e)}function vr(t,e){let n;const s=()=>{const{currentTime:i}=e,r=(i===null?0:i.value)/100;n!==r&&t(r),n=r};return M.preUpdate(s,!0),()=>X(s)}function xr(t){return xe(t)&&t.tagName==="svg"}function gl(...t){const e=!Array.isArray(t[0]),n=e?0:-1,s=t[0+n],i=t[1+n],o=t[2+n],r=t[3+n],a=bn(i,o,r);return e?a(s):a}const j=t=>!!(t&&t.getVelocity),yl=[...cr,F,nt],vl=t=>yl.find(ur(t)),Te=T.createContext({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"});function Ss(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function xl(...t){return e=>{let n=!1;const s=t.map(i=>{const o=Ss(i,e);return!n&&typeof o=="function"&&(n=!0),o});if(n)return()=>{for(let i=0;i<s.length;i++){const o=s[i];typeof o=="function"?o():Ss(t[i],null)}}}}function Tl(...t){return T.useCallback(xl(...t),t)}class Pl extends T.Component{getSnapshotBeforeUpdate(e){const n=this.props.childRef.current;if(n&&e.isPresent&&!this.props.isPresent){const s=n.offsetParent,i=Bn(s)&&s.offsetWidth||0,o=this.props.sizeRef.current;o.height=n.offsetHeight||0,o.width=n.offsetWidth||0,o.top=n.offsetTop,o.left=n.offsetLeft,o.right=i-o.width-o.left}return null}componentDidUpdate(){}render(){return this.props.children}}function Sl({children:t,isPresent:e,anchorX:n,root:s}){const i=T.useId(),o=T.useRef(null),r=T.useRef({width:0,height:0,top:0,left:0,right:0}),{nonce:a}=T.useContext(Te),l=Tl(o,t?.ref);return T.useInsertionEffect(()=>{const{width:u,height:c,top:h,left:f,right:d}=r.current;if(e||!o.current||!u||!c)return;const m=n==="left"?`left: ${f}`:`right: ${d}`;o.current.dataset.motionPopId=i;const g=document.createElement("style");a&&(g.nonce=a);const x=s??document.head;return x.appendChild(g),g.sheet&&g.sheet.insertRule(` 10 [data-motion-pop-id="${i}"] { 11 position: absolute !important; 12 width: ${u}px !important; 13 height: ${c}px !important; 14 ${m}px !important; 15 top: ${h}px !important; 16 } 17 `),()=>{x.contains(g)&&x.removeChild(g)}},[e]),Q.jsx(Pl,{isPresent:e,childRef:o,sizeRef:r,children:T.cloneElement(t,{ref:l})})}const Al=({children:t,initial:e,isPresent:n,onExitComplete:s,custom:i,presenceAffectsLayout:o,mode:r,anchorX:a,root:l})=>{const u=Pt(wl),c=T.useId();let h=!0,f=T.useMemo(()=>(h=!1,{id:c,initial:e,isPresent:n,custom:i,onExitComplete:d=>{u.set(d,!0);for(const m of u.values())if(!m)return;s&&s()},register:d=>(u.set(d,!1),()=>u.delete(d))}),[n,u,s]);return o&&h&&(f={...f}),T.useMemo(()=>{u.forEach((d,m)=>u.set(m,!1))},[n]),T.useEffect(()=>{!n&&!u.size&&s&&s()},[n]),r==="popLayout"&&(t=Q.jsx(Sl,{isPresent:n,anchorX:a,root:l,children:t})),Q.jsx(ye.Provider,{value:f,children:t})};function wl(){return new Map}function Tr(t=!0){const e=T.useContext(ye);if(e===null)return[!0,null];const{isPresent:n,onExitComplete:s,register:i}=e,o=T.useId();T.useEffect(()=>{if(t)return i(o)},[t]);const r=T.useCallback(()=>t&&s&&s(o),[o,s,t]);return!n&&s?[!1,r]:[!0]}const ee=t=>t.key||"";function As(t){const e=[];
vendor: 4,122 bytes, line 17
17return T.Children.forEach(t,n=>{T.isValidElement(n)&&e.push(n)}),e}const jh=({children:t,custom:e,initial:n=!0,onExitComplete:s,presenceAffectsLayout:i=!0,mode:o="sync",propagate:r=!1,anchorX:a="left",root:l})=>{const[u,c]=Tr(r),h=T.useMemo(()=>As(t),[t]),f=r&&!u?[]:h.map(ee),d=T.useRef(!0),m=T.useRef(h),g=Pt(()=>new Map),[x,p]=T.useState(h),[y,v]=T.useState(h);ge(()=>{d.current=!1,m.current=h;for(let b=0;b<y.length;b++){const V=ee(y[b]);f.includes(V)?g.delete(V):g.get(V)!==!0&&g.set(V,!1)}},[y,f.length,f.join("-")]);const w=[];if(h!==x){let b=[...h];for(let V=0;V<y.length;V++){const S=y[V],C=ee(S);f.includes(C)||(b.splice(V,0,S),w.push(S))}return o==="wait"&&w.length&&(b=w),v(As(b)),p(h),null}const{forceRender:P}=T.useContext(hn);return Q.jsx(Q.Fragment,{children:y.map(b=>{const V=ee(b),S=r&&!u?!1:h===y||f.includes(V),C=()=>{if(g.has(V))g.set(V,!0);else return;let B=!0;g.forEach(I=>{I||(B=!1)}),B&&(P?.(),v(m.current),r&&c?.(),s&&s())};return Q.jsx(Al,{isPresent:S,initial:!d.current||n?void 0:!1,custom:e,presenceAffectsLayout:i,mode:o,root:l,onExitComplete:S?void 0:C,anchorX:a,children:b},V)})})},Pr=T.createContext({strict:!1}),ws={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},Tt={};for(const t in ws)Tt[t]={isEnabled:e=>ws[t].some(n=>!!e[n])};function bl(t){for(const e in t)Tt[e]={...Tt[e],...t[e]}}const Vl=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function de(t){return t.startsWith("while")||t.startsWith("drag")&&t!=="draggable"||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||Vl.has(t)}let Sr=t=>!de(t);function Cl(t){typeof t=="function"&&(Sr=e=>e.startsWith("on")?!de(e):t(e))}try{Cl(require("@emotion/is-prop-valid").default)}catch{}function Ml(t,e,n){const s={};for(const i in t)i==="values"&&typeof t.values=="object"||(Sr(i)||n===!0&&de(i)||!e&&!de(i)||t.draggable&&i.startsWith("onDrag"))&&(s[i]=t[i]);return s}const Pe=T.createContext({});function Se(t){return t!==null&&typeof t=="object"&&typeof t.start=="function"}function Kt(t){return typeof t=="string"||Array.isArray(t)}const jn=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Nn=["initial",...jn];function Ae(t){return Se(t.animate)||Nn.some(e=>Kt(t[e]))}function Ar(t){return!!(Ae(t)||t.variants)}function Dl(t,e){if(Ae(t)){const{initial:n,animate:s}=t;return{initial:n===!1||Kt(n)?n:void 0,animate:Kt(s)?s:void 0}}return t.inherit!==!1?e:{}}function El(t){const{initial:e,animate:n}=Dl(t,T.useContext(Pe));return T.useMemo(()=>({initial:e,animate:n}),[bs(e),bs(n)])}function bs(t){return Array.isArray(t)?t.join(" "):t}const $t={};function Rl(t){for(const e in t)$t[e]=t[e],xn(e)&&($t[e].isCSSVariable=!0)}function wr(t,{layout:e,layoutId:n}){return wt.has(t)||t.startsWith("origin")||(e||n!==void 0)&&(!!$t[t]||t==="opacity")}const Ll={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},kl=At.length;function Fl(t,e,n){let s="",i=!0;for(let o=0;o<kl;o++){const r=At[o],a=t[r];if(a===void 0)continue;let l=!0;if(typeof a=="number"?l=a===(r.startsWith("scale")?1:0):l=parseFloat(a)===0,!l||n){const u=dr(a,kn[r]);if(!l){i=!1;const c=Ll[r]||r;s+=`${c}(${u}) `}n&&(e[r]=u)}}return s=s.trim(),n?s=n(e,i?"":s):i&&(s="none"),s}function Wn(t,e,n){const{style:s,vars:i,transformOrigin:o}=t;let r=!1,a=!1;for(const l in e){const u=e[l];if(wt.has(l)){r=!0;continue}
vendor: 3,669 bytes, line 17
17else if(xn(l)){i[l]=u;continue}else{const c=dr(u,kn[l]);l.startsWith("origin")?(a=!0,o[l]=c):s[l]=c}}if(e.transform||(r||n?s.transform=Fl(e,t.transform,n):s.transform&&(s.transform="none")),a){const{originX:l="50%",originY:u="50%",originZ:c=0}=o;s.transformOrigin=`${l} ${u} ${c}`}}const Un=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function br(t,e,n){for(const s in e)!j(e[s])&&!wr(s,n)&&(t[s]=e[s])}function Bl({transformTemplate:t},e){return T.useMemo(()=>{const n=Un();return Wn(n,e,t),Object.assign({},n.vars,n.style)},[e])}function Il(t,e){const n=t.style||{},s={};return br(s,n,t),Object.assign(s,Bl(t,e)),s}function Ol(t,e){const n={},s=Il(t,e);return t.drag&&t.dragListener!==!1&&(n.draggable=!1,s.userSelect=s.WebkitUserSelect=s.WebkitTouchCallout="none",s.touchAction=t.drag===!0?"none":`pan-${t.drag==="x"?"y":"x"}`),t.tabIndex===void 0&&(t.onTap||t.onTapStart||t.whileTap)&&(n.tabIndex=0),n.style=s,n}const jl={offset:"stroke-dashoffset",array:"stroke-dasharray"},Nl={offset:"strokeDashoffset",array:"strokeDasharray"};function Wl(t,e,n=1,s=0,i=!0){t.pathLength=1;const o=i?jl:Nl;t[o.offset]=A.transform(-s);const r=A.transform(e),a=A.transform(n);t[o.array]=`${r} ${a}`}function Vr(t,{attrX:e,attrY:n,attrScale:s,pathLength:i,pathSpacing:o=1,pathOffset:r=0,...a},l,u,c){if(Wn(t,a,u),l){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};const{attrs:h,style:f}=t;h.transform&&(f.transform=h.transform,delete h.transform),(f.transform||h.transformOrigin)&&(f.transformOrigin=h.transformOrigin??"50% 50%",delete h.transformOrigin),f.transform&&(f.transformBox=c?.transformBox??"fill-box",delete h.transformBox),e!==void 0&&(h.x=e),n!==void 0&&(h.y=n),s!==void 0&&(h.scale=s),i!==void 0&&Wl(h,i,o,r,!1)}const Cr=()=>({...Un(),attrs:{}}),Mr=t=>typeof t=="string"&&t.toLowerCase()==="svg";function Ul(t,e,n,s){const i=T.useMemo(()=>{const o=Cr();return Vr(o,e,Mr(s),t.transformTemplate,t.style),{...o.attrs,style:{...o.style}}},[e]);if(t.style){const o={};br(o,t.style,t),i.style={...o,...i.style}}return i}const Kl=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function Kn(t){return typeof t!="string"||t.includes("-")?!1:!!(Kl.indexOf(t)>-1||/[A-Z]/u.test(t))}function $l(t,e,n,{latestValues:s},i,o=!1){const a=(Kn(t)?Ul:Ol)(e,s,i,t),l=Ml(e,typeof t=="string",o),u=t!==T.Fragment?{...l,...a,ref:n}:{},{children:c}=e,h=T.useMemo(()=>j(c)?c.get():c,[c]);return T.createElement(t,{...u,children:h})}function Vs(t){const e=[{},{}];return t?.values.forEach((n,s)=>{e[0][s]=n.get(),e[1][s]=n.getVelocity()}),e}function $n(t,e,n,s){if(typeof e=="function"){const[i,o]=Vs(s);e=e(n!==void 0?n:t.custom,i,o)}if(typeof e=="string"&&(e=t.variants&&t.variants[e]),typeof e=="function"){const[i,o]=Vs(s);e=e(n!==void 0?n:t.custom,i,o)}return e}function ue(t){return j(t)?t.get():t}function Hl({scrapeMotionValuesFromProps:t,createRenderState:e},n,s,i){return{latestValues:zl(n,s,i,t),renderState:e()}}function zl(t,e,n,s){const i={},o=s(t,{});for(const f in o)i[f]=ue(o[f]);let{initial:r,animate:a}=t;const l=Ae(t),u=Ar(t);e&&u&&!l&&t.inherit!==!1&&(r===void 0&&(r=e.initial),a===void 0&&(a=e.animate));let c=n?n.initial===!1:!1;c=c||r===!1;const h=c?a:r;if(h&&typeof h!="boolean"&&!Se(h)){const f=Array.isArray(h)?h:[h];for(let d=0;d<f.length;d++){const m=$n(t,f[d]);if(m){const{transitionEnd:g,transition:x,...p}=m;for(const y in p){let v=p[y];if(Array.isArray(v)){const w=c?v.length-1:0;v=v[w]}v!==null&&(i[y]=v)}for(const y in g)i[y]=g[y]}}}return i}const Dr=t=>
vendor: 37,863 bytes, line 17
17(e,n)=>{const s=T.useContext(Pe),i=T.useContext(ye),o=()=>Hl(t,e,s,i);return n?o():Pt(o)};function Hn(t,e,n){const{style:s}=t,i={};for(const o in s)(j(s[o])||e.style&&j(e.style[o])||wr(o,t)||n?.getValue(o)?.liveStyle!==void 0)&&(i[o]=s[o]);return i}const Gl=Dr({scrapeMotionValuesFromProps:Hn,createRenderState:Un});function Er(t,e,n){const s=Hn(t,e,n);for(const i in t)if(j(t[i])||j(e[i])){const o=At.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;s[o]=t[i]}return s}const _l=Dr({scrapeMotionValuesFromProps:Er,createRenderState:Cr}),Xl=Symbol.for("motionComponentSymbol");function pt(t){return t&&typeof t=="object"&&Object.prototype.hasOwnProperty.call(t,"current")}function Yl(t,e,n){return T.useCallback(s=>{s&&t.onMount&&t.onMount(s),e&&(s?e.mount(s):e.unmount()),n&&(typeof n=="function"?n(s):pt(n)&&(n.current=s))},[e])}const zn=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),ql="framerAppearId",Rr="data-"+zn(ql),Lr=T.createContext({});function Zl(t,e,n,s,i){const{visualElement:o}=T.useContext(Pe),r=T.useContext(Pr),a=T.useContext(ye),l=T.useContext(Te).reducedMotion,u=T.useRef(null);s=s||r.renderer,!u.current&&s&&(u.current=s(t,{visualState:e,parent:o,props:n,presenceContext:a,blockInitialAnimation:a?a.initial===!1:!1,reducedMotionConfig:l}));const c=u.current,h=T.useContext(Lr);c&&!c.projection&&i&&(c.type==="html"||c.type==="svg")&&Jl(u.current,n,i,h);const f=T.useRef(!1);T.useInsertionEffect(()=>{c&&f.current&&c.update(n,a)});const d=n[Rr],m=T.useRef(!!d&&!window.MotionHandoffIsComplete?.(d)&&window.MotionHasOptimisedAnimation?.(d));return ge(()=>{c&&(f.current=!0,window.MotionIsMounted=!0,c.updateFeatures(),c.scheduleRenderMicrotask(),m.current&&c.animationState&&c.animationState.animateChanges())}),T.useEffect(()=>{c&&(!m.current&&c.animationState&&c.animationState.animateChanges(),m.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(d)}),m.current=!1),c.enteringChildren=void 0)}),c}function Jl(t,e,n,s){const{layoutId:i,layout:o,drag:r,dragConstraints:a,layoutScroll:l,layoutRoot:u,layoutCrossfade:c}=e;t.projection=new n(t.latestValues,e["data-framer-portal-id"]?void 0:kr(t.parent)),t.projection.setOptions({layoutId:i,layout:o,alwaysMeasureLayout:!!r||a&&pt(a),visualElement:t,animationType:typeof o=="string"?o:"both",initialPromotionConfig:s,crossfade:c,layoutScroll:l,layoutRoot:u})}function kr(t){if(t)return t.options.allowProjection!==!1?t.projection:kr(t.parent)}function ke(t,{forwardMotionProps:e=!1}={},n,s){n&&bl(n);const i=Kn(t)?_l:Gl;function o(a,l){let u;const c={...T.useContext(Te),...a,layoutId:Ql(a)},{isStatic:h}=c,f=El(a),d=i(a,h);if(!h&&fn){tu();const m=eu(c);u=m.MeasureLayout,f.visualElement=Zl(t,d,c,s,m.ProjectionNode)}return Q.jsxs(Pe.Provider,{value:f,children:[u&&f.visualElement?Q.jsx(u,{visualElement:f.visualElement,...c}):null,$l(t,a,Yl(d,f.visualElement,l),d,h,e)]})}o.displayName=`motion.${typeof t=="string"?t:`create(${t.displayName??t.name??""})`}`;const r=T.forwardRef(o);return r[Xl]=t,r}function Ql({layoutId:t}){const e=T.useContext(hn).id;return e&&t!==void 0?e+"-"+t:t}function tu(t,e){T.useContext(Pr).strict}function eu(t){const{drag:e,layout:n}=Tt;if(!e&&!n)return{};const s={...e,...n};return{MeasureLayout:e?.isEnabled(t)||n?.isEnabled(t)?s.MeasureLayout:void 0,ProjectionNode:s.ProjectionNode}}function nu(t,e){if(typeof Proxy>"u")return ke;const n=new Map,s=(o,r)=>ke(o,r,t,e),i=(o,r)=>s(o,r);return new Proxy(i,{get:(o,r)=>r==="create"?s:(n.has(r)||n.set(r,ke(r,void 0,t,e)),n.get(r))})}function Fr({top:t,left:e,right:n,bottom:s}){return{x:{min:e,max:n},y:{min:t,max:s}}}function su({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}function iu(t,e){if(!e)return t;const n=e({x:t.left,y:t.top}),s=e({x:t.right,y:t.bottom});return{top:n.y,left:n.x,bottom:s.y,right:s.x}}function Fe(t){return t===void 0||t===1}function nn({scale:t,scaleX:e,scaleY:n}){return!Fe(t)||!Fe(e)||!Fe(n)}function rt(t){return nn(t)||Br(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function Br(t){return Cs(t.x)||Cs(t.y)}function Cs(t){return t&&t!=="0%"}function me(t,e,n){const s=t-n,i=e*s;return n+i}function Ms(t,e,n,s,i){return i!==void 0&&(t=me(t,i,s)),me(t,n,s)+e}function sn(t,e=0,n=1,s,i){t.min=Ms(t.min,e,n,s,i),t.max=Ms(t.max,e,n,s,i)}function Ir(t,{x:e,y:n}){sn(t.x,e.translate,e.scale,e.originPoint),sn(t.y,n.translate,n.scale,n.originPoint)}const Ds=.999999999999,Es=1.0000000000001;function ru(t,e,n,s=!1){const i=n.length;if(!i)return;e.x=e.y=1;let o,r;for(let a=0;a<i;a++){o=n[a],r=o.projectionDelta;const{visualElement:l}=o.options;l&&l.props.style&&l.props.style.display==="contents"||(s&&o.options.layoutScroll&&o.scroll&&o!==o.root&&yt(t,{x:-o.scroll.offset.x,y:-o.scroll.offset.y}),r&&(e.x*=r.x.scale,e.y*=r.y.scale,Ir(t,r)),s&&rt(o.latestValues)&&yt(t,o.latestValues))}e.x<Es&&e.x>Ds&&(e.x=1),e.y<Es&&e.y>Ds&&(e.y=1)}function gt(t,e){t.min=t.min+e,t.max=t.max+e}function Rs(t,e,n,s,i=.5){const o=E(t.min,t.max,i);sn(t,e,n,o,s)}function yt(t,e){Rs(t.x,e.x,e.scaleX,e.scale,e.originX),Rs(t.y,e.y,e.scaleY,e.scale,e.originY)}function Or(t,e){return Fr(iu(t.getBoundingClientRect(),e))}function ou(t,e,n){const s=Or(t,n),{scroll:i}=e;return i&&(gt(s.x,i.offset.x),gt(s.y,i.offset.y)),s}const Ls=()=>({translate:0,scale:1,origin:0,originPoint:0}),vt=()=>({x:Ls(),y:Ls()}),ks=()=>({min:0,max:0}),L=()=>({x:ks(),y:ks()}),pe={current:null},Gn={current:!1};function jr(){if(Gn.current=!0,!!fn)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),e=()=>pe.current=t.matches;t.addEventListener("change",e),e()}else pe.current=!1}const Ht=new WeakMap;function au(t,e,n){for(const s in e){const i=e[s],o=n[s];if(j(i))t.addValue(s,i);else if(j(o))t.addValue(s,G(i,{owner:t}));else if(o!==i)if(t.hasValue(s)){const r=t.getValue(s);r.liveStyle===!0?r.jump(i):r.hasAnimated||r.set(i)}else{const r=t.getStaticValue(s);t.addValue(s,G(r!==void 0?r:i,{owner:t}))}}for(const s in n)e[s]===void 0&&t.removeValue(s);return e}const Fs=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class Nr{scrapeMotionValuesFromProps(e,n,s){return{}}constructor({parent:e,props:n,presenceContext:s,reducedMotionConfig:i,blockInitialAnimation:o,visualState:r},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=En,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const f=W.now();this.renderScheduledAt<f&&(this.renderScheduledAt=f,M.render(this.render,!1,!0))};const{latestValues:l,renderState:u}=r;this.latestValues=l,this.baseTarget={...l},this.initialValues=n.initial?{...l}:{},this.renderState=u,this.parent=e,this.props=n,this.presenceContext=s,this.depth=e?e.depth+1:0,this.reducedMotionConfig=i,this.options=a,this.blockInitialAnimation=!!o,this.isControllingVariants=Ae(n),this.isVariantNode=Ar(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);const{willChange:c,...h}=this.scrapeMotionValuesFromProps(n,{},this);for(const f in h){const d=h[f];l[f]!==void 0&&j(d)&&d.set(l[f])}}mount(e){this.current=e,Ht.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((n,s)=>this.bindToMotionValue(s,n)),Gn.current||jr(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:pe.current,this.parent?.addChild(this),this.update(this.props,this.presenceContext)}unmount(){this.projection&&this.projection.unmount(),X(this.notifyUpdate),X(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(const e in this.events)this.events[e].clear();for(const e in this.features){const n=this.features[e];n&&(n.unmount(),n.isMounted=!1)}this.current=null}addChild(e){this.children.add(e),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(e)}removeChild(e){this.children.delete(e),this.enteringChildren&&this.enteringChildren.delete(e)}bindToMotionValue(e,n){this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)();const s=wt.has(e);s&&this.onBindTransform&&this.onBindTransform();const i=n.on("change",r=>{this.latestValues[e]=r,this.props.onUpdate&&M.preRender(this.notifyUpdate),s&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let o;window.MotionCheckAppearSync&&(o=window.MotionCheckAppearSync(this,e,n)),this.valueSubscriptions.set(e,()=>{i(),o&&o(),n.owner&&n.stop()})}sortNodePosition(e){return!this.current||!this.sortInstanceNodePosition||this.type!==e.type?0:this.sortInstanceNodePosition(this.current,e.current)}updateFeatures(){let e="animation";for(e in Tt){const n=Tt[e];if(!n)continue;const{isEnabled:s,Feature:i}=n;if(!this.features[e]&&i&&s(this.props)&&(this.features[e]=new i(this)),this.features[e]){const o=this.features[e];o.isMounted?o.update():(o.mount(),o.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):L()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,n){this.latestValues[e]=n}update(e,n){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let s=0;s<Fs.length;s++){const i=Fs[s];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);const o="on"+i,r=e[o];r&&(this.propEventSubscriptions[i]=this.on(i,r))}this.prevMotionValues=au(this,this.scrapeMotionValuesFromProps(e,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(e){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(e),()=>n.variantChildren.delete(e)}addValue(e,n){const s=this.values.get(e);n!==s&&(s&&this.removeValue(e),this.bindToMotionValue(e,n),this.values.set(e,n),this.latestValues[e]=n.get())}removeValue(e){this.values.delete(e);const n=this.valueSubscriptions.get(e);n&&(n(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,n){if(this.props.values&&this.props.values[e])return this.props.values[e];let s=this.values.get(e);return s===void 0&&n!==void 0&&(s=G(n===null?void 0:n,{owner:this}),this.addValue(e,s)),s}readValue(e,n){let s=this.latestValues[e]!==void 0||!this.current?this.latestValues[e]:this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options);return s!=null&&(typeof s=="string"&&(Vi(s)||Mi(s))?s=parseFloat(s):!vl(s)&&nt.test(n)&&(s=fr(e,n)),this.setBaseTarget(e,j(s)?s.get():s)),j(s)?s.get():s}setBaseTarget(e,n){this.baseTarget[e]=n}getBaseTarget(e){const{initial:n}=this.props;let s;if(typeof n=="string"||typeof n=="object"){const o=$n(this.props,n,this.presenceContext?.custom);o&&(s=o[e])}if(n&&s!==void 0)return s;const i=this.getBaseTargetFromProps(this.props,e);return i!==void 0&&!j(i)?i:this.initialValues[e]!==void 0&&s===void 0?void 0:this.baseTarget[e]}on(e,n){return this.events[e]||(this.events[e]=new pn),this.events[e].add(n)}notify(e,...n){this.events[e]&&this.events[e].notify(...n)}scheduleRenderMicrotask(){In.render(this.render)}}class Wr extends Nr{constructor(){super(...arguments),this.KeyframeResolver=Ja}sortInstanceNodePosition(e,n){return e.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(e,n){return e.style?e.style[n]:void 0}removeValueFromRenderState(e,{vars:n,style:s}){delete n[e],delete s[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;j(e)&&(this.childSubscription=e.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}function Ur(t,{style:e,vars:n},s,i){const o=t.style;let r;for(r in e)o[r]=e[r];i?.applyProjectionStyles(o,s);for(r in n)o.setProperty(r,n[r])}function lu(t){return window.getComputedStyle(t)}class Kr extends Wr{constructor(){super(...arguments),this.type="html",this.renderInstance=Ur}readValueFromInstance(e,n){if(wt.has(n))return this.projection?.isProjecting?Ye(n):ga(e,n);{const s=lu(e),i=(xn(n)?s.getPropertyValue(n):s[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(e,{transformPagePoint:n}){return Or(e,n)}build(e,n,s){Wn(e,n,s.transformTemplate)}scrapeMotionValuesFromProps(e,n,s){return Hn(e,n,s)}}const $r=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function uu(t,e,n,s){Ur(t,e,void 0,s);for(const i in e.attrs)t.setAttribute($r.has(i)?i:zn(i),e.attrs[i])}class Hr extends Wr{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=L}getBaseTargetFromProps(e,n){return e[n]}readValueFromInstance(e,n){if(wt.has(n)){const s=hr(n);return s&&s.default||0}return n=$r.has(n)?n:zn(n),e.getAttribute(n)}scrapeMotionValuesFromProps(e,n,s){return Er(e,n,s)}build(e,n,s){Vr(e,n,this.isSVGTag,s.transformTemplate,s.style)}renderInstance(e,n,s,i){uu(e,n,s,i)}mount(e){this.isSVGTag=Mr(e.tagName),super.mount(e)}}const cu=(t,e)=>Kn(t)?new Hr(e):new Kr(e,{allowProjection:t!==T.Fragment});function xt(t,e,n){const s=t.getProps();return $n(s,e,n!==void 0?n:s.custom,t)}const rn=t=>Array.isArray(t);function hu(t,e,n){t.hasValue(e)?t.getValue(e).set(n):t.addValue(e,G(n))}function fu(t){return rn(t)?t[t.length-1]||0:t}function du(t,e){const n=xt(t,e);let{transitionEnd:s={},transition:i={},...o}=n||{};o={...o,...s};for(const r in o){const a=fu(o[r]);hu(t,r,a)}}function mu(t){return!!(j(t)&&t.add)}function on(t,e){const n=t.getValue("willChange");if(mu(n))return n.add(e);if(!n&&tt.WillChange){const s=new tt.WillChange("auto");t.addValue("willChange",s),s.add(e)}}function zr(t){return t.props[Rr]}const pu=t=>t!==null;function gu(t,{repeat:e,repeatType:n="loop"},s){const i=t.filter(pu),o=e&&n!=="loop"&&e%2===1?0:i.length-1;return i[o]}const yu={type:"spring",stiffness:500,damping:25,restSpeed:10},vu=t=>({type:"spring",stiffness:550,damping:t===0?2*Math.sqrt(550):30,restSpeed:10}),xu={type:"keyframes",duration:.8},Tu={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Pu=(t,{keyframes:e})=>e.length>2?xu:wt.has(t)?t.startsWith("scale")?vu(e[1]):yu:Tu;function Su({when:t,delay:e,delayChildren:n,staggerChildren:s,staggerDirection:i,repeat:o,repeatType:r,repeatDelay:a,from:l,elapsed:u,...c}){return!!Object.keys(c).length}const _n=(t,e,n,s={},i,o)=>r=>{const a=Ln(s,t)||{},l=a.delay||s.delay||0;let{elapsed:u=0}=s;u=u-_(l);const c={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:e.getVelocity(),...a,delay:-u,onUpdate:f=>{e.set(f),a.onUpdate&&a.onUpdate(f)},onComplete:()=>{r(),a.onComplete&&a.onComplete()},name:t,motionValue:e,element:o?void 0:i};Su(a)||Object.assign(c,Pu(t,c)),c.duration&&(c.duration=_(c.duration)),c.repeatDelay&&(c.repeatDelay=_(c.repeatDelay)),c.from!==void 0&&(c.keyframes[0]=c.from);let h=!1;if((c.type===!1||c.duration===0&&!c.repeatDelay)&&(tn(c),c.delay===0&&(h=!0)),(tt.instantAnimations||tt.skipAnimations)&&(h=!0,tn(c),c.delay=0),c.allowFlatten=!a.type&&!a.ease,h&&!o&&e.get()!==void 0){const f=gu(c.keyframes,a);if(f!==void 0){M.update(()=>{c.onUpdate(f),c.onComplete()});return}}return a.isSync?new Dn(c):new ja(c)};function Au({protectedKeys:t,needsAnimating:e},n){const s=t.hasOwnProperty(n)&&e[n]!==!0;return e[n]=!1,s}function Xn(t,e,{delay:n=0,transitionOverride:s,type:i}={}){let{transition:o=t.getDefaultTransition(),transitionEnd:r,...a}=e;s&&(o=s);const l=[],u=i&&t.animationState&&t.animationState.getState()[i];for(const c in a){const h=t.getValue(c,t.latestValues[c]??null),f=a[c];if(f===void 0||u&&Au(u,c))continue;const d={delay:n,...Ln(o||{},c)},m=h.get();if(m!==void 0&&!h.isAnimating&&!Array.isArray(f)&&f===m&&!d.velocity)continue;let g=!1;if(window.MotionHandoffAnimation){const p=zr(t);if(p){const y=window.MotionHandoffAnimation(p,c,M);y!==null&&(d.startTime=y,g=!0)}}on(t,c),h.start(_n(c,h,f,t.shouldReduceMotion&&lr.has(c)?{type:!1}:d,t,g));const x=h.animation;x&&l.push(x)}return r&&Promise.all(l).then(()=>{M.update(()=>{r&&du(t,r)})}),l}function Gr(t,e,n,s=0,i=1){const o=Array.from(t).sort((u,c)=>u.sortNodePosition(c)).indexOf(e),r=t.size,a=(r-1)*s;return typeof n=="function"?n(o,r):i===1?o*s:a-o*s}function an(t,e,n={}){const s=xt(t,e,n.type==="exit"?t.presenceContext?.custom:void 0);let{transition:i=t.getDefaultTransition()||{}}=s||{};n.transitionOverride&&(i=n.transitionOverride);const o=s?()=>Promise.all(Xn(t,s,n)):()=>Promise.resolve(),r=t.variantChildren&&t.variantChildren.size?(l=0)=>{const{delayChildren:u=0,staggerChildren:c,staggerDirection:h}=i;return wu(t,e,l,u,c,h,n)}:()=>Promise.resolve(),{when:a}=i;if(a){const[l,u]=a==="beforeChildren"?[o,r]:[r,o];return l().then(()=>u())}else return Promise.all([o(),r(n.delay)])}function wu(t,e,n=0,s=0,i=0,o=1,r){const a=[];for(const l of t.variantChildren)l.notify("AnimationStart",e),a.push(an(l,e,{...r,delay:n+(typeof s=="function"?0:s)+Gr(t.variantChildren,l,s,i,o)}).then(()=>l.notify("AnimationComplete",e)));return Promise.all(a)}function bu(t,e,n={}){t.notify("AnimationStart",e);let s;if(Array.isArray(e)){const i=e.map(o=>an(t,o,n));s=Promise.all(i)}else if(typeof e=="string")s=an(t,e,n);else{const i=typeof e=="function"?xt(t,e,n.custom):e;s=Promise.all(Xn(t,i,n))}return s.then(()=>{t.notify("AnimationComplete",e)})}function _r(t,e){if(!Array.isArray(e))return!1;const n=e.length;if(n!==t.length)return!1;for(let s=0;s<n;s++)if(e[s]!==t[s])return!1;return!0}const Vu=Nn.length;function Xr(t){if(!t)return;if(!t.isControllingVariants){const n=t.parent?Xr(t.parent)||{}:{};return t.props.initial!==void 0&&(n.initial=t.props.initial),n}const e={};for(let n=0;n<Vu;n++){const s=Nn[n],i=t.props[s];(Kt(i)||i===!1)&&(e[s]=i)}return e}const Cu=[...jn].reverse(),Mu=jn.length;function Du(t){return e=>Promise.all(e.map(({animation:n,options:s})=>bu(t,n,s)))}function Eu(t){let e=Du(t),n=Bs(),s=!0;const i=l=>(u,c)=>{const h=xt(t,c,l==="exit"?t.presenceContext?.custom:void 0);if(h){const{transition:f,transitionEnd:d,...m}=h;u={...u,...m,...d}}return u};function o(l){e=l(t)}function r(l){const{props:u}=t,c=Xr(t.parent)||{},h=[],f=new Set;let d={},m=1/0;for(let x=0;x<Mu;x++){const p=Cu[x],y=n[p],v=u[p]!==void 0?u[p]:c[p],w=Kt(v),P=p===l?y.isActive:null;P===!1&&(m=x);let b=v===c[p]&&v!==u[p]&&w;if(b&&s&&t.manuallyAnimateOnMount&&(b=!1),y.protectedKeys={...d},!y.isActive&&P===null||!v&&!y.prevProp||Se(v)||typeof v=="boolean")continue;const V=Ru(y.prevProp,v);let S=V||p===l&&y.isActive&&!b&&w||x>m&&w,C=!1;const B=Array.isArray(v)?v:[v];let I=B.reduce(i(p),{});P===!1&&(I={});const{prevResolvedValues:ht={}}=y,ft={...ht,...I},we=D=>{S=!0,f.has(D)&&(C=!0,f.delete(D)),y.needsAnimating[D]=!0;const R=t.getValue(D);R&&(R.liveStyle=!1)};for(const D in ft){const R=I[D],Y=ht[D];if(d.hasOwnProperty(D))continue;let J=!1;rn(R)&&rn(Y)?J=!_r(R,Y):J=R!==Y,J?R!=null?we(D):f.add(D):R!==void 0&&f.has(D)?we(D):y.protectedKeys[D]=!0}y.prevProp=v,y.prevResolvedValues=I,y.isActive&&(d={...d,...I}),s&&t.blockInitialAnimation&&(S=!1);const be=b&&V;S&&(!be||C)&&h.push(...B.map(D=>{const R={type:p};if(typeof D=="string"&&s&&!be&&t.manuallyAnimateOnMount&&t.parent){const{parent:Y}=t,J=xt(Y,D);if(Y.enteringChildren&&J){const{delayChildren:qt}=J.transition||{};R.delay=Gr(Y.enteringChildren,t,qt)}}return{animation:D,options:R}}))}if(f.size){const x={};if(typeof u.initial!="boolean"){const p=xt(t,Array.isArray(u.initial)?u.initial[0]:u.initial);p&&p.transition&&(x.transition=p.transition)}f.forEach(p=>{const y=t.getBaseTarget(p),v=t.getValue(p);v&&(v.liveStyle=!0),x[p]=y??null}),h.push({animation:x})}let g=!!h.length;return s&&(u.initial===!1||u.initial===u.animate)&&!t.manuallyAnimateOnMount&&(g=!1),s=!1,g?e(h):Promise.resolve()}function a(l,u){if(n[l].isActive===u)return Promise.resolve();t.variantChildren?.forEach(h=>h.animationState?.setActive(l,u)),n[l].isActive=u;const c=r(l);for(const h in n)n[h].protectedKeys={};return c}return{animateChanges:r,setActive:a,setAnimateFunction:o,getState:()=>n,reset:()=>{n=Bs()}}}function Ru(t,e){return typeof e=="string"?e!==t:Array.isArray(e)?!_r(e,t):!1}function it(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Bs(){return{animate:it(!0),whileInView:it(),whileHover:it(),whileTap:it(),whileDrag:it(),whileFocus:it(),exit:it()}}class st{constructor(e){this.isMounted=!1,this.node=e}update(){}}class Lu extends st{constructor(e){super(e),e.animationState||(e.animationState=Eu(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();Se(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:e}=this.node.getProps(),{animate:n}=this.node.prevProps||{};e!==n&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let ku=0;class Fu extends st{constructor(){super(...arguments),this.id=ku++}update(){if(!this.node.presenceContext)return;const{isPresent:e,onExitComplete:n}=this.node.presenceContext,{isPresent:s}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===s)return;const i=this.node.animationState.setActive("exit",!e);n&&!e&&i.then(()=>{n(this.id)})}mount(){const{register:e,onExitComplete:n}=this.node.presenceContext||{};n&&n(this.id),e&&(this.unmount=e(this.id))}unmount(){}}const Bu={animation:{Feature:Lu},exit:{Feature:Fu}};function zt(t,e,n,s={passive:!0}){return t.addEventListener(e,n,s),()=>t.removeEventListener(e,n)}function Yt(t){return{point:{x:t.pageX,y:t.pageY}}}const Iu=t=>e=>On(e)&&t(e,Yt(e));function Bt(t,e,n,s){return zt(t,e,Iu(n),s)}const Yr=1e-4,Ou=1-Yr,ju=1+Yr,qr=.01,Nu=0-qr,Wu=0+qr;function N(t){return t.max-t.min}function Uu(t,e,n){return Math.abs(t-e)<=n}function Is(t,e,n,s=.5){t.origin=s,t.originPoint=E(e.min,e.max,t.origin),t.scale=N(n)/N(e),t.translate=E(n.min,n.max,t.origin)-t.originPoint,(t.scale>=Ou&&t.scale<=ju||isNaN(t.scale))&&(t.scale=1),(t.translate>=Nu&&t.translate<=Wu||isNaN(t.translate))&&(t.translate=0)}function It(t,e,n,s){Is(t.x,e.x,n.x,s?s.originX:void 0),Is(t.y,e.y,n.y,s?s.originY:void 0)}function Os(t,e,n){t.min=n.min+e.min,t.max=t.min+N(e)}function Ku(t,e,n){Os(t.x,e.x,n.x),Os(t.y,e.y,n.y)}function js(t,e,n){t.min=e.min-n.min,t.max=t.min+N(e)}function Ot(t,e,n){js(t.x,e.x,n.x),js(t.y,e.y,n.y)}function $(t){return[t("x"),t("y")]}const Zr=({current:t})=>t?t.ownerDocument.defaultView:null,Ns=(t,e)=>Math.abs(t-e);function $u(t,e){const n=Ns(t.x,e.x),s=Ns(t.y,e.y);return Math.sqrt(n**2+s**2)}class Jr{constructor(e,n,{transformPagePoint:s,contextWindow:i=window,dragSnapToOrigin:o=!1,distanceThreshold:r=3}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const f=Ie(this.lastMoveEventInfo,this.history),d=this.startEvent!==null,m=$u(f.offset,{x:0,y:0})>=this.distanceThreshold;if(!d&&!m)return;const{point:g}=f,{timestamp:x}=O;this.history.push({...g,timestamp:x});const{onStart:p,onMove:y}=this.handlers;d||(p&&p(this.lastMoveEvent,f),this.startEvent=this.lastMoveEvent),y&&y(this.lastMoveEvent,f)},this.handlePointerMove=(f,d)=>{this.lastMoveEvent=f,this.lastMoveEventInfo=Be(d,this.transformPagePoint),M.update(this.updatePoint,!0)},this.handlePointerUp=(f,d)=>{this.end();const{onEnd:m,onSessionEnd:g,resumeAnimation:x}=this.handlers;if(this.dragSnapToOrigin&&x&&x(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const p=Ie(f.type==="pointercancel"?this.lastMoveEventInfo:Be(d,this.transformPagePoint),this.history);this.startEvent&&m&&m(f,p),g&&g(f,p)},!On(e))return;this.dragSnapToOrigin=o,this.handlers=n,this.transformPagePoint=s,this.distanceThreshold=r,this.contextWindow=i||window;const a=Yt(e),l=Be(a,this.transformPagePoint),{point:u}=l,{timestamp:c}=O;this.history=[{...u,timestamp:c}];const{onSessionStart:h}=n;h&&h(e,Ie(l,this.history)),this.removeListeners=Gt(Bt(this.contextWindow,"pointermove",this.handlePointerMove),Bt(this.contextWindow,"pointerup",this.handlePointerUp),Bt(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),X(this.updatePoint)}}function Be(t,e){return e?{point:e(t.point)}:t}function Ws(t,e){return{x:t.x-e.x,y:t.y-e.y}}function Ie({point:t},e){return{point:t,delta:Ws(t,Qr(e)),offset:Ws(t,Hu(e)),velocity:zu(e,.1)}}function Hu(t){return t[0]}function Qr(t){return t[t.length-1]}function zu(t,e){if(t.length<2)return{x:0,y:0};let n=t.length-1,s=null;const i=Qr(t);for(;n>=0&&(s=t[n],!(i.timestamp-s.timestamp>_(e)));)n--;if(!s)return{x:0,y:0};const o=H(i.timestamp-s.timestamp);if(o===0)return{x:0,y:0};const r={x:(i.x-s.x)/o,y:(i.y-s.y)/o};return r.x===1/0&&(r.x=0),r.y===1/0&&(r.y=0),r}function Gu(t,{min:e,max:n},s){return e!==void 0&&t<e?t=s?E(e,t,s.min):Math.max(t,e):n!==void 0&&t>n&&(t=s?E(n,t,s.max):Math.min(t,n)),t}function Us(t,e,n){return{min:e!==void 0?t.min+e:void 0,max:n!==void 0?t.max+n-(t.max-t.min):void 0}}function _u(t,{top:e,left:n,bottom:s,right:i}){return{x:Us(t.x,n,i),y:Us(t.y,e,s)}}function Ks(t,e){let n=e.min-t.min,s=e.max-t.max;return e.max-e.min<t.max-t.min&&([n,s]=[s,n]),{min:n,max:s}}function Xu(t,e){return{x:Ks(t.x,e.x),y:Ks(t.y,e.y)}}function Yu(t,e){let n=.5;const s=N(t),i=N(e);return i>s?n=ct(e.min,e.max-s,t.min):s>i&&(n=ct(t.min,t.max-i,e.min)),Z(0,1,n)}function qu(t,e){const n={};return e.min!==void 0&&(n.min=e.min-t.min),e.max!==void 0&&(n.max=e.max-t.min),n}const ln=.35;function Zu(t=ln){return t===!1?t=0:t===!0&&(t=ln),{x:$s(t,"left","right"),y:$s(t,"top","bottom")}}function $s(t,e,n){return{min:Hs(t,e),max:Hs(t,n)}}function Hs(t,e){return typeof t=="number"?t:t[e]||0}const Ju=new WeakMap;class Qu{constructor(e){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=L(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=e}start(e,{snapToCursor:n=!1,distanceThreshold:s}={}){const{presenceContext:i}=this.visualElement;if(i&&i.isPresent===!1)return;const o=h=>{const{dragSnapToOrigin:f}=this.getProps();f?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(Yt(h).point)},r=(h,f)=>{const{drag:d,dragPropagation:m,onDragStart:g}=this.getProps();if(d&&!m&&(this.openDragLock&&this.openDragLock(),this.openDragLock=el(d),!this.openDragLock))return;this.latestPointerEvent=h,this.latestPanInfo=f,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),$(p=>{let y=this.getAxisMotionValue(p).get()||0;if(q.test(y)){const{projection:v}=this.visualElement;if(v&&v.layout){const w=v.layout.layoutBox[p];w&&(y=N(w)*(parseFloat(y)/100))}}this.originPoint[p]=y}),g&&M.postRender(()=>g(h,f)),on(this.visualElement,"transform");const{animationState:x}=this.visualElement;x&&x.setActive("whileDrag",!0)},a=(h,f)=>{this.latestPointerEvent=h,this.latestPanInfo=f;const{dragPropagation:d,dragDirectionLock:m,onDirectionLock:g,onDrag:x}=this.getProps();if(!d&&!this.openDragLock)return;const{offset:p}=f;if(m&&this.currentDirection===null){this.currentDirection=tc(p),this.currentDirection!==null&&g&&g(this.currentDirection);return}this.updateAxis("x",f.point,p),this.updateAxis("y",f.point,p),this.visualElement.render(),x&&x(h,f)},l=(h,f)=>{this.latestPointerEvent=h,this.latestPanInfo=f,this.stop(h,f),this.latestPointerEvent=null,this.latestPanInfo=null},u=()=>$(h=>this.getAnimationState(h)==="paused"&&this.getAxisMotionValue(h).animation?.play()),{dragSnapToOrigin:c}=this.getProps();this.panSession=new Jr(e,{onSessionStart:o,onStart:r,onMove:a,onSessionEnd:l,resumeAnimation:u},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:c,distanceThreshold:s,contextWindow:Zr(this.visualElement)})}stop(e,n){const s=e||this.latestPointerEvent,i=n||this.latestPanInfo,o=this.isDragging;if(this.cancel(),!o||!i||!s)return;const{velocity:r}=i;this.startAnimation(r);const{onDragEnd:a}=this.getProps();a&&M.postRender(()=>a(s,i))}cancel(){this.isDragging=!1;const{projection:e,animationState:n}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:s}=this.getProps();!s&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(e,n,s){const{drag:i}=this.getProps();if(!s||!ne(e,i,this.currentDirection))return;const o=this.getAxisMotionValue(e);let r=this.originPoint[e]+s[e];this.constraints&&this.constraints[e]&&(r=Gu(r,this.constraints[e],this.elastic[e])),o.set(r)}resolveConstraints(){const{dragConstraints:e,dragElastic:n}=this.getProps(),s=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,i=this.constraints;e&&pt(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&s?this.constraints=_u(s.layoutBox,e):this.constraints=!1,this.elastic=Zu(n),i!==this.constraints&&s&&this.constraints&&!this.hasMutatedConstraints&&$(o=>{this.constraints!==!1&&this.getAxisMotionValue(o)&&(this.constraints[o]=qu(s.layoutBox[o],this.constraints[o]))})}resolveRefConstraints(){const{dragConstraints:e,onMeasureDragConstraints:n}=this.getProps();if(!e||!pt(e))return!1;const s=e.current,{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const o=ou(s,i.root,this.visualElement.getTransformPagePoint());let r=Xu(i.layout.layoutBox,o);if(n){const a=n(su(r));this.hasMutatedConstraints=!!a,a&&(r=Fr(a))}return r}startAnimation(e){const{drag:n,dragMomentum:s,dragElastic:i,dragTransition:o,dragSnapToOrigin:r,onDragTransitionEnd:a}=this.getProps(),l=this.constraints||{},u=$(c=>{if(!ne(c,n,this.currentDirection))return;let h=l&&l[c]||{};r&&(h={min:0,max:0});const f=i?200:1e6,d=i?40:1e7,m={type:"inertia",velocity:s?e[c]:0,bounceStiffness:f,bounceDamping:d,timeConstant:750,restDelta:1,restSpeed:10,...o,...h};return this.startAxisValueAnimation(c,m)});return Promise.all(u).then(a)}startAxisValueAnimation(e,n){const s=this.getAxisMotionValue(e);return on(this.visualElement,e),s.start(_n(e,s,0,n,this.visualElement,!1))}stopAnimation(){$(e=>this.getAxisMotionValue(e).stop())}pauseAnimation(){$(e=>this.getAxisMotionValue(e).animation?.pause())}getAnimationState(e){return this.getAxisMotionValue(e).animation?.state}getAxisMotionValue(e){const n=`_drag${e.toUpperCase()}`,s=this.visualElement.getProps(),i=s[n];return i||this.visualElement.getValue(e,(s.initial?s.initial[e]:void 0)||0)}snapToCursor(e){$(n=>{const{drag:s}=this.getProps();if(!ne(n,s,this.currentDirection))return;const{projection:i}=this.visualElement,o=this.getAxisMotionValue(n);if(i&&i.layout){const{min:r,max:a}=i.layout.layoutBox[n];o.set(e[n]-E(r,a,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:n}=this.getProps(),{projection:s}=this.visualElement;if(!pt(n)||!s||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};$(r=>{const a=this.getAxisMotionValue(r);if(a&&this.constraints!==!1){const l=a.get();i[r]=Yu({min:l,max:l},this.constraints[r])}});const{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",s.root&&s.root.updateScroll(),s.updateLayout(),this.resolveConstraints(),$(r=>{if(!ne(r,e,null))return;const a=this.getAxisMotionValue(r),{min:l,max:u}=this.constraints[r];a.set(E(l,u,i[r]))})}addListeners(){if(!this.visualElement.current)return;Ju.set(this.visualElement,this);const e=this.visualElement.current,n=Bt(e,"pointerdown",l=>{const{drag:u,dragListener:c=!0}=this.getProps();u&&c&&this.start(l)}),s=()=>{const{dragConstraints:l}=this.getProps();pt(l)&&l.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,o=i.addEventListener("measure",s);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),M.read(s);const r=zt(window,"resize",()=>this.scalePositionWithinConstraints()),a=i.addEventListener("didUpdate",(({delta:l,hasLayoutChanged:u})=>{this.isDragging&&u&&($(c=>{const h=this.getAxisMotionValue(c);h&&(this.originPoint[c]+=l[c].translate,h.set(h.get()+l[c].translate))}),this.visualElement.render())}));return()=>{r(),n(),o(),a&&a()}}getProps(){const e=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:s=!1,dragPropagation:i=!1,dragConstraints:o=!1,dragElastic:r=ln,dragMomentum:a=!0}=e;return{...e,drag:n,dragDirectionLock:s,dragPropagation:i,dragConstraints:o,dragElastic:r,dragMomentum:a}}}function ne(t,e,n){return(e===!0||e===t)&&(n===null||n===t)}function tc(t,e=10){let n=null;return Math.abs(t.y)>e?n="y":Math.abs(t.x)>e&&(n="x"),n}class ec extends st{constructor(e){super(e),this.removeGroupControls=U,this.removeListeners=U,this.controls=new Qu(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||U}unmount(){this.removeGroupControls(),this.removeListeners()}}const zs=t=>(e,n)=>{t&&M.postRender(()=>t(e,n))};class nc extends st{constructor(){super(...arguments),this.removePointerDownListener=U}onPointerDown(e){this.session=new Jr(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Zr(this.node)})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:n,onPan:s,onPanEnd:i}=this.node.getProps();return{onSessionStart:zs(e),onStart:zs(n),onMove:s,onEnd:(o,r)=>{delete this.session,i&&M.postRender(()=>i(o,r))}}}mount(){this.removePointerDownListener=Bt(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const ce={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Gs(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}const Dt={correct:(t,e)=>{if(!e.target)return t;if(typeof t=="string")if(A.test(t))t=parseFloat(t);else return t;const n=Gs(t,e.target.x),s=Gs(t,e.target.y);return`${n}% ${s}%`}},sc={correct:(t,{treeScale:e,projectionDelta:n})=>{const s=t,i=nt.parse(t);if(i.length>5)return s;const o=nt.createTransformer(t),r=typeof i[0]!="number"?1:0,a=n.x.scale*e.x,l=n.y.scale*e.y;i[0+r]/=a,i[1+r]/=l;const u=E(a,l,.5);return typeof i[2+r]=="number"&&(i[2+r]/=u),typeof i[3+r]=="number"&&(i[3+r]/=u),o(i)}};let Oe=!1;class ic extends T.Component{componentDidMount(){const{visualElement:e,layoutGroup:n,switchLayoutGroup:s,layoutId:i}=this.props,{projection:o}=e;Rl(rc),o&&(n.group&&n.group.add(o),s&&s.register&&i&&s.register(o),Oe&&o.root.didUpdate(),o.addEventListener("animationComplete",()=>{this.safeToRemove()}),o.setOptions({...o.options,onExitComplete:()=>this.safeToRemove()})),ce.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:n,visualElement:s,drag:i,isPresent:o}=this.props,{projection:r}=s;return r&&(r.isPresent=o,Oe=!0,i||e.layoutDependency!==n||n===void 0||e.isPresent!==o?r.willUpdate():this.safeToRemove(),e.isPresent!==o&&(o?r.promote():r.relegate()||M.postRender(()=>{const a=r.getStack();(!a||!a.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),In.postRender(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:e,layoutGroup:n,switchLayoutGroup:s}=this.props,{projection:i}=e;Oe=!0,i&&(i.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(i),s&&s.deregister&&s.deregister(i))}safeToRemove(){const{safeToRemove:e}=this.props;e&&e()}render(){return null}}function to(t){const[e,n]=Tr(),s=T.useContext(hn);return Q.jsx(ic,{...t,layoutGroup:s,switchLayoutGroup:T.useContext(Lr),isPresent:e,safeToRemove:n})}const rc={borderRadius:{...Dt,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Dt,borderTopRightRadius:Dt,borderBottomLeftRadius:Dt,borderBottomRightRadius:Dt,boxShadow:sc};function eo(t,e,n){const s=j(t)?t:G(t);return s.start(_n("",s,e,n)),s.animation}const oc=(t,e)=>t.depth-e.depth;class ac{constructor(){this.children=[],this.isDirty=!1}add(e){dn(this.children,e),this.isDirty=!0}remove(e){ve(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(oc),this.isDirty=!1,this.children.forEac
vendor: 5,053 bytes, line 17
17h(e)}}function lc(t,e){const n=W.now(),s=({timestamp:i})=>{const o=i-n;o>=e&&(X(s),t(o-e))};return M.setup(s,!0),()=>X(s)}const no=["TopLeft","TopRight","BottomLeft","BottomRight"],uc=no.length,_s=t=>typeof t=="string"?parseFloat(t):t,Xs=t=>typeof t=="number"||A.test(t);function cc(t,e,n,s,i,o){i?(t.opacity=E(0,n.opacity??1,hc(s)),t.opacityExit=E(e.opacity??1,0,fc(s))):o&&(t.opacity=E(e.opacity??1,n.opacity??1,s));for(let r=0;r<uc;r++){const a=`border${no[r]}Radius`;let l=Ys(e,a),u=Ys(n,a);if(l===void 0&&u===void 0)continue;l||(l=0),u||(u=0),l===0||u===0||Xs(l)===Xs(u)?(t[a]=Math.max(E(_s(l),_s(u),s),0),(q.test(u)||q.test(l))&&(t[a]+="%")):t[a]=u}(e.rotate||n.rotate)&&(t.rotate=E(e.rotate||0,n.rotate||0,s))}function Ys(t,e){return t[e]!==void 0?t[e]:t.borderRadius}const hc=so(0,.5,Bi),fc=so(.5,.95,U);function so(t,e,n){return s=>s<t?0:s>e?1:n(ct(t,e,s))}function qs(t,e){t.min=e.min,t.max=e.max}function K(t,e){qs(t.x,e.x),qs(t.y,e.y)}function Zs(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}function Js(t,e,n,s,i){return t-=e,t=me(t,1/n,s),i!==void 0&&(t=me(t,1/i,s)),t}function dc(t,e=0,n=1,s=.5,i,o=t,r=t){if(q.test(e)&&(e=parseFloat(e),e=E(r.min,r.max,e/100)-r.min),typeof e!="number")return;let a=E(o.min,o.max,s);t===o&&(a-=e),t.min=Js(t.min,e,n,a,i),t.max=Js(t.max,e,n,a,i)}function Qs(t,e,[n,s,i],o,r){dc(t,e[n],e[s],e[i],e.scale,o,r)}const mc=["x","scaleX","originX"],pc=["y","scaleY","originY"];function ti(t,e,n,s){Qs(t.x,e,mc,n?n.x:void 0,s?s.x:void 0),Qs(t.y,e,pc,n?n.y:void 0,s?s.y:void 0)}function ei(t){return t.translate===0&&t.scale===1}function io(t){return ei(t.x)&&ei(t.y)}function ni(t,e){return t.min===e.min&&t.max===e.max}function gc(t,e){return ni(t.x,e.x)&&ni(t.y,e.y)}function si(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function ro(t,e){return si(t.x,e.x)&&si(t.y,e.y)}function ii(t){return N(t.x)/N(t.y)}function ri(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class yc{constructor(){this.members=[]}add(e){dn(this.members,e),e.scheduleRender()}remove(e){if(ve(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(e){const n=this.members.findIndex(i=>e===i);if(n===0)return!1;let s;for(let i=n;i>=0;i--){const o=this.members[i];if(o.isPresent!==!1){s=o;break}}return s?(this.promote(s),!0):!1}promote(e,n){const s=this.lead;if(e!==s&&(this.prevLead=s,this.lead=e,e.show(),s)){s.instance&&s.scheduleRender(),e.scheduleRender(),e.resumeFrom=s,n&&(e.resumeFrom.preserveOpacity=!0),s.snapshot&&(e.snapshot=s.snapshot,e.snapshot.latestValues=s.animationValues||s.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);const{crossfade:i}=e.options;i===!1&&s.hide()}}exitAnimationComplete(){this.members.forEach(e=>{const{options:n,resumingFrom:s}=e;n.onExitComplete&&n.onExitComplete(),s&&s.options.onExitComplete&&s.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function vc(t,e,n){let s="";const i=t.x.translate/e.x,o=t.y.translate/e.y,r=n?.z||0;if((i||o||r)&&(s=`translate3d(${i}px, ${o}px, ${r}px) `),(e.x!==1||e.y!==1)&&(s+=`scale(${1/e.x}, ${1/e.y}) `),n){const{transformPerspective:u,rotate:c,rotateX:h,rotateY:f,skewX:d,skewY:m}=n;u&&(s=`perspective(${u}px) ${s}`),c&&(s+=`rotate(${c}deg) `),h&&(s+=`rotateX(${h}deg) `),f&&(s+=`rotateY(${f}deg) `),d&&(s+=`skewX(${d}deg) `),m&&(s+=`skewY(${m}deg) `)}const a=t.x.scale*e.x,l=t.y.scale*e.y;return(a!==1||l!==1)&&(s+=`scale(${a}, ${l})`),s||"none"}const je=["","X","Y","Z"],xc=1e3;let Tc=0;function Ne(t,e,n,s){const{latestValues:i}=e;i[t]&&(n[t]=i[t],e.setStaticValue(t,0),s&&(s[t]=0))}function oo(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;const{visualElement:e}=t.options;if(!e)return;const n=zr(e);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:i,layoutId:o}=t.options;window.MotionCancelOptimisedAnimation(n,"transform",M,!(i||o))}const{parent:s}=t;s&&!s.hasCheckedOptimisedAppear&&oo(s)}function ao({attachResizeListener:t,defaultParent:e,measureScroll:n,checkIsScrollRoot:s,resetTransform:i}){return class{constructor(r={},a=e?.()){this.id=Tc++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>
vendor: 8,463 bytes, line 17
17{this.projectionUpdateScheduled=!1,this.nodes.forEach(Ac),this.nodes.forEach(Cc),this.nodes.forEach(Mc),this.nodes.forEach(wc)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=r,this.root=a?a.root||a:this,this.path=a?[...a.path,a]:[],this.parent=a,this.depth=a?a.depth+1:0;for(let l=0;l<this.path.length;l++)this.path[l].shouldResetTransform=!0;this.root===this&&(this.nodes=new ac)}addEventListener(r,a){return this.eventHandlers.has(r)||this.eventHandlers.set(r,new pn),this.eventHandlers.get(r).add(a)}notifyListeners(r,...a){const l=this.eventHandlers.get(r);l&&l.notify(...a)}hasListeners(r){return this.eventHandlers.has(r)}mount(r){if(this.instance)return;this.isSVG=xe(r)&&!xr(r),this.instance=r;const{layoutId:a,layout:l,visualElement:u}=this.options;if(u&&!u.current&&u.mount(r),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(l||a)&&(this.isLayoutDirty=!0),t){let c,h=0;const f=()=>this.root.updateBlockedByResize=!1;M.read(()=>{h=window.innerWidth}),t(r,()=>{const d=window.innerWidth;d!==h&&(h=d,this.root.updateBlockedByResize=!0,c&&c(),c=lc(f,250),ce.hasAnimatedSinceResize&&(ce.hasAnimatedSinceResize=!1,this.nodes.forEach(li)))})}a&&this.root.registerSharedNode(a,this),this.options.animate!==!1&&u&&(a||l)&&this.addEventListener("didUpdate",({delta:c,hasLayoutChanged:h,hasRelativeLayoutChanged:f,layout:d})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const m=this.options.transition||u.getDefaultTransition()||kc,{onLayoutAnimationStart:g,onLayoutAnimationComplete:x}=u.getProps(),p=!this.targetLayout||!ro(this.targetLayout,d),y=!h&&f;if(this.options.layoutRoot||this.resumeFrom||y||h&&(p||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const v={...Ln(m,"layout"),onPlay:g,onComplete:x};(u.shouldReduceMotion||this.options.layoutRoot)&&(v.delay=0,v.type=!1),this.startAnimation(v),this.setAnimationOrigin(c,y)}else h||li(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=d})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const r=this.getStack();r&&r.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),X(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(Dc),this.animationId++)}getTransformTemplate(){const{visualElement:r}=this.options;return r&&r.getProps().transformTemplate}willUpdate(r=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&oo(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let c=0;c<this.path.length;c++){const h=this.path[c];h.shouldResetTransform=!0,h.updateScroll("snapshot"),h.options.layoutRoot&&h.willUpdate(!1)}const{layoutId:a,layout:l}=this.options;if(a===void 0&&!l)return;const u=this.getTransformTemplate();this.prevTransformTemplateValue=u?u(this.latestValues,""):void 0,this.updateSnapshot(),r&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(oi);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(ai);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(Vc),this.nodes.forEach(Pc),this.nodes.forEach(Sc)):this.nodes.forEach(ai),this.clearAllSnapshots();const a=W.now();O.delta=Z(0,1e3/60,a-O.timestamp),O.timestamp=a,O.isProcessing=!0,Ce.update.process(O),Ce.preRender.process(O),Ce.render.process(O),O.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,In.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(bc),this.sharedNodes.forEach(Ec)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,M.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){M.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!N(this.snapshot.measuredBox.x)&&!N(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let l=0;l<this.path.length;l++)this.path[l].updateScroll();const r=this.layout;this.layout=this.measure(!1),this.layoutCorrected=L(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:a}=this.options;a&&a.notify("LayoutMeasure",this.layout.layoutBox,r?r.layoutBox:void 0)}updateScroll(r="measure"){let a=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===r&&(a=!1),a&&this.instance){const l=s(this.instance);this.scroll={animationId:this.root.animationId,phase:r,isRoot:l,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:l}}}resetTransform(){if(!i)return;const r=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,a=this.projectionDelta&&!io(this.projectionDelta),l=this.getTransformTemplate(),u=l?l(this.latestValues,""):void 0,c=u!==this.prevTransformTemplateValue;r&&this.instance&&(a||rt(this.latestValues)||c)&&(i(this.instance,u),this.shouldResetTransform=!1,this.scheduleRender())}measure(r=!0){const a=this.measurePageBox();let l=this.removeElementScroll(a);return r&&(l=this.removeTransform(l)),Fc(l),{animationId:this.root.animationId,measuredBox:a,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:r}=this.options;if(!r)return L();const a=r.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(Bc))){const{scroll:u}=this.root;u&&(gt(a.x,u.offset.x),gt(a.y,u.offset.y))}return a}removeElementScroll(r){const a=L();if(K(a,r),this.scroll?.wasRoot)return a;for(let l=0;l<this.path.length;l++){const u=this.path[l],{scroll:c,options:h}=u;u!==this.root&&c&&h.layoutScroll&&(c.wasRoot&&K(a,r),gt(a.x,c.offset.x),gt(a.y,c.offset.y))}return a}applyTransform(r,a=!1){const l=L();K(l,r);for(let u=0;u<this.path.length;u++){const c=this.path[u];!a&&c.options.layoutScroll&&c.scroll&&c!==c.root&&yt(l,{x:-c.scroll.offset.x,y:-c.scroll.offset.y}),rt(c.latestValues)&&yt(l,c.latestValues)}return rt(this.latestValues)&&yt(l,this.latestValues),l}removeTransform(r){const a=L();K(a,r);for(let l=0;l<this.path.length;l++){const u=this.path[l];if(!u.instance||!rt(u.latestValues))continue;nn(u.latestValues)&&u.updateSnapshot();const c=L(),h=u.measurePageBox();K(c,h),ti(a,u.latestValues,u.snapshot?u.snapshot.layoutBox:void 0,c)}return rt(this.latestValues)&&ti(a,this.latestValues),a}setTargetDelta(r){this.targetDelta=r,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(r){this.options={...this.options,...r,crossfade:r.crossfade!==void 0?r.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==O.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(r=!1){const a=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=a.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=a.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=a.isSharedProjectionDirty);const l=!!this.resumingFrom||this!==a;if(!(r||l&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:c,layoutId:h}=this.options;
vendor: 6,593 bytes, line 17
17if(!(!this.layout||!(c||h))){if(this.resolvedRelativeTargetAt=O.timestamp,!this.targetDelta&&!this.relativeTarget){const f=this.getClosestProjectingParent();f&&f.layout&&this.animationProgress!==1?(this.relativeParent=f,this.forceRelativeParentToResolveTarget(),this.relativeTarget=L(),this.relativeTargetOrigin=L(),Ot(this.relativeTargetOrigin,this.layout.layoutBox,f.layout.layoutBox),K(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=L(),this.targetWithTransforms=L()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),Ku(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):K(this.target,this.layout.layoutBox),Ir(this.target,this.targetDelta)):K(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget)){this.attemptToResolveRelativeTarget=!1;const f=this.getClosestProjectingParent();f&&!!f.resumingFrom==!!this.resumingFrom&&!f.options.layoutScroll&&f.target&&this.animationProgress!==1?(this.relativeParent=f,this.forceRelativeParentToResolveTarget(),this.relativeTarget=L(),this.relativeTargetOrigin=L(),Ot(this.relativeTargetOrigin,this.target,f.target),K(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}}}getClosestProjectingParent(){if(!(!this.parent||nn(this.parent.latestValues)||Br(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){const r=this.getLead(),a=!!this.resumingFrom||this!==r;let l=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(l=!1),a&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(l=!1),this.resolvedRelativeTargetAt===O.timestamp&&(l=!1),l)return;const{layout:u,layoutId:c}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(u||c))return;K(this.layoutCorrected,this.layout.layoutBox);const h=this.treeScale.x,f=this.treeScale.y;ru(this.layoutCorrected,this.treeScale,this.path,a),r.layout&&!r.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(r.target=r.layout.layoutBox,r.targetWithTransforms=L());const{target:d}=r;if(!d){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Zs(this.prevProjectionDelta.x,this.projectionDelta.x),Zs(this.prevProjectionDelta.y,this.projectionDelta.y)),It(this.projectionDelta,this.layoutCorrected,d,this.latestValues),(this.treeScale.x!==h||this.treeScale.y!==f||!ri(this.projectionDelta.x,this.prevProjectionDelta.x)||!ri(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",d))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(r=!0){if(this.options.visualElement?.scheduleRender(),r){const a=this.getStack();a&&a.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=vt(),this.projectionDelta=vt(),this.projectionDeltaWithTransform=vt()}setAnimationOrigin(r,a=!1){const l=this.snapshot,u=l?l.latestValues:{},c={...this.latestValues},h=vt();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!a;const f=L(),d=l?l.source:void 0,m=this.layout?this.layout.source:void 0,g=d!==m,x=this.getStack(),p=!x||x.members.length<=1,y=!!(g&&!p&&this.options.crossfade===!0&&!this.path.some(Lc));this.animationProgress=0;let v;this.mixTargetDelta=w=>{const P=w/1e3;ui(h.x,r.x,P),ui(h.y,r.y,P),this.setTargetDelta(h),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Ot(f,this.layout.layoutBox,this.relativeParent.layout.layoutBox),Rc(this.relativeTarget,this.relativeTargetOrigin,f,P),v&&gc(this.relativeTarget,v)&&(this.isProjectionDirty=!1),v||(v=L()),K(v,this.relativeTarget)),g&&(this.animationValues=c,cc(c,u,this.latestValues,P,y,p)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=P},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(r){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(X(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=M.update(()=>{ce.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=G(0)),this.currentAnimation=eo(this.motionValue,[0,1e3],{...r,velocity:0,isSync:!0,onUpdate:a=>{this.mixTargetDelta(a),r.onUpdate&&r.onUpdate(a)},onStop:()=>{},onComplete:()=>{r.onComplete&&r.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const r=this.getStack();r&&r.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(xc),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const r=this.getLead();let{targetWithTransforms:a,target:l,layout:u,latestValues:c}=r;if(!(!a||!l||!u)){if(this!==r&&this.layout&&u&&lo(this.options.animationType,this.layout.layoutBox,u.layoutBox)){l=this.target||L();const h=N(this.layout.layoutBox.x);l.x.min=r.target.x.min,l.x.max=l.x.min+h;const f=N(this.layout.layoutBox.y);l.y.min=r.target.y.min,l.y.max=l.y.min+f}K(a,l),yt(a,c),It(this.projectionDeltaWithTransform,this.layoutCorrected,a,c)}}registerSharedNode(r,a){this.sharedNodes.has(r)||this.sharedNodes.set(r,new yc),this.sharedNodes.get(r).add(a);const u=a.options.initialPromotionConfig;a.promote({transition:u?u.transition:void 0,preserveFollowOpacity:u&&u.shouldPreserveFollowOpacity?u.shouldPreserveFollowOpacity(a):void 0})}isLead(){const r=this.getStack();return r?r.lead===this:!0}getLead(){const{layoutId:r}=this.options;
vendor: 4,577 bytes, line 17
17return r?this.getStack()?.lead||this:this}getPrevLead(){const{layoutId:r}=this.options;return r?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:r}=this.options;if(r)return this.root.sharedNodes.get(r)}promote({needsReset:r,transition:a,preserveFollowOpacity:l}={}){const u=this.getStack();u&&u.promote(this,l),r&&(this.projectionDelta=void 0,this.needsReset=!0),a&&this.setOptions({transition:a})}relegate(){const r=this.getStack();return r?r.relegate(this):!1}resetSkewAndRotation(){const{visualElement:r}=this.options;if(!r)return;let a=!1;const{latestValues:l}=r;if((l.z||l.rotate||l.rotateX||l.rotateY||l.rotateZ||l.skewX||l.skewY)&&(a=!0),!a)return;const u={};l.z&&Ne("z",r,u,this.animationValues);for(let c=0;c<je.length;c++)Ne(`rotate${je[c]}`,r,u,this.animationValues),Ne(`skew${je[c]}`,r,u,this.animationValues);r.render();for(const c in u)r.setStaticValue(c,u[c]),this.animationValues&&(this.animationValues[c]=u[c]);r.scheduleRender()}applyProjectionStyles(r,a){if(!this.instance||this.isSVG)return;if(!this.isVisible){r.visibility="hidden";return}const l=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,r.visibility="",r.opacity="",r.pointerEvents=ue(a?.pointerEvents)||"",r.transform=l?l(this.latestValues,""):"none";return}const u=this.getLead();if(!this.projectionDelta||!this.layout||!u.target){this.options.layoutId&&(r.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,r.pointerEvents=ue(a?.pointerEvents)||""),this.hasProjected&&!rt(this.latestValues)&&(r.transform=l?l({},""):"none",this.hasProjected=!1);return}r.visibility="";const c=u.animationValues||u.latestValues;this.applyTransformsToTarget();let h=vc(this.projectionDeltaWithTransform,this.treeScale,c);l&&(h=l(c,h)),r.transform=h;const{x:f,y:d}=this.projectionDelta;r.transformOrigin=`${f.origin*100}% ${d.origin*100}% 0`,u.animationValues?r.opacity=u===this?c.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:c.opacityExit:r.opacity=u===this?c.opacity!==void 0?c.opacity:"":c.opacityExit!==void 0?c.opacityExit:0;for(const m in $t){if(c[m]===void 0)continue;const{correct:g,applyTo:x,isCSSVariable:p}=$t[m],y=h==="none"?c[m]:g(c[m],u);if(x){const v=x.length;for(let w=0;w<v;w++)r[x[w]]=y}else p?this.options.visualElement.renderState.vars[m]=y:r[m]=y}this.options.layoutId&&(r.pointerEvents=u===this?ue(a?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(r=>r.currentAnimation?.stop()),this.root.nodes.forEach(oi),this.root.sharedNodes.clear()}}}function Pc(t){t.updateLayout()}function Sc(t){const e=t.resumeFrom?.snapshot||t.snapshot;if(t.isLead()&&t.layout&&e&&t.hasListeners("didUpdate")){const{layoutBox:n,measuredBox:s}=t.layout,{animationType:i}=t.options,o=e.source!==t.layout.source;i==="size"?$(c=>{const h=o?e.measuredBox[c]:e.layoutBox[c],f=N(h);h.min=n[c].min,h.max=h.min+f}):lo(i,e.layoutBox,n)&&$(c=>{const h=o?e.measuredBox[c]:e.layoutBox[c],f=N(n[c]);h.max=h.min+f,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[c].max=t.relativeTarget[c].min+f)});const r=vt();It(r,n,e.layoutBox);const a=vt();o?It(a,t.applyTransform(s,!0),e.measuredBox):It(a,n,e.layoutBox);const l=!io(r);let u=!1;if(!t.resumeFrom){const c=t.getClosestProjectingParent();if(c&&!c.resumeFrom){const{snapshot:h,layout:f}=c;if(h&&f){const d=L();Ot(d,e.layoutBox,h.layoutBox);const m=L();Ot(m,n,f.layoutBox),ro(d,m)||(u=!0),c.options.layoutRoot&&(t.relativeTarget=m,t.relativeTargetOrigin=d,t.relativeParent=c)}}}t.notifyListeners("didUpdate",{layout:n,snapshot:e,delta:a,layoutDelta:r,hasLayoutChanged:l,hasRelativeLayoutChanged:u})}else if(t.isLead()){const{onExitComplete:n}=t.options;n&&n()}t.options.transition=void 0}function Ac(t){t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function wc(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function bc(t){t.clearSnapshot()}function oi(t){t.clearMeasurements()}function ai(t){t.isLayoutDirty=!1}function Vc(t){const{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function li(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function Cc(t){t.resolveTargetDelta()}function Mc(t){t.calcProjection()}
vendor: 4,077 bytes, line 17
17function Dc(t){t.resetSkewAndRotation()}function Ec(t){t.removeLeadSnapshot()}function ui(t,e,n){t.translate=E(e.translate,0,n),t.scale=E(e.scale,1,n),t.origin=e.origin,t.originPoint=e.originPoint}function ci(t,e,n,s){t.min=E(e.min,n.min,s),t.max=E(e.max,n.max,s)}function Rc(t,e,n,s){ci(t.x,e.x,n.x,s),ci(t.y,e.y,n.y,s)}function Lc(t){return t.animationValues&&t.animationValues.opacityExit!==void 0}const kc={duration:.45,ease:[.4,0,.1,1]},hi=t=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),fi=hi("applewebkit/")&&!hi("chrome/")?Math.round:U;function di(t){t.min=fi(t.min),t.max=fi(t.max)}function Fc(t){di(t.x),di(t.y)}function lo(t,e,n){return t==="position"||t==="preserve-aspect"&&!Uu(ii(e),ii(n),.2)}function Bc(t){return t!==t.root&&t.scroll?.wasRoot}const Ic=ao({attachResizeListener:(t,e)=>zt(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),We={current:void 0},uo=ao({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!We.current){const t=new Ic({});t.mount(window),t.setOptions({layoutScroll:!0}),We.current=t}return We.current},resetTransform:(t,e)=>{t.style.transform=e!==void 0?e:"none"},checkIsScrollRoot:t=>window.getComputedStyle(t).position==="fixed"}),Oc={pan:{Feature:nc},drag:{Feature:ec,ProjectionNode:uo,MeasureLayout:to}};function mi(t,e,n){const{props:s}=t;t.animationState&&s.whileHover&&t.animationState.setActive("whileHover",n==="Start");const i="onHover"+n,o=s[i];o&&M.postRender(()=>o(e,Yt(e)))}class jc extends st{mount(){const{current:e}=this.node;e&&(this.unmount=nl(e,(n,s)=>(mi(this.node,s,"Start"),i=>mi(this.node,i,"End"))))}unmount(){}}class Nc extends st{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch{e=!0}!e||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Gt(zt(this.node.current,"focus",()=>this.onFocus()),zt(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function pi(t,e,n){const{props:s}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&s.whileTap&&t.animationState.setActive("whileTap",n==="Start");const i="onTap"+(n==="End"?"":n),o=s[i];o&&M.postRender(()=>o(e,Yt(e)))}class Wc extends st{mount(){const{current:e}=this.node;e&&(this.unmount=ol(e,(n,s)=>(pi(this.node,s,"Start"),(i,{success:o})=>pi(this.node,i,o?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const un=new WeakMap,Ue=new WeakMap,Uc=t=>{const e=un.get(t.target);e&&e(t)},Kc=t=>{t.forEach(Uc)};function $c({root:t,...e}){const n=t||document;Ue.has(n)||Ue.set(n,{});const s=Ue.get(n),i=JSON.stringify(e);return s[i]||(s[i]=new IntersectionObserver(Kc,{root:t,...e})),s[i]}function Hc(t,e,n){const s=$c(e);return un.set(t,n),s.observe(t),()=>{un.delete(t),s.unobserve(t)}}const zc={some:0,all:1};class Gc extends st{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:e={}}=this.node.getProps(),{root:n,margin:s,amount:i="some",once:o}=e,r={root:n?n.current:void 0,rootMargin:s,threshold:typeof i=="number"?i:zc[i]},a=l=>{const{isIntersecting:u}=l;if(this.isInView===u||(this.isInView=u,o&&!u&&this.hasEnteredView))return;u&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",u);const{onViewportEnter:c,onViewportLeave:h}=this.node.getProps(),f=u?c:h;f&&f(l)};return Hc(this.node.current,r,a)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:e,prevProps:n}=this.node;["amount","margin","root"].some(_c(e,n))&&this.startObserver()}unmount(){}}function _c({viewport:t={}},{viewport:e={}}={}){return n=>t[n]!==e[n]}const Xc={inView:{Feature:Gc}
17,tap:{Feature:Wc},focus:{Feature:Nc},hover:{Feature:jc}},Yc={layout:{ProjectionNode:uo,MeasureLayout:to}},qc={...Bu,...Xc,...Oc,...Yc},Wh=nu(qc,cu),Zc=50,gi=()=>({current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}),Jc=()=>({time:0,x:gi(),y:gi()}),Qc={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};function yi(t,e,n,s){const i=n[e],{length:o,position:r}=Qc[e],a=i.current,l=n.time;i.current=t[`scroll${r}`],i.scrollLength=t[`scroll${o}`]-t[`client${o}`],i.offset.length=0,i.offset[0]=0,i.offset[1]=i.scrollLength,i.progress=ct(0,i.scrollLength,i.current);const u=s-l;i.velocity=u>Zc?0:gn(i.current-a,u)}function th(t,e,n){yi(t,"x",e,n),yi(t,"y",e,n),e.time=n}function eh(t,e){const n={x:0,y:0};let s=t;for(;s&&s!==e;)if(Bn(s))n.x+=s.offsetLeft,n.y+=s.offsetTop,s=s.offsetParent;else if(s.tagName==="svg"){const i=s.getBoundingClientRect();s=s.parentElement;const o=s.getBoundingClientRect();n.x+=i.left-o.left,n.y+=i.top-o.top}else if(s instanceof SVGGraphicsElement){const{x:i,y:o}=s.getBBox();n.x+=i,n.y+=o;let r=null,a=s.parentNode;for(;!r;)a.tagName==="svg"&&(r=a),a=s.parentNode;s=r}else break;return n}const cn={start:0,center:.5,end:1};function vi(t,e,n=0){let s=0;if(t in cn&&(t=cn[t]),typeof t=="string"){const i=parseFloat(t);t.endsWith("px")?s=i:t.endsWith("%")?t=i/100:t.endsWith("vw")?s=i/100*document.documentElement.clientWidth:t.endsWith("vh")?s=i/100*document.documentElement.clientHeight:t=i}return typeof t=="number"&&(s=e*t),n+s}const nh=[0,0];function sh(t,e,n,s){let i=Array.isArray(t)?t:nh,o=0,r=0;return typeof t=="number"?i=[t,t]:typeof t=="string"&&(t=t.trim(),t.includes(" ")?i=t.split(" "):i=[t,cn[t]?t:"0"]),o=vi(i[0],n,s),r=vi(i[1],e),o-r}const ih={All:[[0,0],[1,1]]},rh={x:0,y:0};function oh(t){return"getBBox"in t&&t.tagName!=="svg"?t.getBBox():{width:t.clientWidth,height:t.clientHeight}}function ah(t,e,n){const{offset:s=ih.All}=n,{target:i=t,axis:o="y"}=n,r=o==="y"?"height":"width",a=i!==t?eh(i,t):rh,l=i===t?{width:t.scrollWidth,height:t.scrollHeight}:oh(i),u={width:t.clientWidth,height:t.clientHeight};e[o].offset.length=0;let c=!e[o].interpolate;const h=s.length;for(let f=0;f<h;f++){const d=sh(s[f],u[r],l[r],a[o]);!c&&d!==e[o].interpolatorOffsets[f]&&(c=!0),e[o].offset[f]=d}c&&(e[o].interpolate=bn(e[o].offset,Vn(s),{clamp:!1}),e[o].interpolatorOffsets=[...e[o].offset]),e[o].progress=Z(0,1,e[o].interpolate(e[o].current))}function lh(t,e=t,n){if(n.x.targetOffset=0,n.y.targetOffset=0,e!==t){let s=e;for(;s&&s!==t;)n.x.targetOffset+=s.offsetLeft,n.y.targetOffset+=s.offsetTop,s=s.offsetParent}n.x.targetLength=e===t?e.scrollWidth:e.clientWidth,n.y.targetLength=e===t?e.scrollHeight:e.clientHeight,n.x.containerLength=t.clientWidth,n.y.containerLength=t.clientHeight}function uh(t,e,n,s={}){return{measure:i=>{lh(t,s.target,n),th(t,n,i),(s.offset||s.target)&&ah(t,n,s)},notify:()=>e(n)}}const Et=new WeakMap,xi=new WeakMap,Ke=new WeakMap,Ti=t=>t===document.scrollingElement?window:t;function co(t,{container:e=document.scrollingElement,...n}={}){if(!e)return U;let s=Ke.get(e);s||(s=new Set,Ke.set(e,s));const i=Jc(),o=uh(e,t,i,n);if(s.add(o),!Et.has(e)){const a=()=>{for(const h of s)h.measure(O.timestamp);M.preUpdate(l)},l=()=>{for(const h of s)h.notify()},u=()=>M.read(a);Et.set(e,u);const c=Ti(e);window.addEventListener("resize",u,{passive:!0}),e!==document.documentElement&&xi.set(e,pl(e,u)),c.addEventListener("scroll",u,{passive:!0}),u()}const r=Et.get(e);return M.read(r,!1,!0),()=>{X(r);const a=Ke.get(e);if(!a||(a.delete(o),a.size))return;const l=Et.get(e);Et.delete(e),l&&(Ti(e).removeEventListener("scroll",l),xi.get(e)?.(),window.removeEventListener("resize",l))}}const Pi=new Map;function ch(t){const e={value:0},n=co(s=>{e.value=s[t.axis].progress*100},t);return{currentTime:e,cancel:n}}function ho({source:t,container:e,...n}){const{axis:s}=n;t&&(e=t);const i=Pi.get(e)??new Map;Pi.set(e,i);const o=n.target??"self",r=i.get(o)??{},a=s+(n.offset??[]).join(",");return r[a]||(r[a]=!n.target&&sr()?new ScrollTimeline({source:e,axis:s}):ch({container:e,...n})),r[a]}function hh(t,e){const n=ho(e);return t.attachTimeline({timeline:e.target?void 0:n,observe:s=>(s.pause(),vr(i=>{s.time=s.iterationDuration*i},n))})}function fh(t){return t.length===2}function dh(t,e){return fh(t)?co(n=>{t(n[e.axis].progress,n)},e):vr(t,ho(e))}function mh(t,{axis:e="y",container:n=document.scrollingElement,...s}={}){if(!n)return U;const i={axis:e,container:n,...s};return typeof t=="function"?dh(t,i):hh(t,i)}const ph=()=>({scrollX:G(0),scrollY:G(0),scrollXProgress:G(0),scrollYProgress:G(0)}),se=t=>t?!t.current:!1;function Uh({container:t,target:e,...n}={}){const s=Pt(ph),i=T.useRef(null),o=T.useRef(!1),r=T.useCallback(()=>(i.current=mh((a,{x:l,y:u})=>{s.scrollX.set(l.current),s.scrollXProgress.set(l.progress),s.scrollY.set(u.current),s.scrollYProgress.set(u.progress)}
vendor: 5,574 bytes, line 17
17,{...n,container:t?.current||void 0,target:e?.current||void 0}),()=>{i.current?.()}),[t,e,JSON.stringify(n.offset)]);return ge(()=>{if(o.current=!1,se(t)||se(e)){o.current=!0;return}else return r()},[r]),T.useEffect(()=>{if(o.current)return jt(!se(t)),jt(!se(e)),r()},[r]),s}function gh(t){const e=Pt(()=>G(t)),{isStatic:n}=T.useContext(Te);if(n){const[,s]=T.useState(t);T.useEffect(()=>e.on("change",s),[])}return e}function fo(t,e){const n=gh(e()),s=()=>n.set(e());return s(),ge(()=>{const i=()=>M.preRender(s,!1,!0),o=t.map(r=>r.on("change",i));return()=>{o.forEach(r=>r()),X(s)}}),n}function yh(t){Ft.current=[],t();const e=fo(Ft.current,t);return Ft.current=void 0,e}function Kh(t,e,n,s){if(typeof t=="function")return yh(t);const i=typeof e=="function"?e:gl(e,n,s);return Array.isArray(t)?Si(t,i):Si([t],([o])=>i(o))}function Si(t,e){const n=Pt(()=>[]);return fo(t,()=>{n.length=0;const s=t.length;for(let i=0;i<s;i++)n[i]=t[i].get();return e(n)})}function $h(){!Gn.current&&jr();const[t]=T.useState(pe.current);return t}function Yn(t){return typeof t=="object"&&!Array.isArray(t)}function mo(t,e,n,s){return typeof t=="string"&&Yn(e)?Fn(t,n,s):t instanceof NodeList?Array.from(t):Array.isArray(t)?t:[t]}function vh(t,e,n){return t*(e+1)}function Ai(t,e,n,s){return typeof e=="number"?e:e.startsWith("-")||e.startsWith("+")?Math.max(0,t+parseFloat(e)):e==="<"?n:e.startsWith("<")?Math.max(0,n+parseFloat(e.slice(1))):s.get(e)??t}function xh(t,e,n){for(let s=0;s<t.length;s++){const i=t[s];i.at>e&&i.at<n&&(ve(t,i),s--)}}function Th(t,e,n,s,i,o){xh(t,i,o);for(let r=0;r<e.length;r++)t.push({value:e[r],at:E(i,o,s[r]),easing:Ni(n,r)})}function Ph(t,e){for(let n=0;n<t.length;n++)t[n]=t[n]/(e+1)}function Sh(t,e){return t.at===e.at?t.value===null?1:e.value===null?-1:0:t.at-e.at}const Ah="easeInOut";function wh(t,{defaultTransition:e={},...n}={},s,i){const o=e.duration||.3,r=new Map,a=new Map,l={},u=new Map;let c=0,h=0,f=0;for(let d=0;d<t.length;d++){const m=t[d];if(typeof m=="string"){u.set(m,h);continue}else if(!Array.isArray(m)){u.set(m.name,Ai(h,m.at,c,u));continue}let[g,x,p={}]=m;p.at!==void 0&&(h=Ai(h,p.at,c,u));let y=0;const v=(w,P,b,V=0,S=0)=>{const C=bh(w),{delay:B=0,times:I=Vn(C),type:ht="keyframes",repeat:ft,repeatType:we,repeatDelay:be=0,...qn}=P;let{ease:D=e.ease||"easeOut",duration:R}=P;const Y=typeof B=="function"?B(V,S):B,J=C.length,qt=Rn(ht)?ht:i?.[ht||"keyframes"];if(J<=2&&qt){let bt=100;if(J===2&&Mh(C)){const Vt=C[1]-C[0];bt=Math.abs(Vt)}const Zt={...qn};R!==void 0&&(Zt.duration=_(R));const Jt=Zi(Zt,bt,qt);D=Jt.ease,R=Jt.duration}R??(R=o);const Zn=h+Y;I.length===1&&I[0]===0&&(I[1]=1);const Jn=I.length-C.length;if(Jn>0&&Qi(I,Jn),C.length===1&&C.unshift(null),ft){R=vh(R,ft);const bt=[...C],Zt=[...I];D=Array.isArray(D)?[...D]:[D];const Jt=[...D];for(let Vt=0;Vt<ft;Vt++){C.push(...bt);for(let Ct=0;Ct<bt.length;Ct++)I.push(Zt[Ct]+(Vt+1)),D.push(Ct===0?"linear":Ni(Jt,Ct-1))}Ph(I,ft)}const Qn=Zn+R;Th(b,C,D,I,Zn,Qn),y=Math.max(Y+R,y),f=Math.max(Qn,f)};if(j(g)){const w=wi(g,a);v(x,p,bi("default",w))}else{const w=mo(g,x,s,l),P=w.length;for(let b=0;b<P;b++){x=x,p=p;const V=w[b],S=wi(V,a);for(const C in x)v(x[C],Vh(p,C),bi(C,S),b,P)}}c=h,h+=y}return a.forEach((d,m)=>{for(const g in d){const x=d[g];x.sort(Sh);const p=[],y=[],v=[];for(let P=0;P<x.length;P++){const{at:b,value:V,easing:S}=x[P];p.push(V),y.push(ct(0,f,b)),v.push(S||"easeOut")}y[0]!==0&&(y.unshift(0),p.unshift(p[0]),v.unshift(Ah)),y[y.length-1]!==1&&(y.push(1),p.push(null)),r.has(m)||r.set(m,{keyframes:{},transition:{}});const w=r.get(m);w.keyframes[g]=p,w.transition[g]={...e,duration:f,ease:v,times:y,...n}}}),r}function wi(t,e){return!e.has(t)&&e.set(t,{}),e.get(t)}function bi(t,e){return e[t]||(e[t]=[]),e[t]}function bh(t){return Array.isArray(t)?t:[t]}function Vh(t,e){return t&&t[e]?{...t,...t[e]}:{...t}}const Ch=t=>typeof t=="number",Mh=t=>t.every(Ch);function Dh(t,e){return t in e}class Eh extends Nr{constructor(){super(...arguments),this.type="object"}readValueFromInstance(e,n){if(Dh(n,e)){const s=e[n];if(typeof s=="string"||typeof s=="number")return s}}getBaseTargetFromProps(){}removeValueFromRenderState(e,n){delete n.output[e]}measureInstanceViewportBox(){return L()}build(e,n){Object.assign(e.output,n)}renderInstance(e,{output:n}){Object.assign(e,n)}sortInstanceNodePosition(){return 0}}function Rh(t){const e={presenceContext:null,props:{},visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{}}},n=xe(t)&&!xr(t)?new Hr(e):new Kr(e);n.mount(t),Ht.set(t,n)}function Lh(t){const e={presenceContext:null,props:{},visualState:{renderState:{output:{}},latestValues:{}}},n=new Eh(e);n.mount(t),Ht.set(t,n)}function kh(t,e){return j(t)||typeof t=="number"||typeof t=="string"&&!Yn(e)}function po(t,e,n,s){const i=[];if(kh(t,e))i.push(eo(t,Yn(e)&&e.default||e,n&&(n.default||n)));else{const o=mo(t,e,s),r=o.length;for(let a=0;a<r;a++){const l=o[a],u=l instanceof Element?Rh:Lh;Ht.has(l)||u(l);const c=Ht.get(l),h={...n};"delay"in h&&typeof h.delay=="function"&&(h.delay=h.delay(a,r)),i.push(...Xn(c,{...e,transition:h},{}))}}return i}function Fh(t,e,n){const s=[];return wh(t,e,n,{spring:Ut}).forEach(({keyframes:o,transition:r},a)=>{s.push(...po(a,o,r))}),s}function Bh(t){return Array.isArray(t)&&t.some(Array.isArray)}function Ih(t){function e(n,s,i){let o=[],r;if(Bh(n))o=Fh(n,s,t);else{const{onComplete:l,...u}=i||{};typeof l=="function"&&(r=l),o=po(n,s,u,t)}const a=new Wa(o);return r&&a.finished.then(r),a}return e}const Hh=Ih();export{jh as A,gh as a,Kh as b,Hh as c,Uh as d,Q as j,Wh as m,$h as u};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.