var Or=Object.defineProperty;var Fr=(t,e,n)=>e in t?Or(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var Y=(t,e,n)=>Fr(t,typeof e!="symbol"?e+"":e,n);import{r as w,j as d,q as qe,e as E,g as Xe,h as st,Y as Ir}from"./app.mjs";import{E as Xs}from"./ErrorBoundary-BOZtjfPT.mjs";function Br(t){if(typeof Proxy>"u")return t;const e=new Map,n=(...s)=>t(...s);return new Proxy(n,{get:(s,i)=>i==="create"?t:(e.has(i)||e.set(i,t(i)),e.get(i))})}function ie(t){return t!==null&&typeof t=="object"&&typeof t.start=="function"}const je=t=>Array.isArray(t);function Qs(t,e){if(!Array.isArray(e))return!1;const n=e.length;if(n!==t.length)return!1;for(let s=0;s{e[0][s]=n.get(),e[1][s]=n.getVelocity()}),e}function Qe(t,e,n,s){if(typeof e=="function"){const[i,o]=Ln(s);e=e(n!==void 0?n:t.custom,i,o)}if(typeof e=="string"&&(e=t.variants&&t.variants[e]),typeof e=="function"){const[i,o]=Ln(s);e=e(n!==void 0?n:t.custom,i,o)}return e}function re(t,e,n){const s=t.getProps();return Qe(s,e,n!==void 0?n:s.custom,t)}const Je=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],tn=["initial",...Je],Nt=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],dt=new Set(Nt),X=t=>t*1e3,Q=t=>t/1e3,Nr={type:"spring",stiffness:500,damping:25,restSpeed:10},$r=t=>({type:"spring",stiffness:550,damping:t===0?2*Math.sqrt(550):30,restSpeed:10}),_r={type:"keyframes",duration:.8},Hr={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Ur=(t,{keyframes:e})=>e.length>2?_r:dt.has(t)?t.startsWith("scale")?$r(e[1]):Nr:Hr;function en(t,e){return t?t[e]||t.default||t:void 0}const Kr={skipAnimations:!1,useManualTiming:!1},Wr=t=>t!==null;function oe(t,{repeat:e,repeatType:n="loop"},s){const i=t.filter(Wr),o=e&&n!=="loop"&&e%2===1?0:i.length-1;return!o||s===void 0?i[o]:s}const F=t=>t;function Gr(t){let e=new Set,n=new Set,s=!1,i=!1;const o=new WeakSet;let r={delta:0,timestamp:0,isProcessing:!1};function a(c){o.has(c)&&(l.schedule(c),t()),c(r)}const l={schedule:(c,u=!1,h=!1)=>{const p=h&&s?e:n;return u&&o.add(c),p.has(c)||p.add(c),c},cancel:c=>{n.delete(c),o.delete(c)},process:c=>{if(r=c,s){i=!0;return}s=!0,[e,n]=[n,e],n.clear(),e.forEach(a),s=!1,i&&(i=!1,l.process(c))}};return l}const Ht=["read","resolveKeyframes","update","preRender","render","postRender"],Zr=40;function Js(t,e){let n=!1,s=!0;const i={delta:0,timestamp:0,isProcessing:!1},o=()=>n=!0,r=Ht.reduce((g,C)=>(g[C]=Gr(o),g),{}),{read:a,resolveKeyframes:l,update:c,preRender:u,render:h,postRender:f}=r,p=()=>{const g=performance.now();n=!1,i.delta=s?1e3/60:Math.max(Math.min(g-i.timestamp,Zr),1),i.timestamp=g,i.isProcessing=!0,a.process(i),l.process(i),c.process(i),u.process(i),h.process(i),f.process(i),i.isProcessing=!1,n&&e&&(s=!1,t(p))},m=()=>{n=!0,s=!0,i.isProcessing||t(p)};return{schedule:Ht.reduce((g,C)=>{const T=r[C];return g[C]=(A,b=!1,V=!1)=>(n||m(),T.schedule(A,b,V)),g},{}),cancel:g=>{for(let C=0;C(((1-3*n+3*e)*t+(3*n-6*e))*t+3*e)*t,zr=1e-7,Yr=12;function qr(t,e,n,s,i){let o,r,a=0;do r=e+(n-e)/2,o=ti(r,s,i)-t,o>0?n=r:e=r;while(Math.abs(o)>zr&&++aqr(o,0,1,t,n);return o=>o===0||o===1?o:ti(i(o),e,s)}const ei=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,ni=t=>e=>1-t(1-e),si=$t(.33,1.53,.69,.99),nn=ni(si),ii=ei(nn),ri=t=>(t*=2)<1?.5*nn(t):.5*(2-Math.pow(2,-10*(t-1))),sn=t=>1-Math.sin(Math.acos(t)),oi=ni(sn),ai=ei(sn),li=t=>/^0[^.\s]+$/u.test(t);function Xr(t){return typeof t=="number"?t===0:t!==null?t==="none"||t==="0"||li(t):!0}let De=F;const ci=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t),ui=t=>e=>typeof e=="string"&&e.startsWith(t),hi=ui("--"),Qr=ui("var(--"),rn=t=>Qr(t)?Jr.test(t.split("/*")[0].trim()):!1,Jr=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,to=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function eo(t){const e=to.exec(t);if(!e)return[,];const[,n,s,i]=e;return[`--${n??s}`,i]}function fi(t,e,n=1){const[s,i]=eo(t);if(!s)return;const o=window.getComputedStyle(e).getPropertyValue(s);if(o){const r=o.trim();return ci(r)?parseFloat(r):r}return rn(i)?fi(i,e,n+1):i}const et=(t,e,n)=>n>e?e:ntypeof t=="number",parse:parseFloat,transform:t=>t},Ft={...St,transform:t=>et(0,1,t)},Ut={...St,default:1},_t=t=>({test:e=>typeof e=="string"&&e.endsWith(t)&&e.split(" ").length===1,parse:parseFloat,transform:e=>`${e}${t}`}),nt=_t("deg"),W=_t("%"),x=_t("px"),no=_t("vh"),so=_t("vw"),kn={...W,parse:t=>W.parse(t)/100,transform:t=>W.transform(t*100)},io=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),On=t=>t===St||t===x,Fn=(t,e)=>parseFloat(t.split(", ")[e]),In=(t,e)=>(n,{transform:s})=>{if(s==="none"||!s)return 0;const i=s.match(/^matrix3d\((.+)\)$/u);if(i)return Fn(i[1],e);{const o=s.match(/^matrix\((.+)\)$/u);return o?Fn(o[1],t):0}},ro=new Set(["x","y","z"]),oo=Nt.filter(t=>!ro.has(t));function ao(t){const e=[];return oo.forEach(n=>{const s=t.getValue(n);s!==void 0&&(e.push([n,s.get()]),s.set(n.startsWith("scale")?1:0))}),e}const bt={width:({x:t},{paddingLeft:e="0",paddingRight:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),height:({y:t},{paddingTop:e="0",paddingBottom:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:In(4,13),y:In(5,14)};bt.translateX=bt.x;bt.translateY=bt.y;const di=t=>e=>e.test(t),lo={test:t=>t==="auto",parse:t=>t},pi=[St,x,W,nt,so,no,lo],Bn=t=>pi.find(di(t)),ft=new Set;let Ee=!1,Re=!1;function mi(){if(Re){const t=Array.from(ft).filter(s=>s.needsMeasurement),e=new Set(t.map(s=>s.element)),n=new Map;e.forEach(s=>{const i=ao(s);i.length&&(n.set(s,i),s.render())}),t.forEach(s=>s.measureInitialState()),e.forEach(s=>{s.render();const i=n.get(s);i&&i.forEach(([o,r])=>{var a;(a=s.getValue(o))===null||a===void 0||a.set(r)})}),t.forEach(s=>s.measureEndState()),t.forEach(s=>{s.suspendedScrollY!==void 0&&window.scrollTo(0,s.suspendedScrollY)})}Re=!1,Ee=!1,ft.forEach(t=>t.complete()),ft.clear()}function gi(){ft.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(Re=!0)})}function co(){gi(),mi()}class on{constructor(e,n,s,i,o,r=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...e],this.onComplete=n,this.name=s,this.motionValue=i,this.element=o,this.isAsync=r}scheduleResolve(){this.isScheduled=!0,this.isAsync?(ft.add(this),Ee||(Ee=!0,S.read(gi),S.resolveKeyframes(mi))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:e,name:n,element:s,motionValue:i}=this;for(let o=0;oMath.round(t*1e5)/1e5,an=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function uo(t){return t==null}const ho=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,ln=(t,e)=>n=>!!(typeof n=="string"&&ho.test(n)&&n.startsWith(t)||e&&!uo(n)&&Object.prototype.hasOwnProperty.call(n,e)),yi=(t,e,n)=>s=>{if(typeof s!="string")return s;const[i,o,r,a]=s.match(an);return{[t]:parseFloat(i),[e]:parseFloat(o),[n]:parseFloat(r),alpha:a!==void 0?parseFloat(a):1}},fo=t=>et(0,255,t),de={...St,transform:t=>Math.round(fo(t))},ut={test:ln("rgb","red"),parse:yi("red","green","blue"),transform:({red:t,green:e,blue:n,alpha:s=1})=>"rgba("+de.transform(t)+", "+de.transform(e)+", "+de.transform(n)+", "+Rt(Ft.transform(s))+")"};function po(t){let e="",n="",s="",i="";return t.length>5?(e=t.substring(1,3),n=t.substring(3,5),s=t.substring(5,7),i=t.substring(7,9)):(e=t.substring(1,2),n=t.substring(2,3),s=t.substring(3,4),i=t.substring(4,5),e+=e,n+=n,s+=s,i+=i),{red:parseInt(e,16),green:parseInt(n,16),blue:parseInt(s,16),alpha:i?parseInt(i,16)/255:1}}const Le={test:ln("#"),parse:po,transform:ut.transform},gt={test:ln("hsl","hue"),parse:yi("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:n,alpha:s=1})=>"hsla("+Math.round(t)+", "+W.transform(Rt(e))+", "+W.transform(Rt(n))+", "+Rt(Ft.transform(s))+")"},k={test:t=>ut.test(t)||Le.test(t)||gt.test(t),parse:t=>ut.test(t)?ut.parse(t):gt.test(t)?gt.parse(t):Le.parse(t),transform:t=>typeof t=="string"?t:t.hasOwnProperty("red")?ut.transform(t):gt.transform(t)},mo=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function go(t){var e,n;return isNaN(t)&&typeof t=="string"&&(((e=t.match(an))===null||e===void 0?void 0:e.length)||0)+(((n=t.match(mo))===null||n===void 0?void 0:n.length)||0)>0}const vi="number",Ci="color",yo="var",vo="var(",Nn="${}",Co=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function It(t){const e=t.toString(),n=[],s={color:[],number:[],var:[]},i=[];let o=0;const a=e.replace(Co,l=>(k.test(l)?(s.color.push(o),i.push(Ci),n.push(k.parse(l))):l.startsWith(vo)?(s.var.push(o),i.push(yo),n.push(l)):(s.number.push(o),i.push(vi),n.push(parseFloat(l))),++o,Nn)).split(Nn);return{values:n,split:a,indexes:s,types:i}}function xi(t){return It(t).values}function Ti(t){const{split:e,types:n}=It(t),s=e.length;return i=>{let o="";for(let r=0;rtypeof t=="number"?0:t;function To(t){const e=xi(t);return Ti(t)(e.map(xo))}const rt={test:go,parse:xi,createTransformer:Ti,getAnimatableNone:To},wo=new Set(["brightness","contrast","saturate","opacity"]);function bo(t){const[e,n]=t.slice(0,-1).split("(");if(e==="drop-shadow")return t;const[s]=n.match(an)||[];if(!s)return t;const i=n.replace(s,"");let o=wo.has(e)?1:0;return s!==n&&(o*=100),e+"("+o+i+")"}const Po=/\b([a-z-]*)\(.*?\)/gu,ke={...rt,getAnimatableNone:t=>{const e=t.match(Po);return e?e.map(bo).join(" "):t}},Ao={borderWidth:x,borderTopWidth:x,borderRightWidth:x,borderBottomWidth:x,borderLeftWidth:x,borderRadius:x,radius:x,borderTopLeftRadius:x,borderTopRightRadius:x,borderBottomRightRadius:x,borderBottomLeftRadius:x,width:x,maxWidth:x,height:x,maxHeight:x,top:x,right:x,bottom:x,left:x,padding:x,paddingTop:x,paddingRight:x,paddingBottom:x,paddingLeft:x,margin:x,marginTop:x,marginRight:x,marginBottom:x,marginLeft:x,backgroundPositionX:x,backgroundPositionY:x},So={rotate:nt,rotateX:nt,rotateY:nt,rotateZ:nt,scale:Ut,scaleX:Ut,scaleY:Ut,scaleZ:Ut,skew:nt,skewX:nt,skewY:nt,distance:x,translateX:x,translateY:x,translateZ:x,x,y:x,z:x,perspective:x,transformPerspective:x,opacity:Ft,originX:kn,originY:kn,originZ:x},$n={...St,transform:Math.round},cn={...Ao,...So,zIndex:$n,size:x,fillOpacity:Ft,strokeOpacity:Ft,numOctaves:$n},Vo={...cn,color:k,backgroundColor:k,outlineColor:k,fill:k,stroke:k,borderColor:k,borderTopColor:k,borderRightColor:k,borderBottomColor:k,borderLeftColor:k,filter:ke,WebkitFilter:ke},un=t=>Vo[t];function wi(t,e){let n=un(t);return n!==ke&&(n=rt),n.getAnimatableNone?n.getAnimatableNone(e):void 0}const Mo=new Set(["auto","none","0"]);function jo(t,e,n){let s=0,i;for(;s{n.getValue(l).set(c)}),this.resolveNoneKeyframes()}}function hn(t){return typeof t=="function"}let Gt;function Do(){Gt=void 0}const G={now:()=>(Gt===void 0&&G.set(L.isProcessing||Kr.useManualTiming?L.timestamp:performance.now()),Gt),set:t=>{Gt=t,queueMicrotask(Do)}},_n=(t,e)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(rt.test(t)||t==="0")&&!t.startsWith("url("));function Eo(t){const e=t[0];if(t.length===1)return!0;for(let n=0;nLo?this.resolvedAt:this.createdAt:this.createdAt}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&co(),this._resolved}onKeyframesResolved(e,n){this.resolvedAt=G.now(),this.hasAttemptedResolve=!0;const{name:s,type:i,velocity:o,delay:r,onComplete:a,onUpdate:l,isGenerator:c}=this.options;if(!c&&!Ro(e,s,i,o))if(r)this.options.duration=0;else{l==null||l(oe(e,this.options,n)),a==null||a(),this.resolveFinishedPromise();return}const u=this.initPlayback(e,n);u!==!1&&(this._resolved={keyframes:e,finalKeyframe:n,...u},this.onPostResolved())}onPostResolved(){}then(e,n){return this.currentFinishedPromise.then(e,n)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise(e=>{this.resolveFinishedPromise=e})}}const Pt=(t,e,n)=>{const s=e-t;return s===0?1:(n-t)/s},Ai=(t,e,n=10)=>{let s="";const i=Math.max(Math.round(e/n),2);for(let o=0;o{const u=c*r,h=u*t,f=u-n,p=Oe(c,r),m=Math.exp(-h);return pe-f/p*m},o=c=>{const h=c*r*t,f=h*n+n,p=Math.pow(r,2)*Math.pow(c,2)*t,m=Math.exp(-h),y=Oe(Math.pow(c,2),r);return(-i(c)+pe>0?-1:1)*((f-p)*m)/y}):(i=c=>{const u=Math.exp(-c*t),h=(c-n)*t+1;return-pe+u*h},o=c=>{const u=Math.exp(-c*t),h=(n-c)*(t*t);return u*h});const a=5/t,l=Io(i,o,a);if(t=X(t),isNaN(l))return{stiffness:j.stiffness,damping:j.damping,duration:t};{const c=Math.pow(l,2)*s;return{stiffness:c,damping:r*2*Math.sqrt(s*c),duration:t}}}const Fo=12;function Io(t,e,n){let s=n;for(let i=1;i=Fe?1/0:e}const Bo=["duration","bounce"],No=["stiffness","damping","mass"];function Hn(t,e){return e.some(n=>t[n]!==void 0)}function $o(t){let e={velocity:j.velocity,stiffness:j.stiffness,damping:j.damping,mass:j.mass,isResolvedFromDuration:!1,...t};if(!Hn(t,No)&&Hn(t,Bo))if(t.visualDuration){const n=t.visualDuration,s=2*Math.PI/(n*1.2),i=s*s,o=2*et(.05,1,1-t.bounce)*Math.sqrt(i);e={...e,mass:j.mass,stiffness:i,damping:o}}else{const n=Oo(t);e={...e,...n,mass:j.mass},e.isResolvedFromDuration=!0}return e}function ji(t=j.visualDuration,e=j.bounce){const n=typeof t!="object"?{visualDuration:t,keyframes:[0,1],bounce:e}:t;let{restSpeed:s,restDelta:i}=n;const o=n.keyframes[0],r=n.keyframes[n.keyframes.length-1],a={done:!1,value:o},{stiffness:l,damping:c,mass:u,duration:h,velocity:f,isResolvedFromDuration:p}=$o({...n,velocity:-Q(n.velocity||0)}),m=f||0,y=c/(2*Math.sqrt(l*u)),v=r-o,g=Q(Math.sqrt(l/u)),C=Math.abs(v)<5;s||(s=C?j.restSpeed.granular:j.restSpeed.default),i||(i=C?j.restDelta.granular:j.restDelta.default);let T;if(y<1){const b=Oe(g,y);T=V=>{const R=Math.exp(-y*g*V);return r-R*((m+y*g*v)/b*Math.sin(b*V)+v*Math.cos(b*V))}}else if(y===1)T=b=>r-Math.exp(-g*b)*(v+(m+g*v)*b);else{const b=g*Math.sqrt(y*y-1);T=V=>{const R=Math.exp(-y*g*V),P=Math.min(b*V,300);return r-R*((m+y*g*v)*Math.sinh(P)+b*v*Math.cosh(P))/b}}const A={calculatedDuration:p&&h||null,next:b=>{const V=T(b);if(p)a.done=b>=h;else{let R=0;y<1&&(R=b===0?X(m):Vi(T,b,V));const P=Math.abs(R)<=s,B=Math.abs(r-V)<=i;a.done=P&&B}return a.value=a.done?r:V,a},toString:()=>{const b=Math.min(Mi(A),Fe),V=Ai(R=>A.next(b*R).value,b,30);return b+"ms "+V}};return A}function Un({keyframes:t,velocity:e=0,power:n=.8,timeConstant:s=325,bounceDamping:i=10,bounceStiffness:o=500,modifyTarget:r,min:a,max:l,restDelta:c=.5,restSpeed:u}){const h=t[0],f={done:!1,value:h},p=P=>a!==void 0&&Pl,m=P=>a===void 0?l:l===void 0||Math.abs(a-P)-y*Math.exp(-P/s),T=P=>g+C(P),A=P=>{const B=C(P),$=T(P);f.done=Math.abs(B)<=c,f.value=f.done?g:$};let b,V;const R=P=>{p(f.value)&&(b=P,V=ji({keyframes:[f.value,m(f.value)],velocity:Vi(T,P,f.value),damping:i,stiffness:o,restDelta:c,restSpeed:u}))};return R(0),{calculatedDuration:null,next:P=>{let B=!1;return!V&&b===void 0&&(B=!0,A(P),R(P)),b!==void 0&&P>=b?V.next(P-b):(!B&&A(P),f)}}}const _o=$t(.42,0,1,1),Ho=$t(0,0,.58,1),Di=$t(.42,0,.58,1),Uo=t=>Array.isArray(t)&&typeof t[0]!="number",fn=t=>Array.isArray(t)&&typeof t[0]=="number",Kn={linear:F,easeIn:_o,easeInOut:Di,easeOut:Ho,circIn:sn,circInOut:ai,circOut:oi,backIn:nn,backInOut:ii,backOut:si,anticipate:ri},Wn=t=>{if(fn(t)){De(t.length===4);const[e,n,s,i]=t;return $t(e,n,s,i)}else if(typeof t=="string")return De(Kn[t]!==void 0),Kn[t];return t},Ko=(t,e)=>n=>e(t(n)),J=(...t)=>t.reduce(Ko),M=(t,e,n)=>t+(e-t)*n;function me(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 Wo({hue:t,saturation:e,lightness:n,alpha:s}){t/=360,e/=100,n/=100;let i=0,o=0,r=0;if(!e)i=o=r=n;else{const a=n<.5?n*(1+e):n+e-n*e,l=2*n-a;i=me(l,a,t+1/3),o=me(l,a,t),r=me(l,a,t-1/3)}return{red:Math.round(i*255),green:Math.round(o*255),blue:Math.round(r*255),alpha:s}}function Xt(t,e){return n=>n>0?e:t}const ge=(t,e,n)=>{const s=t*t,i=n*(e*e-s)+s;return i<0?0:Math.sqrt(i)},Go=[Le,ut,gt],Zo=t=>Go.find(e=>e.test(t));function Gn(t){const e=Zo(t);if(!e)return!1;let n=e.parse(t);return e===gt&&(n=Wo(n)),n}const Zn=(t,e)=>{const n=Gn(t),s=Gn(e);if(!n||!s)return Xt(t,e);const i={...n};return o=>(i.red=ge(n.red,s.red,o),i.green=ge(n.green,s.green,o),i.blue=ge(n.blue,s.blue,o),i.alpha=M(n.alpha,s.alpha,o),ut.transform(i))},Ie=new Set(["none","hidden"]);function zo(t,e){return Ie.has(t)?n=>n<=0?t:e:n=>n>=1?e:t}function Yo(t,e){return n=>M(t,e,n)}function dn(t){return typeof t=="number"?Yo:typeof t=="string"?rn(t)?Xt:k.test(t)?Zn:Qo:Array.isArray(t)?Ei:typeof t=="object"?k.test(t)?Zn:qo:Xt}function Ei(t,e){const n=[...t],s=n.length,i=t.map((o,r)=>dn(o)(o,e[r]));return o=>{for(let r=0;r{for(const o in s)n[o]=s[o](i);return n}}function Xo(t,e){var n;const s=[],i={color:0,var:0,number:0};for(let o=0;o{const n=rt.createTransformer(e),s=It(t),i=It(e);return s.indexes.var.length===i.indexes.var.length&&s.indexes.color.length===i.indexes.color.length&&s.indexes.number.length>=i.indexes.number.length?Ie.has(t)&&!i.values.length||Ie.has(e)&&!s.values.length?zo(t,e):J(Ei(Xo(s,i),i.values),n):Xt(t,e)};function Ri(t,e,n){return typeof t=="number"&&typeof e=="number"&&typeof n=="number"?M(t,e,n):dn(t)(t,e)}function Jo(t,e,n){const s=[],i=n||Ri,o=t.length-1;for(let r=0;re[0];if(o===2&&t[0]===t[1])return()=>e[1];t[0]>t[o-1]&&(t=[...t].reverse(),e=[...e].reverse());const r=Jo(e,s,i),a=r.length,l=c=>{let u=0;if(a>1)for(;ul(et(t[0],t[o-1],c)):l}function ea(t,e){const n=t[t.length-1];for(let s=1;s<=e;s++){const i=Pt(0,e,s);t.push(M(n,1,i))}}function na(t){const e=[0];return ea(e,t.length-1),e}function sa(t,e){return t.map(n=>n*e)}function ia(t,e){return t.map(()=>e||Di).splice(0,t.length-1)}function Qt({duration:t=300,keyframes:e,times:n,ease:s="easeInOut"}){const i=Uo(s)?s.map(Wn):Wn(s),o={done:!1,value:e[0]},r=sa(n&&n.length===e.length?n:na(e),t),a=ta(r,e,{ease:Array.isArray(i)?i:ia(e,i)});return{calculatedDuration:t,next:l=>(o.value=a(l),o.done=l>=t,o)}}const ra=t=>{const e=({timestamp:n})=>t(n);return{start:()=>S.update(e,!0),stop:()=>it(e),now:()=>L.isProcessing?L.timestamp:G.now()}},oa={decay:Un,inertia:Un,tween:Qt,keyframes:Qt,spring:ji},aa=t=>t/100;class pn extends Pi{constructor(e){super(e),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.teardown();const{onStop:l}=this.options;l&&l()};const{name:n,motionValue:s,element:i,keyframes:o}=this.options,r=(i==null?void 0:i.KeyframeResolver)||on,a=(l,c)=>this.onKeyframesResolved(l,c);this.resolver=new r(o,a,n,s,i),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(e){const{type:n="keyframes",repeat:s=0,repeatDelay:i=0,repeatType:o,velocity:r=0}=this.options,a=hn(n)?n:oa[n]||Qt;let l,c;a!==Qt&&typeof e[0]!="number"&&(l=J(aa,Ri(e[0],e[1])),e=[0,100]);const u=a({...this.options,keyframes:e});o==="mirror"&&(c=a({...this.options,keyframes:[...e].reverse(),velocity:-r})),u.calculatedDuration===null&&(u.calculatedDuration=Mi(u));const{calculatedDuration:h}=u,f=h+i,p=f*(s+1)-i;return{generator:u,mirroredGenerator:c,mapPercentToKeyframes:l,calculatedDuration:h,resolvedDuration:f,totalDuration:p}}onPostResolved(){const{autoplay:e=!0}=this.options;this.play(),this.pendingPlayState==="paused"||!e?this.pause():this.state=this.pendingPlayState}tick(e,n=!1){const{resolved:s}=this;if(!s){const{keyframes:P}=this.options;return{done:!0,value:P[P.length-1]}}const{finalKeyframe:i,generator:o,mirroredGenerator:r,mapPercentToKeyframes:a,keyframes:l,calculatedDuration:c,totalDuration:u,resolvedDuration:h}=s;if(this.startTime===null)return o.next(0);const{delay:f,repeat:p,repeatType:m,repeatDelay:y,onUpdate:v}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-u/this.speed,this.startTime)),n?this.currentTime=e:this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=Math.round(e-this.startTime)*this.speed;const g=this.currentTime-f*(this.speed>=0?1:-1),C=this.speed>=0?g<0:g>u;this.currentTime=Math.max(g,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=u);let T=this.currentTime,A=o;if(p){const P=Math.min(this.currentTime,u)/h;let B=Math.floor(P),$=P%1;!$&&P>=1&&($=1),$===1&&B--,B=Math.min(B,p+1),!!(B%2)&&(m==="reverse"?($=1-$,y&&($-=y/h)):m==="mirror"&&(A=r)),T=et(0,1,$)*h}const b=C?{done:!1,value:l[0]}:A.next(T);a&&(b.value=a(b.value));let{done:V}=b;!C&&c!==null&&(V=this.speed>=0?this.currentTime>=u:this.currentTime<=0);const R=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&V);return R&&i!==void 0&&(b.value=oe(l,this.options,i)),v&&v(b.value),R&&this.finish(),b}get duration(){const{resolved:e}=this;return e?Q(e.calculatedDuration):0}get time(){return Q(this.currentTime)}set time(e){e=X(e),this.currentTime=e,this.holdTime!==null||this.speed===0?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.speed)}get speed(){return this.playbackSpeed}set speed(e){const n=this.playbackSpeed!==e;this.playbackSpeed=e,n&&(this.time=Q(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;const{driver:e=ra,onPlay:n,startTime:s}=this.options;this.driver||(this.driver=e(o=>this.tick(o))),n&&n();const i=this.driver.now();this.holdTime!==null?this.startTime=i-this.holdTime:this.startTime?this.state==="finished"&&(this.startTime=i):this.startTime=s??this.calcStartTime(),this.state==="finished"&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var e;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=(e=this.currentTime)!==null&&e!==void 0?e:0}complete(){this.state!=="running"&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:e}=this.options;e&&e()}cancel(){this.cancelTime!==null&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}}const la=new Set(["opacity","clipPath","filter","transform"]);function mn(t){let e;return()=>(e===void 0&&(e=t()),e)}const ca={linearEasing:void 0};function ua(t,e){const n=mn(t);return()=>{var s;return(s=ca[e])!==null&&s!==void 0?s:n()}}const Jt=ua(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing");function Li(t){return!!(typeof t=="function"&&Jt()||!t||typeof t=="string"&&(t in Be||Jt())||fn(t)||Array.isArray(t)&&t.every(Li))}const Dt=([t,e,n,s])=>`cubic-bezier(${t}, ${e}, ${n}, ${s})`,Be={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Dt([0,.65,.55,1]),circOut:Dt([.55,0,1,.45]),backIn:Dt([.31,.01,.66,-.59]),backOut:Dt([.33,1.53,.69,.99])};function ki(t,e){if(t)return typeof t=="function"&&Jt()?Ai(t,e):fn(t)?Dt(t):Array.isArray(t)?t.map(n=>ki(n,e)||Be.easeOut):Be[t]}function ha(t,e,n,{delay:s=0,duration:i=300,repeat:o=0,repeatType:r="loop",ease:a="easeInOut",times:l}={}){const c={[e]:n};l&&(c.offset=l);const u=ki(a,i);return Array.isArray(u)&&(c.easing=u),t.animate(c,{delay:s,duration:i,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:o+1,direction:r==="reverse"?"alternate":"normal"})}function zn(t,e){t.timeline=e,t.onfinish=null}const fa=mn(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),te=10,da=2e4;function pa(t){return hn(t.type)||t.type==="spring"||!Li(t.ease)}function ma(t,e){const n=new pn({...e,keyframes:t,repeat:0,delay:0,isGenerator:!0});let s={done:!1,value:t[0]};const i=[];let o=0;for(;!s.done&&othis.onKeyframesResolved(r,a),n,s,i),this.resolver.scheduleResolve()}initPlayback(e,n){var s;let{duration:i=300,times:o,ease:r,type:a,motionValue:l,name:c,startTime:u}=this.options;if(!(!((s=l.owner)===null||s===void 0)&&s.current))return!1;if(typeof r=="string"&&Jt()&&ga(r)&&(r=Oi[r]),pa(this.options)){const{onComplete:f,onUpdate:p,motionValue:m,element:y,...v}=this.options,g=ma(e,v);e=g.keyframes,e.length===1&&(e[1]=e[0]),i=g.duration,o=g.times,r=g.ease,a="keyframes"}const h=ha(l.owner.current,c,e,{...this.options,duration:i,times:o,ease:r});return h.startTime=u??this.calcStartTime(),this.pendingTimeline?(zn(h,this.pendingTimeline),this.pendingTimeline=void 0):h.onfinish=()=>{const{onComplete:f}=this.options;l.set(oe(e,this.options,n)),f&&f(),this.cancel(),this.resolveFinishedPromise()},{animation:h,duration:i,times:o,type:a,ease:r,keyframes:e}}get duration(){const{resolved:e}=this;if(!e)return 0;const{duration:n}=e;return Q(n)}get time(){const{resolved:e}=this;if(!e)return 0;const{animation:n}=e;return Q(n.currentTime||0)}set time(e){const{resolved:n}=this;if(!n)return;const{animation:s}=n;s.currentTime=X(e)}get speed(){const{resolved:e}=this;if(!e)return 1;const{animation:n}=e;return n.playbackRate}set speed(e){const{resolved:n}=this;if(!n)return;const{animation:s}=n;s.playbackRate=e}get state(){const{resolved:e}=this;if(!e)return"idle";const{animation:n}=e;return n.playState}get startTime(){const{resolved:e}=this;if(!e)return null;const{animation:n}=e;return n.startTime}attachTimeline(e){if(!this._resolved)this.pendingTimeline=e;else{const{resolved:n}=this;if(!n)return F;const{animation:s}=n;zn(s,e)}return F}play(){if(this.isStopped)return;const{resolved:e}=this;if(!e)return;const{animation:n}=e;n.playState==="finished"&&this.updateFinishedPromise(),n.play()}pause(){const{resolved:e}=this;if(!e)return;const{animation:n}=e;n.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.resolveFinishedPromise(),this.updateFinishedPromise();const{resolved:e}=this;if(!e)return;const{animation:n,keyframes:s,duration:i,type:o,ease:r,times:a}=e;if(n.playState==="idle"||n.playState==="finished")return;if(this.time){const{motionValue:c,onUpdate:u,onComplete:h,element:f,...p}=this.options,m=new pn({...p,keyframes:s,duration:i,type:o,ease:r,times:a,isGenerator:!0}),y=X(this.time);c.setWithVelocity(m.sample(y-te).value,m.sample(y).value,te)}const{onStop:l}=this.options;l&&l(),this.cancel()}complete(){const{resolved:e}=this;e&&e.animation.finish()}cancel(){const{resolved:e}=this;e&&e.animation.cancel()}static supports(e){const{motionValue:n,name:s,repeatDelay:i,repeatType:o,damping:r,type:a}=e;return fa()&&s&&la.has(s)&&n&&n.owner&&n.owner.current instanceof HTMLElement&&!n.owner.getProps().onUpdate&&!i&&o!=="mirror"&&r!==0&&a!=="inertia"}}const ya=mn(()=>window.ScrollTimeline!==void 0);class va{constructor(e){this.stop=()=>this.runAll("stop"),this.animations=e.filter(Boolean)}then(e,n){return Promise.all(this.animations).then(e).catch(n)}getAll(e){return this.animations[0][e]}setAll(e,n){for(let s=0;sya()&&i.attachTimeline?i.attachTimeline(e):n(i));return()=>{s.forEach((i,o)=>{i&&i(),this.animations[o].stop()})}}get time(){return this.getAll("time")}set time(e){this.setAll("time",e)}get speed(){return this.getAll("speed")}set speed(e){this.setAll("speed",e)}get startTime(){return this.getAll("startTime")}get duration(){let e=0;for(let n=0;nn[e]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}function Ca({when:t,delay:e,delayChildren:n,staggerChildren:s,staggerDirection:i,repeat:o,repeatType:r,repeatDelay:a,from:l,elapsed:c,...u}){return!!Object.keys(u).length}const gn=(t,e,n,s={},i,o)=>r=>{const a=en(s,t)||{},l=a.delay||s.delay||0;let{elapsed:c=0}=s;c=c-X(l);let u={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:e.getVelocity(),...a,delay:-c,onUpdate:f=>{e.set(f),a.onUpdate&&a.onUpdate(f)},onComplete:()=>{r(),a.onComplete&&a.onComplete()},name:t,motionValue:e,element:o?void 0:i};Ca(a)||(u={...u,...Ur(t,u)}),u.duration&&(u.duration=X(u.duration)),u.repeatDelay&&(u.repeatDelay=X(u.repeatDelay)),u.from!==void 0&&(u.keyframes[0]=u.from);let h=!1;if((u.type===!1||u.duration===0&&!u.repeatDelay)&&(u.duration=0,u.delay===0&&(h=!0)),h&&!o&&e.get()!==void 0){const f=oe(u.keyframes,a);if(f!==void 0)return S.update(()=>{u.onUpdate(f),u.onComplete()}),new va([])}return!o&&Yn.supports(u)?new Yn(u):new pn(u)},xa=t=>!!(t&&typeof t=="object"&&t.mix&&t.toValue),Ta=t=>je(t)?t[t.length-1]||0:t;function yn(t,e){t.indexOf(e)===-1&&t.push(e)}function vn(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}class Cn{constructor(){this.subscriptions=[]}add(e){return yn(this.subscriptions,e),()=>vn(this.subscriptions,e)}notify(e,n,s){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](e,n,s);else for(let o=0;o!isNaN(parseFloat(t));class ba{constructor(e,n={}){this.version="11.12.0",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(s,i=!0)=>{const o=G.now();this.updatedAt!==o&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(s),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),i&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(e),this.owner=n.owner}setCurrent(e){this.current=e,this.updatedAt=G.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=wa(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,n){this.events[e]||(this.events[e]=new Cn);const s=this.events[e].add(n);return e==="change"?()=>{s(),S.read(()=>{this.events.change.getSize()||this.stop()})}:s}clearListeners(){for(const e in this.events)this.events[e].clear()}attach(e,n){this.passiveEffect=e,this.stopPassiveEffect=n}set(e,n=!0){!n||!this.passiveEffect?this.updateAndNotify(e,n):this.passiveEffect(e,this.updateAndNotify)}setWithVelocity(e,n,s){this.set(n),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-s}jump(e,n=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const e=G.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>qn)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,qn);return Si(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(e){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=e(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Bt(t,e){return new ba(t,e)}function Pa(t,e,n){t.hasValue(e)?t.getValue(e).set(n):t.addValue(e,Bt(n))}function Aa(t,e){const n=re(t,e);let{transitionEnd:s={},transition:i={},...o}=n||{};o={...o,...s};for(const r in o){const a=Ta(o[r]);Pa(t,r,a)}}const xn=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),Sa="framerAppearId",Fi="data-"+xn(Sa);function Ii(t){return t.props[Fi]}const O=t=>!!(t&&t.getVelocity);function Va(t){return!!(O(t)&&t.add)}function Ne(t,e){const n=t.getValue("willChange");if(Va(n))return n.add(e)}function Ma({protectedKeys:t,needsAnimating:e},n){const s=t.hasOwnProperty(n)&&e[n]!==!0;return e[n]=!1,s}function Bi(t,e,{delay:n=0,transitionOverride:s,type:i}={}){var o;let{transition:r=t.getDefaultTransition(),transitionEnd:a,...l}=e;s&&(r=s);const c=[],u=i&&t.animationState&&t.animationState.getState()[i];for(const h in l){const f=t.getValue(h,(o=t.latestValues[h])!==null&&o!==void 0?o:null),p=l[h];if(p===void 0||u&&Ma(u,h))continue;const m={delay:n,...en(r||{},h)};let y=!1;if(window.MotionHandoffAnimation){const g=Ii(t);if(g){const C=window.MotionHandoffAnimation(g,h,S);C!==null&&(m.startTime=C,y=!0)}}Ne(t,h),f.start(gn(h,f,p,t.shouldReduceMotion&&dt.has(h)?{type:!1}:m,t,y));const v=f.animation;v&&c.push(v)}return a&&Promise.all(c).then(()=>{S.update(()=>{a&&Aa(t,a)})}),c}function $e(t,e,n={}){var s;const i=re(t,e,n.type==="exit"?(s=t.presenceContext)===null||s===void 0?void 0:s.custom:void 0);let{transition:o=t.getDefaultTransition()||{}}=i||{};n.transitionOverride&&(o=n.transitionOverride);const r=i?()=>Promise.all(Bi(t,i,n)):()=>Promise.resolve(),a=t.variantChildren&&t.variantChildren.size?(c=0)=>{const{delayChildren:u=0,staggerChildren:h,staggerDirection:f}=o;return ja(t,e,u+c,h,f,n)}:()=>Promise.resolve(),{when:l}=o;if(l){const[c,u]=l==="beforeChildren"?[r,a]:[a,r];return c().then(()=>u())}else return Promise.all([r(),a(n.delay)])}function ja(t,e,n=0,s=0,i=1,o){const r=[],a=(t.variantChildren.size-1)*s,l=i===1?(c=0)=>c*s:(c=0)=>a-c*s;return Array.from(t.variantChildren).sort(Da).forEach((c,u)=>{c.notify("AnimationStart",e),r.push($e(c,e,{...o,delay:n+l(u)}).then(()=>c.notify("AnimationComplete",e)))}),Promise.all(r)}function Da(t,e){return t.sortNodePosition(e)}function Ea(t,e,n={}){t.notify("AnimationStart",e);let s;if(Array.isArray(e)){const i=e.map(o=>$e(t,o,n));s=Promise.all(i)}else if(typeof e=="string")s=$e(t,e,n);else{const i=typeof e=="function"?re(t,e,n.custom):e;s=Promise.all(Bi(t,i,n))}return s.then(()=>{t.notify("AnimationComplete",e)})}const Ra=tn.length;function Ni(t){if(!t)return;if(!t.isControllingVariants){const n=t.parent?Ni(t.parent)||{}:{};return t.props.initial!==void 0&&(n.initial=t.props.initial),n}const e={};for(let n=0;nPromise.all(e.map(({animation:n,options:s})=>Ea(t,n,s)))}function Fa(t){let e=Oa(t),n=Xn(),s=!0;const i=l=>(c,u)=>{var h;const f=re(t,u,l==="exit"?(h=t.presenceContext)===null||h===void 0?void 0:h.custom:void 0);if(f){const{transition:p,transitionEnd:m,...y}=f;c={...c,...y,...m}}return c};function o(l){e=l(t)}function r(l){const{props:c}=t,u=Ni(t.parent)||{},h=[],f=new Set;let p={},m=1/0;for(let v=0;vm&&A,B=!1;const $=Array.isArray(T)?T:[T];let pt=$.reduce(i(g),{});b===!1&&(pt={});const{prevResolvedValues:En={}}=C,kr={...En,...pt},Rn=I=>{P=!0,f.has(I)&&(B=!0,f.delete(I)),C.needsAnimating[I]=!0;const z=t.getValue(I);z&&(z.liveStyle=!1)};for(const I in kr){const z=pt[I],ue=En[I];if(p.hasOwnProperty(I))continue;let he=!1;je(z)&&je(ue)?he=!Qs(z,ue):he=z!==ue,he?z!=null?Rn(I):f.add(I):z!==void 0&&f.has(I)?Rn(I):C.protectedKeys[I]=!0}C.prevProp=T,C.prevResolvedValues=pt,C.isActive&&(p={...p,...pt}),s&&t.blockInitialAnimation&&(P=!1),P&&(!(V&&R)||B)&&h.push(...$.map(I=>({animation:I,options:{type:g}})))}if(f.size){const v={};f.forEach(g=>{const C=t.getBaseTarget(g),T=t.getValue(g);T&&(T.liveStyle=!0),v[g]=C??null}),h.push({animation:v})}let y=!!h.length;return s&&(c.initial===!1||c.initial===c.animate)&&!t.manuallyAnimateOnMount&&(y=!1),s=!1,y?e(h):Promise.resolve()}function a(l,c){var u;if(n[l].isActive===c)return Promise.resolve();(u=t.variantChildren)===null||u===void 0||u.forEach(f=>{var p;return(p=f.animationState)===null||p===void 0?void 0:p.setActive(l,c)}),n[l].isActive=c;const h=r(l);for(const f in n)n[f].protectedKeys={};return h}return{animateChanges:r,setActive:a,setAnimateFunction:o,getState:()=>n,reset:()=>{n=Xn(),s=!0}}}function Ia(t,e){return typeof e=="string"?e!==t:Array.isArray(e)?!Qs(e,t):!1}function at(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Xn(){return{animate:at(!0),whileInView:at(),whileHover:at(),whileTap:at(),whileDrag:at(),whileFocus:at(),exit:at()}}class ot{constructor(e){this.isMounted=!1,this.node=e}update(){}}class Ba extends ot{constructor(e){super(e),e.animationState||(e.animationState=Fa(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();ie(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:e}=this.node.getProps(),{animate:n}=this.node.prevProps||{};e!==n&&this.updateAnimationControlsSubscription()}unmount(){var e;this.node.animationState.reset(),(e=this.unmountControls)===null||e===void 0||e.call(this)}}let Na=0;class $a extends ot{constructor(){super(...arguments),this.id=Na++}update(){if(!this.node.presenceContext)return;const{isPresent:e,onExitComplete:n}=this.node.presenceContext,{isPresent:s}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===s)return;const i=this.node.animationState.setActive("exit",!e);n&&!e&&i.then(()=>n(this.id))}mount(){const{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}const _a={animation:{Feature:Ba},exit:{Feature:$a}},$i=t=>t.pointerType==="mouse"?typeof t.button!="number"||t.button<=0:t.isPrimary!==!1;function ae(t,e="page"){return{point:{x:t[`${e}X`],y:t[`${e}Y`]}}}const Ha=t=>e=>$i(e)&&t(e,ae(e));function q(t,e,n,s={passive:!0}){return t.addEventListener(e,n,s),()=>t.removeEventListener(e,n)}function tt(t,e,n,s){return q(t,e,Ha(n),s)}const Qn=(t,e)=>Math.abs(t-e);function Ua(t,e){const n=Qn(t.x,e.x),s=Qn(t.y,e.y);return Math.sqrt(n**2+s**2)}class _i{constructor(e,n,{transformPagePoint:s,contextWindow:i,dragSnapToOrigin:o=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const h=ve(this.lastMoveEventInfo,this.history),f=this.startEvent!==null,p=Ua(h.offset,{x:0,y:0})>=3;if(!f&&!p)return;const{point:m}=h,{timestamp:y}=L;this.history.push({...m,timestamp:y});const{onStart:v,onMove:g}=this.handlers;f||(v&&v(this.lastMoveEvent,h),this.startEvent=this.lastMoveEvent),g&&g(this.lastMoveEvent,h)},this.handlePointerMove=(h,f)=>{this.lastMoveEvent=h,this.lastMoveEventInfo=ye(f,this.transformPagePoint),S.update(this.updatePoint,!0)},this.handlePointerUp=(h,f)=>{this.end();const{onEnd:p,onSessionEnd:m,resumeAnimation:y}=this.handlers;if(this.dragSnapToOrigin&&y&&y(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const v=ve(h.type==="pointercancel"?this.lastMoveEventInfo:ye(f,this.transformPagePoint),this.history);this.startEvent&&p&&p(h,v),m&&m(h,v)},!$i(e))return;this.dragSnapToOrigin=o,this.handlers=n,this.transformPagePoint=s,this.contextWindow=i||window;const r=ae(e),a=ye(r,this.transformPagePoint),{point:l}=a,{timestamp:c}=L;this.history=[{...l,timestamp:c}];const{onSessionStart:u}=n;u&&u(e,ve(a,this.history)),this.removeListeners=J(tt(this.contextWindow,"pointermove",this.handlePointerMove),tt(this.contextWindow,"pointerup",this.handlePointerUp),tt(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),it(this.updatePoint)}}function ye(t,e){return e?{point:e(t.point)}:t}function Jn(t,e){return{x:t.x-e.x,y:t.y-e.y}}function ve({point:t},e){return{point:t,delta:Jn(t,Hi(e)),offset:Jn(t,Ka(e)),velocity:Wa(e,.1)}}function Ka(t){return t[0]}function Hi(t){return t[t.length-1]}function Wa(t,e){if(t.length<2)return{x:0,y:0};let n=t.length-1,s=null;const i=Hi(t);for(;n>=0&&(s=t[n],!(i.timestamp-s.timestamp>X(e)));)n--;if(!s)return{x:0,y:0};const o=Q(i.timestamp-s.timestamp);if(o===0)return{x:0,y:0};const r={x:(i.x-s.x)/o,y:(i.y-s.y)/o};return r.x===1/0&&(r.x=0),r.y===1/0&&(r.y=0),r}function Ui(t){let e=null;return()=>{const n=()=>{e=null};return e===null?(e=t,n):!1}}const ts=Ui("dragHorizontal"),es=Ui("dragVertical");function Ki(t){let e=!1;if(t==="y")e=es();else if(t==="x")e=ts();else{const n=ts(),s=es();n&&s?e=()=>{n(),s()}:(n&&n(),s&&s())}return e}function Wi(){const t=Ki(!0);return t?(t(),!1):!0}function yt(t){return t&&typeof t=="object"&&Object.prototype.hasOwnProperty.call(t,"current")}const Gi=1e-4,Ga=1-Gi,Za=1+Gi,Zi=.01,za=0-Zi,Ya=0+Zi;function N(t){return t.max-t.min}function qa(t,e,n){return Math.abs(t-e)<=n}function ns(t,e,n,s=.5){t.origin=s,t.originPoint=M(e.min,e.max,t.origin),t.scale=N(n)/N(e),t.translate=M(n.min,n.max,t.origin)-t.originPoint,(t.scale>=Ga&&t.scale<=Za||isNaN(t.scale))&&(t.scale=1),(t.translate>=za&&t.translate<=Ya||isNaN(t.translate))&&(t.translate=0)}function Lt(t,e,n,s){ns(t.x,e.x,n.x,s?s.originX:void 0),ns(t.y,e.y,n.y,s?s.originY:void 0)}function ss(t,e,n){t.min=n.min+e.min,t.max=t.min+N(e)}function Xa(t,e,n){ss(t.x,e.x,n.x),ss(t.y,e.y,n.y)}function is(t,e,n){t.min=e.min-n.min,t.max=t.min+N(e)}function kt(t,e,n){is(t.x,e.x,n.x),is(t.y,e.y,n.y)}function Qa(t,{min:e,max:n},s){return e!==void 0&&tn&&(t=s?M(n,t,s.max):Math.min(t,n)),t}function rs(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 Ja(t,{top:e,left:n,bottom:s,right:i}){return{x:rs(t.x,n,i),y:rs(t.y,e,s)}}function os(t,e){let n=e.min-t.min,s=e.max-t.max;return e.max-e.mins?n=Pt(e.min,e.max-s,t.min):s>i&&(n=Pt(t.min,t.max-i,e.min)),et(0,1,n)}function nl(t,e){const n={};return e.min!==void 0&&(n.min=e.min-t.min),e.max!==void 0&&(n.max=e.max-t.min),n}const _e=.35;function sl(t=_e){return t===!1?t=0:t===!0&&(t=_e),{x:as(t,"left","right"),y:as(t,"top","bottom")}}function as(t,e,n){return{min:ls(t,e),max:ls(t,n)}}function ls(t,e){return typeof t=="number"?t:t[e]||0}const cs=()=>({translate:0,scale:1,origin:0,originPoint:0}),vt=()=>({x:cs(),y:cs()}),us=()=>({min:0,max:0}),D=()=>({x:us(),y:us()});function H(t){return[t("x"),t("y")]}function zi({top:t,left:e,right:n,bottom:s}){return{x:{min:e,max:n},y:{min:t,max:s}}}function il({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}function rl(t,e){if(!e)return t;const n=e({x:t.left,y:t.top}),s=e({x:t.right,y:t.bottom});return{top:n.y,left:n.x,bottom:s.y,right:s.x}}function Ce(t){return t===void 0||t===1}function He({scale:t,scaleX:e,scaleY:n}){return!Ce(t)||!Ce(e)||!Ce(n)}function lt(t){return He(t)||Yi(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function Yi(t){return hs(t.x)||hs(t.y)}function hs(t){return t&&t!=="0%"}function ee(t,e,n){const s=t-n,i=e*s;return n+i}function fs(t,e,n,s,i){return i!==void 0&&(t=ee(t,i,s)),ee(t,n,s)+e}function Ue(t,e=0,n=1,s,i){t.min=fs(t.min,e,n,s,i),t.max=fs(t.max,e,n,s,i)}function qi(t,{x:e,y:n}){Ue(t.x,e.translate,e.scale,e.originPoint),Ue(t.y,n.translate,n.scale,n.originPoint)}const ds=.999999999999,ps=1.0000000000001;function ol(t,e,n,s=!1){const i=n.length;if(!i)return;e.x=e.y=1;let o,r;for(let a=0;ads&&(e.x=1),e.yds&&(e.y=1)}function Ct(t,e){t.min=t.min+e,t.max=t.max+e}function ms(t,e,n,s,i=.5){const o=M(t.min,t.max,i);Ue(t,e,n,o,s)}function xt(t,e){ms(t.x,e.x,e.scaleX,e.scale,e.originX),ms(t.y,e.y,e.scaleY,e.scale,e.originY)}function Xi(t,e){return zi(rl(t.getBoundingClientRect(),e))}function al(t,e,n){const s=Xi(t,n),{scroll:i}=e;return i&&(Ct(s.x,i.offset.x),Ct(s.y,i.offset.y)),s}const Qi=({current:t})=>t?t.ownerDocument.defaultView:null,ll=new WeakMap;class cl{constructor(e){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=D(),this.visualElement=e}start(e,{snapToCursor:n=!1}={}){const{presenceContext:s}=this.visualElement;if(s&&s.isPresent===!1)return;const i=u=>{const{dragSnapToOrigin:h}=this.getProps();h?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(ae(u,"page").point)},o=(u,h)=>{const{drag:f,dragPropagation:p,onDragStart:m}=this.getProps();if(f&&!p&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=Ki(f),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),H(v=>{let g=this.getAxisMotionValue(v).get()||0;if(W.test(g)){const{projection:C}=this.visualElement;if(C&&C.layout){const T=C.layout.layoutBox[v];T&&(g=N(T)*(parseFloat(g)/100))}}this.originPoint[v]=g}),m&&S.postRender(()=>m(u,h)),Ne(this.visualElement,"transform");const{animationState:y}=this.visualElement;y&&y.setActive("whileDrag",!0)},r=(u,h)=>{const{dragPropagation:f,dragDirectionLock:p,onDirectionLock:m,onDrag:y}=this.getProps();if(!f&&!this.openGlobalLock)return;const{offset:v}=h;if(p&&this.currentDirection===null){this.currentDirection=ul(v),this.currentDirection!==null&&m&&m(this.currentDirection);return}this.updateAxis("x",h.point,v),this.updateAxis("y",h.point,v),this.visualElement.render(),y&&y(u,h)},a=(u,h)=>this.stop(u,h),l=()=>H(u=>{var h;return this.getAnimationState(u)==="paused"&&((h=this.getAxisMotionValue(u).animation)===null||h===void 0?void 0:h.play())}),{dragSnapToOrigin:c}=this.getProps();this.panSession=new _i(e,{onSessionStart:i,onStart:o,onMove:r,onSessionEnd:a,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:c,contextWindow:Qi(this.visualElement)})}stop(e,n){const s=this.isDragging;if(this.cancel(),!s)return;const{velocity:i}=n;this.startAnimation(i);const{onDragEnd:o}=this.getProps();o&&S.postRender(()=>o(e,n))}cancel(){this.isDragging=!1;const{projection:e,animationState:n}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:s}=this.getProps();!s&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(e,n,s){const{drag:i}=this.getProps();if(!s||!Kt(e,i,this.currentDirection))return;const o=this.getAxisMotionValue(e);let r=this.originPoint[e]+s[e];this.constraints&&this.constraints[e]&&(r=Qa(r,this.constraints[e],this.elastic[e])),o.set(r)}resolveConstraints(){var e;const{dragConstraints:n,dragElastic:s}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(e=this.visualElement.projection)===null||e===void 0?void 0:e.layout,o=this.constraints;n&&yt(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&i?this.constraints=Ja(i.layoutBox,n):this.constraints=!1,this.elastic=sl(s),o!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&H(r=>{this.constraints!==!1&&this.getAxisMotionValue(r)&&(this.constraints[r]=nl(i.layoutBox[r],this.constraints[r]))})}resolveRefConstraints(){const{dragConstraints:e,onMeasureDragConstraints:n}=this.getProps();if(!e||!yt(e))return!1;const s=e.current,{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const o=al(s,i.root,this.visualElement.getTransformPagePoint());let r=tl(i.layout.layoutBox,o);if(n){const a=n(il(r));this.hasMutatedConstraints=!!a,a&&(r=zi(a))}return r}startAnimation(e){const{drag:n,dragMomentum:s,dragElastic:i,dragTransition:o,dragSnapToOrigin:r,onDragTransitionEnd:a}=this.getProps(),l=this.constraints||{},c=H(u=>{if(!Kt(u,n,this.currentDirection))return;let h=l&&l[u]||{};r&&(h={min:0,max:0});const f=i?200:1e6,p=i?40:1e7,m={type:"inertia",velocity:s?e[u]:0,bounceStiffness:f,bounceDamping:p,timeConstant:750,restDelta:1,restSpeed:10,...o,...h};return this.startAxisValueAnimation(u,m)});return Promise.all(c).then(a)}startAxisValueAnimation(e,n){const s=this.getAxisMotionValue(e);return Ne(this.visualElement,e),s.start(gn(e,s,0,n,this.visualElement,!1))}stopAnimation(){H(e=>this.getAxisMotionValue(e).stop())}pauseAnimation(){H(e=>{var n;return(n=this.getAxisMotionValue(e).animation)===null||n===void 0?void 0:n.pause()})}getAnimationState(e){var n;return(n=this.getAxisMotionValue(e).animation)===null||n===void 0?void 0:n.state}getAxisMotionValue(e){const n=`_drag${e.toUpperCase()}`,s=this.visualElement.getProps(),i=s[n];return i||this.visualElement.getValue(e,(s.initial?s.initial[e]:void 0)||0)}snapToCursor(e){H(n=>{const{drag:s}=this.getProps();if(!Kt(n,s,this.currentDirection))return;const{projection:i}=this.visualElement,o=this.getAxisMotionValue(n);if(i&&i.layout){const{min:r,max:a}=i.layout.layoutBox[n];o.set(e[n]-M(r,a,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:n}=this.getProps(),{projection:s}=this.visualElement;if(!yt(n)||!s||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};H(r=>{const a=this.getAxisMotionValue(r);if(a&&this.constraints!==!1){const l=a.get();i[r]=el({min:l,max:l},this.constraints[r])}});const{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",s.root&&s.root.updateScroll(),s.updateLayout(),this.resolveConstraints(),H(r=>{if(!Kt(r,e,null))return;const a=this.getAxisMotionValue(r),{min:l,max:c}=this.constraints[r];a.set(M(l,c,i[r]))})}addListeners(){if(!this.visualElement.current)return;ll.set(this.visualElement,this);const e=this.visualElement.current,n=tt(e,"pointerdown",l=>{const{drag:c,dragListener:u=!0}=this.getProps();c&&u&&this.start(l)}),s=()=>{const{dragConstraints:l}=this.getProps();yt(l)&&l.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,o=i.addEventListener("measure",s);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),S.read(s);const r=q(window,"resize",()=>this.scalePositionWithinConstraints()),a=i.addEventListener("didUpdate",({delta:l,hasLayoutChanged:c})=>{this.isDragging&&c&&(H(u=>{const h=this.getAxisMotionValue(u);h&&(this.originPoint[u]+=l[u].translate,h.set(h.get()+l[u].translate))}),this.visualElement.render())});return()=>{r(),n(),o(),a&&a()}}getProps(){const e=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:s=!1,dragPropagation:i=!1,dragConstraints:o=!1,dragElastic:r=_e,dragMomentum:a=!0}=e;return{...e,drag:n,dragDirectionLock:s,dragPropagation:i,dragConstraints:o,dragElastic:r,dragMomentum:a}}}function Kt(t,e,n){return(e===!0||e===t)&&(n===null||n===t)}function ul(t,e=10){let n=null;return Math.abs(t.y)>e?n="y":Math.abs(t.x)>e&&(n="x"),n}class hl extends ot{constructor(e){super(e),this.removeGroupControls=F,this.removeListeners=F,this.controls=new cl(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||F}unmount(){this.removeGroupControls(),this.removeListeners()}}const gs=t=>(e,n)=>{t&&S.postRender(()=>t(e,n))};class fl extends ot{constructor(){super(...arguments),this.removePointerDownListener=F}onPointerDown(e){this.session=new _i(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Qi(this.node)})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:n,onPan:s,onPanEnd:i}=this.node.getProps();return{onSessionStart:gs(e),onStart:gs(n),onMove:s,onEnd:(o,r)=>{delete this.session,i&&S.postRender(()=>i(o,r))}}}mount(){this.removePointerDownListener=tt(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const Tn=w.createContext(null);function dl(){const t=w.useContext(Tn);if(t===null)return[!0,null];const{isPresent:e,onExitComplete:n,register:s}=t,i=w.useId();w.useEffect(()=>s(i),[]);const o=w.useCallback(()=>n&&n(i),[i,n]);return!e&&n?[!1,o]:[!0]}const Ji=w.createContext({}),tr=w.createContext({}),Zt={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function ys(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}const Vt={correct:(t,e)=>{if(!e.target)return t;if(typeof t=="string")if(x.test(t))t=parseFloat(t);else return t;const n=ys(t,e.target.x),s=ys(t,e.target.y);return`${n}% ${s}%`}},pl={correct:(t,{treeScale:e,projectionDelta:n})=>{const s=t,i=rt.parse(t);if(i.length>5)return s;const o=rt.createTransformer(t),r=typeof i[0]!="number"?1:0,a=n.x.scale*e.x,l=n.y.scale*e.y;i[0+r]/=a,i[1+r]/=l;const c=M(a,l,.5);return typeof i[2+r]=="number"&&(i[2+r]/=c),typeof i[3+r]=="number"&&(i[3+r]/=c),o(i)}},ne={};function ml(t){Object.assign(ne,t)}const{schedule:wn,cancel:_u}=Js(queueMicrotask,!1);class gl extends w.Component{componentDidMount(){const{visualElement:e,layoutGroup:n,switchLayoutGroup:s,layoutId:i}=this.props,{projection:o}=e;ml(yl),o&&(n.group&&n.group.add(o),s&&s.register&&i&&s.register(o),o.root.didUpdate(),o.addEventListener("animationComplete",()=>{this.safeToRemove()}),o.setOptions({...o.options,onExitComplete:()=>this.safeToRemove()})),Zt.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:n,visualElement:s,drag:i,isPresent:o}=this.props,r=s.projection;return r&&(r.isPresent=o,i||e.layoutDependency!==n||n===void 0?r.willUpdate():this.safeToRemove(),e.isPresent!==o&&(o?r.promote():r.relegate()||S.postRender(()=>{const a=r.getStack();(!a||!a.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),wn.postRender(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:e,layoutGroup:n,switchLayoutGroup:s}=this.props,{projection:i}=e;i&&(i.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(i),s&&s.deregister&&s.deregister(i))}safeToRemove(){const{safeToRemove:e}=this.props;e&&e()}render(){return null}}function er(t){const[e,n]=dl(),s=w.useContext(Ji);return d.jsx(gl,{...t,layoutGroup:s,switchLayoutGroup:w.useContext(tr),isPresent:e,safeToRemove:n})}const yl={borderRadius:{...Vt,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Vt,borderTopRightRadius:Vt,borderBottomLeftRadius:Vt,borderBottomRightRadius:Vt,boxShadow:pl},nr=["TopLeft","TopRight","BottomLeft","BottomRight"],vl=nr.length,vs=t=>typeof t=="string"?parseFloat(t):t,Cs=t=>typeof t=="number"||x.test(t);function Cl(t,e,n,s,i,o){i?(t.opacity=M(0,n.opacity!==void 0?n.opacity:1,xl(s)),t.opacityExit=M(e.opacity!==void 0?e.opacity:1,0,Tl(s))):o&&(t.opacity=M(e.opacity!==void 0?e.opacity:1,n.opacity!==void 0?n.opacity:1,s));for(let r=0;rse?1:n(Pt(t,e,s))}function Ts(t,e){t.min=e.min,t.max=e.max}function _(t,e){Ts(t.x,e.x),Ts(t.y,e.y)}function ws(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}function bs(t,e,n,s,i){return t-=e,t=ee(t,1/n,s),i!==void 0&&(t=ee(t,1/i,s)),t}function wl(t,e=0,n=1,s=.5,i,o=t,r=t){if(W.test(e)&&(e=parseFloat(e),e=M(r.min,r.max,e/100)-r.min),typeof e!="number")return;let a=M(o.min,o.max,s);t===o&&(a-=e),t.min=bs(t.min,e,n,a,i),t.max=bs(t.max,e,n,a,i)}function Ps(t,e,[n,s,i],o,r){wl(t,e[n],e[s],e[i],e.scale,o,r)}const bl=["x","scaleX","originX"],Pl=["y","scaleY","originY"];function As(t,e,n,s){Ps(t.x,e,bl,n?n.x:void 0,s?s.x:void 0),Ps(t.y,e,Pl,n?n.y:void 0,s?s.y:void 0)}function Ss(t){return t.translate===0&&t.scale===1}function ir(t){return Ss(t.x)&&Ss(t.y)}function Vs(t,e){return t.min===e.min&&t.max===e.max}function Al(t,e){return Vs(t.x,e.x)&&Vs(t.y,e.y)}function Ms(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function rr(t,e){return Ms(t.x,e.x)&&Ms(t.y,e.y)}function js(t){return N(t.x)/N(t.y)}function Ds(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class Sl{constructor(){this.members=[]}add(e){yn(this.members,e),e.scheduleRender()}remove(e){if(vn(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(e){const n=this.members.findIndex(i=>e===i);if(n===0)return!1;let s;for(let i=n;i>=0;i--){const o=this.members[i];if(o.isPresent!==!1){s=o;break}}return s?(this.promote(s),!0):!1}promote(e,n){const s=this.lead;if(e!==s&&(this.prevLead=s,this.lead=e,e.show(),s)){s.instance&&s.scheduleRender(),e.scheduleRender(),e.resumeFrom=s,n&&(e.resumeFrom.preserveOpacity=!0),s.snapshot&&(e.snapshot=s.snapshot,e.snapshot.latestValues=s.animationValues||s.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);const{crossfade:i}=e.options;i===!1&&s.hide()}}exitAnimationComplete(){this.members.forEach(e=>{const{options:n,resumingFrom:s}=e;n.onExitComplete&&n.onExitComplete(),s&&s.options.onExitComplete&&s.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function Vl(t,e,n){let s="";const i=t.x.translate/e.x,o=t.y.translate/e.y,r=(n==null?void 0:n.z)||0;if((i||o||r)&&(s=`translate3d(${i}px, ${o}px, ${r}px) `),(e.x!==1||e.y!==1)&&(s+=`scale(${1/e.x}, ${1/e.y}) `),n){const{transformPerspective:c,rotate:u,rotateX:h,rotateY:f,skewX:p,skewY:m}=n;c&&(s=`perspective(${c}px) ${s}`),u&&(s+=`rotate(${u}deg) `),h&&(s+=`rotateX(${h}deg) `),f&&(s+=`rotateY(${f}deg) `),p&&(s+=`skewX(${p}deg) `),m&&(s+=`skewY(${m}deg) `)}const a=t.x.scale*e.x,l=t.y.scale*e.y;return(a!==1||l!==1)&&(s+=`scale(${a}, ${l})`),s||"none"}const Ml=(t,e)=>t.depth-e.depth;class jl{constructor(){this.children=[],this.isDirty=!1}add(e){yn(this.children,e),this.isDirty=!0}remove(e){vn(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(Ml),this.isDirty=!1,this.children.forEach(e)}}function zt(t){const e=O(t)?t.get():t;return xa(e)?e.toValue():e}function Dl(t,e){const n=G.now(),s=({timestamp:i})=>{const o=i-n;o>=e&&(it(s),t(o-e))};return S.read(s,!0),()=>it(s)}function El(t){return t instanceof SVGElement&&t.tagName!=="svg"}function Rl(t,e,n){const s=O(t)?t:Bt(t);return s.start(gn("",s,e,n)),s.animation}const ct={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},Et=typeof window<"u"&&window.MotionDebug!==void 0,xe=["","X","Y","Z"],Ll={visibility:"hidden"},Es=1e3;let kl=0;function Te(t,e,n,s){const{latestValues:i}=e;i[t]&&(n[t]=i[t],e.setStaticValue(t,0),s&&(s[t]=0))}function or(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;const{visualElement:e}=t.options;if(!e)return;const n=Ii(e);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:i,layoutId:o}=t.options;window.MotionCancelOptimisedAnimation(n,"transform",S,!(i||o))}const{parent:s}=t;s&&!s.hasCheckedOptimisedAppear&&or(s)}function ar({attachResizeListener:t,defaultParent:e,measureScroll:n,checkIsScrollRoot:s,resetTransform:i}){return class{constructor(r={},a=e==null?void 0:e()){this.id=kl++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,Et&&(ct.totalNodes=ct.resolvedTargetDeltas=ct.recalculatedProjection=0),this.nodes.forEach(Il),this.nodes.forEach(Hl),this.nodes.forEach(Ul),this.nodes.forEach(Bl),Et&&window.MotionDebug.record(ct)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=r,this.root=a?a.root||a:this,this.path=a?[...a.path,a]:[],this.parent=a,this.depth=a?a.depth+1:0;for(let l=0;lthis.root.updateBlockedByResize=!1;t(r,()=>{this.root.updateBlockedByResize=!0,h&&h(),h=Dl(f,250),Zt.hasAnimatedSinceResize&&(Zt.hasAnimatedSinceResize=!1,this.nodes.forEach(Ls))})}l&&this.root.registerSharedNode(l,this),this.options.animate!==!1&&u&&(l||c)&&this.addEventListener("didUpdate",({delta:h,hasLayoutChanged:f,hasRelativeTargetChanged:p,layout:m})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const y=this.options.transition||u.getDefaultTransition()||zl,{onLayoutAnimationStart:v,onLayoutAnimationComplete:g}=u.getProps(),C=!this.targetLayout||!rr(this.targetLayout,m)||p,T=!f&&p;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||T||f&&(C||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(h,T);const A={...en(y,"layout"),onPlay:v,onComplete:g};(u.shouldReduceMotion||this.options.layoutRoot)&&(A.delay=0,A.type=!1),this.startAnimation(A)}else f||Ls(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=m})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const r=this.getStack();r&&r.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,it(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(Kl),this.animationId++)}getTransformTemplate(){const{visualElement:r}=this.options;return r&&r.getProps().transformTemplate}willUpdate(r=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&or(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let u=0;u{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let l=0;l{const b=A/1e3;ks(h.x,r.x,b),ks(h.y,r.y,b),this.setTargetDelta(h),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(kt(f,this.layout.layoutBox,this.relativeParent.layout.layoutBox),Gl(this.relativeTarget,this.relativeTargetOrigin,f,b),T&&Al(this.relativeTarget,T)&&(this.isProjectionDirty=!1),T||(T=D()),_(T,this.relativeTarget)),y&&(this.animationValues=u,Cl(u,c,this.latestValues,b,C,g)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=b},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(r){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(it(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=S.update(()=>{Zt.hasAnimatedSinceResize=!0,this.currentAnimation=Rl(0,Es,{...r,onUpdate:a=>{this.mixTargetDelta(a),r.onUpdate&&r.onUpdate(a)},onComplete:()=>{r.onComplete&&r.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const r=this.getStack();r&&r.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(Es),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const r=this.getLead();let{targetWithTransforms:a,target:l,layout:c,latestValues:u}=r;if(!(!a||!l||!c)){if(this!==r&&this.layout&&c&&lr(this.options.animationType,this.layout.layoutBox,c.layoutBox)){l=this.target||D();const h=N(this.layout.layoutBox.x);l.x.min=r.target.x.min,l.x.max=l.x.min+h;const f=N(this.layout.layoutBox.y);l.y.min=r.target.y.min,l.y.max=l.y.min+f}_(a,l),xt(a,u),Lt(this.projectionDeltaWithTransform,this.layoutCorrected,a,u)}}registerSharedNode(r,a){this.sharedNodes.has(r)||this.sharedNodes.set(r,new Sl),this.sharedNodes.get(r).add(a);const c=a.options.initialPromotionConfig;a.promote({transition:c?c.transition:void 0,preserveFollowOpacity:c&&c.shouldPreserveFollowOpacity?c.shouldPreserveFollowOpacity(a):void 0})}isLead(){const r=this.getStack();return r?r.lead===this:!0}getLead(){var r;const{layoutId:a}=this.options;return a?((r=this.getStack())===null||r===void 0?void 0:r.lead)||this:this}getPrevLead(){var r;const{layoutId:a}=this.options;return a?(r=this.getStack())===null||r===void 0?void 0:r.prevLead:void 0}getStack(){const{layoutId:r}=this.options;if(r)return this.root.sharedNodes.get(r)}promote({needsReset:r,transition:a,preserveFollowOpacity:l}={}){const c=this.getStack();c&&c.promote(this,l),r&&(this.projectionDelta=void 0,this.needsReset=!0),a&&this.setOptions({transition:a})}relegate(){const r=this.getStack();return r?r.relegate(this):!1}resetSkewAndRotation(){const{visualElement:r}=this.options;if(!r)return;let a=!1;const{latestValues:l}=r;if((l.z||l.rotate||l.rotateX||l.rotateY||l.rotateZ||l.skewX||l.skewY)&&(a=!0),!a)return;const c={};l.z&&Te("z",r,c,this.animationValues);for(let u=0;u{var a;return(a=r.currentAnimation)===null||a===void 0?void 0:a.stop()}),this.root.nodes.forEach(Rs),this.root.sharedNodes.clear()}}}function Ol(t){t.updateLayout()}function Fl(t){var e;const n=((e=t.resumeFrom)===null||e===void 0?void 0:e.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&n&&t.hasListeners("didUpdate")){const{layoutBox:s,measuredBox:i}=t.layout,{animationType:o}=t.options,r=n.source!==t.layout.source;o==="size"?H(h=>{const f=r?n.measuredBox[h]:n.layoutBox[h],p=N(f);f.min=s[h].min,f.max=f.min+p}):lr(o,n.layoutBox,s)&&H(h=>{const f=r?n.measuredBox[h]:n.layoutBox[h],p=N(s[h]);f.max=f.min+p,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[h].max=t.relativeTarget[h].min+p)});const a=vt();Lt(a,s,n.layoutBox);const l=vt();r?Lt(l,t.applyTransform(i,!0),n.measuredBox):Lt(l,s,n.layoutBox);const c=!ir(a);let u=!1;if(!t.resumeFrom){const h=t.getClosestProjectingParent();if(h&&!h.resumeFrom){const{snapshot:f,layout:p}=h;if(f&&p){const m=D();kt(m,n.layoutBox,f.layoutBox);const y=D();kt(y,s,p.layoutBox),rr(m,y)||(u=!0),h.options.layoutRoot&&(t.relativeTarget=y,t.relativeTargetOrigin=m,t.relativeParent=h)}}}t.notifyListeners("didUpdate",{layout:s,snapshot:n,delta:l,layoutDelta:a,hasLayoutChanged:c,hasRelativeTargetChanged:u})}else if(t.isLead()){const{onExitComplete:s}=t.options;s&&s()}t.options.transition=void 0}function Il(t){Et&&ct.totalNodes++,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 Bl(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function Nl(t){t.clearSnapshot()}function Rs(t){t.clearMeasurements()}function $l(t){t.isLayoutDirty=!1}function _l(t){const{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function Ls(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function Hl(t){t.resolveTargetDelta()}function Ul(t){t.calcProjection()}function Kl(t){t.resetSkewAndRotation()}function Wl(t){t.removeLeadSnapshot()}function ks(t,e,n){t.translate=M(e.translate,0,n),t.scale=M(e.scale,1,n),t.origin=e.origin,t.originPoint=e.originPoint}function Os(t,e,n,s){t.min=M(e.min,n.min,s),t.max=M(e.max,n.max,s)}function Gl(t,e,n,s){Os(t.x,e.x,n.x,s),Os(t.y,e.y,n.y,s)}function Zl(t){return t.animationValues&&t.animationValues.opacityExit!==void 0}const zl={duration:.45,ease:[.4,0,.1,1]},Fs=t=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),Is=Fs("applewebkit/")&&!Fs("chrome/")?Math.round:F;function Bs(t){t.min=Is(t.min),t.max=Is(t.max)}function Yl(t){Bs(t.x),Bs(t.y)}function lr(t,e,n){return t==="position"||t==="preserve-aspect"&&!qa(js(e),js(n),.2)}function ql(t){var e;return t!==t.root&&((e=t.scroll)===null||e===void 0?void 0:e.wasRoot)}const Xl=ar({attachResizeListener:(t,e)=>q(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),we={current:void 0},cr=ar({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!we.current){const t=new Xl({});t.mount(window),t.setOptions({layoutScroll:!0}),we.current=t}return we.current},resetTransform:(t,e)=>{t.style.transform=e!==void 0?e:"none"},checkIsScrollRoot:t=>window.getComputedStyle(t).position==="fixed"}),Ql={pan:{Feature:fl},drag:{Feature:hl,ProjectionNode:cr,MeasureLayout:er}};function Ns(t,e){const n=e?"pointerenter":"pointerleave",s=e?"onHoverStart":"onHoverEnd",i=(o,r)=>{if(o.pointerType==="touch"||Wi())return;const a=t.getProps();t.animationState&&a.whileHover&&t.animationState.setActive("whileHover",e);const l=a[s];l&&S.postRender(()=>l(o,r))};return tt(t.current,n,i,{passive:!t.getProps()[s]})}class Jl extends ot{mount(){this.unmount=J(Ns(this.node,!0),Ns(this.node,!1))}unmount(){}}class tc extends ot{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch{e=!0}!e||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=J(q(this.node.current,"focus",()=>this.onFocus()),q(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}const ur=(t,e)=>e?t===e?!0:ur(t,e.parentElement):!1;function be(t,e){if(!e)return;const n=new PointerEvent("pointer"+t);e(n,ae(n))}class ec extends ot{constructor(){super(...arguments),this.removeStartListeners=F,this.removeEndListeners=F,this.removeAccessibleListeners=F,this.startPointerPress=(e,n)=>{if(this.isPressing)return;this.removeEndListeners();const s=this.node.getProps(),o=tt(window,"pointerup",(a,l)=>{if(!this.checkPressEnd())return;const{onTap:c,onTapCancel:u,globalTapTarget:h}=this.node.getProps(),f=!h&&!ur(this.node.current,a.target)?u:c;f&&S.update(()=>f(a,l))},{passive:!(s.onTap||s.onPointerUp)}),r=tt(window,"pointercancel",(a,l)=>this.cancelPress(a,l),{passive:!(s.onTapCancel||s.onPointerCancel)});this.removeEndListeners=J(o,r),this.startPress(e,n)},this.startAccessiblePress=()=>{const e=o=>{if(o.key!=="Enter"||this.isPressing)return;const r=a=>{a.key!=="Enter"||!this.checkPressEnd()||be("up",(l,c)=>{const{onTap:u}=this.node.getProps();u&&S.postRender(()=>u(l,c))})};this.removeEndListeners(),this.removeEndListeners=q(this.node.current,"keyup",r),be("down",(a,l)=>{this.startPress(a,l)})},n=q(this.node.current,"keydown",e),s=()=>{this.isPressing&&be("cancel",(o,r)=>this.cancelPress(o,r))},i=q(this.node.current,"blur",s);this.removeAccessibleListeners=J(n,i)}}startPress(e,n){this.isPressing=!0;const{onTapStart:s,whileTap:i}=this.node.getProps();i&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),s&&S.postRender(()=>s(e,n))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!Wi()}cancelPress(e,n){if(!this.checkPressEnd())return;const{onTapCancel:s}=this.node.getProps();s&&S.postRender(()=>s(e,n))}mount(){const e=this.node.getProps(),n=tt(e.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(e.onTapStart||e.onPointerStart)}),s=q(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=J(n,s)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}const Ke=new WeakMap,Pe=new WeakMap,nc=t=>{const e=Ke.get(t.target);e&&e(t)},sc=t=>{t.forEach(nc)};function ic({root:t,...e}){const n=t||document;Pe.has(n)||Pe.set(n,{});const s=Pe.get(n),i=JSON.stringify(e);return s[i]||(s[i]=new IntersectionObserver(sc,{root:t,...e})),s[i]}function rc(t,e,n){const s=ic(e);return Ke.set(t,n),s.observe(t),()=>{Ke.delete(t),s.unobserve(t)}}const oc={some:0,all:1};class ac extends ot{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:e={}}=this.node.getProps(),{root:n,margin:s,amount:i="some",once:o}=e,r={root:n?n.current:void 0,rootMargin:s,threshold:typeof i=="number"?i:oc[i]},a=l=>{const{isIntersecting:c}=l;if(this.isInView===c||(this.isInView=c,o&&!c&&this.hasEnteredView))return;c&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",c);const{onViewportEnter:u,onViewportLeave:h}=this.node.getProps(),f=c?u:h;f&&f(l)};return rc(this.node.current,r,a)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:e,prevProps:n}=this.node;["amount","margin","root"].some(lc(e,n))&&this.startObserver()}unmount(){}}function lc({viewport:t={}},{viewport:e={}}={}){return n=>t[n]!==e[n]}const cc={inView:{Feature:ac},tap:{Feature:ec},focus:{Feature:tc},hover:{Feature:Jl}},uc={layout:{ProjectionNode:cr,MeasureLayout:er}},hr=w.createContext({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"}),le=w.createContext({}),bn=typeof window<"u",hc=bn?w.useLayoutEffect:w.useEffect,fr=w.createContext({strict:!1});function fc(t,e,n,s,i){var o,r;const{visualElement:a}=w.useContext(le),l=w.useContext(fr),c=w.useContext(Tn),u=w.useContext(hr).reducedMotion,h=w.useRef();s=s||l.renderer,!h.current&&s&&(h.current=s(t,{visualState:e,parent:a,props:n,presenceContext:c,blockInitialAnimation:c?c.initial===!1:!1,reducedMotionConfig:u}));const f=h.current,p=w.useContext(tr);f&&!f.projection&&i&&(f.type==="html"||f.type==="svg")&&dc(h.current,n,i,p);const m=w.useRef(!1);w.useInsertionEffect(()=>{f&&m.current&&f.update(n,c)});const y=n[Fi],v=w.useRef(!!y&&!(!((o=window.MotionHandoffIsComplete)===null||o===void 0)&&o.call(window,y))&&((r=window.MotionHasOptimisedAnimation)===null||r===void 0?void 0:r.call(window,y)));return hc(()=>{f&&(m.current=!0,window.MotionIsMounted=!0,f.updateFeatures(),wn.render(f.render),v.current&&f.animationState&&f.animationState.animateChanges())}),w.useEffect(()=>{f&&(!v.current&&f.animationState&&f.animationState.animateChanges(),v.current&&(queueMicrotask(()=>{var g;(g=window.MotionHandoffMarkAsComplete)===null||g===void 0||g.call(window,y)}),v.current=!1))}),f}function dc(t,e,n,s){const{layoutId:i,layout:o,drag:r,dragConstraints:a,layoutScroll:l,layoutRoot:c}=e;t.projection=new n(t.latestValues,e["data-framer-portal-id"]?void 0:dr(t.parent)),t.projection.setOptions({layoutId:i,layout:o,alwaysMeasureLayout:!!r||a&&yt(a),visualElement:t,animationType:typeof o=="string"?o:"both",initialPromotionConfig:s,layoutScroll:l,layoutRoot:c})}function dr(t){if(t)return t.options.allowProjection!==!1?t.projection:dr(t.parent)}function pc(t,e,n){return w.useCallback(s=>{s&&t.mount&&t.mount(s),e&&(s?e.mount(s):e.unmount()),n&&(typeof n=="function"?n(s):yt(n)&&(n.current=s))},[e])}function ce(t){return ie(t.animate)||tn.some(e=>Ot(t[e]))}function pr(t){return!!(ce(t)||t.variants)}function mc(t,e){if(ce(t)){const{initial:n,animate:s}=t;return{initial:n===!1||Ot(n)?n:void 0,animate:Ot(s)?s:void 0}}return t.inherit!==!1?e:{}}function gc(t){const{initial:e,animate:n}=mc(t,w.useContext(le));return w.useMemo(()=>({initial:e,animate:n}),[$s(e),$s(n)])}function $s(t){return Array.isArray(t)?t.join(" "):t}const _s={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"]},At={};for(const t in _s)At[t]={isEnabled:e=>_s[t].some(n=>!!e[n])};function yc(t){for(const e in t)At[e]={...At[e],...t[e]}}const vc=Symbol.for("motionComponentSymbol");function Cc({preloadedFeatures:t,createVisualElement:e,useRender:n,useVisualState:s,Component:i}){t&&yc(t);function o(a,l){let c;const u={...w.useContext(hr),...a,layoutId:xc(a)},{isStatic:h}=u,f=gc(a),p=s(a,h);if(!h&&bn){Tc();const m=wc(u);c=m.MeasureLayout,f.visualElement=fc(i,p,u,e,m.ProjectionNode)}return d.jsxs(le.Provider,{value:f,children:[c&&f.visualElement?d.jsx(c,{visualElement:f.visualElement,...u}):null,n(i,a,pc(p,f.visualElement,l),p,h,f.visualElement)]})}const r=w.forwardRef(o);return r[vc]=i,r}function xc({layoutId:t}){const e=w.useContext(Ji).id;return e&&t!==void 0?e+"-"+t:t}function Tc(t,e){w.useContext(fr).strict}function wc(t){const{drag:e,layout:n}=At;if(!e&&!n)return{};const s={...e,...n};return{MeasureLayout:e!=null&&e.isEnabled(t)||n!=null&&n.isEnabled(t)?s.MeasureLayout:void 0,ProjectionNode:s.ProjectionNode}}const bc=["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 Pn(t){return typeof t!="string"||t.includes("-")?!1:!!(bc.indexOf(t)>-1||/[A-Z]/u.test(t))}function mr(t,{style:e,vars:n},s,i){Object.assign(t.style,e,i&&i.getProjectionStyles(s));for(const o in n)t.style.setProperty(o,n[o])}const gr=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function yr(t,e,n,s){mr(t,e,void 0,s);for(const i in e.attrs)t.setAttribute(gr.has(i)?i:xn(i),e.attrs[i])}function vr(t,{layout:e,layoutId:n}){return dt.has(t)||t.startsWith("origin")||(e||n!==void 0)&&(!!ne[t]||t==="opacity")}function An(t,e,n){var s;const{style:i}=t,o={};for(const r in i)(O(i[r])||e.style&&O(e.style[r])||vr(r,t)||((s=n==null?void 0:n.getValue(r))===null||s===void 0?void 0:s.liveStyle)!==void 0)&&(o[r]=i[r]);return o}function Cr(t,e,n){const s=An(t,e,n);for(const i in t)if(O(t[i])||O(e[i])){const o=Nt.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;s[o]=t[i]}return s}function Pc(t){const e=w.useRef(null);return e.current===null&&(e.current=t()),e.current}function Ac({scrapeMotionValuesFromProps:t,createRenderState:e,onMount:n},s,i,o){const r={latestValues:Sc(s,i,o,t),renderState:e()};return n&&(r.mount=a=>n(s,a,r)),r}const xr=t=>(e,n)=>{const s=w.useContext(le),i=w.useContext(Tn),o=()=>Ac(t,e,s,i);return n?o():Pc(o)};function Sc(t,e,n,s){const i={},o=s(t,{});for(const f in o)i[f]=zt(o[f]);let{initial:r,animate:a}=t;const l=ce(t),c=pr(t);e&&c&&!l&&t.inherit!==!1&&(r===void 0&&(r=e.initial),a===void 0&&(a=e.animate));let u=n?n.initial===!1:!1;u=u||r===!1;const h=u?a:r;if(h&&typeof h!="boolean"&&!ie(h)){const f=Array.isArray(h)?h:[h];for(let p=0;p({style:{},transform:{},transformOrigin:{},vars:{}}),Tr=()=>({...Sn(),attrs:{}}),wr=(t,e)=>e&&typeof t=="number"?e.transform(t):t,Vc={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Mc=Nt.length;function jc(t,e,n){let s="",i=!0;for(let o=0;otypeof t=="string"&&t.toLowerCase()==="svg",kc={useVisualState:xr({scrapeMotionValuesFromProps:Cr,createRenderState:Tr,onMount:(t,e,{renderState:n,latestValues:s})=>{S.read(()=>{try{n.dimensions=typeof e.getBBox=="function"?e.getBBox():e.getBoundingClientRect()}catch{n.dimensions={x:0,y:0,width:0,height:0}}}),S.render(()=>{Mn(n,s,jn(e.tagName),t.transformTemplate),yr(e,n)})}})},Oc={useVisualState:xr({scrapeMotionValuesFromProps:An,createRenderState:Sn})};function br(t,e,n){for(const s in e)!O(e[s])&&!vr(s,n)&&(t[s]=e[s])}function Fc({transformTemplate:t},e){return w.useMemo(()=>{const n=Sn();return Vn(n,e,t),Object.assign({},n.vars,n.style)},[e])}function Ic(t,e){const n=t.style||{},s={};return br(s,n,t),Object.assign(s,Fc(t,e)),s}function Bc(t,e){const n={},s=Ic(t,e);return t.drag&&t.dragListener!==!1&&(n.draggable=!1,s.userSelect=s.WebkitUserSelect=s.WebkitTouchCallout="none",s.touchAction=t.drag===!0?"none":`pan-${t.drag==="x"?"y":"x"}`),t.tabIndex===void 0&&(t.onTap||t.onTapStart||t.whileTap)&&(n.tabIndex=0),n.style=s,n}const Nc=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function se(t){return t.startsWith("while")||t.startsWith("drag")&&t!=="draggable"||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||Nc.has(t)}let Pr=t=>!se(t);function $c(t){t&&(Pr=e=>e.startsWith("on")?!se(e):t(e))}try{$c(require("@emotion/is-prop-valid").default)}catch{}function _c(t,e,n){const s={};for(const i in t)i==="values"&&typeof t.values=="object"||(Pr(i)||n===!0&&se(i)||!e&&!se(i)||t.draggable&&i.startsWith("onDrag"))&&(s[i]=t[i]);return s}function Hc(t,e,n,s){const i=w.useMemo(()=>{const o=Tr();return Mn(o,e,jn(s),t.transformTemplate),{...o.attrs,style:{...o.style}}},[e]);if(t.style){const o={};br(o,t.style,t),i.style={...o,...i.style}}return i}function Uc(t=!1){return(n,s,i,{latestValues:o},r)=>{const l=(Pn(n)?Hc:Bc)(s,o,r,n),c=_c(s,typeof n=="string",t),u=n!==w.Fragment?{...c,...l,ref:i}:{},{children:h}=s,f=w.useMemo(()=>O(h)?h.get():h,[h]);return w.createElement(n,{...u,children:f})}}function Kc(t,e){return function(s,{forwardMotionProps:i}={forwardMotionProps:!1}){const r={...Pn(s)?kc:Oc,preloadedFeatures:t,useRender:Uc(i),createVisualElement:e,Component:s};return Cc(r)}}const We={current:null},Ar={current:!1};function Wc(){if(Ar.current=!0,!!bn)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),e=()=>We.current=t.matches;t.addListener(e),e()}else We.current=!1}function Gc(t,e,n){for(const s in e){const i=e[s],o=n[s];if(O(i))t.addValue(s,i);else if(O(o))t.addValue(s,Bt(i,{owner:t}));else if(o!==i)if(t.hasValue(s)){const r=t.getValue(s);r.liveStyle===!0?r.jump(i):r.hasAnimated||r.set(i)}else{const r=t.getStaticValue(s);t.addValue(s,Bt(r!==void 0?r:i,{owner:t}))}}for(const s in n)e[s]===void 0&&t.removeValue(s);return e}const Us=new WeakMap,Zc=[...pi,k,rt],zc=t=>Zc.find(di(t)),Ks=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class Yc{scrapeMotionValuesFromProps(e,n,s){return{}}constructor({parent:e,props:n,presenceContext:s,reducedMotionConfig:i,blockInitialAnimation:o,visualState:r},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=on,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const f=G.now();this.renderScheduledAtthis.bindToMotionValue(s,n)),Ar.current||Wc(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:We.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){Us.delete(this.current),this.projection&&this.projection.unmount(),it(this.notifyUpdate),it(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const e in this.events)this.events[e].clear();for(const e in this.features){const n=this.features[e];n&&(n.unmount(),n.isMounted=!1)}this.current=null}bindToMotionValue(e,n){this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)();const s=dt.has(e),i=n.on("change",a=>{this.latestValues[e]=a,this.props.onUpdate&&S.preRender(this.notifyUpdate),s&&this.projection&&(this.projection.isTransformDirty=!0)}),o=n.on("renderRequest",this.scheduleRender);let r;window.MotionCheckAppearSync&&(r=window.MotionCheckAppearSync(this,e,n)),this.valueSubscriptions.set(e,()=>{i(),o(),r&&r(),n.owner&&n.stop()})}sortNodePosition(e){return!this.current||!this.sortInstanceNodePosition||this.type!==e.type?0:this.sortInstanceNodePosition(this.current,e.current)}updateFeatures(){let e="animation";for(e in At){const n=At[e];if(!n)continue;const{isEnabled:s,Feature:i}=n;if(!this.features[e]&&i&&s(this.props)&&(this.features[e]=new i(this)),this.features[e]){const o=this.features[e];o.isMounted?o.update():(o.mount(),o.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):D()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,n){this.latestValues[e]=n}update(e,n){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let s=0;sn.variantChildren.delete(e)}addValue(e,n){const s=this.values.get(e);n!==s&&(s&&this.removeValue(e),this.bindToMotionValue(e,n),this.values.set(e,n),this.latestValues[e]=n.get())}removeValue(e){this.values.delete(e);const n=this.valueSubscriptions.get(e);n&&(n(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,n){if(this.props.values&&this.props.values[e])return this.props.values[e];let s=this.values.get(e);return s===void 0&&n!==void 0&&(s=Bt(n===null?void 0:n,{owner:this}),this.addValue(e,s)),s}readValue(e,n){var s;let i=this.latestValues[e]!==void 0||!this.current?this.latestValues[e]:(s=this.getBaseTargetFromProps(this.props,e))!==null&&s!==void 0?s:this.readValueFromInstance(this.current,e,this.options);return i!=null&&(typeof i=="string"&&(ci(i)||li(i))?i=parseFloat(i):!zc(i)&&rt.test(n)&&(i=wi(e,n)),this.setBaseTarget(e,O(i)?i.get():i)),O(i)?i.get():i}setBaseTarget(e,n){this.baseTarget[e]=n}getBaseTarget(e){var n;const{initial:s}=this.props;let i;if(typeof s=="string"||typeof s=="object"){const r=Qe(this.props,s,(n=this.presenceContext)===null||n===void 0?void 0:n.custom);r&&(i=r[e])}if(s&&i!==void 0)return i;const o=this.getBaseTargetFromProps(this.props,e);return o!==void 0&&!O(o)?o:this.initialValues[e]!==void 0&&i===void 0?void 0:this.baseTarget[e]}on(e,n){return this.events[e]||(this.events[e]=new Cn),this.events[e].add(n)}notify(e,...n){this.events[e]&&this.events[e].notify(...n)}}class Sr extends Yc{constructor(){super(...arguments),this.KeyframeResolver=bi}sortInstanceNodePosition(e,n){return e.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(e,n){return e.style?e.style[n]:void 0}removeValueFromRenderState(e,{vars:n,style:s}){delete n[e],delete s[e]}}function qc(t){return window.getComputedStyle(t)}class Xc extends Sr{constructor(){super(...arguments),this.type="html",this.renderInstance=mr}readValueFromInstance(e,n){if(dt.has(n)){const s=un(n);return s&&s.default||0}else{const s=qc(e),i=(hi(n)?s.getPropertyValue(n):s[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(e,{transformPagePoint:n}){return Xi(e,n)}build(e,n,s){Vn(e,n,s.transformTemplate)}scrapeMotionValuesFromProps(e,n,s){return An(e,n,s)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;O(e)&&(this.childSubscription=e.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}class Qc extends Sr{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=D}getBaseTargetFromProps(e,n){return e[n]}readValueFromInstance(e,n){if(dt.has(n)){const s=un(n);return s&&s.default||0}return n=gr.has(n)?n:xn(n),e.getAttribute(n)}scrapeMotionValuesFromProps(e,n,s){return Cr(e,n,s)}build(e,n,s){Mn(e,n,this.isSVGTag,s.transformTemplate)}renderInstance(e,n,s,i){yr(e,n,s,i)}mount(e){this.isSVGTag=jn(e.tagName),super.mount(e)}}const Jc=(t,e)=>Pn(t)?new Qc(e):new Xc(e,{allowProjection:t!==w.Fragment}),tu=Kc({..._a,...cc,...Ql,...uc},Jc),eu=Br(tu),Z={tn:"h-auto w-2",xs:"h-auto w-3",sm:"h-auto w-4",md:"h-auto w-5",mid:"h-auto w-6",lg:"h-auto w-7",xl:"h-auto w-9",xxl:"h-auto w-14",original:""},Uu=({size:t="original",className:e})=>d.jsxs("svg",{className:`${Z[t]} ${e||""}`,width:"20",height:"21",viewBox:"0 0 20 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d.jsx("path",{d:"M0 7.5C0 5.614 -5.96046e-08 4.672 0.586 4.086C1.172 3.5 2.114 3.5 4 3.5H16C17.886 3.5 18.828 3.5 19.414 4.086C20 4.672 20 5.614 20 7.5C20 7.971 20 8.207 19.854 8.354C19.707 8.5 19.47 8.5 19 8.5H1C0.529 8.5 0.293 8.5 0.146 8.354C-8.9407e-08 8.207 0 7.97 0 7.5Z",fill:"white"}),d.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 16.5C0 18.386 -5.96046e-08 19.328 0.586 19.914C1.172 20.5 2.114 20.5 4 20.5H16C17.886 20.5 18.828 20.5 19.414 19.914C20 19.328 20 18.386 20 16.5V11.5C20 11.029 20 10.793 19.854 10.646C19.707 10.5 19.47 10.5 19 10.5H1C0.529 10.5 0.293 10.5 0.146 10.646C-8.9407e-08 10.793 0 11.03 0 11.5V16.5ZM5 13.5C5 13.029 5 12.793 5.146 12.646C5.293 12.5 5.53 12.5 6 12.5H8C8.471 12.5 8.707 12.5 8.854 12.646C9 12.793 9 13.029 9 13.5C9 13.971 9 14.207 8.854 14.354C8.707 14.5 8.47 14.5 8 14.5H6C5.529 14.5 5.293 14.5 5.146 14.354C5 14.207 5 13.97 5 13.5ZM5.146 16.646C5 16.793 5 17.03 5 17.5C5 17.97 5 18.207 5.146 18.354C5.293 18.5 5.53 18.5 6 18.5H8C8.471 18.5 8.707 18.5 8.854 18.354C9 18.207 9 17.97 9 17.5C9 17.03 9 16.793 8.854 16.646C8.707 16.5 8.47 16.5 8 16.5H6C5.529 16.5 5.293 16.5 5.146 16.646ZM11 13.5C11 13.029 11 12.793 11.146 12.646C11.293 12.5 11.53 12.5 12 12.5H14C14.471 12.5 14.707 12.5 14.854 12.646C15 12.793 15 13.029 15 13.5C15 13.971 15 14.207 14.854 14.354C14.707 14.5 14.47 14.5 14 14.5H12C11.529 14.5 11.293 14.5 11.146 14.354C11 14.207 11 13.97 11 13.5ZM11.146 16.646C11 16.793 11 17.03 11 17.5C11 17.97 11 18.207 11.146 18.354C11.293 18.5 11.529 18.5 12 18.5H14C14.471 18.5 14.707 18.5 14.854 18.354C15 18.207 15 17.97 15 17.5C15 17.03 15 16.793 14.854 16.646C14.707 16.5 14.47 16.5 14 16.5H12C11.529 16.5 11.293 16.5 11.146 16.646Z",fill:"white"}),d.jsx("path",{d:"M5 1.5V4.5M15 1.5V4.5",stroke:"white",strokeWidth:"2",strokeLinecap:"round"})]}),Ku=({size:t="original",className:e})=>d.jsxs("svg",{className:`${Z[t]} ${e||""}`,width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d.jsx("path",{d:"M0.5 5.75C0.5 4.3355 0.5 3.629 0.9395 3.1895C1.379 2.75 2.0855 2.75 3.5 2.75H12.5C13.9145 2.75 14.621 2.75 15.0605 3.1895C15.5 3.629 15.5 4.3355 15.5 5.75C15.5 6.10325 15.5 6.28025 15.3905 6.3905C15.2802 6.5 15.1025 6.5 14.75 6.5H1.25C0.89675 6.5 0.71975 6.5 0.6095 6.3905C0.5 6.28025 0.5 6.1025 0.5 5.75Z",fill:"#333333"}),d.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.5 12.5C0.5 13.9145 0.5 14.621 0.9395 15.0605C1.379 15.5 2.0855 15.5 3.5 15.5H12.5C13.9145 15.5 14.621 15.5 15.0605 15.0605C15.5 14.621 15.5 13.9145 15.5 12.5V8.75C15.5 8.39675 15.5 8.21975 15.3905 8.1095C15.2802 8 15.1025 8 14.75 8H1.25C0.89675 8 0.71975 8 0.6095 8.1095C0.5 8.21975 0.5 8.3975 0.5 8.75V12.5ZM4.25 10.25C4.25 9.89675 4.25 9.71975 4.3595 9.6095C4.46975 9.5 4.6475 9.5 5 9.5H6.5C6.85325 9.5 7.03025 9.5 7.1405 9.6095C7.25 9.71975 7.25 9.89675 7.25 10.25C7.25 10.6033 7.25 10.7803 7.1405 10.8905C7.03025 11 6.8525 11 6.5 11H5C4.64675 11 4.46975 11 4.3595 10.8905C4.25 10.7803 4.25 10.6025 4.25 10.25ZM4.3595 12.6095C4.25 12.7197 4.25 12.8975 4.25 13.25C4.25 13.6025 4.25 13.7803 4.3595 13.8905C4.46975 14 4.6475 14 5 14H6.5C6.85325 14 7.03025 14 7.1405 13.8905C7.25 13.7803 7.25 13.6025 7.25 13.25C7.25 12.8975 7.25 12.7197 7.1405 12.6095C7.03025 12.5 6.8525 12.5 6.5 12.5H5C4.64675 12.5 4.46975 12.5 4.3595 12.6095ZM8.75 10.25C8.75 9.89675 8.75 9.71975 8.8595 9.6095C8.96975 9.5 9.1475 9.5 9.5 9.5H11C11.3532 9.5 11.5302 9.5 11.6405 9.6095C11.75 9.71975 11.75 9.89675 11.75 10.25C11.75 10.6033 11.75 10.7803 11.6405 10.8905C11.5302 11 11.3525 11 11 11H9.5C9.14675 11 8.96975 11 8.8595 10.8905C8.75 10.7803 8.75 10.6025 8.75 10.25ZM8.8595 12.6095C8.75 12.7197 8.75 12.8975 8.75 13.25C8.75 13.6025 8.75 13.7803 8.8595 13.8905C8.96975 14 9.14675 14 9.5 14H11C11.3532 14 11.5302 14 11.6405 13.8905C11.75 13.7803 11.75 13.6025 11.75 13.25C11.75 12.8975 11.75 12.7197 11.6405 12.6095C11.5302 12.5 11.3525 12.5 11 12.5H9.5C9.14675 12.5 8.96975 12.5 8.8595 12.6095Z",fill:"#333333"}),d.jsx("path",{d:"M4.25 1.25V3.5M11.75 1.25V3.5",stroke:"#333333",strokeWidth:"2",strokeLinecap:"round"})]}),Wu=({size:t="original",className:e})=>d.jsxs("svg",{className:`${Z[t]} ${e||""}`,width:"24",height:"25",viewBox:"0 0 24 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d.jsx("path",{d:"M12 1.75C12.1989 1.75 12.3897 1.82902 12.5303 1.96967C12.671 2.11032 12.75 2.30109 12.75 2.5V3.536L17.758 6.04L17.812 6.067C18.546 6.434 19.172 6.747 19.608 7.051C20.05 7.36 20.514 7.808 20.514 8.5C20.514 9.192 20.05 9.64 19.608 9.949C19.172 10.253 18.546 10.566 17.812 10.933L12.75 13.463V18.5C12.75 18.6989 12.671 18.8897 12.5303 19.0303C12.3897 19.171 12.1989 19.25 12 19.25C11.8011 19.25 11.6103 19.171 11.4697 19.0303C11.329 18.8897 11.25 18.6989 11.25 18.5V2.5C11.25 2.30109 11.329 2.11032 11.4697 1.96967C11.6103 1.82902 11.8011 1.75 12 1.75Z",fill:"white"}),d.jsx("path",{d:"M12 22.5C17.523 22.5 22 20.933 22 19C22 17.338 18.69 15.946 14.25 15.589V18.5C14.25 19.0967 14.0129 19.669 13.591 20.091C13.169 20.5129 12.5967 20.75 12 20.75C11.4033 20.75 10.831 20.5129 10.409 20.091C9.98705 19.669 9.75 19.0967 9.75 18.5V15.589C5.31 15.946 2 17.338 2 19C2 20.933 6.477 22.5 12 22.5Z",fill:"white"}),d.jsx("path",{d:"M12 1.75C11.8011 1.75 11.6103 1.82902 11.4697 1.96967C11.329 2.11032 11.25 2.30109 11.25 2.5V18.5C11.25 18.6989 11.329 18.8897 11.4697 19.0303C11.6103 19.171 11.8011 19.25 12 19.25C12.1989 19.25 12.3897 19.171 12.5303 19.0303C12.671 18.8897 12.75 18.6989 12.75 18.5V13.464L17.812 10.933C18.546 10.566 19.172 10.253 19.608 9.949C20.05 9.64 20.514 9.193 20.514 8.5C20.514 7.808 20.05 7.36 19.608 7.051C19.172 6.747 18.546 6.434 17.812 6.067L12.75 3.537V2.5C12.75 2.30109 12.671 2.11032 12.5303 1.96967C12.3897 1.82902 12.1989 1.75 12 1.75Z",fill:"white"})]}),Gu=({size:t="original",className:e})=>d.jsxs("svg",{className:`${Z[t]} ${e||""}`,width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d.jsx("path",{d:"M9 0.9375C9.14918 0.9375 9.29226 0.996763 9.39775 1.10225C9.50324 1.20774 9.5625 1.35082 9.5625 1.5V2.277L13.3185 4.155L13.359 4.17525C13.9095 4.4505 14.379 4.68525 14.706 4.91325C15.0375 5.145 15.3855 5.481 15.3855 6C15.3855 6.519 15.0375 6.855 14.706 7.08675C14.379 7.31475 13.9095 7.5495 13.359 7.82475L9.5625 9.72225V13.5C9.5625 13.6492 9.50324 13.7923 9.39775 13.8977C9.29226 14.0032 9.14918 14.0625 9 14.0625C8.85082 14.0625 8.70774 14.0032 8.60225 13.8977C8.49676 13.7923 8.4375 13.6492 8.4375 13.5V1.5C8.4375 1.35082 8.49676 1.20774 8.60225 1.10225C8.70774 0.996763 8.85082 0.9375 9 0.9375Z",fill:"#333333"}),d.jsx("path",{d:"M9 16.5C13.1423 16.5 16.5 15.3248 16.5 13.875C16.5 12.6285 14.0175 11.5845 10.6875 11.3168V13.5C10.6875 13.9476 10.5097 14.3768 10.1932 14.6933C9.87677 15.0097 9.44755 15.1875 9 15.1875C8.55245 15.1875 8.12323 15.0097 7.80676 14.6933C7.49029 14.3768 7.3125 13.9476 7.3125 13.5V11.3168C3.9825 11.5845 1.5 12.6285 1.5 13.875C1.5 15.3248 4.85775 16.5 9 16.5Z",fill:"#333333"}),d.jsx("path",{d:"M9 0.9375C8.85082 0.9375 8.70774 0.996763 8.60225 1.10225C8.49676 1.20774 8.4375 1.35082 8.4375 1.5V13.5C8.4375 13.6492 8.49676 13.7923 8.60225 13.8977C8.70774 14.0032 8.85082 14.0625 9 14.0625C9.14918 14.0625 9.29226 14.0032 9.39775 13.8977C9.50324 13.7923 9.5625 13.6492 9.5625 13.5V9.723L13.359 7.82475C13.9095 7.5495 14.379 7.31475 14.706 7.08675C15.0375 6.855 15.3855 6.51975 15.3855 6C15.3855 5.481 15.0375 5.145 14.706 4.91325C14.379 4.68525 13.9095 4.4505 13.359 4.17525L9.5625 2.27775V1.5C9.5625 1.35082 9.50324 1.20774 9.39775 1.10225C9.29226 0.996763 9.14918 0.9375 9 0.9375Z",fill:"#333333"})]}),Zu=({size:t="original",className:e})=>d.jsx("svg",{className:`${Z[t]} ${e||""}`,width:"482",height:"1040",viewBox:"0 0 482 1040",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:d.jsxs("g",{opacity:"0.05",children:[d.jsx("path",{d:"M2.11509 661.875C30.963 672.143 30.3935 712.084 1.19729 727.625C-8.28886 732.67 -18.0451 733.19 -26.4663 730.566C-4.37889 720.245 0.576692 690.912 -18.7257 681.148C-20.881 680.054 -22.8728 679.574 -24.4801 679.167C-32.3716 677.733 -39.9106 679.89 -46.1166 683.868C-39.6829 670.509 -24.7316 658.701 -6.10153 660.083C-3.83122 660.374 -1.03694 660.751 2.11509 661.875Z",fill:"black"}),d.jsx("path",{d:"M66.2663 742.115C88.7631 755.76 80.732 785.662 61.3618 787.802C65.0802 771.57 64.4966 740.715 25.3295 755.204C37.8667 738.394 53.8181 734.568 66.2663 742.115Z",fill:"black"}),d.jsx("path",{d:"M8.12189 605.701C6.4093 602.075 4.82466 599.988 3.12961 597.784C-7.64668 584.855 -21.2423 582.993 -29.0893 587.844C-30.0999 588.469 -31.0213 589.181 -31.8568 589.967C-29.0932 582.075 -23.1868 575.559 -14.1391 572.683C-1.65272 568.726 16.443 573.569 26.8744 590.495C28.4437 593.359 29.9249 596.054 31.0405 600.533C36.2139 621.38 20.939 638.285 2.44571 638.488C11.0259 632.824 14.6291 619.537 8.12189 605.701Z",fill:"black"}),d.jsx("path",{d:"M84.0909 671.838C83.2681 671.018 82.0711 670.05 81.1631 669.335C72.5311 663.23 63.0524 663.383 55.9672 666.841C56.9474 665.625 58.0361 664.43 59.264 663.289C68.6384 654.518 85.5215 650.162 99.6839 658.813C100.796 659.587 102.266 660.632 103.267 661.548C122.289 678.867 106.088 711.988 78.5006 712.159C78.1372 712.155 77.7865 712.132 77.4387 712.125C91.7718 705.903 97.0436 684.859 84.0909 671.838Z",fill:"black"}),d.jsx("path",{d:"M-48.5801 470.092C-52.1013 452.721 -61.9335 444.046 -69.7709 441.441C-65.321 438.623 -60.0223 437.064 -54.0055 437.311C-41.1925 437.837 -25.7054 448.479 -21.9723 470.58C-21.683 472.935 -21.3352 475.859 -21.5061 479.323C-22.8254 506.353 -49.1336 519.296 -68.5747 505.19C-56.858 506.228 -45.9505 490.393 -48.5801 470.092Z",fill:"black"}),d.jsx("path",{d:"M148.61 811.678C158.319 818.967 142.93 826.475 135.773 828.649C146.195 819.061 136.032 814.243 131.561 811.933C136.231 810.757 140.894 810.107 144.686 810.434C145.75 810.564 147.537 810.809 148.61 811.678Z",fill:"black"}),d.jsx("path",{d:"M131.193 733.167C142.578 727.507 152.264 729.49 155.677 729.598C156.852 729.724 158.311 729.853 159.766 730.481C174.896 736.864 159.389 769.428 137.639 776.914C131.492 779.02 126.564 778.649 123.259 776.498C124.022 776.314 124.814 776.069 125.625 775.796C154.544 765.126 143.779 736.305 131.193 733.167Z",fill:"black"}),d.jsx("path",{d:"M207.062 765.721C213.397 773.063 190.212 802.589 177.889 802.914C177.84 802.907 177.793 802.916 177.753 802.916C189.87 795.152 204.028 774.702 198.913 768.79C198.043 767.802 196.826 767.676 195.904 767.656C198.663 765.961 201.342 764.862 203.59 764.608C204.522 764.594 206.048 764.566 207.062 765.721Z",fill:"black"}),d.jsx("path",{d:"M69.3595 599.345C68.0967 599.228 66.4291 599.187 65.1867 599.179C62.1912 599.274 59.481 599.687 57.0938 600.361C57.992 598.452 59.154 596.574 60.6194 594.767C67.5967 586.189 81.6843 580.505 95.097 586.324C96.1684 586.88 97.6105 587.608 98.6152 588.282C115.428 599.546 110.073 625.295 91.8984 633.028C97.2959 624.875 92.2078 601.523 69.3595 599.345Z",fill:"black"}),d.jsx("path",{d:"M24.5181 543.768C29.3846 538.793 30.9353 527.576 26.6167 513.853C25.3198 509.737 24.11 507.201 22.8151 504.511C17.5604 494.339 11.3898 488.384 5.98712 486.088C11.2757 480.614 18.5526 477.491 27.0102 478.593C39.1834 480.173 52.6491 491.55 54.8287 510.228C55.0292 513.268 55.2224 516.141 54.4242 520.384C51.3451 536.674 37.8826 545.214 24.5181 543.768Z",fill:"black"}),d.jsx("path",{d:"M155.88 663.739C155.399 662.976 154.608 662.069 154.01 661.416C150.794 658.281 146.972 656.848 143.088 656.676C151.344 653.489 160.879 653.333 167.757 658.809C168.467 659.457 169.391 660.347 170.001 661.103C181.413 675.742 160.872 703.087 140.167 702.498C153.88 697.48 164.224 676.417 155.88 663.739Z",fill:"black"}),d.jsx("path",{d:"M-23.5671 402.098C-24.2315 398.348 -25.1532 395.886 -26.126 393.281C-31.2429 380.884 -39.3079 373.294 -46.387 370.652C-41.3195 367.347 -34.7093 365.993 -27.0157 367.617C-14.6559 370.234 -0.716067 382.247 1.98813 400.157C2.27129 403.037 2.53156 405.752 1.8247 409.623C-1.36106 427.061 -19.1348 432.938 -34.7569 425.866C-26.5661 424.819 -21.0891 415.974 -23.5671 402.098Z",fill:"black"}),d.jsx("path",{d:"M211.589 712.856C210.694 712.082 209.651 711.762 208.837 711.504C205.76 710.866 202.156 711.535 198.441 713.119C204.667 708.734 211.518 705.916 216.761 707.018C217.584 707.283 218.627 707.602 219.513 708.37C227.575 715.348 212.242 742.32 195.191 748.786C208.619 738.73 218.382 718.695 211.589 712.856Z",fill:"black"}),d.jsx("path",{d:"M256.126 678.174C255.125 677.693 254.107 677.675 253.303 677.641C250.374 677.836 247.291 679.35 244.334 681.71C248.841 676.191 254.311 671.94 259.309 671.614C260.119 671.639 261.132 671.666 262.139 672.137C271.159 676.405 264.111 704.551 250.363 714.66C259.936 702.226 263.707 681.729 256.126 678.174Z",fill:"black"}),d.jsx("path",{d:"M208.189 626.325C220.004 621.664 227.158 599.532 220.136 593.334C219.758 592.994 219.163 592.655 218.721 592.407C216.657 591.498 214.102 591.624 211.435 592.568C217.203 587.029 224.153 584.482 228.878 586.559C229.391 586.842 230.079 587.244 230.515 587.638C239.449 595.523 228.567 625.687 212.492 626.838C210.9 626.943 209.464 626.762 208.189 626.325Z",fill:"black"}),d.jsx("path",{d:"M106.023 535.265C104.716 532.812 103.346 530.966 102.239 529.49C96.1998 522.092 89.098 518.471 82.6772 517.703C84.7863 516.107 87.255 514.837 90.0727 514.01C100.436 510.975 115.004 514.45 122.778 526.969C123.575 528.423 124.569 530.242 125.3 532.586C129.916 547.382 120.85 560.664 108.016 564.315C111.717 556.699 111.698 545.914 106.023 535.265Z",fill:"black"}),d.jsx("path",{d:"M52.7778 444.137C51.9632 440.487 50.9841 438.149 49.9476 435.677C44.0771 422.914 35.3057 416.239 28.3347 415.244C33.033 409.245 40.3074 405.808 49.1329 407.324C59.8152 409.16 71.945 419.773 74.4391 436.523C74.7057 439.228 74.9615 441.791 74.3684 445.495C72.1707 459.187 61.2065 466.314 49.7827 465.463C53.3243 460.898 54.8407 453.402 52.7778 444.137Z",fill:"black"}),d.jsx("path",{d:"M155.604 630.304C151.204 630.213 147.505 628.797 144.575 626.495C144.6 626.498 144.625 626.501 144.656 626.496C161.059 626.83 173.422 602.02 162.296 591.09C161.744 590.549 160.918 589.931 160.287 589.485C156.787 587.323 152.895 586.765 149.13 587.311C156.444 582.11 166.453 579.931 174.711 585.035C175.475 585.584 176.494 586.336 177.167 586.999C190.783 600.378 175.665 630.725 155.604 630.304Z",fill:"black"}),d.jsx("path",{d:"M198.828 652.311C205.258 647.727 212.716 645.093 217.971 647.546C218.52 647.854 219.235 648.316 219.681 648.756C227.666 656.522 213.634 683.732 197.473 688.501C210.887 679.277 224.777 647.452 198.828 652.311Z",fill:"black"}),d.jsx("path",{d:"M8.3732 341.919C9.99537 338.931 10.5807 336.686 11.1957 334.299C13.9908 320.785 8.74778 306.687 -1.26863 300.762C-2.79248 299.856 -4.31374 299.263 -5.83646 298.792C0.0799345 295.674 7.51162 295.519 15.0378 299.769C26.3595 306.166 32.7507 320.629 30.229 334.139C29.6515 336.512 29.1001 338.766 27.4288 341.707C21.3619 352.387 10.0774 354.764 0.268909 350.717C3.37219 348.837 6.17984 345.941 8.3732 341.919Z",fill:"black"}),d.jsx("path",{d:"M-14.0428 236.745C-13.9693 235.506 -14.19 234.46 -14.379 233.625C-16.5726 226.238 -25.5956 221.955 -33.3685 221.538C-39.4 221.212 -44.2779 222.91 -47.3166 225.649C-45.7633 217.92 -36.7508 211.941 -23.9241 212.625C-13.3356 213.19 -1.04758 219.027 1.93788 229.085C2.1854 230.231 2.49188 231.648 2.39763 233.334C1.6708 245.29 -13.2229 250.586 -26.8803 247.625C-20.0675 246.747 -14.4263 242.98 -14.0428 236.745Z",fill:"black"}),d.jsx("path",{d:"M262.032 616.261C261.744 616.146 261.337 616.166 261.051 616.147C259.449 616.408 257.59 617.877 255.738 619.989C259.251 614.197 263.499 609.274 266.779 608.762C267.133 608.76 267.623 608.756 267.929 608.884C274.805 611.428 266.574 645.67 254.034 650.717C253.366 650.98 252.75 651.128 252.181 651.146C261.768 644.148 267.571 618.298 262.032 616.261Z",fill:"black"}),d.jsx("path",{d:"M297.46 600.023C297.178 600.019 296.8 600.155 296.532 600.229C295.086 600.896 293.613 602.574 292.249 604.748C294.534 599.243 297.659 594.216 300.625 592.853C300.959 592.742 301.408 592.602 301.715 592.608C308.522 592.554 306.635 621.367 295.833 628.931C295.254 629.322 294.707 629.626 294.177 629.806C301.892 621.597 302.943 599.959 297.46 600.023Z",fill:"black"}),d.jsx("path",{d:"M56.2716 290.7C56.4193 290.285 56.604 289.896 56.7026 289.434C57.1314 287.557 56.9641 286.195 56.7977 284.751C55.1576 275.721 46.5607 268.731 38.9175 266.517C30.293 264.012 23.7651 266.834 21.6116 272.226C17.8177 260.91 26.3748 251.648 41.319 253.997C51.0079 255.52 62.6212 262.741 66.0725 273.606C66.5148 275.36 66.9275 276.999 66.707 279.385C66.1361 285.438 61.9453 289.207 56.2716 290.7Z",fill:"black"}),d.jsx("path",{d:"M43.9594 199.635C44.0876 200.36 44.2325 201.26 44.0251 202.257C42.7387 208.405 33.1273 210.082 23.3483 208.293C28.2477 208.211 32.2321 206.689 32.9231 203.376C33.0746 202.639 32.9673 201.982 32.8742 201.444C31.4992 196.312 24.0563 192.634 17.7341 191.405C9.72 189.832 3.61198 191.544 2.20593 194.91C-0.154889 187.748 9.50804 183.257 23.37 185.979C31.9699 187.667 42.0842 192.655 43.9594 199.635Z",fill:"black"}),d.jsx("path",{d:"M96.1141 249.654C94.2994 243.34 86.5012 237.642 79.7233 235.274C73.5239 233.111 68.3877 233.52 65.7253 235.688C62.8635 227.274 71.5711 222.931 83.8585 227.221C91.7748 229.988 100.897 236.646 103.01 244.032C103.237 245.109 103.614 246.9 102.875 248.714C101.823 251.305 99.3432 252.689 96.1513 253.112C96.5152 251.746 96.2817 250.461 96.1141 249.654Z",fill:"black"}),d.jsx("path",{d:"M70.0659 182.899C65.2634 178.951 60.0603 176.045 56.6302 175.327C60.0268 174.665 66.1689 175.622 72.2876 177.784C78.9074 180.126 86.4399 184.367 87.3524 188.151C87.3802 188.428 87.4129 188.817 87.3444 189.096C86.7465 191.359 82.7885 191.692 77.7822 190.82C75.7178 188.065 72.8686 185.208 70.0659 182.899Z",fill:"black"}),d.jsx("path",{d:"M135.705 230.296C136.089 229.555 135.964 228.886 135.851 228.158C134.805 224.092 129.096 218.493 122.253 214.832C120.052 213.666 117.975 212.775 116.083 212.228C118.221 210.61 123.693 211.475 130.123 214.908C136.97 218.545 142.67 224.137 143.721 228.234C143.828 228.931 143.96 229.631 143.563 230.351C142.524 232.326 139.202 232.225 135.204 230.93C135.411 230.746 135.581 230.537 135.705 230.296Z",fill:"black"}),d.jsx("path",{d:"M180.649 255.914C180.849 255.82 181.022 255.707 181.169 255.55C181.644 255.075 181.703 254.532 181.797 253.958C181.973 250.606 178.96 244.992 174.617 240.571C173.223 239.157 171.851 237.988 170.535 237.115C172.55 236.39 176.512 238.353 180.589 242.51C184.936 246.907 187.951 252.536 187.769 255.898C187.688 256.453 187.616 257.014 187.145 257.465C185.891 258.724 183.391 257.856 180.649 255.914Z",fill:"black"})]})}),Ws=({size:t="original",className:e})=>d.jsx("svg",{className:`${Z[t]} ${e||""}`,xmlns:"http://www.w3.org/2000/svg",fill:"",width:"24",height:"24",baseProfile:"tiny",version:"1.2",viewBox:"0 0 24 24",id:"menu",children:d.jsx("path",{d:"M8 3H6a2.99 2.99 0 0 0-2.119.881A2.99 2.99 0 0 0 3 6v2c0 .825.337 1.575.881 2.119A2.99 2.99 0 0 0 6 11h2a2.99 2.99 0 0 0 2.119-.881A2.99 2.99 0 0 0 11 8V6a2.99 2.99 0 0 0-.881-2.119A2.99 2.99 0 0 0 8 3zm10 0h-2a2.99 2.99 0 0 0-2.119.881A2.99 2.99 0 0 0 13 6v2c0 .825.337 1.575.881 2.119A2.99 2.99 0 0 0 16 11h2a2.99 2.99 0 0 0 2.119-.881A2.99 2.99 0 0 0 21 8V6a2.99 2.99 0 0 0-.881-2.119A2.99 2.99 0 0 0 18 3zM8 13H6a2.99 2.99 0 0 0-2.119.881A2.99 2.99 0 0 0 3 16v2c0 .825.337 1.575.881 2.119A2.99 2.99 0 0 0 6 21h2a2.99 2.99 0 0 0 2.119-.881A2.99 2.99 0 0 0 11 18v-2a2.99 2.99 0 0 0-.881-2.119A2.99 2.99 0 0 0 8 13zm10 0h-2a2.99 2.99 0 0 0-2.119.881A2.99 2.99 0 0 0 13 16v2c0 .825.337 1.575.881 2.119A2.99 2.99 0 0 0 16 21h2a2.99 2.99 0 0 0 2.119-.881A2.99 2.99 0 0 0 21 18v-2a2.99 2.99 0 0 0-.881-2.119A2.99 2.99 0 0 0 18 13z"})}),nu=({size:t="original",className:e})=>d.jsx("svg",{className:`${Z[t]} ${e||""}`,width:"13",height:"22",viewBox:"0 0 13 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:d.jsx("path",{d:"M12 1H9C7.67392 1 6.40215 1.52678 5.46447 2.46447C4.52678 3.40215 4 4.67392 4 6V9H1V13H4V21H8V13H11L12 9H8V6C8 5.73478 8.10536 5.48043 8.29289 5.29289C8.48043 5.10536 8.73478 5 9 5H12V1Z",stroke:"black",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})}),su=({size:t="original",className:e})=>d.jsx("svg",{className:`${Z[t]} ${e||""}`,width:"24",height:"20",viewBox:"0 0 24 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:d.jsx("path",{d:"M23 1.01006C23 1.01006 20.982 2.20206 19.86 2.54006C19.2577 1.84757 18.4573 1.35675 17.567 1.13398C16.6767 0.911216 15.7395 0.967251 14.8821 1.29451C14.0247 1.62177 13.2884 2.20446 12.773 2.96377C12.2575 3.72309 11.9877 4.62239 12 5.54006V6.54006C10.2426 6.58562 8.50127 6.19587 6.93101 5.4055C5.36074 4.61513 4.01032 3.44869 3 2.01006C3 2.01006 -1 11.0101 8 15.0101C5.94053 16.408 3.48716 17.109 1 17.0101C10 22.0101 21 17.0101 21 5.51006C20.9993 5.23139 20.9727 4.95472 20.92 4.68006C21.94 3.67406 23 1.01006 23 1.01006Z",stroke:"black",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})}),iu=({size:t="original",className:e})=>d.jsx("svg",{className:`${Z[t]} ${e||""}`,width:"16",height:"18",viewBox:"0 0 16 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:d.jsx("path",{d:"M12.6002 2.82C11.9167 2.03953 11.5401 1.0374 11.5402 0H8.45016V12.4C8.42682 13.0712 8.14368 13.7071 7.66046 14.1735C7.17725 14.6399 6.53175 14.9004 5.86016 14.9C4.44016 14.9 3.26016 13.74 3.26016 12.3C3.26016 10.58 4.92016 9.29 6.63016 9.82V6.66C3.18016 6.2 0.160156 8.88 0.160156 12.3C0.160156 15.63 2.92016 18 5.85016 18C8.99016 18 11.5402 15.45 11.5402 12.3V6.01C12.7932 6.90985 14.2975 7.39265 15.8402 7.39V4.3C15.8402 4.3 13.9602 4.39 12.6002 2.82Z",fill:"black"})}),ru=({size:t="original",className:e})=>d.jsxs("svg",{className:`${Z[t]} ${e||""}`,width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d.jsx("path",{d:"M10 14C11.0609 14 12.0783 13.5786 12.8284 12.8284C13.5786 12.0783 14 11.0609 14 10C14 8.93913 13.5786 7.92172 12.8284 7.17157C12.0783 6.42143 11.0609 6 10 6C8.93913 6 7.92172 6.42143 7.17157 7.17157C6.42143 7.92172 6 8.93913 6 10C6 11.0609 6.42143 12.0783 7.17157 12.8284C7.92172 13.5786 8.93913 14 10 14Z",stroke:"black",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),d.jsx("path",{d:"M1 14V6C1 4.67392 1.52678 3.40215 2.46447 2.46447C3.40215 1.52678 4.67392 1 6 1H14C15.3261 1 16.5979 1.52678 17.5355 2.46447C18.4732 3.40215 19 4.67392 19 6V14C19 15.3261 18.4732 16.5979 17.5355 17.5355C16.5979 18.4732 15.3261 19 14 19H6C4.67392 19 3.40215 18.4732 2.46447 17.5355C1.52678 16.5979 1 15.3261 1 14Z",stroke:"black",strokeWidth:"1.5"}),d.jsx("path",{d:"M15.5 4.51002L15.51 4.49902",stroke:"black",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),ou=()=>{const{images:t,isLoggedIn:e,url:n}=qe().props,s=n==="/",[i,o]=w.useState(!1),[r,a]=w.useState(!1),l=()=>{o(s?window.scrollY>0:!0)};return w.useEffect(()=>{if(s)return window.addEventListener("scroll",l),()=>window.removeEventListener("scroll",l);o(!0)},[s]),d.jsxs("header",{className:`${i?"bg-[#F9F8F1]":"bg-gradient-to-b from-gray-400 to-transparent"} fixed z-20 overflow-hidden w-full flex px-4 py-4 justify-between items-center`,children:[d.jsx(Xs,{children:d.jsx(E,{href:route("index"),children:d.jsx("img",{width:92,height:47,src:t==null?void 0:t.golf_together_logo,alt:"logo"})})}),d.jsxs("div",{className:"hidden md:flex items-center gap-5",children:[d.jsx(E,{href:"/",className:`${i?"text-green-800":"text-white"} font-medium`,children:"Home"}),d.jsx(E,{href:route("about"),className:`${i?"text-green-800":"text-white"} font-medium`,children:"About"}),d.jsx(E,{href:route("guest.tournaments"),className:`${i?"text-green-800":"text-white"} font-medium`,children:"Tournaments"}),d.jsx(E,{href:"/",className:`${i?"text-green-800":"text-white"} font-medium`,children:"Past Games"})]}),d.jsxs("div",{className:"hidden md:flex justify-center items-center gap-5",children:[d.jsx(E,{href:route("login"),className:`${i?"text-green-800":"text-white"} font-medium cursor-pointer hover:underline`,children:"Sign in"}),d.jsx(E,{href:route("register"),className:`${i?"text-white bg-[#004E44]":"text-[#004E44] bg-white"} font-medium px-8 py-2 rounded-full`,children:"Register"})]}),d.jsxs("div",{className:"md:hidden flex",children:[d.jsx("div",{onClick:()=>a(!r),children:d.jsx(Ws,{className:`${i?"fill-[#004E44]":"fill-[#f0fffd]"}`,size:"lg"})}),r&&d.jsxs(eu.div,{initial:{opacity:0,y:-10},animate:{opacity:1,y:0},className:"p-4 h-[400px] w-full fixed left-0 top-0 bg-white",children:[d.jsxs("div",{className:"w-full flex justify-between items-center",children:[d.jsx("img",{width:92,height:47,src:t==null?void 0:t.golf_together_logo,alt:"golf_together_logo"}),d.jsx("div",{onClick:()=>a(!r),children:d.jsx(Ws,{className:"fill-[#004E44]",size:"lg"})})]}),d.jsxs("div",{className:"flex flex-col text-[1.3em] justify-center items-center gap-2 w-full",children:[d.jsx(E,{href:"/",className:"text-green-800 font-medium",children:"Home"}),d.jsx(E,{href:route("about"),className:"text-green-800 font-medium",children:"About"}),d.jsx(E,{href:route("tournaments"),className:"text-green-800 font-medium",children:"Tournament"}),d.jsx(E,{href:"/",className:"text-green-800 font-medium",children:"Previous Games"})]}),d.jsx("div",{className:"flex-col text-[1.3em] mt-10 flex justify-center items-center gap-2",children:e?d.jsx(d.Fragment,{children:d.jsx(E,{href:route("dashboard"),className:"text-green-800 font-medium cursor-pointer hover:underline",children:"Dashboard"})}):d.jsxs(d.Fragment,{children:[d.jsx(E,{href:route("login"),className:"text-green-800 font-medium cursor-pointer hover:underline",children:"Sign in"}),d.jsx(E,{href:route("register"),className:"text-white bg-[#004E44] font-medium px-8 py-2 rounded-full",children:"Register"})]})})]})]})]})},au=()=>{const t=new Date().getFullYear(),{images:e,isLoggedIn:n}=qe().props;return d.jsxs("div",{className:"p-4 md:p-8 lg:p-12 bg-[#EDF3F0] flex flex-col gap-4",children:[d.jsxs("div",{className:"w-full grid grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-8 md:gap-4 text-[#333333]",children:[d.jsx("div",{className:"w-full",children:d.jsx(Xs,{children:d.jsx(E,{href:route("index"),children:d.jsx("img",{width:92,height:47,src:e==null?void 0:e.golf_together_logo,alt:"golf_together_logo"})})})}),d.jsxs("div",{className:"roman w-full flex flex-col gap-4",children:[d.jsx("h1",{className:"text-xl font-semibold",children:"Quick Links"}),d.jsxs("ul",{className:"text-sm font-medium flex flex-col gap-2",children:[d.jsx("li",{className:"cursor-pointer hover:underline",children:d.jsx(E,{href:route("index"),children:"Home"})}),d.jsx("li",{className:"cursor-pointer hover:underline",children:d.jsx(E,{href:route("about"),children:"About Us"})}),d.jsx("li",{className:"cursor-pointer hover:underline",children:d.jsx(E,{href:route("guest.tournaments"),children:"Tournaments"})}),d.jsx("li",{className:"cursor-pointer hover:underline",children:d.jsx(E,{href:route("pro-shop"),children:"Pro shops"})})]})]}),d.jsxs("div",{className:"roman w-full flex flex-col gap-4",children:[d.jsx("h1",{className:"text-xl font-semibold",children:"Other"}),d.jsxs("ul",{className:"text-sm font-medium flex flex-col gap-2",children:[d.jsx("li",{className:"cursor-pointer hover:underline",children:"FAQs"}),d.jsx("li",{className:"cursor-pointer hover:underline",children:"Terms & Conditions"}),d.jsx("li",{className:"cursor-pointer hover:underline",children:"Privacy Policy"})]})]}),d.jsxs("div",{className:"roman w-full flex flex-col gap-4",children:[d.jsx("h1",{className:"text-xl font-semibold",children:"Socials"}),d.jsxs("div",{className:"w-full flex gap-5 items-center",children:[d.jsx("a",{href:"https://www.instagram.com/golf_together_sports",children:d.jsx(ru,{})}),d.jsx("a",{href:"https://www.facebook.com",children:d.jsx(nu,{})}),d.jsx("a",{href:"https://twitter.com/Golf_Together",children:d.jsx(su,{})}),d.jsx("a",{href:"https://www.tiktok.com/@golftogether",children:d.jsx(iu,{})})]})]})]}),d.jsxs("div",{className:"roman w-full flex justify-center md:justify-end text-[.9em]",children:["© ",t," Golf Together"]})]})};var lu=typeof Element<"u",cu=typeof Map=="function",uu=typeof Set=="function",hu=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function Yt(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;var n,s,i;if(Array.isArray(t)){if(n=t.length,n!=e.length)return!1;for(s=n;s--!==0;)if(!Yt(t[s],e[s]))return!1;return!0}var o;if(cu&&t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(o=t.entries();!(s=o.next()).done;)if(!e.has(s.value[0]))return!1;for(o=t.entries();!(s=o.next()).done;)if(!Yt(s.value[1],e.get(s.value[0])))return!1;return!0}if(uu&&t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(o=t.entries();!(s=o.next()).done;)if(!e.has(s.value[0]))return!1;return!0}if(hu&&ArrayBuffer.isView(t)&&ArrayBuffer.isView(e)){if(n=t.length,n!=e.length)return!1;for(s=n;s--!==0;)if(t[s]!==e[s])return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf&&typeof t.valueOf=="function"&&typeof e.valueOf=="function")return t.valueOf()===e.valueOf();if(t.toString!==Object.prototype.toString&&typeof t.toString=="function"&&typeof e.toString=="function")return t.toString()===e.toString();if(i=Object.keys(t),n=i.length,n!==Object.keys(e).length)return!1;for(s=n;s--!==0;)if(!Object.prototype.hasOwnProperty.call(e,i[s]))return!1;if(lu&&t instanceof Element)return!1;for(s=n;s--!==0;)if(!((i[s]==="_owner"||i[s]==="__v"||i[s]==="__o")&&t.$$typeof)&&!Yt(t[i[s]],e[i[s]]))return!1;return!0}return t!==t&&e!==e}var fu=function(e,n){try{return Yt(e,n)}catch(s){if((s.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw s}};const du=Xe(fu);var pu=function(t,e,n,s,i,o,r,a){if(!t){var l;if(e===void 0)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,s,i,o,r,a],u=0;l=new Error(e.replace(/%s/g,function(){return c[u++]})),l.name="Invariant Violation"}throw l.framesToPop=1,l}},mu=pu;const Gs=Xe(mu);var gu=function(e,n,s,i){var o=s?s.call(i,e,n):void 0;if(o!==void 0)return!!o;if(e===n)return!0;if(typeof e!="object"||!e||typeof n!="object"||!n)return!1;var r=Object.keys(e),a=Object.keys(n);if(r.length!==a.length)return!1;for(var l=Object.prototype.hasOwnProperty.bind(n),c=0;c(t.BASE="base",t.BODY="body",t.HEAD="head",t.HTML="html",t.LINK="link",t.META="meta",t.NOSCRIPT="noscript",t.SCRIPT="script",t.STYLE="style",t.TITLE="title",t.FRAGMENT="Symbol(react.fragment)",t))(Vr||{}),Ae={link:{rel:["amphtml","canonical","alternate"]},script:{type:["application/ld+json"]},meta:{charset:"",name:["generator","robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]}},Zs=Object.values(Vr),Dn={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},vu=Object.entries(Dn).reduce((t,[e,n])=>(t[n]=e,t),{}),K="data-rh",Tt={DEFAULT_TITLE:"defaultTitle",DEFER:"defer",ENCODE_SPECIAL_CHARACTERS:"encodeSpecialCharacters",ON_CHANGE_CLIENT_STATE:"onChangeClientState",TITLE_TEMPLATE:"titleTemplate",PRIORITIZE_SEO_TAGS:"prioritizeSeoTags"},wt=(t,e)=>{for(let n=t.length-1;n>=0;n-=1){const s=t[n];if(Object.prototype.hasOwnProperty.call(s,e))return s[e]}return null},Cu=t=>{let e=wt(t,"title");const n=wt(t,Tt.TITLE_TEMPLATE);if(Array.isArray(e)&&(e=e.join("")),n&&e)return n.replace(/%s/g,()=>e);const s=wt(t,Tt.DEFAULT_TITLE);return e||s||void 0},xu=t=>wt(t,Tt.ON_CHANGE_CLIENT_STATE)||(()=>{}),Se=(t,e)=>e.filter(n=>typeof n[t]<"u").map(n=>n[t]).reduce((n,s)=>({...n,...s}),{}),Tu=(t,e)=>e.filter(n=>typeof n.base<"u").map(n=>n.base).reverse().reduce((n,s)=>{if(!n.length){const i=Object.keys(s);for(let o=0;oconsole&&typeof console.warn=="function"&&console.warn(t),Mt=(t,e,n)=>{const s={};return n.filter(i=>Array.isArray(i[t])?!0:(typeof i[t]<"u"&&wu(`Helmet: ${t} should be of type "Array". Instead found type "${typeof i[t]}"`),!1)).map(i=>i[t]).reverse().reduce((i,o)=>{const r={};o.filter(l=>{let c;const u=Object.keys(l);for(let f=0;fi.push(l));const a=Object.keys(r);for(let l=0;l{if(Array.isArray(t)&&t.length){for(let n=0;n({baseTag:Tu(["href"],t),bodyAttributes:Se("bodyAttributes",t),defer:wt(t,Tt.DEFER),encode:wt(t,Tt.ENCODE_SPECIAL_CHARACTERS),htmlAttributes:Se("htmlAttributes",t),linkTags:Mt("link",["rel","href"],t),metaTags:Mt("meta",["name","charset","http-equiv","property","itemprop"],t),noscriptTags:Mt("noscript",["innerHTML"],t),onChangeClientState:xu(t),scriptTags:Mt("script",["src","innerHTML"],t),styleTags:Mt("style",["cssText"],t),title:Cu(t),titleAttributes:Se("titleAttributes",t),prioritizeSeoTags:bu(t,Tt.PRIORITIZE_SEO_TAGS)}),Mr=t=>Array.isArray(t)?t.join(""):t,Au=(t,e)=>{const n=Object.keys(t);for(let s=0;sArray.isArray(t)?t.reduce((n,s)=>(Au(s,e)?n.priority.push(s):n.default.push(s),n),{priority:[],default:[]}):{default:t,priority:[]},zs=(t,e)=>({...t,[e]:void 0}),Su=["noscript","script","style"],Ge=(t,e=!0)=>e===!1?String(t):String(t).replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'"),jr=t=>Object.keys(t).reduce((e,n)=>{const s=typeof t[n]<"u"?`${n}="${t[n]}"`:`${n}`;return e?`${e} ${s}`:s},""),Vu=(t,e,n,s)=>{const i=jr(n),o=Mr(e);return i?`<${t} ${K}="true" ${i}>${Ge(o,s)}`:`<${t} ${K}="true">${Ge(o,s)}`},Mu=(t,e,n=!0)=>e.reduce((s,i)=>{const o=i,r=Object.keys(o).filter(c=>!(c==="innerHTML"||c==="cssText")).reduce((c,u)=>{const h=typeof o[u]>"u"?u:`${u}="${Ge(o[u],n)}"`;return c?`${c} ${h}`:h},""),a=o.innerHTML||o.cssText||"",l=Su.indexOf(t)===-1;return`${s}<${t} ${K}="true" ${r}${l?"/>":`>${a}`}`},""),Dr=(t,e={})=>Object.keys(t).reduce((n,s)=>{const i=Dn[s];return n[i||s]=t[s],n},e),ju=(t,e,n)=>{const s={key:e,[K]:!0},i=Dr(n,s);return[st.createElement("title",i,e)]},qt=(t,e)=>e.map((n,s)=>{const i={key:s,[K]:!0};return Object.keys(n).forEach(o=>{const a=Dn[o]||o;if(a==="innerHTML"||a==="cssText"){const l=n.innerHTML||n.cssText;i.dangerouslySetInnerHTML={__html:l}}else i[a]=n[o]}),st.createElement(t,i)}),U=(t,e,n=!0)=>{switch(t){case"title":return{toComponent:()=>ju(t,e.title,e.titleAttributes),toString:()=>Vu(t,e.title,e.titleAttributes,n)};case"bodyAttributes":case"htmlAttributes":return{toComponent:()=>Dr(e),toString:()=>jr(e)};default:return{toComponent:()=>qt(t,e),toString:()=>Mu(t,e,n)}}},Du=({metaTags:t,linkTags:e,scriptTags:n,encode:s})=>{const i=Ve(t,Ae.meta),o=Ve(e,Ae.link),r=Ve(n,Ae.script);return{priorityMethods:{toComponent:()=>[...qt("meta",i.priority),...qt("link",o.priority),...qt("script",r.priority)],toString:()=>`${U("meta",i.priority,s)} ${U("link",o.priority,s)} ${U("script",r.priority,s)}`},metaTags:i.default,linkTags:o.default,scriptTags:r.default}},Eu=t=>{const{baseTag:e,bodyAttributes:n,encode:s=!0,htmlAttributes:i,noscriptTags:o,styleTags:r,title:a="",titleAttributes:l,prioritizeSeoTags:c}=t;let{linkTags:u,metaTags:h,scriptTags:f}=t,p={toComponent:()=>{},toString:()=>""};return c&&({priorityMethods:p,linkTags:u,metaTags:h,scriptTags:f}=Du(t)),{priority:p,base:U("base",e,s),bodyAttributes:U("bodyAttributes",n,s),htmlAttributes:U("htmlAttributes",i,s),link:U("link",u,s),meta:U("meta",h,s),noscript:U("noscript",o,s),script:U("script",f,s),style:U("style",r,s),title:U("title",{title:a,titleAttributes:l},s)}},Ze=Eu,Wt=[],Er=!!(typeof window<"u"&&window.document&&window.document.createElement),ze=class{constructor(t,e){Y(this,"instances",[]);Y(this,"canUseDOM",Er);Y(this,"context");Y(this,"value",{setHelmet:t=>{this.context.helmet=t},helmetInstances:{get:()=>this.canUseDOM?Wt:this.instances,add:t=>{(this.canUseDOM?Wt:this.instances).push(t)},remove:t=>{const e=(this.canUseDOM?Wt:this.instances).indexOf(t);(this.canUseDOM?Wt:this.instances).splice(e,1)}}});this.context=t,this.canUseDOM=e||!1,e||(t.helmet=Ze({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))}},Ru={},Rr=st.createContext(Ru),ht,Lr=(ht=class extends w.Component{constructor(n){super(n);Y(this,"helmetData");this.helmetData=new ze(this.props.context||{},ht.canUseDOM)}render(){return st.createElement(Rr.Provider,{value:this.helmetData.value},this.props.children)}},Y(ht,"canUseDOM",Er),ht),mt=(t,e)=>{const n=document.head||document.querySelector("head"),s=n.querySelectorAll(`${t}[${K}]`),i=[].slice.call(s),o=[];let r;return e&&e.length&&e.forEach(a=>{const l=document.createElement(t);for(const c in a)if(Object.prototype.hasOwnProperty.call(a,c))if(c==="innerHTML")l.innerHTML=a.innerHTML;else if(c==="cssText")l.styleSheet?l.styleSheet.cssText=a.cssText:l.appendChild(document.createTextNode(a.cssText));else{const u=c,h=typeof a[u]>"u"?"":a[u];l.setAttribute(c,h)}l.setAttribute(K,"true"),i.some((c,u)=>(r=u,l.isEqualNode(c)))?i.splice(r,1):o.push(l)}),i.forEach(a=>{var l;return(l=a.parentNode)==null?void 0:l.removeChild(a)}),o.forEach(a=>n.appendChild(a)),{oldTags:i,newTags:o}},Ye=(t,e)=>{const n=document.getElementsByTagName(t)[0];if(!n)return;const s=n.getAttribute(K),i=s?s.split(","):[],o=[...i],r=Object.keys(e);for(const a of r){const l=e[a]||"";n.getAttribute(a)!==l&&n.setAttribute(a,l),i.indexOf(a)===-1&&i.push(a);const c=o.indexOf(a);c!==-1&&o.splice(c,1)}for(let a=o.length-1;a>=0;a-=1)n.removeAttribute(o[a]);i.length===o.length?n.removeAttribute(K):n.getAttribute(K)!==r.join(",")&&n.setAttribute(K,r.join(","))},Lu=(t,e)=>{typeof t<"u"&&document.title!==t&&(document.title=Mr(t)),Ye("title",e)},Ys=(t,e)=>{const{baseTag:n,bodyAttributes:s,htmlAttributes:i,linkTags:o,metaTags:r,noscriptTags:a,onChangeClientState:l,scriptTags:c,styleTags:u,title:h,titleAttributes:f}=t;Ye("body",s),Ye("html",i),Lu(h,f);const p={baseTag:mt("base",n),linkTags:mt("link",o),metaTags:mt("meta",r),noscriptTags:mt("noscript",a),scriptTags:mt("script",c),styleTags:mt("style",u)},m={},y={};Object.keys(p).forEach(v=>{const{newTags:g,oldTags:C}=p[v];g.length&&(m[v]=g),C.length&&(y[v]=p[v].oldTags)}),e&&e(),l(t,m,y)},jt=null,ku=t=>{jt&&cancelAnimationFrame(jt),t.defer?jt=requestAnimationFrame(()=>{Ys(t,()=>{jt=null})}):(Ys(t),jt=null)},Ou=ku,qs=class extends w.Component{constructor(){super(...arguments);Y(this,"rendered",!1)}shouldComponentUpdate(e){return!yu(e,this.props)}componentDidUpdate(){this.emitChange()}componentWillUnmount(){const{helmetInstances:e}=this.props.context;e.remove(this),this.emitChange()}emitChange(){const{helmetInstances:e,setHelmet:n}=this.props.context;let s=null;const i=Pu(e.get().map(o=>{const r={...o.props};return delete r.context,r}));Lr.canUseDOM?Ou(i):Ze&&(s=Ze(i)),n(s)}init(){if(this.rendered)return;this.rendered=!0;const{helmetInstances:e}=this.props.context;e.add(this),this.emitChange()}render(){return this.init(),null}},Me,zu=(Me=class extends w.Component{shouldComponentUpdate(t){return!du(zs(this.props,"helmetData"),zs(t,"helmetData"))}mapNestedChildrenToProps(t,e){if(!e)return null;switch(t.type){case"script":case"noscript":return{innerHTML:e};case"style":return{cssText:e};default:throw new Error(`<${t.type} /> elements are self-closing and can not contain children. Refer to our API for more information.`)}}flattenArrayTypeChildren(t,e,n,s){return{...e,[t.type]:[...e[t.type]||[],{...n,...this.mapNestedChildrenToProps(t,s)}]}}mapObjectTypeChildren(t,e,n,s){switch(t.type){case"title":return{...e,[t.type]:s,titleAttributes:{...n}};case"body":return{...e,bodyAttributes:{...n}};case"html":return{...e,htmlAttributes:{...n}};default:return{...e,[t.type]:{...n}}}}mapArrayTypeChildrenToProps(t,e){let n={...e};return Object.keys(t).forEach(s=>{n={...n,[s]:t[s]}}),n}warnOnInvalidChildren(t,e){return Gs(Zs.some(n=>t.type===n),typeof t.type=="function"?"You may be attempting to nest components within each other, which is not allowed. Refer to our API for more information.":`Only elements types ${Zs.join(", ")} are allowed. Helmet does not support rendering <${t.type}> elements. Refer to our API for more information.`),Gs(!e||typeof e=="string"||Array.isArray(e)&&!e.some(n=>typeof n!="string"),`Helmet expects a string as a child of <${t.type}>. Did you forget to wrap your children in braces? ( <${t.type}>{\`\`} ) Refer to our API for more information.`),!0}mapChildrenToProps(t,e){let n={};return st.Children.forEach(t,s=>{if(!s||!s.props)return;const{children:i,...o}=s.props,r=Object.keys(o).reduce((l,c)=>(l[vu[c]||c]=o[c],l),{});let{type:a}=s;switch(typeof a=="symbol"?a=a.toString():this.warnOnInvalidChildren(s,i),a){case"Symbol(react.fragment)":e=this.mapChildrenToProps(i,e);break;case"link":case"meta":case"noscript":case"script":case"style":n=this.flattenArrayTypeChildren(s,n,r,i);break;default:e=this.mapObjectTypeChildren(s,e,r,i);break}}),this.mapArrayTypeChildrenToProps(n,e)}render(){const{children:t,...e}=this.props;let n={...e},{helmetData:s}=e;if(t&&(n=this.mapChildrenToProps(t,n)),s&&!(s instanceof ze)){const i=s;s=new ze(i.context,!0),delete n.helmetData}return s?st.createElement(qs,{...n,context:s.value}):st.createElement(Rr.Consumer,null,i=>st.createElement(qs,{...n,context:i}))}},Y(Me,"defaultProps",{defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1}),Me);const Yu=({children:t,title:e})=>{const[n,s]=w.useState(!0);new Date().getFullYear();const{images:i}=qe().props;return w.useEffect(()=>{setTimeout(()=>{s(!1)},2500)},[]),d.jsx(d.Fragment,{children:d.jsxs(Lr,{children:[d.jsx(Ir,{children:d.jsx("title",{children:e})}),d.jsx("div",{className:`${n?"":"-translate-y-full"} fixed top-0 left-0 w-screen h-screen z-[99] bg-[#477C15] overflow-hidden transition-all duration-500`,children:d.jsx("div",{className:"h-screen w-full grid place-content-center z-30 bg-[#477C15]",children:d.jsx("img",{src:i==null?void 0:i.ring,className:"w-[90px] z-40",alt:"loading animation"})})}),d.jsxs("section",{className:"",children:[d.jsx(ou,{}),t]}),d.jsx("footer",{children:d.jsx(au,{})})]})})};export{Uu as C,Yu as G,zu as H,Wu as L,Zu as a,Ku as b,Gu as c};