PageSourceSearch

https://pages.mantacares.com/_components/v2/cb258718c3ec056f4660ebbdd312d103133b280d.js

js mantacares.com collected 2026-09-25 02:48:36 UTC 174,122 bytes, 1 lines download raw bytes

1var fc=Object.defineProperty;var P=(t,e)=>()=>(t&&(e=t(t=0)),e);var ct=(t,e)=>{for(var n in e)fc(t,n,{get:e[n],enumerable:!0})};function S(t,e,n){if(t===void 0&&(t=()=>null),En&&En(t,e),fs)return fs(t,e,n)}function hs(t,e,n){if(t===void 0&&(t=()=>null),En&&En(t,e),ps)return ps(t,e,n)}var pc,fs,ps,En,O=P(()=>{({Fragment:pc,jsx:fs,jsxs:ps}=globalThis.__GLOBALS__.ReactJSXRuntime),En=globalThis.__GLOBALS__.modifyReactJSXProps});var gs={};ct(gs,{default:()=>ds});function ds(){return S("div",{className:"flex flex-wrap items-center text-white",children:S("button",{className:"cky-banner-element text-xs opacity-50 text-white font-inter leading-[1.4] cursor-pointer",children:"Do Not Sell or Share My Personal Information"})})}var ys=P(()=>{O()});function xs(t){let e=t?.props?._fgT,n=typeof e=="function"||typeof e=="string"||typeof e=="object"&&e!==null&&"$$typeof"in e;return globalThis.__GLOBALS__.React.isValidElement(t)&&n}function He(t){return globalThis.__GLOBALS__.React.isValidElement(t)&&t.type==="fg-txt"}function ws(t){let{_fgT:e,_fgS:n,_fgB:i,_fgD:r,...o}=t.props;return globalThis.__GLOBALS__.React.createElement(e,{...o,key:t.key},o.children)}function Pn(t){return xs(t)?ws(t):He(t)?t.props.children:t}function hc(t){if(t==null||typeof t!="object")return t;let e=!1;for(let i=0;i<zi.length;i++)if(zi[i]in t){e=!0;break}if(!e)return t;let n={};for(let i of Object.keys(t))zi.indexOf(i)===-1&&(n[i]=t[i]);return n}var _e,bs,zi,vs,Ss,dc,Yi,Id,Xi,st,kd,Rd,fe,Cn,gc,Dd,Ld,Od,Bd,jd,Fd,_d,Lt,_,Hd,Nd,V,Mn,Gd,Qt,Ki,dt,Wd,w,I,$d,Ud,zd,Yd,C=P(()=>{_e=globalThis.__GLOBALS__.React.Children,bs={map(t,e,n){return _e.map(t,(i,r)=>{let o=Pn(i);return He(i)?null:e.call(n,o,r)})},forEach(t,e,n){_e.forEach(t,(i,r)=>{if(He(i))return;let o=Pn(i);e.call(n,o,r)})},count(t){let e=0;return _e.forEach(t,n=>{He(n)||e++}),e},toArray(t){let e=[];return _e.forEach(t,n=>{He(n)||e.push(Pn(n))}),e},only(t){let e=_e.only(t);return Pn(e)}},zi=["_fgT","_fgS","_fgB","_fgD"];vs=globalThis.__GLOBALS__.React.cloneElement,Ss=(t,...e)=>{if(xs(t)){let n=ws(t),i=e[0];return i!=null&&typeof i=="object"&&(e=[hc(i),...e.slice(1)]),vs(n,...e)}return vs(t,...e)},dc=globalThis.__GLOBALS__.React.createElement,Yi=(t,e,...n)=>(t===void 0&&(t=()=>null),dc(t,e,...n)),Id={...globalThis.__GLOBALS__.React,Children:bs,cloneElement:Ss,createElement:Yi},{Component:Xi,createContext:st,createFactory:kd,createRef:Rd,forwardRef:fe,Fragment:Cn,isValidElement:gc,lazy:Dd,memo:Ld,Profiler:Od,PureComponent:Bd,startTransition:jd,StrictMode:Fd,Suspense:_d,useCallback:Lt,useContext:_,useDebugValue:Hd,useDeferredValue:Nd,useEffect:V,useId:Mn,useImperativeHandle:Gd,useInsertionEffect:Qt,useLayoutEffect:Ki,useMemo:dt,useReducer:Wd,useRef:w,useState:I,useSyncExternalStore:$d,useTransition:Ud,version:zd,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Yd}=globalThis.__GLOBALS__.React});function Ne(t,e){t.indexOf(e)===-1&&t.push(e)}function gt(t,e){let n=t.indexOf(e);n>-1&&t.splice(n,1)}function qi([...t],e,n){let i=e<0?t.length+e:e;if(i>=0&&i<t.length){let r=n<0?t.length+n:n,[o]=t.splice(e,1);t.splice(r,0,o)}return t}function pe(t){let e;return()=>(e===void 0&&(e=t()),e)}function xc(t,e,n,i,r){let o,s,a=0;do s=e+(n-e)/2,o=Es(s,i,r)-t,o>0?n=s:e=s;while(Math.abs(o)>yc&&++a<vc);return s}function We(t,e,n,i){if(t===e&&n===i)return Y;let r=o=>xc(o,0,1,t,n);return o=>o===0||o===1?o:Es(r(o),e,i)}function Dn(t,e){return or(t)?t[Zi(0,t.length,e)]:t}var J,bt,W,at,Vn,In,kn,Y,At,vt,he,U,it,Ge,Zi,Es,yc,vc,Ps,Rn,Cs,Ji,Qi,tr,er,nr,ir,wc,bc,rr,or,Ln,Ts,Sc,On,Ms=P(()=>{J=(t,e,n)=>n>e?e:n<t?t:n,bt=()=>{},W=()=>{},at={},Vn=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t),In=t=>typeof t=="object"&&t!==null,kn=t=>/^0[^.\s]+$/u.test(t);Y=t=>t,At=(...t)=>t.reduce((e,n)=>i=>n(e(i))),vt=(t,e,n)=>{let i=e-t;return i?(n-t)/i:1},he=class{constructor(){this.subscriptions=[]}add(t){return Ne(this.subscriptions,t),()=>gt(this.subscriptions,t)}notify(t,e,n){let i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](t,e,n);else for(let r=0;r<i;r++){let o=this.subscriptions[r];o&&o(t,e,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}},U=t=>t*1e3,it=t=>t/1e3,Ge=(t,e)=>e?t*(1e3/e):0,Zi=(t,e,n)=>{let i=e-t;return((n-t)%i+i)%i+t},Es=(t,e,n)=>(((1-3*n+3*e)*t+(3*n-6*e))*t+3*e)*t,yc=1e-7,vc=12;Ps=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,Rn=t=>e=>1-t(1-e),Cs=We(.33,1.53,.69,.99),Ji=Rn(Cs),Qi=Ps(Ji),tr=t=>t>=1?1:(t*=2)<1?.5*Ji(t):.5*(2-Math.pow(2,-10*(t-1))),er=t=>1-Math.sin(Math.acos(t)),nr=Rn(er),ir=Ps(er),wc=We(.42,0,1,1),bc=We(0,0,.58,1),rr=We(.42,0,.58,1),or=t=>Array.isArray(t)&&typeof t[0]!="number";Ln=t=>Array.isArray(t)&&typeof t[0]=="number",Ts={linear:Y,easeIn:wc,easeInOut:rr,easeOut:bc,circIn:er,circInOut:ir,circOut:nr,backIn:Ji,backInOut:Qi,backOut:Cs,anticipate:tr},Sc=t=>typeof t=="string",On=t=>{if(Ln(t)){W(t.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[e,n,i,r]=t;return We(e,n,i,r)}else if(Sc(t))return W(Ts[t]!==void 0,`Invalid easing type '${t}
1'`,"invalid-easing-type"),Ts[t];return t}});var x=P(()=>{Ms()});function Tc(t){let e=new Set,n=new Set,i=!1,r=!1,o=new WeakSet,s={delta:0,timestamp:0,isProcessing:!1};function a(l){o.has(l)&&(u.schedule(l),t()),l(s)}let u={schedule:(l,c=!1,p=!1)=>{let f=p&&i?e:n;return c&&o.add(l),f.add(l),l},cancel:l=>{n.delete(l),o.delete(l)},process:l=>{if(s=l,i){r=!0;return}i=!0;let c=e;e=n,n=c,e.forEach(a),e.clear(),i=!1,r&&(r=!1,u.process(l))}};return u}function Va(t,e){let n=!1,i=!0,r={delta:0,timestamp:0,isProcessing:!1},o=()=>n=!0,s=Ue.reduce((v,y)=>(v[y]=Tc(o),v),{}),{setup:a,read:u,resolveKeyframes:l,preUpdate:c,update:p,preRender:f,render:m,postRender:h}=s,d=()=>{let v=at.useManualTiming,y=v?r.timestamp:performance.now();n=!1,v||(r.delta=i?1e3/60:Math.max(Math.min(y-r.timestamp,Ec),1)),r.timestamp=y,r.isProcessing=!0,a.process(r),u.process(r),l.process(r),c.process(r),p.process(r),f.process(r),m.process(r),h.process(r),r.isProcessing=!1,n&&e&&(i=!1,t(d))},g=()=>{n=!0,i=!0,r.isProcessing||t(d)};return{schedule:Ue.reduce((v,y)=>{let b=s[y];return v[y]=(M,D=!1,k=!1)=>(n||g(),b.schedule(M,D,k)),v},{}),cancel:v=>{for(let y=0;y<Ue.length;y++)s[Ue[y]].cancel(v)},state:r,steps:s}}function Pc(){jn=void 0}function As(t){return typeof t!="string"?!1:t.split("/*")[0].includes("var(--")}function Ac(t){return t==null}function kc(t){let e="",n="",i="",r="";return t.length>5?(e=t.substring(1,3),n=t.substring(3,5),i=t.substring(5,7),r=t.substring(7,9)):(e=t.substring(1,2),n=t.substring(2,3),i=t.substring(3,4),r=t.substring(4,5),e+=e,n+=n,i+=i,r+=r),{red:parseInt(e,16),green:parseInt(n,16),blue:parseInt(i,16),alpha:r?parseInt(r,16)/255:1}}function Oc(t){return isNaN(t)&&typeof t=="string"&&(t.match(Fr)?.length||0)+(t.match(Lc)?.length||0)>0}function be(t){let e=t.toString(),n=[],i={color:[],number:[],var:[]},r=[],o=0,s=e.replace(Fc,a=>(Q.test(a)?(i.color.push(o),r.push(La),n.push(Q.parse(a))):a.startsWith(jc)?(i.var.push(o),r.push(Bc),n.push(a)):(i.number.push(o),r.push(Da),n.push(parseFloat(a))),++o,Is)).split(Is);return{values:n,split:s,indexes:i,types:r}}function _c(t){return be(t).values}function Oa({split:t,types:e}){let n=t.length;return i=>{let r="";for(let o=0;o<n;o++)if(r+=t[o],i[o]!==void 0){let s=e[o];s===Da?r+=Ye(i[o]):s===La?r+=Q.transform(i[o]):r+=i[o]}return r}}function Hc(t){return Oa(be(t))}function Wc(t){let e=be(t);return Oa(e)(e.values.map((n,i)=>Gc(n,e.split[i])))}function lr(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 $c({hue:t,saturation:e,lightness:n,alpha:i}){t/=360,e/=100,n/=100;let r=0,o=0,s=0;if(!e)r=o=s=n;else{let a=n<.5?n*(1+e):n+e-n*e,u=2*n-a;r=lr(u,a,t+1/3),o=lr(u,a,t),s=lr(u,a,t-1/3)}return{red:Math.round(r*255),green:Math.round(o*255),blue:Math.round(s*255),alpha:i}}function Wn(t,e){return n=>n>0?e:t}function ks(t){let e=zc(t);if(bt(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!e)return!1;let n=e.parse(t);return e===ge&&(n=$c(n)),n}function Yc(t,e){return yr.has(t)?n=>n<=0?t:e:n=>n>=1?e:t}function Xc(t,e){return n=>F(t,e,n)}function Hr(t){return typeof t=="number"?Xc:typeof t=="string"?jr(t)?Wn:Q.test(t)?Rs:Zc:Array.isArray(t)?Ba:typeof t=="object"?Q.test(t)?Rs:Kc:Wn}function Ba(t,e){let n=[...t],i=n.length,r=t.map((o,s)=>Hr(o)(o,e[s]));return o=>{for(let s=0;s<i;s++)n[s]=r[s](o);return n}}function Kc(t,e){let n={...t,...e},i={};for(let r in n)t[r]!==void 0&&e[r]!==void 0&&(i[r]=Hr(t[r])(t[r],e[r]));return r=>{for(let o in i)n[o]=i[o](r);return n}}function qc(t,e){let n=[],i={color:0,var:0,number:0};for(let r=0;r<e.values.length;r++){let o=e.types[r],s=t.indexes[o][i[o]],a=t.values[s]??0;n[r]=a,i[o]++}return n}function ja(t,e,n){return typeof t=="number"&&typeof e=="number"&&typeof n=="number"?F(t,e,n):Hr(t)(t,e)}function Nr(t,e=50,n=2e4,i){let r=0,o=t.next(r);for(i?.push(o.value);!o.done&&r<n;)r+=e,o=t.next(r),i?.push(o.value);return r>=n?1/0:r}function Gr(t,e=100,n){let i=n({...t,keyframes:[0,e]}),r=Math.min(Nr(i),2e4);return{type:"keyframes",ease:o=>i.next(r*o).value/e,duration:it(r)}}function vr(t,e){return t*Math.sqrt(1-e*e)}function tm(t,e,n){let i=n;for(let r=1;r<Qc;r++)i=i-t(i)/e(i);return i}function em({duration:t=K.duration,bounce:e=K.bounce,velocity:n=K.velocity,mass:i=K.mass}){let r,o;bt(t<=U(K.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let s=1-e;s=J(K.minDamping,K.maxDamping,s),t=J(K.minDuration,K.maxDuration,it(t)),s<1?(r=l=>{let c=l*s,p=c*t,f=c-n,m=vr(l,s),h=Math.exp(-p);return cr-f/m*h},o=l=>{let c=l*s*t,p=c*n+n,f=s*s*l*l*t,m=Math.exp(-c),h=vr(l*l,s);return(-r(l)+cr>0?-1:1)*((p-f)*m)/h}):(r=l=>{let c=Math.exp(-l*t),p=(l-n)*t+1;return-cr+c*p},o=l=>{let c=Math.exp(-l*t),p=(n-l)*(t*t);return c*p});let a=5/t,u=tm(r,o,a);if(t=U(t),isNaN(u))return{stiffness:K.stiffness,damping:K.damping,duration:t};{let l=u*u*i;return{stiffness:l,damping:s*2*Math.sqrt(i*l),duration:t}}}function Ds(t,e){return e.some(n=>t[n]!==void 0)}function rm(t){let e={velocity:K.velocity,stiffness:K.stiffness,damping:K.damping,mass:K.mass,isResolvedFromDuration:!1,...t};if(!Ds(t,im)&&Ds(t,nm))if(e.velocity=0,t.visualDuration){let n=t.visualDuration,i=2*Math.PI/(n*1.2),r=i*i,o=2*J(.05,1,1-(t.bounce||0))*Math.sqrt(r);e={...e,mass:K.mass,stiffness:r,damping:o}}else{let n=em({...t,velocity:0});e={...e,...n,mass:K.mass},e.isResolvedFromDuration=!0}return e}function Se(t=K.visualDuration,e=K.bounce){let n=typeof t!="object"?{visualDuration:t,keyframes:[0,1],bounce:e}:t,{restSpeed:i,restDelta:r}=n,o=n.keyframes[0],s=n.keyframes[n.keyframes.length-1],a={done:!1,value:o},{stiffness:u,damping:l,mass:c,duration:p,velocity:f,isResolvedFromDuration:m}=rm({...n,velocity:-it(n.velocity||0)}),h=f||0,d=l/(2*Math.sqrt(u*c)),g=s-o,v=it(Math.sqrt(u/c)),y=d*v,b=Math.abs(g)<5;
1i||(i=b?K.restSpeed.granular:K.restSpeed.default),r||(r=b?K.restDelta.granular:K.restDelta.default);let M,D;if(d<1){let T=vr(v,d),L=(h+y*g)/T,R=y*L+g*T,rt=y*g-L*T,z=-1,ot=0,Z=0,Nt=ut=>{if(ut!==z){z=ut;let Jt=Math.exp(-y*ut),H=Math.sin(T*ut),$=Math.cos(T*ut);ot=s-Jt*(L*H+g*$),Z=Jt*(R*H+rt*$)}};M=ut=>(Nt(ut),ot),D=ut=>(Nt(ut),Z)}else if(d===1){M=L=>s-Math.exp(-v*L)*(g+(h+v*g)*L);let T=h+v*g;D=L=>Math.exp(-v*L)*(v*T*L-h)}else{let T=v*Math.sqrt(d*d-1);M=z=>{let ot=Math.exp(-y*z),Z=Math.min(T*z,300);return s-ot*((h+y*g)*Math.sinh(Z)+T*g*Math.cosh(Z))/T};let L=(h+y*g)/T,R=y*L-g*T,rt=y*g-L*T;D=z=>{let ot=Math.exp(-y*z),Z=Math.min(T*z,300);return ot*(R*Math.sinh(Z)+rt*Math.cosh(Z))}}let k={calculatedDuration:m&&p||null,velocity:T=>U(D(T)),next:T=>{let L=M(T);if(m)a.done=T>=p;else{let R=U(D(T));a.done=Math.abs(R)<=i&&Math.abs(s-L)<=r}return a.value=a.done?s:L,a},toString:()=>{let T=Math.min(Nr(k),2e4),L=Fa(R=>k.next(T*R).value,T,30);return T+"ms "+L},toTransition:()=>{}};return k}function xr({keyframes:t,velocity:e=0,power:n=.8,timeConstant:i=325,bounceDamping:r=10,bounceStiffness:o=500,modifyTarget:s,min:a,max:u,restDelta:l=.5,restSpeed:c}){let p=t[0],f={done:!1,value:p},m=T=>T<a||T>u,h=T=>a===void 0?u:u===void 0||Math.abs(a-T)<Math.abs(u-T)?a:u,d=n*e,g=p+d,v=s===void 0?g:s(g);v!==g&&(d=v-p);let y=T=>-d*Math.exp(-T/i),b=T=>{let L=y(T);f.done=Math.abs(L)<=l,f.value=f.done?v:v+L},M,D,k=T=>{m(f.value)&&(M=T,D=Se({keyframes:[f.value,h(f.value)],velocity:-y(T)/i*1e3,damping:r,stiffness:o,restDelta:l,restSpeed:c}))};return k(0),{calculatedDuration:null,next:T=>{let L=!1;return!D&&M===void 0&&(L=!0,b(T),k(T)),M!==void 0&&T>=M?D.next(T-M):(!L&&b(T),f)}}}function om(t,e,n){let i=[],r=n||at.mix||ja,o=t.length-1;for(let s=0;s<o;s++){let a=r(t[s],t[s+1]);if(e){let u=Array.isArray(e)?e[s]||Y:e;a=At(u,a)}i.push(a)}return i}function Wr(t,e,{clamp:n=!0,ease:i,mixer:r}={}){let o=t.length;if(W(o===e.length,"Both input and output ranges must be the same length","range-length"),o===1)return()=>e[0];if(o===2&&e[0]===e[1])return()=>e[1];let s=t[0]===t[1];t[0]>t[o-1]&&(t=[...t].reverse(),e=[...e].reverse());let a=om(e,i,r),u=a.length,l=c=>{if(s&&c<t[0])return e[0];let p=0;if(u>1)for(;p<t.length-2&&!(c<t[p+1]);p++);let f=vt(t[p],t[p+1],c);return a[p](f)};return n?c=>l(J(t[0],t[o-1],c)):l}function $r(t,e){let n=t[t.length-1];for(let i=1;i<=e;i++){let r=vt(0,e,i);t.push(F(n,1,r))}}function qn(t){let e=[0];return $r(e,t.length-1),e}function sm(t,e){return t.map(n=>n*e)}function am(t,e){return t.map(()=>e||rr).splice(0,t.length-1)}function Xe({duration:t=300,keyframes:e,times:n,ease:i="easeInOut"}){let r=or(i)?i.map(On):On(i),o={done:!1,value:e[0]},s=sm(n&&n.length===e.length?n:qn(e),t),a=Wr(s,e,{ease:Array.isArray(r)?r:am(e,r)});return{calculatedDuration:t,next:u=>(o.value=a(u),o.done=u>=t,o)}}function um(t,e,n){let i=Math.max(e-lm,0);return Ge(n-t(i),e-i)}function Zn(t,{repeat:e,repeatType:n="loop"},i,r=1){let o=t.filter(cm),s=r<0||e&&n!=="loop"&&e%2===1?0:o.length-1;return!s||i===void 0?o[s]:i}function _a(t){typeof t.type=="string"&&(t.type=mm[t.type])}function zr(t){for(let e=1;e<t.length;e++)t[e]??(t[e]=t[e-1])}function Sr(t){return t.includes("scale")?1:0}function Tr(t,e){if(!t||t==="none")return Sr(e);let n=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u),i,r;if(n)i=hm,r=n;else{let a=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=pm,r=a}if(!r)return Sr(e);let o=i[e],s=r[1].split(",").map(gm);return typeof o=="function"?o(s):s[o]}function gm(t){return parseFloat(t.trim())}function xm(t){let e=[];return vm.forEach(n=>{let i=t.getValue(n);i!==void 0&&(e.push([n,i.get()]),i.set(n.startsWith("scale")?1:0))}),e}function Ha(){if(Pr){let t=Array.from(oe).filter(i=>i.needsMeasurement),e=new Set(t.map(i=>i.element)),n=new Map;e.forEach(i=>{let r=xm(i);r.length&&(n.set(i,r),i.render())}),t.forEach(i=>i.measureInitialState()),e.forEach(i=>{i.render();let r=n.get(i);r&&r.forEach(([o,s])=>{i.getValue(o)?.set(s)})}),t.forEach(i=>i.measureEndState()),t.forEach(i=>{i.suspendedScrollY!==void 0&&window.scrollTo(0,i.suspendedScrollY)})}Pr=!1,Er=!1,oe.forEach(t=>t.complete(Cr)),oe.clear()}function Na(){oe.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(Pr=!0)})}function wm(){Cr=!0,Na(),Ha(),Cr=!1}function Ga(t,e,n){Xr(e)?t.style.setProperty(e,n):t.style[e]=n}function Kr(t,e){let n=pe(t);return()=>bm[e]??n()}function Ua(t,e){if(t)return typeof t=="function"?$a()?Fa(t,e):"ease-
1out":Ln(t)?ze(t):Array.isArray(t)?t.map(n=>Ua(n,e)||Fs.easeOut):Fs[t]}function za(t,e,n,{delay:i=0,duration:r=300,repeat:o=0,repeatType:s="loop",ease:a="easeOut",times:u}={},l=void 0){let c={[e]:n};u&&(c.offset=u);let p=Ua(a,r);Array.isArray(p)&&(c.easing=p);let f={delay:i,duration:r,easing:Array.isArray(p)?"linear":p,fill:"both",iterations:o+1,direction:s==="reverse"?"alternate":"normal"};return l&&(f.pseudoElement=l),t.animate(c,f)}function Jn(t){return typeof t=="function"&&"applyToOptions"in t}function Sm({type:t,...e}){return Jn(t)&&$a()?t.applyToOptions(e):(e.duration??(e.duration=300),e.ease??(e.ease="easeOut"),e)}function Tm(t){return t in Ya}function Em(t){typeof t.ease=="string"&&Tm(t.ease)&&(t.ease=Ya[t.ease])}function Cm(t){let e=t[0];if(t.length===1)return!0;for(let n=0;n<t.length;n++)if(t[n]!==e)return!0}function Mm(t,e,n,i){let r=t[0];if(r===null)return!1;if(e==="display"||e==="visibility")return!0;let o=t[t.length-1],s=_s(r,e),a=_s(o,e);return bt(s===a,`You are trying to animate ${e} from "${r}" to "${o}". "${s?o:r}" is not an animatable value.`,"value-not-animatable"),!s||!a?!1:Cm(t)||(n==="spring"||Jn(n))&&i}function Mr(t){t.duration=0,t.type="keyframes"}function Vm(t){for(let e=0;e<t.length;e++)if(typeof t[e]=="string"&&Am.test(t[e]))return!0;return!1}function Rm(t){let{motionValue:e,name:n,repeatDelay:i,repeatType:r,damping:o,type:s,keyframes:a}=t,u=e?.owner?.current;if(!(u instanceof HTMLElement)&&!(u instanceof SVGElement))return!1;let{onUpdate:l,transformTemplate:c}=e.owner.getProps();return km()&&n&&(Zr.has(n)||Im.has(n)&&Vm(a))&&(n!=="transform"||!c)&&!l&&!i&&r!=="mirror"&&o!==0&&s!=="inertia"}function Hs(t,e){let n=0;for(let i=0;i<t.length;i++){let r=t[i][e];r!==null&&r>n&&(n=r)}return n}function Ka(t){let e=Ns.get(t);return e||(e=new Map,Ns.set(t,e)),e}function qa(t,e,n,i=0,r=1){let o=Array.from(t).sort((u,l)=>u.sortNodePosition(l)).indexOf(e),s=t.size,a=(s-1)*i;return typeof n=="function"?n(o,s):r===1?o*i:a-o*i}function xt(t,e){return new xe(t,e)}function Jr(t,e){if(t?.inherit&&e){let{inherit:n,...i}=t;return{...e,...i}}return t}function Pe(t,e){let n=t?.[e]??t?.default??t;return n!==t?Jr(n,t):n}function Wm(t){for(let e in t)if(!Gm.has(e))return!0;return!1}function Um(t){let e=$m.exec(t);if(!e)return[,];let[,n,i,r]=e;return[`--${n??i}`,r]}function Za(t,e,n=1){W(n<=zm,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[i,r]=Um(t);if(!i)return;let o=window.getComputedStyle(e).getPropertyValue(i);if(o){let s=o.trim();return Vn(s)?parseFloat(s):s}return jr(r)?Za(r,e,n+1):r}function Ws(t){let e=[{},{}];return t?.values.forEach((n,i)=>{e[0][i]=n.get(),e[1][i]=n.getVelocity()}),e}function ei(t,e,n,i){if(typeof e=="function"){let[r,o]=Ws(i);e=e(n!==void 0?n:t.custom,r,o)}if(typeof e=="string"&&(e=t.variants&&t.variants[e]),typeof e=="function"){let[r,o]=Ws(i);e=e(n!==void 0?n:t.custom,r,o)}return e}function $t(t,e,n){let i=t.getProps();return ei(i,e,n!==void 0?n:i.custom,t)}function Ym(t,e,n){t.hasValue(e)?t.getValue(e).set(n):t.addValue(e,xt(n))}function Xm(t){return Ar(t)?t[t.length-1]||0:t}function Qa(t,e){let n=$t(t,e),{transitionEnd:i={},transition:r={},...o}=n||{};o={...o,...i};for(let s in o){let a=Xm(o[s]);Ym(t,s,a)}}function Km(t){return!!(N(t)&&t.add)}function ni(t,e){let n=t.getValue("willChange");if(Km(n))return n.add(e);if(!n&&at.WillChange){let i=new at.WillChange("auto");t.addValue("willChange",i),i.add(e)}}function ii(t){return t.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}function Qr(t){return t.props[ri]}function Zm({protectedKeys:t,needsAnimating:e},n){let i=t.hasOwnProperty(n)&&e[n]!==!0;return e[n]=!1,i}function oi(t,e,{delay:n=0,transitionOverride:i,type:r}={}){let{transition:o,transitionEnd:s,...a}=e,u=t.getDefaultTransition();o=o?Jr(o,u):u;let l=o?.reduceMotion,c=o?.skipAnimations;i&&(o=i);let p=[],f=r&&t.animationState&&t.animationState.getState()[r],m=o?.path;m&&m.animateVisualElement(t,a,o,n,p);for(let h in a){let d=t.getValue(h,t.latestValues[h]??null),g=a[h];if(g===void 0||f&&Zm(f,h))continue;let v={delay:n,...Pe(o||{},h)};c&&(v.skipAnimations=!0);let y=d.get();if(y!==void 0&&!d.isAnimating()&&!Array.isArray(g)&&g===y&&!v.velocity){B.update(()=>d.set(g));continue}let b=!1;if(qm&&window.MotionHandoffAnimation){let k=Qr(t);if(k){let T=window.MotionHandoffAnimation(k,h,B);T!==null&&(v.startTime=T,b=!0)}}ni(t,h);let M=l??t.shouldReduceMotion;d.start(en(h,d,g,M&&Ja.has(h)?{type:!1}:v,t,b));let D=d.animation;D&&p.push(D)}if(s){let h=()=>B.update(()=>{s&&Qa(t,s)});p.length?Promise.all(p).then(h):h()}return p}function Vr(t,e,n={}){let i=$t(t,e,n.type==="exit"?t.presenceContext?.custom:void 0),{transition:r=t.getDefaultTransition()||{}}=i||{};
1n.transitionOverride&&(r=n.transitionOverride);let o=i?()=>Promise.all(oi(t,i,n)):()=>Promise.resolve(),s=t.variantChildren&&t.variantChildren.size?(u=0)=>{let{delayChildren:l=0,staggerChildren:c,staggerDirection:p}=r;return Jm(t,e,u,l,c,p,n)}:()=>Promise.resolve(),{when:a}=r;if(a){let[u,l]=a==="beforeChildren"?[o,s]:[s,o];return u().then(()=>l())}else return Promise.all([o(),s(n.delay)])}function Jm(t,e,n=0,i=0,r=0,o=1,s){let a=[];for(let u of t.variantChildren)u.notify("AnimationStart",e),a.push(Vr(u,e,{...s,delay:n+(typeof i=="function"?0:i)+qa(t.variantChildren,u,i,r,o)}).then(()=>u.notify("AnimationComplete",e)));return Promise.all(a)}function si(t,e,n={}){t.notify("AnimationStart",e);let i;if(Array.isArray(e)){let r=e.map(o=>Vr(t,o,n));i=Promise.all(r)}else if(typeof e=="string")i=Vr(t,e,n);else{let r=typeof e=="function"?$t(t,e,n.custom):e;i=Promise.all(oi(t,r,n))}return i.then(()=>{t.notify("AnimationComplete",e)})}function tf(t){return typeof t=="number"?t===0:t!==null?t==="none"||t==="0"||kn(t):!0}function nf(t){let[e,n]=t.slice(0,-1).split("(");if(e==="drop-shadow")return t;let[i]=n.match(Fr)||[];if(!i)return t;let r=n.replace(i,""),o=ef.has(e)?1:0;return i!==n&&(o*=100),e+"("+o+r+")"}function rl(t,e){let n=il(t);return af.has(n)||(n=Pt),n.getAnimatableNone?n.getAnimatableNone(e):void 0}function uf(t,e,n){let i=0,r;for(;i<t.length&&!r;){let o=t[i];typeof o=="string"&&!lf.has(o)&&be(o).values.length&&(r=t[i]),i++}if(r&&n)for(let o of e)t[o]=rl(n,r)}function ol(t,e){for(let n=0;n<t.length;n++)typeof t[n]=="number"&&mf.has(e)&&(t[n]=t[n]+"px")}function sl(t){W(typeof t.test=="function"&&typeof t.read=="function","Effects passed to animate.addEffect() need test() and read().","effect-missing-test"),eo(t),to.unshift(t)}function eo(t){gt(to,t)}function al(t){return to.find(e=>e.test(t))}function ll(t,e,n,i={}){let r=[];for(let o in n){let s=n[o],a=t.get(e,o);if(!a){let u=t.read(e,o,s)??ff(s);W(u!==void 0,`"${o}" can't be read from the animated subject. Provide [from, to] keyframes.`,"effect-unreadable-value"),a=xt(u),t(e,{[o]:a})}a.start(en(o,a,s,Pe(i,o))),a.animation&&r.push(a.animation)}return r}function ff(t){let e=Array.isArray(t)?t[0]:void 0;return e===null?void 0:e}function zt(t,e,n){if(t==null)return[];if(t instanceof EventTarget)return[t];if(typeof t=="string"){let i=document;e&&(i=e.current);let r=n?.[t]??i.querySelectorAll(t);return r?Array.from(r):[]}return Array.from(t).filter(i=>i!=null)}function no(t){return(e,n)=>{let i=zt(e),r=[];for(let o of i){let s=t(o,n);r.push(s)}return()=>{for(let o of r)o()}}}function li(t,{step:e,...n}={}){let i=new WeakMap;return Object.assign((r,o)=>{let s=i.get(r)??new pf(e);i.set(r,s);let a=[];for(let u in o){let l=o[u],c=t(r,s,u,l);a.push(c)}return()=>{for(let u of a)u()}},n,{get:(r,o)=>i.get(r)?.get(o)})}function hf(t,e){if(!(e in t))return!1;let n=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(t),e)||Object.getOwnPropertyDescriptor(t,e);return n&&typeof n.set=="function"}function ui(t){return In(t)&&"offsetHeight"in t&&!("ownerSVGElement"in t)}function gf(t){let e="",n=!0;for(let r=0;r<Ut.length;r++){let o=Ut[r],s=t.latest[o];if(s===void 0)continue;let a=!0;if(typeof s=="number")a=s===(o.startsWith("scale")?1:0);else{let u=parseFloat(s);a=o.startsWith("scale")?u===1:u===0}if(!a){n=!1;let u=df[o]||o;e+=`${u}(${s}) `}}let i=t.latest.pathRotation;return i&&(n=!1,e+=`rotate(${typeof i=="number"?`${i}deg`:i}) `),n?"none":e.trim()}function vf(t,e,n,i){return B.render(()=>t.setAttribute("pathLength","1")),n==="pathOffset"?e.set(n,i,()=>{let r=e.latest[n];t.setAttribute("stroke-dashoffset",`${-r}`)}):(e.get("stroke-dasharray")||e.set("stroke-dasharray",new xe("1 1"),()=>{let{pathLength:r=1,pathSpacing:o}=e.latest;t.setAttribute("stroke-dasharray",`${r} ${o??1-Number(r)}`)}),e.set(n,i,void 0,e.get("stroke-dasharray")))}function wf(t){return t.replace(/^attr([A-Z])/,(e,n)=>n.toLowerCase())}function ul(){return Tt.x||Tt.y}function cl(t){return t==="x"||t==="y"?Tt[t]?null:(Tt[t]=!0,()=>{Tt[t]=!1}):Tt.x||Tt.y?null:(Tt.x=Tt.y=!0,()=>{Tt.x=Tt.y=!1})}function ml(t,e){let n=zt(t),i=new AbortController,r={passive:!0,...e,signal:i.signal};return[n,r,()=>i.abort()]}function Sf(t){return!(t.pointerType==="touch"||ul())}function fl(t,e,n={}){let[i,r,o]=ml(t,n);
1return i.forEach(s=>{let a=!1,u=!1,l,c=()=>{s.removeEventListener("pointerleave",h)},p=g=>{l&&(l(g),l=void 0),c()},f=g=>{a=!1,window.removeEventListener("pointerup",f),window.removeEventListener("pointercancel",f),u&&(u=!1,p(g))},m=()=>{a=!0,window.addEventListener("pointerup",f,r),window.addEventListener("pointercancel",f,r)},h=g=>{if(g.pointerType!=="touch"){if(a){u=!0;return}p(g)}},d=g=>{if(!Sf(g))return;u=!1;let v=e(s,g);typeof v=="function"&&(l=v,s.addEventListener("pointerleave",h,r))};s.addEventListener("pointerenter",d,r),s.addEventListener("pointerdown",m,r)}),o}function Ef(t){return Tf.has(t.tagName)||t.isContentEditable===!0}function hl(t){return Pf.has(t.tagName)||t.isContentEditable===!0}function zs(t){return e=>{e.key==="Enter"&&t(e)}}function fr(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}function Ys(t){return rn(t)&&!ul()}function dl(t,e,n={}){let[i,r,o]=ml(t,n),s=a=>{let u=a.currentTarget;if(!Ys(a)||Xs.has(a))return;Fn.add(u),n.stopPropagation&&Xs.add(a);let l=e(u,a),c={...r,capture:!0},p=(h,d)=>{window.removeEventListener("pointerup",f,c),window.removeEventListener("pointercancel",m,c),Fn.has(u)&&Fn.delete(u),Ys(h)&&typeof l=="function"&&l(h,{success:d})},f=h=>{p(h,u===window||u===document||n.useGlobalTarget||pl(u,h.target))},m=h=>{p(h,!1)};window.addEventListener("pointerup",f,c),window.addEventListener("pointercancel",m,c)};return i.forEach(a=>{(n.useGlobalTarget?window:a).addEventListener("pointerdown",s,r),ui(a)&&(a.addEventListener("focus",u=>Cf(u,r)),!Ef(a)&&!a.hasAttribute("tabindex")&&(a.tabIndex=0))}),o}function ro(t,e){let n=window.getComputedStyle(t);return Xr(e)?n.getPropertyValue(e):n[e]}function on(t){return In(t)&&"ownerSVGElement"in t}function Vf({target:t,borderBoxSize:e}){_n.get(t)?.forEach(n=>{n(t,{get width(){return Mf(t,e)},get height(){return Af(t,e)}})})}function If(t){t.forEach(Vf)}function kf(){typeof ResizeObserver>"u"||(Hn=new ResizeObserver(If))}function Rf(t,e){Hn||kf();let n=zt(t);return n.forEach(i=>{let r=_n.get(i);r||(r=new Set,_n.set(i,r)),r.add(e),Hn?.observe(i)}),()=>{n.forEach(i=>{let r=_n.get(i);r?.delete(e),r?.size||Hn?.unobserve(i)})}}function Df(){ye=()=>{let t={get width(){return window.innerWidth},get height(){return window.innerHeight}};Nn.forEach(e=>e(t))},window.addEventListener("resize",ye)}function Lf(t){return Nn.add(t),ye||Df(),()=>{Nn.delete(t),!Nn.size&&typeof ye=="function"&&(window.removeEventListener("resize",ye),ye=void 0)}}function ci(t,e){return typeof t=="function"?Lf(t):Rf(t,e)}function oo(t){return on(t)&&t.tagName==="svg"}function yl(...t){let e=!Array.isArray(t[0]),n=e?0:-1,i=t[0+n],r=t[1+n],o=t[2+n],s=t[3+n],a=Wr(r,o,s);return e?a(i):a}function Ce(t){return t!==null&&typeof t=="object"&&typeof t.start=="function"}function Me(t){return typeof t=="string"||Array.isArray(t)}function Ae(t){return Ce(t.animate)||ao.some(e=>Me(t[e]))}function lo(t){return!!(Ae(t)||t.variants)}function jf(t,e,n){for(let i in e){let r=e[i],o=n[i];if(N(r))t.addValue(i,r);else if(N(o))t.addValue(i,xt(r,{owner:t}));else if(o!==r)if(t.hasValue(i)){let s=t.getValue(i);s.liveStyle===!0?s.jump(r):s.hasAnimated||s.set(r)}else{let s=t.getStaticValue(i);t.addValue(i,xt(s!==void 0?s:r,{owner:t}))}}for(let i in n)e[i]===void 0&&t.removeValue(i);return e}function vl(){if(uo.current=!0,!!Ff)if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>zn.current=t.matches;t.addEventListener("change",e),e()}else zn.current=!1}function mi(t){Yn=t}function xl(){return Yn}function co({top:t,left:e,right:n,bottom:i}){return{x:{min:e,max:n},y:{min:t,max:i}}}function bl({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}function _f(t,e){if(!e)return t;let n=e({x:t.left,y:t.top}),i=e({x:t.right,y:t.bottom});return{top:n.y,left:n.x,bottom:i.y,right:i.x}}function pr(t){return t===void 0||t===1}function Dr({scale:t,scaleX:e,scaleY:n}){return!pr(t)||!pr(e)||!pr(n)}function ee(t){return Dr(t)||Sl(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function Sl(t){return Js(t.x)||Js(t.y)}function Js(t){return t&&t!=="0%"}function Xn(t,e,n){let i=t-n,r=e*i;return n+r}function Qs(t,e,n,i,r){return r!==void 0&&(t=Xn(t,r,i)),Xn(t,n,i)+e}function Lr(t,e=0,n=1,i,r){t.min=Qs(t.min,e,n,i,r),t.max=Qs(t.max,e,n,i,r)}function Tl(t,{x:e,y:n}){Lr(t.x,e.translate,e.scale,e.originPoint),Lr(t.y,n.translate,n.scale,n.originPoint)}function Hf(t,e,n,i=!1){let r=n.length;if(!r)return;e.x=e.y=1;let o,s;for(let a=0;a<r;a++){o=n[a],s=o.projectionDelta;let{visualElement:u}=o.options;u&&u.props.style&&u.props.style.display==="contents"||(i&&o.options.layoutScroll&&o.scroll&&o!==o.root&&(Vt(t.x,-o.scroll.offset.x),Vt(t.y,-o.scroll.offset.y)),s&&(e.x*=s.x.scale,e.y*=s.y.scale,Tl(t,s)),i&&ee(o.latestValues)&&Gn(t,o.latestValues,o.layout?.layoutBox))}e.x<ea&&e.x>ta&&(e.x=1),e.y<ea&&e.y>ta&&(e.y=1)}function Vt(t,e){t.min+=e,t.max+=e}function na(t,e,n,i,r=.5){let o=F(t.min,t.max,r);Lr(t,e,n,o,i)}function ia(t,e){return typeof t=="string"?parseFloat(t)/100*(e.max-e.min):t}function Gn(t,e,n){let i=n??t;na(t.x,ia(e.x,i.x),e.scaleX,e.scale,e.originX),na(t.y,ia(e.y,i.y),e.scaleY,e.scale,e.originY)}function El(t,e){return co(_f(t.getBoundingClientRect(),e))}function Pl(t,e,n){let i=El(t,n),{scroll:r}=e;return r&&(Vt(i.x,r.offset.x),Vt(i.y,r.offset.y)),i}function Cl(t,e,n){let i="",r=!0;for(let s=0;s<Gf;s++){let a=Ut[s],u=t[a];if(u===void 0)continue;let l=!0;if(typeof u=="number")l=u===(a.startsWith("scale")?1:0);else{let c=parseFloat(u);l=a.startsWith("scale")?c===1:c===0}if(!l||n){let c=Un(u,Qe[a]);if(!l){r=!1;let p=Nf[a]||a;i+=`${p}(${c}) `}n&&(e[a]=c)}}let o=t.pathRotation;return o&&(r=!1,i+=`rotate(${Un(o,Qe.pathRotation)}) `),i=i.trim(),n?i=n(e,r?"":i):r&&(i="none"),i}function pi(t,e,n){let{style:i,vars:r,transformOrigin:o}=t,s=!1,a=!1;for(let u in e){let l=e[u];if(Bt.has(u)){s=!0;continue}else if(ka(u)){r[u]=l;continue}else{let c=Un(l,Qe[u]);u.startsWith("origin")?(a=!0,o[u]=c):i[u]=c}}if(e.transform||(s||n?i.transform=Cl(e,t.transform,n):i.transform&&(i.transform="none")),a){let{originX:u="50%",originY:l="50%",originZ:c=0}=o;i.transformOrigin=`${u} ${l} ${c}`}}function Ml(t,{style:e,vars:n},i,r){let o=t.style,s;for(s in e)o[s]=e[s];r?.applyProjectionStyles(o,i);for(s in n)o.setProperty(s,n[s])}function ra(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}function mo(t,{layout:e,layoutId:n}){return Bt.has(t)||t.startsWith("origin")||(e||n!==void 0)&&(!!Or[t]||t==="opacity")}function hi(t,e,n){let i=t.style,r=e?.style,o={};if(!i)return o;for(let s in i)(N(i[s])||r&&N(r[s])||mo(s,t)||n?.getValue(s)?.liveStyle!==void 0)&&(o[s]=i[s]);return o}function $f(t){return window.getComputedStyle(t)}function Uf(t,e){return t in e}function Xf(t,e,n=1,i=0,r=!0){t.pathLength=1;let o=r?zf:Yf;t[o.offset]=`${-i}`,t[o.array]=`${e} ${n}`}function fo(t,{attrX:e,attrY:n,attrScale:i,pathLength:r,pathSpacing:o=1,pathOffset:s=0,...a}
1,u,l,c){if(pi(t,a,l),u){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:p,style:f}=t;for(let m of Vl)p[m]!==void 0&&(f[m]=p[m],delete p[m]);(f.transform||p.transformOrigin)&&(f.transformOrigin=p.transformOrigin??"50% 50%",delete p.transformOrigin),f.transform&&(f.transformBox=c?.transformBox??"fill-box",delete p.transformBox),e!==void 0&&(p.x=e),n!==void 0&&(p.y=n),i!==void 0&&(p.scale=i),r!==void 0&&Xf(p,r,o,s,!1)}function Kf(t,e,n,i){Ml(t,e,void 0,i);for(let r in e.attrs)t.setAttribute(Il.has(r)?r:ii(r),e.attrs[r])}function ho(t,e,n){let i=hi(t,e,n);for(let r in t)if(N(t[r])||N(e[r])){let o=Ut.indexOf(r)!==-1?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r;i[o]=t[r]}return i}function kl(t){if(!t)return;if(!t.isControllingVariants){let n=t.parent?kl(t.parent)||{}:{};return t.props.initial!==void 0&&(n.initial=t.props.initial),n}let e={};for(let n=0;n<qf;n++){let i=ao[n],r=t.props[i];(Me(r)||r===!1)&&(e[i]=r)}return e}function Rl(t,e){if(!Array.isArray(e))return!1;let n=e.length;if(n!==t.length)return!1;for(let i=0;i<n;i++)if(e[i]!==t[i])return!1;return!0}function Qf(t){return e=>Promise.all(e.map(({animation:n,options:i})=>si(t,n,i)))}function Dl(t){let e=Qf(t),n=oa(),i=!0,r=!1,o=l=>(c,p)=>{let f=$t(t,p,l==="exit"?t.presenceContext?.custom:void 0);if(f){let{transition:m,transitionEnd:h,...d}=f;c={...c,...d,...h}}return c};function s(l){e=l(t)}function a(l){let{props:c}=t,p=kl(t.parent)||{},f=[],m=new Set,h={},d=1/0;for(let v=0;v<Jf;v++){let y=Zf[v],b=n[y],M=c[y]!==void 0?c[y]:p[y],D=Me(M),k=y===l?b.isActive:null;k===!1&&(d=v);let T=M===p[y]&&M!==c[y]&&D;if(T&&(i||r)&&t.manuallyAnimateOnMount&&(T=!1),b.protectedKeys={...h},!b.isActive&&k===null||!M&&!b.prevProp||Ce(M)||typeof M=="boolean")continue;if(y==="exit"&&b.isActive&&k!==!0){b.prevResolvedValues&&(h={...h,...b.prevResolvedValues});continue}let L=tp(b.prevProp,M),R=L||y===l&&b.isActive&&!T&&D||v>d&&D,rt=!1,z=Array.isArray(M)?M:[M],ot=z.reduce(o(y),{});k===!1&&(ot={});let{prevResolvedValues:Z={}}=b,Nt={...Z,...ot},ut=H=>{R=!0,m.has(H)&&(rt=!0,m.delete(H)),b.needsAnimating[H]=!0;let $=t.getValue(H);$&&($.liveStyle=!1)};for(let H in Nt){let $=ot[H],Mt=Z[H];if(h.hasOwnProperty(H))continue;let Dt=!1;Ar($)&&Ar(Mt)?Dt=!Rl($,Mt)||L:Dt=$!==Mt,Dt?$!=null?ut(H):m.add(H):$!==void 0&&m.has(H)?ut(H):b.protectedKeys[H]=!0}b.prevProp=M,b.prevResolvedValues=ot,b.isActive&&(h={...h,...ot}),(i||r)&&t.blockInitialAnimation&&(R=!1);let Jt=T&&L;R&&(!Jt||rt)&&f.push(...z.map(H=>{let $={type:y};if(typeof H=="string"&&(i||r)&&!Jt&&t.manuallyAnimateOnMount&&t.parent){let{parent:Mt}=t,Dt=$t(Mt,H);if(Mt.enteringChildren&&Dt){let{delayChildren:Sn}=Dt.transition||{};$.delay=qa(Mt.enteringChildren,t,Sn)}}return{animation:H,options:$}}))}if(m.size){let v={};if(typeof c.initial!="boolean"){let y=$t(t,Array.isArray(c.initial)?c.initial[0]:c.initial);y&&y.transition&&(v.transition=y.transition)}m.forEach(y=>{let b=t.getBaseTarget(y),M=t.getValue(y);M&&(M.liveStyle=!0),v[y]=b??null}),f.push({animation:v})}let g=!!f.length;return i&&(c.initial===!1||c.initial===c.animate)&&!t.manuallyAnimateOnMount&&(g=!1),i=!1,r=!1,g?e(f):Promise.resolve()}function u(l,c){if(n[l].isActive===c)return Promise.resolve();t.variantChildren?.forEach(f=>f.animationState?.setActive(l,c)),n[l].isActive=c;let p=a(l);for(let f in n)n[f].protectedKeys={};return p}return{animateChanges:a,setActive:u,setAnimateFunction:s,getState:()=>n,reset:()=>{n=oa(),r=!0}}}function tp(t,e){return typeof e=="string"?e!==t:Array.isArray(e)?!Rl(e,t):!1}function te(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function oa(){return{animate:te(!0),whileInView:te(),whileHover:te(),whileTap:te(),whileDrag:te(),whileFocus:te(),exit:te()}}function Br(t,e){t.min=e.min,t.max=e.max}function St(t,e){Br(t.x,e.x),Br(t.y,e.y)}function sa(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}function et(t){return t.max-t.min}function op(t,e,n){return Math.abs(t-e)<=n}function aa(t,e,n,i=.5){t.origin=i,t.originPoint=F(e.min,e.max,t.origin),t.scale=et(n)/et(e),t.translate=F(n.min,n.max,t.origin)-t.originPoint,(t.scale>=ep&&t.scale<=np||isNaN(t.scale))&&(t.scale=1),(t.translate>=ip&&t.translate<=rp||isNaN(t.translate))&&(t.translate=0)}function Ke(t,e,n,i){aa(t.x,e.x,n.x,i?i.originX:void 0),aa(t.y,e.y,n.y,i?i.originY:void 0)}function la(t,e,n,i=0){let r=i?F(n.min,n.max,i):n.min;t.min=r+e.min,t.max=t.min+et(e)}function sp(t,e,n,i){la(t.x,e.x,n.x,i?.x),la(t.y,e.y,n.y,i?.y)}function ua(t,e,n,i=0){let r=i?F(n.min,n.max,i):n.min;t.min=e.min-r,t.max=t.min+et(e)}function Kn(t,e,n,i){ua(t.x,e.x,n.x,i?.x),ua(t.y,e.y,n.y,i?.y)}function ca(t,e,n,i,r){return t-=e,t=Xn(t,1/n,i),r!==void 0&&(t=Xn(t,1/r,i)),t}function ap(t,e=0,n=1,i=.5,r,o=t,s=t){if(Et.test(e)&&(e=parseFloat(e),e=F(s.min,s.max,e/100)-s.min),typeof e!="number")return;let a=F(o.min,o.max,i);t===o&&(a-=e),t.min=ca(t.min,e,n,a,r),t.max=ca(t.max,e,n,a,r)}function ma(t,e,[n,i,r],o,s){ap(t,e[n],e[i],e[r],e.scale,o,s)}function fa(t,e,n,i){ma(t.x,e,lp,n?n.x:void 0,i?i.x:void 0),ma(t.y,e,up,n?n.y:void 0,i?i.y:void 0)}function pa(t){return t.translate===0&&t.scale===1}function Bl(t){return pa(t.x)&&pa(t.y)}function ha(t,e){return t.min===e.min&&t.max===e.max}function cp(t,e){return ha(t.x,e.x)&&ha(t.y,e.y)}function da(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function jl(t,e){return da(t.x,e.x)&&da(t.y,e.y)}function ga(t){return et(t.x)/et(t.y)}function ya(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}function Ct(t){return[t("x"),t("y")]}function mp(t,e,n){let i="",r=t.x.translate/e.x,o=t.y.translate/e.y,s=n?.z||0;if((r||o||s)&&(i=`translate3d(${r}px, ${o}px, ${s}px) `),(e.x!==1||e.y!==1)&&(i+=`scale(${1/e.x}, ${1/e.y}) `),n){let{transformPerspective:l,rotate:c,pathRotation:p,rotateX:f,rotateY:m,skewX:
1h,skewY:d}=n;l&&(i=`perspective(${l}px) ${i}`),c&&(i+=`rotate(${c}deg) `),p&&(i+=`rotate(${p}deg) `),f&&(i+=`rotateX(${f}deg) `),m&&(i+=`rotateY(${m}deg) `),h&&(i+=`skewX(${h}deg) `),d&&(i+=`skewY(${d}deg) `)}let a=t.x.scale*e.x,u=t.y.scale*e.y;return(a!==1||u!==1)&&(i+=`scale(${a}, ${u})`),i||"none"}function pp(t,e,n,i,r,o){r?(t.opacity=F(0,n.opacity??1,hp(i)),t.opacityExit=F(e.opacity??1,0,dp(i))):o&&(t.opacity=F(e.opacity??1,n.opacity??1,i));for(let s=0;s<fp;s++){let a=ai[s],u=wa(e,a),l=wa(n,a);u===void 0&&l===void 0||(u||(u=0),l||(l=0),u===0||l===0||xa(u)===xa(l)?(t[a]=Math.max(F(va(u),va(l),i),0),(Et.test(l)||Et.test(u))&&(t[a]+="%")):t[a]=l)}(e.rotate||n.rotate)&&(t.rotate=F(e.rotate||0,n.rotate||0,i))}function wa(t,e){return t[e]!==void 0?t[e]:t.borderRadius}function Fl(t,e,n){return i=>i<t?0:i>e?1:n(vt(t,e,i))}function go(t,e,n){let i=N(t)?t:xt(t);return i.start(en("",i,e,n)),i.animation}function jt(t,e,n,i={passive:!0}){return t.addEventListener(e,n,i),()=>t.removeEventListener(e,n,i)}function _l(t,e){let n=mt.now(),i=({timestamp:r})=>{let o=r-n;o>=e&&(ft(i),t(o-e))};return B.setup(i,!0),()=>ft(i)}function we(t){return N(t)?t.get():t}function dr(t,e,n,i){let{latestValues:r}=e;r[t]&&(n[t]=r[t],e.setStaticValue(t,0),i&&(i[t]=0))}function Hl(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;let{visualElement:e}=t.options;if(!e)return;let n=Qr(e);if(window.MotionHasOptimisedAnimation(n,"transform")){let{layout:r,layoutId:o}=t.options;window.MotionCancelOptimisedAnimation(n,"transform",B,!(r||o))}let{parent:i}=t;i&&!i.hasCheckedOptimisedAppear&&Hl(i)}function Nl({attachResizeListener:t,defaultParent:e,measureScroll:n,checkIsScrollRoot:i,resetTransform:r}){return class{constructor(o={},s=e?.()){this.id=wp++,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.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,de.value&&(ne.nodes=ne.calculatedTargetDeltas=ne.calculatedProjections=0),this.nodes.forEach(Tp),this.nodes.forEach(Vp),this.nodes.forEach(Ip),this.nodes.forEach(Ep),de.addProjectionMetrics&&de.addProjectionMetrics(ne)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=o,this.root=s?s.root||s:this,this.path=s?[...s.path,s]:[],this.parent=s,this.depth=s?s.depth+1:0;for(let a=0;a<this.path.length;a++)this.path[a].shouldResetTransform=!0;this.root===this&&(this.nodes=new yp)}addEventListener(o,s){return this.eventHandlers.has(o)||this.eventHandlers.set(o,new he),this.eventHandlers.get(o).add(s)}notifyListeners(o,...s){let a=this.eventHandlers.get(o);a&&a.notify(...s)}hasListeners(o){return this.eventHandlers.has(o)}mount(o){if(this.instance)return;this.isSVG=on(o)&&!oo(o),this.instance=o;let{layoutId:s,layout:a,visualElement:u}=this.options;if(u&&!u.current&&u.mount(o),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(a||s)&&(this.isLayoutDirty=!0),t){let l,c=0,p=()=>this.root.updateBlockedByResize=!1;B.read(()=>{c=window.innerWidth}),t(o,()=>{let f=window.innerWidth;f!==c&&(c=f,this.root.updateBlockedByResize=!0,l&&l(),l=_l(p,250),qe.hasAnimatedSinceResize&&(qe.hasAnimatedSinceResize=!1,this.nodes.forEach(Ta)))})}s&&this.root.registerSharedNode(s,this),this.options.animate!==!1&&u&&(s||a)&&this.addEventListener("didUpdate",({delta:l,hasLayoutChanged:c,hasRelativeLayoutChanged:p,layout:f})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let m=this.options.transition||u.getDefaultTransition()||Op,{onLayoutAnimationStart:h,onLayoutAnimationComplete:d}=u.getProps(),g=!this.targetLayout||!jl(this.targetLayout,f),v=!c&&p;if(this.options.layoutRoot||this.resumeFrom||v||c&&(g||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let y={...Pe(m,"layout"),onPlay:h,onComplete:d};(u.shouldReduceMotion||this.options.layoutRoot)&&(y.delay=0,y.type=!1),this.startAnimation(y),this.setAnimationOrigin(l,v,y.path)}else c||Ta(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=f})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let o=this.getStack();o&&o.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),ft(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.forEac
1h(kp),this.animationId++)}getTransformTemplate(){let{visualElement:o}=this.options;return o&&o.getProps().transformTemplate}willUpdate(o=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Hl(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let l=0;l<this.path.length;l++){let c=this.path[l];c.shouldResetTransform=!0,(typeof c.latestValues.x=="string"||typeof c.latestValues.y=="string")&&(c.isLayoutDirty=!0),c.updateScroll("snapshot"),c.options.layoutRoot&&c.willUpdate(!1)}let{layoutId:s,layout:a}=this.options;if(s===void 0&&!a)return;let u=this.getTransformTemplate();this.prevTransformTemplateValue=u?u(this.latestValues,""):void 0,this.updateSnapshot(),o&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){let s=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),s&&this.nodes.forEach(Cp),this.nodes.forEach(ba);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(Sa);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(Mp),this.nodes.forEach(Ap),this.nodes.forEach(bp),this.nodes.forEach(Sp)):this.nodes.forEach(Sa),this.clearAllSnapshots();let o=mt.now();tt.delta=J(0,1e3/60,o-tt.timestamp),tt.timestamp=o,tt.isProcessing=!0,sr.update.process(tt),sr.preRender.process(tt),sr.render.process(tt),tt.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,nn.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(Pp),this.sharedNodes.forEach(Rp)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,B.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){B.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!et(this.snapshot.measuredBox.x)&&!et(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 a=0;a<this.path.length;a++)this.path[a].updateScroll();let o=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=X()),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:s}=this.options;s&&s.notify("LayoutMeasure",this.layout.layoutBox,o?o.layoutBox:void 0)}updateScroll(o="measure"){let s=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===o&&(s=!1),s&&this.instance){let a=i(this.instance);this.scroll={animationId:this.root.animationId,phase:o,isRoot:a,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:a}}}resetTransform(){if(!r)return;let o=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,s=this.projectionDelta&&!Bl(this.projectionDelta),a=this.getTransformTemplate(),u=a?a(this.latestValues,""):void 0,l=u!==this.prevTransformTemplateValue;o&&this.instance&&(s||ee(this.latestValues)||l)&&(r(this.instance,u),this.shouldResetTransform=!1,this.scheduleRender())}measure(o=!0){let s=this.measurePageBox(),a=this.removeElementScroll(s);return o&&(a=this.removeTransform(a)),Bp(a),{animationId:this.root.animationId,measuredBox:s,layoutBox:a,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:o}=this.options;if(!o)return X();let s=o.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(jp))){let{scroll:a}=this.root;a&&(Vt(s.x,a.offset.x),Vt(s.y,a.offset.y))}return s}removeElementScroll(o){let s=X();if(St(s,o),this.scroll?.wasRoot)return s;for(let a=0;a<this.path.length;a++){let u=this.path[a],{scroll:l,options:c}=u;u!==this.root&&l&&c.layoutScroll&&(l.wasRoot&&St(s,o),Vt(s.x,l.offset.x),Vt(s.y,l.offset.y))}return s}applyTransform(o,s=!1,a){let u=a||X();St(u,o);for(let l=0;l<this.path.length;l++){let c=this.path[l];!s&&c.options.layoutScroll&&c.scroll&&c!==c.root&&(Vt(u.x,-c.scroll.offset.x),Vt(u.y,-c.scroll.offset.y)),ee(c.latestValues)&&Gn(u,c.latestValues,c.layout?.layoutBox)}return ee(this.latestValues)&&Gn(u,this.latestValues,this.layout?.layoutBox),u}removeTransform(o){let s=X();St(s,o);for(let a=0;a<this.path.length;a++){let u=this.path[a];if(!ee(u.latestValues))continue;let l;u.instance&&(Dr(u.latestValues)&&u.updateSnapshot(),l=X(),St(l,u.measurePageBox())),fa(s,u.latestValues,u.snapshot?.layoutBox,l)}return ee(this.latestValues)&&fa(s,this.latestValues),s}setTargetDelta(o){this.targetDelta=o,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(o){this.options={...this.options,...o,crossfade:o.crossfade!==void 0?o.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!==tt.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(o=!1){let s=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=s.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=s.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=s.isS
1haredProjectionDirty);let a=!!this.resumingFrom||this!==s;if(!(o||a&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:u,layoutId:l}=this.options;if(!this.layout||!(u||l))return;this.resolvedRelativeTargetAt=tt.timestamp;let c=this.getClosestProjectingParent();c&&this.linkedParentVersion!==c.layoutVersion&&!c.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&c&&c.layout?this.createRelativeTarget(c,this.layout.layoutBox,c.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=X(),this.targetWithTransforms=X()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),sp(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):St(this.target,this.layout.layoutBox),Tl(this.target,this.targetDelta)):St(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&c&&!!c.resumingFrom==!!this.resumingFrom&&!c.options.layoutScroll&&c.target&&this.animationProgress!==1?this.createRelativeTarget(c,this.target,c.target):this.relativeParent=this.relativeTarget=void 0),de.value&&ne.calculatedTargetDeltas++)}getClosestProjectingParent(){if(!(!this.parent||Dr(this.parent.latestValues)||Sl(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(o,s,a){this.relativeParent=o,this.linkedParentVersion=o.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=X(),this.relativeTargetOrigin=X(),Kn(this.relativeTargetOrigin,s,a,this.options.layoutAnchor||void 0),St(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let o=this.getLead(),s=!!this.resumingFrom||this!==o,a=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(a=!1),s&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(a=!1),this.resolvedRelativeTargetAt===tt.timestamp&&(a=!1),a)return;let{layout:u,layoutId:l}=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||l))return;St(this.layoutCorrected,this.layout.layoutBox);let c=this.treeScale.x,p=this.treeScale.y;Hf(this.layoutCorrected,this.treeScale,this.path,s),o.layout&&!o.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(o.target=o.layout.layoutBox,o.targetWithTransforms=X());let{target:f}=o;if(!f){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(sa(this.prevProjectionDelta.x,this.projectionDelta.x),sa(this.prevProjectionDelta.y,this.projectionDelta.y)),Ke(this.projectionDelta,this.layoutCorrected,f,this.latestValues),(this.treeScale.x!==c||this.treeScale.y!==p||!ya(this.projectionDelta.x,this.prevProjectionDelta.x)||!ya(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",f)),de.value&&ne.calculatedProjections++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(o=!0){if(this.options.visualElement?.scheduleRender(),o){let s=this.getStack();s&&s.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=ve(),this.projectionDelta=ve(),this.projectionDeltaWithTransform=ve()}setAnimationOrigin(o,s=!1,a){let u=this.snapshot,l=u?u.latestValues:{},c={...this.latestValues}
1,p=ve();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!s;let f=X(),m=u?u.source:void 0,h=this.layout?this.layout.source:void 0,d=m!==h,g=this.getStack(),v=!g||g.members.length<=1,y=!!(d&&!v&&this.options.crossfade===!0&&!this.path.some(Lp));this.animationProgress=0;let b,M=a?.interpolateProjection(o);this.mixTargetDelta=D=>{let k=D/1e3,T=M?.(k);T?(p.x.translate=T.x,p.x.scale=F(o.x.scale,1,k),p.x.origin=o.x.origin,p.x.originPoint=o.x.originPoint,p.y.translate=T.y,p.y.scale=F(o.y.scale,1,k),p.y.origin=o.y.origin,p.y.originPoint=o.y.originPoint):(Ea(p.x,o.x,k),Ea(p.y,o.y,k)),this.setTargetDelta(p),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Kn(f,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),Dp(this.relativeTarget,this.relativeTargetOrigin,f,k),b&&cp(this.relativeTarget,b)&&(this.isProjectionDirty=!1),b||(b=X()),St(b,this.relativeTarget)),d&&(this.animationValues=c,pp(c,l,this.latestValues,k,y,v)),T&&T.rotate!==void 0&&(this.animationValues||(this.animationValues=c),this.animationValues.pathRotation=T.rotate),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=k},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(o){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(ft(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=B.update(()=>{qe.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=xt(0)),this.motionValue.jump(0,!1),this.currentAnimation=go(this.motionValue,[0,1e3],{...o,velocity:0,isSync:!0,onUpdate:s=>{this.mixTargetDelta(s),o.onUpdate&&o.onUpdate(s)},onComplete:()=>{o.onComplete&&o.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);let o=this.getStack();o&&o.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(xp),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let o=this.getLead(),{targetWithTransforms:s,target:a,layout:u,latestValues:l}=o;if(!(!s||!a||!u)){if(this!==o&&this.layout&&u&&Gl(this.options.animationType,this.layout.layoutBox,u.layoutBox)){a=this.target||X();let c=et(this.layout.layoutBox.x);a.x.min=o.target.x.min,a.x.max=a.x.min+c;let p=et(this.layout.layoutBox.y);a.y.min=o.target.y.min,a.y.max=a.y.min+p}St(s,a),Gn(s,l),Ke(this.projectionDeltaWithTransform,this.layoutCorrected,s,l)}}registerSharedNode(o,s){this.sharedNodes.has(o)||this.sharedNodes.set(o,new vp),this.sharedNodes.get(o).add(s);let a=s.options.initialPromotionConfig;s.promote({transition:a?a.transition:void 0,preserveFollowOpacity:a&&a.shouldPreserveFollowOpacity?a.shouldPreserveFollowOpacity(s):void 0})}isLead(){let o=this.getStack();return o?o.lead===this:!0}getLead(){let{layoutId:o}=this.options;return o?this.getStack()?.lead||this:this}getPrevLead(){let{layoutId:o}=this.options;return o?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:o}=this.options;if(o)return this.root.sharedNodes.get(o)}promote({needsReset:o,transition:s,preserveFollowOpacity:a}={}){let u=this.getStack();u&&u.promote(this,a),o&&(this.projectionDelta=void 0,this.needsReset=!0),s&&this.setOptions({transition:s})}relegate(){let o=this.getStack();return o?o.relegate(this):!1}resetSkewAndRotation(){let{visualElement:o}=this.options;if(!o)return;let s=!1,{latestValues:a}=o;if((a.z||a.rotate||a.rotateX||a.rotateY||a.rotateZ||a.skewX||a.skewY)&&(s=!0),!s)return;let u={};a.z&&dr("z",o,u,this.animationValues);for(let l=0;l<hr.length;l++)dr(`rotate${hr[l]}`,o,u,this.animationValues),dr(`skew${hr[l]}`,o,u,this.animationValues);o.render();for(let l in u)o.setStaticValue(l,u[l]),this.animationValues&&(this.animationValues[l]=u[l]);o.scheduleRender()}applyProjectionStyles(o,s){if(!this.instance||this.isSVG)return;if(!this.isVisible){o.visibility="hidden";return}let a=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,o.visibility="",o.opacity="",o.pointerEvents=we(s?.pointerEvents)||"",o.transform=a?a(this.latestValues,""):"none";return}let u=this.getLead();if(!this.projectionDelta||!this.layout||!u.target){this.options.layoutId&&(o.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,o.pointerEvents=we(s?.pointerEvents)||""),this.hasProjected&&!ee(this.latestValues)&&(o.transform=a?a({},""):"none",this.hasProjected=!1);return}o.visibility="";let l=u.animationValues||u.latestValues;this.applyTransformsToTarget();let c=mp(this.projectionDeltaWithTransform,this.treeScale,l);a&&(c=a(l,c)),o.transform=c;let{x:p,y:f}=this.projectionDelta;o.transformOrigin=`${p.origin*100}% ${f.origin*100}% 0`,u.animationValues?o.opacity=u===this?l.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:l.opacityExit:o.opacity=u===this?l.opacity!==void 0?l.opacity:"":l.opacityExit!==void 0?l.opacityExit:0;for(let m in Or){if(l[m]===void 0)continue;let{correct:h,applyTo:d,isCSSVariable:g}=Or[m],v=c==="none"?l[m]:h(l[m],u);if(d){let y=d.length;for(let b=0;b<y;b++)o[d[b]]=v}
1else g?this.options.visualElement.renderState.vars[m]=v:o[m]=v}this.options.layoutId&&(o.pointerEvents=u===this?we(s?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(o=>o.currentAnimation?.stop()),this.root.nodes.forEach(ba),this.root.sharedNodes.clear()}}}function bp(t){t.updateLayout()}function Sp(t){let e=t.resumeFrom?.snapshot||t.snapshot;if(t.isLead()&&t.layout&&e&&t.hasListeners("didUpdate")){let{layoutBox:n,measuredBox:i}=t.layout,{animationType:r}=t.options,o=e.source!==t.layout.source;if(r==="size")Ct(c=>{let p=o?e.measuredBox[c]:e.layoutBox[c],f=et(p);p.min=n[c].min,p.max=p.min+f});else if(r==="x"||r==="y"){let c=r==="x"?"y":"x";Br(o?e.measuredBox[c]:e.layoutBox[c],n[c])}else Gl(r,e.layoutBox,n)&&Ct(c=>{let p=o?e.measuredBox[c]:e.layoutBox[c],f=et(n[c]);p.max=p.min+f,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[c].max=t.relativeTarget[c].min+f)});let s=ve();Ke(s,n,e.layoutBox);let a=ve();o?Ke(a,t.applyTransform(i,!0),e.measuredBox):Ke(a,n,e.layoutBox);let u=!Bl(s),l=!1;if(!t.resumeFrom){let c=t.getClosestProjectingParent();if(c&&!c.resumeFrom){let{snapshot:p,layout:f}=c;if(p&&f){let m=t.options.layoutAnchor||void 0,h=X();Kn(h,e.layoutBox,p.layoutBox,m);let d=X();Kn(d,n,f.layoutBox,m),jl(h,d)||(l=!0),c.options.layoutRoot&&(t.relativeTarget=d,t.relativeTargetOrigin=h,t.relativeParent=c)}}}t.notifyListeners("didUpdate",{layout:n,snapshot:e,delta:a,layoutDelta:s,hasLayoutChanged:u,hasRelativeLayoutChanged:l})}else if(t.isLead()){let{onExitComplete:n}=t.options;n&&n()}t.options.transition=void 0}function Tp(t){de.value&&ne.nodes++,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 Ep(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function Pp(t){t.clearSnapshot()}function ba(t){t.clearMeasurements()}function Cp(t){t.isLayoutDirty=!0,t.updateLayout()}function Sa(t){t.isLayoutDirty=!1}function Mp(t){t.isAnimationBlocked&&t.layout&&!t.isLayoutDirty&&(t.snapshot=t.layout,t.isLayoutDirty=!0)}function Ap(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function Ta(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function Vp(t){t.resolveTargetDelta()}function Ip(t){t.calcProjection()}function kp(t){t.resetSkewAndRotation()}function Rp(t){t.removeLeadSnapshot()}function Ea(t,e,n){t.translate=F(e.translate,0,n),t.scale=F(e.scale,1,n),t.origin=e.origin,t.originPoint=e.originPoint}function Pa(t,e,n,i){t.min=F(e.min,n.min,i),t.max=F(e.max,n.max,i)}function Dp(t,e,n,i){Pa(t.x,e.x,n.x,i),Pa(t.y,e.y,n.y,i)}function Lp(t){return t.animationValues&&t.animationValues.opacityExit!==void 0}function Aa(t){t.min=Ma(t.min),t.max=Ma(t.max)}function Bp(t){Aa(t.x),Aa(t.y)}function Gl(t,e,n){return t==="position"||t==="preserve-aspect"&&!op(ga(e),ga(n),.2)}function jp(t){return t!==t.root&&t.scroll?.wasRoot}var Ue,Ec,B,ft,tt,sr,jn,mt,Ia,ka,Cc,jr,Mc,Ee,Je,Bn,Ye,Fr,Vc,_r,Ra,Ic,ar,ie,gr,tn,Ot,Et,A,Rc,Dc,Vs,ge,Q,Lc,Da,La,Bc,jc,Is,Fc,Nc,Gc,Pt,F,ur,Uc,zc,Rs,yr,Zc,Jc,Fa,K,Qc,cr,nm,im,lm,cm,mm,Ur,fm,$n,re,wr,pm,br,Ls,Os,Bs,hm,dm,Ut,Bt,js,ym,vm,Wt,oe,Er,Pr,Cr,Yr,Xr,bm,qr,Wa,$a,ze,Fs,Qn,Ya,mr,Pm,_s,Zr,Am,Im,km,Dm,Lm,Om,ti,Ns,Xa,Gs,Bm,Te,xe,jm,Fm,_m,Hm,Nm,Gm,en,$m,zm,Ja,Ar,N,tl,ri,qm,Qm,el,nl,$s,ef,rf,Ir,kr,Us,of,Qe,sf,il,af,lf,cf,ai,mf,Vg,to,Un,pf,Rr,kg,Rg,df,yf,io,Lg,xf,Og,nn,bf,Tt,pl,rn,Tf,Pf,Fn,Cf,Xs,_n,Hn,gl,Mf,Af,Nn,ye,de,Of,Bf,Ks,ve,qs,X,Yt,so,ao,zn,uo,Ff,Zs,Yn,fi,wl,lt,ta,ea,Nf,Gf,$e,Wf,Or,di,Al,zf,Yf,Vl,Il,po,gi,qf,Zf,Jf,Ll,ep,np,Ol,ip,rp,lp,up,fp,va,xa,hp,dp,gp,yp,vp,qe,ne,hr,xp,wp,Op,Ca,Ma,Fp,Ze,yi,Kg,Wl=P(()=>{x();x();x();x();x();x();x();x();x();x();x();x();x();x();x();x();x();x();x();x();x();x();x();x();x();x();x();x();x();x();x();x();x();x();x();x();x();x();x();x();x();x();x();x();x();Ue=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];Ec=40;({schedule:B,cancel:ft,state:tt,steps:sr}=Va(typeof requestAnimationFrame<"u"?requestAnimationFrame:Y,!0));mt={now:()=>(jn===void 0&&mt.set(tt.isProcessing||at.useManualTiming?tt.timestamp:performance.now()),jn),set:t=>{jn=t,queueMicrotask(Pc)}},Ia=t=>e=>typeof e=="string"&&e.startsWith(t),ka=Ia("--"),Cc=Ia("var(--"),jr=t=>Cc(t)?Mc.test(t.split("/*")[0].trim()):!1,Mc=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;Ee={test:t=>typeof t=="number",parse:parseFloat,transform:t=>t},Je={...Ee,transform:t=>J(0,1,t)},Bn={...Ee,default:1},Ye=t=>Math.round(t*1e5)/1e5,Fr=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;Vc=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,_r=(t,e)=>n=>!!(typeof n=="string"&&Vc.test(n)&&n.startsWith(t)||e&&!Ac(n)&&Object.prototype.hasOwnProperty.call(n,e)),Ra=(t,e,n)=>i=>
1{if(typeof i!="string")return i;let[r,o,s,a]=i.match(Fr);return{[t]:parseFloat(r),[e]:parseFloat(o),[n]:parseFloat(s),alpha:a!==void 0?parseFloat(a):1}},Ic=t=>J(0,255,t),ar={...Ee,transform:t=>Math.round(Ic(t))},ie={test:_r("rgb","red"),parse:Ra("red","green","blue"),transform:({red:t,green:e,blue:n,alpha:i=1})=>"rgba("+ar.transform(t)+", "+ar.transform(e)+", "+ar.transform(n)+", "+Ye(Je.transform(i))+")"};gr={test:_r("#"),parse:kc,transform:ie.transform},tn=t=>({test:e=>typeof e=="string"&&e.endsWith(t)&&e.split(" ").length===1,parse:parseFloat,transform:e=>`${e}${t}`}),Ot=tn("deg"),Et=tn("%"),A=tn("px"),Rc=tn("vh"),Dc=tn("vw"),Vs={...Et,parse:t=>Et.parse(t)/100,transform:t=>Et.transform(t*100)},ge={test:_r("hsl","hue"),parse:Ra("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:n,alpha:i=1})=>"hsla("+Math.round(t)+", "+Et.transform(Ye(e))+", "+Et.transform(Ye(n))+", "+Ye(Je.transform(i))+")"},Q={test:t=>ie.test(t)||gr.test(t)||ge.test(t),parse:t=>ie.test(t)?ie.parse(t):ge.test(t)?ge.parse(t):gr.parse(t),transform:t=>typeof t=="string"?t:t.hasOwnProperty("red")?ie.transform(t):ge.transform(t),getAnimatableNone:t=>{let e=Q.parse(t);return e.alpha=0,Q.transform(e)}},Lc=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;Da="number",La="color",Bc="var",jc="var(",Is="${}",Fc=/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;Nc=t=>typeof t=="number"?0:Q.test(t)?Q.getAnimatableNone(t):t,Gc=(t,e)=>typeof t=="number"?e?.trim().endsWith("/")?t:0:Nc(t);Pt={test:Oc,parse:_c,createTransformer:Hc,getAnimatableNone:Wc};F=(t,e,n)=>t+(e-t)*n,ur=(t,e,n)=>{let i=t*t,r=n*(e*e-i)+i;return r<0?0:Math.sqrt(r)},Uc=[gr,ie,ge],zc=t=>Uc.find(e=>e.test(t));Rs=(t,e)=>{let n=ks(t),i=ks(e);if(!n||!i)return Wn(t,e);let r={...n};return o=>(r.red=ur(n.red,i.red,o),r.green=ur(n.green,i.green,o),r.blue=ur(n.blue,i.blue,o),r.alpha=F(n.alpha,i.alpha,o),ie.transform(r))},yr=new Set(["none","hidden"]);Zc=(t,e)=>{let n=Pt.createTransformer(e),i=be(t),r=be(e);return i.indexes.var.length===r.indexes.var.length&&i.indexes.color.length===r.indexes.color.length&&i.indexes.number.length>=r.indexes.number.length?yr.has(t)&&!r.values.length||yr.has(e)&&!i.values.length?Yc(t,e):At(Ba(qc(i,r),r.values),n):(bt(!0,`Complex values '${t}' and '${e}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),Wn(t,e))};Jc=t=>{let e=({timestamp:n})=>t(n);return{start:(n=!0)=>B.update(e,n),stop:()=>ft(e),now:()=>tt.isProcessing?tt.timestamp:mt.now()}},Fa=(t,e,n=10)=>{let i="",r=Math.max(Math.round(e/n),2);for(let o=0;o<r;o++)i+=Math.round(t(o/(r-1))*1e4)/1e4+", ";return`linear(${i.substring(0,i.length-2)})`};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};Qc=12;cr=.001;nm=["duration","bounce"],im=["stiffness","damping","mass"];Se.applyToOptions=t=>{let e=Gr(t,100,Se);return t.ease=e.ease,t.duration=U(e.duration),t.type="keyframes",t};lm=5;cm=t=>t!==null;mm={decay:xr,inertia:xr,tween:Xe,keyframes:Xe,spring:Se};Ur=class{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,e){return this.finished.then(t,e)}},fm=t=>t/100,$n=class extends Ur{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{let{motionValue:e}=this.options;e&&e.updatedAt!==mt.now()&&this.tick(mt.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},this.options=t,this.initAnimation(),this.play(),t.autoplay===!1&&this.pause()}initAnimation(){let{options:t}=this;_a(t);let{type:e=Xe,repeat:n=0,repeatDelay:i=0,repeatType:r,velocity:o=0}=t,{keyframes:s}=t,a=e||Xe;a!==Xe&&typeof s[0]!="number"&&(this.mixKeyframes=At(fm,ja(s[0],s[1])),s=[0,100]);let u=a({...t,keyframes:s}
1);r==="mirror"&&(this.mirroredGenerator=a({...t,keyframes:[...s].reverse(),velocity:-o})),u.calculatedDuration===null&&(u.calculatedDuration=Nr(u));let{calculatedDuration:l}=u;this.calculatedDuration=l,this.resolvedDuration=l+i,this.totalDuration=this.resolvedDuration*(n+1)-i,this.generator=u}updateTime(t){let e=Math.round(t-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=e}tick(t,e=!1){let{generator:n,totalDuration:i,mixKeyframes:r,mirroredGenerator:o,resolvedDuration:s,calculatedDuration:a}=this;if(this.startTime===null)return n.next(0);let{delay:u=0,keyframes:l,repeat:c,repeatType:p,repeatDelay:f,type:m,onUpdate:h,finalKeyframe:d}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-i/this.speed,this.startTime)),e?this.currentTime=t:this.updateTime(t);let g=this.currentTime-u*(this.playbackSpeed>=0?1:-1),v=this.playbackSpeed>=0?g<0:g>i;this.currentTime=Math.max(g,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=i);let y=this.currentTime,b=n;if(c){let T=Math.min(this.currentTime,i)/s,L=Math.floor(T),R=T%1;!R&&T>=1&&(R=1),R===1&&L--,L=Math.min(L,c+1),L%2&&(p==="reverse"?(R=1-R,f&&(R-=f/s)):p==="mirror"&&(b=o)),y=J(0,1,R)*s}let M;v?(this.delayState.value=l[0],M=this.delayState):M=b.next(y),r&&!v&&(M.value=r(M.value));let{done:D}=M;!v&&a!==null&&(D=this.playbackSpeed>=0?this.currentTime>=i:this.currentTime<=0);let k=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&D);return k&&m!==xr&&(M.value=Zn(l,this.options,d,this.speed)),h&&h(M.value),k&&this.finish(),M}then(t,e){return this.finished.then(t,e)}get duration(){return it(this.calculatedDuration)}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+it(t)}get time(){return it(this.currentTime)}set time(t){t=U(t),this.currentTime=t,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=t,this.tick(t))}getGeneratorVelocity(){let t=this.currentTime;if(t<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(t);let e=this.generator.next(t).value;return um(n=>this.generator.next(n).value,t,e)}get speed(){return this.playbackSpeed}set speed(t){let e=this.playbackSpeed!==t;e&&this.driver&&this.updateTime(mt.now()),this.playbackSpeed=t,e&&this.driver&&(this.time=it(this.currentTime))}play(){if(this.isStopped)return;let{driver:t=Jc,startTime:e}=this.options;this.driver||(this.driver=t(i=>this.tick(i))),this.options.onPlay?.();let n=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=n):this.holdTime!==null?this.startTime=n-this.holdTime:this.startTime||(this.startTime=e??n),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(mt.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(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),t.observe(this)}};re=t=>t*180/Math.PI,wr=t=>{let e=re(Math.atan2(t[1],t[0]));return br(e)},pm={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:wr,rotateZ:wr,skewX:t=>re(Math.atan(t[1])),skewY:t=>re(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},br=t=>(t=t%360,t<0&&(t+=360),t),Ls=wr,Os=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),Bs=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),hm={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Os,scaleY:Bs,scale:t=>(Os(t)+Bs(t))/2,rotateX:t=>br(re(Math.atan2(t[6],t[5]))),rotateY:t=>br(re(Math.atan2(-t[2],t[0]))),rotateZ:Ls,rotate:Ls,skewX:t=>re(Math.atan(t[4])),skewY:t=>re(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};dm=(t,e)=>{let{transform:n="none"}=getComputedStyle(t);return Tr(n,e)};Ut=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Bt=new Set([...Ut,"pathRotation"]),js=t=>t===Ee||t===A,ym=new Set(["x","y","z"]),vm=Ut.filter(t=>!ym.has(t));Wt={width:({x:t},{paddingLeft:e="0",paddingRight:n="0",boxSizing:i})=>{let r=t.max-t.min;return i==="border-box"?r:r-parseFloat(e)-parseFloat(n)},height:({y:t},{paddingTop:e="0",paddingBottom:n="0",boxSizing:i})=>{let r=t.max-t.min;return i==="border-box"?r:r-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})=>Tr(e,"x"),y:(t,{transform:e})=>Tr(e,"y")};Wt.translateX=Wt.x;Wt.translateY=Wt.y;oe=new Set,Er=!1,Pr=!1,Cr=!1;Yr=class{constructor(t,e,n,i,r,o=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=n,this.motionValue=i,this.element=r,this.isAsync=o}scheduleResolve(){this.state="scheduled",this.isAsync?(oe.add(this),Er||(Er=!0,B.read(Na),B.resolveKeyframes(Ha))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:e,element:n,motionValue:i}=this;if(t[0]===null){let r=i?.get(),o=t[t.length-1];if(r!==void 0)t[0]=r;else if(n&&e){let s=n.readValue(e,o);s!=null&&(t[0]=s)}t[0]===void 0&&(t[0]=o),i&&r===void 0&&i.set(t[0])}zr(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),oe.delete(this)}cancel(){this.state==="scheduled"&&(oe.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}},Xr=t=>t.startsWith("--");bm={};qr=Kr(()=>window.ScrollTimeline!==void 0,"scrollTimeline"),Wa=Kr(()=>window.ViewTimeline!==void 0,"viewTimeline"),$a=Kr(()=>{try{document.createElement("div").animate({opacity:0}
1,{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),ze=([t,e,n,i])=>`cubic-bezier(${t}, ${e}, ${n}, ${i})`,Fs={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:ze([0,.65,.55,1]),circOut:ze([.55,0,1,.45]),backIn:ze([.31,.01,.66,-.59]),backOut:ze([.33,1.53,.69,.99])};Qn=class extends Ur{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;let{element:e,name:n,keyframes:i,pseudoElement:r,allowFlatten:o=!1,finalKeyframe:s,onComplete:a}=t;this.isPseudoElement=!!r,this.allowFlatten=o,this.options=t,W(typeof t.type!="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");let u=Sm(t);this.animation=za(e,n,i,u,r),u.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!r){let l=Zn(i,this.options,s,this.speed);this.updateMotionValue&&this.updateMotionValue(l),Ga(e,n,l),this.animation.cancel()}a?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,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;let{state:t}=this;t==="idle"||t==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){let t=this.options?.element;!this.isPseudoElement&&t?.isConnected&&this.animation.commitStyles?.()}get duration(){let t=this.animation.effect?.getComputedTiming?.().duration||0;return it(Number(t))}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+it(t)}get time(){return it(Number(this.animation.currentTime)||0)}set time(t){let e=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=U(t),e&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(t){this.manualStartTime=this.animation.startTime=t}attachTimeline({timeline:t,rangeStart:e,rangeEnd:n,observe:i}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&qr()?(this.animation.timeline=t,e&&(this.animation.rangeStart=e),n&&(this.animation.rangeEnd=n),Y):i(this)}},Ya={anticipate:tr,backInOut:Qi,circInOut:ir};mr=10,Pm=class extends Qn{constructor(t){Em(t),_a(t),super(t),t.startTime!==void 0&&t.autoplay!==!1&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){let{motionValue:e,onUpdate:n,onComplete:i,element:r,...o}=this.options;if(!e)return;if(t!==void 0){e.set(t);return}let s=new $n({...o,autoplay:!1}),a=Math.max(mr,mt.now()-this.startTime),u=J(0,mr,a-mr),l=s.sample(a).value,{name:c}=this.options;r&&c&&Ga(r,c,l),e.setWithVelocity(s.sample(Math.max(0,a-u)).value,l,u),s.stop()}},_s=(t,e)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(Pt.test(t)||t==="0")&&!t.startsWith("url("));Zr=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),Am=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;Im=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),km=pe(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));Dm=40,Lm=class extends Ur{constructor({autoplay:t=!0,delay:e=0,type:n="keyframes",repeat:i=0,repeatDelay:r=0,repeatType:o="loop",keyframes:s,name:a,motionValue:u,element:l,...c}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=mt.now();let p={autoplay:t,delay:e,type:n,repeat:i,repeatDelay:r,repeatType:o,name:a,motionValue:u,element:l,...c},f=l?.KeyframeResolver||Yr;this.keyframeResolver=new f(s,(m,h,d)=>this.onKeyframesResolved(m,h,p,!d),a,u,l),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,e,n,i){this.keyframeResolver=void 0;let{name:r,type:o,velocity:s,delay:a,isHandoff:u,onUpdate:l}=n;this.resolvedAt=mt.now();let c=!0;Mm(t,r,o,s)||(c=!1,(at.instantAnimations||!a)&&l?.(Zn(t,n,e)),t[0]=t[t.length-1],Mr(n),n.repeat=0);let p={startTime:i?this.resolvedAt?this.resolvedAt-this.createdAt>Dm?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:e,...n,keyframes:t},f=c&&!u&&Rm(p),m=p.motionValue?.owner?.current,h;if(f)try{h=new Pm({...p,element:m})}catch{h=new $n(p)}else h=new $n(p);h.finished.then(()=>{this.notifyFinished()}).catch(Y),this.pendingTimeline&&(this.stopTimeline=h.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=h}get finished(){return this._animation?this.animation.finished:this._finished}then(t,e){return this.finished.finally(t).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),wm()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}},Om=class{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}get finished(){return Promise.all(this.animations.map(t=>t.finished))}getAll(t){return this.animations[0][t]}setAll(t,e){for(let n=0;n<this.animations.length;n++)this.animations[n][t]=e}attachTimeline(t){let e=this.animations.map(n=>n.attachTimeline(t));return()=>{e.forEach((n,i)=>{n&&n(),this.animations[i].stop()})}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get state(){return this.getAll("state")}get startTime(){return this.getAll("startTime")}get duration(){return Hs(this.animations,"duration")}get iterationDuration(){return Hs(this.animations,"iterationDuration")}
1runAll(t){this.animations.forEach(e=>e[t]())}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}};ti=class extends Om{then(t,e){return this.finished.finally(t).then(()=>{})}},Ns=new WeakMap,Xa=(t,e="")=>`${t}:${e}`;Gs=30,Bm=t=>!isNaN(parseFloat(t)),Te={current:void 0},xe=class{constructor(t,e={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=n=>{let i=mt.now();if(this.updatedAt!==i&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(n),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let r of this.dependents)r.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=e.owner}setCurrent(t){this.current=t,this.updatedAt=mt.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=Bm(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,e){this.events[t]||(this.events[t]=new he);let n=this.events[t].add(e);return t==="change"?()=>{n(),B.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,e,n){this.set(e),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-n}jump(t,e=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,e&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return Te.current&&Te.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let t=mt.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>Gs)return 0;let e=Math.min(this.updatedAt-this.prevUpdatedAt,Gs);return Ge(parseFloat(this.current)-parseFloat(this.prevFrameValue),e)}start(t){return this.stop(),new Promise(e=>{this.hasAnimated=!0,this.animation=t(e),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()}};jm={type:"spring",stiffness:500,damping:25,restSpeed:10},Fm=t=>({type:"spring",stiffness:550,damping:t===0?2*Math.sqrt(550):30,restSpeed:10}),_m={type:"keyframes",duration:.8},Hm={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Nm=(t,{keyframes:e})=>e.length>2?_m:Bt.has(t)?t.startsWith("scale")?Fm(e[1]):jm:Hm,Gm=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);en=(t,e,n,i={},r,o)=>s=>{let a=Pe(i,t)||{},u=a.delay||i.delay||0,{elapsed:l=0}=i;l=l-U(u);let c={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:e.getVelocity(),...a,delay:-l,onUpdate:f=>{e.set(f),a.onUpdate&&a.onUpdate(f)},onComplete:()=>{s(),a.onComplete&&a.onComplete()},name:t,motionValue:e,element:o?void 0:r};Wm(a)||Object.assign(c,Nm(t,c)),c.duration&&(c.duration=U(c.duration)),c.repeatDelay&&(c.repeatDelay=U(c.repeatDelay)),c.from!==void 0&&(c.keyframes[0]=c.from);let p=!1;if((c.type===!1||c.duration===0&&!c.repeatDelay)&&(Mr(c),c.delay===0&&(p=!0)),(at.instantAnimations||at.skipAnimations||r?.shouldSkipAnimations||a.skipAnimations)&&(p=!0,Mr(c),c.delay=0),c.allowFlatten=!a.type&&!a.ease,p&&!o&&e.get()!==void 0){let f=Zn(c.keyframes,a);if(f!==void 0){B.update(()=>{c.onUpdate(f),c.onComplete()});return}}return a.isSync?new $n(c):new Lm(c)},$m=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;zm=4;Ja=new Set(["width","height","top","left","right","bottom",...Ut]),Ar=t=>Array.isArray(t);N=t=>!!(t&&t.getVelocity);tl="framerAppearId",ri="data-"+ii(tl);qm=typeof window<"u";Qm={test:t=>t==="auto",parse:t=>t},el=t=>e=>e.test(t),nl=[Ee,A,Et,Ot,Dc,Rc,Qm],$s=t=>
1nl.find(el(t));ef=new Set(["brightness","contrast","saturate","opacity"]);rf=/\b([a-z-]*)\(.*?\)/gu,Ir={...Pt,getAnimatableNone:t=>{let e=t.match(rf);return e?e.map(nf).join(" "):t}},kr={...Pt,getAnimatableNone:t=>{let e=Pt.parse(t);return Pt.createTransformer(t)(e.map(n=>typeof n=="number"?0:typeof n=="object"?{...n,alpha:1}:n))}},Us={...Ee,transform:Math.round},of={rotate:Ot,pathRotation:Ot,rotateX:Ot,rotateY:Ot,rotateZ:Ot,scale:Bn,scaleX:Bn,scaleY:Bn,scaleZ:Bn,skew:Ot,skewX:Ot,skewY:Ot,distance:A,translateX:A,translateY:A,translateZ:A,x:A,y:A,z:A,perspective:A,transformPerspective:A,opacity:Je,originX:Vs,originY:Vs,originZ:A},Qe={borderWidth:A,borderTopWidth:A,borderRightWidth:A,borderBottomWidth:A,borderLeftWidth:A,borderRadius: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,inset:A,insetBlock:A,insetBlockStart:A,insetBlockEnd:A,insetInline:A,insetInlineStart:A,insetInlineEnd:A,padding:A,paddingTop:A,paddingRight:A,paddingBottom:A,paddingLeft:A,paddingBlock:A,paddingBlockStart:A,paddingBlockEnd:A,paddingInline:A,paddingInlineStart:A,paddingInlineEnd:A,margin:A,marginTop:A,marginRight:A,marginBottom:A,marginLeft:A,marginBlock:A,marginBlockStart:A,marginBlockEnd:A,marginInline:A,marginInlineStart:A,marginInlineEnd:A,fontSize:A,backgroundPositionX:A,backgroundPositionY:A,...of,zIndex:Us,fillOpacity:Je,strokeOpacity:Je,numOctaves:Us},sf={...Qe,color:Q,backgroundColor:Q,outlineColor:Q,fill:Q,stroke:Q,borderColor:Q,borderTopColor:Q,borderRightColor:Q,borderBottomColor:Q,borderLeftColor:Q,filter:Ir,WebkitFilter:Ir,mask:kr,WebkitMask:kr},il=t=>sf[t],af=new Set([Ir,kr]);lf=new Set(["auto","none","0"]);cf=class extends Yr{constructor(t,e,n,i,r){super(t,e,n,i,r,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:e,name:n}=this;if(!e||!e.current)return;super.readKeyframes();for(let l=0;l<t.length;l++){let c=t[l];if(typeof c=="string"&&(c=c.trim(),jr(c))){let p=Za(c,e.current);p!==void 0&&(t[l]=p),l===t.length-1&&(this.finalKeyframe=c)}}if(this.resolveNoneKeyframes(),!Ja.has(n)||t.length!==2)return;let[i,r]=t,o=$s(i),s=$s(r),a=As(i),u=As(r);if(a!==u&&Wt[n]){this.needsMeasurement=!0;return}if(o!==s)if(js(o)&&js(s))for(let l=0;l<t.length;l++){let c=t[l];typeof c=="string"&&(t[l]=parseFloat(c))}else Wt[n]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:e}=this,n=[];for(let i=0;i<t.length;i++)(t[i]===null||tf(t[i]))&&n.push(i);n.length&&uf(t,n,e)}measureInitialState(){let{element:t,unresolvedKeyframes:e,name:n}=this;if(!t||!t.current)return;n==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Wt[n](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;let i=e[e.length-1];i!==void 0&&t.getValue(n,i).jump(i,!1)}measureEndState(){let{element:t,name:e,unresolvedKeyframes:n}=this;if(!t||!t.current)return;let i=t.getValue(e);i&&i.jump(this.measuredOrigin,!1);let r=n.length-1,o=n[r];n[r]=Wt[e](t.measureViewportBox(),window.getComputedStyle(t.current)),o!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=o),this.removedTransforms?.length&&this.removedTransforms.forEac
1h(([s,a])=>{t.getValue(s).set(a)}),this.resolveNoneKeyframes()}},ai=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],mf=new Set(["borderWidth","borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth","borderRadius",...ai,"width","maxWidth","height","maxHeight","top","right","bottom","left","inset","insetBlock","insetBlockStart","insetBlockEnd","insetInline","insetInlineStart","insetInlineEnd","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingBlock","paddingBlockStart","paddingBlockEnd","paddingInline","paddingInlineStart","paddingInlineEnd","margin","marginTop","marginRight","marginBottom","marginLeft","marginBlock","marginBlockStart","marginBlockEnd","marginInline","marginInlineStart","marginInlineEnd","fontSize","backgroundPositionX","backgroundPositionY"]);Vg=pe(()=>{try{document.createElement("div").animate({opacity:[1]})}catch{return!1}return!0}),to=[];Un=(t,e)=>e&&typeof t=="number"?e.transform(t):t,pf=class{constructor(t=B.render){this.step=t,this.latest={},this.values=new Map}set(t,e,n,i,r=!0){let o=this.values.get(t);o&&o.onRemove();let s=()=>{let l=e.get();r?this.latest[t]=Un(l,Qe[t]):this.latest[t]=l,n&&this.step(n)};s();let a=e.on("change",s);i&&e.addDependent(i);let u=()=>{a(),n&&ft(n),this.values.delete(t),i&&e.removeDependent(i)};return this.values.set(t,{value:e,onRemove:u}),u}get(t){return this.values.get(t)?.value}};Rr=(t,e,n,i)=>{let r=hf(t,n),o=r?n:n.startsWith("data")||n.startsWith("aria")?ii(n):n,s=r?()=>{t[o]=e.latest[n]}:()=>{let a=e.latest[n];a==null?t.removeAttribute(o):t.setAttribute(o,String(a))};return e.set(n,i,s)},kg=no(li(Rr)),Rg=li((t,e,n,i)=>e.set(n,i,()=>{t[n]=e.latest[n]},void 0,!1));df={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"};yf=new Set(["originX","originY","originZ"]),io=(t,e,n,i)=>{let r,o;return Bt.has(n)?(e.get("transform")||(!ui(t)&&!e.get("transformBox")&&io(t,e,"transformBox",new xe("fill-box")),e.set("transform",new xe("none"),()=>{t.style.transform=gf(e)})),o=e.get("transform")):yf.has(n)?(e.get("transformOrigin")||e.set("transformOrigin",new xe(""),()=>{let s=e.latest.originX??"50%",a=e.latest.originY??"50%",u=e.latest.originZ??0;t.style.transformOrigin=`${s} ${a} ${u}`}),o=e.get("transformOrigin")):Xr(n)?r=()=>{t.style.setProperty(n,e.latest[n])}:r=()=>{t.style[n]=e.latest[n]},e.set(n,i,r,o)},Lg=no(li(io));xf=(t,e,n,i)=>n.startsWith("path")?vf(t,e,n,i):n.startsWith("attr")?Rr(t,e,wf(n),i):(n in t.style?io:Rr)(t,e,n,i),Og=no(li(xf));({schedule:nn,cancel:bf}=Va(queueMicrotask,!1)),Tt={x:!1,y:!1};pl=(t,e)=>e?t===e?!0:pl(t,e.parentElement):!1,rn=t=>t.pointerType==="mouse"?typeof t.button!="number"||t.button<=0:t.isPrimary!==!1,Tf=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);Pf=new Set(["INPUT","SELECT","TEXTAREA"]);Fn=new WeakSet;Cf=(t,e)=>{let n=t.currentTarget;if(!n)return;let i=zs(()=>{if(Fn.has(n))return;fr(n,"down");let r=zs(()=>{fr(n,"up")}),o=()=>fr(n,"cancel");n.addEventListener("keyup",r,e),n.addEventListener("blur",o,e)});n.addEventListener("keydown",i,e),n.addEventListener("blur",()=>n.removeEventListener("keydown",i),e)};Xs=new WeakSet;_n=new WeakMap,gl=(t,e,n)=>(i,r)=>r&&r[0]?r[0][t+"Size"]:on(i)&&"getBBox"in i?i.getBBox()[e]:i[n],Mf=gl("inline","width","offsetWidth"),Af=gl("block","height","offsetHeight");Nn=new Set;de={value:null,addProjectionMetrics:null};Of=[...nl,Q,Pt],Bf=t=>Of.find(el(t)),Ks=()=>({translate:0,scale:1,origin:0,originPoint:0}),ve=()=>({x:Ks(),y:Ks()}),qs=()=>({min:0,max:0}),X=()=>({x:qs(),y:qs()}),Yt=new WeakMap;so=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],ao=["initial",...so];zn={current:null},uo={current:!1},Ff=typeof window<"u";Zs=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],Yn={};fi=class{scrapeMotionValuesFromProps(t,e,n){return{}}constructor({parent:t,props:e,presenceContext:n,reducedMotionConfig:i,skipAnimations:r,blockInitialAnimation:o,visualState:s},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=Yr,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,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=()=>{let f=mt.now();this.renderScheduledAt<f&&(this.renderScheduledAt=f,B.render(this.render,!1,!0))};let{latestValues:u,renderState:l}=s;this.latestValues=u,this.baseTarget={...u},this.initialValues=e.initial?{...u}:{},this.renderState=l,this.parent=t,this.props=e,this.presenceContext=n,this.depth=t?t.depth+1:0,this.reducedMotionConfig=i,this.skipAnimationsConfig=r,this.options=a,this.blockInitialAnimation=!!o,this.isControllingVariants=Ae(e),this.isVariantNode=lo(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);let{willChange:c,...p}=this.scrapeMotionValuesFromProps(e,{},this);for(let f in p){let m=p[f];u[f]!==void 0&&N(m)&&m.set(u[f])}}mount(t){if(this.hasBeenMounted)for(let e in this.initialValues)this.values.get(e)?.jump(this.initialValues[e]),this.latestValues[e]=this.initialValues[e];this.current=t,Yt.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEac
1h((e,n)=>this.bindToMotionValue(n,e)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(uo.current||vl(),this.shouldReduceMotion=zn.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){this.projection&&this.projection.unmount(),ft(this.notifyUpdate),ft(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(let t in this.events)this.events[t].clear();for(let t in this.features){let e=this.features[t];e&&(e.unmount(),e.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,e){if(this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)(),e.accelerate&&Zr.has(t)&&this.current instanceof HTMLElement){let{factory:o,keyframes:s,times:a,ease:u,duration:l}=e.accelerate,c=new Qn({element:this.current,name:t,keyframes:s,times:a,ease:u,duration:U(l)}),p=o(c);this.valueSubscriptions.set(t,()=>{p(),c.cancel()});return}let n=Bt.has(t);n&&this.onBindTransform&&this.onBindTransform();let i=e.on("change",o=>{this.latestValues[t]=o,this.props.onUpdate&&B.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()}),r;typeof window<"u"&&window.MotionCheckAppearSync&&(r=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{i(),r&&r()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in Yn){let e=Yn[t];if(!e)continue;let{isEnabled:n,Feature:i}=e;if(!this.features[t]&&i&&n(this.props)&&(this.features[t]=new i(this)),this.features[t]){let r=this.features[t];r.isMounted?r.update():(r.mount(),r.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):X()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,e){this.latestValues[t]=e}update(t,e){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=e;for(let n=0;n<Zs.length;n++){let i=Zs[n];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);let r="on"+i,o=t[r];o&&(this.propEventSubscriptions[i]=this.on(i,o))}this.prevMotionValues=jf(this,this.scrapeMotionValuesFromProps(t,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]: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(t){let e=this.getClosestVariantNode();if(e)return e.variantChildren&&e.variantChildren.add(t),()=>e.variantChildren.delete(t)}addValue(t,e){let n=this.values.get(t);e!==n&&(n&&this.removeValue(t),this.bindToMotionValue(t,e),this.values.set(t,e),this.latestValues[t]=e.get())}removeValue(t){this.values.delete(t);let e=this.valueSubscriptions.get(t);e&&(e(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,e){if(this.props.values&&this.props.values[t])return this.props.values[t];let n=this.values.get(t);return n===void 0&&e!==void 0&&(n=xt(e===null?void 0:e,{owner:this}),this.addValue(t,n)),n}readValue(t,e){let n=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options);
1return n!=null&&(typeof n=="string"&&(Vn(n)||kn(n))?n=parseFloat(n):!Bf(n)&&Pt.test(e)&&(n=rl(t,e)),this.setBaseTarget(t,N(n)?n.get():n)),N(n)?n.get():n}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){let{initial:e}=this.props,n;if(typeof e=="string"||typeof e=="object"){let r=ei(this.props,e,this.presenceContext?.custom);r&&(n=r[t])}if(e&&n!==void 0)return n;let i=this.getBaseTargetFromProps(this.props,t);return i!==void 0&&!N(i)?i:this.initialValues[t]!==void 0&&n===void 0?void 0:this.baseTarget[t]}on(t,e){return this.events[t]||(this.events[t]=new he),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}scheduleRenderMicrotask(){nn.render(this.render)}},wl=class extends fi{constructor(){super(...arguments),this.KeyframeResolver=cf}sortInstanceNodePosition(t,e){return t.compareDocumentPosition(e)&2?1:-1}getBaseTargetFromProps(t,e){let n=t.style;return n?n[e]:void 0}removeValueFromRenderState(t,{vars:e,style:n}){delete e[t],delete n[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;N(t)&&(this.childSubscription=t.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}},lt=class{constructor(t){this.isMounted=!1,this.node=t}update(){}};ta=.999999999999,ea=1.0000000000001;Nf={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Gf=Ut.length;$e={correct:(t,e)=>{if(!e.target)return t;if(typeof t=="string")if(A.test(t))t=parseFloat(t);else return t;let n=ra(t,e.target.x),i=ra(t,e.target.y);return`${n}% ${i}%`}},Wf={correct:(t,{treeScale:e,projectionDelta:n})=>{let i=t,r=Pt.parse(t);if(r.length>5)return i;let o=Pt.createTransformer(t),s=typeof r[0]!="number"?1:0,a=n.x.scale*e.x,u=n.y.scale*e.y;r[0+s]/=a,r[1+s]/=u;let l=F(a,u,.5);return typeof r[2+s]=="number"&&(r[2+s]/=l),typeof r[3+s]=="number"&&(r[3+s]/=l),o(r)}},Or={borderRadius:{...$e,applyTo:[...ai]},borderTopLeftRadius:$e,borderTopRightRadius:$e,borderBottomLeftRadius:$e,borderBottomRightRadius:$e,boxShadow:Wf};di=class extends wl{constructor(){super(...arguments),this.type="html",this.renderInstance=Ml}mount(t){W(!!t.style,"motion.create() components must forward their ref to a HTML or SVG element","custom-component-ref"),super.mount(t)}readValueFromInstance(t,e){if(Bt.has(e))return this.projection?.isProjecting?Sr(e):dm(t,e);{let n=$f(t),i=(ka(e)?n.getPropertyValue(e):n[e])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:e}){return El(t,e)}build(t,e,n){pi(t,e,n.transformTemplate)}scrapeMotionValuesFromProps(t,e,n){return hi(t,e,n)}};Al=class extends fi{constructor(){super(...arguments),this.type="object"}readValueFromInstance(t,e){if(Uf(e,t)){let n=t[e];if(typeof n=="string"||typeof n=="number")return n}}getBaseTargetFromProps(){}removeValueFromRenderState(t,e){delete e.output[t]}measureInstanceViewportBox(){return X()}build(t,e){Object.assign(t.output,e)}renderInstance(t,{output:e}){Object.assign(t,e)}sortInstanceNodePosition(){return 0}},zf={offset:"stroke-dashoffset",array:"stroke-dasharray"},Yf={offset:"strokeDashoffset",array:"strokeDasharray"};Vl=["transform","opacity","offsetDistance","offsetPath","offsetRotate","offsetAnchor"];Il=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"]),po=t=>typeof t=="string"&&t.toLowerCase()==="svg";gi=class extends wl{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=X}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(Bt.has(e)){let n=il(e);return n&&n.default||0}if(Vl.includes(e)){let n=getComputedStyle(t)[e];if(typeof n=="string"&&n)return n.trim()}return e=Il.has(e)?e:ii(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,n){return ho(t,e,n)}
1build(t,e,n){fo(t,e,this.isSVGTag,n.transformTemplate,n.style)}renderInstance(t,e,n,i){Kf(t,e,n,i)}mount(t){this.isSVGTag=po(t.tagName),super.mount(t)}},qf=ao.length;Zf=[...so].reverse(),Jf=so.length;Ll=1e-4,ep=1-Ll,np=1+Ll,Ol=.01,ip=0-Ol,rp=0+Ol;lp=["x","scaleX","originX"],up=["y","scaleY","originY"];fp=ai.length,va=t=>typeof t=="string"?parseFloat(t):t,xa=t=>typeof t=="number"||A.test(t);hp=Fl(0,.5,nr),dp=Fl(.5,.95,Y);gp=(t,e)=>t.depth-e.depth,yp=class{constructor(){this.children=[],this.isDirty=!1}add(t){Ne(this.children,t),this.isDirty=!0}remove(t){gt(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(gp),this.isDirty=!1,this.children.forEach(t)}};vp=class{constructor(){this.members=[]}add(t){Ne(this.members,t);for(let e=this.members.length-1;e>=0;e--){let n=this.members[e];if(n===t||n===this.lead||n===this.prevLead)continue;let i=n.instance;(!i||i.isConnected===!1)&&!n.snapshot&&(gt(this.members,n),n.unmount())}t.scheduleRender()}remove(t){if(gt(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(t){for(let e=this.members.indexOf(t)-1;e>=0;e--){let n=this.members[e];if(n.isPresent!==!1&&n.instance?.isConnected!==!1)return this.promote(n),!0}return!1}promote(t,e){let n=this.lead;if(t!==n&&(this.prevLead=n,this.lead=t,t.show(),n)){n.updateSnapshot(),t.scheduleRender();let{layoutDependency:i}=n.options,{layoutDependency:r}=t.options;(i===void 0||i!==r)&&(t.resumeFrom=n,e&&(n.preserveOpacity=!0),n.snapshot&&(t.snapshot=n.snapshot,t.snapshot.latestValues=n.animationValues||n.latestValues),t.root?.isUpdating&&(t.isLayoutDirty=!0)),t.options.crossfade===!1&&n.hide()}}exitAnimationComplete(){this.members.forEach(t=>{t.options.onExitComplete?.(),t.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(t=>t.instance&&t.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}},qe={hasAnimatedSinceResize:!0,hasEverUpdated:!1},ne={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},hr=["","X","Y","Z"],xp=1e3,wp=0;Op={duration:.45,ease:[.4,0,.1,1]},Ca=t=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),Ma=Ca("applewebkit/")&&!Ca("chrome/")?Math.round:Y;Fp=Nl({attachResizeListener:(t,e)=>jt(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),Ze={current:void 0},yi=Nl({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!Ze.current){let t=new Fp({});t.mount(window),t.setOptions({layoutScroll:!0}),Ze.current=t}return Ze.current},resetTransform:(t,e)=>{t.style.transform=e!==void 0?e:"none"},checkIsScrollRoot:t=>window.getComputedStyle(t).position==="fixed"}),Kg=Ue.reduce((t,e)=>(t[e]=n=>ft(n),t),{})});var E=P(()=>{x();Wl()});function sn(t){return typeof t=="object"&&!Array.isArray(t)}var yo=P(()=>{});function vi(t,e,n,i){return t==null?[]:typeof t=="string"&&sn(e)?zt(t,n,i):t instanceof NodeList?Array.from(t):Array.isArray(t)?t.filter(r=>r!=null):[t]}var vo=P(()=>{E();yo()});function _p(t,e,n){return t*(e+1)+n*e}function $l(t,e,n,i){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))):i.get(e)??t}function Hp(t,e,n){for(let i=0;i<t.length;i++){let r=t[i];r.at>e&&r.at<n&&(gt(t,r),i--)}}function Np(t,e,n,i,r,o){Hp(t,r,o);for(let s=0;s<e.length;s++)t.push({value:e[s],at:F(r,o,i[s]),easing:Dn(n,s)})}function Gp(t,e,n=0){let i=e+1+e*n;for(let r=0;r<t.length;r++)t[r]=t[r]/i}function Wp(t,e){return t.at===e.at?t.value===null?1:e.value===null?-1:0:t.at-e.at}function Yl(t,{defaultTransition:e={},...n}={},i,r){let o=e.duration||.3,s=new Map,a=new Map,u={},l=new Map,c=0,p=0,f=0;for(let m=0;m<t.length;m++){let h=t[m];if(typeof h=="string"){l.set(h,p);continue}else if(!Array.isArray(h)){l.set(h.name,$l(p,h.at,c,l));continue}let[d,g,v={}]=h;v.at!==void 0&&(p=$l(p,v.at,c,l));let y=0,b=(M,D,k,T=0,L=0)=>
1{let R=Up(M),{delay:rt=0,times:z=qn(R),type:ot=e.type||"keyframes",repeat:Z,repeatType:Nt,repeatDelay:ut=0,...Jt}=D,{ease:H=e.ease||"easeOut",duration:$}=D,Mt=typeof rt=="function"?rt(T,L):rt,Dt=R.length,Sn=Jn(ot)?ot:r?.[ot||"keyframes"];if(Dt<=2&&Sn){let ce=100;if(Dt===2&&Xp(R)){let je=R[1]-R[0];ce=Math.abs(je)}let me={...e,...Jt};$!==void 0&&(me.duration=U($));let Tn=Gr(me,ce,Sn);H=Tn.ease,$=Tn.duration}$??($=o);let is=p+Mt;z.length===1&&z[0]===0&&(z[1]=1);let rs=z.length-R.length;if(rs>0&&$r(z,rs),R.length===1&&R.unshift(null),Z&&bt(Z<xo,`Sequence segments can't repeat ${Z} times \u2014 ignoring repeat option. Use a value below ${xo} or apply repeat at the sequence level instead.`),Z&&Z<xo){let ce=$>0?ut/$:0;$=_p($,Z,ut);let me=[...R],Tn=[...z];H=Array.isArray(H)?[...H]:[H];let je=[...H],ss=Nt==="reverse"||Nt==="mirror",as=me,ls=je;ss&&(as=[...me].reverse(),Nt==="reverse"&&(ls=[...je].reverse().map(Gt=>typeof Gt=="function"?Rn(Gt):Gt)));for(let Gt=0;Gt<Z;Gt++){let us=ss&&Gt%2===0,cs=us?as:me,mc=us?ls:je,ms=(Gt+1)*(1+ce);ce>0&&(R.push(R[R.length-1]),z.push(ms),H.push("linear")),R.push(...cs);for(let Fe=0;Fe<cs.length;Fe++)z.push(Tn[Fe]+ms),H.push(Fe===0?"linear":Dn(mc,Fe-1))}Gp(z,Z,ce)}let os=is+$;Np(k,R,H,z,is,os),y=Math.max(Mt+$,y),f=Math.max(os,f)};if(N(d)){let M=Ul(d,a);b(g,v,zl("default",M))}else{let M=vi(d,g,i,u),D=M.length;for(let k=0;k<D;k++){g=g,v=v;let T=M[k],L=Ul(T,a);for(let R in g)b(g[R],zp(v,R),zl(R,L),k,D)}}c=p,p+=y}return a.forEach((m,h)=>{for(let d in m){let g=m[d];g.sort(Wp);let v=[],y=[],b=[];for(let T=0;T<g.length;T++){let{at:L,value:R,easing:rt}=g[T];v.push(R),y.push(vt(0,f,L)),b.push(rt||"easeOut")}y[0]!==0&&(y.unshift(0),v.unshift(v[0]),b.unshift($p)),y[y.length-1]!==1&&(y.push(1),v.push(null)),s.has(h)||s.set(h,{keyframes:{},transition:{}});let M=s.get(h);M.keyframes[d]=v;let{type:D,...k}=e;M.transition[d]={...k,duration:f,ease:b,times:y,...n}}}),s}function Ul(t,e){return!e.has(t)&&e.set(t,{}),e.get(t)}function zl(t,e){return e[t]||(e[t]=[]),e[t]}function Up(t){return Array.isArray(t)?t:[t]}function zp(t,e){return t&&t[e]?{...t,...t[e]}:{...t}}var $p,xo,Yp,Xp,Xl=P(()=>{E();x();vo();E();x();$p="easeInOut",xo=20;Yp=t=>typeof t=="number",Xp=t=>t.every(Yp)});function Kp(t){let e={presenceContext:null,props:{},visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{}}},n=on(t)&&!oo(t)?new gi(e):new di(e);n.mount(t),Yt.set(t,n)}function qp(t){let e={presenceContext:null,props:{},visualState:{renderState:{output:{}},latestValues:{}}},n=new Al(e);n.mount(t),Yt.set(t,n)}function Zp(t,e){return N(t)||typeof t=="number"||typeof t=="string"&&!sn(e)}function Kl(t,e,n,i){let r=[];if(Zp(t,e))r.push(go(t,sn(e)&&e.default||e,n&&(n.default||n)));else{if(t==null)return r;let o=vi(t,e,i),s=o.length;W(!!s,"No valid elements provided.","no-valid-elements");for(let a=0;a<s;a++){let u=o[a],l={...n};"delay"in l&&typeof l.delay=="function"&&(l.delay=l.delay(a,s));let c=u instanceof Element,p=c?void 0:al(u);if(p){r.push(...ll(p,u,e,l));continue}let f=c?Kp:qp;Yt.has(u)||f(u);let m=Yt.get(u);r.push(...oi(m,{...e,transition:l},{}))}}return r}function Jp(t,e,n){let i=[],r=t.map(o=>{if(Array.isArray(o)&&typeof o[0]=="function"){let s=o[0],a=xt(0);return a.on("change",s),o.length===1?[a,[0,1]]:o.length===2?[a,[0,1],o[1]]:[a,o[1],o[2]]}return o});return Yl(r,e,n,{spring:Se}).forEach(({keyframes:o,transition:s},a)=>{i.push(...Kl(a,o,s))}),i}function Qp(t){return Array.isArray(t)&&t.some(Array.isArray)}function wo(t={}){let{scope:e,reduceMotion:n,skipAnimations:i}=t;function r(o,s,a){let u=[],l,c={};if(n!==void 0&&(c.reduceMotion=n),i!==void 0&&(c.skipAnimations=i),Qp(o)){let{onComplete:f,...m}=s||{};typeof f=="function"&&(l=f),u=Jp(o,{...c,...m},e)}else{let{onComplete:f,...m}=a||{};typeof f=="function"&&(l=f),u=Kl(o,s,{...c,...m},e)}let p=new ti(u);return l&&p.finished.then(l),e&&(e.animations.push(p),p.finished.then(()=>{gt(e.animations,p)})),p}return r}var th,xi=P(()=>{E();x();E();Xl();E();x();E();yo();vo();th=Object.assign(wo(),{addEffect:sl,removeEffect:eo})});function ql(t,e,n,i){if(t==null)return[];let r=zt(t,i),o=r.length;W(!!o,"No valid elements provided.","no-valid-elements");let s=[];for(let u=0;u<o;u++){let l=r[u],c={...n};typeof c.delay=="function"&&(c.delay=c.delay(u,o));for(let p in e){let f=e[p];Array.isArray(f)||(f=[f]);let m={...Pe(c,p)};m.duration&&(m.duration=U(m.duration)),m.delay&&(m.delay=U(m.delay));let h=Ka(l),d=Xa(p,m.pseudoElement||""),g=h.get(d);g&&g.stop(),s.push({map:h,key:d,unresolvedKeyframes:f,options:{...m,element:l,name:p,allowFlatten:!c.type&&!c.ease}})}}for(let u=0;u<s.length;u++){let{unresolvedKeyframes:l,options:c}=s[u],{element:p,name:f,pseudoElement:m}=c;!m&&l[0]===null&&(l[0]=ro(p,f)),zr(l),ol(l,f),!m&&l.length<2&&l.unshift(ro(p,f)),c.keyframes=l}let a=[];for(let u=0;u<s.length;u++){let{map:l,key:c,options:p}=s[u],f=new Qn(p);l.set(c,f),f.finished.finally(()=>l.delete(c)),a.push(f)}return a}var Zl=P(()=>{E();x()});var Jl,eh,wi=P(()=>{E();Zl();Jl=t=>{function e(n,i,r){return new ti(ql(n,i,r,t))}return e},eh=Jl()});function q(t){let e=w(null);return e.current===null&&(e.current=t()),e.current}var nt=P(()=>{"use client";C()});var an=P(()=>{"use client";C()});var bo=P(()=>{"use client";nt();an();wi()});var Ft,Xt=P(()=>{"use client";C();Ft=st(null)});function bi(t=!0){let e=_(Ft);if(e===null)return[!0,null];let{isPresent:n,onExitComplete:i,register:r}=e,o=Mn();V(()=>
1{if(t)return r(o)},[t]);let s=Lt(()=>t&&i&&i(o),[o,i,t]);return!n&&i?[!1,s]:[!0]}var ln=P(()=>{"use client";C();Xt()});var se,ae=P(()=>{"use client";C();se=st({})});var un,cn=P(()=>{"use client";C();un=st({strict:!1})});var yt,wt=P(()=>{"use client";C();yt=st({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"})});var It,Kt=P(()=>{"use client";C();It=st({})});var mn,fn=P(()=>{"use client";C();mn=st({})});function _t(t){return{point:{x:t.pageX,y:t.pageY}}}var So,qt=P(()=>{E();So=t=>e=>rn(e)&&t(e,_t(e))});function Ht(t,e,n,i){return jt(t,e,So(n),i)}var Ve=P(()=>{E();qt()});var nh,ih,rh,le,Ie=P(()=>{E();E();nh=class extends lt{constructor(t){super(t),t.animationState||(t.animationState=Dl(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();Ce(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:e}=this.node.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}},ih=0,rh=class extends lt{constructor(){super(...arguments),this.id=ih++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:e}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===n)return;if(t&&n===!1){if(this.isExitComplete){let{initial:r,custom:o}=this.node.getProps();if(typeof r=="string"||typeof r=="object"&&r!==null&&!Array.isArray(r)){let s=$t(this.node,r,o);if(s){let{transition:a,transitionEnd:u,...l}=s;for(let c in l)this.node.getValue(c)?.jump(l[c])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}let i=this.node.animationState.setActive("exit",!t);e&&!t&&i.then(()=>{this.isExitComplete=!0,e(this.id)})}mount(){let{register:t,onExitComplete:e}=this.node.presenceContext||{};
1e&&e(this.id),t&&(this.unmount=t(this.id))}unmount(){}},le={animation:{Feature:nh},exit:{Feature:rh}}});function Zt(t){return t&&typeof t=="object"&&Object.prototype.hasOwnProperty.call(t,"current")}var To=P(()=>{});function Po(t,e){let n=Eo(t.x,e.x),i=Eo(t.y,e.y);return Math.sqrt(n**2+i**2)}var Eo,Si=P(()=>{Eo=(t,e)=>Math.abs(t-e)});function Ti(t){let[e,n]=bi(),i=_(se);return S(oh,{...t,layoutGroup:i,switchLayoutGroup:_(mn),isPresent:e,safeToRemove:n})}var Co,oh,Mo=P(()=>{"use client";O();E();C();ln();ae();fn();Co=!1,oh=class extends Xi{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:n,layoutId:i}=this.props,{projection:r}=t;r&&(e.group&&e.group.add(r),n&&n.register&&i&&n.register(r),Co&&r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),qe.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:n,drag:i,isPresent:r}=this.props,{projection:o}=n;return o&&(o.isPresent=r,t.layoutDependency!==e&&o.setOptions({...o.options,layoutDependency:e}),Co=!0,i||t.layoutDependency!==e||e===void 0||t.isPresent!==r?o.willUpdate():this.safeToRemove(),t.isPresent!==r&&(r?o.promote():o.relegate()||B.postRender(()=>{let s=o.getStack();(!s||!s.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){let{visualElement:t,layoutAnchor:e}=this.props,{projection:n}=t;n&&(n.options.layoutAnchor=e,n.root.didUpdate(),nn.postRender(()=>{!n.currentAnimation&&n.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:n}=this.props,{projection:i}=t;Co=!0,i&&(i.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(i),n&&n.deregister&&n.deregister(i))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}}});function Ei(t,e){return e?{point:e(t.point)}:t}function eu(t,e){return{x:t.x-e.x,y:t.y-e.y}}function Ao({point:t},e){return{point:t,delta:eu(t,uu(e)),offset:eu(t,sh(e)),velocity:ah(e,.1)}}function sh(t){return t[0]}function uu(t){return t[t.length-1]}function ah(t,e){if(t.length<2)return{x:0,y:0};let n=t.length-1,i=null,r=uu(t);for(;n>=0&&(i=t[n],!(r.timestamp-i.timestamp>U(e)));)n--;if(!i)return{x:0,y:0};i===t[0]&&t.length>2&&r.timestamp-i.timestamp>U(e)*2&&(i=t[1]);let o=it(r.timestamp-i.timestamp);if(o===0)return{x:0,y:0};let s={x:(r.x-i.x)/o,y:(r.y-i.y)/o};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}function lh(t,{min:e,max:n},i){return e!==void 0&&t<e?t=i?F(e,t,i.min):Math.max(t,e):n!==void 0&&t>n&&(t=i?F(n,t,i.max):Math.min(t,n)),t}function nu(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 uh(t,{top:e,left:n,bottom:i,right:r}){return{x:nu(t.x,n,r),y:nu(t.y,e,i)}}function iu(t,e){let n=e.min-t.min,i=e.max-t.max;return e.max-e.min<t.max-t.min&&([n,i]=[i,n]),{min:n,max:i}}function ch(t,e){return{x:iu(t.x,e.x),y:iu(t.y,e.y)}}function mh(t,e){let n=.5,i=et(t),r=et(e);return r>i?n=vt(e.min,e.max-i,t.min):i>r&&(n=vt(t.min,t.max-r,e.min)),J(0,1,n)}function fh(t,e){let n={};return e.min!==void 0&&(n.min=e.min-t.min),e.max!==void 0&&(n.max=e.max-t.min),n}function ph(t=Io){return t===!1?t=0:t===!0&&(t=Io),{x:ru(t,"left","right"),y:ru(t,"top","bottom")}}function ru(t,e,n){return{min:ou(t,e),max:ou(t,n)}}function ou(t,e){return typeof t=="number"?t:t[e]||0}function su(t){let e=!0;return()=>{if(e){e=!1;return}t()}}function gh(t,e,n){let i=ci(t,su(n)),r=ci(e,su(n));return()=>{i(),r()}}function Pi(t,e,n){return(e===!0||e===t)&&(n===null||n===t)}function yh(t,e=10){let n=null;return Math.abs(t.y)>e?n="y":Math.abs(t.x)>e&&(n="x"),n}var au,tu,lu,Io,hh,dh,vh,Vo,xh,Ci,Mi=P(()=>{E();x();E();x();Ve();qt();To();E();x();Ve();qt();Si();E();x();E();x();Ve();Mo();E();au=({current:t})=>t?t.ownerDocument.defaultView:null,tu=new Set(["auto","scroll"]),lu=class{constructor(t,e,{transformPagePoint:n,contextWindow:i=window,dragSnapToOrigin:r=!1,distanceThreshold:o=3,element:s}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=m=>{this.handleScroll(m.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=Ei(this.lastRawMoveEventInfo,this.transformPagePoint));let m=Ao(this.lastMoveEventInfo,this.history),h=this.startEvent!==null,d=Po(m.offset,{x:0,y:0})>=this.distanceThreshold;if(!h&&!d)return;let{point:g}=m,{timestamp:v}=tt;this.history.push({...g,timestamp:v});let{onStart:y,onMove:b}=this.handlers;h||(y&&y(this.lastMoveEvent,m),this.startEvent=this.lastMoveEvent),b&&b(this.lastMoveEvent,m)},this.handlePointerMove=(m,h)=>{this.lastMoveEvent=m,this.lastRawMoveEventInfo=h,this.lastMoveEventInfo=Ei(h,this.transformPagePoint),B.update(this.updatePoint,!0)},this.handlePointerUp=(m,h)=>{this.end();let{onEnd:d,onSessionEnd:g,resumeAnimation:v}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&v&&v(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let y=Ao(m.type==="pointercancel"?this.lastMoveEventInfo:Ei(h,this.transformPagePoint),this.history);this.startEvent&&d&&d(m,y),g&&g(m,y)},!rn(t))return;this.dragSnapToOrigin=r,this.handlers=e,this.transformPagePoint=n,this.distanceThreshold=o,this.contextWindow=i||window;let a=_t(t),u=Ei(a,this.transformPagePoint),{point:l}=u,{timestamp:c}=tt;this.history=[{...l,timestamp:c}];let{onSessionStart:p}=e;p&&p(t,Ao(u,this.history));let f={passive:!0,capture:!0};this.removeListeners=At(Ht(this.contextWindow,"pointermove",this.handlePointerMove,f),Ht(this.contextWindow,"pointerup",this.handlePointerUp,f),Ht(this.contextWindow,"pointercancel",this.handlePointerUp,f)),s&&this.startScrollTracking(s)}startScrollTracking(t){let e=t.parentElement;for(;e;){let n=getComputedStyle(e);(tu.has(n.overflowX)||tu.has(n.overflowY))&&this.scrollPositions.set(e,{x:e.scrollLeft,y:e.scrollTop}),e=e.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(t){let e=this.scrollPositions.get(t);if(!e)return;let n=t===window,i=n?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},r={x:i.x-e.x,y:i.y-e.y};r.x===0&&r.y===0||(n?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=r.x,this.lastMoveEventInfo.point.y+=r.y):this.history.length>0&&(this.history[0].x-=r.x,this.history[0].y-=r.y),this.scrollPositions.set(t,i),B.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),ft(this.updatePoint)}};Io=.35;hh=new WeakMap,dh=class{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=X(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:e=!1,distanceThreshold:n}={}){let{presenceContext:i}=this.visualElement;if(i&&i.isPresent===!1)return;let r=c=>{e&&this.snapToCursor(_t(c).point),this.stopAnimation()},o=(c,p)=>{let{drag:f,dragPropagation:m,onDragStart:h}=this.getProps();if(f&&!m&&(this.openDragLock&&this.openDragLock(),this.openDragLock=cl(f),!this.openDragLock))return;this.latestPointerEvent=c,this.latestPanInfo=p,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Ct(g=>{let v=this.getAxisMotionValue(g).get()||0;if(Et.test(v)){let{projection:y}=this.visualElement;if(y&&y.layout){let b=y.layout.layoutBox[g];b&&(v=et(b)*(parseFloat(v)/100))}}this.originPoint[g]=v}),h&&B.update(()=>h(c,p),!1,!0),ni(this.visualElement,"transform");let{animationState:d}=this.visualElement;d&&d.setActive("whileDrag",!0)},s=(c,p)=>{this.latestPointerEvent=c,this.latestPanInfo=p;let{dragPropagation:f,dragDirectionLock:m,onDirectionLock:h,onDrag:d}=this.getProps();if(!f&&!this.openDragLock)return;let{offset:g}=p;if(m&&this.currentDirection===null){this.currentDirection=yh(g),this.currentDirection!==null&&h&&h(this.currentDirection);return}this.updateAxis("x",p.point,g),this.updateAxis("y",p.point,g),this.visualElement.render(),d&&B.update(()=>d(c,p),!1,!0)},a=(c,p)=>{this.latestPointerEvent=c,this.latestPanInfo=p,this.stop(c,p),this.latestPointerEvent=null,this.latestPanInfo=null},u=()=>{let{dragSnapToOrigin:c}=this.getProps();(c||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:l}=this.getProps();
1this.panSession=new lu(t,{onSessionStart:r,onStart:o,onMove:s,onSessionEnd:a,resumeAnimation:u},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:l,distanceThreshold:n,contextWindow:au(this.visualElement),element:this.visualElement.current})}stop(t,e){let n=t||this.latestPointerEvent,i=e||this.latestPanInfo,r=this.isDragging;if(this.cancel(),!r||!i||!n)return;let{velocity:o}=i;this.startAnimation(o);let{onDragEnd:s}=this.getProps();s&&B.postRender(()=>s(n,i))}cancel(){this.isDragging=!1;let{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.endPanSession();let{dragPropagation:n}=this.getProps();!n&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),e&&e.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(t,e,n){let{drag:i}=this.getProps();if(!n||!Pi(t,i,this.currentDirection))return;let r=this.getAxisMotionValue(t),o=this.originPoint[t]+n[t];this.constraints&&this.constraints[t]&&(o=lh(o,this.constraints[t],this.elastic[t])),r.set(o)}resolveConstraints(){let{dragConstraints:t,dragElastic:e}=this.getProps(),n=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,i=this.constraints;t&&Zt(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&n?this.constraints=uh(n.layoutBox,t):this.constraints=!1,this.elastic=ph(e),i!==this.constraints&&!Zt(t)&&n&&this.constraints&&!this.hasMutatedConstraints&&Ct(r=>{this.constraints!==!1&&this.getAxisMotionValue(r)&&(this.constraints[r]=fh(n.layoutBox[r],this.constraints[r]))})}resolveRefConstraints(){let{dragConstraints:t,onMeasureDragConstraints:e}=this.getProps();if(!t||!Zt(t))return!1;let n=t.current;W(n!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");let{projection:i}=this.visualElement;if(!i||!i.layout)return!1;i.root&&(i.root.scroll=void 0,i.root.updateScroll());let r=Pl(n,i.root,this.visualElement.getTransformPagePoint()),o=ch(i.layout.layoutBox,r);if(e){let s=e(bl(o));this.hasMutatedConstraints=!!s,s&&(o=co(s))}return o}startAnimation(t){let{drag:e,dragMomentum:n,dragElastic:i,dragTransition:r,dragSnapToOrigin:o,onDragTransitionEnd:s}=this.getProps(),a=this.constraints||{},u=Ct(l=>{if(!Pi(l,e,this.currentDirection))return;let c=a&&a[l]||{};(o===!0||o===l)&&(c={min:0,max:0});let p=i?200:1e6,f=i?40:1e7,m={type:"inertia",velocity:n?t[l]:0,bounceStiffness:p,bounceDamping:f,timeConstant:750,restDelta:1,restSpeed:10,...r,...c};return this.startAxisValueAnimation(l,m)});return Promise.all(u).then(s)}startAxisValueAnimation(t,e){let n=this.getAxisMotionValue(t);return ni(this.visualElement,t),n.start(en(t,n,0,e,this.visualElement,!1))}stopAnimation(){Ct(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){let e=`_drag${t.toUpperCase()}`;return this.visualElement.getProps()[e]||this.visualElement.getValue(t,this.visualElement.latestValues[t]??0)}snapToCursor(t){Ct(e=>{let{drag:n}=this.getProps();if(!Pi(e,n,this.currentDirection))return;let{projection:i}=this.visualElement,r=this.getAxisMotionValue(e);if(i&&i.layout){let{min:o,max:s}=i.layout.layoutBox[e],a=r.get()||0;r.set(t[e]-F(o,s,.5)+a)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:n}=this.visualElement;if(!Zt(e)||!n||!this.constraints)return;this.stopAnimation();let i={x:0,y:0};Ct(o=>{let s=this.getAxisMotionValue(o);if(s&&this.constraints!==!1){let a=s.get();i[o]=mh({min:a,max:a},this.constraints[o])}});let{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.constraints=!1,this.resolveConstraints(),Ct(o=>{if(!Pi(o,t,null))return;let s=this.getAxisMotionValue(o),{min:a,max:u}=this.constraints[o];s.set(F(a,u,i[o]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;hh.set(this.visualElement,this);let t=this.visualElement.current,e=Ht(t,"pointerdown",u=>{let{drag:l,dragListener:c=!0}=this.getProps(),p=u.target,f=p!==t&&hl(p);l&&c&&!f&&this.start(u)}),n,i=()=>{let{dragConstraints:u}=this.getProps();Zt(u)&&u.current&&(this.constraints=this.resolveRefConstraints(),n||(n=gh(t,u.current,()=>this.scalePositionWithinConstraints())))},{projection:r}=this.visualElement,o=r.addEventListener("measure",i);r&&!r.layout&&(r.root&&r.root.updateScroll(),r.updateLayout()),B.read(i);let s=jt(window,"resize",()=>this.scalePositionWithinConstraints()),a=r.addEventListener("didUpdate",(({delta:u,hasLayoutChanged:l})=>{this.isDragging&&l&&(Ct(c=>{let p=this.getAxisMotionValue(c);p&&(this.originPoint[c]+=u[c].translate,p.set(p.get()+u[c].translate))}),this.visualElement.render())}));return()=>{s(),e(),o(),a&&a(),n&&n()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:n=!1,dragPropagation:i=!1,dragConstraints:r=!1,dragElastic:o=Io,dragMomentum:s=!0}=t;return{...t,drag:e,dragDirectionLock:n,dragPropagation:i,dragConstraints:r,dragElastic:o,dragMomentum:s}}};vh=class extends lt{constructor(t){super(t),this.removeGroupControls=Y,this.removeListeners=Y,this.controls=new dh(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Y}update(){let{dragControls:t}=this.node.getProps(),{dragControls:e}=this.node.prevProps||{};t!==e&&(this.removeGroupControls(),t&&(this.removeGroupControls=t.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}},Vo=t=>(e,n)=>{t&&B.update(()=>t(e,n),!1,!0)},xh=class extends lt{constructor(){super(...arguments),this.removePointerDownListener=Y}onPointerDown(t){this.session=new lu(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:au(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:n,onPanEnd:i}=this.node.getProps();return{onSessionStart:Vo(t),onStart:Vo(e),onMove:Vo(n),onEnd:(r,o)=>{delete this.session,i&&B.postRender(()=>i(r,o))}}}mount(){this.removePointerDownListener=Ht(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}},Ci={pan:{Feature:xh},drag:{Feature:vh,ProjectionNode:yi,MeasureLayout:Ti}}});function cu(t,e,n){let{props:i}=t;t.animationState&&i.whileHover&&t.animationState.setActive("whileHover",n==="Start");let r="onHover"+n,o=i[r];o&&B.postRender(()=>o(e,_t(e)))}function mu(t,e,n){let{props:i}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&i.whileTap&&t.animationState.setActive("whileTap",n==="Start");let r="onTap"+(n==="End"?"":n),o=i[r];o&&B.postRender(()=>o(e,_t(e)))}function Ph({root:t,...e}){let n=t||document;ko.has(n)||ko.set(n,{});
1let i=ko.get(n),r=JSON.stringify(e);return i[r]||(i[r]=new IntersectionObserver(Eh,{root:t,...e})),i[r]}function Ch(t,e,n){let i=Ph(e);return Ro.set(t,n),i.observe(t),()=>{Ro.delete(t),i.unobserve(t)}}function Vh({viewport:t={}},{viewport:e={}}={}){return n=>t[n]!==e[n]}var wh,bh,Sh,Ro,ko,Th,Eh,Mh,Ah,Ai,Vi=P(()=>{E();qt();E();x();E();qt();E();wh=class extends lt{mount(){let{current:t}=this.node;t&&(this.unmount=fl(t,(e,n)=>(cu(this.node,n,"Start"),i=>cu(this.node,i,"End"))))}unmount(){}},bh=class extends lt{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!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=At(jt(this.node.current,"focus",()=>this.onFocus()),jt(this.node.current,"blur",()=>this.onBlur()))}unmount(){}};Sh=class extends lt{mount(){let{current:t}=this.node;if(!t)return;let{globalTapTarget:e,propagate:n}=this.node.props;this.unmount=dl(t,(i,r)=>(mu(this.node,r,"Start"),(o,{success:s})=>mu(this.node,o,s?"End":"Cancel")),{useGlobalTarget:e,stopPropagation:n?.tap===!1})}unmount(){}},Ro=new WeakMap,ko=new WeakMap,Th=t=>{let e=Ro.get(t.target);e&&e(t)},Eh=t=>{t.forEach(Th)};Mh={some:0,all:1},Ah=class extends lt{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.stopObserver?.();let{viewport:t={}}=this.node.getProps(),{root:e,margin:n,amount:i="some",once:r}=t,o={root:e?e.current:void 0,rootMargin:n,threshold:typeof i=="number"?i:Mh[i]},s=a=>{let{isIntersecting:u}=a;if(this.isInView===u||(this.isInView=u,r&&!u&&this.hasEnteredView))return;u&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",u);let{onViewportEnter:l,onViewportLeave:c}=this.node.getProps(),p=u?l:c;p&&p(a)};this.stopObserver=Ch(this.node.current,o,s)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;let{props:t,prevProps:e}=this.node;["amount","margin","root"].some(Vh(t,e))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}};Ai={inView:{Feature:Ah},tap:{Feature:Sh},focus:{Feature:bh},hover:{Feature:wh}}});var Ii,ki=P(()=>{E();Mo();Ii={layout:{ProjectionNode:yi,MeasureLayout:Ti}}});function Ih(){if(pu)return;let t={};for(let e in fu)t[e]={isEnabled:n=>fu[e].some(i=>!!n[i])};mi(t),pu=!0}function Ri(){return Ih(),xl()}var fu,pu,Do=P(()=>{E();fu={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"]},pu=!1});function Lo(t){let e=Ri();for(let n in t)e[n]={...e[n],...t[n]};mi(e)}var Di=P(()=>{E();Do()});var ke,Li=P(()=>{ke=()=>({style:{},transform:{},transformOrigin:{},vars:{}})});function Re(t){return t.startsWith("while")||t.startsWith("drag")&&t!=="draggable"||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||kh.has(t)}var kh,Oi=P(()=>{kh=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","propagate","ignoreStrict","viewport"])});function Rh(t,e){return t.startsWith("on")?!Re(t):e?.(t)??!Re(t)}function Oo(t,e,n,i){let r={};for(let o in t)o==="values"&&typeof t.values=="object"||N(t[o])||(Rh(o,i)||n===!0&&Re(o)||!e&&!Re(o)||t.draggable&&o.startsWith("onDrag"))&&(r[o]=t[o]);return r}var Bi=P(()=>{E();Oi()});function De(t){return typeof t!="string"||t.includes("-")?!1:!!(Dh.indexOf(t)>-1||/[A-Z]/u.test(t))}var Dh,ji=P(()=>{Dh=["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 Lh({scrapeMotionValuesFromProps:t,createRenderState:e},n,i,r){return{latestValues:Oh(n,i,r,t),renderState:e()}}function Oh(t,e,n,i){let r={},o=i(t,{});for(let f in o)r[f]=we(o[f]);let{initial:s,animate:a}=t,u=Ae(t),l=lo(t);e&&l&&!u&&t.inherit!==!1&&(s===void 0&&(s=e.initial),a===void 0&&(a=e.animate));let c=n?n.initial===!1:!1;c=c||s===!1;let p=c?a:s;if(p&&typeof p!="boolean"&&!Ce(p)){let f=Array.isArray(p)?p:[p];for(let m=0;m<f.length;m++){let h=ei(t,f[m]);if(h){let{transitionEnd:d,transition:g,...v}=h;for(let y in v){let b=v[y];if(Array.isArray(b)){let M=c?b.length-1:0;b=b[M]}b!==null&&(r[y]=b)}for(let y in d)r[y]=d[y]}}}return r}var ue,Le=P(()=>{"use client";E();C();Kt();Xt();nt();ue=t=>
1(e,n)=>{let i=_(It),r=_(Ft),o=()=>Lh(t,e,i,r);return n?o():q(o)}});var Fi,pn=P(()=>{Fi=Symbol.for("motionComponentSymbol")});var Bo,_i=P(()=>{Bo=typeof window<"u"});var kt,Rt=P(()=>{"use client";C();_i();kt=Bo?Ki:V});function Bh(t,e){if(Ae(t)){let{initial:n,animate:i}=t;return{initial:n===!1||Me(n)?n:void 0,animate:Me(i)?i:void 0}}return t.inherit!==!1?e:{}}function jh(t){let{initial:e,animate:n}=Bh(t,_(It));return dt(()=>({initial:e,animate:n}),[hu(e),hu(n)])}function hu(t){return Array.isArray(t)?t.join(" "):t}function du(t,e,n){for(let i in e)!N(e[i])&&!mo(i,n)&&(t[i]=e[i])}function Fh({transformTemplate:t},e){return dt(()=>{let n=ke();return pi(n,e,t),Object.assign({},n.vars,n.style)},[e])}function _h(t,e){let n=t.style||{},i={};return du(i,n,t),Object.assign(i,Fh(t,e)),i}function Hh(t,e){let n={},i=_h(t,e);return t.drag&&t.dragListener!==!1&&(n.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.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=i,n}function Nh(t,e,n,i){let r=dt(()=>{let o=gu();return fo(o,e,po(i),t.transformTemplate,t.style),{...o.attrs,style:{...o.style}}},[e]);if(t.style){let o={};du(o,t.style,t),r.style={...o,...r.style}}return r}function Gh(t,e,n,{latestValues:i},r,o=!1,s,a){let u=(s??De(t)?Nh:Hh)(e,i,r,t),l=Oo(e,typeof t=="string",o,a),c=t!==Cn?{...l,...u,ref:n}:{},{children:p}=e,f=dt(()=>N(p)?p.get():p,[p]);return Yi(t,{...c,children:f})}function Uh(t,e,n){let i=w(n);Qt(()=>{i.current=n});let r=w(null);return Lt(o=>{o&&t.onMount?.(o),e&&(o?e.mount(o):e.unmount());let s=i.current;if(typeof s=="function")if(o){let a=s(o);typeof a=="function"&&(r.current=a)}else r.current?(r.current(),r.current=null):s(o);else s&&(s.current=o)},[e])}function zh(t,e,n,i,r,o){let{visualElement:s}=_(It),a=_(un),u=_(Ft),l=_(yt),c=l.reducedMotion,p=l.skipAnimations,f=w(null),m=w(!1);i=i||a.renderer,!f.current&&i&&(f.current=i(t,{visualState:e,parent:s,props:n,presenceContext:u,blockInitialAnimation:u?u.initial===!1:!1,reducedMotionConfig:c,skipAnimations:p,isSVG:o}),m.current&&f.current&&(f.current.manuallyAnimateOnMount=!0));let h=f.current,d=_(mn);h&&!h.projection&&r&&(h.type==="html"||h.type==="svg")&&Yh(f.current,n,r,d);let g=w(!1);Qt(()=>{h&&g.current&&h.update(n,u)});let v=n[ri],y=w(!!v&&typeof window<"u"&&!window.MotionHandoffIsComplete?.(v)&&window.MotionHasOptimisedAnimation?.(v));return kt(()=>{m.current=!0,h&&(g.current=!0,window.MotionIsMounted=!0,h.updateFeatures(),h.scheduleRenderMicrotask(),y.current&&h.animationState&&h.animationState.animateChanges())}),V(()=>{h&&(!y.current&&h.animationState&&h.animationState.animateChanges(),y.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(v)}),y.current=!1),h.enteringChildren=void 0)}),h}function Yh(t,e,n,i){let{layoutId:r,layout:o,drag:s,dragConstraints:a,layoutScroll:u,layoutRoot:l,layoutAnchor:c,layoutCrossfade:p}=e;t.projection=new n(t.latestValues,e["data-framer-portal-id"]?void 0:yu(t.parent)),t.projection.setOptions({layoutId:r,layout:o,alwaysMeasureLayout:!!s||a&&Zt(a),visualElement:t,animationType:typeof o=="string"?o:"both",initialPromotionConfig:i,crossfade:p,layoutScroll:u,layoutRoot:l,layoutAnchor:c})}function yu(t){if(t)return t.options.allowProjection!==!1?t.projection:yu(t.parent)}function Hi(t,{forwardMotionProps:e=!1,type:n}={},i,r){i&&Lo(i);let o=n?n==="svg":De(t),s=o?$h:Wh;function a(l,c){let p,f={..._(yt),...l,layoutId:Xh(l)},{isStatic:m,isValidProp:h}=f,d=jh(l),g=s(l,m);if(!m&&typeof window<"u"){Kh(f,i);let v=qh(f);p=v.MeasureLayout,d.visualElement=zh(t,g,f,r,v.ProjectionNode,o)}return hs(It.Provider,{value:d,children:[p&&d.visualElement?S(p,{visualElement:d.visualElement,...f}):null,Gh(t,l,Uh(g,d.visualElement,c),g,m,e,o,h)]})}a.displayName=`motion.${typeof t=="string"?t:`create(${t.displayName??t.name??""})`}`;let u=fe(a);return u[Fi]=t,u}function Xh({layoutId:t}){let e=_(se).id;return e&&t!==void 0?e+"-"+t:t}function Kh(t,e){let n=_(un).strict}function qh(t){let e=Ri(),{drag:n,layout:i}=e;if(!n&&!i)return{};let r={...n,...i};return{MeasureLayout:n?.isEnabled(t)||i?.isEnabled(t)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}
1var gu,Wh,$h,jo=P(()=>{"use client";O();x();C();ae();cn();wt();Kt();C();Kt();E();E();C();E();C();Li();E();C();Li();Bi();ji();ji();E();Le();Li();E();Le();Do();Di();pn();C();E();C();cn();wt();Kt();Xt();fn();To();Rt();gu=()=>({...ke(),attrs:{}});Wh=ue({scrapeMotionValuesFromProps:hi,createRenderState:ke}),$h=ue({scrapeMotionValuesFromProps:ho,createRenderState:gu})});var vu,Fo=P(()=>{Ie();Mi();Vi();ki();vu={...le,...Ai,...Ci,...Ii}});var Oe,hn=P(()=>{E();C();ji();Oe=(t,e)=>e.isSVG??De(t)?new gi(e):new di(e,{allowProjection:t!==Cn})});var _o=P(()=>{E()});var Be,Ho=P(()=>{Be={Enter:[[0,1],[1,1]],Exit:[[0,0],[1,0]],Any:[[1,0],[0,1]],All:[[0,0],[1,1]]}});var dn=P(()=>{E();x();x();x();E();x();E();Ho()});var qx,gn=P(()=>{Ho();qx=[[Be.Enter,"entry"],[Be.Exit,"exit"],[Be.Any,"cover"],[Be.All,"contain"]]});var Ni=P(()=>{x();E();_o();dn();_o();gn();gn();E();dn()});var Gi=P(()=>{E()});function Mu(t,e){if(typeof Proxy>"u")return Hi;let n=new Map,i=(o,s)=>Hi(o,s,t,e),r=(o,s)=>i(o,s);return new Proxy(r,{get:(o,s)=>s==="create"?i:(n.has(s)||n.set(s,Hi(s,void 0,t,e)),n.get(s))})}function Au(t){let e=q(()=>xt(t)),{isStatic:n}=_(yt);if(n){let[,i]=I(t);V(()=>e.on("change",i),[])}return e}function Vu(t,e){let n=Au(e()),i=()=>n.set(e());return i(),kt(()=>{let r=()=>B.preRender(i,!1,!0),o=t.map(s=>s.on("change",r));return()=>{o.forEach(s=>s()),ft(i)}}),n}function od(t){Te.current=[],t();let e=Vu(Te.current,t);return Te.current=void 0,e}function Iu(t,e,n,i){if(typeof t=="function")return od(t);if(n!==void 0&&!Array.isArray(n)&&typeof e!="function")return sd(t,e,n,i);let r=typeof e=="function"?e:yl(e,n,i),o=Array.isArray(t)?bu(t,r):bu([t],([a])=>r(a)),s=Array.isArray(t)?void 0:t.accelerate;return s&&!s.isTransformed&&typeof e!="function"&&Array.isArray(n)&&i?.clamp!==!1&&(o.accelerate={...s,times:e,keyframes:n,isTransformed:!0,...i?.ease?{ease:i.ease}:{}}),o}function bu(t,e){let n=q(()=>[]);return Vu(t,()=>{n.length=0;let i=t.length;for(let r=0;r<i;r++)n[r]=t[r].get();return e(n)})}function sd(t,e,n,i){let r=q(()=>Object.keys(n)),o=q(()=>({}));for(let s of r)o[s]=Iu(t,e,n[s],i);return o}function ld(t,e,n,i,r,o="ltr"){let s=t.findIndex(f=>f.value===e);if(s===-1)return t;if(r==="xy"){let{layout:f}=t[s],m={x:F(f.x.min,f.x.max,.5)+n.x,y:F(f.y.min,f.y.max,.5)+n.y},h=ud(t),d=h.find(M=>M.items.includes(t[s])),g=h.reduce((M,D)=>Tu(m.y,D)<Tu(m.y,M)?D:M);if(g!==d)return cd(t,s,m.x,g,o);let v=Eu(m,f),y=-1,b=v;return t.forEach((M,D)=>{if(D===s)return;let k=Eu(m,M.layout);k<b&&(y=D,b=k)}),y===-1?t:qi(t,s,s+Math.sign(y-s))}if(!i[r])return t;let a=i[r]>0?1:-1,u=t[s+a];if(!u)return t;let l=t[s].layout[r],c=u.layout[r],p=F(c.min,c.max,.5);return a===1&&l.max+n[r]>p||a===-1&&l.min+n[r]<p?qi(t,s,s+a):t}function ud(t){let e=[];return t.forEach(n=>{let{min:i,max:r}=n.layout.y,o=e[e.length-1];!o||i>=o.max||r<=o.min?e.push({items:[n],min:i,max:r}):(o.items.push(n),o.min=Math.min(o.min,i),o.max=Math.max(o.max,r))}),e}function Tu(t,e){return t<e.min?e.min-t:t>e.max?t-e.max:0}function cd(t,e,n,i,r){let o=t.filter((l,c)=>c!==e),s=i.items.find(l=>{let c=F(l.layout.x.min,l.layout.x.max,.5);return r==="ltr"?n<c:n>c}),a=s?o.indexOf(s):o.indexOf(i.items[i.items.length-1])+1,u=[...o];return u.splice(a,0,t[e]),u.every((l,c)=>l===t[c])?t:u}function Eu(t,e){let n=Math.max(e.x.min-t.x,0,t.x-e.x.max),i=Math.max(e.y.min-t.y,0,t.y-e.y.max);return n*n+i*i}function md(t){let e=!1,n=!1;for(let i=0;i<t.length;i++)for(let r=i+1;r<t.length;r++)if(e||(e=Pu(t[i].x,t[r].x)),n||(n=Pu(t[i].y,t[r].y)),e&&n)return"xy";return e?"x":"y"}function fd({children:t,as:e="ul",axis:n,onReorder:i,values:r,...o},s){let a=q(()=>Wi[e]),u=w(new Map),[l,c]=I("y"),p=w(!1),f=w(null),m=n||l;W(!!r,"Reorder.Group must be provided a values prop","reorder-values");let h=new Set(r);u.current.forEach((y,b)=>{h.has(b)||u.current.delete(b)});let d={axis:m,groupRef:f,registerItem:(y,b)=>{if(u.current.set(y,b),!n){let M=md(r.flatMap(D=>{let k=u.current.get(D);return k?[k]:[]}));M!==l&&c(M)}},updateOrder:(y,b,M)=>{if(p.current)return;let D=r.flatMap(L=>{let R=u.current.get(L);return R?[{value:L,layout:R}]:[]}),k=f.current?.ownerDocument.defaultView?.getComputedStyle(f.current).direction==="rtl"?"rtl":"ltr",T=ld(D,y,b,M,m,k);if(D!==T){p.current=!0;let L=[...r],R=D.map(({value:rt})=>r.indexOf(rt));T.forEach(({value:rt},z)=>{L[R[z]]=rt}),i(L)}}};V(()=>{p.current=!1});let g=y=>{f.current=y,typeof s=="function"?s(y):s&&(s.current=y)},v={overflowAnchor:"none",...o.style};return S(a,{...o,style:v,ref:g,ignoreStrict:!0,children:S(ku.Provider,{value:d,children:t})})}function dd(){if(yn){let t=No(yn,"y");t&&(xn.delete(t),vn.delete(t));let e=No(yn,"x");e&&e!==t&&(xn.delete(e),vn.delete(e)),yn=null}}function gd(t,e){let n=getComputedStyle(t),i=e==="x"?n.overflowX:n.overflowY,r=t===document.body||t===document.documentElement;return hd.has(i)||r}function No(t,e){let n=t?.parentElement;for(;n;){if(gd(n,e))return n;n=n.parentElement}return null}function yd(t,e,n){let i=e.getBoundingClientRect(),r=n==="x"?Math.max(0,i.left):Math.max(0,i.top),o=n==="x"?Math.min(window.innerWidth,i.right):Math.min(window.innerHeight,i.bottom),s=t-r,a=o-t;if(s<50){let u=1-s/50;return{amount:-25*u*u,edge:"start"}}else if(a<50){let u=1-a/50;return{amount:25*u*u,edge:"end"}}return{amount:0,edge:null}}function vd(t,e,n,i){if(!t)return;yn=t;let r=No(t,n);if(!r)return;let o=e-(n==="x"?window.scrollX:window.scrollY),{amount:s,edge:a}=yd(o,r,n);if(a===null){xn.delete(r),vn.delete(r);return}let u=xn.get(r),l=r===document.body||r===document.documentElement;if(u!==a){if(!(a==="start"&&i<0||a==="end"&&i>0))return;xn.set(r,a);let c=n==="x"?r.scrollWidth-(l?window.innerWidth:r.clientWidth):r.scrollHeight-(l?window.innerHeight:r.clientHeight);vn.set(r,c)}if(s>0){let c=vn.get(r);if((n==="x"?l?window.scrollX:r.scrollLeft:l?window.scrollY:r.scrollTop)>=c)return}n==="x"?l?window.scrollBy({left:s}):r.scrollLeft+=s:l?window.scrollBy({top:s}):r.scrollTop+=s}
1function Cu(t,e=0){return N(t)?t:Au(e)}function xd({children:t,style:e={},value:n,as:i="li",onDrag:r,onDragEnd:o,layout:s=!0,...a},u){let l=q(()=>Wi[i]),c=_(ku),p={x:Cu(e.x),y:Cu(e.y)},f=Iu([p.x,p.y],([v,y])=>v||y?1:"unset");W(!!c,"Reorder.Item must be a child of Reorder.Group","reorder-item-child");let{axis:m,registerItem:h,updateOrder:d,groupRef:g}=c;return S(l,{drag:m==="xy"?!0:m,...a,dragSnapToOrigin:!0,style:{...e,x:p.x,y:p.y,zIndex:f},layout:s,onDrag:(v,y)=>{let{velocity:b,point:M}=y,D={x:p.x.get(),y:p.y.get()};d(n,D,b);let k=m==="xy"?Math.abs(b.x)>Math.abs(b.y)?"x":"y":m;vd(g.current,M[k],k,b[k]),r&&r(v,y)},onDragEnd:(v,y)=>{dd(),o&&o(v,y)},onLayoutMeasure:v=>{h(n,v)},ref:u,ignoreStrict:!0,children:t})}var ed,nd,Bw,id,Wi,rd,d1,v1,Su,Gb,ad,ku,Pu,pd,hd,vn,xn,yn,wd,Ru=P(()=>{O();C();ae();nt();Rt();O();C();C();Xt();nt();Rt();O();E();C();C();wt();C();ln();C();O();C();ae();C();E();C();C();Rt();E();O();C();cn();Di();O();C();E();wt();nt();x();jo();hn();Fo();Ve();qt();Ie();Le();E();E();Bi();_i();Rt();an();Ie();Vi();hn();Mi();ki();Ie();hn();C();x();E();x();C();Ni();gn();nt();Rt();x();E();E();Rt();E();C();wt();nt();E();C();wt();E();nt();E();E();C();wt();E();nt();E();E();x();C();C();wt();x();x();E();x();C();nt();an();wt();xi();bo();nt();Rt();ln();C();Xt();C();E();nt();pn();pn();Oi();E();C();E();x();C();C();Gi();E();x();C();C();E();x();E();ae();wt();Kt();Xt();fn();E();C();Le();nt();O();x();C();nt();x();C();Kt();O();x();C();C();nt();E();x();O();E();x();C();nt();xi();wi();Si();Gi();Ni();dn();ed=Object.defineProperty,nd=(t,e)=>{for(var n in e)ed(t,n,{get:e[n],enumerable:!0})},Bw=st(null);id=Mu(),Wi=Mu(vu,Oe),rd={renderer:Oe,...le,...Ai},d1={...rd,...Ci,...Ii},v1={renderer:Oe,...le};Su=()=>({}),Gb=ue({scrapeMotionValuesFromProps:Su,createRenderState:Su}),ad={};nd(ad,{Group:()=>pd,Item:()=>wd});ku=st(null);Pu=(t,e)=>t.max<=e.min||e.max<=t.min;pd=fe(fd),hd=new Set(["auto","scroll"]),vn=new WeakMap,xn=new WeakMap,yn=null;wd=fe(xd)});var $i=P(()=>{xi();wi();bo();ln();ae();cn();wt();Kt();Xt();fn();Ve();qt();Ie();Mi();Vi();ki();Di();jo();pn();Le();Oi();Fo();hn();Ni();dn();gn();Bi();Gi();Si();_i();nt();Rt();an();E();x();O();C();Ru()});var j,Du=P(()=>{$i();$i();j=Wi});var pt=P(()=>{$i();Du()});function Ou(t){let e=t?.props?._fgT,n=typeof e=="function"||typeof e=="string"||typeof e=="object"&&e!==null&&"$$typeof"in e;return globalThis.__GLOBALS__.React.isValidElement(t)&&n}function bn(t){return globalThis.__GLOBALS__.React.isValidElement(t)&&t.type==="fg-txt"}function Bu(t){let{_fgT:e,_fgS:n,_fgB:i,_fgD:r,...o}=t.props;return globalThis.__GLOBALS__.React.createElement(e,{...o,key:t.key},o.children)}function Ui(t){return Ou(t)?Bu(t):bn(t)?t.props.children:t}function Td(t){if(t==null||typeof t!="object")return t;let e=!1;for(let i=0;i<Go.length;i++)if(Go[i]in t){e=!0;break}if(!e)return t;let n={};for(let i of Object.keys(t))Go.indexOf(i)===-1&&(n[i]=t[i]);return n}function G(t,e){Object.assign(t,{[Symbol.for("figma.react.props")]:e})}var wn,Sd,Go,Lu,Ed,Pd,Cd,oT,sT,aT,lT,uT,cT,mT,fT,pT,hT,dT,gT,yT,vT,xT,wT,bT,ST,TT,ET,PT,CT,MT,AT,VT,IT,kT,RT,DT,LT,OT,BT,ht=P(()=>{wn=globalThis.__GLOBALS__.React.Children,Sd={map(t,e,n){return wn.map(t,(i,r)=>{let o=Ui(i);return bn(i)?null:e.call(n,o,r)})},forEach(t,e,n){wn.forEach(t,(i,r)=>{if(bn(i))return;let o=Ui(i);e.call(n,o,r)})},count(t){let e=0;return wn.forEach(t,n=>{bn(n)||e++}),e},toArray(t){let e=[];return wn.forEach(t,n=>{bn(n)||e.push(Ui(n))}),e},only(t){let e=wn.only(t);return Ui(e)}},Go=["_fgT","_fgS","_fgB","_fgD"];Lu=globalThis.__GLOBALS__.React.cloneElement,Ed=(t,...e)=>{if(Ou(t)){let n=Bu(t),i=e[0];return i!=null&&typeof i=="object"&&(e=[Td(i),...e.slice(1)]),Lu(n,...e)}return Lu(t,...e)},Pd=globalThis.__GLOBALS__.React.createElement,Cd=(t,e,...n)=>(t===void 0&&(t=()=>null),Pd(t,e,...n)),oT={...globalThis.__GLOBALS__.React,Children:Sd,cloneElement:Ed,createElement:Cd},{Component:sT,createContext:aT,createFactory:lT,createRef:uT,forwardRef:cT,Fragment:mT,isValidElement:fT,lazy:pT,memo:hT,Profiler:
1dT,PureComponent:gT,startTransition:yT,StrictMode:vT,Suspense:xT,useCallback:wT,useContext:bT,useDebugValue:ST,useDeferredValue:TT,useEffect:ET,useId:PT,useImperativeHandle:CT,useInsertionEffect:MT,useLayoutEffect:AT,useMemo:VT,useReducer:IT,useRef:kT,useState:RT,useSyncExternalStore:DT,useTransition:LT,version:OT,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:BT}=globalThis.__GLOBALS__.React});var ju={};ct(ju,{default:()=>Wo});function Wo({holdDuration:t=2e3,transitionDuration:e=.8}){let[n,i]=I(7),[r,o]=I(!1),s=w(!1),a=w(null),u=w([]),l=["I am looking for information","I was just diagnosed","I am choosing a treatment","I am on a medication","I am managing side effects","I am living with metastatic cancer","I am caring for someone"],c=[...l,...l,...l];V(()=>{o(!0)},[]),V(()=>{let f=setInterval(()=>{i(m=>{let h=m+1;return h>=l.length*2?(s.current=!0,l.length):h})},t);return()=>clearInterval(f)},[t,l.length]);let p=()=>{if(!a.current||!u.current[n])return 0;let f=a.current.offsetHeight,m=u.current[n];if(!m)return 0;let h=m.offsetTop,d=m.offsetHeight;return f/2-d/2-h};return S("div",{ref:a,className:"relative size-full overflow-hidden",children:S(j.div,{className:"[word-break:break-word] content-stretch flex flex-col font-['Bricolage_Grotesque:SemiBold',sans-serif] font-semibold gap-[49px] items-center leading-[36px] relative w-full text-[#133c55] text-[32px] tracking-[-0.24px]",initial:{y:p()},animate:{y:p()},transition:{duration:r&&!s.current?e:0,ease:"easeInOut"},onAnimationComplete:()=>{s.current&&(s.current=!1)},children:c.map((f,m)=>{let h=Math.abs(m-n),d=0;return m===n?d=1:h===1&&(d=.4),S(j.p,{ref:g=>u.current[m]=g,className:"relative shrink-0 w-full text-center xl:text-left",style:{fontVariationSettings:'"opsz" 14, "wdth" 100'},animate:{opacity:d},transition:{duration:e,ease:"easeInOut"},children:f},m)})})})}var Fu=P(()=>{C();pt();ht();O();G(Wo,{holdDuration:{label:"Hold duration (ms)",type:"number",defaultValue:2e3},transitionDuration:{label:"Transition duration (s)",type:"number",control:"slider",min:.1,max:3,step:.1,defaultValue:.8}})});var _u={};ct(_u,{default:()=>$o});function $o({holdDuration:t=2e3,transitionDuration:e=.8}){let[n,i]=I(7),[r,o]=I(!1),s=w(!1),a=w(null),u=w([]),l=["I am looking for information","I was just diagnosed","I am choosing a treatment","I am on a medication","I am managing side effects","I am living with metastatic cancer","I am caring for someone"],c=[...l,...l,...l];V(()=>{o(!0)},[]),V(()=>{let f=setInterval(()=>{i(m=>{let h=m+1;return h>=l.length*2?(s.current=!0,l.length):h})},t);return()=>clearInterval(f)},[t,l.length]);let p=()=>{if(!a.current||!u.current[n])return 0;let f=a.current.offsetHeight,m=u.current[n];if(!m)return 0;let h=m.offsetTop,d=m.offsetHeight;return f/2-d/2-h};return S("div",{ref:a,className:"relative size-full overflow-hidden",children:S(j.div,{className:"[word-break:break-word] content-stretch flex flex-col font-['Bricolage_Grotesque:SemiBold',sans-serif] font-semibold gap-[49px] items-center leading-[36px] relative w-full text-[#133c55] text-[32px] tracking-[-0.24px]",initial:{y:p()},animate:{y:p()},transition:{duration:r&&!s.current?e:0,ease:"easeInOut"},onAnimationComplete:()=>{s.current&&(s.current=!1)},children:c.map((f,m)=>{let h=Math.abs(m-n),d=0;return m===n?d=1:h===1&&(d=.4),S(j.p,{ref:g=>u.current[m]=g,className:"relative shrink-0 w-full text-center xl:text-left",style:{fontVariationSettings:'"opsz" 14, "wdth" 100'},animate:{opacity:d},transition:{duration:e,ease:"easeInOut"},children:f},m)})})})}var Hu=P(()=>{C();pt();ht();O();G($o,{holdDuration:{label:"Hold duration (ms)",type:"number",defaultValue:2e3},transitionDuration:{label:"Transition duration (s)",type:"number",control:"slider",min:.1,max:3,step:.1,defaultValue:.8}})});var Nu={};ct(Nu,{default:()=>Uo});function Uo({holdDuration:t=2e3,transitionDuration:e=.8}){let[n,i]=I(7),[r,o]=I(!1),s=w(!1),a=w(null),u=w([]),l=["I am looking for information","I was just diagnosed","I am choosing a treatment","I am on a medication","I am managing side effects","I am living with metastatic cancer","I am caring for someone"],c=[...l,...l,...l];V(()=>{o(!0)},[]),V(()=>{let f=setInterval(()=>{i(m=>{let h=m+1;return h>=l.length*2?(s.current=!0,l.length):h})},t);return()=>clearInterval(f)},[t,l.length]);let p=()=>
1{if(!a.current||!u.current[n])return 0;let f=a.current.offsetHeight,m=u.current[n];if(!m)return 0;let h=m.offsetTop,d=m.offsetHeight;return f/2-d/2-h};return S("div",{ref:a,className:"relative size-full overflow-hidden",children:S(j.div,{className:"[word-break:break-word] content-stretch flex flex-col font-['Bricolage_Grotesque:SemiBold',sans-serif] font-semibold gap-[49px] items-center leading-[36px] relative w-full text-[#133c55] text-[32px] tracking-[-0.24px]",initial:{y:p()},animate:{y:p()},transition:{duration:r&&!s.current?e:0,ease:"easeInOut"},onAnimationComplete:()=>{s.current&&(s.current=!1)},children:c.map((f,m)=>{let h=Math.abs(m-n),d=0;return m===n?d=1:h===1&&(d=.4),S(j.p,{ref:g=>u.current[m]=g,className:"relative shrink-0 w-full text-center xl:text-left",style:{fontVariationSettings:'"opsz" 14, "wdth" 100'},animate:{opacity:d},transition:{duration:e,ease:"easeInOut"},children:f},m)})})})}var Gu=P(()=>{C();pt();ht();O();G(Uo,{holdDuration:{label:"Hold duration (ms)",type:"number",defaultValue:2e3},transitionDuration:{label:"Transition duration (s)",type:"number",control:"slider",min:.1,max:3,step:.1,defaultValue:.8}})});var Wu={};ct(Wu,{default:()=>zo});function zo({holdDuration:t=2e3,transitionDuration:e=.8}){let[n,i]=I(7),[r,o]=I(!1),s=w(!1),a=w(null),u=w([]),l=["I am looking for information","I was just diagnosed","I am choosing a treatment","I am on a medication","I am managing side effects","I am living with metastatic cancer","I am caring for someone"],c=[...l,...l,...l];V(()=>{o(!0)},[]),V(()=>{let f=setInterval(()=>{i(m=>{let h=m+1;return h>=l.length*2?(s.current=!0,l.length):h})},t);return()=>clearInterval(f)},[t,l.length]);let p=()=>{if(!a.current||!u.current[n])return 0;let f=a.current.offsetHeight,m=u.current[n];if(!m)return 0;let h=m.offsetTop,d=m.offsetHeight;return f/2-d/2-h};return S("div",{ref:a,className:"relative size-full overflow-hidden",children:S(j.div,{className:"[word-break:break-word] content-stretch flex flex-col font-['Bricolage_Grotesque:SemiBold',sans-serif] font-semibold gap-[49px] items-center leading-[36px] relative w-full text-[#133c55] text-[32px] tracking-[-0.24px]",initial:{y:p()},animate:{y:p()},transition:{duration:r&&!s.current?e:0,ease:"easeInOut"},onAnimationComplete:()=>{s.current&&(s.current=!1)},children:c.map((f,m)=>{let h=Math.abs(m-n),d=0;return m===n?d=1:h===1&&(d=.4),S(j.p,{ref:g=>u.current[m]=g,className:"relative shrink-0 w-full text-center xl:text-left",style:{fontVariationSettings:'"opsz" 14, "wdth" 100'},animate:{opacity:d},transition:{duration:e,ease:"easeInOut"},children:f},m)})})})}var $u=P(()=>{C();pt();ht();O();G(zo,{holdDuration:{label:"Hold duration (ms)",type:"number",defaultValue:2e3},transitionDuration:{label:"Transition duration (s)",type:"number",control:"slider",min:.1,max:3,step:.1,defaultValue:.8}})});var Uu={};ct(Uu,{default:()=>Yo});function Yo({holdDuration:t=2e3,transitionDuration:e=.8}){let[n,i]=I(7),[r,o]=I(!1),s=w(!1),a=w(null),u=w([]),l=["I am looking for information","I was just diagnosed","I am choosing a treatment","I am on a medication","I am managing side effects","I am living with metastatic cancer","I am caring for someone"],c=[...l,...l,...l];V(()=>{o(!0)},[]),V(()=>{let f=setInterval(()=>{i(m=>{let h=m+1;return h>=l.length*2?(s.current=!0,l.length):h})},t);return()=>clearInterval(f)},[t,l.length]);let p=()=>{if(!a.current||!u.current[n])return 0;let f=a.current.offsetHeight,m=u.current[n];if(!m)return 0;let h=m.offsetTop,d=m.offsetHeight;return f/2-d/2-h};return S("div",{ref:a,className:"relative size-full overflow-hidden",children:S(j.div,{className:"[word-break:break-word] content-stretch flex flex-col font-['Bricolage_Grotesque:SemiBold',sans-serif] font-semibold gap-[49px] items-center leading-[36px] relative w-full text-[#133c55] text-[32px] tracking-[-0.24px]",initial:{y:p()},animate:{y:p()},transition:{duration:r&&!s.current?e:0,ease:"easeInOut"},onAnimationComplete:()=>{s.current&&(s.current=!1)},children:c.map((f,m)=>{let h=Math.abs(m-n),d=0;return m===n?d=1:h===1&&(d=.4),S(j.p,{ref:g=>u.current[m]=g,className:"relative shrink-0 w-full text-center xl:text-left",style:{fontVariationSettings:'"opsz" 14, "wdth" 100'}
1,animate:{opacity:d},transition:{duration:e,ease:"easeInOut"},children:f},m)})})})}var zu=P(()=>{C();pt();ht();O();G(Yo,{holdDuration:{label:"Hold duration (ms)",type:"number",defaultValue:2e3},transitionDuration:{label:"Transition duration (s)",type:"number",control:"slider",min:.1,max:3,step:.1,defaultValue:.8}})});var Yu={};ct(Yu,{default:()=>Xo});function Xo({holdDuration:t=2e3,transitionDuration:e=.8}){let[n,i]=I(7),[r,o]=I(!1),s=w(!1),a=w(null),u=w([]),l=["I am looking for information","I was just diagnosed","I am choosing a treatment","I am on a medication","I am managing side effects","I am living with metastatic cancer","I am caring for someone"],c=[...l,...l,...l];V(()=>{o(!0)},[]),V(()=>{let f=setInterval(()=>{i(m=>{let h=m+1;return h>=l.length*2?(s.current=!0,l.length):h})},t);return()=>clearInterval(f)},[t,l.length]);let p=()=>{if(!a.current||!u.current[n])return 0;let f=a.current.offsetHeight,m=u.current[n];if(!m)return 0;let h=m.offsetTop,d=m.offsetHeight;return f/2-d/2-h};return S("div",{ref:a,className:"relative size-full overflow-hidden",children:S(j.div,{className:"[word-break:break-word] content-stretch flex flex-col font-['Bricolage_Grotesque:SemiBold',sans-serif] font-semibold gap-[49px] items-center leading-[36px] relative w-full text-[#133c55] text-[32px] tracking-[-0.24px]",initial:{y:p()},animate:{y:p()},transition:{duration:r&&!s.current?e:0,ease:"easeInOut"},onAnimationComplete:()=>{s.current&&(s.current=!1)},children:c.map((f,m)=>{let h=Math.abs(m-n),d=0;return m===n?d=1:h===1&&(d=.4),S(j.p,{ref:g=>u.current[m]=g,className:"relative shrink-0 w-full text-center xl:text-left",style:{fontVariationSettings:'"opsz" 14, "wdth" 100'},animate:{opacity:d},transition:{duration:e,ease:"easeInOut"},children:f},m)})})})}var Xu=P(()=>{C();pt();ht();O();G(Xo,{holdDuration:{label:"Hold duration (ms)",type:"number",defaultValue:2e3},transitionDuration:{label:"Transition duration (s)",type:"number",control:"slider",min:.1,max:3,step:.1,defaultValue:.8}})});var Ku={};ct(Ku,{default:()=>Ko});function Ko({holdDuration:t=2e3,transitionDuration:e=.8}){let[n,i]=I(7),[r,o]=I(!1),s=w(!1),a=w(null),u=w([]),l=["I am looking for information","I was just diagnosed","I am choosing a treatment","I am on a medication","I am managing side effects","I am living with metastatic cancer","I am caring for someone"],c=[...l,...l,...l];V(()=>{o(!0)},[]),V(()=>{let f=setInterval(()=>{i(m=>{let h=m+1;return h>=l.length*2?(s.current=!0,l.length):h})},t);return()=>clearInterval(f)},[t,l.length]);let p=()=>{if(!a.current||!u.current[n])return 0;let f=a.current.offsetHeight,m=u.current[n];if(!m)return 0;let h=m.offsetTop,d=m.offsetHeight;return f/2-d/2-h};return S("div",{ref:a,className:"relative size-full overflow-hidden",children:S(j.div,{className:"[word-break:break-word] content-stretch flex flex-col font-['Bricolage_Grotesque:SemiBold',sans-serif] font-semibold gap-[49px] items-center leading-[36px] relative w-full text-[#133c55] text-[32px] tracking-[-0.24px]",initial:{y:p()},animate:{y:p()},transition:{duration:r&&!s.current?e:0,ease:"easeInOut"},onAnimationComplete:()=>{s.current&&(s.current=!1)},children:c.map((f,m)=>{let h=Math.abs(m-n),d=0;return m===n?d=1:h===1&&(d=.4),S(j.p,{ref:g=>u.current[m]=g,className:"relative shrink-0 w-full text-center xl:text-left",style:{fontVariationSettings:'"opsz" 14, "wdth" 100'},animate:{opacity:d},transition:{duration:e,ease:"easeInOut"},children:f},m)})})})}var qu=P(()=>{C();pt();ht();O();G(Ko,{holdDuration:{label:"Hold duration (ms)",type:"number",defaultValue:2e3},transitionDuration:{label:"Transition duration (s)",type:"number",control:"slider",min:.1,max:3,step:.1,defaultValue:.8}})});var Zu={};ct(Zu,{default:()=>qo});function qo({holdDuration:t=2e3,transitionDuration:e=.8}){let[n,i]=I(7),[r,o]=I(!1),s=w(!1),a=w(null),u=w([]),l=["I am looking for information","I was just diagnosed","I am choosing a treatment","I am on a medication","I am managing side effects","I am living with metastatic cancer","I am caring for someone"],c=[...l,...l,...l];V(()=>{o(!0)},[]),V(()=>{let f=setInterval(()=>{i(m=>{let h=m+1;return h>=l.length*2?(s.current=!0,l.length):h})},t);return()=>clearInterval(f)},[t,l.length]);let p=()=>
1{if(!a.current||!u.current[n])return 0;let f=a.current.offsetHeight,m=u.current[n];if(!m)return 0;let h=m.offsetTop,d=m.offsetHeight;return f/2-d/2-h};return S("div",{ref:a,className:"relative size-full overflow-hidden",children:S(j.div,{className:"[word-break:break-word] content-stretch flex flex-col font-['Bricolage_Grotesque:SemiBold',sans-serif] font-semibold gap-[49px] items-center leading-[36px] relative w-full text-[#133c55] text-[32px] tracking-[-0.24px]",initial:{y:p()},animate:{y:p()},transition:{duration:r&&!s.current?e:0,ease:"easeInOut"},onAnimationComplete:()=>{s.current&&(s.current=!1)},children:c.map((f,m)=>{let h=Math.abs(m-n),d=0;return m===n?d=1:h===1&&(d=.4),S(j.p,{ref:g=>u.current[m]=g,className:"relative shrink-0 w-full text-center xl:text-left",style:{fontVariationSettings:'"opsz" 14, "wdth" 100'},animate:{opacity:d},transition:{duration:e,ease:"easeInOut"},children:f},m)})})})}var Ju=P(()=>{C();pt();ht();O();G(qo,{holdDuration:{label:"Hold duration (ms)",type:"number",defaultValue:2e3},transitionDuration:{label:"Transition duration (s)",type:"number",control:"slider",min:.1,max:3,step:.1,defaultValue:.8}})});var Qu={};ct(Qu,{default:()=>Zo});function Zo({holdDuration:t=2e3,transitionDuration:e=.8}){let[n,i]=I(7),[r,o]=I(!1),s=w(!1),a=w(null),u=w([]),l=["I am looking for information","I was just diagnosed","I am choosing a treatment","I am on a medication","I am managing side effects","I am living with metastatic cancer","I am caring for someone"],c=[...l,...l,...l];V(()=>{o(!0)},[]),V(()=>{let f=setInterval(()=>{i(m=>{let h=m+1;return h>=l.length*2?(s.current=!0,l.length):h})},t);return()=>clearInterval(f)},[t,l.length]);let p=()=>{if(!a.current||!u.current[n])return 0;let f=a.current.offsetHeight,m=u.current[n];if(!m)return 0;let h=m.offsetTop,d=m.offsetHeight;return f/2-d/2-h};return S("div",{ref:a,className:"relative size-full overflow-hidden",children:S(j.div,{className:"[word-break:break-word] content-stretch flex flex-col font-['Bricolage_Grotesque:SemiBold',sans-serif] font-semibold gap-[49px] items-center leading-[36px] relative w-full text-[#133c55] text-[32px] tracking-[-0.24px]",initial:{y:p()},animate:{y:p()},transition:{duration:r&&!s.current?e:0,ease:"easeInOut"},onAnimationComplete:()=>{s.current&&(s.current=!1)},children:c.map((f,m)=>{let h=Math.abs(m-n),d=0;return m===n?d=1:h===1&&(d=.4),S(j.p,{ref:g=>u.current[m]=g,className:"relative shrink-0 w-full text-center xl:text-left",style:{fontVariationSettings:'"opsz" 14, "wdth" 100'},animate:{opacity:d},transition:{duration:e,ease:"easeInOut"},children:f},m)})})})}var tc=P(()=>{C();pt();ht();O();G(Zo,{holdDuration:{label:"Hold duration (ms)",type:"number",defaultValue:2e3},transitionDuration:{label:"Transition duration (s)",type:"number",control:"slider",min:.1,max:3,step:.1,defaultValue:.8}})});var ec={};ct(ec,{default:()=>Jo});function Jo({holdDuration:t=2e3,transitionDuration:e=.8}){let[n,i]=I(7),[r,o]=I(!1),s=w(!1),a=w(null),u=w([]),l=["I am looking for information","I was just diagnosed","I am choosing a treatment","I am on a medication","I am managing side effects","I am living with metastatic cancer","I am caring for someone"],c=[...l,...l,...l];V(()=>{o(!0)},[]),V(()=>{let f=setInterval(()=>{i(m=>{let h=m+1;return h>=l.length*2?(s.current=!0,l.length):h})},t);return()=>clearInterval(f)},[t,l.length]);let p=()=>{if(!a.current||!u.current[n])return 0;let f=a.current.offsetHeight,m=u.current[n];if(!m)return 0;let h=m.offsetTop,d=m.offsetHeight;return f/2-d/2-h};return S("div",{ref:a,className:"relative size-full overflow-hidden",children:S(j.div,{className:"[word-break:break-word] content-stretch flex flex-col font-['Bricolage_Grotesque:SemiBold',sans-serif] font-semibold gap-[49px] items-center leading-[36px] relative w-full text-[#133c55] text-[32px] tracking-[-0.24px]",initial:{y:p()},animate:{y:p()},transition:{duration:r&&!s.current?e:0,ease:"easeInOut"},onAnimationComplete:()=>{s.current&&(s.current=!1)},children:c.map((f,m)=>{let h=Math.abs(m-n),d=0;return m===n?d=1:h===1&&(d=.4),S(j.p,{ref:g=>u.current[m]=g,className:"relative shrink-0 w-full text-center xl:text-left",style:{fontVariationSettings:'"opsz" 14, "wdth" 100'}
1,animate:{opacity:d},transition:{duration:e,ease:"easeInOut"},children:f},m)})})})}var nc=P(()=>{C();pt();ht();O();G(Jo,{holdDuration:{label:"Hold duration (ms)",type:"number",defaultValue:2e3},transitionDuration:{label:"Transition duration (s)",type:"number",control:"slider",min:.1,max:3,step:.1,defaultValue:.8}})});var ic={};ct(ic,{default:()=>Qo});function Qo({holdDuration:t=2e3,transitionDuration:e=.8}){let[n,i]=I(7),[r,o]=I(!1),s=w(!1),a=w(null),u=w([]),l=["I am looking for information","I was just diagnosed","I am choosing a treatment","I am on a medication","I am managing side effects","I am living with metastatic cancer","I am caring for someone"],c=[...l,...l,...l];V(()=>{o(!0)},[]),V(()=>{let f=setInterval(()=>{i(m=>{let h=m+1;return h>=l.length*2?(s.current=!0,l.length):h})},t);return()=>clearInterval(f)},[t,l.length]);let p=()=>{if(!a.current||!u.current[n])return 0;let f=a.current.offsetHeight,m=u.current[n];if(!m)return 0;let h=m.offsetTop,d=m.offsetHeight;return f/2-d/2-h};return S("div",{ref:a,className:"relative size-full overflow-hidden",children:S(j.div,{className:"[word-break:break-word] content-stretch flex flex-col font-['Bricolage_Grotesque:SemiBold',sans-serif] font-semibold gap-[49px] items-center leading-[36px] relative w-full text-[#133c55] text-[32px] tracking-[-0.24px]",initial:{y:p()},animate:{y:p()},transition:{duration:r&&!s.current?e:0,ease:"easeInOut"},onAnimationComplete:()=>{s.current&&(s.current=!1)},children:c.map((f,m)=>{let h=Math.abs(m-n),d=0;return m===n?d=1:h===1&&(d=.4),S(j.p,{ref:g=>u.current[m]=g,className:"relative shrink-0 w-full text-center xl:text-left",style:{fontVariationSettings:'"opsz" 14, "wdth" 100'},animate:{opacity:d},transition:{duration:e,ease:"easeInOut"},children:f},m)})})})}var rc=P(()=>{C();pt();ht();O();G(Qo,{holdDuration:{label:"Hold duration (ms)",type:"number",defaultValue:2e3},transitionDuration:{label:"Transition duration (s)",type:"number",control:"slider",min:.1,max:3,step:.1,defaultValue:.8}})});var oc={};ct(oc,{default:()=>ts});function ts({holdDuration:t=2e3,transitionDuration:e=.8}){let[n,i]=I(7),[r,o]=I(!1),s=w(!1),a=w(null),u=w([]),l=["I am looking for information","I was just diagnosed","I am choosing a treatment","I am on a medication","I am managing side effects","I am living with metastatic cancer","I am caring for someone"],c=[...l,...l,...l];V(()=>{o(!0)},[]),V(()=>{let f=setInterval(()=>{i(m=>{let h=m+1;return h>=l.length*2?(s.current=!0,l.length):h})},t);return()=>clearInterval(f)},[t,l.length]);let p=()=>{if(!a.current||!u.current[n])return 0;let f=a.current.offsetHeight,m=u.current[n];if(!m)return 0;let h=m.offsetTop,d=m.offsetHeight;return f/2-d/2-h};return S("div",{ref:a,className:"relative size-full overflow-hidden",children:S(j.div,{className:"[word-break:break-word] content-stretch flex flex-col font-['Bricolage_Grotesque:SemiBold',sans-serif] font-semibold gap-[49px] items-center leading-[36px] relative w-full text-[#133c55] text-[32px] tracking-[-0.24px]",initial:{y:p()},animate:{y:p()},transition:{duration:r&&!s.current?e:0,ease:"easeInOut"},onAnimationComplete:()=>{s.current&&(s.current=!1)},children:c.map((f,m)=>{let h=Math.abs(m-n),d=0;return m===n?d=1:h===1&&(d=.4),S(j.p,{ref:g=>u.current[m]=g,className:"relative shrink-0 w-full text-center xl:text-left",style:{fontVariationSettings:'"opsz" 14, "wdth" 100'},animate:{opacity:d},transition:{duration:e,ease:"easeInOut"},children:f},m)})})})}var sc=P(()=>{C();pt();ht();O();G(ts,{holdDuration:{label:"Hold duration (ms)",type:"number",defaultValue:2e3},transitionDuration:{label:"Transition duration (s)",type:"number",control:"slider",min:.1,max:3,step:.1,defaultValue:.8}})});var ac={};ct(ac,{default:()=>es});function es({holdDuration:t=2e3,transitionDuration:e=.8}){let[n,i]=I(7),[r,o]=I(!1),s=w(!1),a=w(null),u=w([]),l=["I am looking for information","I was just diagnosed","I am choosing a treatment","I am on a medication","I am managing side effects","I am living with metastatic cancer","I am caring for someone"],c=[...l,...l,...l];V(()=>{o(!0)},[]),V(()=>{let f=setInterval(()=>{i(m=>{let h=m+1;return h>=l.length*2?(s.current=!0,l.length):h})},t);return()=>clearInterval(f)},[t,l.length]);let p=()=>
1{if(!a.current||!u.current[n])return 0;let f=a.current.offsetHeight,m=u.current[n];if(!m)return 0;let h=m.offsetTop,d=m.offsetHeight;return f/2-d/2-h};return S("div",{ref:a,className:"relative size-full overflow-hidden",children:S(j.div,{className:"[word-break:break-word] content-stretch flex flex-col font-['Bricolage_Grotesque:SemiBold',sans-serif] font-semibold gap-[49px] items-center leading-[36px] relative w-full text-[#133c55] text-[32px] tracking-[-0.24px]",initial:{y:p()},animate:{y:p()},transition:{duration:r&&!s.current?e:0,ease:"easeInOut"},onAnimationComplete:()=>{s.current&&(s.current=!1)},children:c.map((f,m)=>{let h=Math.abs(m-n),d=0;return m===n?d=1:h===1&&(d=.4),S(j.p,{ref:g=>u.current[m]=g,className:"relative shrink-0 w-full text-center xl:text-left",style:{fontVariationSettings:'"opsz" 14, "wdth" 100'},animate:{opacity:d},transition:{duration:e,ease:"easeInOut"},children:f},m)})})})}var lc=P(()=>{C();pt();ht();O();G(es,{holdDuration:{label:"Hold duration (ms)",type:"number",defaultValue:2e3},transitionDuration:{label:"Transition duration (s)",type:"number",control:"slider",min:.1,max:3,step:.1,defaultValue:.8}})});var uc={};ct(uc,{default:()=>ns});function ns({holdDuration:t=2e3,transitionDuration:e=.8}){let[n,i]=I(7),[r,o]=I(!1),s=w(!1),a=w(null),u=w([]),l=["I am looking for information","I was just diagnosed","I am choosing a treatment","I am on a medication","I am managing side effects","I am living with metastatic cancer","I am caring for someone"],c=[...l,...l,...l];V(()=>{o(!0)},[]),V(()=>{let f=setInterval(()=>{i(m=>{let h=m+1;return h>=l.length*2?(s.current=!0,l.length):h})},t);return()=>clearInterval(f)},[t,l.length]);let p=()=>{if(!a.current||!u.current[n])return 0;let f=a.current.offsetHeight,m=u.current[n];if(!m)return 0;let h=m.offsetTop,d=m.offsetHeight;return f/2-d/2-h};return S("div",{ref:a,className:"relative size-full overflow-hidden",children:S(j.div,{className:"[word-break:break-word] content-stretch flex flex-col font-['Bricolage_Grotesque:SemiBold',sans-serif] font-semibold gap-[49px] items-center leading-[36px] relative w-full text-[#133c55] text-[32px] tracking-[-0.24px]",initial:{y:p()},animate:{y:p()},transition:{duration:r&&!s.current?e:0,ease:"easeInOut"},onAnimationComplete:()=>{s.current&&(s.current=!1)},children:c.map((f,m)=>{let h=Math.abs(m-n),d=0;return m===n?d=1:h===1&&(d=.4),S(j.p,{ref:g=>u.current[m]=g,className:"relative shrink-0 w-full text-center xl:text-left",style:{fontVariationSettings:'"opsz" 14, "wdth" 100'},animate:{opacity:d},transition:{duration:e,ease:"easeInOut"},children:f},m)})})})}var cc=P(()=>{C();pt();ht();O();G(ns,{holdDuration:{label:"Hold duration (ms)",type:"number",defaultValue:2e3},transitionDuration:{label:"Transition duration (s)",type:"number",control:"slider",min:.1,max:3,step:.1,defaultValue:.8}})});var HE=()=>Promise.resolve().then(()=>(ys(),gs)),NE=()=>Promise.resolve().then(()=>(Fu(),ju)),GE=()=>Promise.resolve().then(()=>(Hu(),_u)),WE=()=>Promise.resolve().then(()=>(Gu(),Nu)),$E=()=>Promise.resolve().then(()=>($u(),Wu)),UE=()=>Promise.resolve().then(()=>(zu(),Uu)),zE=()=>Promise.resolve().then(()=>(Xu(),Yu)),YE=()=>Promise.resolve().then(()=>(qu(),Ku)),XE=()=>Promise.resolve().then(()=>(Ju(),Zu)),KE=()=>Promise.resolve().then(()=>(tc(),Qu)),qE=()=>Promise.resolve().then(()=>(nc(),ec)),ZE=()=>Promise.resolve().then(()=>(rc(),ic)),JE=()=>Promise.resolve().then(()=>(sc(),oc)),QE=()=>Promise.resolve().then(()=>(lc(),ac)),tP=()=>Promise.resolve().then(()=>(cc(),uc));export{HE as Code1063_1455,NE as Code1313_5669,WE as Code1331_11217,$E as Code1331_13214,UE as Code1331_15211,zE as Code1331_17208,YE as Code1331_19205,GE as Code1331_9220,qE as Code1404_10644,ZE as Code1404_11827,JE as Code1404_13007,QE as Code1404_14192,tP as Code1404_15377,XE as Code1404_8284,KE as Code1404_9459};

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.