@kw-yeh/vibeflow 4.5.1 → 4.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- <!DOCTYPE html><html><head><meta charSet="utf-8" data-next-head=""/><meta name="viewport" content="width=device-width" data-next-head=""/><link rel="icon" href="/favicon.ico" sizes="any" data-next-head=""/><link rel="icon" href="/logo.svg" type="image/svg+xml" data-next-head=""/><link rel="apple-touch-icon" href="/apple-touch-icon.png" data-next-head=""/><title data-next-head="">404: This page could not be found</title><link rel="preload" href="/_next/static/css/24b804d01aa3af3c.css" as="style"/><link rel="stylesheet" href="/_next/static/css/24b804d01aa3af3c.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" noModule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-c8aa5df0425f6b7b.js" defer=""></script><script src="/_next/static/chunks/framework-b92a367cf1ad4bf7.js" defer=""></script><script src="/_next/static/chunks/main-ec7fd4c371d06729.js" defer=""></script><script src="/_next/static/chunks/pages/_app-2a4ae532bdcab6f2.js" defer=""></script><script src="/_next/static/chunks/pages/_error-8f65b0f8749f42d2.js" defer=""></script><script src="/_next/static/2iwmsskDbEWs3K3yxNplb/_buildManifest.js" defer=""></script><script src="/_next/static/2iwmsskDbEWs3K3yxNplb/_ssgManifest.js" defer=""></script></head><body><div id="__next"><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div style="line-height:48px"><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding-right:23px;font-size:24px;font-weight:500;vertical-align:top">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:28px">This page could not be found<!-- -->.</h2></div></div></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"statusCode":404}},"page":"/_error","query":{},"buildId":"2iwmsskDbEWs3K3yxNplb","nextExport":true,"isFallback":false,"gip":true,"scriptLoader":[]}</script></body></html>
1
+ <!DOCTYPE html><html><head><meta charSet="utf-8" data-next-head=""/><meta name="viewport" content="width=device-width" data-next-head=""/><link rel="icon" href="/favicon.ico" sizes="any" data-next-head=""/><link rel="icon" href="/logo.svg" type="image/svg+xml" data-next-head=""/><link rel="apple-touch-icon" href="/apple-touch-icon.png" data-next-head=""/><title data-next-head="">404: This page could not be found</title><link rel="preload" href="/_next/static/css/7b78ec950bc90c91.css" as="style"/><link rel="stylesheet" href="/_next/static/css/7b78ec950bc90c91.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" noModule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-c8aa5df0425f6b7b.js" defer=""></script><script src="/_next/static/chunks/framework-b92a367cf1ad4bf7.js" defer=""></script><script src="/_next/static/chunks/main-ec7fd4c371d06729.js" defer=""></script><script src="/_next/static/chunks/pages/_app-d965862fbafe3116.js" defer=""></script><script src="/_next/static/chunks/pages/_error-8f65b0f8749f42d2.js" defer=""></script><script src="/_next/static/67i9UjSLB0D3UHnpZ00eV/_buildManifest.js" defer=""></script><script src="/_next/static/67i9UjSLB0D3UHnpZ00eV/_ssgManifest.js" defer=""></script></head><body><div id="__next"><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div style="line-height:48px"><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding-right:23px;font-size:24px;font-weight:500;vertical-align:top">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:28px">This page could not be found<!-- -->.</h2></div></div></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"statusCode":404}},"page":"/_error","query":{},"buildId":"67i9UjSLB0D3UHnpZ00eV","nextExport":true,"isFallback":false,"gip":true,"scriptLoader":[]}</script></body></html>
package/dist/web/404.html CHANGED
@@ -1 +1 @@
1
- <!DOCTYPE html><html><head><meta charSet="utf-8" data-next-head=""/><meta name="viewport" content="width=device-width" data-next-head=""/><link rel="icon" href="/favicon.ico" sizes="any" data-next-head=""/><link rel="icon" href="/logo.svg" type="image/svg+xml" data-next-head=""/><link rel="apple-touch-icon" href="/apple-touch-icon.png" data-next-head=""/><title data-next-head="">404: This page could not be found</title><link rel="preload" href="/_next/static/css/24b804d01aa3af3c.css" as="style"/><link rel="stylesheet" href="/_next/static/css/24b804d01aa3af3c.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" noModule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-c8aa5df0425f6b7b.js" defer=""></script><script src="/_next/static/chunks/framework-b92a367cf1ad4bf7.js" defer=""></script><script src="/_next/static/chunks/main-ec7fd4c371d06729.js" defer=""></script><script src="/_next/static/chunks/pages/_app-2a4ae532bdcab6f2.js" defer=""></script><script src="/_next/static/chunks/pages/_error-8f65b0f8749f42d2.js" defer=""></script><script src="/_next/static/2iwmsskDbEWs3K3yxNplb/_buildManifest.js" defer=""></script><script src="/_next/static/2iwmsskDbEWs3K3yxNplb/_ssgManifest.js" defer=""></script></head><body><div id="__next"><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div style="line-height:48px"><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding-right:23px;font-size:24px;font-weight:500;vertical-align:top">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:28px">This page could not be found<!-- -->.</h2></div></div></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"statusCode":404}},"page":"/_error","query":{},"buildId":"2iwmsskDbEWs3K3yxNplb","nextExport":true,"isFallback":false,"gip":true,"scriptLoader":[]}</script></body></html>
1
+ <!DOCTYPE html><html><head><meta charSet="utf-8" data-next-head=""/><meta name="viewport" content="width=device-width" data-next-head=""/><link rel="icon" href="/favicon.ico" sizes="any" data-next-head=""/><link rel="icon" href="/logo.svg" type="image/svg+xml" data-next-head=""/><link rel="apple-touch-icon" href="/apple-touch-icon.png" data-next-head=""/><title data-next-head="">404: This page could not be found</title><link rel="preload" href="/_next/static/css/7b78ec950bc90c91.css" as="style"/><link rel="stylesheet" href="/_next/static/css/7b78ec950bc90c91.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" noModule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-c8aa5df0425f6b7b.js" defer=""></script><script src="/_next/static/chunks/framework-b92a367cf1ad4bf7.js" defer=""></script><script src="/_next/static/chunks/main-ec7fd4c371d06729.js" defer=""></script><script src="/_next/static/chunks/pages/_app-d965862fbafe3116.js" defer=""></script><script src="/_next/static/chunks/pages/_error-8f65b0f8749f42d2.js" defer=""></script><script src="/_next/static/67i9UjSLB0D3UHnpZ00eV/_buildManifest.js" defer=""></script><script src="/_next/static/67i9UjSLB0D3UHnpZ00eV/_ssgManifest.js" defer=""></script></head><body><div id="__next"><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div style="line-height:48px"><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding-right:23px;font-size:24px;font-weight:500;vertical-align:top">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:28px">This page could not be found<!-- -->.</h2></div></div></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"statusCode":404}},"page":"/_error","query":{},"buildId":"67i9UjSLB0D3UHnpZ00eV","nextExport":true,"isFallback":false,"gip":true,"scriptLoader":[]}</script></body></html>
@@ -1 +1 @@
1
- self.__BUILD_MANIFEST={__rewrites:{afterFiles:[],beforeFiles:[],fallback:[]},__routerFilterStatic:{numItems:0,errorRate:1e-4,numBits:0,numHashes:null,bitArray:[]},__routerFilterDynamic:{numItems:0,errorRate:1e-4,numBits:0,numHashes:null,bitArray:[]},"/_error":["static/chunks/pages/_error-8f65b0f8749f42d2.js"],"/home":["static/chunks/2524-abaf3a55023f6066.js","static/chunks/pages/home-a511856e480ddb33.js"],sortedPages:["/_app","/_error","/home"]},self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB();
1
+ self.__BUILD_MANIFEST={__rewrites:{afterFiles:[],beforeFiles:[],fallback:[]},__routerFilterStatic:{numItems:0,errorRate:1e-4,numBits:0,numHashes:null,bitArray:[]},__routerFilterDynamic:{numItems:0,errorRate:1e-4,numBits:0,numHashes:null,bitArray:[]},"/_error":["static/chunks/pages/_error-8f65b0f8749f42d2.js"],"/home":["static/chunks/8527-5442098d5121c96b.js","static/chunks/pages/home-f31c4cf97ed808cf.js"],sortedPages:["/_app","/_error","/home"]},self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB();
@@ -0,0 +1,9 @@
1
+ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8527],{379:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("circle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]])},602:(t,e,i)=>{i.d(e,{F:()=>n});let n=(...t)=>t.reduce((t,e)=>i=>e(t(i)))},1445:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("file-text",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]])},1896:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]])},2157:(t,e,i)=>{i.d(e,{U:()=>n,f:()=>s});let n=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],s=new Set([...n,"pathRotation"])},3157:(t,e,i)=>{i.d(e,{X:()=>s});let n=t=>null!==t;function s(t,{repeat:e,repeatType:i="loop"},r,a=1){let o=t.filter(n),l=a<0||e&&"loop"!==i&&e%2==1?0:o.length-1;return l&&void 0!==r?r:o[l]}},3255:(t,e,i)=>{i.d(e,{po:()=>r,tn:()=>o,yT:()=>a});var n=i(10934),s=i(13725);let r=t=>1-Math.sin(Math.acos(t)),a=(0,s.G)(r),o=(0,n.V)(r)},3600:(t,e,i)=>{i.d(e,{a:()=>n});let n=t=>Math.round(1e5*t)/1e5},4504:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("wifi",[["path",{d:"M12 20h.01",key:"zekei9"}],["path",{d:"M2 8.82a15 15 0 0 1 20 0",key:"dnpr2z"}],["path",{d:"M5 12.859a10 10 0 0 1 14 0",key:"1x1e6c"}],["path",{d:"M8.5 16.429a5 5 0 0 1 7 0",key:"1bycff"}]])},5026:(t,e,i)=>{let n,s;i.d(e,{PY1:()=>nC});var r=i(2157),a=i(80911),o=i(53081),l=i(31985);let h=new Set(["brightness","contrast","saturate","opacity"]);function u(t){let[e,i]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[n]=i.match(l.S)||[];if(!n)return t;let s=i.replace(n,""),r=+!!h.has(e);return n!==i&&(r*=100),e+"("+r+s+")"}let d=/\b([a-z-]*)\(.*?\)/gu,c={...o.f,getAnimatableNone:t=>{let e=t.match(d);return e?e.map(u).join(" "):t}},p={...o.f,getAnimatableNone:t=>{let e=o.f.parse(t);return o.f.createTransformer(t)(e.map(t=>"number"==typeof t?0:"object"==typeof t?{...t,alpha:1}:t))}};var m=i(91176);let f={...m.ai,transform:Math.round};var y=i(24197);let v={rotate:y.uj,pathRotation:y.uj,rotateX:y.uj,rotateY:y.uj,rotateZ:y.uj,scale:m.hs,scaleX:m.hs,scaleY:m.hs,scaleZ:m.hs,skew:y.uj,skewX:y.uj,skewY:y.uj,distance:y.px,translateX:y.px,translateY:y.px,translateZ:y.px,x:y.px,y:y.px,z:y.px,perspective:y.px,transformPerspective:y.px,opacity:m.X4,originX:y.gQ,originY:y.gQ,originZ:y.px},g={borderWidth:y.px,borderTopWidth:y.px,borderRightWidth:y.px,borderBottomWidth:y.px,borderLeftWidth:y.px,borderRadius:y.px,borderTopLeftRadius:y.px,borderTopRightRadius:y.px,borderBottomRightRadius:y.px,borderBottomLeftRadius:y.px,width:y.px,maxWidth:y.px,height:y.px,maxHeight:y.px,top:y.px,right:y.px,bottom:y.px,left:y.px,inset:y.px,insetBlock:y.px,insetBlockStart:y.px,insetBlockEnd:y.px,insetInline:y.px,insetInlineStart:y.px,insetInlineEnd:y.px,padding:y.px,paddingTop:y.px,paddingRight:y.px,paddingBottom:y.px,paddingLeft:y.px,paddingBlock:y.px,paddingBlockStart:y.px,paddingBlockEnd:y.px,paddingInline:y.px,paddingInlineStart:y.px,paddingInlineEnd:y.px,margin:y.px,marginTop:y.px,marginRight:y.px,marginBottom:y.px,marginLeft:y.px,marginBlock:y.px,marginBlockStart:y.px,marginBlockEnd:y.px,marginInline:y.px,marginInlineStart:y.px,marginInlineEnd:y.px,fontSize:y.px,backgroundPositionX:y.px,backgroundPositionY:y.px,...v,zIndex:f,fillOpacity:m.X4,strokeOpacity:m.X4,numOctaves:f},x={...g,color:a.y,backgroundColor:a.y,outlineColor:a.y,fill:a.y,stroke:a.y,borderColor:a.y,borderTopColor:a.y,borderRightColor:a.y,borderBottomColor:a.y,borderLeftColor:a.y,filter:c,WebkitFilter:c,mask:p,WebkitMask:p},w=t=>x[t],k=()=>({translate:0,scale:1,origin:0,originPoint:0}),A=()=>({x:k(),y:k()}),b=()=>({min:0,max:0}),M=()=>({x:b(),y:b()});var T=i(51204),S=i(80712);let P=t=>e=>e.test(t),E=[m.ai,y.px,y.KN,y.uj,y.vw,y.vh,{test:t=>"auto"===t,parse:t=>t}],V=t=>E.find(P(t));var C=i(39675),R=i(51921);let D=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;var j=i(23441);let L=new Set([c,p]);function B(t,e){let i=w(t);return L.has(i)||(i=o.f),i.getAnimatableNone?i.getAnimatableNone(e):void 0}let F=new Set(["auto","none","0"]);var I=i(35075);class O extends j.h{constructor(t,e,i,n,s){super(t,e,i,n,s,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:e,name:i}=this;if(!e||!e.current)return;super.readKeyframes();for(let i=0;i<t.length;i++){let n=t[i];if("string"==typeof n&&(n=n.trim(),(0,R.pG)(n))){let s=function t(e,i,n=1){(0,C.V)(n<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[s,r]=function(t){let e=D.exec(t);if(!e)return[,];let[,i,n,s]=e;return[`--${i??n}`,s]}(e);if(!s)return;let a=window.getComputedStyle(i).getPropertyValue(s);if(a){let t=a.trim();return/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t)?parseFloat(t):t}return(0,R.pG)(r)?t(r,i,n+1):r}(n,e.current);void 0!==s&&(t[i]=s),i===t.length-1&&(this.finalKeyframe=n)}}if(this.resolveNoneKeyframes(),!S.$.has(i)||2!==t.length)return;let[n,s]=t,r=V(n),a=V(s);if((0,R.rm)(n)!==(0,R.rm)(s)&&I.Hr[i]){this.needsMeasurement=!0;return}if(r!==a)if((0,I.E4)(r)&&(0,I.E4)(a))for(let e=0;e<t.length;e++){let i=t[e];"string"==typeof i&&(t[e]=parseFloat(i))}else I.Hr[i]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:e}=this,i=[];for(let e=0;e<t.length;e++)(null===t[e]||function(t){if("number"==typeof t)return 0===t;if(null===t)return!0;return"none"===t||"0"===t||/^0[^.\s]+$/u.test(t)}(t[e]))&&i.push(e);i.length&&function(t,e,i){let n,s=0;for(;s<t.length&&!n;){let e=t[s];"string"==typeof e&&!F.has(e)&&(0,o.V)(e).values.length&&(n=t[s]),s++}if(n&&i)for(let s of e)t[s]=B(i,n)}(t,i,e)}measureInitialState(){let{element:t,unresolvedKeyframes:e,name:i}=this;if(!t||!t.current)return;"height"===i&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=I.Hr[i](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;let n=e[e.length-1];void 0!==n&&t.getValue(i,n).jump(n,!1)}measureEndState(){let{element:t,name:e,unresolvedKeyframes:i}=this;if(!t||!t.current)return;let n=t.getValue(e);n&&n.jump(this.measuredOrigin,!1);let s=i.length-1,r=i[s];i[s]=I.Hr[e](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==r&&void 0===this.finalKeyframe&&(this.finalKeyframe=r),this.removedTransforms?.length&&this.removedTransforms.forEach(([e,i])=>{t.getValue(e).set(i)}),this.resolveNoneKeyframes()}}var U=i(14548),$=i(15099),z=i(69501),W=i(22947);let{schedule:N}=(0,i(28875).I)(queueMicrotask,!1);var q=i(33206),G=i(68089);let X=[...E,a.y,o.f],H=new WeakMap;function K(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}function Y(t){return"string"==typeof t||Array.isArray(t)}let _=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Z=["initial",..._];function Q(t){return K(t.animate)||Z.some(e=>Y(t[e]))}function J(t){return!!(Q(t)||t.variants)}var tt=i(87050),te=i(47401),ti=i(82369),tn=i(83252);let ts=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],tr={};class ta{scrapeMotionValuesFromProps(t,e,i){return{}}constructor({parent:t,props:e,presenceContext:i,reducedMotionConfig:n,skipAnimations:s,blockInitialAnimation:r,visualState:a},o={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=j.h,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let t=q.k.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,tn.Gt.render(this.render,!1,!0))};const{latestValues:l,renderState:h}=a;this.latestValues=l,this.baseTarget={...l},this.initialValues=e.initial?{...l}:{},this.renderState=h,this.parent=t,this.props=e,this.presenceContext=i,this.depth=t?t.depth+1:0,this.reducedMotionConfig=n,this.skipAnimationsConfig=s,this.options=o,this.blockInitialAnimation=!!r,this.isControllingVariants=Q(e),this.isVariantNode=J(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:u,...d}=this.scrapeMotionValuesFromProps(e,{},this);for(const t in d){const e=d[t];void 0!==l[t]&&(0,T.S)(e)&&e.set(l[t])}}mount(t){if(this.hasBeenMounted)for(let t in this.initialValues)this.values.get(t)?.jump(this.initialValues[t]),this.latestValues[t]=this.initialValues[t];this.current=t,H.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((t,e)=>this.bindToMotionValue(e,t)),"never"===this.reducedMotionConfig?this.shouldReduceMotion=!1:"always"===this.reducedMotionConfig?this.shouldReduceMotion=!0:(ti.r.current||(0,tt.Uu)(),this.shouldReduceMotion=ti.O.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){for(let t in this.projection&&this.projection.unmount(),(0,tn.WG)(this.notifyUpdate),(0,tn.WG)(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this),this.events)this.events[t].clear();for(let t in this.features){let e=this.features[t];e&&(e.unmount(),e.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,e){let i;if(this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)(),e.accelerate&&W.M.has(t)&&this.current instanceof HTMLElement){let{factory:i,keyframes:n,times:s,ease:r,duration:a}=e.accelerate,o=new z.m({element:this.current,name:t,keyframes:n,times:s,ease:r,duration:(0,U.f)(a)}),l=i(o);this.valueSubscriptions.set(t,()=>{l(),o.cancel()});return}let n=r.f.has(t);n&&this.onBindTransform&&this.onBindTransform();let s=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&tn.Gt.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});"u">typeof window&&window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{s(),i&&i()})}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}updateFeatures(){let t="animation";for(t in tr){let e=tr[t];if(!e)continue;let{isEnabled:i,Feature:n}=e;if(!this.features[t]&&n&&i(this.props)&&(this.features[t]=new n(this)),this.features[t]){let e=this.features[t];e.isMounted?e.update():(e.mount(),e.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):M()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,e){this.latestValues[t]=e}update(t,e){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=e;for(let e=0;e<ts.length;e++){let i=ts[e];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);let n=t["on"+i];n&&(this.propEventSubscriptions[i]=this.on(i,n))}this.prevMotionValues=function(t,e,i){for(let n in e){let s=e[n],r=i[n];if((0,T.S)(s))t.addValue(n,s);else if((0,T.S)(r))t.addValue(n,(0,G.OQ)(s,{owner:t}));else if(r!==s)if(t.hasValue(n)){let e=t.getValue(n);!0===e.liveStyle?e.jump(s):e.hasAnimated||e.set(s)}else{let e=t.getStaticValue(n);t.addValue(n,(0,G.OQ)(void 0!==e?e:s,{owner:t}))}}for(let n in i)void 0===e[n]&&t.removeValue(n);return e}(this,this.scrapeMotionValuesFromProps(t,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){let e=this.getClosestVariantNode();if(e)return e.variantChildren&&e.variantChildren.add(t),()=>e.variantChildren.delete(t)}addValue(t,e){let i=this.values.get(t);e!==i&&(i&&this.removeValue(t),this.bindToMotionValue(t,e),this.values.set(t,e),this.latestValues[t]=e.get())}removeValue(t){this.values.delete(t);let e=this.valueSubscriptions.get(t);e&&(e(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,e){if(this.props.values&&this.props.values[t])return this.props.values[t];let i=this.values.get(t);return void 0===i&&void 0!==e&&(i=(0,G.OQ)(null===e?void 0:e,{owner:this}),this.addValue(t,i)),i}readValue(t,e){let i=void 0===this.latestValues[t]&&this.current?this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options):this.latestValues[t];if(null!=i){let n,s;if("string"==typeof i&&(n=i,/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(n)||(s=i,/^0[^.\s]+$/u.test(s))))i=parseFloat(i);else{let n;n=i,!X.find(P(n))&&o.f.test(e)&&(i=B(t,e))}this.setBaseTarget(t,(0,T.S)(i)?i.get():i)}return(0,T.S)(i)?i.get():i}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){let e,{initial:i}=this.props;if("string"==typeof i||"object"==typeof i){let n=(0,te.a)(this.props,i,this.presenceContext?.custom);n&&(e=n[t])}if(i&&void 0!==e)return e;let n=this.getBaseTargetFromProps(this.props,t);return void 0===n||(0,T.S)(n)?void 0!==this.initialValues[t]&&void 0===e?void 0:this.baseTarget[t]:n}on(t,e){return this.events[t]||(this.events[t]=new $.v),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}scheduleRenderMicrotask(){N.render(this.render)}}class to extends ta{constructor(){super(...arguments),this.KeyframeResolver=O}sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){let i=t.style;return i?i[e]:void 0}removeValueFromRenderState(t,{vars:e,style:i}){delete e[t],delete i[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;(0,T.S)(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}var tl=i(87688);let th=(t,e)=>e&&"number"==typeof t?e.transform(t):t,tu={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},td=r.U.length;function tc(t,e,i){let{style:n,vars:s,transformOrigin:a}=t,o=!1,l=!1;for(let t in e){let i=e[t];if(r.f.has(t)){o=!0;continue}if((0,R.j4)(t)){s[t]=i;continue}{let e=th(i,g[t]);t.startsWith("origin")?(l=!0,a[t]=e):n[t]=e}}if(!e.transform&&(o||i?n.transform=function(t,e,i){let n="",s=!0;for(let a=0;a<td;a++){let o=r.U[a],l=t[o];if(void 0===l)continue;let h=!0;if("number"==typeof l)h=l===+!!o.startsWith("scale");else{let t=parseFloat(l);h=o.startsWith("scale")?1===t:0===t}if(!h||i){let t=th(l,g[o]);if(!h){s=!1;let e=tu[o]||o;n+=`${e}(${t}) `}i&&(e[o]=t)}}let a=t.pathRotation;return a&&(s=!1,n+=`rotate(${th(a,g.pathRotation)}) `),n=n.trim(),i?n=i(e,s?"":n):s&&(n="none"),n}(e,t.transform,i):n.transform&&(n.transform="none")),l){let{originX:t="50%",originY:e="50%",originZ:i=0}=a;n.transformOrigin=`${t} ${e} ${i}`}}let tp={offset:"stroke-dashoffset",array:"stroke-dasharray"},tm={offset:"strokeDashoffset",array:"strokeDasharray"},tf=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function ty(t,{attrX:e,attrY:i,attrScale:n,pathLength:s,pathSpacing:r=1,pathOffset:a=0,...o},l,h,u){if(tc(t,o,h),l){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:d,style:c}=t;for(let t of(d.transform&&(c.transform=d.transform,delete d.transform),(c.transform||d.transformOrigin)&&(c.transformOrigin=d.transformOrigin??"50% 50%",delete d.transformOrigin),c.transform&&(c.transformBox=u?.transformBox??"fill-box",delete d.transformBox),tf))void 0!==d[t]&&(c[t]=d[t],delete d[t]);void 0!==e&&(d.x=e),void 0!==i&&(d.y=i),void 0!==n&&(d.scale=n),void 0!==s&&function(t,e,i=1,n=0,s=!0){t.pathLength=1;let r=s?tp:tm;t[r.offset]=`${-n}`,t[r.array]=`${e} ${i}`}(d,s,r,a,!1)}let tv=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"]),tg=t=>"string"==typeof t&&"svg"===t.toLowerCase();function tx(t,{style:e,vars:i},n,s){let r,a=t.style;for(r in e)a[r]=e[r];for(r in s?.applyProjectionStyles(a,n),i)a.setProperty(r,i[r])}let tw=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"];function tk(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let tA={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t)if(!y.px.test(t))return t;else t=parseFloat(t);let i=tk(t,e.target.x),n=tk(t,e.target.y);return`${i}% ${n}%`}};var tb=i(26471);let tM={borderRadius:{...tA,applyTo:[...tw]},borderTopLeftRadius:tA,borderTopRightRadius:tA,borderBottomLeftRadius:tA,borderBottomRightRadius:tA,boxShadow:{correct:(t,{treeScale:e,projectionDelta:i})=>{let n=o.f.parse(t);if(n.length>5)return t;let s=o.f.createTransformer(t),r=+("number"!=typeof n[0]),a=i.x.scale*e.x,l=i.y.scale*e.y;n[0+r]/=a,n[1+r]/=l;let h=(0,tb.k)(a,l,.5);return"number"==typeof n[2+r]&&(n[2+r]/=h),"number"==typeof n[3+r]&&(n[3+r]/=h),s(n)}}};function tT(t,{layout:e,layoutId:i}){return r.f.has(t)||t.startsWith("origin")||(e||void 0!==i)&&(!!tM[t]||"opacity"===t)}function tS(t,e,i){let n=t.style,s=e?.style,r={};if(!n)return r;for(let e in n)((0,T.S)(n[e])||s&&(0,T.S)(s[e])||tT(e,t)||i?.getValue(e)?.liveStyle!==void 0)&&(r[e]=n[e]);return r}function tP(t,e,i){let n=tS(t,e,i);for(let i in t)((0,T.S)(t[i])||(0,T.S)(e[i]))&&(n[-1!==r.U.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=t[i]);return n}class tE extends to{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=M}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(r.f.has(e)){let t=w(e);return t&&t.default||0}return e=tv.has(e)?e:(0,tl.I)(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,i){return tP(t,e,i)}build(t,e,i){ty(t,e,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(t,e,i,n){for(let i in tx(t,e,void 0,n),e.attrs)t.setAttribute(tv.has(i)?i:(0,tl.I)(i),e.attrs[i])}mount(t){this.isSVGTag=tg(t.tagName),super.mount(t)}}var tV=i(66477);function tC({top:t,left:e,right:i,bottom:n}){return{x:{min:e,max:i},y:{min:t,max:n}}}function tR(t){return void 0===t||1===t}function tD({scale:t,scaleX:e,scaleY:i}){return!tR(t)||!tR(e)||!tR(i)}function tj(t){return tD(t)||tL(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function tL(t){var e,i;return(e=t.x)&&"0%"!==e||(i=t.y)&&"0%"!==i}function tB(t,e,i,n,s){return void 0!==s&&(t=n+s*(t-n)),n+i*(t-n)+e}function tF(t,e=0,i=1,n,s){t.min=tB(t.min,e,i,n,s),t.max=tB(t.max,e,i,n,s)}function tI(t,{x:e,y:i}){tF(t.x,e.translate,e.scale,e.originPoint),tF(t.y,i.translate,i.scale,i.originPoint)}function tO(t,e){t.min+=e,t.max+=e}function tU(t,e,i,n,s=.5){let r=(0,tb.k)(t.min,t.max,s);tF(t,e,i,r,n)}function t$(t,e){return"string"==typeof t?parseFloat(t)/100*(e.max-e.min):t}function tz(t,e,i){let n=i??t;tU(t.x,t$(e.x,n.x),e.scaleX,e.scale,e.originX),tU(t.y,t$(e.y,n.y),e.scaleY,e.scale,e.originY)}function tW(t,e){return tC(function(t,e){if(!e)return t;let i=e({x:t.left,y:t.top}),n=e({x:t.right,y:t.bottom});return{top:i.y,left:i.x,bottom:n.y,right:n.x}}(t.getBoundingClientRect(),e))}class tN extends to{constructor(){super(...arguments),this.type="html",this.renderInstance=tx}readValueFromInstance(t,e){if(r.f.has(e))return this.projection?.isProjecting?(0,tV.zs)(e):(0,tV.Ib)(t,e);{let i=window.getComputedStyle(t),n=((0,R.j4)(e)?i.getPropertyValue(e):i[e])||0;return"string"==typeof n?n.trim():n}}measureInstanceViewportBox(t,{transformPagePoint:e}){return tW(t,e)}build(t,e,i){tc(t,e,i.transformTemplate)}scrapeMotionValuesFromProps(t,e,i){return tS(t,e,i)}}var tq=i(75834);let tG=["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 tX(t){if("string"!=typeof t||t.includes("-"));else if(tG.indexOf(t)>-1||/[A-Z]/u.test(t))return!0;return!1}var tH=i(26514),tK=i(75978);let tY=(0,tq.createContext)({strict:!1});var t_=i(73533);let tZ=(0,tq.createContext)({});function tQ(t){return Array.isArray(t)?t.join(" "):t}let tJ=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function t0(t,e,i){for(let n in e)(0,T.S)(e[n])||tT(n,i)||(t[n]=e[n])}let t1=()=>({...tJ(),attrs:{}});var t2=i(8521);function t5(t){return(0,T.S)(t)?t.get():t}var t3=i(29944),t9=i(53214);let t8=t=>(e,i)=>{let n=(0,tq.useContext)(tZ),s=(0,tq.useContext)(t3.t),r=()=>(function({scrapeMotionValuesFromProps:t,createRenderState:e},i,n,s){return{latestValues:function(t,e,i,n){let s={},r=n(t,{});for(let t in r)s[t]=t5(r[t]);let{initial:a,animate:o}=t,l=Q(t),h=J(t);e&&h&&!l&&!1!==t.inherit&&(void 0===a&&(a=e.initial),void 0===o&&(o=e.animate));let u=!!i&&!1===i.initial,d=(u=u||!1===a)?o:a;if(d&&"boolean"!=typeof d&&!K(d)){let e=Array.isArray(d)?d:[d];for(let i=0;i<e.length;i++){let n=(0,te.a)(t,e[i]);if(n){let{transitionEnd:t,transition:e,...i}=n;for(let t in i){let e=i[t];if(Array.isArray(e)){let t=u?e.length-1:0;e=e[t]}null!==e&&(s[t]=e)}for(let e in t)s[e]=t[e]}}}return s}(i,n,s,t),renderState:e()}})(t,e,n,s);return i?r():(0,t9.M)(r)},t4=t8({scrapeMotionValuesFromProps:tS,createRenderState:tJ}),t6=t8({scrapeMotionValuesFromProps:tP,createRenderState:t1}),t7={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"]},et=!1;function ee(){return!function(){if(et)return;let t={};for(let e in t7)t[e]={isEnabled:t=>t7[e].some(e=>!!t[e])};tr=t,et=!0}(),tr}let ei=Symbol.for("motionComponentSymbol");var en=i(29538);let es=(0,tq.createContext)({});function er(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}var ea=i(51382);function eo(t,{forwardMotionProps:e=!1,type:i}={},n,s){n&&function(t){let e=ee();for(let i in t)e[i]={...e[i],...t[i]};tr=e}(n);let r=i?"svg"===i:tX(t),a=r?t6:t4;function o(i,n){var o;let l,h,u,d={...(0,tq.useContext)(t_.Q),...i,layoutId:function({layoutId:t}){let e=(0,tq.useContext)(tK.L).id;return e&&void 0!==t?e+"-"+t:t}(i)},{isStatic:c}=d,p=function(t){let{initial:e,animate:i}=function(t,e){if(Q(t)){let{initial:e,animate:i}=t;return{initial:!1===e||Y(e)?e:void 0,animate:Y(i)?i:void 0}}return!1!==t.inherit?e:{}}(t,(0,tq.useContext)(tZ));return(0,tq.useMemo)(()=>({initial:e,animate:i}),[tQ(e),tQ(i)])}(i),m=a(i,c);if(!c&&"u">typeof window){(0,tq.useContext)(tY).strict;let e=function(t){let{drag:e,layout:i}=ee();if(!e&&!i)return{};let n={...e,...i};return{MeasureLayout:e?.isEnabled(t)||i?.isEnabled(t)?n.MeasureLayout:void 0,ProjectionNode:n.ProjectionNode}}(d);l=e.MeasureLayout,p.visualElement=function(t,e,i,n,s,r){let{visualElement:a}=(0,tq.useContext)(tZ),o=(0,tq.useContext)(tY),l=(0,tq.useContext)(t3.t),h=(0,tq.useContext)(t_.Q),u=h.reducedMotion,d=h.skipAnimations,c=(0,tq.useRef)(null),p=(0,tq.useRef)(!1);n=n||o.renderer,!c.current&&n&&(c.current=n(t,{visualState:e,parent:a,props:i,presenceContext:l,blockInitialAnimation:!!l&&!1===l.initial,reducedMotionConfig:u,skipAnimations:d,isSVG:r}),p.current&&c.current&&(c.current.manuallyAnimateOnMount=!0));let m=c.current,f=(0,tq.useContext)(es);m&&!m.projection&&s&&("html"===m.type||"svg"===m.type)&&function(t,e,i,n){let{layoutId:s,layout:r,drag:a,dragConstraints:o,layoutScroll:l,layoutRoot:h,layoutAnchor:u,layoutCrossfade:d}=e;t.projection=new i(t.latestValues,e["data-framer-portal-id"]?void 0:function t(e){if(e)return!1!==e.options.allowProjection?e.projection:t(e.parent)}(t.parent)),t.projection.setOptions({layoutId:s,layout:r,alwaysMeasureLayout:!!a||o&&er(o),visualElement:t,animationType:"string"==typeof r?r:"both",initialPromotionConfig:n,crossfade:d,layoutScroll:l,layoutRoot:h,layoutAnchor:u})}(c.current,i,s,f);let y=(0,tq.useRef)(!1);(0,tq.useInsertionEffect)(()=>{m&&y.current&&m.update(i,l)});let v=i[en.n],g=(0,tq.useRef)(!!v&&"u">typeof window&&!window.MotionHandoffIsComplete?.(v)&&window.MotionHasOptimisedAnimation?.(v));return(0,ea.E)(()=>{p.current=!0,m&&(y.current=!0,window.MotionIsMounted=!0,m.updateFeatures(),m.scheduleRenderMicrotask(),g.current&&m.animationState&&m.animationState.animateChanges())}),(0,tq.useEffect)(()=>{m&&(!g.current&&m.animationState&&m.animationState.animateChanges(),g.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(v)}),g.current=!1),m.enteringChildren=void 0)}),m}(t,m,d,s,e.ProjectionNode,r)}return(0,tH.jsxs)(tZ.Provider,{value:p,children:[l&&p.visualElement?(0,tH.jsx)(l,{visualElement:p.visualElement,...d}):null,function(t,e,i,{latestValues:n},s,r=!1,a){let o=(a??tX(t)?function(t,e,i,n){let s=(0,tq.useMemo)(()=>{let i=t1();return ty(i,e,tg(n),t.transformTemplate,t.style),{...i.attrs,style:{...i.style}}},[e]);if(t.style){let e={};t0(e,t.style,t),s.style={...e,...s.style}}return s}:function(t,e){let i,n,s={},r=(i=t.style||{},t0(n={},i,t),Object.assign(n,function({transformTemplate:t},e){return(0,tq.useMemo)(()=>{let i=tJ();return tc(i,e,t),Object.assign({},i.vars,i.style)},[e])}(t,e)),n);return t.drag&&!1!==t.dragListener&&(s.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=!0===t.drag?"none":`pan-${"x"===t.drag?"y":"x"}`),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(s.tabIndex=0),s.style=r,s})(e,n,s,t),l=(0,t2.J)(e,"string"==typeof t,r),h=t!==tq.Fragment?{...l,...o,ref:i}:{},{children:u}=e,d=(0,tq.useMemo)(()=>(0,T.S)(u)?u.get():u,[u]);return(0,tq.createElement)(t,{...h,children:d})}(t,i,(o=p.visualElement,h=(0,tq.useRef)(n),(0,tq.useInsertionEffect)(()=>{h.current=n}),u=(0,tq.useRef)(null),(0,tq.useCallback)(t=>{t&&m.onMount?.(t),o&&(t?o.mount(t):o.unmount());let e=h.current;if("function"==typeof e)if(t){let i=e(t);"function"==typeof i&&(u.current=i)}else u.current?(u.current(),u.current=null):e(t);else e&&(e.current=t)},[o])),m,c,e,r)]})}o.displayName=`motion.${"string"==typeof t?t:`create(${t.displayName??t.name??""})`}`;let l=(0,tq.forwardRef)(o);return l[ei]=t,l}class el{constructor(t){this.isMounted=!1,this.node=t}update(){}}var eh=i(44714),eu=i(67868);let ed=Z.length;var ec=i(39950),ep=i(37013);function em(t,e){if(!Array.isArray(e))return!1;let i=e.length;if(i!==t.length)return!1;for(let n=0;n<i;n++)if(e[n]!==t[n])return!1;return!0}let ef=[..._].reverse(),ey=_.length;function ev(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function eg(){return{animate:ev(!0),whileInView:ev(),whileHover:ev(),whileTap:ev(),whileDrag:ev(),whileFocus:ev(),exit:ev()}}class ex extends el{constructor(t){super(t),t.animationState||(t.animationState=function(t){let e=e=>Promise.all(e.map(({animation:e,options:i})=>(0,eh._)(t,e,i))),i=eg(),n=!0,s=!1,r=e=>(i,n)=>{let s=(0,ep.K)(t,n,"exit"===e?t.presenceContext?.custom:void 0);if(s){let{transition:t,transitionEnd:e,...n}=s;i={...i,...n,...e}}return i};function a(a){let{props:o}=t,l=function t(e){if(!e)return;if(!e.isControllingVariants){let i=e.parent&&t(e.parent)||{};return void 0!==e.props.initial&&(i.initial=e.props.initial),i}let i={};for(let t=0;t<ed;t++){let n=Z[t],s=e.props[n];(Y(s)||!1===s)&&(i[n]=s)}return i}(t.parent)||{},h=[],u=new Set,d={},c=1/0;for(let e=0;e<ey;e++){var p,m;let f=ef[e],y=i[f],v=void 0!==o[f]?o[f]:l[f],g=Y(v),x=f===a?y.isActive:null;!1===x&&(c=e);let w=v===l[f]&&v!==o[f]&&g;if(w&&(n||s)&&t.manuallyAnimateOnMount&&(w=!1),y.protectedKeys={...d},!y.isActive&&null===x||!v&&!y.prevProp||K(v)||"boolean"==typeof v)continue;if("exit"===f&&y.isActive&&!0!==x){y.prevResolvedValues&&(d={...d,...y.prevResolvedValues});continue}let k=(p=y.prevProp,"string"==typeof(m=v)?m!==p:!!Array.isArray(m)&&!em(m,p)),A=k||f===a&&y.isActive&&!w&&g||e>c&&g,b=!1,M=Array.isArray(v)?v:[v],T=M.reduce(r(f),{});!1===x&&(T={});let{prevResolvedValues:S={}}=y,P={...S,...T},E=e=>{A=!0,u.has(e)&&(b=!0,u.delete(e)),y.needsAnimating[e]=!0;let i=t.getValue(e);i&&(i.liveStyle=!1)};for(let t in P){let e=T[t],i=S[t];if(!d.hasOwnProperty(t))((0,ec.p)(e)&&(0,ec.p)(i)?!em(e,i)||k:e!==i)?null!=e?E(t):u.add(t):void 0!==e&&u.has(t)?E(t):y.protectedKeys[t]=!0}y.prevProp=v,y.prevResolvedValues=T,y.isActive&&(d={...d,...T}),(n||s)&&t.blockInitialAnimation&&(A=!1);let V=w&&k,C=!V||b;A&&C&&h.push(...M.map(e=>{let i={type:f};if("string"==typeof e&&(n||s)&&!V&&t.manuallyAnimateOnMount&&t.parent){let{parent:n}=t,s=(0,ep.K)(n,e);if(n.enteringChildren&&s){let{delayChildren:e}=s.transition||{};i.delay=(0,eu.L)(n.enteringChildren,t,e)}}return{animation:e,options:i}}))}if(u.size){let e={};if("boolean"!=typeof o.initial){let i=(0,ep.K)(t,Array.isArray(o.initial)?o.initial[0]:o.initial);i&&i.transition&&(e.transition=i.transition)}u.forEach(i=>{let n=t.getBaseTarget(i),s=t.getValue(i);s&&(s.liveStyle=!0),e[i]=n??null}),h.push({animation:e})}let f=!!h.length;return n&&(!1===o.initial||o.initial===o.animate)&&!t.manuallyAnimateOnMount&&(f=!1),n=!1,s=!1,f?e(h):Promise.resolve()}return{animateChanges:a,setActive:function(e,n){if(i[e].isActive===n)return Promise.resolve();t.variantChildren?.forEach(t=>t.animationState?.setActive(e,n)),i[e].isActive=n;let s=a(e);for(let t in i)i[t].protectedKeys={};return s},setAnimateFunction:function(i){e=i(t)},getState:()=>i,reset:()=>{i=eg(),s=!0}}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();K(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:e}=this.node.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let ew=0;class ek extends el{constructor(){super(...arguments),this.id=ew++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:e}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===i)return;if(t&&!1===i){if(this.isExitComplete){let{initial:t,custom:e}=this.node.getProps();if("string"==typeof t||"object"==typeof t&&null!==t&&!Array.isArray(t)){let i=(0,ep.K)(this.node,t,e);if(i){let{transition:t,transitionEnd:e,...n}=i;for(let t in n)this.node.getValue(t)?.jump(n[t])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}let n=this.node.animationState.setActive("exit",!t);e&&!t&&n.then(()=>{this.isExitComplete=!0,e(this.id)})}mount(){let{register:t,onExitComplete:e}=this.node.presenceContext||{};e&&e(this.id),t&&(this.unmount=t(this.id))}unmount(){}}var eA=i(86618);let eb={x:!1,y:!1};function eM(t){return[t("x"),t("y")]}function eT(t){return t.max-t.min}function eS(t,e,i,n=.5){t.origin=n,t.originPoint=(0,tb.k)(e.min,e.max,t.origin),t.scale=eT(i)/eT(e),t.translate=(0,tb.k)(i.min,i.max,t.origin)-t.originPoint,(t.scale>=.9999&&t.scale<=1.0001||isNaN(t.scale))&&(t.scale=1),(t.translate>=-.01&&t.translate<=.01||isNaN(t.translate))&&(t.translate=0)}function eP(t,e,i,n){eS(t.x,e.x,i.x,n?n.originX:void 0),eS(t.y,e.y,i.y,n?n.originY:void 0)}function eE(t,e,i,n=0){t.min=(n?(0,tb.k)(i.min,i.max,n):i.min)+e.min,t.max=t.min+eT(e)}function eV(t,e,i,n=0){let s=n?(0,tb.k)(i.min,i.max,n):i.min;t.min=e.min-s,t.max=t.min+eT(e)}function eC(t,e,i,n){eV(t.x,e.x,i.x,n?.x),eV(t.y,e.y,i.y,n?.y)}var eR=i(78140),eD=i(70962);let ej=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),eL=new Set(["INPUT","SELECT","TEXTAREA"]);function eB(t,e,i,n={passive:!0}){return t.addEventListener(e,i,n),()=>t.removeEventListener(e,i,n)}var eF=i(48764);function eI(t){return(0,eF.G)(t)&&"ownerSVGElement"in t}function eO(t,e,i){if(null==t)return[];if(t instanceof EventTarget)return[t];if("string"==typeof t){let n=document;e&&(n=e.current);let s=i?.[t]??n.querySelectorAll(t);return s?Array.from(s):[]}return Array.from(t).filter(t=>null!=t)}let eU=new WeakMap,e$=(t,e,i)=>(n,s)=>s&&s[0]?s[0][t+"Size"]:eI(n)&&"getBBox"in n?n.getBBox()[e]:n[i],ez=e$("inline","width","offsetWidth"),eW=e$("block","height","offsetHeight");function eN({target:t,borderBoxSize:e}){eU.get(t)?.forEach(i=>{i(t,{get width(){return ez(t,e)},get height(){return eW(t,e)}})})}function eq(t){t.forEach(eN)}let eG=new Set;function eX(t,e){let i;return"function"==typeof t?(eG.add(t),s||(s=()=>{let t={get width(){return window.innerWidth},get height(){return window.innerHeight}};eG.forEach(e=>e(t))},window.addEventListener("resize",s)),()=>{eG.delete(t),eG.size||"function"!=typeof s||(window.removeEventListener("resize",s),s=void 0)}):(!n&&"u">typeof ResizeObserver&&(n=new ResizeObserver(eq)),(i=eO(t)).forEach(t=>{let i=eU.get(t);i||(i=new Set,eU.set(t,i)),i.add(e),n?.observe(t)}),()=>{i.forEach(t=>{let i=eU.get(t);i?.delete(e),i?.size||n?.unobserve(t)})})}let eH=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;function eK(t){return{point:{x:t.pageX,y:t.pageY}}}function eY(t,e,i,n){return eB(t,e,t=>eH(t)&&i(t,eK(t)),n)}let e_=({current:t})=>t?t.ownerDocument.defaultView:null;var eZ=i(602);let eQ=(t,e)=>Math.abs(t-e),eJ=new Set(["auto","scroll"]);class e0{constructor(t,e,{transformPagePoint:i,contextWindow:n=window,dragSnapToOrigin:s=!1,distanceThreshold:r=3,element:a}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=t=>{this.handleScroll(t.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{var t,e;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=e1(this.lastRawMoveEventInfo,this.transformPagePoint));let i=e5(this.lastMoveEventInfo,this.history),n=null!==this.startEvent,s=(t=i.offset,e={x:0,y:0},Math.sqrt(eQ(t.x,e.x)**2+eQ(t.y,e.y)**2)>=this.distanceThreshold);if(!n&&!s)return;let{point:r}=i,{timestamp:a}=tn.uv;this.history.push({...r,timestamp:a});let{onStart:o,onMove:l}=this.handlers;n||(o&&o(this.lastMoveEvent,i),this.startEvent=this.lastMoveEvent),l&&l(this.lastMoveEvent,i)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastRawMoveEventInfo=e,this.lastMoveEventInfo=e1(e,this.transformPagePoint),tn.Gt.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:i,onSessionEnd:n,resumeAnimation:s}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&s&&s(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let r=e5("pointercancel"===t.type?this.lastMoveEventInfo:e1(e,this.transformPagePoint),this.history);this.startEvent&&i&&i(t,r),n&&n(t,r)},!eH(t))return;this.dragSnapToOrigin=s,this.handlers=e,this.transformPagePoint=i,this.distanceThreshold=r,this.contextWindow=n||window;const o=e1(eK(t),this.transformPagePoint),{point:l}=o,{timestamp:h}=tn.uv;this.history=[{...l,timestamp:h}];const{onSessionStart:u}=e;u&&u(t,e5(o,this.history));const d={passive:!0,capture:!0};this.removeListeners=(0,eZ.F)(eY(this.contextWindow,"pointermove",this.handlePointerMove,d),eY(this.contextWindow,"pointerup",this.handlePointerUp,d),eY(this.contextWindow,"pointercancel",this.handlePointerUp,d)),a&&this.startScrollTracking(a)}startScrollTracking(t){let e=t.parentElement;for(;e;){let t=getComputedStyle(e);(eJ.has(t.overflowX)||eJ.has(t.overflowY))&&this.scrollPositions.set(e,{x:e.scrollLeft,y:e.scrollTop}),e=e.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(t){let e=this.scrollPositions.get(t);if(!e)return;let i=t===window,n=i?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},s={x:n.x-e.x,y:n.y-e.y};(0!==s.x||0!==s.y)&&(i?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=s.x,this.lastMoveEventInfo.point.y+=s.y):this.history.length>0&&(this.history[0].x-=s.x,this.history[0].y-=s.y),this.scrollPositions.set(t,n),tn.Gt.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),(0,tn.WG)(this.updatePoint)}}function e1(t,e){return e?{point:e(t.point)}:t}function e2(t,e){return{x:t.x-e.x,y:t.y-e.y}}function e5({point:t},e){return{point:t,delta:e2(t,e3(e)),offset:e2(t,e[0]),velocity:function(t){if(t.length<2)return{x:0,y:0};let e=t.length-1,i=null,n=e3(t);for(;e>=0&&(i=t[e],!(n.timestamp-i.timestamp>(0,U.f)(.1)));)e--;if(!i)return{x:0,y:0};i===t[0]&&t.length>2&&n.timestamp-i.timestamp>2*(0,U.f)(.1)&&(i=t[1]);let s=(0,U.X)(n.timestamp-i.timestamp);if(0===s)return{x:0,y:0};let r={x:(n.x-i.x)/s,y:(n.y-i.y)/s};return r.x===1/0&&(r.x=0),r.y===1/0&&(r.y=0),r}(e)}}function e3(t){return t[t.length-1]}var e9=i(65959),e8=i(7689);function e4(t,e,i){return{min:void 0!==e?t.min+e:void 0,max:void 0!==i?t.max+i-(t.max-t.min):void 0}}function e6(t,e){let i=e.min-t.min,n=e.max-t.max;return e.max-e.min<t.max-t.min&&([i,n]=[n,i]),{min:i,max:n}}function e7(t,e,i){return{min:it(t,e),max:it(t,i)}}function it(t,e){return"number"==typeof t?t:t[e]||0}let ie=new WeakMap;class ii{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=M(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:e=!1,distanceThreshold:i}={}){let{presenceContext:n}=this.visualElement;if(n&&!1===n.isPresent)return;let s=t=>{e&&this.snapToCursor(eK(t).point),this.stopAnimation()},r=(t,e)=>{let{drag:i,dragPropagation:n,onDragStart:s}=this.getProps();if(i&&!n&&(this.openDragLock&&this.openDragLock(),this.openDragLock=function(t){if("x"===t||"y"===t)if(eb[t])return null;else return eb[t]=!0,()=>{eb[t]=!1};return eb.x||eb.y?null:(eb.x=eb.y=!0,()=>{eb.x=eb.y=!1})}(i),!this.openDragLock))return;this.latestPointerEvent=t,this.latestPanInfo=e,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),eM(t=>{let e=this.getAxisMotionValue(t).get()||0;if(y.KN.test(e)){let{projection:i}=this.visualElement;if(i&&i.layout){let n=i.layout.layoutBox[t];n&&(e=eT(n)*(parseFloat(e)/100))}}this.originPoint[t]=e}),s&&tn.Gt.update(()=>s(t,e),!1,!0),(0,eR.g)(this.visualElement,"transform");let{animationState:r}=this.visualElement;r&&r.setActive("whileDrag",!0)},a=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e;let{dragPropagation:i,dragDirectionLock:n,onDirectionLock:s,onDrag:r}=this.getProps();if(!i&&!this.openDragLock)return;let{offset:a}=e;if(n&&null===this.currentDirection){this.currentDirection=function(t,e=10){let i=null;return Math.abs(t.y)>e?i="y":Math.abs(t.x)>e&&(i="x"),i}(a),null!==this.currentDirection&&s&&s(this.currentDirection);return}this.updateAxis("x",e.point,a),this.updateAxis("y",e.point,a),this.visualElement.render(),r&&tn.Gt.update(()=>r(t,e),!1,!0)},o=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e,this.stop(t,e),this.latestPointerEvent=null,this.latestPanInfo=null},l=()=>{let{dragSnapToOrigin:t}=this.getProps();(t||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:h}=this.getProps();this.panSession=new e0(t,{onSessionStart:s,onStart:r,onMove:a,onSessionEnd:o,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:h,distanceThreshold:i,contextWindow:e_(this.visualElement),element:this.visualElement.current})}stop(t,e){let i=t||this.latestPointerEvent,n=e||this.latestPanInfo,s=this.isDragging;if(this.cancel(),!s||!n||!i)return;let{velocity:r}=n;this.startAnimation(r);let{onDragEnd:a}=this.getProps();a&&tn.Gt.postRender(()=>a(i,n))}cancel(){this.isDragging=!1;let{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.endPanSession();let{dragPropagation:i}=this.getProps();!i&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),e&&e.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(t,e,i){let{drag:n}=this.getProps();if(!i||!ir(t,n,this.currentDirection))return;let s=this.getAxisMotionValue(t),r=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(r=function(t,{min:e,max:i},n){return void 0!==e&&t<e?t=n?(0,tb.k)(e,t,n.min):Math.max(t,e):void 0!==i&&t>i&&(t=n?(0,tb.k)(i,t,n.max):Math.min(t,i)),t}(r,this.constraints[t],this.elastic[t])),s.set(r)}resolveConstraints(){let{dragConstraints:t,dragElastic:e}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,n=this.constraints;t&&er(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&i?this.constraints=function(t,{top:e,left:i,bottom:n,right:s}){return{x:e4(t.x,i,s),y:e4(t.y,e,n)}}(i.layoutBox,t):this.constraints=!1,this.elastic=function(t=.35){return!1===t?t=0:!0===t&&(t=.35),{x:e7(t,"left","right"),y:e7(t,"top","bottom")}}(e),n!==this.constraints&&!er(t)&&i&&this.constraints&&!this.hasMutatedConstraints&&eM(t=>{var e,n;let s;!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=(e=i.layoutBox[t],n=this.constraints[t],s={},void 0!==n.min&&(s.min=n.min-e.min),void 0!==n.max&&(s.max=n.max-e.min),s))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:i}=this.getProps();if(!e||!er(e))return!1;let n=e.current;(0,C.V)(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");let{projection:s}=this.visualElement;if(!s||!s.layout)return!1;s.root&&(s.root.scroll=void 0,s.root.updateScroll());let r=function(t,e,i){let n=tW(t,i),{scroll:s}=e;return s&&(tO(n.x,s.offset.x),tO(n.y,s.offset.y)),n}(n,s.root,this.visualElement.getTransformPagePoint()),a=(t=s.layout.layoutBox,{x:e6(t.x,r.x),y:e6(t.y,r.y)});if(i){let t=i(function({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}(a));this.hasMutatedConstraints=!!t,t&&(a=tC(t))}return a}startAnimation(t){let{drag:e,dragMomentum:i,dragElastic:n,dragTransition:s,dragSnapToOrigin:r,onDragTransitionEnd:a}=this.getProps(),o=this.constraints||{};return Promise.all(eM(a=>{if(!ir(a,e,this.currentDirection))return;let l=o&&o[a]||{};(!0===r||r===a)&&(l={min:0,max:0});let h={type:"inertia",velocity:i?t[a]:0,bounceStiffness:n?200:1e6,bounceDamping:n?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...s,...l};return this.startAxisValueAnimation(a,h)})).then(a)}startAxisValueAnimation(t,e){let i=this.getAxisMotionValue(t);return(0,eR.g)(this.visualElement,t),i.start((0,eD.f)(t,i,0,e,this.visualElement,!1))}stopAnimation(){eM(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){let e=`_drag${t.toUpperCase()}`;return this.visualElement.getProps()[e]||this.visualElement.getValue(t,this.visualElement.latestValues[t]??0)}snapToCursor(t){eM(e=>{let{drag:i}=this.getProps();if(!ir(e,i,this.currentDirection))return;let{projection:n}=this.visualElement,s=this.getAxisMotionValue(e);if(n&&n.layout){let{min:i,max:r}=n.layout.layoutBox[e],a=s.get()||0;s.set(t[e]-(0,tb.k)(i,r,.5)+a)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:i}=this.visualElement;if(!er(e)||!i||!this.constraints)return;this.stopAnimation();let n={x:0,y:0};eM(t=>{let e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){var i,s;let r,a,o,l=e.get();n[t]=(i={min:l,max:l},s=this.constraints[t],r=.5,a=eT(i),(o=eT(s))>a?r=(0,e9.q)(s.min,s.max-a,i.min):a>o&&(r=(0,e9.q)(i.min,i.max-o,s.min)),(0,e8.q)(0,1,r))}});let{transformTemplate:s}=this.visualElement.getProps();this.visualElement.current.style.transform=s?s({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.constraints=!1,this.resolveConstraints(),eM(e=>{if(!ir(e,t,null))return;let i=this.getAxisMotionValue(e),{min:s,max:r}=this.constraints[e];i.set((0,tb.k)(s,r,n[e]))}),this.visualElement.render()}addListeners(){let t;if(!this.visualElement.current)return;ie.set(this.visualElement,this);let e=this.visualElement.current,i=eY(e,"pointerdown",t=>{let{drag:i,dragListener:n=!0}=this.getProps(),s=t.target,r=s!==e&&(eL.has(s.tagName)||!0===s.isContentEditable);i&&n&&!r&&this.start(t)}),n=()=>{var i,n,s;let r,a,{dragConstraints:o}=this.getProps();er(o)&&o.current&&(this.constraints=this.resolveRefConstraints(),t||(i=e,n=o.current,r=eX(i,is(s=()=>this.scalePositionWithinConstraints())),a=eX(n,is(s)),t=()=>{r(),a()}))},{projection:s}=this.visualElement,r=s.addEventListener("measure",n);s&&!s.layout&&(s.root&&s.root.updateScroll(),s.updateLayout()),tn.Gt.read(n);let a=eB(window,"resize",()=>this.scalePositionWithinConstraints()),o=s.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(eM(e=>{let i=this.getAxisMotionValue(e);i&&(this.originPoint[e]+=t[e].translate,i.set(i.get()+t[e].translate))}),this.visualElement.render())});return()=>{a(),i(),r(),o&&o(),t&&t()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:i=!1,dragPropagation:n=!1,dragConstraints:s=!1,dragElastic:r=.35,dragMomentum:a=!0}=t;return{...t,drag:e,dragDirectionLock:i,dragPropagation:n,dragConstraints:s,dragElastic:r,dragMomentum:a}}}function is(t){let e=!0;return()=>{if(e){e=!1;return}t()}}function ir(t,e,i){return(!0===e||e===t)&&(null===i||i===t)}class ia extends el{constructor(t){super(t),this.removeGroupControls=eA.l,this.removeListeners=eA.l,this.controls=new ii(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||eA.l}update(){let{dragControls:t}=this.node.getProps(),{dragControls:e}=this.node.prevProps||{};t!==e&&(this.removeGroupControls(),t&&(this.removeGroupControls=t.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}let io=t=>(e,i)=>{t&&tn.Gt.update(()=>t(e,i),!1,!0)};class il extends el{constructor(){super(...arguments),this.removePointerDownListener=eA.l}onPointerDown(t){this.session=new e0(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:e_(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:i,onPanEnd:n}=this.node.getProps();return{onSessionStart:io(t),onStart:io(e),onMove:io(i),onEnd:(t,e)=>{delete this.session,n&&tn.Gt.postRender(()=>n(t,e))}}}mount(){this.removePointerDownListener=eY(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let ih={hasAnimatedSinceResize:!0,hasEverUpdated:!1};var iu=i(41487);let id=!1;class ic extends tq.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i,layoutId:n}=this.props,{projection:s}=t;s&&(e.group&&e.group.add(s),i&&i.register&&n&&i.register(s),id&&s.root.didUpdate(),s.addEventListener("animationComplete",()=>{this.safeToRemove()}),s.setOptions({...s.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),ih.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:i,drag:n,isPresent:s}=this.props,{projection:r}=i;return r&&(r.isPresent=s,t.layoutDependency!==e&&r.setOptions({...r.options,layoutDependency:e}),id=!0,n||t.layoutDependency!==e||void 0===e||t.isPresent!==s?r.willUpdate():this.safeToRemove(),t.isPresent!==s&&(s?r.promote():r.relegate()||tn.Gt.postRender(()=>{let t=r.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{visualElement:t,layoutAnchor:e}=this.props,{projection:i}=t;i&&(i.options.layoutAnchor=e,i.root.didUpdate(),N.postRender(()=>{!i.currentAnimation&&i.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i}=this.props,{projection:n}=t;id=!0,n&&(n.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(n),i&&i.deregister&&i.deregister(n))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}}function ip(t){let[e,i]=(0,iu.xQ)(),n=(0,tq.useContext)(tK.L);return(0,tH.jsx)(ic,{...t,layoutGroup:n,switchLayoutGroup:(0,tq.useContext)(es),isPresent:e,safeToRemove:i})}var im=i(66208),iy=i(42260),iv=i(3255);let ig=tw.length,ix=t=>"string"==typeof t?parseFloat(t):t,iw=t=>"number"==typeof t||y.px.test(t);function ik(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let iA=iM(0,.5,iv.yT),ib=iM(.5,.95,eA.l);function iM(t,e,i){return n=>n<t?0:n>e?1:i((0,e9.q)(t,e,n))}function iT(t,e){t.min=e.min,t.max=e.max}function iS(t,e){iT(t.x,e.x),iT(t.y,e.y)}function iP(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}function iE(t,e,i,n,s){return t-=e,t=n+1/i*(t-n),void 0!==s&&(t=n+1/s*(t-n)),t}function iV(t,e,[i,n,s],r,a){!function(t,e=0,i=1,n=.5,s,r=t,a=t){if(y.KN.test(e)&&(e=parseFloat(e),e=(0,tb.k)(a.min,a.max,e/100)-a.min),"number"!=typeof e)return;let o=(0,tb.k)(r.min,r.max,n);t===r&&(o-=e),t.min=iE(t.min,e,i,o,s),t.max=iE(t.max,e,i,o,s)}(t,e[i],e[n],e[s],e.scale,r,a)}let iC=["x","scaleX","originX"],iR=["y","scaleY","originY"];function iD(t,e,i,n){iV(t.x,e,iC,i?i.x:void 0,n?n.x:void 0),iV(t.y,e,iR,i?i.y:void 0,n?n.y:void 0)}function ij(t){return 0===t.translate&&1===t.scale}function iL(t){return ij(t.x)&&ij(t.y)}function iB(t,e){return t.min===e.min&&t.max===e.max}function iF(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function iI(t,e){return iF(t.x,e.x)&&iF(t.y,e.y)}function iO(t){return eT(t.x)/eT(t.y)}function iU(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}var i$=i(52867);class iz{constructor(){this.members=[]}add(t){(0,i$.Kq)(this.members,t);for(let e=this.members.length-1;e>=0;e--){let i=this.members[e];if(i===t||i===this.lead||i===this.prevLead)continue;let n=i.instance;n&&!1!==n.isConnected||i.snapshot||((0,i$.Ai)(this.members,i),i.unmount())}t.scheduleRender()}remove(t){if((0,i$.Ai)(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let t=this.members[this.members.length-1];t&&this.promote(t)}}relegate(t){for(let e=this.members.indexOf(t)-1;e>=0;e--){let t=this.members[e];if(!1!==t.isPresent&&t.instance?.isConnected!==!1)return this.promote(t),!0}return!1}promote(t,e){let i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.updateSnapshot(),t.scheduleRender();let{layoutDependency:n}=i.options,{layoutDependency:s}=t.options;(void 0===n||n!==s)&&(t.resumeFrom=i,e&&(i.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),t.root?.isUpdating&&(t.isLayoutDirty=!0)),!1===t.options.crossfade&&i.hide()}}exitAnimationComplete(){this.members.forEach(t=>{t.options.onExitComplete?.(),t.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(t=>t.instance&&t.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}}let iW=(t,e)=>t.depth-e.depth;class iN{constructor(){this.children=[],this.isDirty=!1}add(t){(0,i$.Kq)(this.children,t),this.isDirty=!0}remove(t){(0,i$.Ai)(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(iW),this.isDirty=!1,this.children.forEach(t)}}let iq=["","X","Y","Z"],iG=0;function iX(t,e,i,n){let{latestValues:s}=e;s[t]&&(i[t]=s[t],e.setStaticValue(t,0),n&&(n[t]=0))}function iH({attachResizeListener:t,defaultParent:e,measureScroll:i,checkIsScrollRoot:n,resetTransform:s}){return class{constructor(t={},i=e?.()){this.id=iG++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(i_),this.nodes.forEach(i9),this.nodes.forEach(i8),this.nodes.forEach(iZ)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=i?i.root||i:this,this.path=i?[...i.path,i]:[],this.parent=i,this.depth=i?i.depth+1:0;for(let t=0;t<this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&&(this.nodes=new iN)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new $.v),this.eventHandlers.get(t).add(e)}notifyListeners(t,...e){let i=this.eventHandlers.get(t);i&&i.notify(...e)}hasListeners(t){return this.eventHandlers.has(t)}mount(e){if(this.instance)return;this.isSVG=eI(e)&&!(eI(e)&&"svg"===e.tagName),this.instance=e;let{layoutId:i,layout:n,visualElement:s}=this.options;if(s&&!s.current&&s.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(n||i)&&(this.isLayoutDirty=!0),t){let i,n=0,s=()=>this.root.updateBlockedByResize=!1;tn.Gt.read(()=>{n=window.innerWidth}),t(e,()=>{let t=window.innerWidth;if(t!==n){let e,r;n=t,this.root.updateBlockedByResize=!0,i&&i(),e=q.k.now(),r=({timestamp:t})=>{let i=t-e;i>=250&&((0,tn.WG)(r),s(i-250))},tn.Gt.setup(r,!0),i=()=>(0,tn.WG)(r),ih.hasAnimatedSinceResize&&(ih.hasAnimatedSinceResize=!1,this.nodes.forEach(i3))}})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&s&&(i||n)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeLayoutChanged:i,layout:n})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let r=this.options.transition||s.getDefaultTransition()||ni,{onLayoutAnimationStart:a,onLayoutAnimationComplete:o}=s.getProps(),l=!this.targetLayout||!iI(this.targetLayout,n),h=!e&&i;if(this.options.layoutRoot||this.resumeFrom||h||e&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let e={...(0,iy.r)(r,"layout"),onPlay:a,onComplete:o};(s.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e),this.setAnimationOrigin(t,h,e.path)}else e||i3(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=n})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let t=this.getStack();t&&t.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),(0,tn.WG)(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(i4),this.animationId++)}getTransformTemplate(){let{visualElement:t}=this.options;return t&&t.getProps().transformTemplate}willUpdate(t=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function t(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:i}=e.options;if(!i)return;let n=(0,im.P)(i);if(window.MotionHasOptimisedAnimation(n,"transform")){let{layout:t,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",tn.Gt,!(t||i))}let{parent:s}=e;s&&!s.hasCheckedOptimisedAppear&&t(s)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let t=0;t<this.path.length;t++){let e=this.path[t];e.shouldResetTransform=!0,("string"==typeof e.latestValues.x||"string"==typeof e.latestValues.y)&&(e.isLayoutDirty=!0),e.updateScroll("snapshot"),e.options.layoutRoot&&e.willUpdate(!1)}let{layoutId:e,layout:i}=this.options;if(void 0===e&&!i)return;let n=this.getTransformTemplate();this.prevTransformTemplateValue=n?n(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){let t=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),t&&this.nodes.forEach(i0),this.nodes.forEach(iJ);return}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(i1);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(i2),this.nodes.forEach(i5),this.nodes.forEach(iK),this.nodes.forEach(iY)):this.nodes.forEach(i1),this.clearAllSnapshots();let t=q.k.now();tn.uv.delta=(0,e8.q)(0,1e3/60,t-tn.uv.timestamp),tn.uv.timestamp=t,tn.uv.isProcessing=!0,tn.PP.update.process(tn.uv),tn.PP.preRender.process(tn.uv),tn.PP.render.process(tn.uv),tn.uv.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,N.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(iQ),this.sharedNodes.forEach(i6)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,tn.Gt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){tn.Gt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||eT(this.snapshot.measuredBox.x)||eT(this.snapshot.measuredBox.y)||(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let t=0;t<this.path.length;t++)this.path[t].updateScroll();let t=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=M()),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:e}=this.options;e&&e.notify("LayoutMeasure",this.layout.layoutBox,t?t.layoutBox:void 0)}updateScroll(t="measure"){let e=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(e=!1),e&&this.instance){let e=n(this.instance);this.scroll={animationId:this.root.animationId,phase:t,isRoot:e,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:e}}}resetTransform(){if(!s)return;let t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!iL(this.projectionDelta),i=this.getTransformTemplate(),n=i?i(this.latestValues,""):void 0,r=n!==this.prevTransformTemplateValue;t&&this.instance&&(e||tj(this.latestValues)||r)&&(s(this.instance,n),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){var e;let i=this.measurePageBox(),n=this.removeElementScroll(i);return t&&(n=this.removeTransform(n)),nr((e=n).x),nr(e.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:t}=this.options;if(!t)return M();let e=t.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(no))){let{scroll:t}=this.root;t&&(tO(e.x,t.offset.x),tO(e.y,t.offset.y))}return e}removeElementScroll(t){let e=M();if(iS(e,t),this.scroll?.wasRoot)return e;for(let i=0;i<this.path.length;i++){let n=this.path[i],{scroll:s,options:r}=n;n!==this.root&&s&&r.layoutScroll&&(s.wasRoot&&iS(e,t),tO(e.x,s.offset.x),tO(e.y,s.offset.y))}return e}applyTransform(t,e=!1,i){let n=i||M();iS(n,t);for(let t=0;t<this.path.length;t++){let i=this.path[t];!e&&i.options.layoutScroll&&i.scroll&&i!==i.root&&(tO(n.x,-i.scroll.offset.x),tO(n.y,-i.scroll.offset.y)),tj(i.latestValues)&&tz(n,i.latestValues,i.layout?.layoutBox)}return tj(this.latestValues)&&tz(n,this.latestValues,this.layout?.layoutBox),n}removeTransform(t){let e=M();iS(e,t);for(let t=0;t<this.path.length;t++){let i,n=this.path[t];tj(n.latestValues)&&(n.instance&&(tD(n.latestValues)&&n.updateSnapshot(),iS(i=M(),n.measurePageBox())),iD(e,n.latestValues,n.snapshot?.layoutBox,i))}return tj(this.latestValues)&&iD(e,this.latestValues),e}setTargetDelta(t){this.targetDelta=t,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(t){this.options={...this.options,...t,crossfade:void 0===t.crossfade||t.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==tn.uv.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(t=!1){let e=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=e.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=e.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=e.isSharedProjectionDirty);let i=!!this.resumingFrom||this!==e;if(!(t||i&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:n,layoutId:s}=this.options;if(!this.layout||!(n||s))return;this.resolvedRelativeTargetAt=tn.uv.timestamp;let r=this.getClosestProjectingParent();if(r&&this.linkedParentVersion!==r.layoutVersion&&!r.options.layoutRoot&&this.removeRelativeTarget(),this.targetDelta||this.relativeTarget||(!1!==this.options.layoutAnchor&&r&&r.layout?this.createRelativeTarget(r,this.layout.layoutBox,r.layout.layoutBox):this.removeRelativeTarget()),this.relativeTarget||this.targetDelta){if(this.target||(this.target=M(),this.targetWithTransforms=M()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target){var a,o,l,h;this.forceRelativeParentToResolveTarget(),a=this.target,o=this.relativeTarget,l=this.relativeParent.target,h=this.options.layoutAnchor||void 0,eE(a.x,o.x,l.x,h?.x),eE(a.y,o.y,l.y,h?.y)}else this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):iS(this.target,this.layout.layoutBox),tI(this.target,this.targetDelta)):iS(this.target,this.layout.layoutBox);this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,!1!==this.options.layoutAnchor&&r&&!!r.resumingFrom==!!this.resumingFrom&&!r.options.layoutScroll&&r.target&&1!==this.animationProgress?this.createRelativeTarget(r,this.target,r.target):this.relativeParent=this.relativeTarget=void 0)}}getClosestProjectingParent(){if(!(!this.parent||tD(this.parent.latestValues)||tL(this.parent.latestValues)))if(this.parent.isProjecting())return this.parent;else return this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(t,e,i){this.relativeParent=t,this.linkedParentVersion=t.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=M(),this.relativeTargetOrigin=M(),eC(this.relativeTargetOrigin,e,i,this.options.layoutAnchor||void 0),iS(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let t=this.getLead(),e=!!this.resumingFrom||this!==t,i=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(i=!1),e&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(i=!1),this.resolvedRelativeTargetAt===tn.uv.timestamp&&(i=!1),i)return;let{layout:n,layoutId:s}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(n||s))return;iS(this.layoutCorrected,this.layout.layoutBox);let r=this.treeScale.x,a=this.treeScale.y;!function(t,e,i,n=!1){let s,r,a=i.length;if(a){e.x=e.y=1;for(let o=0;o<a;o++){r=(s=i[o]).projectionDelta;let{visualElement:a}=s.options;(!a||!a.props.style||"contents"!==a.props.style.display)&&(n&&s.options.layoutScroll&&s.scroll&&s!==s.root&&(tO(t.x,-s.scroll.offset.x),tO(t.y,-s.scroll.offset.y)),r&&(e.x*=r.x.scale,e.y*=r.y.scale,tI(t,r)),n&&tj(s.latestValues)&&tz(t,s.latestValues,s.layout?.layoutBox))}e.x<1.0000000000001&&e.x>.999999999999&&(e.x=1),e.y<1.0000000000001&&e.y>.999999999999&&(e.y=1)}}(this.layoutCorrected,this.treeScale,this.path,e),t.layout&&!t.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(t.target=t.layout.layoutBox,t.targetWithTransforms=M());let{target:o}=t;if(!o){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(iP(this.prevProjectionDelta.x,this.projectionDelta.x),iP(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),eP(this.projectionDelta,this.layoutCorrected,o,this.latestValues),this.treeScale.x===r&&this.treeScale.y===a&&iU(this.projectionDelta.x,this.prevProjectionDelta.x)&&iU(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",o))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){if(this.options.visualElement?.scheduleRender(),t){let t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=A(),this.projectionDelta=A(),this.projectionDeltaWithTransform=A()}setAnimationOrigin(t,e=!1,i){let n,s=this.snapshot,r=s?s.latestValues:{},a={...this.latestValues},o=A();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let l=M(),h=(s?s.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),d=!u||u.members.length<=1,c=!!(h&&!d&&!0===this.options.crossfade&&!this.path.some(ne));this.animationProgress=0;let p=i?.interpolateProjection(t);this.mixTargetDelta=e=>{let i=e/1e3,s=p?.(i);if(s?(o.x.translate=s.x,o.x.scale=(0,tb.k)(t.x.scale,1,i),o.x.origin=t.x.origin,o.x.originPoint=t.x.originPoint,o.y.translate=s.y,o.y.scale=(0,tb.k)(t.y.scale,1,i),o.y.origin=t.y.origin,o.y.originPoint=t.y.originPoint):(i7(o.x,t.x,i),i7(o.y,t.y,i)),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,m,f,v,g,x;eC(l,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),f=this.relativeTarget,v=this.relativeTargetOrigin,g=l,x=i,nt(f.x,v.x,g.x,x),nt(f.y,v.y,g.y,x),n&&(u=this.relativeTarget,m=n,iB(u.x,m.x)&&iB(u.y,m.y))&&(this.isProjectionDirty=!1),n||(n=M()),iS(n,this.relativeTarget)}h&&(this.animationValues=a,function(t,e,i,n,s,r){s?(t.opacity=(0,tb.k)(0,i.opacity??1,iA(n)),t.opacityExit=(0,tb.k)(e.opacity??1,0,ib(n))):r&&(t.opacity=(0,tb.k)(e.opacity??1,i.opacity??1,n));for(let s=0;s<ig;s++){let r=tw[s],a=ik(e,r),o=ik(i,r);(void 0!==a||void 0!==o)&&(a||(a=0),o||(o=0),0===a||0===o||iw(a)===iw(o)?(t[r]=Math.max((0,tb.k)(ix(a),ix(o),n),0),(y.KN.test(o)||y.KN.test(a))&&(t[r]+="%")):t[r]=o)}(e.rotate||i.rotate)&&(t.rotate=(0,tb.k)(e.rotate||0,i.rotate||0,n))}(a,r,this.latestValues,i,c,d)),s&&void 0!==s.rotate&&(this.animationValues||(this.animationValues=a),this.animationValues.pathRotation=s.rotate),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=i},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&((0,tn.WG)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=tn.Gt.update(()=>{var e,i,n;let s;ih.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=(0,G.OQ)(0)),this.motionValue.jump(0,!1),this.currentAnimation=(e=this.motionValue,i=[0,1e3],n={...t,velocity:0,isSync:!0,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onComplete:()=>{t.onComplete&&t.onComplete(),this.completeAnimation()}},(s=(0,T.S)(e)?e:(0,G.OQ)(e)).start((0,eD.f)("",s,i,n)),s.animation),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let t=this.getStack();t&&t.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let t=this.getLead(),{targetWithTransforms:e,target:i,layout:n,latestValues:s}=t;if(e&&i&&n){if(this!==t&&this.layout&&n&&na(this.options.animationType,this.layout.layoutBox,n.layoutBox)){i=this.target||M();let e=eT(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+e;let n=eT(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+n}iS(e,i),tz(e,s),eP(this.projectionDeltaWithTransform,this.layoutCorrected,e,s)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new iz),this.sharedNodes.get(t).add(e);let i=e.options.initialPromotionConfig;e.promote({transition:i?i.transition:void 0,preserveFollowOpacity:i&&i.shouldPreserveFollowOpacity?i.shouldPreserveFollowOpacity(e):void 0})}isLead(){let t=this.getStack();return!t||t.lead===this}getLead(){let{layoutId:t}=this.options;return t&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:t}=this.options;return t?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:t}=this.options;if(t)return this.root.sharedNodes.get(t)}promote({needsReset:t,transition:e,preserveFollowOpacity:i}={}){let n=this.getStack();n&&n.promote(this,i),t&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){let t=this.getStack();return!!t&&t.relegate(this)}resetSkewAndRotation(){let{visualElement:t}=this.options;if(!t)return;let e=!1,{latestValues:i}=t;if((i.z||i.rotate||i.rotateX||i.rotateY||i.rotateZ||i.skewX||i.skewY)&&(e=!0),!e)return;let n={};i.z&&iX("z",t,n,this.animationValues);for(let e=0;e<iq.length;e++)iX(`rotate${iq[e]}`,t,n,this.animationValues),iX(`skew${iq[e]}`,t,n,this.animationValues);for(let e in t.render(),n)t.setStaticValue(e,n[e]),this.animationValues&&(this.animationValues[e]=n[e]);t.scheduleRender()}applyProjectionStyles(t,e){if(!this.instance||this.isSVG)return;if(!this.isVisible){t.visibility="hidden";return}let i=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,t.visibility="",t.opacity="",t.pointerEvents=t5(e?.pointerEvents)||"",t.transform=i?i(this.latestValues,""):"none";return}let n=this.getLead();if(!this.projectionDelta||!this.layout||!n.target){this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=t5(e?.pointerEvents)||""),this.hasProjected&&!tj(this.latestValues)&&(t.transform=i?i({},""):"none",this.hasProjected=!1);return}t.visibility="";let s=n.animationValues||n.latestValues;this.applyTransformsToTarget();let r=function(t,e,i){let n="",s=t.x.translate/e.x,r=t.y.translate/e.y,a=i?.z||0;if((s||r||a)&&(n=`translate3d(${s}px, ${r}px, ${a}px) `),(1!==e.x||1!==e.y)&&(n+=`scale(${1/e.x}, ${1/e.y}) `),i){let{transformPerspective:t,rotate:e,pathRotation:s,rotateX:r,rotateY:a,skewX:o,skewY:l}=i;t&&(n=`perspective(${t}px) ${n}`),e&&(n+=`rotate(${e}deg) `),s&&(n+=`rotate(${s}deg) `),r&&(n+=`rotateX(${r}deg) `),a&&(n+=`rotateY(${a}deg) `),o&&(n+=`skewX(${o}deg) `),l&&(n+=`skewY(${l}deg) `)}let o=t.x.scale*e.x,l=t.y.scale*e.y;return(1!==o||1!==l)&&(n+=`scale(${o}, ${l})`),n||"none"}(this.projectionDeltaWithTransform,this.treeScale,s);i&&(r=i(s,r)),t.transform=r;let{x:a,y:o}=this.projectionDelta;for(let e in t.transformOrigin=`${100*a.origin}% ${100*o.origin}% 0`,n.animationValues?t.opacity=n===this?s.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:s.opacityExit:t.opacity=n===this?void 0!==s.opacity?s.opacity:"":void 0!==s.opacityExit?s.opacityExit:0,tM){if(void 0===s[e])continue;let{correct:i,applyTo:a,isCSSVariable:o}=tM[e],l="none"===r?s[e]:i(s[e],n);if(a){let e=a.length;for(let i=0;i<e;i++)t[a[i]]=l}else o?this.options.visualElement.renderState.vars[e]=l:t[e]=l}this.options.layoutId&&(t.pointerEvents=n===this?t5(e?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>t.currentAnimation?.stop()),this.root.nodes.forEach(iJ),this.root.sharedNodes.clear()}}}function iK(t){t.updateLayout()}function iY(t){let e=t.resumeFrom?.snapshot||t.snapshot;if(t.isLead()&&t.layout&&e&&t.hasListeners("didUpdate")){let{layoutBox:i,measuredBox:n}=t.layout,{animationType:s}=t.options,r=e.source!==t.layout.source;if("size"===s)eM(t=>{let n=r?e.measuredBox[t]:e.layoutBox[t],s=eT(n);n.min=i[t].min,n.max=n.min+s});else if("x"===s||"y"===s){let t="x"===s?"y":"x";iT(r?e.measuredBox[t]:e.layoutBox[t],i[t])}else na(s,e.layoutBox,i)&&eM(n=>{let s=r?e.measuredBox[n]:e.layoutBox[n],a=eT(i[n]);s.max=s.min+a,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[n].max=t.relativeTarget[n].min+a)});let a=A();eP(a,i,e.layoutBox);let o=A();r?eP(o,t.applyTransform(n,!0),e.measuredBox):eP(o,i,e.layoutBox);let l=!iL(a),h=!1;if(!t.resumeFrom){let n=t.getClosestProjectingParent();if(n&&!n.resumeFrom){let{snapshot:s,layout:r}=n;if(s&&r){let a=t.options.layoutAnchor||void 0,o=M();eC(o,e.layoutBox,s.layoutBox,a);let l=M();eC(l,i,r.layoutBox,a),iI(o,l)||(h=!0),n.options.layoutRoot&&(t.relativeTarget=l,t.relativeTargetOrigin=o,t.relativeParent=n)}}}t.notifyListeners("didUpdate",{layout:i,snapshot:e,delta:o,layoutDelta:a,hasLayoutChanged:l,hasRelativeLayoutChanged:h})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function i_(t){t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function iZ(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function iQ(t){t.clearSnapshot()}function iJ(t){t.clearMeasurements()}function i0(t){t.isLayoutDirty=!0,t.updateLayout()}function i1(t){t.isLayoutDirty=!1}function i2(t){t.isAnimationBlocked&&t.layout&&!t.isLayoutDirty&&(t.snapshot=t.layout,t.isLayoutDirty=!0)}function i5(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function i3(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function i9(t){t.resolveTargetDelta()}function i8(t){t.calcProjection()}function i4(t){t.resetSkewAndRotation()}function i6(t){t.removeLeadSnapshot()}function i7(t,e,i){t.translate=(0,tb.k)(e.translate,0,i),t.scale=(0,tb.k)(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function nt(t,e,i,n){t.min=(0,tb.k)(e.min,i.min,n),t.max=(0,tb.k)(e.max,i.max,n)}function ne(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let ni={duration:.45,ease:[.4,0,.1,1]},nn=t=>"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),ns=nn("applewebkit/")&&!nn("chrome/")?Math.round:eA.l;function nr(t){t.min=ns(t.min),t.max=ns(t.max)}function na(t,e,i){return"position"===t||"preserve-aspect"===t&&!(.2>=Math.abs(iO(e)-iO(i)))}function no(t){return t!==t.root&&t.scroll?.wasRoot}let nl=iH({attachResizeListener:(t,e)=>eB(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),nh={current:void 0},nu=iH({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!nh.current){let t=new nl({});t.mount(window),t.setOptions({layoutScroll:!0}),nh.current=t}return nh.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position});function nd(t,e){let i=eO(t),n=new AbortController;return[i,{passive:!0,...e,signal:n.signal},()=>n.abort()]}function nc(t,e,i){let{props:n}=t;t.animationState&&n.whileHover&&t.animationState.setActive("whileHover","Start"===i);let s=n["onHover"+i];s&&tn.Gt.postRender(()=>s(e,eK(e)))}class np extends el{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,i={}){let[n,s,r]=nd(t,i);return n.forEach(t=>{let i,n=!1,r=!1,a=e=>{i&&(i(e),i=void 0),t.removeEventListener("pointerleave",l)},o=t=>{n=!1,window.removeEventListener("pointerup",o),window.removeEventListener("pointercancel",o),r&&(r=!1,a(t))},l=t=>{if("touch"!==t.pointerType){if(n){r=!0;return}a(t)}};t.addEventListener("pointerenter",n=>{if("touch"===n.pointerType||eb.x||eb.y)return;r=!1;let a=e(t,n);"function"==typeof a&&(i=a,t.addEventListener("pointerleave",l,s))},s),t.addEventListener("pointerdown",()=>{n=!0,window.addEventListener("pointerup",o,s),window.addEventListener("pointercancel",o,s)},s)}),r}(t,(t,e)=>(nc(this.node,e,"Start"),t=>nc(this.node,t,"End"))))}unmount(){}}class nm extends el{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch(e){t=!0}t&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=(0,eZ.F)(eB(this.node.current,"focus",()=>this.onFocus()),eB(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}var nf=i(29884);let ny=(t,e)=>!!e&&(t===e||ny(t,e.parentElement)),nv=new WeakSet;function ng(t){return e=>{"Enter"===e.key&&t(e)}}function nx(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}function nw(t){return eH(t)&&!(eb.x||eb.y)}let nk=new WeakSet;function nA(t,e,i){let{props:n}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&n.whileTap&&t.animationState.setActive("whileTap","Start"===i);let s=n["onTap"+("End"===i?"":i)];s&&tn.Gt.postRender(()=>s(e,eK(e)))}class nb extends el{mount(){let{current:t}=this.node;if(!t)return;let{globalTapTarget:e,propagate:i}=this.node.props;this.unmount=function(t,e,i={}){let[n,s,r]=nd(t,i),a=t=>{let n=t.currentTarget;if(!nw(t)||nk.has(t))return;nv.add(n),i.stopPropagation&&nk.add(t);let r=e(n,t),a={...s,capture:!0},o=(t,e)=>{window.removeEventListener("pointerup",l,a),window.removeEventListener("pointercancel",h,a),nv.has(n)&&nv.delete(n),nw(t)&&"function"==typeof r&&r(t,{success:e})},l=t=>{o(t,n===window||n===document||i.useGlobalTarget||ny(n,t.target))},h=t=>{o(t,!1)};window.addEventListener("pointerup",l,a),window.addEventListener("pointercancel",h,a)};return n.forEach(t=>{((i.useGlobalTarget?window:t).addEventListener("pointerdown",a,s),(0,nf.s)(t))&&(t.addEventListener("focus",t=>((t,e)=>{let i=t.currentTarget;if(!i)return;let n=ng(()=>{if(nv.has(i))return;nx(i,"down");let t=ng(()=>{nx(i,"up")});i.addEventListener("keyup",t,e),i.addEventListener("blur",()=>nx(i,"cancel"),e)});i.addEventListener("keydown",n,e),i.addEventListener("blur",()=>i.removeEventListener("keydown",n),e)})(t,s)),ej.has(t.tagName)||!0===t.isContentEditable||t.hasAttribute("tabindex")||(t.tabIndex=0))}),r}(t,(t,e)=>(nA(this.node,e,"Start"),(t,{success:e})=>nA(this.node,t,e?"End":"Cancel")),{useGlobalTarget:e,stopPropagation:i?.tap===!1})}unmount(){}}let nM=new WeakMap,nT=new WeakMap,nS=t=>{let e=nM.get(t.target);e&&e(t)},nP=t=>{t.forEach(nS)},nE={some:0,all:1};class nV extends el{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var t;let e;this.stopObserver?.();let{viewport:i={}}=this.node.getProps(),{root:n,margin:s,amount:r="some",once:a}=i,o={root:n?n.current:void 0,rootMargin:s,threshold:"number"==typeof r?r:nE[r]},l=t=>{let{isIntersecting:e}=t;if(this.isInView===e||(this.isInView=e,a&&!e&&this.hasEnteredView))return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);let{onViewportEnter:i,onViewportLeave:n}=this.node.getProps(),s=e?i:n;s&&s(t)};this.stopObserver=(t=this.node.current,e=function({root:t,...e}){let i=t||document;nT.has(i)||nT.set(i,{});let n=nT.get(i),s=JSON.stringify(e);return n[s]||(n[s]=new IntersectionObserver(nP,{root:t,...e})),n[s]}(o),nM.set(t,l),e.observe(t),()=>{nM.delete(t),e.unobserve(t)})}mount(){this.startObserver()}update(){if("u"<typeof IntersectionObserver)return;let{props:t,prevProps:e}=this.node;["amount","margin","root"].some(function({viewport:t={}},{viewport:e={}}={}){return i=>t[i]!==e[i]}(t,e))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}}let nC=function(t,e){if("u"<typeof Proxy)return eo;let i=new Map,n=(i,n)=>eo(i,n,t,e);return new Proxy((t,e)=>n(t,e),{get:(s,r)=>"create"===r?n:(i.has(r)||i.set(r,eo(r,void 0,t,e)),i.get(r))})}({animation:{Feature:ex},exit:{Feature:ek},inView:{Feature:nV},tap:{Feature:nb},focus:{Feature:nm},hover:{Feature:np},pan:{Feature:il},drag:{Feature:ia,ProjectionNode:nu,MeasureLayout:ip},layout:{ProjectionNode:nu,MeasureLayout:ip}},(t,e)=>e.isSVG??tX(t)?new tE(e):new tN(e,{allowProjection:t!==tq.Fragment}))},5733:(t,e,i)=>{i.d(e,{q:()=>n});class n{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,e){return this.finished.then(t,e)}}},6510:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("folder-open",[["path",{d:"m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2",key:"usdka0"}]])},6684:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("panel-left-close",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"m16 15-3-3 3-3",key:"14y99z"}]])},7640:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("bot",[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]])},7689:(t,e,i)=>{i.d(e,{q:()=>n});let n=(t,e,i)=>i>e?e:i<t?t:i},9036:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("undo-2",[["path",{d:"M9 14 4 9l5-5",key:"102s5s"}],["path",{d:"M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11",key:"f3b9sd"}]])},9523:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]])},10934:(t,e,i)=>{i.d(e,{V:()=>n});let n=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2},13725:(t,e,i)=>{i.d(e,{G:()=>n});let n=t=>e=>1-t(1-e)},14548:(t,e,i)=>{i.d(e,{X:()=>s,f:()=>n});let n=t=>1e3*t,s=t=>t/1e3},14940:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("hand",[["path",{d:"M18 11V6a2 2 0 0 0-2-2a2 2 0 0 0-2 2",key:"1fvzgz"}],["path",{d:"M14 10V4a2 2 0 0 0-2-2a2 2 0 0 0-2 2v2",key:"1kc0my"}],["path",{d:"M10 10.5V6a2 2 0 0 0-2-2a2 2 0 0 0-2 2v8",key:"10h0bg"}],["path",{d:"M18 8a2 2 0 1 1 4 0v6a8 8 0 0 1-8 8h-2c-2.8 0-4.5-.86-5.99-2.34l-3.6-3.6a2 2 0 0 1 2.83-2.82L7 15",key:"1s1gnw"}]])},15099:(t,e,i)=>{i.d(e,{v:()=>s});var n=i(52867);class s{constructor(){this.subscriptions=[]}add(t){return(0,n.Kq)(this.subscriptions,t),()=>(0,n.Ai)(this.subscriptions,t)}notify(t,e,i){let n=this.subscriptions.length;if(n)if(1===n)this.subscriptions[0](t,e,i);else for(let s=0;s<n;s++){let n=this.subscriptions[s];n&&n(t,e,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}},15344:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("maximize-2",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"m21 3-7 7",key:"1l2asr"}],["path",{d:"m3 21 7-7",key:"tjx5ai"}],["path",{d:"M9 21H3v-6",key:"wtvkvv"}]])},17329:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("circle-check-big",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]])},18319:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("terminal",[["path",{d:"M12 19h8",key:"baeox8"}],["path",{d:"m4 17 6-6-6-6",key:"1yngyt"}]])},18690:(t,e,i)=>{i.d(e,{N:()=>x});var n=i(26514),s=i(75834),r=i(75978),a=i(53214),o=i(51382),l=i(29944),h=i(29884),u=i(73533);function d(t,e){if("function"==typeof t)return t(e);null!=t&&(t.current=e)}class c extends s.Component{getSnapshotBeforeUpdate(t){let e=this.props.childRef.current;if((0,h.s)(e)&&t.isPresent&&!this.props.isPresent&&!1!==this.props.pop){let t=e.offsetParent,i=(0,h.s)(t)&&t.offsetWidth||0,n=(0,h.s)(t)&&t.offsetHeight||0,s=getComputedStyle(e),r=this.props.sizeRef.current;r.height=parseFloat(s.height),r.width=parseFloat(s.width),r.top=e.offsetTop,r.left=e.offsetLeft,r.right=i-r.width-r.left,r.bottom=n-r.height-r.top,r.direction=s.direction}return null}componentDidUpdate(){}render(){return this.props.children}}function p({children:t,isPresent:e,anchorX:i,anchorY:r,root:a,pop:o}){let l=(0,s.useId)(),h=(0,s.useRef)(null),m=(0,s.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0,direction:"ltr"}),{nonce:f}=(0,s.useContext)(u.Q),y=function(...t){return s.useCallback(function(...t){return e=>{let i=!1,n=t.map(t=>{let n=d(t,e);return i||"function"!=typeof n||(i=!0),n});if(i)return()=>{for(let e=0;e<n.length;e++){let i=n[e];"function"==typeof i?i():d(t[e],null)}}}}(...t),t)}(h,t.props?.ref??t?.ref);return(0,s.useInsertionEffect)(()=>{let{width:t,height:n,top:s,left:u,right:d,bottom:c,direction:p}=m.current;if(e||!1===o||!h.current||!t||!n)return;let y="rtl"===p,v="left"===i?y?`right: ${d}`:`left: ${u}`:y?`left: ${u}`:`right: ${d}`,g="bottom"===r?`bottom: ${c}`:`top: ${s}`;h.current.dataset.motionPopId=l;let x=document.createElement("style");f&&(x.nonce=f);let w=a??document.head;return w.appendChild(x),x.sheet&&x.sheet.insertRule(`
2
+ [data-motion-pop-id="${l}"] {
3
+ position: absolute !important;
4
+ width: ${t}px !important;
5
+ height: ${n}px !important;
6
+ ${v}px !important;
7
+ ${g}px !important;
8
+ }
9
+ `),()=>{h.current?.removeAttribute("data-motion-pop-id"),w.contains(x)&&w.removeChild(x)}},[e]),(0,n.jsx)(c,{isPresent:e,childRef:h,sizeRef:m,pop:o,children:!1===o?t:s.cloneElement(t,{ref:y})})}let m=({children:t,initial:e,isPresent:i,onExitComplete:r,custom:h,presenceAffectsLayout:u,mode:d,anchorX:c,anchorY:m,root:y})=>{let v=(0,a.M)(f),g=(0,s.useId)(),x=(0,s.useRef)(i),w=(0,s.useRef)(r);(0,o.E)(()=>{x.current=i,w.current=r});let k=!0,A=(0,s.useMemo)(()=>(k=!1,{id:g,initial:e,isPresent:i,custom:h,onExitComplete:t=>{for(let e of(v.set(t,!0),v.values()))if(!e)return;r&&r()},register:t=>(v.set(t,!1),()=>{v.delete(t),x.current||v.size||w.current?.()})}),[i,v,r]);return u&&k&&(A={...A}),(0,s.useMemo)(()=>{v.forEach((t,e)=>v.set(e,!1))},[i]),s.useEffect(()=>{i||v.size||!r||r()},[i]),t=(0,n.jsx)(p,{pop:"popLayout"===d,isPresent:i,anchorX:c,anchorY:m,root:y,children:t}),(0,n.jsx)(l.t.Provider,{value:A,children:t})};function f(){return new Map}var y=i(41487);let v=t=>t.key||"";function g(t){let e=[];return s.Children.forEach(t,t=>{(0,s.isValidElement)(t)&&e.push(t)}),e}let x=({children:t,custom:e,initial:i=!0,onExitComplete:l,presenceAffectsLayout:h=!0,mode:u="sync",propagate:d=!1,anchorX:c="left",anchorY:p="top",root:f})=>{let[x,w]=(0,y.xQ)(d),k=(0,s.useMemo)(()=>g(t),[t]),A=d&&!x?[]:k.map(v),b=(0,s.useRef)(!0),M=(0,s.useRef)(k),T=(0,a.M)(()=>new Map),S=(0,s.useRef)(new Set),[P,E]=(0,s.useState)(k),[V,C]=(0,s.useState)(k);(0,o.E)(()=>{b.current=!1,M.current=k;for(let t=0;t<V.length;t++){let e=v(V[t]);A.includes(e)?(T.delete(e),S.current.delete(e)):!0!==T.get(e)&&T.set(e,!1)}},[V,A.length,A.join("-")]);let R=[];if(k!==P){let t=[...k];for(let e=0;e<V.length;e++){let i=V[e],n=v(i);A.includes(n)||(t.splice(e,0,i),R.push(i))}return"wait"===u&&R.length&&(t=R),C(g(t)),E(k),null}let{forceRender:D}=(0,s.useContext)(r.L);return(0,n.jsx)(n.Fragment,{children:V.map(t=>{let s=v(t),r=(!d||!!x)&&(k===V||A.includes(s));return(0,n.jsx)(m,{isPresent:r,initial:(!b.current||!!i)&&void 0,custom:e,presenceAffectsLayout:h,mode:u,root:f,onExitComplete:r?void 0:()=>{if(S.current.has(s)||!T.has(s))return;S.current.add(s),T.set(s,!0);let t=!0;T.forEach(e=>{e||(t=!1)}),t&&(D?.(),C(M.current),d&&w?.(),l&&l())},anchorX:c,anchorY:p,children:t},s)})})}},18921:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("zoom-out",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]])},19700:(t,e,i)=>{i.d(e,{W:()=>n});let n={}},19897:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("external-link",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]])},21684:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("wrench",[["path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z",key:"1ngwbx"}]])},22947:(t,e,i)=>{i.d(e,{M:()=>n});let n=new Set(["opacity","clipPath","filter","transform"])},23441:(t,e,i)=>{i.d(e,{h:()=>c,q:()=>d});var n=i(35075),s=i(83252);let r=new Set,a=!1,o=!1,l=!1;function h(){if(o){let t=Array.from(r).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),i=new Map;e.forEach(t=>{let e=(0,n.W9)(t);e.length&&(i.set(t,e),t.render())}),t.forEach(t=>t.measureInitialState()),e.forEach(t=>{t.render();let e=i.get(t);e&&e.forEach(([e,i])=>{t.getValue(e)?.set(i)})}),t.forEach(t=>t.measureEndState()),t.forEach(t=>{void 0!==t.suspendedScrollY&&window.scrollTo(0,t.suspendedScrollY)})}o=!1,a=!1,r.forEach(t=>t.complete(l)),r.clear()}function u(){r.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(o=!0)})}function d(){l=!0,u(),h(),l=!1}class c{constructor(t,e,i,n,s,r=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=i,this.motionValue=n,this.element=s,this.isAsync=r}scheduleResolve(){this.state="scheduled",this.isAsync?(r.add(this),a||(a=!0,s.Gt.read(u),s.Gt.resolveKeyframes(h))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:e,element:i,motionValue:n}=this;if(null===t[0]){let s=n?.get(),r=t[t.length-1];if(void 0!==s)t[0]=s;else if(i&&e){let n=i.readValue(e,r);null!=n&&(t[0]=n)}void 0===t[0]&&(t[0]=r),n&&void 0===s&&n.set(t[0])}for(let e=1;e<t.length;e++)t[e]??(t[e]=t[e-1])}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),r.delete(this)}cancel(){"scheduled"===this.state&&(r.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}},24197:(t,e,i)=>{i.d(e,{KN:()=>r,gQ:()=>h,px:()=>a,uj:()=>s,vh:()=>o,vw:()=>l});let n=t=>({test:e=>"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),s=n("deg"),r=n("%"),a=n("px"),o=n("vh"),l=n("vw"),h={...r,parse:t=>r.parse(t)/100,transform:t=>r.transform(100*t)}},24779:(t,e,i)=>{i.d(e,{F:()=>a});var n=i(73367);let s=t=>"boolean"==typeof t?`${t}`:0===t?"0":t,r=n.$,a=(t,e)=>i=>{var n;if((null==e?void 0:e.variants)==null)return r(t,null==i?void 0:i.class,null==i?void 0:i.className);let{variants:a,defaultVariants:o}=e,l=Object.keys(a).map(t=>{let e=null==i?void 0:i[t],n=null==o?void 0:o[t];if(null===e)return null;let r=s(e)||s(n);return a[t][r]}),h=i&&Object.entries(i).reduce((t,e)=>{let[i,n]=e;return void 0===n||(t[i]=n),t},{});return r(t,l,null==e||null==(n=e.compoundVariants)?void 0:n.reduce((t,e)=>{let{class:i,className:n,...s}=e;return Object.entries(s).every(t=>{let[e,i]=t;return Array.isArray(i)?i.includes({...o,...h}[e]):({...o,...h})[e]===i})?[...t,i,n]:t},[]),null==i?void 0:i.class,null==i?void 0:i.className)}},26392:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("circle-check",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]])},26471:(t,e,i)=>{i.d(e,{k:()=>n});let n=(t,e,i)=>t+(e-t)*i},26814:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("panel-left-open",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"m14 9 3 3-3 3",key:"8010ee"}]])},27955:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]])},28333:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("corner-down-left",[["path",{d:"M20 4v7a4 4 0 0 1-4 4H4",key:"6o5b7l"}],["path",{d:"m9 10-5 5 5 5",key:"1kshq7"}]])},28875:(t,e,i)=>{i.d(e,{I:()=>r});var n=i(19700);let s=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function r(t,e){let i=!1,r=!0,a={delta:0,timestamp:0,isProcessing:!1},o=()=>i=!0,l=s.reduce((t,e)=>(t[e]=function(t){let e=new Set,i=new Set,n=!1,s=!1,r=new WeakSet,a={delta:0,timestamp:0,isProcessing:!1};function o(e){r.has(e)&&(l.schedule(e),t()),e(a)}let l={schedule:(t,s=!1,a=!1)=>{let o=a&&n?e:i;return s&&r.add(t),o.add(t),t},cancel:t=>{i.delete(t),r.delete(t)},process:t=>{if(a=t,n){s=!0;return}n=!0;let r=e;e=i,i=r,e.forEach(o),e.clear(),n=!1,s&&(s=!1,l.process(t))}};return l}(o),t),{}),{setup:h,read:u,resolveKeyframes:d,preUpdate:c,update:p,preRender:m,render:f,postRender:y}=l,v=()=>{let s=n.W.useManualTiming,o=s?a.timestamp:performance.now();i=!1,s||(a.delta=r?1e3/60:Math.max(Math.min(o-a.timestamp,40),1)),a.timestamp=o,a.isProcessing=!0,h.process(a),u.process(a),d.process(a),c.process(a),p.process(a),m.process(a),f.process(a),y.process(a),a.isProcessing=!1,i&&e&&(r=!1,t(v))};return{schedule:s.reduce((e,n)=>{let s=l[n];return e[n]=(e,n=!1,o=!1)=>(!i&&(i=!0,r=!0,a.isProcessing||t(v)),s.schedule(e,n,o)),e},{}),cancel:t=>{for(let e=0;e<s.length;e++)l[s[e]].cancel(t)},state:a,steps:l}}},29334:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("triangle-alert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]])},29538:(t,e,i)=>{i.d(e,{n:()=>n});let n="data-"+(0,i(87688).I)("framerAppearId")},29884:(t,e,i)=>{i.d(e,{s:()=>s});var n=i(48764);function s(t){return(0,n.G)(t)&&"offsetHeight"in t&&!("ownerSVGElement"in t)}},29944:(t,e,i)=>{i.d(e,{t:()=>n});let n=(0,i(75834).createContext)(null)},31985:(t,e,i)=>{i.d(e,{S:()=>n});let n=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu},33206:(t,e,i)=>{let n;i.d(e,{k:()=>o});var s=i(19700),r=i(83252);function a(){n=void 0}let o={now:()=>(void 0===n&&o.set(r.uv.isProcessing||s.W.useManualTiming?r.uv.timestamp:performance.now()),n),set:t=>{n=t,queueMicrotask(a)}}},35075:(t,e,i)=>{i.d(e,{E4:()=>o,Hr:()=>d,W9:()=>u});var n=i(66477),s=i(2157),r=i(91176),a=i(24197);let o=t=>t===r.ai||t===a.px,l=new Set(["x","y","z"]),h=s.U.filter(t=>!l.has(t));function u(t){let e=[];return h.forEach(i=>{let n=t.getValue(i);void 0!==n&&(e.push([i,n.get()]),n.set(+!!i.startsWith("scale")))}),e}let d={width:({x:t},{paddingLeft:e="0",paddingRight:i="0",boxSizing:n})=>{let s=t.max-t.min;return"border-box"===n?s:s-parseFloat(e)-parseFloat(i)},height:({y:t},{paddingTop:e="0",paddingBottom:i="0",boxSizing:n})=>{let s=t.max-t.min;return"border-box"===n?s:s-parseFloat(e)-parseFloat(i)},top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:(t,{transform:e})=>(0,n.ry)(e,"x"),y:(t,{transform:e})=>(0,n.ry)(e,"y")};d.translateX=d.x,d.translateY=d.y},37013:(t,e,i)=>{i.d(e,{K:()=>s});var n=i(47401);function s(t,e,i){let s=t.getProps();return(0,n.a)(s,e,void 0!==i?i:s.custom,t)}},37055:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]])},37156:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("folder-input",[["path",{d:"M2 9V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-1",key:"fm4g5t"}],["path",{d:"M2 13h10",key:"pgb2dq"}],["path",{d:"m9 16 3-3-3-3",key:"6m91ic"}]])},37614:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]])},37763:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("refresh-cw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]])},38031:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]])},39245:(t,e,i)=>{i.d(e,{B:()=>l});var n=i(7689),s=i(91176),r=i(3600),a=i(98681);let o={...s.ai,transform:t=>Math.round((0,n.q)(0,255,t))},l={test:(0,a.$)("rgb","red"),parse:(0,a.q)("red","green","blue"),transform:({red:t,green:e,blue:i,alpha:n=1})=>"rgba("+o.transform(t)+", "+o.transform(e)+", "+o.transform(i)+", "+(0,r.a)(s.X4.transform(n))+")"}},39675:(t,e,i)=>{i.d(e,{$:()=>n,V:()=>s}),i(42922);let n=()=>{},s=()=>{}},39950:(t,e,i)=>{i.d(e,{p:()=>n});let n=t=>Array.isArray(t)},40692:(t,e,i)=>{i.d(e,{u:()=>s});var n=i(39245);let s={test:(0,i(98681).$)("#"),parse:function(t){let e="",i="",n="",s="";return t.length>5?(e=t.substring(1,3),i=t.substring(3,5),n=t.substring(5,7),s=t.substring(7,9)):(e=t.substring(1,2),i=t.substring(2,3),n=t.substring(3,4),s=t.substring(4,5),e+=e,i+=i,n+=n,s+=s),{red:parseInt(e,16),green:parseInt(i,16),blue:parseInt(n,16),alpha:s?parseInt(s,16)/255:1}},transform:n.B.transform}},41336:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("image",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]])},41487:(t,e,i)=>{i.d(e,{tF:()=>a,xQ:()=>r});var n=i(75834),s=i(29944);function r(t=!0){let e=(0,n.useContext)(s.t);if(null===e)return[!0,null];let{isPresent:i,onExitComplete:a,register:o}=e,l=(0,n.useId)();(0,n.useEffect)(()=>{if(t)return o(l)},[t]);let h=(0,n.useCallback)(()=>t&&a&&a(l),[l,a,t]);return!i&&a?[!1,h]:[!0]}function a(){var t;return null===(t=(0,n.useContext)(s.t))||t.isPresent}},42260:(t,e,i)=>{i.d(e,{r:()=>s});var n=i(29912);function s(t,e){let i=t?.[e]??t?.default??t;return i!==t?(0,n.K)(i,t):i}},43812:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("rotate-ccw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]])},44204:(t,e,i)=>{i.d(e,{f:()=>n});let n=(t,e)=>e?1e3/e*t:0},44416:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("trash-2",[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]])},44714:(t,e,i)=>{i.d(e,{_:()=>f});var n=i(37013),s=i(42260),r=i(29912),a=i(80712),o=i(81120),l=i(78140),h=i(66208),u=i(70962),d=i(83252);function c(t,e,{delay:i=0,transitionOverride:n,type:p}={}){let{transition:m,transitionEnd:f,...y}=e,v=t.getDefaultTransition();m=m?(0,r.K)(m,v):v;let g=m?.reduceMotion,x=m?.skipAnimations;n&&(m=n);let w=[],k=p&&t.animationState&&t.animationState.getState()[p],A=m?.path;for(let e in A&&A.animateVisualElement(t,y,m,i,w),y){let n=t.getValue(e,t.latestValues[e]??null),r=y[e];if(void 0===r||k&&function({protectedKeys:t,needsAnimating:e},i){let n=t.hasOwnProperty(i)&&!0!==e[i];return e[i]=!1,n}(k,e))continue;let o={delay:i,...(0,s.r)(m||{},e)};x&&(o.skipAnimations=!0);let c=n.get();if(void 0!==c&&!n.isAnimating()&&!Array.isArray(r)&&r===c&&!o.velocity){d.Gt.update(()=>n.set(r));continue}let p=!1;if(window.MotionHandoffAnimation){let i=(0,h.P)(t);if(i){let t=window.MotionHandoffAnimation(i,e,d.Gt);null!==t&&(o.startTime=t,p=!0)}}(0,l.g)(t,e);let f=g??t.shouldReduceMotion;n.start((0,u.f)(e,n,r,f&&a.$.has(e)?{type:!1}:o,t,p));let v=n.animation;v&&w.push(v)}if(f){let e=()=>d.Gt.update(()=>{f&&(0,o.U)(t,f)});w.length?Promise.all(w).then(e):e()}return w}var p=i(67868);function m(t,e,i={}){let s=(0,n.K)(t,e,"exit"===i.type?t.presenceContext?.custom:void 0),{transition:r=t.getDefaultTransition()||{}}=s||{};i.transitionOverride&&(r=i.transitionOverride);let a=s?()=>Promise.all(c(t,s,i)):()=>Promise.resolve(),o=t.variantChildren&&t.variantChildren.size?(n=0)=>{let{delayChildren:s=0,staggerChildren:a,staggerDirection:o}=r;return function(t,e,i=0,n=0,s=0,r=1,a){let o=[];for(let l of t.variantChildren)l.notify("AnimationStart",e),o.push(m(l,e,{...a,delay:i+("function"==typeof n?0:n)+(0,p.L)(t.variantChildren,l,n,s,r)}).then(()=>l.notify("AnimationComplete",e)));return Promise.all(o)}(t,e,n,s,a,o,i)}:()=>Promise.resolve(),{when:l}=r;if(!l)return Promise.all([a(),o(i.delay)]);{let[t,e]="beforeChildren"===l?[a,o]:[o,a];return t().then(()=>e())}}function f(t,e,i={}){let s;if(t.notify("AnimationStart",e),Array.isArray(e))s=Promise.all(e.map(e=>m(t,e,i)));else if("string"==typeof e)s=m(t,e,i);else{let r="function"==typeof e?(0,n.K)(t,e,i.custom):e;s=Promise.all(c(t,r,i))}return s.then(()=>{t.notify("AnimationComplete",e)})}},45400:(t,e,i)=>{i.d(e,{K:()=>n});let n=(t,e,i=10)=>{let n="",s=Math.max(Math.round(e/i),2);for(let e=0;e<s;e++)n+=Math.round(1e4*t(e/(s-1)))/1e4+", ";return`linear(${n.substring(0,n.length-2)})`}},47401:(t,e,i)=>{function n(t){let e=[{},{}];return t?.values.forEach((t,i)=>{e[0][i]=t.get(),e[1][i]=t.getVelocity()}),e}function s(t,e,i,s){if("function"==typeof e){let[r,a]=n(s);e=e(void 0!==i?i:t.custom,r,a)}if("string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e){let[r,a]=n(s);e=e(void 0!==i?i:t.custom,r,a)}return e}i.d(e,{a:()=>s})},47849:(t,e,i)=>{i.d(e,{V:()=>o});var n=i(91176),s=i(24197),r=i(3600),a=i(98681);let o={test:(0,a.$)("hsl","hue"),parse:(0,a.q)("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:i,alpha:a=1})=>"hsla("+Math.round(t)+", "+s.KN.transform((0,r.a)(e))+", "+s.KN.transform((0,r.a)(i))+", "+(0,r.a)(n.X4.transform(a))+")"}},48764:(t,e,i)=>{i.d(e,{G:()=>n});let n=t=>"object"==typeof t&&null!==t},50405:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("play",[["path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",key:"10ikf1"}]])},51256:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("settings",[["path",{d:"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",key:"1i5ecw"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]])},51382:(t,e,i)=>{i.d(e,{E:()=>s});var n=i(75834);let s="u">typeof window?n.useLayoutEffect:n.useEffect},51921:(t,e,i)=>{i.d(e,{j4:()=>s,pG:()=>a,rm:()=>l});let n=t=>e=>"string"==typeof e&&e.startsWith(t),s=n("--"),r=n("var(--"),a=t=>!!r(t)&&o.test(t.split("/*")[0].trim()),o=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function l(t){return"string"==typeof t&&t.split("/*")[0].includes("var(--")}},52867:(t,e,i)=>{function n(t,e){-1===t.indexOf(e)&&t.push(e)}function s(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}i.d(e,{Ai:()=>s,Kq:()=>n})},53081:(t,e,i)=>{i.d(e,{V:()=>u,f:()=>c});var n=i(80911);let s=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;var r=i(31985),a=i(3600);let o="number",l="color",h=/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 u(t){let e=t.toString(),i=[],s={color:[],number:[],var:[]},r=[],a=0,u=e.replace(h,t=>(n.y.test(t)?(s.color.push(a),r.push(l),i.push(n.y.parse(t))):t.startsWith("var(")?(s.var.push(a),r.push("var"),i.push(t)):(s.number.push(a),r.push(o),i.push(parseFloat(t))),++a,"${}")).split("${}");return{values:i,split:u,indexes:s,types:r}}function d({split:t,types:e}){let i=t.length;return s=>{let r="";for(let h=0;h<i;h++)if(r+=t[h],void 0!==s[h]){let t=e[h];t===o?r+=(0,a.a)(s[h]):t===l?r+=n.y.transform(s[h]):r+=s[h]}return r}}let c={test:function(t){return isNaN(t)&&"string"==typeof t&&(t.match(r.S)?.length||0)+(t.match(s)?.length||0)>0},parse:function(t){return u(t).values},createTransformer:function(t){return d(u(t))},getAnimatableNone:function(t){let e=u(t);return d(e)(e.values.map((t,i)=>((t,e)=>"number"==typeof t?e?.trim().endsWith("/")?t:0:"number"==typeof t?0:n.y.test(t)?n.y.getAnimatableNone(t):t)(t,e.split[i])))}}},54035:(t,e,i)=>{i.d(e,{W:()=>n});function n(t){return"function"==typeof t&&"applyToOptions"in t}},54903:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("git-pull-request",[["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}],["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M13 6h3a2 2 0 0 1 2 2v7",key:"1yeb86"}],["line",{x1:"6",x2:"6",y1:"9",y2:"21",key:"rroup"}]])},54919:(t,e,i)=>{i.d(e,{e:()=>n});function n(t,e,i){e.startsWith("--")?t.style.setProperty(e,i):t.style[e]=i}},55713:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("film",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M7 3v18",key:"bbkbws"}],["path",{d:"M3 7.5h4",key:"zfgn84"}],["path",{d:"M3 12h18",key:"1i2n21"}],["path",{d:"M3 16.5h4",key:"1230mu"}],["path",{d:"M17 3v18",key:"in4fa5"}],["path",{d:"M17 7.5h4",key:"myr1c1"}],["path",{d:"M17 16.5h4",key:"go4c1d"}]])},55985:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("file-diff",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M9 10h6",key:"9gxzsh"}],["path",{d:"M12 13V7",key:"h0r20n"}],["path",{d:"M9 17h6",key:"r8uit2"}]])},58091:(t,e,i)=>{i.d(e,{A:()=>h});var n=i(75834);let s=(...t)=>t.filter((t,e,i)=>!!t&&""!==t.trim()&&i.indexOf(t)===e).join(" ").trim(),r=t=>{let e=t.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,e,i)=>i?i.toUpperCase():e.toLowerCase());return e.charAt(0).toUpperCase()+e.slice(1)};var a={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let o=(0,n.createContext)({}),l=(0,n.forwardRef)(({color:t,size:e,strokeWidth:i,absoluteStrokeWidth:r,className:l="",children:h,iconNode:u,...d},c)=>{let{size:p=24,strokeWidth:m=2,absoluteStrokeWidth:f=!1,color:y="currentColor",className:v=""}=(0,n.useContext)(o)??{},g=r??f?24*Number(i??m)/Number(e??p):i??m;return(0,n.createElement)("svg",{ref:c,...a,width:e??p??a.width,height:e??p??a.height,stroke:t??y,strokeWidth:g,className:s("lucide",v,l),...!h&&!(t=>{for(let e in t)if(e.startsWith("aria-")||"role"===e||"title"===e)return!0;return!1})(d)&&{"aria-hidden":"true"},...d},[...u.map(([t,e])=>(0,n.createElement)(t,e)),...Array.isArray(h)?h:[h]])}),h=(t,e)=>{let i=(0,n.forwardRef)(({className:i,...a},o)=>(0,n.createElement)(l,{ref:o,iconNode:e,className:s(`lucide-${r(t).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${t}`,i),...a}));return i.displayName=r(t),i}},58629:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("layers",[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]])},60858:(t,e,i)=>{i.d(e,{D:()=>n});let n=t=>Array.isArray(t)&&"number"==typeof t[0]},62607:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("arrow-down",[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]])},63252:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("bell",[["path",{d:"M10.268 21a2 2 0 0 0 3.464 0",key:"vwvbt9"}],["path",{d:"M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326",key:"11g9vi"}]])},65959:(t,e,i)=>{i.d(e,{q:()=>n});let n=(t,e,i)=>{let n=e-t;return n?(i-t)/n:1}},66208:(t,e,i)=>{i.d(e,{P:()=>s});var n=i(29538);function s(t){return t.props[n.n]}},66477:(t,e,i)=>{i.d(e,{Ib:()=>c,ry:()=>d,zs:()=>u});let n=t=>180*t/Math.PI,s=t=>a(n(Math.atan2(t[1],t[0]))),r={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:s,rotateZ:s,skewX:t=>n(Math.atan(t[1])),skewY:t=>n(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},a=t=>((t%=360)<0&&(t+=360),t),o=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),l=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),h={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:o,scaleY:l,scale:t=>(o(t)+l(t))/2,rotateX:t=>a(n(Math.atan2(t[6],t[5]))),rotateY:t=>a(n(Math.atan2(-t[2],t[0]))),rotateZ:s,rotate:s,skewX:t=>n(Math.atan(t[4])),skewY:t=>n(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function u(t){return+!!t.includes("scale")}function d(t,e){let i,n;if(!t||"none"===t)return u(e);let s=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(s)i=h,n=s;else{let e=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=r,n=e}if(!n)return u(e);let a=i[e],o=n[1].split(",").map(p);return"function"==typeof a?a(o):o[a]}let c=(t,e)=>{let{transform:i="none"}=getComputedStyle(t);return d(i,e)};function p(t){return parseFloat(t.trim())}},67297:(t,e,i)=>{i.d(e,{I:()=>a});var n=i(82369),s=i(87050),r=i(75834);function a(){n.r.current||(0,s.Uu)();let[t]=(0,r.useState)(n.O.current);return t}},67868:(t,e,i)=>{i.d(e,{L:()=>n});function n(t,e,i,s=0,r=1){let a=Array.from(t).sort((t,e)=>t.sortNodePosition(e)).indexOf(e),o=t.size,l=(o-1)*s;return"function"==typeof i?i(a,o):1===r?a*s:l-a*s}},68089:(t,e,i)=>{let n;i.d(e,{OQ:()=>h});var s=i(15099),r=i(44204),a=i(33206),o=i(83252);class l{constructor(t,e={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=t=>{let e=a.k.now();if(this.updatedAt!==e&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(t),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let t of this.dependents)t.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=e.owner}setCurrent(t){this.current=t,this.updatedAt=a.k.now(),null===this.canTrackVelocity&&void 0!==t&&(this.canTrackVelocity=!isNaN(parseFloat(this.current)))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,e){this.events[t]||(this.events[t]=new s.v);let i=this.events[t].add(e);return"change"===t?()=>{i(),o.Gt.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,e,i){this.set(e),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-i}jump(t,e=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,e&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return n&&n.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let t=a.k.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;let e=Math.min(this.updatedAt-this.prevUpdatedAt,30);return(0,r.f)(parseFloat(this.current)-parseFloat(this.prevFrameValue),e)}start(t){return this.stop(),new Promise(e=>{this.hasAnimated=!0,this.animation=t(e),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function h(t,e){return new l(t,e)}},69501:(t,e,i)=>{i.d(e,{m:()=>x});var n=i(39675),s=i(14548),r=i(86618),a=i(54919),o=i(72868);let l={};function h(t,e){let i=(0,o.p)(t);return()=>l[e]??i()}let u=h(()=>void 0!==window.ScrollTimeline,"scrollTimeline");var d=i(3157),c=i(5733),p=i(60858);let m=h(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch(t){return!1}return!0},"linearEasing");var f=i(45400);let y=([t,e,i,n])=>`cubic-bezier(${t}, ${e}, ${i}, ${n})`,v={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:y([0,.65,.55,1]),circOut:y([.55,0,1,.45]),backIn:y([.31,.01,.66,-.59]),backOut:y([.33,1.53,.69,.99])};var g=i(54035);class x extends c.q{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;const{element:e,name:i,keyframes:s,pseudoElement:r,allowFlatten:o=!1,finalKeyframe:l,onComplete:h}=t;this.isPseudoElement=!!r,this.allowFlatten=o,this.options=t,(0,n.V)("string"!=typeof t.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");const u=function({type:t,...e}){return(0,g.W)(t)&&m()?t.applyToOptions(e):(e.duration??(e.duration=300),e.ease??(e.ease="easeOut"),e)}(t);this.animation=function(t,e,i,{delay:n=0,duration:s=300,repeat:r=0,repeatType:a="loop",ease:o="easeOut",times:l}={},h){let u={[e]:i};l&&(u.offset=l);let d=function t(e,i){if(e)return"function"==typeof e?m()?(0,f.K)(e,i):"ease-out":(0,p.D)(e)?y(e):Array.isArray(e)?e.map(e=>t(e,i)||v.easeOut):v[e]}(o,s);Array.isArray(d)&&(u.easing=d);let c={delay:n,duration:s,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:r+1,direction:"reverse"===a?"alternate":"normal"};return h&&(c.pseudoElement=h),t.animate(u,c)}(e,i,s,u,r),!1===u.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!r){let t=(0,d.X)(s,this.options,l,this.speed);this.updateMotionValue&&this.updateMotionValue(t),(0,a.e)(e,i,t),this.animation.cancel()}h?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),"finished"===this.state&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch(t){}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:t}=this;"idle"!==t&&"finished"!==t&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){let t=this.options?.element;!this.isPseudoElement&&t?.isConnected&&this.animation.commitStyles?.()}get duration(){let t=this.animation.effect?.getComputedTiming?.().duration||0;return(0,s.X)(Number(t))}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+(0,s.X)(t)}get time(){return(0,s.X)(Number(this.animation.currentTime)||0)}set time(t){let e=null!==this.finishedTime;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=(0,s.f)(t),e&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return null!==this.finishedTime?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(t){this.manualStartTime=this.animation.startTime=t}attachTimeline({timeline:t,rangeStart:e,rangeEnd:i,observe:n}){return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&u())?(this.animation.timeline=t,e&&(this.animation.rangeStart=e),i&&(this.animation.rangeEnd=i),r.l):n(this)}}},69758:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("log-out",[["path",{d:"m16 17 5-5-5-5",key:"1bji2h"}],["path",{d:"M21 12H9",key:"dn1m92"}],["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}]])},70170:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("ellipsis",[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]])},70962:(t,e,i)=>{i.d(e,{f:()=>tB});var n=i(14548),s=i(19700),r=i(86618),a=i(33206),o=i(602),l=i(7689),h=i(39675),u=i(51921),d=i(80911),c=i(53081),p=i(40692),m=i(47849);function f(t,e,i){return(i<0&&(i+=1),i>1&&(i-=1),i<1/6)?t+(e-t)*6*i:i<.5?e:i<2/3?t+(e-t)*(2/3-i)*6:t}var y=i(39245);function v(t,e){return i=>i>0?e:t}var g=i(26471);let x=(t,e,i)=>{let n=t*t,s=i*(e*e-n)+n;return s<0?0:Math.sqrt(s)},w=[p.u,y.B,m.V];function k(t){let e=w.find(e=>e.test(t));if((0,h.$)(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!e)return!1;let i=e.parse(t);return e===m.V&&(i=function({hue:t,saturation:e,lightness:i,alpha:n}){t/=360,i/=100;let s=0,r=0,a=0;if(e/=100){let n=i<.5?i*(1+e):i+e-i*e,o=2*i-n;s=f(o,n,t+1/3),r=f(o,n,t),a=f(o,n,t-1/3)}else s=r=a=i;return{red:Math.round(255*s),green:Math.round(255*r),blue:Math.round(255*a),alpha:n}}(i)),i}let A=(t,e)=>{let i=k(t),n=k(e);if(!i||!n)return v(t,e);let s={...i};return t=>(s.red=x(i.red,n.red,t),s.green=x(i.green,n.green,t),s.blue=x(i.blue,n.blue,t),s.alpha=(0,g.k)(i.alpha,n.alpha,t),y.B.transform(s))},b=new Set(["none","hidden"]);function M(t,e){return i=>(0,g.k)(t,e,i)}function T(t){return"number"==typeof t?M:"string"==typeof t?(0,u.pG)(t)?v:d.y.test(t)?A:E:Array.isArray(t)?S:"object"==typeof t?d.y.test(t)?A:P:v}function S(t,e){let i=[...t],n=i.length,s=t.map((t,i)=>T(t)(t,e[i]));return t=>{for(let e=0;e<n;e++)i[e]=s[e](t);return i}}function P(t,e){let i={...t,...e},n={};for(let s in i)void 0!==t[s]&&void 0!==e[s]&&(n[s]=T(t[s])(t[s],e[s]));return t=>{for(let e in n)i[e]=n[e](t);return i}}let E=(t,e)=>{let i=c.f.createTransformer(e),n=(0,c.V)(t),s=(0,c.V)(e);if(!(n.indexes.var.length===s.indexes.var.length&&n.indexes.color.length===s.indexes.color.length&&n.indexes.number.length>=s.indexes.number.length))return(0,h.$)(!0,`Complex values '${t}' and '${e}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),v(t,e);if(b.has(t)&&!s.values.length||b.has(e)&&!n.values.length)return b.has(t)?i=>i<=0?t:e:i=>i>=1?e:t;return(0,o.F)(S(function(t,e){let i=[],n={color:0,var:0,number:0};for(let s=0;s<e.values.length;s++){let r=e.types[s],a=t.indexes[r][n[r]],o=t.values[a]??0;i[s]=o,n[r]++}return i}(n,s),s.values),i)};function V(t,e,i){return"number"==typeof t&&"number"==typeof e&&"number"==typeof i?(0,g.k)(t,e,i):T(t)(t,e)}var C=i(83252);let R=t=>{let e=({timestamp:e})=>t(e);return{start:(t=!0)=>C.Gt.update(e,t),stop:()=>(0,C.WG)(e),now:()=>C.uv.isProcessing?C.uv.timestamp:a.k.now()}};var D=i(45400);function j(t){let e=0,i=t.next(e);for(;!i.done&&e<2e4;)e+=50,i=t.next(e);return e>=2e4?1/0:e}let L=.01,B=2,F=.005,I=.5;function O(t,e){return t*Math.sqrt(1-e*e)}let U=["duration","bounce"],$=["stiffness","damping","mass"];function z(t,e){return e.some(e=>void 0!==t[e])}function W(t=.3,e=.3){let i,s,r,a,o,u,d="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:e}:t,{restSpeed:c,restDelta:p}=d,m=d.keyframes[0],f=d.keyframes[d.keyframes.length-1],y={done:!1,value:m},{stiffness:v,damping:g,mass:x,duration:w,velocity:k,isResolvedFromDuration:A}=function(t){let e={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...t};if(!z(t,$)&&z(t,U))if(e.velocity=0,t.visualDuration){let i=2*Math.PI/(1.2*t.visualDuration),n=i*i,s=2*(0,l.q)(.05,1,1-(t.bounce||0))*Math.sqrt(n);e={...e,mass:1,stiffness:n,damping:s}}else{let i=function({duration:t=800,bounce:e=.3,velocity:i=0,mass:s=1}){let r,a;(0,h.$)(t<=(0,n.f)(10),"Spring duration must be 10 seconds or less","spring-duration-limit");let o=1-e;o=(0,l.q)(.05,1,o),t=(0,l.q)(.01,10,(0,n.X)(t)),o<1?(r=e=>{let n=e*o,s=n*t;return .001-(n-i)/O(e,o)*Math.exp(-s)},a=e=>{let n=e*o*t,s=Math.pow(o,2)*Math.pow(e,2)*t,a=Math.exp(-n),l=O(Math.pow(e,2),o);return(n*i+i-s)*a*(-r(e)+.001>0?-1:1)/l}):(r=e=>-.001+Math.exp(-e*t)*((e-i)*t+1),a=e=>t*t*(i-e)*Math.exp(-e*t));let u=function(t,e,i){let n=i;for(let i=1;i<12;i++)n-=t(n)/e(n);return n}(r,a,5/t);if(t=(0,n.f)(t),isNaN(u))return{stiffness:100,damping:10,duration:t};{let e=Math.pow(u,2)*s;return{stiffness:e,damping:2*o*Math.sqrt(s*e),duration:t}}}({...t,velocity:0});(e={...e,...i,mass:1}).isResolvedFromDuration=!0}return e}({...d,velocity:-(0,n.X)(d.velocity||0)}),b=k||0,M=g/(2*Math.sqrt(v*x)),T=f-m,S=(0,n.X)(Math.sqrt(v/x)),P=5>Math.abs(T);if(c||(c=P?L:B),p||(p=P?F:I),M<1)r=O(S,M),a=(b+M*S*T)/r,i=t=>f-Math.exp(-M*S*t)*(a*Math.sin(r*t)+T*Math.cos(r*t)),o=M*S*a+T*r,u=M*S*T-a*r,s=t=>Math.exp(-M*S*t)*(o*Math.sin(r*t)+u*Math.cos(r*t));else if(1===M){i=t=>f-Math.exp(-S*t)*(T+(b+S*T)*t);let t=b+S*T;s=e=>Math.exp(-S*e)*(S*t*e-b)}else{let t=S*Math.sqrt(M*M-1);i=e=>{let i=Math.exp(-M*S*e),n=Math.min(t*e,300);return f-i*((b+M*S*T)*Math.sinh(n)+t*T*Math.cosh(n))/t};let e=(b+M*S*T)/t,n=M*S*e-T*t,r=M*S*T-e*t;s=e=>{let i=Math.exp(-M*S*e),s=Math.min(t*e,300);return i*(n*Math.sinh(s)+r*Math.cosh(s))}}let E={calculatedDuration:A&&w||null,velocity:t=>(0,n.f)(s(t)),next:t=>{if(!A&&M<1){let e=Math.exp(-M*S*t),i=Math.sin(r*t),s=Math.cos(r*t),l=f-e*(a*i+T*s);return y.done=Math.abs((0,n.f)(e*(o*i+u*s)))<=c&&Math.abs(f-l)<=p,y.value=y.done?f:l,y}let e=i(t);return A?y.done=t>=w:y.done=Math.abs((0,n.f)(s(t)))<=c&&Math.abs(f-e)<=p,y.value=y.done?f:e,y},toString:()=>{let t=Math.min(j(E),2e4),e=(0,D.K)(e=>E.next(t*e).value,t,30);return t+"ms "+e},toTransition:()=>{}};return E}W.applyToOptions=t=>{let e=function(t,e=100,i){let s=i({...t,keyframes:[0,e]}),r=Math.min(j(s),2e4);return{type:"keyframes",ease:t=>s.next(r*t).value/e,duration:(0,n.X)(r)}}(t,100,W);return t.ease=e.ease,t.duration=(0,n.f)(e.duration),t.type="keyframes",t};var N=i(44204);function q(t,e,i){let n=Math.max(e-5,0);return(0,N.f)(i-t(n),e-n)}function G({keyframes:t,velocity:e=0,power:i=.8,timeConstant:n=325,bounceDamping:s=10,bounceStiffness:r=500,modifyTarget:a,min:o,max:l,restDelta:h=.5,restSpeed:u}){let d,c,p=t[0],m={done:!1,value:p},f=i*e,y=p+f,v=void 0===a?y:a(y);v!==y&&(f=v-p);let g=t=>-f*Math.exp(-t/n),x=t=>v+g(t),w=t=>{let e=g(t),i=x(t);m.done=Math.abs(e)<=h,m.value=m.done?v:i},k=t=>{let e;if(e=m.value,void 0!==o&&e<o||void 0!==l&&e>l){var i;d=t,c=W({keyframes:[m.value,(i=m.value,void 0===o?l:void 0===l||Math.abs(o-i)<Math.abs(l-i)?o:l)],velocity:q(x,t,m.value),damping:s,stiffness:r,restDelta:h,restSpeed:u})}};return k(0),{calculatedDuration:null,next:t=>{let e=!1;return(c||void 0!==d||(e=!0,w(t),k(t)),void 0!==d&&t>=d)?c.next(t-d):(e||w(t),m)}}}let X=(t,e,i)=>(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t;function H(t,e,i,n){return t===e&&i===n?r.l:s=>0===s||1===s?s:X(function(t,e,i,n,s){let r,a,o=0;do(r=X(a=e+(i-e)/2,n,s)-t)>0?i=a:e=a;while(Math.abs(r)>1e-7&&++o<12);return a}(s,0,1,t,i),e,n)}let K=H(.42,0,1,1),Y=H(0,0,.58,1),_=H(.42,0,.58,1);var Z=i(10934),Q=i(13725);let J=H(.33,1.53,.69,.99),tt=(0,Q.G)(J),te=(0,Z.V)(tt),ti=t=>t>=1?1:(t*=2)<1?.5*tt(t):.5*(2-Math.pow(2,-10*(t-1)));var tn=i(3255),ts=i(60858);let tr={linear:r.l,easeIn:K,easeInOut:_,easeOut:Y,circIn:tn.po,circInOut:tn.tn,circOut:tn.yT,backIn:tt,backInOut:te,backOut:J,anticipate:ti},ta=t=>{if((0,ts.D)(t)){(0,h.V)(4===t.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[e,i,n,s]=t;return H(e,i,n,s)}return"string"==typeof t?((0,h.V)(void 0!==tr[t],`Invalid easing type '${t}'`,"invalid-easing-type"),tr[t]):t};var to=i(65959);function tl({duration:t=300,keyframes:e,times:i,ease:n="easeInOut"}){var a;let u,d=Array.isArray(n)&&"number"!=typeof n[0]?n.map(ta):ta(n),c={done:!1,value:e[0]},p=function(t,e,{clamp:i=!0,ease:n,mixer:a}={}){let u=t.length;if((0,h.V)(u===e.length,"Both input and output ranges must be the same length","range-length"),1===u)return()=>e[0];if(2===u&&e[0]===e[1])return()=>e[1];let d=t[0]===t[1];t[0]>t[u-1]&&(t=[...t].reverse(),e=[...e].reverse());let c=function(t,e,i){let n=[],a=i||s.W.mix||V,l=t.length-1;for(let i=0;i<l;i++){let s=a(t[i],t[i+1]);if(e){let t=Array.isArray(e)?e[i]||r.l:e;s=(0,o.F)(t,s)}n.push(s)}return n}(e,n,a),p=c.length,m=i=>{if(d&&i<t[0])return e[0];let n=0;if(p>1)for(;n<t.length-2&&!(i<t[n+1]);n++);let s=(0,to.q)(t[n],t[n+1],i);return c[n](s)};return i?e=>m((0,l.q)(t[0],t[u-1],e)):m}((a=i&&i.length===e.length?i:(!function(t,e){let i=t[t.length-1];for(let n=1;n<=e;n++){let s=(0,to.q)(0,e,n);t.push((0,g.k)(i,1,s))}}(u=[0],e.length-1),u),a.map(e=>e*t)),e,{ease:Array.isArray(d)?d:e.map(()=>d||_).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(c.value=p(e),c.done=e>=t,c)}}var th=i(3157);let tu={decay:G,inertia:G,tween:tl,keyframes:tl,spring:W};function td(t){"string"==typeof t.type&&(t.type=tu[t.type])}var tc=i(5733);let tp=t=>t/100;class tm extends tc.q{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{let{motionValue:t}=this.options;t&&t.updatedAt!==a.k.now()&&this.tick(a.k.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},this.options=t,this.initAnimation(),this.play(),!1===t.autoplay&&this.pause()}initAnimation(){let{options:t}=this;td(t);let{type:e=tl,repeat:i=0,repeatDelay:n=0,repeatType:s,velocity:r=0}=t,{keyframes:a}=t,l=e||tl;l!==tl&&"number"!=typeof a[0]&&(this.mixKeyframes=(0,o.F)(tp,V(a[0],a[1])),a=[0,100]);let h=l({...t,keyframes:a});"mirror"===s&&(this.mirroredGenerator=l({...t,keyframes:[...a].reverse(),velocity:-r})),null===h.calculatedDuration&&(h.calculatedDuration=j(h));let{calculatedDuration:u}=h;this.calculatedDuration=u,this.resolvedDuration=u+n,this.totalDuration=this.resolvedDuration*(i+1)-n,this.generator=h}updateTime(t){let e=Math.round(t-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=e}tick(t,e=!1){let i,{generator:n,totalDuration:s,mixKeyframes:r,mirroredGenerator:a,resolvedDuration:o,calculatedDuration:h}=this;if(null===this.startTime)return n.next(0);let{delay:u=0,keyframes:d,repeat:c,repeatType:p,repeatDelay:m,type:f,onUpdate:y,finalKeyframe:v}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-s/this.speed,this.startTime)),e?this.currentTime=t:this.updateTime(t);let g=this.currentTime-u*(this.playbackSpeed>=0?1:-1),x=this.playbackSpeed>=0?g<0:g>s;this.currentTime=Math.max(g,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=s);let w=this.currentTime,k=n;if(c){let t=Math.min(this.currentTime,s)/o,e=Math.floor(t),i=t%1;!i&&t>=1&&(i=1),1===i&&e--,(e=Math.min(e,c+1))%2&&("reverse"===p?(i=1-i,m&&(i-=m/o)):"mirror"===p&&(k=a)),w=(0,l.q)(0,1,i)*o}x?(this.delayState.value=d[0],i=this.delayState):i=k.next(w),r&&!x&&(i.value=r(i.value));let{done:A}=i;x||null===h||(A=this.playbackSpeed>=0?this.currentTime>=s:this.currentTime<=0);let b=null===this.holdTime&&("finished"===this.state||"running"===this.state&&A);return b&&f!==G&&(i.value=(0,th.X)(d,this.options,v,this.speed)),y&&y(i.value),b&&this.finish(),i}then(t,e){return this.finished.then(t,e)}get duration(){return(0,n.X)(this.calculatedDuration)}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+(0,n.X)(t)}get time(){return(0,n.X)(this.currentTime)}set time(t){t=(0,n.f)(t),this.currentTime=t,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=t,this.tick(t))}getGeneratorVelocity(){let t=this.currentTime;if(t<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(t);let e=this.generator.next(t).value;return q(t=>this.generator.next(t).value,t,e)}get speed(){return this.playbackSpeed}set speed(t){let e=this.playbackSpeed!==t;e&&this.driver&&this.updateTime(a.k.now()),this.playbackSpeed=t,e&&this.driver&&(this.time=(0,n.X)(this.currentTime))}play(){if(this.isStopped)return;let{driver:t=R,startTime:e}=this.options;this.driver||(this.driver=t(t=>this.tick(t))),this.options.onPlay?.();let i=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=i):null!==this.holdTime?this.startTime=i-this.holdTime:this.startTime||(this.startTime=e??i),"finished"===this.state&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(a.k.now()),this.holdTime=this.currentTime}complete(){"running"!==this.state&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),t.observe(this)}}var tf=i(23441),ty=i(54919),tv=i(69501);let tg={anticipate:ti,backInOut:te,circInOut:tn.tn};class tx extends tv.m{constructor(t){!function(t){"string"==typeof t.ease&&t.ease in tg&&(t.ease=tg[t.ease])}(t),td(t),super(t),void 0!==t.startTime&&!1!==t.autoplay&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){let{motionValue:e,onUpdate:i,onComplete:n,element:s,...r}=this.options;if(!e)return;if(void 0!==t)return void e.set(t);let o=new tm({...r,autoplay:!1}),h=Math.max(10,a.k.now()-this.startTime),u=(0,l.q)(0,10,h-10),d=o.sample(h).value,{name:c}=this.options;s&&c&&(0,ty.e)(s,c,d),e.setWithVelocity(o.sample(Math.max(0,h-u)).value,d,u),o.stop()}}var tw=i(54035);let tk=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(c.f.test(t)||"0"===t)&&!t.startsWith("url("));function tA(t){t.duration=0,t.type="keyframes"}var tb=i(72868),tM=i(22947);let tT=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/,tS=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),tP=(0,tb.p)(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class tE extends tc.q{constructor({autoplay:t=!0,delay:e=0,type:i="keyframes",repeat:n=0,repeatDelay:s=0,repeatType:r="loop",keyframes:o,name:l,motionValue:h,element:u,...d}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=a.k.now();const c={autoplay:t,delay:e,type:i,repeat:n,repeatDelay:s,repeatType:r,name:l,motionValue:h,element:u,...d},p=u?.KeyframeResolver||tf.h;this.keyframeResolver=new p(o,(t,e,i)=>this.onKeyframesResolved(t,e,c,!i),l,h,u),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,e,i,n){let o;this.keyframeResolver=void 0;let{name:l,type:u,velocity:d,delay:c,isHandoff:p,onUpdate:m}=i;this.resolvedAt=a.k.now();let f=!0;!function(t,e,i,n){let s=t[0];if(null===s)return!1;if("display"===e||"visibility"===e)return!0;let r=t[t.length-1],a=tk(s,e),o=tk(r,e);return(0,h.$)(a===o,`You are trying to animate ${e} from "${s}" to "${r}". "${a?r:s}" is not an animatable value.`,"value-not-animatable"),!!a&&!!o&&(function(t){let e=t[0];if(1===t.length)return!0;for(let i=0;i<t.length;i++)if(t[i]!==e)return!0}(t)||("spring"===i||(0,tw.W)(i))&&n)}(t,l,u,d)&&(f=!1,(s.W.instantAnimations||!c)&&m?.((0,th.X)(t,i,e)),t[0]=t[t.length-1],tA(i),i.repeat=0);let y={startTime:n?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:e,...i,keyframes:t},v=f&&!p&&function(t){let{motionValue:e,name:i,repeatDelay:n,repeatType:s,damping:r,type:a,keyframes:o}=t;if(!(e?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:l,transformTemplate:h}=e.owner.getProps();return tP()&&i&&(tM.M.has(i)||tS.has(i)&&function(t){for(let e=0;e<t.length;e++)if("string"==typeof t[e]&&tT.test(t[e]))return!0;return!1}(o))&&("transform"!==i||!h)&&!l&&!n&&"mirror"!==s&&0!==r&&"inertia"!==a}(y),g=y.motionValue?.owner?.current;if(v)try{o=new tx({...y,element:g})}catch{o=new tm(y)}else o=new tm(y);o.finished.then(()=>{this.notifyFinished()}).catch(r.l),this.pendingTimeline&&(this.stopTimeline=o.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=o}get finished(){return this._animation?this.animation.finished:this._finished}then(t,e){return this.finished.finally(t).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),(0,tf.q)()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}var tV=i(42260),tC=i(2157);let tR={type:"spring",stiffness:500,damping:25,restSpeed:10},tD={type:"keyframes",duration:.8},tj={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},tL=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]),tB=(t,e,i,r={},a,o)=>l=>{let h=(0,tV.r)(r,t)||{},u=h.delay||r.delay||0,{elapsed:d=0}=r;d-=(0,n.f)(u);let c={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:e.getVelocity(),...h,delay:-d,onUpdate:t=>{e.set(t),h.onUpdate&&h.onUpdate(t)},onComplete:()=>{l(),h.onComplete&&h.onComplete()},name:t,motionValue:e,element:o?void 0:a};!function(t){for(let e in t)if(!tL.has(e))return!0;return!1}(h)&&Object.assign(c,((t,{keyframes:e})=>e.length>2?tD:tC.f.has(t)?t.startsWith("scale")?{type:"spring",stiffness:550,damping:0===e[1]?2*Math.sqrt(550):30,restSpeed:10}:tR:tj)(t,c)),c.duration&&(c.duration=(0,n.f)(c.duration)),c.repeatDelay&&(c.repeatDelay=(0,n.f)(c.repeatDelay)),void 0!==c.from&&(c.keyframes[0]=c.from);let p=!1;if(!1!==c.type&&(0!==c.duration||c.repeatDelay)||(tA(c),0===c.delay&&(p=!0)),(s.W.instantAnimations||s.W.skipAnimations||a?.shouldSkipAnimations||h.skipAnimations)&&(p=!0,tA(c),c.delay=0),c.allowFlatten=!h.type&&!h.ease,p&&!o&&void 0!==e.get()){let t=(0,th.X)(c.keyframes,h);if(void 0!==t)return void C.Gt.update(()=>{c.onUpdate(t),c.onComplete()})}return h.isSync?new tm(c):new tE(c)}},71520:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("pencil",[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]])},72752:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("git-commit-horizontal",[["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}],["line",{x1:"3",x2:"9",y1:"12",y2:"12",key:"1dyftd"}],["line",{x1:"15",x2:"21",y1:"12",y2:"12",key:"oup4p8"}]])},72868:(t,e,i)=>{i.d(e,{p:()=>n});function n(t){let e;return()=>(void 0===e&&(e=t()),e)}},72975:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},74567:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]])},75978:(t,e,i)=>{i.d(e,{L:()=>n});let n=(0,i(75834).createContext)({})},76750:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("chevrons-down-up",[["path",{d:"m7 20 5-5 5 5",key:"13a0gw"}],["path",{d:"m7 4 5 5 5-5",key:"1kwcof"}]])},78140:(t,e,i)=>{i.d(e,{g:()=>r});var n=i(19700),s=i(51204);function r(t,e){let i=t.getValue("willChange");if((0,s.S)(i)&&i.add)return i.add(e);if(!i&&n.W.WillChange){let i=new n.W.WillChange("auto");t.addValue("willChange",i),i.add(e)}}},78141:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]])},78617:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("circle-dot",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}]])},78999:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]])},79608:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("zoom-in",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"11",x2:"11",y1:"8",y2:"14",key:"1vmskp"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]])},80136:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("chevrons-up-down",[["path",{d:"m7 15 5 5 5-5",key:"1hf1tw"}],["path",{d:"m7 9 5-5 5 5",key:"sgt6xg"}]])},80527:(t,e,i)=>{i.d(e,{E:()=>u});var n=i(53214),s=i(51382),r=i(81120),a=i(44714),o=i(39675);function l(t,e){[...e].reverse().forEach(i=>{let n=t.getVariant(i);n&&(0,r.U)(t,n),t.variantChildren&&t.variantChildren.forEach(t=>{l(t,e)})})}function h(){let t=!1,e=new Set,i={subscribe:t=>(e.add(t),()=>void e.delete(t)),start(i,n){(0,o.V)(t,"controls.start() should only be called after a component has mounted. Consider calling within a useEffect hook.");let s=[];return e.forEach(t=>{s.push((0,a._)(t,i,{transitionOverride:n}))}),Promise.all(s)},set:i=>((0,o.V)(t,"controls.set() should only be called after a component has mounted. Consider calling within a useEffect hook."),e.forEach(t=>{var e,n;e=t,Array.isArray(n=i)?l(e,n):"string"==typeof n?l(e,[n]):(0,r.U)(e,n)})),stop(){e.forEach(t=>{t.values.forEach(t=>t.stop())})},mount:()=>(t=!0,()=>{t=!1,i.stop()})};return i}function u(){let t=(0,n.M)(h);return(0,s.E)(t.mount,[]),t}},80712:(t,e,i)=>{i.d(e,{$:()=>n});let n=new Set(["width","height","top","left","right","bottom",...i(2157).U])},80802:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("library",[["path",{d:"m16 6 4 14",key:"ji33uf"}],["path",{d:"M12 6v14",key:"1n7gus"}],["path",{d:"M8 8v12",key:"1gg7y9"}],["path",{d:"M4 4v16",key:"6qkkli"}]])},80911:(t,e,i)=>{i.d(e,{y:()=>a});var n=i(40692),s=i(47849),r=i(39245);let a={test:t=>r.B.test(t)||n.u.test(t)||s.V.test(t),parse:t=>r.B.test(t)?r.B.parse(t):s.V.test(t)?s.V.parse(t):n.u.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?r.B.transform(t):s.V.transform(t),getAnimatableNone:t=>{let e=a.parse(t);return e.alpha=0,a.transform(e)}}},81120:(t,e,i)=>{i.d(e,{U:()=>a});var n=i(68089),s=i(37013),r=i(39950);function a(t,e){let{transitionEnd:i={},transition:a={},...o}=(0,s.K)(t,e)||{};for(let e in o={...o,...i}){var l;let i=(l=o[e],(0,r.p)(l)?l[l.length-1]||0:l);t.hasValue(e)?t.getValue(e).set(i):t.addValue(e,(0,n.OQ)(i))}}},81450:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("gauge",[["path",{d:"m12 14 4-4",key:"9kzdfg"}],["path",{d:"M3.34 19a10 10 0 1 1 17.32 0",key:"19p75a"}]])},82369:(t,e,i)=>{i.d(e,{O:()=>n,r:()=>s});let n={current:null},s={current:!1}},83252:(t,e,i)=>{i.d(e,{Gt:()=>s,PP:()=>o,WG:()=>r,uv:()=>a});var n=i(86618);let{schedule:s,cancel:r,state:a,steps:o}=(0,i(28875).I)("u">typeof requestAnimationFrame?requestAnimationFrame:n.l,!0)},85320:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]])},85781:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]])},86618:(t,e,i)=>{i.d(e,{l:()=>n});let n=t=>t},87050:(t,e,i)=>{i.d(e,{Uu:()=>r});var n=i(82369);let s="u">typeof window;function r(){if(n.r.current=!0,s)if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>n.O.current=t.matches;t.addEventListener("change",e),e()}else n.O.current=!1}},87617:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("clipboard",[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}]])},87688:(t,e,i)=>{i.d(e,{I:()=>n});function n(t){return t.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`)}},87854:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("git-branch",[["path",{d:"M15 6a9 9 0 0 0-9 9V3",key:"1cii5b"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}]])},91176:(t,e,i)=>{i.d(e,{X4:()=>r,ai:()=>s,hs:()=>a});var n=i(7689);let s={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},r={...s,transform:t=>(0,n.q)(0,1,t)},a={...s,default:1}},93202:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("smartphone",[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2",key:"1yt0o3"}],["path",{d:"M12 18h.01",key:"mhygvu"}]])},93659:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("file-up",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M12 12v6",key:"3ahymv"}],["path",{d:"m15 15-3-3-3 3",key:"15xj92"}]])},98201:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("git-compare",[["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}],["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M13 6h3a2 2 0 0 1 2 2v7",key:"1yeb86"}],["path",{d:"M11 18H8a2 2 0 0 1-2-2V9",key:"19pyzm"}]])},98681:(t,e,i)=>{i.d(e,{$:()=>r,q:()=>a});var n=i(31985);let s=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,r=(t,e)=>i=>!!("string"==typeof i&&s.test(i)&&i.startsWith(t)||e&&null!=i&&Object.prototype.hasOwnProperty.call(i,e)),a=(t,e,i)=>s=>{if("string"!=typeof s)return s;let[r,a,o,l]=s.match(n.S);return{[t]:parseFloat(r),[e]:parseFloat(a),[i]:parseFloat(o),alpha:void 0!==l?parseFloat(l):1}}},99088:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("message-circle-question-mark",[["path",{d:"M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719",key:"1sd12s"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]])}}]);