"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[421],{42:(t,e,i)=>{i.d(e,{W:()=>n});let n={}},296:(t,e,i)=>{i.d(e,{L:()=>n});let n=(0,i(2115).createContext)({})},561:(t,e,i)=>{i.d(e,{B:()=>r});var n=i(8256);function r({keyframes:t,velocity:e=0,power:i=.8,timeConstant:r=325,bounceDamping:s=10,bounceStiffness:o=500,modifyTarget:a,min:l,max:u,restDelta:h=.5,restSpeed:d}){let c,p,f=t[0],m={done:!1,value:f},y=i*e,g=f+y,v=void 0===a?g:a(g);v!==g&&(y=v-f);let x=t=>-y*Math.exp(-t/r),w=t=>{let e=x(t);m.done=Math.abs(e)<=h,m.value=m.done?v:v+e},b=t=>{let e;if((e=m.value)u){var i;c=t,p=(0,n.o)({keyframes:[m.value,(i=m.value,void 0===l?u:void 0===u||Math.abs(l-i){let e=!1;return(p||void 0!==c||(e=!0,w(t),b(t)),void 0!==c&&t>=c)?p.next(t-c):(e||w(t),m)}}}},625:(t,e,i)=>{i.d(e,{E:()=>a});var n=i(561),r=i(6121),s=i(8256);let o={decay:n.B,inertia:n.B,tween:r.i,keyframes:r.i,spring:s.o};function a(t){"string"==typeof t.type&&(t.type=o[t.type])}},639:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(4294).A)("MapPin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]])},737:(t,e,i)=>{Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"AmpStateContext",{enumerable:!0,get:function(){return n}});let n=i(8140)._(i(2115)).default.createContext({})},821:(t,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),!function(t,e){for(var i in e)Object.defineProperty(t,i,{enumerable:!0,get:e[i]})}(e,{VALID_LOADERS:function(){return i},imageConfigDefault:function(){return n}});let i=["default","imgix","cloudinary","akamai","custom"],n={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:60,formats:["image/webp"],maximumDiskCacheSize:void 0,maximumResponseBody:5e7,dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"attachment",localPatterns:void 0,remotePatterns:[],qualities:void 0,unoptimized:!1}},861:(t,e)=>{function i(t){let{ampFirst:e=!1,hybrid:i=!1,hasQuery:n=!1}=void 0===t?{}:t;return e||i&&n}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"isInAmpMode",{enumerable:!0,get:function(){return i}})},984:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(4294).A)("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]])},1124:(t,e)=>{function i(t){var e;let{config:i,src:n,width:r,quality:s}=t,o=s||(null==(e=i.qualities)?void 0:e.reduce((t,e)=>Math.abs(e-75){i.d(e,{q:()=>n});let n=(t,e,i)=>{let n=e-t;return n?(i-t)/n:1}},1262:(t,e,i)=>{Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return o}});let n=i(2115),r=n.useLayoutEffect,s=n.useEffect;function o(t){let{headManager:e,reduceComponentsToState:i}=t;function o(){if(e&&e.mountedInstances){let r=n.Children.toArray(Array.from(e.mountedInstances).filter(Boolean));e.updateHead(i(r,t))}}return r(()=>{var i;return null==e||null==(i=e.mountedInstances)||i.add(t.children),()=>{var i;null==e||null==(i=e.mountedInstances)||i.delete(t.children)}}),r(()=>(e&&(e._pendingUpdate=o),()=>{e&&(e._pendingUpdate=o)})),s(()=>(e&&e._pendingUpdate&&(e._pendingUpdate(),e._pendingUpdate=null),()=>{e&&e._pendingUpdate&&(e._pendingUpdate(),e._pendingUpdate=null)})),null}},1356:(t,e,i)=>{Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Image",{enumerable:!0,get:function(){return w}});let n=i(8140),r=i(9417),s=i(5155),o=r._(i(2115)),a=n._(i(7650)),l=n._(i(4841)),u=i(5040),h=i(821),d=i(3455);i(4781);let c=i(9862),p=n._(i(1124)),f=i(3011),m={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0};function y(t,e,i,n,r,s,o){let a=null==t?void 0:t.src;t&&t["data-loaded-src"]!==a&&(t["data-loaded-src"]=a,("decode"in t?t.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(t.parentElement&&t.isConnected){if("empty"!==e&&r(!0),null==i?void 0:i.current){let e=new Event("load");Object.defineProperty(e,"target",{writable:!1,value:t});let n=!1,r=!1;i.current({...e,nativeEvent:e,currentTarget:t,target:t,isDefaultPrevented:()=>n,isPropagationStopped:()=>r,persist:()=>{},preventDefault:()=>{n=!0,e.preventDefault()},stopPropagation:()=>{r=!0,e.stopPropagation()}})}(null==n?void 0:n.current)&&n.current(t)}}))}function g(t){return o.use?{fetchPriority:t}:{fetchpriority:t}}let v=(0,o.forwardRef)((t,e)=>{let{src:i,srcSet:n,sizes:r,height:a,width:l,decoding:u,className:h,style:d,fetchPriority:c,placeholder:p,loading:m,unoptimized:v,fill:x,onLoadRef:w,onLoadingCompleteRef:b,setBlurComplete:S,setShowAltText:P,sizesInput:T,onLoad:A,onError:k,...E}=t,M=(0,o.useCallback)(t=>{t&&(k&&(t.src=t.src),t.complete&&y(t,p,w,b,S,v,T))},[i,p,w,b,S,k,v,T]),C=(0,f.useMergedRef)(e,M);return(0,s.jsx)("img",{...E,...g(c),loading:m,width:l,height:a,decoding:u,"data-nimg":x?"fill":"1",className:h,style:d,sizes:r,srcSet:n,src:i,ref:C,onLoad:t=>{y(t.currentTarget,p,w,b,S,v,T)},onError:t=>{P(!0),"empty"!==p&&S(!0),k&&k(t)}})});function x(t){let{isAppRouter:e,imgAttributes:i}=t,n={as:"image",imageSrcSet:i.srcSet,imageSizes:i.sizes,crossOrigin:i.crossOrigin,referrerPolicy:i.referrerPolicy,...g(i.fetchPriority)};return e&&a.default.preload?(a.default.preload(i.src,n),null):(0,s.jsx)(l.default,{children:(0,s.jsx)("link",{rel:"preload",href:i.srcSet?void 0:i.src,...n},"__nimg-"+i.src+i.srcSet+i.sizes)})}let w=(0,o.forwardRef)((t,e)=>{let i=(0,o.useContext)(c.RouterContext),n=(0,o.useContext)(d.ImageConfigContext),r=(0,o.useMemo)(()=>{var t;let e=m||n||h.imageConfigDefault,i=[...e.deviceSizes,...e.imageSizes].sort((t,e)=>t-e),r=e.deviceSizes.sort((t,e)=>t-e),s=null==(t=e.qualities)?void 0:t.sort((t,e)=>t-e);return{...e,allSizes:i,deviceSizes:r,qualities:s}},[n]),{onLoad:a,onLoadingComplete:l}=t,f=(0,o.useRef)(a);(0,o.useEffect)(()=>{f.current=a},[a]);let y=(0,o.useRef)(l);(0,o.useEffect)(()=>{y.current=l},[l]);let[g,w]=(0,o.useState)(!1),[b,S]=(0,o.useState)(!1),{props:P,meta:T}=(0,u.getImgProps)(t,{defaultLoader:p.default,imgConf:r,blurComplete:g,showAltText:b});return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(v,{...P,unoptimized:T.unoptimized,placeholder:T.placeholder,fill:T.fill,onLoadRef:f,onLoadingCompleteRef:y,setBlurComplete:w,setShowAltText:S,sizesInput:t.sizes,ref:e}),T.priority?(0,s.jsx)(x,{isAppRouter:!i,imgAttributes:P}):null]})});("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)},1391:(t,e,i)=>{i.d(e,{j4:()=>r,pG:()=>o,rm:()=>l});let n=t=>e=>"string"==typeof e&&e.startsWith(t),r=n("--"),s=n("var(--"),o=t=>!!s(t)&&a.test(t.split("/*")[0].trim()),a=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function l(t){return"string"==typeof t&&t.split("/*")[0].includes("var(--")}},1402:(t,e,i)=>{i.d(e,{s:()=>r});var n=i(3142);function r(t){return(0,n.G)(t)&&"offsetHeight"in t&&!("ownerSVGElement"in t)}},1739:(t,e,i)=>{i.d(e,{B:()=>l});var n=i(8895),r=i(7822),s=i(9150),o=i(3919);let a={...r.ai,transform:t=>Math.round((0,n.q)(0,255,t))},l={test:(0,o.$)("rgb","red"),parse:(0,o.q)("red","green","blue"),transform:({red:t,green:e,blue:i,alpha:n=1})=>"rgba("+a.transform(t)+", "+a.transform(e)+", "+a.transform(i)+", "+(0,s.a)(r.X4.transform(n))+")"}},1825:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(4294).A)("BadgeCheck",[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]])},1943:(t,e,i)=>{i.d(e,{D:()=>n});let n=t=>Array.isArray(t)&&"number"==typeof t[0]},2033:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(4294).A)("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]])},2039:(t,e,i)=>{i.d(e,{OQ:()=>u,bt:()=>a});var n=i(8453),r=i(5242),s=i(7424),o=i(3934);let a={current:void 0};class l{constructor(t,e={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=t=>{let e=s.k.now();if(this.updatedAt!==e&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(t),this.current!==this.prev&&(this.notifyChange(),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=s.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){var i;return"change"===t?this.onChangeSubscribe(e):((i=this.events)[t]||(i[t]=new n.v)).add(e)}onChangeSubscribe(t){let{events:e}=this;return e.change||this.changeSubscriber?(e.change||(e.change=new n.v,e.change.add(this.changeSubscriber),this.changeSubscriber=void 0),e.change.add(t)):this.changeSubscriber=t,()=>{this.changeSubscriber===t?this.changeSubscriber=void 0:e.change?.remove(t),this.stopIfUnobserved()}}stopIfUnobserved(){o.Gt.read(()=>{this.changeSubscriber||this.events.change?.getSize()||this.stop()})}clearListeners(){for(let t in this.changeSubscriber=void 0,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.notifyChange()}notifyChange(){let{current:t,changeSubscriber:e}=this;e?e(t):this.events.change?.notify(t)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return a.current&&a.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let t=s.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=>{let i;this.hasAnimated=!0;let n=!1;i=t(()=>{n=!0,this.events.animationComplete?.notify(),this.animation===i&&this.clearAnimation(),e()}),n||(this.animation=i),this.events.animationStart?.notify()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){this.animation=void 0}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function u(t,e){return new l(t,e)}},2080:(t,e,i)=>{i.d(e,{b:()=>r});var n=i(8605);let r=t=>t>=1?1:(t*=2)<1?.5*(0,n.dg)(t):.5*(2-Math.pow(2,-10*(t-1)))},2240:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(4294).A)("ArrowUp",[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]])},2241:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(4294).A)("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]])},2265:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(4294).A)("Plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]])},2366:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(4294).A)("Siren",[["path",{d:"M7 18v-6a5 5 0 1 1 10 0v6",key:"pcx96s"}],["path",{d:"M5 21a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-1a2 2 0 0 0-2-2H7a2 2 0 0 0-2 2z",key:"1b4s83"}],["path",{d:"M21 12h1",key:"jtio3y"}],["path",{d:"M18.5 4.5 18 5",key:"g5sp9y"}],["path",{d:"M2 12h1",key:"1uaihz"}],["path",{d:"M12 2v1",key:"11qlp1"}],["path",{d:"m4.929 4.929.707.707",key:"1i51kw"}],["path",{d:"M12 12v6",key:"3ahymv"}]])},2419:(t,e,i)=>{i.d(e,{KN:()=>s,gQ:()=>u,px:()=>o,uj:()=>r,vh:()=>a,vw:()=>l});let n=t=>({test:e=>"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),r=n("deg"),s=n("%"),o=n("px"),a=n("vh"),l=n("vw"),u={...s,parse:t=>s.parse(t)/100,transform:t=>s.transform(100*t)}},2593:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(4294).A)("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]])},2659:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(4294).A)("Gauge",[["path",{d:"m12 14 4-4",key:"9kzdfg"}],["path",{d:"M3.34 19a10 10 0 1 1 17.32 0",key:"19p75a"}]])},2963:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(4294).A)("Quote",[["path",{d:"M16 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z",key:"rib7q0"}],["path",{d:"M5 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z",key:"1ymkrd"}]])},3011:(t,e,i)=>{Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"useMergedRef",{enumerable:!0,get:function(){return r}});let n=i(2115);function r(t,e){let i=(0,n.useRef)(null),r=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let t=i.current;t&&(i.current=null,t());let e=r.current;e&&(r.current=null,e())}else t&&(i.current=s(t,n)),e&&(r.current=s(e,n))},[t,e])}function s(t,e){if("function"!=typeof t)return t.current=e,()=>{t.current=null};{let i=t(e);return"function"==typeof i?i:()=>t(null)}}("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)},3127:(t,e,i)=>{i.d(e,{Q:()=>n});let n=(0,i(2115).createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"})},3142:(t,e,i)=>{i.d(e,{G:()=>n});let n=t=>"object"==typeof t&&null!==t},3182:(t,e,i)=>{i.d(e,{S:()=>n});let n=t=>!!(t&&t.getVelocity)},3350:(t,e,i)=>{i.d(e,{d:()=>a});var n=i(2039),r=i(2115),s=i(3127),o=i(4416);function a(t){let e=(0,o.M)(()=>(0,n.OQ)(t)),{isStatic:i}=(0,r.useContext)(s.Q);if(i){let[,i]=(0,r.useState)(t);(0,r.useEffect)(()=>e.on("change",i),[])}return e}},3455:(t,e,i)=>{Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"ImageConfigContext",{enumerable:!0,get:function(){return s}});let n=i(8140)._(i(2115)),r=i(821),s=n.default.createContext(r.imageConfigDefault)},3656:(t,e,i)=>{i.d(e,{F:()=>n});let n=(...t)=>t.reduce((t,e)=>i=>e(t(i)))},3754:(t,e,i)=>{i.d(e,{K:()=>n});let n=(t,e,i=10)=>{let n="",r=Math.max(Math.round(e/i),2);for(let e=0;e{i.d(e,{$:()=>s,q:()=>o});var n=i(4531);let r=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,s=(t,e)=>i=>!!("string"==typeof i&&r.test(i)&&i.startsWith(t)||e&&null!=i&&Object.prototype.hasOwnProperty.call(i,e)),o=(t,e,i)=>r=>{if("string"!=typeof r)return r;let[s,o,a,l]=r.match(n.S);return{[t]:parseFloat(s),[e]:parseFloat(o),[i]:parseFloat(a),alpha:void 0!==l?parseFloat(l):1}}},3934:(t,e,i)=>{i.d(e,{Gt:()=>r,PP:()=>a,WG:()=>s,uv:()=>o});var n=i(4119);let{schedule:r,cancel:s,state:o,steps:a}=(0,i(4300).I)("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:n.l,!0)},4105:(t,e)=>{function i(t){let{widthInt:e,heightInt:i,blurWidth:n,blurHeight:r,blurDataURL:s,objectFit:o}=t,a=n?40*n:e,l=r?40*r:i,u=a&&l?"viewBox='0 0 "+a+" "+l+"'":"";return"%3Csvg xmlns='http://www.w3.org/2000/svg' "+u+"%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='"+(u?"none":"contain"===o?"xMidYMid":"cover"===o?"xMidYMid slice":"none")+"' style='filter: url(%23b);' href='"+s+"'/%3E%3C/svg%3E"}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"getImageBlurSvg",{enumerable:!0,get:function(){return i}})},4119:(t,e,i)=>{i.d(e,{l:()=>n});let n=t=>t},4294:(t,e,i)=>{i.d(e,{A:()=>a});var n=i(2115);let r=function(){for(var t=arguments.length,e=Array(t),i=0;i!!t&&""!==t.trim()&&i.indexOf(t)===e).join(" ").trim()};var s={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.forwardRef)((t,e)=>{let{color:i="currentColor",size:o=24,strokeWidth:a=2,absoluteStrokeWidth:l,className:u="",children:h,iconNode:d,...c}=t;return(0,n.createElement)("svg",{ref:e,...s,width:o,height:o,stroke:i,strokeWidth:l?24*Number(a)/Number(o):a,className:r("lucide",u),...c},[...d.map(t=>{let[e,i]=t;return(0,n.createElement)(e,i)}),...Array.isArray(h)?h:[h]])}),a=(t,e)=>{let i=(0,n.forwardRef)((i,s)=>{let{className:a,...l}=i;return(0,n.createElement)(o,{ref:s,iconNode:e,className:r("lucide-".concat(t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),a),...l})});return i.displayName="".concat(t),i}},4300:(t,e,i)=>{i.d(e,{I:()=>s});var n=i(42);let r=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function s(t,e){let i=!1,s=!0,o={delta:0,timestamp:0,isProcessing:!1},a=()=>i=!0,l=r.reduce((t,e)=>(t[e]=function(t){let e=new Set,i=new Set,n=!1,r=!1,s=new Set,o={delta:0,timestamp:0,isProcessing:!1};function a(e){s.has(e)&&(i.add(e),t()),e(o)}let l={schedule:(t,r=!1,o=!1)=>{let a=o&&n?e:i;return r&&s.add(t),a.add(t),t},cancel:t=>{i.delete(t),s.delete(t)},process:t=>{if(o=t,n){r=!0;return}n=!0;let s=e;e=i,i=s,e.forEach(a),e.clear(),n=!1,r&&(r=!1,l.process(t))}};return l}(a),t),{}),{setup:u,read:h,resolveKeyframes:d,preUpdate:c,update:p,preRender:f,render:m,postRender:y}=l,g=()=>{let r=n.W.useManualTiming,a=r?o.timestamp:performance.now();i=!1,r||(o.delta=s?1e3/60:Math.max(Math.min(a-o.timestamp,40),1)),o.timestamp=a,o.isProcessing=!0,u.process(o),h.process(o),d.process(o),c.process(o),p.process(o),f.process(o),m.process(o),y.process(o),o.isProcessing=!1,i&&e&&(s=!1,t(g))};return{schedule:r.reduce((e,n)=>{let r=l[n];return e[n]=(e,n=!1,a=!1)=>(!i&&(i=!0,s=!0,o.isProcessing||t(g)),r.schedule(e,n,a)),e},{}),cancel:t=>{for(let e=0;e{i.d(e,{M:()=>r});var n=i(2115);function r(t){let e=(0,n.useRef)(null);return null===e.current&&(e.current=t()),e.current}},4531:(t,e,i)=>{i.d(e,{S:()=>n});let n=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu},4570:(t,e,i)=>{i.d(e,{W:()=>o});var n=i(2115),r=i(8561);let s={some:0,all:1};function o(t){let{root:e,margin:i,amount:o,once:a=!1,initial:l=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},[u,h]=(0,n.useState)(l);return(0,n.useEffect)(()=>{if(!t.current||a&&u)return;let n={root:e&&e.current||void 0,margin:i,amount:o};return function(t,e,{root:i,margin:n,amount:o="some"}={}){let a=(0,r.K)(t),l=new WeakMap,u=new IntersectionObserver(t=>{t.forEach(t=>{let i=l.get(t.target);if(!!i!==t.isIntersecting)if(t.isIntersecting){let i=e(t.target,t);"function"==typeof i?l.set(t.target,i):u.unobserve(t.target)}else"function"==typeof i&&(i(t),l.delete(t.target))})},{root:i,rootMargin:n,threshold:"number"==typeof o?o:s[o]});return a.forEach(t=>u.observe(t)),()=>u.disconnect()}(t.current,()=>(h(!0),a?void 0:()=>h(!1)),n)},[e,t,i,a,o]),u}},4652:(t,e,i)=>{Object.defineProperty(e,"__esModule",{value:!0}),!function(t,e){for(var i in e)Object.defineProperty(t,i,{enumerable:!0,get:e[i]})}(e,{default:function(){return l},getImageProps:function(){return a}});let n=i(8140),r=i(5040),s=i(1356),o=n._(i(1124));function a(t){let{props:e}=(0,r.getImgProps)(t,{defaultLoader:o.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0}});for(let[t,i]of Object.entries(e))void 0===i&&delete e[t];return{props:e}}let l=s.Image},4807:(t,e,i)=>{i.d(e,{V:()=>a});var n=i(7822),r=i(2419),s=i(9150),o=i(3919);let a={test:(0,o.$)("hsl","hue"),parse:(0,o.q)("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:i,alpha:o=1})=>"hsla("+Math.round(t)+", "+r.KN.transform((0,s.a)(e))+", "+r.KN.transform((0,s.a)(i))+", "+(0,s.a)(n.X4.transform(o))+")"}},4841:(t,e,i)=>{Object.defineProperty(e,"__esModule",{value:!0}),!function(t,e){for(var i in e)Object.defineProperty(t,i,{enumerable:!0,get:e[i]})}(e,{default:function(){return m},defaultHead:function(){return d}});let n=i(8140),r=i(9417),s=i(5155),o=r._(i(2115)),a=n._(i(1262)),l=i(737),u=i(2073),h=i(861);function d(t){void 0===t&&(t=!1);let e=[(0,s.jsx)("meta",{charSet:"utf-8"},"charset")];return t||e.push((0,s.jsx)("meta",{name:"viewport",content:"width=device-width"},"viewport")),e}function c(t,e){return"string"==typeof e||"number"==typeof e?t:e.type===o.default.Fragment?t.concat(o.default.Children.toArray(e.props.children).reduce((t,e)=>"string"==typeof e||"number"==typeof e?t:t.concat(e),[])):t.concat(e)}i(4781);let p=["name","httpEquiv","charSet","itemProp"];function f(t,e){let{inAmpMode:i}=e;return t.reduce(c,[]).reverse().concat(d(i).reverse()).filter(function(){let t=new Set,e=new Set,i=new Set,n={};return r=>{let s=!0,o=!1;if(r.key&&"number"!=typeof r.key&&r.key.indexOf("$")>0){o=!0;let e=r.key.slice(r.key.indexOf("$")+1);t.has(e)?s=!1:t.add(e)}switch(r.type){case"title":case"base":e.has(r.type)?s=!1:e.add(r.type);break;case"meta":for(let t=0,e=p.length;t{let i=t.key||e;return o.default.cloneElement(t,{key:i})})}let m=function(t){let{children:e}=t,i=(0,o.useContext)(l.AmpStateContext),n=(0,o.useContext)(u.HeadManagerContext);return(0,s.jsx)(a.default,{reduceComponentsToState:f,headManager:n,inAmpMode:(0,h.isInAmpMode)(i),children:e})};("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)},4888:(t,e,i)=>{i.d(e,{Vf:()=>c,f:()=>f,nK:()=>d});var n=i(5389),r=i(4531),s=i(9150);let o=new RegExp(r.S.source),a=RegExp(/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu.source,"i"),l="number",u="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 d(t){let e=t.toString();return o.test(e)||a.test(e)}function c(t){let e=t.toString(),i=[],r={color:[],number:[],var:[]},s=[],o=0,a=e.replace(h,t=>(n.y.test(t)?(r.color.push(o),s.push(u),i.push(n.y.parse(t))):t.startsWith("var(")?(r.var.push(o),s.push("var"),i.push(t)):(r.number.push(o),s.push(l),i.push(parseFloat(t))),++o,"${}")).split("${}");return{values:i,split:a,indexes:r,types:s}}function p({split:t,types:e}){let i=t.length;return r=>{let o="";for(let a=0;a{var r;let s;return r=e.split[i],"number"==typeof t?r?.trim().endsWith("/")?t:0:"number"==typeof(s=t)?0:n.y.test(s)?n.y.getAnimatableNone(s):s}))}}},4908:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(4294).A)("Truck",[["path",{d:"M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2",key:"wrbu53"}],["path",{d:"M15 18H9",key:"1lyqi6"}],["path",{d:"M19 18h2a1 1 0 0 0 1-1v-3.65a1 1 0 0 0-.22-.624l-3.48-4.35A1 1 0 0 0 17.52 8H14",key:"lysw3i"}],["circle",{cx:"17",cy:"18",r:"2",key:"332jqn"}],["circle",{cx:"7",cy:"18",r:"2",key:"19iecd"}]])},4979:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(4294).A)("Send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]])},5040:(t,e,i)=>{Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"getImgProps",{enumerable:!0,get:function(){return l}}),i(4781);let n=i(4105),r=i(821),s=["-moz-initial","fill","none","scale-down",void 0];function o(t){return void 0!==t.default}function a(t){return void 0===t?t:"number"==typeof t?Number.isFinite(t)?t:NaN:"string"==typeof t&&/^[0-9]+$/.test(t)?parseInt(t,10):NaN}function l(t,e){var i,l;let u,h,d,{src:c,sizes:p,unoptimized:f=!1,priority:m=!1,loading:y,className:g,quality:v,width:x,height:w,fill:b=!1,style:S,overrideSrc:P,onLoad:T,onLoadingComplete:A,placeholder:k="empty",blurDataURL:E,fetchPriority:M,decoding:C="async",layout:V,objectFit:D,objectPosition:R,lazyBoundary:j,lazyRoot:L,...O}=t,{imgConf:B,showAltText:I,blurComplete:F,defaultLoader:_}=e,z=B||r.imageConfigDefault;if("allSizes"in z)u=z;else{let t=[...z.deviceSizes,...z.imageSizes].sort((t,e)=>t-e),e=z.deviceSizes.sort((t,e)=>t-e),n=null==(i=z.qualities)?void 0:i.sort((t,e)=>t-e);u={...z,allSizes:t,deviceSizes:e,qualities:n}}if(void 0===_)throw Object.defineProperty(Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config"),"__NEXT_ERROR_CODE",{value:"E163",enumerable:!1,configurable:!0});let N=O.loader||_;delete O.loader,delete O.srcSet;let W="__next_img_default"in N;if(W){if("custom"===u.loader)throw Object.defineProperty(Error('Image with src "'+c+'" is missing "loader" prop.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader'),"__NEXT_ERROR_CODE",{value:"E252",enumerable:!1,configurable:!0})}else{let t=N;N=e=>{let{config:i,...n}=e;return t(n)}}if(V){"fill"===V&&(b=!0);let t={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[V];t&&(S={...S,...t});let e={responsive:"100vw",fill:"100vw"}[V];e&&!p&&(p=e)}let U="",G=a(x),$=a(w),q=!1;if((l=c)&&"object"==typeof l&&(o(l)||void 0!==l.src)){let t=o(c)?c.default:c;if(!t.src)throw Object.defineProperty(Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received "+JSON.stringify(t)),"__NEXT_ERROR_CODE",{value:"E460",enumerable:!1,configurable:!0});if(!t.height||!t.width)throw Object.defineProperty(Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received "+JSON.stringify(t)),"__NEXT_ERROR_CODE",{value:"E48",enumerable:!1,configurable:!0});if(h=t.blurWidth,d=t.blurHeight,E=E||t.blurDataURL,U=t.src,q=/\.avif(?:\?|$)/i.test(U),!b)if(G||$){if(G&&!$){let e=G/t.width;$=Math.round(t.height*e)}else if(!G&&$){let e=$/t.height;G=Math.round(t.width*e)}}else G=t.width,$=t.height}q&&"blur"===k&&!E&&(k="empty");let X=!m&&("lazy"===y||void 0===y);(!(c="string"==typeof c?c:U)||c.startsWith("data:")||c.startsWith("blob:"))&&(f=!0,X=!1),u.unoptimized&&(f=!0),W&&!u.dangerouslyAllowSVG&&c.split("?",1)[0].endsWith(".svg")&&(f=!0);let Y=a(v),H=Object.assign(b?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:D,objectPosition:R}:{},I?{}:{color:"transparent"},S),K=F||"empty"===k?null:"blur"===k?'url("data:image/svg+xml;charset=utf-8,'+(0,n.getImageBlurSvg)({widthInt:G,heightInt:$,blurWidth:h,blurHeight:d,blurDataURL:E||"",objectFit:H.objectFit})+'")':'url("'+k+'")',Z=s.includes(H.objectFit)?"fill"===H.objectFit?"100% 100%":"cover":H.objectFit,Q=K?{backgroundSize:Z,backgroundPosition:H.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:K}:{},J=function(t){let{config:e,src:i,unoptimized:n,width:r,quality:s,sizes:o,loader:a}=t;if(n)return{src:i,srcSet:void 0,sizes:void 0};let{widths:l,kind:u}=function(t,e,i){let{deviceSizes:n,allSizes:r}=t;if(i){let t=/(^|\s)(1?\d?\d)vw/g,e=[];for(let n;n=t.exec(i);)e.push(parseInt(n[2]));if(e.length){let t=.01*Math.min(...e);return{widths:r.filter(e=>e>=n[0]*t),kind:"w"}}return{widths:r,kind:"w"}}return"number"!=typeof e?{widths:n,kind:"w"}:{widths:[...new Set([e,2*e].map(t=>r.find(e=>e>=t)||r[r.length-1]))],kind:"x"}}(e,r,o),h=l.length-1;return{sizes:o||"w"!==u?o:"100vw",srcSet:l.map((t,n)=>a({config:e,src:i,quality:s,width:t})+" "+("w"===u?t:n+1)+u).join(", "),src:a({config:e,src:i,quality:s,width:l[h]})}}({config:u,src:c,unoptimized:f,width:G,quality:Y,sizes:p,loader:N});return{props:{...O,loading:X?"lazy":y,fetchPriority:M,width:G,height:$,decoding:C,className:g,style:{...H,...Q},sizes:J.sizes,srcSet:J.srcSet,src:P||J.src},meta:{unoptimized:f,priority:m,placeholder:k,fill:b}}}},5130:(t,e,i)=>{i.d(e,{j:()=>k});var n=i(9150),r=i(3656),s=i(8041),o=i(1391),a=i(5389),l=i(4888),u=i(8894),h=i(4807);function d(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 c=i(1739);function p(t,e){return i=>i>0?e:t}var f=i(9361);let m=(t,e,i)=>{let n=t*t,r=i*(e*e-n)+n;return r<0?0:Math.sqrt(r)},y=[u.u,c.B,h.V];function g(t){let e=y.find(e=>e.test(t));if(!e)return(0,s.$)(!1,`'${t}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!1;let i=e.parse(t);return e===h.V&&(i=function({hue:t,saturation:e,lightness:i,alpha:n}){t/=360,i/=100;let r=0,s=0,o=0;if(e/=100){let n=i<.5?i*(1+e):i+e-i*e,a=2*i-n;r=d(a,n,t+1/3),s=d(a,n,t),o=d(a,n,t-1/3)}else r=s=o=i;return{red:Math.round(255*r),green:Math.round(255*s),blue:Math.round(255*o),alpha:n}}(i)),i}let v=(t,e)=>{let i=g(t),n=g(e);if(!i||!n)return p(t,e);let r={...i};return t=>(r.red=m(i.red,n.red,t),r.green=m(i.green,n.green,t),r.blue=m(i.blue,n.blue,t),r.alpha=(0,f.k)(i.alpha,n.alpha,t),c.B.transform(r))},x=new Set(["none","hidden"]);function w(t,e){return i=>(0,f.k)(t,e,i)}function b(t){return"number"==typeof t?w:"string"==typeof t?(0,o.pG)(t)?p:a.y.test(t)?v:T:Array.isArray(t)?S:"object"==typeof t?a.y.test(t)?v:P:p}function S(t,e){let i=[...t],n=i.length,r=t.map((t,i)=>b(t)(t,e[i]));return t=>{for(let e=0;e{for(let e in n)i[e]=n[e](t);return i}}let T=(t,e)=>{let i=l.f.createTransformer(e),n=(0,l.Vf)(t),o=(0,l.Vf)(e);return n.indexes.var.length===o.indexes.var.length&&n.indexes.color.length===o.indexes.color.length&&n.indexes.number.length>=o.indexes.number.length?x.has(t)&&!o.values.length||x.has(e)&&!n.values.length?function(t,e){return x.has(t)?i=>i<=0?t:e:i=>i>=1?e:t}(t,e):(0,r.F)(S(function(t,e){let i=[],n={color:0,var:0,number:0};for(let r=0;r(0,n.a)((0,f.k)(o,a,t))+s}(t,e);if(i)return i}return b(t)(t,e)}},5239:(t,e,i)=>{i.d(e,{default:()=>r.a});var n=i(4652),r=i.n(n)},5242:(t,e,i)=>{i.d(e,{f:()=>n});let n=(t,e)=>e?1e3/e*t:0},5389:(t,e,i)=>{i.d(e,{y:()=>o});var n=i(8894),r=i(4807),s=i(1739);let o={test:t=>s.B.test(t)||n.u.test(t)||r.V.test(t),parse:t=>s.B.test(t)?s.B.parse(t):r.V.test(t)?r.V.parse(t):n.u.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?s.B.transform(t):r.V.transform(t),getAnimatableNone:t=>{let e=o.parse(t);return e.alpha=0,o.transform(e)}}},5516:(t,e,i)=>{i.d(e,{V:()=>n});let n=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2},5601:(t,e,i)=>{i.d(e,{xQ:()=>s});var n=i(2115),r=i(9686);function s(){let t=!(arguments.length>0)||void 0===arguments[0]||arguments[0],e=(0,n.useContext)(r.t);if(null===e)return[!0,null];let{isPresent:i,onExitComplete:s,register:o}=e,a=(0,n.useId)();(0,n.useEffect)(()=>{if(t)return o(a)},[t]);let l=(0,n.useCallback)(()=>t&&s&&s(a),[a,s,t]);return!i&&s?[!1,l]:[!0]}},6105:(t,e,i)=>{function n(t,e){-1===t.indexOf(e)&&t.push(e)}function r(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}i.d(e,{Ai:()=>r,Kq:()=>n})},6121:(t,e,i)=>{i.d(e,{i:()=>b});var n=i(6262);let r=(0,n.A)(.42,0,1,1),s=(0,n.A)(0,0,.58,1),o=(0,n.A)(.42,0,.58,1);var a=i(8041),l=i(4119),u=i(2080),h=i(8605),d=i(9809),c=i(1943);let p={linear:l.l,easeIn:r,easeInOut:o,easeOut:s,circIn:d.po,circInOut:d.tn,circOut:d.yT,backIn:h.dg,backInOut:h.ZZ,backOut:h.Sz,anticipate:u.b},f=t=>{if((0,c.D)(t)){(0,a.V)(4===t.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[e,i,r,s]=t;return(0,n.A)(e,i,r,s)}return"string"==typeof t?((0,a.V)(void 0!==p[t],`Invalid easing type '${t}'`,"invalid-easing-type"),p[t]):t};var m=i(42),y=i(8895),g=i(6706),v=i(5130),x=i(1225),w=i(9361);function b({duration:t=300,keyframes:e,times:i,ease:n="easeInOut"}){var r;let s=Array.isArray(n)&&"number"!=typeof n[0]?n.map(f):f(n),a={done:!1,value:e[0]};if(2===e.length&&!Array.isArray(s)&&(!i||2!==i.length||0===i[0]&&1===i[1])){let[i,n]=e,r=i===n?void 0:(m.W.mix||v.j)(i,n);return{calculatedDuration:t,next:e=>(a.value=r?r(s(t>0?(0,y.q)(0,1,e/t):1)):n,a.done=e>=t,a)}}let l=(r=i&&i.length===e.length?i:function(t){let e=[0];return!function(t,e){let i=t[t.length-1];for(let n=1;n<=e;n++){let r=(0,x.q)(0,e,n);t.push((0,w.k)(i,1,r))}}(e,t.length-1),e}(e),r.map(e=>e*t)),u=(0,g.G)(l,e,{ease:Array.isArray(s)?s:e.map(()=>s||o).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(a.value=u(e),a.done=e>=t,a)}}},6204:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(4294).A)("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]])},6262:(t,e,i)=>{i.d(e,{A:()=>s});var n=i(4119);let r=(t,e,i)=>(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t;function s(t,e,i,s){return t===e&&i===s?n.l:n=>0===n||1===n?n:r(function(t,e,i,n,s){let o,a,l=0;do(o=r(a=e+(i-e)/2,n,s)-t)>0?i=a:e=a;while(Math.abs(o)>1e-7&&++l<12);return a}(n,0,1,t,i),e,s)}},6436:(t,e,i)=>{i.d(e,{E:()=>r});var n=i(2115);let r="undefined"!=typeof window?n.useLayoutEffect:n.useEffect},6497:(t,e,i)=>{i.d(e,{N:()=>x});var n=i(5155),r=i(2115),s=i(296),o=i(4416),a=i(6436),l=i(9686),u=i(1402),h=i(3127);function d(t,e){if("function"==typeof t)return t(e);null!=t&&(t.current=e)}class c extends r.Component{getSnapshotBeforeUpdate(t){let e=this.props.childRef.current;if((0,u.s)(e)&&t.isPresent&&!this.props.isPresent&&!1!==this.props.pop){let t=e.offsetParent,i=(0,u.s)(t)&&t.offsetWidth||0,n=(0,u.s)(t)&&t.offsetHeight||0,r=getComputedStyle(e),s=this.props.sizeRef.current;s.height=parseFloat(r.height),s.width=parseFloat(r.width),s.top=e.offsetTop,s.left=e.offsetLeft,s.right=i-s.width-s.left,s.bottom=n-s.height-s.top,s.direction=r.direction}return null}componentDidUpdate(){}render(){return this.props.children}}function p(t){var e,i;let{children:s,isPresent:o,anchorX:a,anchorY:l,root:u,pop:p}=t,f=(0,r.useId)(),m=(0,r.useRef)(null),y=(0,r.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0,direction:"ltr"}),{nonce:g}=(0,r.useContext)(h.Q),v=function(...t){return r.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{let{width:t,height:e,top:i,left:n,right:r,bottom:s,direction:h}=y.current;if(o||!1===p||!m.current||!t||!e)return;let d="rtl"===h;m.current.dataset.motionPopId=f;let c=document.createElement("style");g&&(c.nonce=g);let v=null!=u?u:document.head;return v.appendChild(c),c.sheet&&c.sheet.insertRule('\n [data-motion-pop-id="'.concat(f,'"] {\n position: absolute !important;\n width: ').concat(t,"px !important;\n height: ").concat(e,"px !important;\n ").concat("left"===a?d?"right: ".concat(r):"left: ".concat(n):d?"left: ".concat(n):"right: ".concat(r),"px !important;\n ").concat("bottom"===l?"bottom: ".concat(s):"top: ".concat(i),"px !important;\n }\n ")),()=>{var t;null==(t=m.current)||t.removeAttribute("data-motion-pop-id"),v.contains(c)&&v.removeChild(c)}},[o]),(0,n.jsx)(c,{isPresent:o,childRef:m,sizeRef:y,pop:p,children:!1===p?s:r.cloneElement(s,{ref:v})})}let f=t=>{let{children:e,initial:i,isPresent:s,onExitComplete:u,custom:h,presenceAffectsLayout:d,mode:c,anchorX:f,anchorY:y,root:g}=t,v=(0,o.M)(m),x=(0,r.useId)(),w=(0,r.useRef)(s),b=(0,r.useRef)(u);(0,a.E)(()=>{w.current=s,b.current=u});let S=!0,P=(0,r.useMemo)(()=>(S=!1,{id:x,initial:i,isPresent:s,custom:h,onExitComplete:t=>{for(let e of(v.set(t,!0),v.values()))if(!e)return;u&&u()},register:t=>(v.set(t,!1),()=>{var e;v.delete(t),w.current||v.size||null==(e=b.current)||e.call(b)})}),[s,v,u]);return d&&S&&(P={...P}),(0,r.useMemo)(()=>{v.forEach((t,e)=>v.set(e,!1))},[s]),r.useEffect(()=>{s||v.size||!u||u()},[s]),e=(0,n.jsx)(p,{pop:"popLayout"===c,isPresent:s,anchorX:f,anchorY:y,root:g,children:e}),(0,n.jsx)(l.t.Provider,{value:P,children:e})};function m(){return new Map}var y=i(5601);let g=t=>t.key||"";function v(t){let e=[];return r.Children.forEach(t,t=>{(0,r.isValidElement)(t)&&e.push(t)}),e}let x=t=>{let{children:e,custom:i,initial:l=!0,onExitComplete:u,presenceAffectsLayout:h=!0,mode:d="sync",propagate:c=!1,anchorX:p="left",anchorY:m="top",root:x}=t,[w,b]=(0,y.xQ)(c),S=(0,r.useMemo)(()=>v(e),[e]),P=c&&!w?[]:S.map(g),T=(0,r.useRef)(!0),A=(0,r.useRef)(S),k=(0,o.M)(()=>new Map),E=(0,r.useRef)(new Set),[M,C]=(0,r.useState)(S),[V,D]=(0,r.useState)(S);(0,a.E)(()=>{!c||w||V.length||null==b||b()},[w,c,V.length,b]),(0,a.E)(()=>{T.current=!1,A.current=S;for(let t=0;t{let e=g(t),r=(!c||!!w)&&(S===V||P.includes(e));return(0,n.jsx)(f,{isPresent:r,initial:(!T.current||!!l)&&void 0,custom:i,presenceAffectsLayout:h,mode:d,root:x,onExitComplete:r?void 0:()=>{if(E.current.has(e)||!k.has(e))return;E.current.add(e),k.set(e,!0);let t=!0;k.forEach(e=>{e||(t=!1)}),t&&(null==j||j(),D(A.current),c&&(null==b||b()),u&&u())},anchorX:p,anchorY:m,children:t},e)})})}},6615:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(4294).A)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},6706:(t,e,i)=>{i.d(e,{G:()=>h});var n=i(42),r=i(4119),s=i(3656),o=i(8041),a=i(1225),l=i(8895),u=i(5130);function h(t,e,{clamp:i=!0,ease:d,mixer:c}={}){let p=t.length;if((0,o.V)(p===e.length,"Both input and output ranges must be the same length","range-length"),1===p)return()=>e[0];if(2===p&&e[0]===e[1])return()=>e[1];let f=t[0]===t[1];t[0]>t[p-1]&&(t=[...t].reverse(),e=[...e].reverse());let m=function(t,e,i){let o=[],a=i||n.W.mix||u.j,l=t.length-1;for(let i=0;i{if(f&&i1)for(;ng((0,l.q)(t[0],t[p-1],e)):g}},6815:(t,e,i)=>{i.d(e,{G:()=>n});let n=t=>e=>1-t(1-e)},6876:(t,e,i)=>{i.d(e,{Y:()=>r});var n=i(5242);function r(t,e,i=0){return e<=0?i:t.velocity?t.velocity(e):function(t,e,i){let r=Math.max(e-5,0);return(0,n.f)(i-t(r),e-r)}(e=>t.next(e).value,e,t.next(e).value)}},6940:(t,e,i)=>{let n,r;i.d(e,{P:()=>rL});let s=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],o=new Set([...s,"pathRotation"]);var a=i(5389),l=i(4888),u=i(4531);let h=new Set(["brightness","contrast","saturate","opacity"]);function d(t){let[e,i]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[n]=i.match(u.S)||[];if(!n)return t;let r=i.replace(n,""),s=+!!h.has(e);return n!==i&&(s*=100),e+"("+s+r+")"}let c=/\b([a-z-]*)\(.*?\)/gu,p={...l.f,getAnimatableNone:t=>{let e=t.match(c);return e?e.map(d).join(" "):t}},f={...l.f,getAnimatableNone:t=>{let e=l.f.parse(t);return l.f.createTransformer(t)(e.map(t=>"number"==typeof t?0:"object"==typeof t?{...t,alpha:1}:t))}};var m=i(7822);let y={...m.ai,transform:Math.round};var g=i(2419);let v={rotate:g.uj,pathRotation:g.uj,rotateX:g.uj,rotateY:g.uj,rotateZ:g.uj,scale:m.hs,scaleX:m.hs,scaleY:m.hs,scaleZ:m.hs,skew:g.uj,skewX:g.uj,skewY:g.uj,distance:g.px,translateX:g.px,translateY:g.px,translateZ:g.px,x:g.px,y:g.px,z:g.px,perspective:g.px,transformPerspective:g.px,opacity:m.X4,originX:g.gQ,originY:g.gQ,originZ:g.px},x={borderWidth:g.px,borderTopWidth:g.px,borderRightWidth:g.px,borderBottomWidth:g.px,borderLeftWidth:g.px,borderRadius:g.px,borderTopLeftRadius:g.px,borderTopRightRadius:g.px,borderBottomRightRadius:g.px,borderBottomLeftRadius:g.px,width:g.px,maxWidth:g.px,height:g.px,maxHeight:g.px,top:g.px,right:g.px,bottom:g.px,left:g.px,inset:g.px,insetBlock:g.px,insetBlockStart:g.px,insetBlockEnd:g.px,insetInline:g.px,insetInlineStart:g.px,insetInlineEnd:g.px,padding:g.px,paddingTop:g.px,paddingRight:g.px,paddingBottom:g.px,paddingLeft:g.px,paddingBlock:g.px,paddingBlockStart:g.px,paddingBlockEnd:g.px,paddingInline:g.px,paddingInlineStart:g.px,paddingInlineEnd:g.px,margin:g.px,marginTop:g.px,marginRight:g.px,marginBottom:g.px,marginLeft:g.px,marginBlock:g.px,marginBlockStart:g.px,marginBlockEnd:g.px,marginInline:g.px,marginInlineStart:g.px,marginInlineEnd:g.px,fontSize:g.px,backgroundPositionX:g.px,backgroundPositionY:g.px,...v,zIndex:y,fillOpacity:m.X4,strokeOpacity:m.X4,numOctaves:y},w={...x,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:p,WebkitFilter:p,mask:f,WebkitMask:f},b=t=>w[t],S=()=>({translate:0,scale:1,origin:0,originPoint:0}),P=()=>({x:S(),y:S()}),T=()=>({min:0,max:0}),A=()=>({x:T(),y:T()});var k=i(3182);let E=new Set(["width","height","top","left","right","bottom",...s]),M=[m.ai,g.px,g.KN,g.uj,g.vw,g.vh,{test:t=>"auto"===t,parse:t=>t}],C=t=>M.find(e=>e.test(t));var V=i(8041);let D=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t);var R=i(1391);let j=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,L=t=>/^0[^.\s]+$/u.test(t),O=new Set([p,f]);function B(t,e){let i=b(t);return O.has(i)||(i=l.f),i.getAnimatableNone?i.getAnimatableNone(e):void 0}let I=t=>180*t/Math.PI,F=t=>z(I(Math.atan2(t[1],t[0]))),_={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:F,rotateZ:F,skewX:t=>I(Math.atan(t[1])),skewY:t=>I(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},z=t=>((t%=360)<0&&(t+=360),t),N=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),W=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),U={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:N,scaleY:W,scale:t=>(N(t)+W(t))/2,rotateX:t=>z(I(Math.atan2(t[6],t[5]))),rotateY:t=>z(I(Math.atan2(-t[2],t[0]))),rotateZ:F,rotate:F,skewX:t=>I(Math.atan(t[4])),skewY:t=>I(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function G(t){return+!!t.includes("scale")}function $(t,e){let i,n;if(!t||"none"===t)return G(e);let r=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(r)i=U,n=r;else{let e=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=_,n=e}if(!n)return G(e);let s=i[e],o=n[1].split(",").map(q);return"function"==typeof s?s(o):o[s]}function q(t){return parseFloat(t.trim())}let X=t=>t===m.ai||t===g.px,Y=new Set(["x","y","z"]),H=s.filter(t=>!Y.has(t)),K=new Set(["bottom","right"]);function Z(t,e,i,n,r,s){let o=parseFloat(t);if(!isNaN(o))return o;let{min:a,max:l}=e()[i],u=l-a;return"border-box"===s?u:u-parseFloat(n)-parseFloat(r)}let Q={width:({width:t,paddingLeft:e="0",paddingRight:i="0",boxSizing:n},r)=>Z(t,r,"x",e,i,n),height:({height:t,paddingTop:e="0",paddingBottom:i="0",boxSizing:n},r)=>Z(t,r,"y",e,i,n),top:({top:t})=>parseFloat(t),left:({left:t})=>parseFloat(t),bottom:({top:t},e)=>{let{y:i}=e();return parseFloat(t)+(i.max-i.min)},right:({left:t},e)=>{let{x:i}=e();return parseFloat(t)+(i.max-i.min)},x:({transform:t})=>$(t,"x"),y:({transform:t})=>$(t,"y")};Q.translateX=Q.x,Q.translateY=Q.y;var J=i(3934);let tt=new Set,te=!1,ti=!1,tn=!1;function tr(){if(ti){let t=[],e=new Set,i=new Set;tt.forEach(n=>{n.needsMeasurement&&(t.push(n),e.add(n.element),K.has(n.name)&&i.add(n.element))});let n=new Map;i.forEach(t=>{let e=function(t){let e=[];return H.forEach(i=>{let n=t.getValue(i);if(void 0!==n){let t=n.get(),r=+!!i.startsWith("scale");if(t===r)return;e.push([i,t]),n.set(r)}}),e}(t);e.length&&(n.set(t,e),t.render())}),t.forEach(t=>t.measureInitialState()),e.forEach(t=>{t.render();let e=n.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)})}ti=!1,te=!1,tt.forEach(t=>t.complete(tn)),tt.clear()}function ts(){tt.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(ti=!0)})}class to{constructor(t,e,i,n,r,s=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=i,this.motionValue=n,this.element=r,this.isAsync=s}scheduleResolve(){this.state="scheduled",this.isAsync?(tt.add(this),te||(te=!0,J.Gt.read(ts),J.Gt.resolveKeyframes(tr))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:e,element:i,motionValue:n}=this;if(null===t[0]){let r=n?.get(),s=t[t.length-1];if(void 0!==r)t[0]=r;else if(i&&e){let n=function(t,e,i){if("string"==typeof t){if(D(t)||L(t))return parseFloat(t);else if(!l.f.test(t)&&l.f.test(i))return B(e,i)}return t??void 0}(i.readValue(e,s),e,s);void 0!==n&&(t[0]=n)}void 0===t[0]&&(t[0]=s),n&&void 0===r&&n.set(t[0])}for(let e=1;et.measureViewportBox())}measureInitialState(){let{element:t,unresolvedKeyframes:e,name:i}=this;if(!t||!t.current)return;"height"===i&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=this.measure(),e[0]=this.measuredOrigin;let n=e[e.length-1];void 0!==n&&this.motionValue?.jump(n,!1)}measureEndState(){let{element:t,unresolvedKeyframes:e}=this;if(!t||!t.current)return;this.motionValue?.jump(this.measuredOrigin,!1);let i=e.length-1,n=e[i];e[i]=this.measure(),null!==n&&void 0===this.finalKeyframe&&(this.finalKeyframe=n),this.removedTransforms?.length&&this.removedTransforms.forEach(([e,i])=>{t.getValue(e).set(i)}),this.resolveNoneKeyframes()}}var tu=i(7290),th=i(8453),td=i(4119);function tc(t,e,i){e.startsWith("--")?t.style.setProperty(e,i):t.style[e]=i}function tp(t){let e;return()=>(void 0===e&&(e=t()),e)}let tf={};function tm(t,e){let i=tp(t);return()=>tf[e]??i()}let ty=tm(()=>void 0!==window.ScrollTimeline,"scrollTimeline"),tg=t=>null!==t;function tv(t,{repeat:e,repeatType:i="loop"},n,r=1){let s=t.filter(tg),o=r<0||e&&"loop"!==i&&e%2==1?0:s.length-1;return o&&void 0!==n?n:s[o]}var tx=i(7671),tw=i(7424);function tb(t,e){return{kind:t,animation:e,timestamp:tw.k.now(),frameTimestamp:J.uv.timestamp,frameIsProcessing:J.uv.isProcessing}}function tS(t,e,i){let n=globalThis.__MOTION_INSPECT__;if(n)try{n({...tb("animation-start",t),options:i?{...e,...i}:e})}catch{}}var tP=i(1943);let tT=tm(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch(t){return!1}return!0},"linearEasing");var tA=i(3754);let tk=([t,e,i,n])=>`cubic-bezier(${t}, ${e}, ${i}, ${n})`,tE={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:tk([0,.65,.55,1]),circOut:tk([.55,0,1,.45]),backIn:tk([.31,.01,.66,-.59]),backOut:tk([.33,1.53,.69,.99])};function tM(t){return"function"==typeof t&&"applyToOptions"in t}class tC extends tx.q{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;let{element:e,name:i,keyframes:n,pseudoElement:r,allowFlatten:s=!1,finalKeyframe:o,onComplete:a}=t;this.isPseudoElement=!!r,this.allowFlatten=s,this.options=t,(0,V.V)("string"!=typeof t.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");let l=function({type:t,...e}){return tM(t)&&tT()?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:r=300,repeat:s=0,repeatType:o="loop",ease:a="easeOut",times:l}={},u){let h={[e]:i};l&&(h.offset=l);let d=function t(e,i){if(e)return"function"==typeof e?tT()?(0,tA.K)(e,i):"ease-out":(0,tP.D)(e)?tk(e):Array.isArray(e)?e.map(e=>t(e,i)||tE.easeOut):tE[e]}(a,r);Array.isArray(d)&&(h.easing=d);let c={delay:n,duration:r,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:s+1,direction:"reverse"===o?"alternate":"normal"};return u&&(c.pseudoElement=u),t.animate(h,c)}(e,i,n,l,r),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!r){let t=tv(n,this.options,o,this.speed);this.updateMotionValue&&this.updateMotionValue(t),tc(e,i,t),this.animation.cancel()}a?.(),this.notifyFinished()},tS(this,t,l)}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,tu.X)(Number(t))}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+(0,tu.X)(t)}get time(){return(0,tu.X)(Number(this.animation.currentTime)||0)}set time(t){let e=null!==this.finishedTime;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=(0,tu.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&&ty())?(this.animation.timeline=t,e&&(this.animation.rangeStart=e),i&&(this.animation.rangeEnd=i),td.l):n(this)}}let tV=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),{schedule:tD}=(0,i(4300).I)(queueMicrotask,!1);var tR=i(2039);let tj=new WeakMap;function tL(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}function tO(t){return"string"==typeof t||Array.isArray(t)}let tB=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],tI=["initial",...tB];function tF(t){if(tL(t.animate))return!0;for(let e=0;e{e[0][i]=t.get(),e[1][i]=t.getVelocity()}),e}function tG(t,e,i,n){if("function"==typeof e){let[r,s]=tU(n);e=e(void 0!==i?i:t.custom,r,s)}if("string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e){let[r,s]=tU(n);e=e(void 0!==i?i:t.custom,r,s)}return e}let t$=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],tq={};class tX{scrapeMotionValuesFromProps(t,e,i){return{}}constructor({parent:t,props:e,presenceContext:i,reducedMotionConfig:n,skipAnimations:r,blockInitialAnimation:s,visualState:o},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=to,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=tw.k.now();this.renderScheduledAtthis.bindToMotionValue(e,t)),"never"===this.reducedMotionConfig?this.shouldReduceMotion=!1:"always"===this.reducedMotionConfig?this.shouldReduceMotion=!0:(tN.current||function(){if(tN.current=!0,tW)if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>tz.current=t.matches;t.addEventListener("change",e),e()}else tz.current=!1}(),this.shouldReduceMotion=tz.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,J.WG)(this.notifyUpdate),(0,J.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&&tV.has(t)&&this.current instanceof HTMLElement){let{factory:i,keyframes:n,times:r,ease:s,duration:o}=e.accelerate,a=new tC({element:this.current,name:t,keyframes:n,times:r,ease:s,duration:(0,tu.f)(o)}),l=i(a);this.valueSubscriptions.set(t,()=>{l(),a.cancel()});return}let n=o.has(t);n&&this.onBindTransform&&this.onBindTransform();let r=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&J.Gt.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});"undefined"!=typeof window&&window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{r(),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 tq){let e=tq[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):A()}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;ee.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,tR.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];return null!=i&&("string"==typeof i&&(D(i)||L(i))?i=parseFloat(i):"number"!=typeof i&&!l.f.test(i)&&l.f.test(e)&&(i=B(t,e)),this.setBaseTarget(t,(0,k.S)(i)?i.get():i)),(0,k.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=tG(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,k.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 th.v),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}scheduleRenderMicrotask(){tD.render(this.render)}}class tY extends tX{constructor(){super(...arguments),this.KeyframeResolver=tl}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,k.S)(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}function tH(t){return t.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`)}let tK=(t,e)=>e&&"number"==typeof t?e.transform(t):t,tZ={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},tQ=s.length;function tJ(t,e,i){let{style:n,vars:r,transformOrigin:a}=t,l=!1,u=!1;for(let t in e){let i=e[t];if(o.has(t)){l=!0;continue}if((0,R.j4)(t)){r[t]=i;continue}{let e=tK(i,x[t]);t.startsWith("origin")?(u=!0,a[t]=e):n[t]=e}}if(!e.transform&&(l||i?n.transform=function(t,e,i){let n="",r=!0;for(let o=0;o"string"==typeof t&&"svg"===t.toLowerCase();function t9(t,{style:e,vars:i},n,r){let s,o=t.style;for(s in e)o[s]=e[s];for(s in r?.applyProjectionStyles(o,n),i)o.setProperty(s,i[s])}let t6=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"];function t8(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let t7={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t)if(!g.px.test(t))return t;else t=parseFloat(t);let i=t8(t,e.target.x),n=t8(t,e.target.y);return`${i}% ${n}%`}};var et=i(9361);let ee={borderRadius:{...t7,applyTo:[...t6]},borderTopLeftRadius:t7,borderTopRightRadius:t7,borderBottomLeftRadius:t7,borderBottomRightRadius:t7,boxShadow:{correct:(t,{treeScale:e,projectionDelta:i})=>{let n=l.f.parse(t);if(n.length>5)return t;let r=l.f.createTransformer(t),s=+("number"!=typeof n[0]),o=i.x.scale*e.x,a=i.y.scale*e.y;n[0+s]/=o,n[1+s]/=a;let u=(0,et.k)(o,a,.5);return"number"==typeof n[2+s]&&(n[2+s]/=u),"number"==typeof n[3+s]&&(n[3+s]/=u),r(n)}}};function ei(t,{layout:e,layoutId:i}){return o.has(t)||t.startsWith("origin")||(e||void 0!==i)&&(!!ee[t]||"opacity"===t)}function en(t,e,i){let n=t.style,r=e?.style,s={};if(!n)return s;for(let e in n)((0,k.S)(n[e])||r&&(0,k.S)(r[e])||ei(e,t)||i?.getValue(e)?.liveStyle!==void 0)&&(s[e]=n[e]);return s}function er(t,e,i){let n=en(t,e,i);for(let i in t)((0,k.S)(t[i])||(0,k.S)(e[i]))&&(n[-1!==s.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=t[i]);return n}class es extends tY{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=A}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(o.has(e)){let t=b(e);return t&&t.default||0}if(t2.includes(e)){let i=getComputedStyle(t)[e];if("string"==typeof i&&i)return i.trim()}return e=t5.has(e)?e:tH(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,i){return er(t,e,i)}build(t,e,i){t4(t,e,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(t,e,i,n){for(let i in t9(t,e,void 0,n),e.attrs)t.setAttribute(t5.has(i)?i:tH(i),e.attrs[i])}mount(t){this.isSVGTag=t3(t.tagName),super.mount(t)}}function eo({top:t,left:e,right:i,bottom:n}){return{x:{min:e,max:i},y:{min:t,max:n}}}function ea(t){return void 0===t||1===t}function el({scale:t,scaleX:e,scaleY:i}){return!ea(t)||!ea(e)||!ea(i)}function eu(t){return el(t)||eh(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function eh(t){var e,i;return(e=t.x)&&"0%"!==e||(i=t.y)&&"0%"!==i}function ed(t,e,i,n,r){return void 0!==r&&(t=n+r*(t-n)),n+i*(t-n)+e}function ec(t,e=0,i=1,n,r){t.min=ed(t.min,e,i,n,r),t.max=ed(t.max,e,i,n,r)}function ep(t,{x:e,y:i}){ec(t.x,e.translate,e.scale,e.originPoint),ec(t.y,i.translate,i.scale,i.originPoint)}function ef(t,e){t.min+=e,t.max+=e}function em(t,e,i,n,r=.5){let s=(0,et.k)(t.min,t.max,r);ec(t,e,i,s,n)}function ey(t,e){return"string"==typeof t?parseFloat(t)/100*(e.max-e.min):t}function eg(t,e,i){let n=i??t;em(t.x,ey(e.x,n.x),e.scaleX,e.scale,e.originX),em(t.y,ey(e.y,n.y),e.scaleY,e.scale,e.originY)}function ev(t,e){return eo(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 ex extends tY{constructor(){super(...arguments),this.type="html",this.renderInstance=t9}mount(t){(0,V.V)(!!t.style,"motion.create() components must forward their ref to a HTML or SVG element","custom-component-ref"),super.mount(t)}readValueFromInstance(t,e){if(o.has(e))return this.projection?.isProjecting?G(e):((t,e)=>{let{transform:i="none"}=getComputedStyle(t);return $(i,e)})(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 ev(t,e)}build(t,e,i){tJ(t,e,i.transformTemplate)}scrapeMotionValuesFromProps(t,e,i){return en(t,e,i)}}var ew=i(2115);let eb=["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 eS(t){if("string"!=typeof t||t.includes("-"));else if(eb.indexOf(t)>-1||/[A-Z]/u.test(t))return!0;return!1}var eP=i(5155),eT=i(296);let eA=(0,ew.createContext)({strict:!1});var ek=i(3127);let eE=(0,ew.createContext)({});function eM(t){return Array.isArray(t)?t.join(" "):t}let eC=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function eV(t,e,i){for(let n in e)(0,k.S)(e[n])||ei(n,i)||(t[n]=e[n])}let eD=()=>({...eC(),attrs:{}}),eR=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function ej(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||eR.has(t)}function eL(t){return(0,k.S)(t)?t.get():t}var eO=i(9686),eB=i(4416);let eI=t=>(e,i)=>{let n=(0,ew.useContext)(eE),r=(0,ew.useContext)(eO.t),s=()=>(function(t,e,i,n){let{scrapeMotionValuesFromProps:r,createRenderState:s}=t;return{latestValues:function(t,e,i,n){let r={},s=n(t,{});for(let t in s)r[t]=eL(s[t]);let{initial:o,animate:a}=t,l=tF(t),u=t_(t);e&&u&&!l&&!1!==t.inherit&&(void 0===o&&(o=e.initial),void 0===a&&(a=e.animate));let h=!!i&&!1===i.initial,d=(h=h||!1===o)?a:o;if(d&&"boolean"!=typeof d&&!tL(d)){let e=Array.isArray(d)?d:[d];for(let i=0;iez[e].some(e=>!!t[e])};tq=t,eN=!0}(),tq}let eU=Symbol.for("motionComponentSymbol"),eG="data-"+tH("framerAppearId"),e$=(0,ew.createContext)({});function eq(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}var eX=i(6436);function eY(t){var e,i;let{forwardMotionProps:n=!1,type:r}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},s=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0;s&&function(t){let e=eW();for(let i in t)e[i]={...e[i],...t[i]};tq=e}(s);let a=r?"svg"===r:eS(t),l=a?e_:eF;function u(e,i){let r,s={...(0,ew.useContext)(ek.Q),...e,layoutId:function(t){let{layoutId:e}=t,i=(0,ew.useContext)(eT.L).id;return i&&void 0!==e?i+"-"+e:e}(e)},{isStatic:u,isValidProp:h}=s,d=function(t){let{initial:e,animate:i}=function(t,e){if(tF(t)){let{initial:e,animate:i}=t;return{initial:!1===e||tO(e)?e:void 0,animate:tO(i)?i:void 0}}return!1!==t.inherit?e:{}}(t,(0,ew.useContext)(eE));return(0,ew.useMemo)(()=>({initial:e,animate:i}),[eM(e),eM(i)])}(e),c=l(e,u);if(!u&&"undefined"!=typeof window){(0,ew.useContext)(eA).strict;let e=function(t){let{drag:e,layout:i}=eW();if(!e&&!i)return{};let n={...e,...i};return{MeasureLayout:(null==e?void 0:e.isEnabled(t))||(null==i?void 0:i.isEnabled(t))?n.MeasureLayout:void 0,ProjectionNode:n.ProjectionNode}}(s);r=e.MeasureLayout,d.visualElement=function(t,e,i,n,r,s){var o,a,l,u;let{visualElement:h}=(0,ew.useContext)(eE),d=(0,ew.useContext)(eA),c=(0,ew.useContext)(eO.t),p=(0,ew.useContext)(ek.Q),f=p.reducedMotion,m=p.skipAnimations,y=(0,ew.useRef)(null),g=(0,ew.useRef)(!1);n=n||d.renderer,!y.current&&n&&(y.current=n(t,{visualState:e,parent:h,props:i,presenceContext:c,blockInitialAnimation:!!c&&!1===c.initial,reducedMotionConfig:f,skipAnimations:m,isSVG:s}),g.current&&y.current&&(y.current.manuallyAnimateOnMount=!0));let v=y.current,x=(0,ew.useContext)(e$);v&&!v.projection&&r&&("html"===v.type||"svg"===v.type)&&function(t,e,i,n){let{layoutId:r,layout:s,drag:o,dragConstraints:a,layoutScroll:l,layoutRoot:u,layoutAnchor:h,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:r,layout:s,alwaysMeasureLayout:!!o||a&&eq(a),visualElement:t,animationType:"string"==typeof s?s:"both",initialPromotionConfig:n,crossfade:d,layoutScroll:l,layoutRoot:u,layoutAnchor:h})}(y.current,i,r,x);let w=(0,ew.useRef)(!1);(0,ew.useInsertionEffect)(()=>{v&&w.current&&v.update(i,c)});let b=i[eG],S=(0,ew.useRef)(!!b&&"undefined"!=typeof window&&!(null==(o=(a=window).MotionHandoffIsComplete)?void 0:o.call(a,b))&&(null==(l=(u=window).MotionHasOptimisedAnimation)?void 0:l.call(u,b)));return(0,eX.E)(()=>{g.current=!0,v&&(w.current=!0,window.MotionIsMounted=!0,v.updateFeatures(),v.scheduleRenderMicrotask(),S.current&&v.animationState&&v.animationState.animateChanges())}),(0,ew.useEffect)(()=>{v&&(!S.current&&v.animationState&&v.animationState.animateChanges(),S.current&&(queueMicrotask(()=>{var t,e;null==(t=(e=window).MotionHandoffMarkAsComplete)||t.call(e,b)}),S.current=!1),v.enteringChildren=void 0)}),v}(t,c,s,o,e.ProjectionNode,a)}return(0,eP.jsxs)(eE.Provider,{value:d,children:[r&&d.visualElement?(0,eP.jsx)(r,{visualElement:d.visualElement,...s}):null,function(t,e,i,n,r){let{latestValues:s}=n,o=arguments.length>5&&void 0!==arguments[5]&&arguments[5],a=arguments.length>6?arguments[6]:void 0,l=arguments.length>7?arguments[7]:void 0,u=((null!=a?a:eS(t))?function(t,e,i,n){let r=(0,ew.useMemo)(()=>{let i=eD();return t4(i,e,t3(n),t.transformTemplate,t.style),{...i.attrs,style:{...i.style}}},[e]);if(t.style){let e={};eV(e,t.style,t),r.style={...e,...r.style}}return r}:function(t,e){let i={},n=function(t,e){let i=t.style||{},n={};return eV(n,i,t),Object.assign(n,function(t,e){let{transformTemplate:i}=t;return(0,ew.useMemo)(()=>{let t=eC();return tJ(t,e,i),Object.assign({},t.vars,t.style)},[e])}(t,e)),n}(t,e);return t.drag&&!1!==t.dragListener&&(i.draggable=!1,n.userSelect=n.WebkitUserSelect=n.WebkitTouchCallout="none",n.touchAction=!0===t.drag?"none":"pan-".concat("x"===t.drag?"y":"x")),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(i.tabIndex=0),i.style=n,i})(e,s,r,t),h=function(t,e,i,n){let r={};for(let s in t)("values"!==s||"object"!=typeof t.values)&&!(0,k.S)(t[s])&&((s.startsWith("on")?!ej(s):n?.(s)??!ej(s))||!0===i&&ej(s)||!e&&!ej(s)||t.draggable&&s.startsWith("onDrag"))&&(r[s]=t[s]);return r}(e,"string"==typeof t,o,l),d=t!==ew.Fragment?{...h,...u,ref:i}:{},{children:c}=e,p=(0,ew.useMemo)(()=>(0,k.S)(c)?c.get():c,[c]);return(0,ew.createElement)(t,{...d,children:p})}(t,e,function(t,e,i){let n=(0,ew.useRef)(i);(0,ew.useInsertionEffect)(()=>{n.current=i});let r=(0,ew.useRef)(null);return(0,ew.useCallback)(i=>{if(i){var s;null==(s=t.onMount)||s.call(t,i)}e&&(i?e.mount(i):e.unmount());let o=n.current;if("function"==typeof o)if(i){let t=o(i);"function"==typeof t&&(r.current=t)}else r.current?(r.current(),r.current=null):o(i);else o&&(o.current=i)},[e])}(c,d.visualElement,i),c,u,n,a,h)]})}u.displayName="motion.".concat("string"==typeof t?t:"create(".concat(null!=(i=null!=(e=t.displayName)?e:t.name)?i:"",")"));let h=(0,ew.forwardRef)(u);return h[eU]=t,h}class eH{constructor(t){this.isMounted=!1,this.node=t}update(){}}function eK(t,e,i){let n=t.getProps();return tG(n,e,void 0!==i?i:n.custom,t)}function eZ(t,e){if(t?.inherit&&e){let{inherit:i,...n}=t;return{...e,...n}}return t}function eQ(t,e){let i=t?.[e]??t?.default??t;return i!==t?eZ(i,t):i}let eJ=t=>Array.isArray(t);var e0=i(42);function e1(t,e){let i=t.getValue("willChange");if((0,k.S)(i)&&i.add)return i.add(e);if(!i&&e0.W.WillChange){let i=new e0.W.WillChange("auto");t.addValue("willChange",i),i.add(e)}}var e2=i(3656),e4=i(8895),e5=i(5130);let e3=t=>{let e=({timestamp:e})=>t(e);return{start:(t=!0)=>J.Gt.update(e,t),stop:()=>(0,J.WG)(e),now:()=>J.uv.isProcessing?J.uv.timestamp:tw.k.now()}};var e9=i(561),e6=i(6121),e8=i(8857),e7=i(6876),it=i(625);let ie=t=>t/100;class ii extends tx.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!==tw.k.now()&&this.tick(tw.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(),tS(this,this.options)}initAnimation(){let{options:t}=this;(0,it.E)(t);let{type:e=e6.i,repeat:i=0,repeatDelay:n=0,repeatType:r,velocity:s=0}=t,{keyframes:o}=t,a=e||e6.i;a!==e6.i&&"number"!=typeof o[0]&&(this.mixKeyframes=(0,e2.F)(ie,(0,e5.j)(o[0],o[1])),o=[0,100]);let l=a(o===t.keyframes?t:{...t,keyframes:o});"mirror"===r&&(this.mirroredGenerator=a({...t,keyframes:[...o].reverse(),velocity:-s})),null===l.calculatedDuration&&(l.calculatedDuration=(0,e8.t)(l));let{calculatedDuration:u}=l;this.calculatedDuration=u,this.resolvedDuration=u+n,this.totalDuration=this.resolvedDuration*(i+1)-n,this.generator=l}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:r,mixKeyframes:s,mirroredGenerator:o,resolvedDuration:a,calculatedDuration:l}=this;if(null===this.startTime)return n.next(0);let{delay:u=0,keyframes:h,repeat:d,repeatType:c,repeatDelay:p,type:f,onUpdate:m,finalKeyframe:y}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-r/this.speed,this.startTime)),e?this.currentTime=t:this.updateTime(t);let g=this.currentTime-u*(this.playbackSpeed>=0?1:-1),v=this.playbackSpeed>=0?g<0:g>r;this.currentTime=Math.max(g,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=r);let x=this.currentTime,w=n;if(d){let t=Math.min(this.currentTime,r)/a,e=Math.floor(t),i=t%1;!i&&t>=1&&(i=1),1===i&&e--,(e=Math.min(e,d+1))%2&&("reverse"===c?(i=1-i,p&&(i-=p/a)):"mirror"===c&&(w=o)),x=(0,e4.q)(0,1,i)*a}v?(this.delayState.value=h[0],i=this.delayState):i=w.next(x),s&&!v&&(i.value=s(i.value));let{done:b}=i;v||null===l||(b=this.playbackSpeed>=0?this.currentTime>=r:this.currentTime<=0);let S=null===this.holdTime&&("finished"===this.state||"running"===this.state&&b);return S&&f!==e9.B&&(i.value=tv(h,this.options,y,this.speed)),m&&m(i.value),S&&this.finish(),i}then(t,e){return this.finished.then(t,e)}get duration(){return(0,tu.X)(this.calculatedDuration)}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+(0,tu.X)(t)}get time(){return(0,tu.X)(this.currentTime)}set time(t){t=(0,tu.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(){return(0,e7.Y)(this.generator,this.currentTime,this.options.velocity)}get speed(){return this.playbackSpeed}set speed(t){let e=this.playbackSpeed!==t;e&&this.driver&&this.updateTime(tw.k.now()),this.playbackSpeed=t,e&&this.driver&&(this.time=(0,tu.X)(this.currentTime))}play(){if(this.isStopped)return;let{driver:t=e3,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(tw.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 ir=i(2080),is=i(8605),io=i(9809);let ia={anticipate:ir.b,backInOut:is.ZZ,circInOut:io.tn};class il extends tC{constructor(t){!function(t){"string"==typeof t.ease&&t.ease in ia&&(t.ease=ia[t.ease])}(t),(0,it.E)(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:r,...s}=this.options;if(!e)return;if(void 0!==t)return void e.set(t);let o=new ii({...s,autoplay:!1}),a=Math.max(10,tw.k.now()-this.startTime),l=(0,e4.q)(0,10,a-10),u=o.sample(a).value,{name:h}=this.options;r&&h&&tc(r,h,u),e.setWithVelocity(o.sample(Math.max(0,a-l)).value,u,l),o.stop()}}let iu=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(l.f.test(t)||"0"===t)&&!t.startsWith("url("));function ih(t){t.duration=0,t.type="keyframes"}let id=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/,ic=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),ip=tp(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class im extends tx.q{constructor(t){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=tw.k.now();let{keyframes:e,name:i,motionValue:n,element:r}=t;t.autoplay??(t.autoplay=!0),t.delay??(t.delay=0),t.type??(t.type="keyframes"),t.repeat??(t.repeat=0),t.repeatDelay??(t.repeatDelay=0),t.repeatType??(t.repeatType="loop");let s=r?.KeyframeResolver||to;this.keyframeResolver=new s(e,(e,i,n)=>this.onKeyframesResolved(e,i,t,!n),i,n,r),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,e,i,n){let r;this.keyframeResolver=void 0;let{name:s,type:o,velocity:a,delay:l,isHandoff:u,onUpdate:h}=i;this.resolvedAt=tw.k.now();let d=!0;!function(t,e,i,n){let r=t[0];if(null===r)return!1;if("display"===e||"visibility"===e)return!0;let s=t[t.length-1],o=iu(r,e),a=iu(s,e);return o&&a?function(t){let e=t[0];if(1===t.length)return!0;for(let i=0;i40?this.resolvedAt:this.createdAt:void 0,{onComplete:p}=i;if(i.startTime??(i.startTime=c),i.finalKeyframe=e,i.keyframes=t,i.onComplete=()=>{p?.(),this.notifyFinished()},d&&!u&&function(t){let{motionValue:e,name:i,repeatDelay:n,repeatType:r,damping:s,type:o,keyframes:a}=t;if(!i||!(tV.has(i)||ic.has(i)))return!1;let l=e?.owner?.current;if(!(l instanceof HTMLElement)&&!(l instanceof SVGElement))return!1;let{onUpdate:u,transformTemplate:h}=e.owner.getProps();return ip()&&(tV.has(i)||ic.has(i)&&function(t){for(let e=0;e{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),tn=!0,ts(),tr(),tn=!1),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()}}let iy={type:"spring",stiffness:500,damping:25,restSpeed:10},ig={type:"keyframes",duration:.8},iv={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},ix=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]),iw=(t,e,i,n={},r,s)=>a=>{let l=eQ(n,t)||{},u=l.delay||n.delay||0,{elapsed:h=0}=n;h-=(0,tu.f)(u);let d={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:e.getVelocity(),...l,delay:-h,onUpdate:t=>{e.set(t),l.onUpdate&&l.onUpdate(t)},onComplete:()=>{a(),l.onComplete&&l.onComplete()},name:t,motionValue:e,element:s?void 0:r};!function(t){for(let e in t)if(!ix.has(e))return!0;return!1}(l)&&Object.assign(d,((t,{keyframes:e})=>e.length>2?ig:o.has(t)?t.startsWith("scale")?{type:"spring",stiffness:550,damping:0===e[1]?2*Math.sqrt(550):30,restSpeed:10}:iy:iv)(t,d)),d.duration&&(d.duration=(0,tu.f)(d.duration)),d.repeatDelay&&(d.repeatDelay=(0,tu.f)(d.repeatDelay)),void 0!==d.from&&(d.keyframes[0]=d.from);let c=!1;if(!1!==d.type&&(0!==d.duration||d.repeatDelay)||(ih(d),0===d.delay&&(c=!0)),(e0.W.instantAnimations||e0.W.skipAnimations||r?.shouldSkipAnimations||l.skipAnimations)&&(c=!0,ih(d),d.delay=0),d.allowFlatten=!l.type&&!l.ease,c&&!s&&void 0!==e.get()){let t=tv(d.keyframes,l);if(void 0!==t)return void J.Gt.update(()=>{d.onUpdate(t),d.onComplete()})}return l.isSync?new ii(d):new im(d)},ib="undefined"!=typeof window;function iS(t,e,{delay:i=0,transitionOverride:n,type:r}={}){let{transition:s,transitionEnd:o,...a}=e,l=t.getDefaultTransition();s=s?eZ(s,l):l;let u=s?.reduceMotion,h=s?.skipAnimations;n&&(s=n);let d=[],c=r&&t.animationState&&t.animationState.getState()[r],p=s?.path;for(let e in p&&p.animateVisualElement(t,a,s,i,d),a){let n=t.getValue(e,t.latestValues[e]??null),r=a[e];if(void 0===r||c&&function({protectedKeys:t,needsAnimating:e},i){let n=t.hasOwnProperty(i)&&!0!==e[i];return e[i]=!1,n}(c,e))continue;let o={delay:i,...eQ(s||{},e)};h&&(o.skipAnimations=!0);let l=n.get();if(void 0!==l&&!n.isAnimating()&&!Array.isArray(r)&&r===l&&!o.velocity){J.Gt.update(()=>n.set(r));continue}let p=!1;if(ib&&window.MotionHandoffAnimation){let i=t.props[eG];if(i){let t=window.MotionHandoffAnimation(i,e,J.Gt);null!==t&&(o.startTime=t,p=!0)}}e1(t,e);let f=u??t.shouldReduceMotion;n.start(iw(e,n,r,f&&E.has(e)?{type:!1}:o,t,p));let m=n.animation;m&&d.push(m)}if(o){let e=()=>J.Gt.update(()=>{o&&function(t,e){let{transitionEnd:i={},transition:n={},...r}=eK(t,e)||{};for(let e in r={...r,...i}){var s;let i=eJ(s=r[e])?s[s.length-1]||0:s;t.hasValue(e)?t.getValue(e).set(i):t.addValue(e,(0,tR.OQ)(i))}}(t,o)});d.length?Promise.all(d).then(e):e()}return d}function iP(t,e,i,n=0,r=1){let s=Array.from(t).sort((t,e)=>t.sortNodePosition(e)).indexOf(e),o=t.size,a=(o-1)*n;return"function"==typeof i?i(s,o):1===r?s*n:a-s*n}function iT(t,e,i={}){let n=eK(t,e,"exit"===i.type?t.presenceContext?.custom:void 0),{transition:r=t.getDefaultTransition()||{}}=n||{};i.transitionOverride&&(r=i.transitionOverride);let s=n?()=>Promise.all(iS(t,n,i)):()=>Promise.resolve(),o=t.variantChildren&&t.variantChildren.size?(n=0)=>{let{delayChildren:s=0,staggerChildren:o,staggerDirection:a}=r;return function(t,e,i=0,n=0,r=0,s=1,o){let a=[];for(let l of t.variantChildren)l.notify("AnimationStart",e),a.push(iT(l,e,{...o,delay:i+("function"==typeof n?0:n)+iP(t.variantChildren,l,n,r,s)}).then(()=>l.notify("AnimationComplete",e)));return Promise.all(a)}(t,e,n,s,o,a,i)}:()=>Promise.resolve(),{when:a}=r;if(!a)return Promise.all([s(),o(i.delay)]);{let[t,e]="beforeChildren"===a?[s,o]:[o,s];return t().then(()=>e())}}let iA=tI.length;function ik(t,e){if(!Array.isArray(e))return!1;let i=e.length;if(i!==t.length)return!1;for(let n=0;nPromise.all(e.map(({animation:e,options:i})=>(function(t,e,i={}){let n;if(t.notify("AnimationStart",e),Array.isArray(e))n=Promise.all(e.map(e=>iT(t,e,i)));else if("string"==typeof e)n=iT(t,e,i);else{let r="function"==typeof e?eK(t,e,i.custom):e;n=Promise.all(iS(t,r,i))}return n.then(()=>{t.notify("AnimationComplete",e)})})(t,e,i))),i=iV(),n=!0,r=!1,s=e=>(i,n)=>{let r=eK(t,n,"exit"===e?t.presenceContext?.custom:void 0);if(r){let{transition:t,transitionEnd:e,...n}=r;i={...i,...n,...e}}return i};function o(o){let{props:a}=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;tc&&v,P=!1,T=Array.isArray(g)?g:[g],A=T.reduce(s(m),{});!1===x&&(A={});let{prevResolvedValues:k={}}=y,E={...k,...A},M=e=>{S=!0,h.has(e)&&(P=!0,h.delete(e)),y.needsAnimating[e]=!0;let i=t.getValue(e);i&&(i.liveStyle=!1)};for(let t in E){let e=A[t],i=k[t];if(!d.hasOwnProperty(t))(eJ(e)&&eJ(i)?!ik(e,i)||b:e!==i)?null!=e?M(t):h.add(t):void 0!==e&&h.has(t)?M(t):y.protectedKeys[t]=!0}y.prevProp=g,y.prevResolvedValues=A,y.isActive&&(d={...d,...A}),(n||r)&&t.blockInitialAnimation&&(S=!1);let C=w&&b,V=!C||P;S&&V&&u.push(...T.map(e=>{let i={type:m};if("string"==typeof e&&(n||r)&&!C&&t.manuallyAnimateOnMount&&t.parent){let{parent:n}=t,r=eK(n,e);if(n.enteringChildren&&r){let{delayChildren:e}=r.transition||{};i.delay=iP(n.enteringChildren,t,e)}}return{animation:e,options:i}}))}if(h.size){let e={};if("boolean"!=typeof a.initial){let i=eK(t,Array.isArray(a.initial)?a.initial[0]:a.initial);i&&i.transition&&(e.transition=i.transition)}h.forEach(i=>{let n=t.getBaseTarget(i),r=t.getValue(i);r&&(r.liveStyle=!0),e[i]=n??null}),u.push({animation:e})}let m=!!u.length;return n&&(!1===a.initial||a.initial===a.animate)&&!t.manuallyAnimateOnMount&&(m=!1),n=!1,r=!1,m?e(u):Promise.resolve()}return{animateChanges:o,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 r=o(e);for(let t in i)i[t].protectedKeys={};return r},setAnimateFunction:function(i){e=i(t)},getState:()=>i,reset:()=>{i=iV(),r=!0}}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();tL(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 iR=0;class ij extends eH{constructor(){super(...arguments),this.id=iR++,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=eK(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(){}}let iL={x:!1,y:!1};function iO(t){return[t("x"),t("y")]}function iB(t){return t.max-t.min}function iI(t,e,i,n=.5){t.origin=n,t.originPoint=(0,et.k)(e.min,e.max,t.origin),t.scale=iB(i)/iB(e),t.translate=(0,et.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 iF(t,e,i,n){iI(t.x,e.x,i.x,n?n.originX:void 0),iI(t.y,e.y,i.y,n?n.originY:void 0)}function i_(t,e,i,n=0){t.min=(n?(0,et.k)(i.min,i.max,n):i.min)+e.min,t.max=t.min+iB(e)}function iz(t,e,i,n=0){let r=n?(0,et.k)(i.min,i.max,n):i.min;t.min=e.min-r,t.max=t.min+iB(e)}function iN(t,e,i,n){iz(t.x,e.x,i.x,n?.x),iz(t.y,e.y,i.y,n?.y)}let iW=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),iU=new Set(["INPUT","SELECT","TEXTAREA"]);function iG(t,e,i,n={passive:!0}){return t.addEventListener(e,i,n),()=>t.removeEventListener(e,i,n)}var i$=i(3142);function iq(t){return(0,i$.G)(t)&&"ownerSVGElement"in t}var iX=i(8561);let iY=new WeakMap,iH=(t,e,i)=>(n,r)=>r&&r[0]?r[0][t+"Size"]:iq(n)&&"getBBox"in n?n.getBBox()[e]:n[i],iK=iH("inline","width","offsetWidth"),iZ=iH("block","height","offsetHeight");function iQ({target:t,borderBoxSize:e}){iY.get(t)?.forEach(i=>{i(t,{get width(){return iK(t,e)},get height(){return iZ(t,e)}})})}function iJ(t){t.forEach(iQ)}let i0=new Set;function i1(t,e){return"function"==typeof t?(i0.add(t),r||(r=()=>{let t={get width(){return window.innerWidth},get height(){return window.innerHeight}};i0.forEach(e=>e(t))},window.addEventListener("resize",r)),()=>{i0.delete(t),i0.size||"function"!=typeof r||(window.removeEventListener("resize",r),r=void 0)}):function(t,e){n||"undefined"!=typeof ResizeObserver&&(n=new ResizeObserver(iJ));let i=(0,iX.K)(t);return i.forEach(t=>{let i=iY.get(t);i||(i=new Set,iY.set(t,i)),i.add(e),n?.observe(t)}),()=>{i.forEach(t=>{let i=iY.get(t);i?.delete(e),i?.size||n?.unobserve(t)})}}(t,e)}let i2=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;function i4(t){return{point:{x:t.pageX,y:t.pageY}}}function i5(t,e,i,n){return iG(t,e,t=>i2(t)&&i(t,i4(t)),n)}let i3=({current:t})=>t?t.ownerDocument.defaultView:null,i9=(t,e)=>Math.abs(t-e),i6=new Set(["auto","scroll"]);class i8{constructor(t,e,{transformPagePoint:i,contextWindow:n=window,dragSnapToOrigin:r=!1,distanceThreshold:s=3,element:o}={}){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=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=i7(this.lastRawMoveEventInfo,this.transformPagePoint));let t=ne(this.lastMoveEventInfo,this.history),e=null!==this.startEvent,i=function(t,e){return Math.sqrt(i9(t.x,e.x)**2+i9(t.y,e.y)**2)}(t.offset,{x:0,y:0})>=this.distanceThreshold;if(!e&&!i)return;let{point:n}=t,{timestamp:r}=J.uv;this.history.push({...n,timestamp:r});let{onStart:s,onMove:o}=this.handlers;e||(s&&s(this.lastMoveEvent,t),this.startEvent=this.lastMoveEvent),o&&o(this.lastMoveEvent,t)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastRawMoveEventInfo=e,this.lastMoveEventInfo=i7(e,this.transformPagePoint),J.Gt.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:i,onSessionEnd:n,resumeAnimation:r}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&r&&r(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let s=ne("pointercancel"===t.type?this.lastMoveEventInfo:i7(e,this.transformPagePoint),this.history);this.startEvent&&i&&i(t,s),n&&n(t,s)},!i2(t))return;this.dragSnapToOrigin=r,this.handlers=e,this.transformPagePoint=i,this.distanceThreshold=s,this.contextWindow=n||window;let a=i7(i4(t),this.transformPagePoint),{point:l}=a,{timestamp:u}=J.uv;this.history=[{...l,timestamp:u}];let{onSessionStart:h}=e;h&&h(t,ne(a,this.history));let d={passive:!0,capture:!0};this.removeListeners=(0,e2.F)(i5(this.contextWindow,"pointermove",this.handlePointerMove,d),i5(this.contextWindow,"pointerup",this.handlePointerUp,d),i5(this.contextWindow,"pointercancel",this.handlePointerUp,d)),o&&this.startScrollTracking(o)}startScrollTracking(t){let e=t.parentElement;for(;e;){let t=getComputedStyle(e);(i6.has(t.overflowX)||i6.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},r={x:n.x-e.x,y:n.y-e.y};(0!==r.x||0!==r.y)&&(i?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=r.x,this.lastMoveEventInfo.point.y+=r.y):this.history.length>0&&(this.history[0].x-=r.x,this.history[0].y-=r.y),this.scrollPositions.set(t,n),J.Gt.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),(0,J.WG)(this.updatePoint)}}function i7(t,e){return e?{point:e(t.point)}:t}function nt(t,e){return{x:t.x-e.x,y:t.y-e.y}}function ne({point:t},e){return{point:t,delta:nt(t,ni(e)),offset:nt(t,e[0]),velocity:function(t,e){if(t.length<2)return{x:0,y:0};let i=t.length-1,n=null,r=ni(t);for(;i>=0&&(n=t[i],!(r.timestamp-n.timestamp>(0,tu.f)(.1)));)i--;if(!n)return{x:0,y:0};n===t[0]&&t.length>2&&r.timestamp-n.timestamp>2*(0,tu.f)(e)&&(n=t[1]);let s=(0,tu.X)(r.timestamp-n.timestamp);if(0===s)return{x:0,y:0};let o={x:(r.x-n.x)/s,y:(r.y-n.y)/s};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}(e,.1)}}function ni(t){return t[t.length-1]}var nn=i(1225);function nr(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 ns(t,e){let i=e.min-t.min,n=e.max-t.max;return e.max-e.min{e&&this.snapToCursor(i4(t).point),this.stopAnimation()},s=(t,e)=>{let{drag:i,dragPropagation:n,onDragStart:r}=this.getProps();if(i&&!n&&(this.openDragLock&&this.openDragLock(),this.openDragLock=function(t){if("x"===t||"y"===t)if(iL[t])return null;else return iL[t]=!0,()=>{iL[t]=!1};return iL.x||iL.y?null:(iL.x=iL.y=!0,()=>{iL.x=iL.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),iO(t=>{let e=this.getAxisMotionValue(t).get()||0;if(g.KN.test(e)){let{projection:i}=this.visualElement;if(i&&i.layout){let n=i.layout.layoutBox[t];n&&(e=iB(n)*(parseFloat(e)/100))}}this.originPoint[t]=e}),r&&J.Gt.update(()=>r(t,e),!1,!0),e1(this.visualElement,"transform");let{animationState:s}=this.visualElement;s&&s.setActive("whileDrag",!0)},o=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e;let{dragPropagation:i,dragDirectionLock:n,onDirectionLock:r,onDrag:s}=this.getProps();if(!i&&!this.openDragLock)return;let{offset:o}=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}(o),null!==this.currentDirection&&r&&r(this.currentDirection);return}this.updateAxis("x",e.point,o),this.updateAxis("y",e.point,o),this.visualElement.render(),s&&J.Gt.update(()=>s(t,e),!1,!0)},a=(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:u}=this.getProps();this.panSession=new i8(t,{onSessionStart:r,onStart:s,onMove:o,onSessionEnd:a,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,distanceThreshold:i,contextWindow:i3(this.visualElement),element:this.visualElement.current})}stop(t,e){let i=t||this.latestPointerEvent,n=e||this.latestPanInfo,r=this.isDragging;if(this.cancel(),!r||!n||!i)return;let{velocity:s}=n;this.startAnimation(s);let{onDragEnd:o}=this.getProps();o&&J.Gt.postRender(()=>o(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||!nd(t,n,this.currentDirection))return;let r=this.getAxisMotionValue(t),s=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(s=function(t,{min:e,max:i},n){return void 0!==e&&ti&&(t=n?(0,et.k)(i,t,n.max):Math.min(t,i)),t}(s,this.constraints[t],this.elastic[t])),r.set(s)}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&&eq(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&i?this.constraints=function(t,{top:e,left:i,bottom:n,right:r}){return{x:nr(t.x,i,r),y:nr(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:no(t,"left","right"),y:no(t,"top","bottom")}}(e),n!==this.constraints&&!eq(t)&&i&&this.constraints&&!this.hasMutatedConstraints&&iO(t=>{!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=function(t,e){let i={};return void 0!==e.min&&(i.min=e.min-t.min),void 0!==e.max&&(i.max=e.max-t.min),i}(i.layoutBox[t],this.constraints[t]))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:i}=this.getProps();if(!e||!eq(e))return!1;let n=e.current;(0,V.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:r}=this.visualElement;if(!r||!r.layout)return!1;r.root&&(r.root.scroll=void 0,r.root.updateScroll());let s=function(t,e,i){let n=ev(t,i),{scroll:r}=e;return r&&(ef(n.x,r.offset.x),ef(n.y,r.offset.y)),n}(n,r.root,this.visualElement.getTransformPagePoint()),o=(t=r.layout.layoutBox,{x:ns(t.x,s.x),y:ns(t.y,s.y)});if(i){let t=i(function({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}(o));this.hasMutatedConstraints=!!t,t&&(o=eo(t))}return o}startAnimation(t){let{drag:e,dragMomentum:i,dragElastic:n,dragTransition:r,dragSnapToOrigin:s,onDragTransitionEnd:o}=this.getProps(),a=this.constraints||{};return Promise.all(iO(o=>{if(!nd(o,e,this.currentDirection))return;let l=a&&a[o]||{};(!0===s||s===o)&&(l={min:0,max:0});let u={type:"inertia",velocity:i?t[o]:0,bounceStiffness:n?200:1e6,bounceDamping:n?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...r,...l};return this.startAxisValueAnimation(o,u)})).then(o)}startAxisValueAnimation(t,e){let i=this.getAxisMotionValue(t);return e1(this.visualElement,t),i.start(iw(t,i,0,e,this.visualElement,!1))}stopAnimation(){iO(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){iO(e=>{let{drag:i}=this.getProps();if(!nd(e,i,this.currentDirection))return;let{projection:n}=this.visualElement,r=this.getAxisMotionValue(e);if(n&&n.layout){let{min:i,max:s}=n.layout.layoutBox[e],o=r.get()||0;r.set(t[e]-(0,et.k)(i,s,.5)+o)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:i}=this.visualElement;if(!eq(e)||!i||!this.constraints)return;this.stopAnimation();let n={x:0,y:0};iO(t=>{let e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){let i=e.get();n[t]=function(t,e){let i=.5,n=iB(t),r=iB(e);return r>n?i=(0,nn.q)(e.min,e.max-n,t.min):n>r&&(i=(0,nn.q)(t.min,t.max-r,e.min)),(0,e4.q)(0,1,i)}({min:i,max:i},this.constraints[t])}});let{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.constraints=!1,this.resolveConstraints(),iO(e=>{if(!nd(e,t,null))return;let i=this.getAxisMotionValue(e),{min:r,max:s}=this.constraints[e];i.set((0,et.k)(r,s,n[e]))}),this.visualElement.render()}addListeners(){let t;if(!this.visualElement.current)return;nl.set(this.visualElement,this);let e=this.visualElement.current,i=i5(e,"pointerdown",t=>{let{drag:i,dragListener:n=!0}=this.getProps(),r=t.target,s=r!==e&&(iU.has(r.tagName)||!0===r.isContentEditable);i&&n&&!s&&this.start(t)}),n=()=>{let{dragConstraints:i}=this.getProps();eq(i)&&i.current&&(this.constraints=this.resolveRefConstraints(),t||(t=function(t,e,i){let n=i1(t,nh(i)),r=i1(e,nh(i));return()=>{n(),r()}}(e,i.current,()=>this.scalePositionWithinConstraints())))},{projection:r}=this.visualElement,s=r.addEventListener("measure",n);r&&!r.layout&&(r.root&&r.root.updateScroll(),r.updateLayout()),J.Gt.read(n);let o=iG(window,"resize",()=>this.scalePositionWithinConstraints()),a=r.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(iO(e=>{let i=this.getAxisMotionValue(e);i&&(this.originPoint[e]+=t[e].translate,i.set(i.get()+t[e].translate))}),this.visualElement.render())});return()=>{o(),i(),s(),a&&a(),t&&t()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:i=!1,dragPropagation:n=!1,dragConstraints:r=!1,dragElastic:s=.35,dragMomentum:o=!0}=t;return{...t,drag:e,dragDirectionLock:i,dragPropagation:n,dragConstraints:r,dragElastic:s,dragMomentum:o}}}function nh(t){let e=!0;return()=>{if(e){e=!1;return}t()}}function nd(t,e,i){return(!0===e||e===t)&&(null===i||i===t)}class nc extends eH{constructor(t){super(t),this.removeGroupControls=td.l,this.removeListeners=td.l,this.controls=new nu(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||td.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 np=t=>(e,i)=>{t&&J.Gt.update(()=>t(e,i),!1,!0)};class nf extends eH{constructor(){super(...arguments),this.removePointerDownListener=td.l}onPointerDown(t){this.session=new i8(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:i3(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:i,onPanEnd:n}=this.node.getProps();return{onSessionStart:np(t),onStart:np(e),onMove:np(i),onEnd:(t,e)=>{delete this.session,n&&J.Gt.postRender(()=>n(t,e))}}}mount(){this.removePointerDownListener=i5(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 nm={hasAnimatedSinceResize:!0,hasEverUpdated:!1};var ny=i(5601);let ng=!1;class nv extends ew.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i,layoutId:n}=this.props,{projection:r}=t;r&&(e.group&&e.group.add(r),i&&i.register&&n&&i.register(r),ng&&r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),nm.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:i,drag:n,isPresent:r}=this.props,{projection:s}=i;return s&&(s.isPresent=r,t.layoutDependency!==e&&s.setOptions({...s.options,layoutDependency:e}),ng=!0,n||t.layoutDependency!==e||void 0===e||t.isPresent!==r?s.willUpdate():this.safeToRemove(),t.isPresent!==r&&(r?s.promote():s.relegate()||J.Gt.postRender(()=>{let t=s.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(),tD.postRender(()=>{!i.currentAnimation&&i.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i}=this.props,{projection:n}=t;ng=!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 nx(t){let[e,i]=(0,ny.xQ)(),n=(0,ew.useContext)(eT.L);return(0,eP.jsx)(nv,{...t,layoutGroup:n,switchLayoutGroup:(0,ew.useContext)(e$),isPresent:e,safeToRemove:i})}let nw={value:null,addProjectionMetrics:null},nb=t6.length,nS=t=>"string"==typeof t?parseFloat(t):t,nP=t=>"number"==typeof t||g.px.test(t);function nT(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let nA=nE(0,.5,io.yT),nk=nE(.5,.95,td.l);function nE(t,e,i){return n=>ne?1:i((0,nn.q)(t,e,n))}function nM(t,e){t.min=e.min,t.max=e.max}function nC(t,e){nM(t.x,e.x),nM(t.y,e.y)}function nV(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}function nD(t,e,i,n,r){return t-=e,t=n+1/i*(t-n),void 0!==r&&(t=n+1/r*(t-n)),t}function nR(t,e,[i,n,r],s,o){!function(t,e=0,i=1,n=.5,r,s=t,o=t){if(g.KN.test(e)&&(e=parseFloat(e),e=(0,et.k)(o.min,o.max,e/100)-o.min),"number"!=typeof e)return;let a=(0,et.k)(s.min,s.max,n);t===s&&(a-=e),t.min=nD(t.min,e,i,a,r),t.max=nD(t.max,e,i,a,r)}(t,e[i],e[n],e[r],e.scale,s,o)}let nj=["x","scaleX","originX"],nL=["y","scaleY","originY"];function nO(t,e,i,n){nR(t.x,e,nj,i?i.x:void 0,n?n.x:void 0),nR(t.y,e,nL,i?i.y:void 0,n?n.y:void 0)}function nB(t){return 0===t.translate&&1===t.scale}function nI(t){return nB(t.x)&&nB(t.y)}function nF(t,e){return t.min===e.min&&t.max===e.max}function n_(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function nz(t,e){return n_(t.x,e.x)&&n_(t.y,e.y)}function nN(t){return iB(t.x)/iB(t.y)}function nW(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}var nU=i(6105);class nG{constructor(){this.members=[]}add(t){(0,nU.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,nU.Ai)(this.members,i),i.unmount())}t.scheduleRender()}remove(t){if((0,nU.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:r}=t.options;(void 0===n||n!==r)&&(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 n$=(t,e)=>t.depth-e.depth;class nq{constructor(){this.children=[],this.isDirty=!1}add(t){(0,nU.Kq)(this.children,t),this.isDirty=!0}remove(t){(0,nU.Ai)(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(n$),this.isDirty=!1,this.children.forEach(t)}}let nX={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},nY=["","X","Y","Z"],nH=0;function nK(t,e,i,n){let{latestValues:r}=e;r[t]&&(i[t]=r[t],e.setStaticValue(t,0),n&&(n[t]=0))}function nZ({attachResizeListener:t,defaultParent:e,measureScroll:i,checkIsScrollRoot:n,resetTransform:r}){return class{constructor(t={},i=e?.()){this.id=nH++,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,nw.value&&(nX.nodes=nX.calculatedTargetDeltas=nX.calculatedProjections=0),this.nodes.forEach(n0),this.nodes.forEach(n7),this.nodes.forEach(rt),this.nodes.forEach(n1),nw.addProjectionMetrics&&nw.addProjectionMetrics(nX)},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;tthis.root.updateBlockedByResize=!1;J.Gt.read(()=>{n=window.innerWidth}),t(e,()=>{let t=window.innerWidth;t!==n&&(n=t,this.root.updateBlockedByResize=!0,i&&i(),i=function(t,e){let i=tw.k.now(),n=({timestamp:e})=>{let r=e-i;r>=250&&((0,J.WG)(n),t(r-250))};return J.Gt.setup(n,!0),()=>(0,J.WG)(n)}(r,250),nm.hasAnimatedSinceResize&&(nm.hasAnimatedSinceResize=!1,this.nodes.forEach(n8)))})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&r&&(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 s=this.options.transition||r.getDefaultTransition()||ro,{onLayoutAnimationStart:o,onLayoutAnimationComplete:a}=r.getProps(),l=!this.targetLayout||!nz(this.targetLayout,n),u=!e&&i;if(this.options.layoutRoot||this.resumeFrom||u||e&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let e={...eQ(s,"layout"),onPlay:o,onComplete:a};(r.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e),this.setAnimationOrigin(t,u,e.path)}else e||n8(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,J.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(re),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=i.props[eG];if(window.MotionHasOptimisedAnimation(n,"transform")){let{layout:t,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",J.Gt,!(t||i))}let{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&t(r)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let t=0;t{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||iB(this.snapshot.measuredBox.x)||iB(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.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=A());let{target:a}=t;if(!a){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(nV(this.prevProjectionDelta.x,this.projectionDelta.x),nV(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),iF(this.projectionDelta,this.layoutCorrected,a,this.latestValues),this.treeScale.x===s&&this.treeScale.y===o&&nW(this.projectionDelta.x,this.prevProjectionDelta.x)&&nW(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",a)),nw.value&&nX.calculatedProjections++}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=P(),this.projectionDelta=P(),this.projectionDeltaWithTransform=P()}setAnimationOrigin(t,e=!1,i){let n,r=this.snapshot,s=r?r.latestValues:{},o={...this.latestValues},a=P();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let l=A(),u=(r?r.source:void 0)!==(this.layout?this.layout.source:void 0),h=this.getStack(),d=!h||h.members.length<=1,c=!!(u&&!d&&!0===this.options.crossfade&&!this.path.some(rs));this.animationProgress=0;let p=i?.interpolateProjection(t);this.mixTargetDelta=e=>{let i=e/1e3,r=p?.(i);if(r?(a.x.translate=r.x,a.x.scale=(0,et.k)(t.x.scale,1,i),a.x.origin=t.x.origin,a.x.originPoint=t.x.originPoint,a.y.translate=r.y,a.y.scale=(0,et.k)(t.y.scale,1,i),a.y.origin=t.y.origin,a.y.originPoint=t.y.originPoint):(rn(a.x,t.x,i),rn(a.y,t.y,i)),this.setTargetDelta(a),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var h,f,m,y,v,x;iN(l,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),m=this.relativeTarget,y=this.relativeTargetOrigin,v=l,x=i,rr(m.x,y.x,v.x,x),rr(m.y,y.y,v.y,x),n&&(h=this.relativeTarget,f=n,nF(h.x,f.x)&&nF(h.y,f.y))&&(this.isProjectionDirty=!1),n||(n=A()),nC(n,this.relativeTarget)}u&&(this.animationValues=o,function(t,e,i,n,r,s){r?(t.opacity=(0,et.k)(0,i.opacity??1,nA(n)),t.opacityExit=(0,et.k)(e.opacity??1,0,nk(n))):s&&(t.opacity=(0,et.k)(e.opacity??1,i.opacity??1,n));for(let r=0;r{nm.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=(0,tR.OQ)(0)),this.motionValue.jump(0,!1),this.currentAnimation=function(t,e,i){let n=(0,k.S)(t)?t:(0,tR.OQ)(t);return n.start(iw("",n,e,i)),n.animation}(this.motionValue,[0,1e3],{...t,velocity:0,isSync:!0,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onComplete:()=>{t.onComplete&&t.onComplete(),this.completeAnimation()}}),function(t,e){let i=globalThis.__MOTION_INSPECT__;if(i)try{i({...tb("layout-animation-start",t),node:e})}catch{}}(this.currentAnimation,this),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,layout:i,latestValues:n}=t,{target:r}=t;if(e&&r&&i){if(this!==t&&this.layout&&i&&rh(this.options.animationType,this.layout.layoutBox,i.layoutBox)){r=this.target||A();let e=iB(this.layout.layoutBox.x);r.x.min=t.target.x.min,r.x.max=r.x.min+e;let i=iB(this.layout.layoutBox.y);r.y.min=t.target.y.min,r.y.max=r.y.min+i}nC(e,r),eg(e,n),iF(this.projectionDeltaWithTransform,this.layoutCorrected,e,n)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new nG),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&&nK("z",t,n,this.animationValues);for(let e=0;et.currentAnimation?.stop()),this.root.nodes.forEach(n4),this.root.sharedNodes.clear()}}}function nQ(t){t.updateLayout()}function nJ(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:r}=t.options,s=e.source!==t.layout.source;if("size"===r)iO(t=>{let n=s?e.measuredBox[t]:e.layoutBox[t],r=iB(n);n.min=i[t].min,n.max=n.min+r});else if("x"===r||"y"===r){let t="x"===r?"y":"x";nM(s?e.measuredBox[t]:e.layoutBox[t],i[t])}else rh(r,e.layoutBox,i)&&iO(n=>{let r=s?e.measuredBox[n]:e.layoutBox[n],o=iB(i[n]);r.max=r.min+o,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[n].max=t.relativeTarget[n].min+o)});let o=P();iF(o,i,e.layoutBox);let a=P();s?iF(a,t.applyTransform(n,!0),e.measuredBox):iF(a,i,e.layoutBox);let l=!nI(o),u=!1;if(!t.resumeFrom){let n=t.getClosestProjectingParent();if(n&&!n.resumeFrom){let{snapshot:r,layout:s}=n;if(r&&s){let o=t.options.layoutAnchor||void 0,a=A();iN(a,e.layoutBox,r.layoutBox,o);let l=A();iN(l,i,s.layoutBox,o),nz(a,l)||(u=!0),n.options.layoutRoot&&(t.relativeTarget=l,t.relativeTargetOrigin=a,t.relativeParent=n)}}}t.notifyListeners("didUpdate",{layout:i,snapshot:e,delta:a,layoutDelta:o,hasLayoutChanged:l,hasRelativeLayoutChanged:u})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function n0(t){nw.value&&nX.nodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function n1(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function n2(t){t.clearSnapshot()}function n4(t){t.clearMeasurements()}function n5(t){t.isLayoutDirty=!0,t.updateLayout()}function n3(t){t.isLayoutDirty=!1}function n9(t){t.isAnimationBlocked&&t.layout&&!t.isLayoutDirty&&(t.snapshot=t.layout,t.isLayoutDirty=!0)}function n6(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function n8(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function n7(t){t.resolveTargetDelta()}function rt(t){t.calcProjection()}function re(t){t.resetSkewAndRotation()}function ri(t){t.removeLeadSnapshot()}function rn(t,e,i){t.translate=(0,et.k)(e.translate,0,i),t.scale=(0,et.k)(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function rr(t,e,i,n){t.min=(0,et.k)(e.min,i.min,n),t.max=(0,et.k)(e.max,i.max,n)}function rs(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let ro={duration:.45,ease:[.4,0,.1,1]},ra=t=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),rl=ra("applewebkit/")&&!ra("chrome/")?Math.round:td.l;function ru(t){t.min=rl(t.min),t.max=rl(t.max)}function rh(t,e,i){return"position"===t||"preserve-aspect"===t&&!(.2>=Math.abs(nN(e)-nN(i)))}function rd(t){return t!==t.root&&t.scroll?.wasRoot}let rc=nZ({attachResizeListener:(t,e)=>iG(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),rp={current:void 0},rf=nZ({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!rp.current){let t=new rc({});t.mount(window),t.setOptions({layoutScroll:!0}),rp.current=t}return rp.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position});function rm(t,e){let i=(0,iX.K)(t),n=new AbortController;return[i,{passive:!0,...e,signal:n.signal},()=>n.abort()]}function ry(t,e,i){let{props:n}=t;t.animationState&&n.whileHover&&t.animationState.setActive("whileHover","Start"===i);let r=n["onHover"+i];r&&J.Gt.postRender(()=>r(e,i4(e)))}class rg extends eH{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,i={}){let[n,r,s]=rm(t,i);return n.forEach(t=>{let i,n=!1,s=!1,o=e=>{i&&(i(e),i=void 0),t.removeEventListener("pointerleave",l)},a=t=>{n=!1,window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",a),s&&(s=!1,o(t))},l=t=>{if("touch"!==t.pointerType){if(n){s=!0;return}o(t)}};t.addEventListener("pointerenter",n=>{if("touch"===n.pointerType||iL.x||iL.y)return;s=!1;let o=e(t,n);"function"==typeof o&&(i=o,t.addEventListener("pointerleave",l,r))},r),t.addEventListener("pointerdown",()=>{n=!0,window.addEventListener("pointerup",a,r),window.addEventListener("pointercancel",a,r)},r)}),s}(t,(t,e)=>(ry(this.node,e,"Start"),t=>ry(this.node,t,"End"))))}unmount(){}}class rv extends eH{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,e2.F)(iG(this.node.current,"focus",()=>this.onFocus()),iG(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}var rx=i(1402);let rw=(t,e)=>!!e&&(t===e||rw(t,e.parentElement)),rb=new WeakSet;function rS(t){return e=>{"Enter"===e.key&&t(e)}}function rP(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}function rT(t){return i2(t)&&!(iL.x||iL.y)}let rA=new WeakSet;function rk(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 r=n["onTap"+("End"===i?"":i)];r&&J.Gt.postRender(()=>r(e,i4(e)))}class rE extends eH{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,r,s]=rm(t,i),o=t=>{let n=t.currentTarget;if(!rT(t)||rA.has(t))return;rb.add(n),i.stopPropagation&&rA.add(t);let s=e(n,t),o={...r,capture:!0},a=(t,e)=>{window.removeEventListener("pointerup",l,o),window.removeEventListener("pointercancel",u,o),rb.has(n)&&rb.delete(n),rT(t)&&"function"==typeof s&&s(t,{success:e})},l=t=>{a(t,n===window||n===document||i.useGlobalTarget||rw(n,t.target))},u=t=>{a(t,!1)};window.addEventListener("pointerup",l,o),window.addEventListener("pointercancel",u,o)};return n.forEach(t=>{((i.useGlobalTarget?window:t).addEventListener("pointerdown",o,r),(0,rx.s)(t))&&(t.addEventListener("focus",t=>((t,e)=>{let i=t.currentTarget;if(!i)return;let n=rS(()=>{if(rb.has(i))return;rP(i,"down");let t=rS(()=>{rP(i,"up")});i.addEventListener("keyup",t,e),i.addEventListener("blur",()=>rP(i,"cancel"),e)});i.addEventListener("keydown",n,e),i.addEventListener("blur",()=>i.removeEventListener("keydown",n),e)})(t,r)),iW.has(t.tagName)||!0===t.isContentEditable||t.hasAttribute("tabindex")||(t.tabIndex=0))}),s}(t,(t,e)=>(rk(this.node,e,"Start"),(t,{success:e})=>rk(this.node,t,e?"End":"Cancel")),{useGlobalTarget:e,stopPropagation:i?.tap===!1})}unmount(){}}let rM=new WeakMap,rC=new WeakMap,rV=t=>{let e=rM.get(t.target);e&&e(t)},rD=t=>{t.forEach(rV)},rR={some:0,all:1};class rj extends eH{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.stopObserver?.();let{viewport:t={}}=this.node.getProps(),{root:e,margin:i,amount:n="some",once:r}=t,s={root:e?e.current:void 0,rootMargin:i,threshold:"number"==typeof n?n:rR[n]},o=t=>{let{isIntersecting:e}=t;if(this.isInView===e||(this.isInView=e,r&&!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=function(t,e,i){let n=function({root:t,...e}){let i=t||document;rC.has(i)||rC.set(i,{});let n=rC.get(i),r=JSON.stringify(e);return n[r]||(n[r]=new IntersectionObserver(rD,{root:t,...e})),n[r]}(e);return rM.set(t,i),n.observe(t),()=>{rM.delete(t),n.unobserve(t)}}(this.node.current,s,o)}mount(){this.startObserver()}update(){if("undefined"==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 rL=function(t,e){if("undefined"==typeof Proxy)return eY;let i=new Map,n=(i,n)=>eY(i,n,t,e);return new Proxy((t,e)=>n(t,e),{get:(r,s)=>"create"===s?n:(i.has(s)||i.set(s,eY(s,void 0,t,e)),i.get(s))})}({animation:{Feature:iD},exit:{Feature:ij},inView:{Feature:rj},tap:{Feature:rE},focus:{Feature:rv},hover:{Feature:rg},pan:{Feature:nf},drag:{Feature:nc,ProjectionNode:rf,MeasureLayout:nx},layout:{ProjectionNode:rf,MeasureLayout:nx}},(t,e)=>e.isSVG??eS(t)?new es(e):new ex(e,{allowProjection:t!==ew.Fragment}))},7290:(t,e,i)=>{i.d(e,{X:()=>r,f:()=>n});let n=t=>1e3*t,r=t=>t/1e3},7424:(t,e,i)=>{let n;i.d(e,{k:()=>a});var r=i(42),s=i(3934);function o(){n=void 0}let a={now:()=>(void 0===n&&a.set(s.uv.isProcessing||r.W.useManualTiming?s.uv.timestamp:performance.now()),n),set:t=>{n=t,queueMicrotask(o)}}},7671:(t,e,i)=>{i.d(e,{q:()=>n});class n{constructor(){this.isResolved=!1}get finished(){return this._finished||(this._finished=this.isResolved?Promise.resolve():new Promise(t=>{this._resolve=t})),this._finished}updateFinished(){this._finished=this._resolve=void 0,this.isResolved=!1}notifyFinished(){this.isResolved=!0,this._resolve?.()}then(t,e){return this.finished.then(t,e)}}},7736:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(4294).A)("ClipboardCheck",[["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"}],["path",{d:"m9 14 2 2 4-4",key:"df797q"}]])},7822:(t,e,i)=>{i.d(e,{X4:()=>s,ai:()=>r,hs:()=>o});var n=i(8895);let r={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},s={...r,transform:t=>(0,n.q)(0,1,t)},o={...r,default:1}},7864:(t,e,i)=>{i.d(e,{z:()=>P});var n=i(3182),r=i(7424),s=i(6121),o=i(6876),a=i(625),l=i(7671),u=i(3934);let h=new Set,d=({timestamp:t})=>{h.forEach(e=>e.tick(t))};class c extends l.q{constructor(t){super(),this.state="idle",this.startTime=0,this.currentTime=0,this.started=!1,this.hasNextTarget=!1,this.nextTarget=0,this.stop=()=>{"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},this.options=t,(0,a.E)(t),this.factory=t.type||s.i,this.generator=this.factory(t);let{driver:e}=t;e&&(this.driver=e(t=>this.tick(t))),this.startTime=this.now(),this.state="running",this.driver?this.driver.start():(h.size||u.Gt.update(d,!0),h.add(this))}setTarget(t,e){this.nextTarget=t,this.nextVelocity=e,this.hasNextTarget=!0}retarget(t,e){let{options:i,generator:n}=this;i.keyframes=t,i.velocity=e,this.startTime=this.now(),this.currentTime=0,n.retarget?n.retarget(t,e):this.generator=this.factory(i)}tick(t){let{options:e,hasNextTarget:i}=this,{delay:n=0,onUpdate:r,onPlay:s}=e,o=Math.round(t-this.startTime)-n,a=this.currentTime=Math.max(0,o),l=this.generator.next(a),u=o<0?e.keyframes[0]:l.value;if(i){this.hasNextTarget=!1;let{keyframes:t}=e;t[0]=u,t[1]=this.nextTarget,this.retarget(t,this.nextVelocity??this.getGeneratorVelocity())}(i||!this.started)&&(this.started=!0,s?.()),"running"===this.state&&(r?.(u),l.done&&o>=0&&!i&&!this.hasNextTarget&&"running"===this.state&&(this.notifyFinished(),this.teardown(),this.state="finished",e.onComplete?.()))}getGeneratorVelocity(){return(0,o.Y)(this.generator,this.currentTime,this.options.velocity)}now(){return this.driver?this.driver.now():r.k.now()}teardown(){this.state="idle",this.driver?this.driver.stop():(h.delete(this),h.size||(0,u.WG)(d))}}function p(t){return"number"==typeof t?t:parseFloat(t)}var f=i(2115),m=i(3127),y=i(3350),g=i(6706),v=i(4416),x=i(6436);function w(t,e){let i=(0,y.d)(e()),n=()=>i.set(e());return n(),(0,x.E)(()=>{let e=()=>u.Gt.preRender(n,!1,!0),i=t.map(t=>t.on("change",e));return()=>{i.forEach(t=>t()),(0,u.WG)(n)}}),i}var b=i(2039);function S(t,e){let i=(0,v.M)(()=>[]);return w(t,()=>{i.length=0;let n=t.length;for(let e=0;e1&&void 0!==arguments[1]?arguments[1]:{};return function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{isStatic:i}=(0,f.useContext)(m.Q),r=()=>(0,n.S)(t)?t.get():t;if(i)return function t(e,i,n,r){if("function"==typeof e){b.bt.current=[],e();let t=w(b.bt.current,e);return b.bt.current=void 0,t}if(void 0!==n&&!Array.isArray(n)&&"function"!=typeof i){var s=e,o=i,a=n,l=r;let u=(0,v.M)(()=>Object.keys(a)),h=(0,v.M)(()=>({}));for(let e of u)h[e]=t(s,o,a[e],l);return h}let u="function"==typeof i?i:function(...t){let e=!Array.isArray(t[0]),i=e?0:-1,n=t[0+i],r=t[1+i],s=t[2+i],o=t[3+i],a=(0,g.G)(r,s,o);return e?a(n):a}(i,n,r),h=Array.isArray(e)?S(e,u):S([e],t=>{let[e]=t;return u(e)}),d=Array.isArray(e)?void 0:e.accelerate;return d&&!d.isTransformed&&"function"!=typeof i&&Array.isArray(n)&&(null==r?void 0:r.clamp)!==!1&&(h.accelerate={...d,times:i,keyframes:n,isTransformed:!0,...(null==r?void 0:r.ease)?{ease:r.ease}:{}}),h}(r);let s=(0,y.d)(r());return(0,f.useInsertionEffect)(()=>(function(t,e,i={}){let r,s=t.get(),o=null,a="string"==typeof s?s.replace(/[\d.-]/g,""):void 0,l=t=>r(a?t+a:t),u=()=>t.events.animationStart?.notify(),h=()=>{o&&(o.stop(),o=null),t.animation=void 0};if(t.attach((e,n)=>{r=n;let s=p(e);if(o?.state==="running")return void o.setTarget(s,i.velocity);let a=p(t.get()),d=o?o.getGeneratorVelocity():t.getVelocity();if(h(),a===s)return;let f=o=new c({keyframes:[a,s],velocity:d,type:"spring",restDelta:.001,restSpeed:.01,...i,onUpdate:l,onPlay:u});t.animation=f,f.then(()=>{o===f&&(o=null,t.animation=void 0,t.events.animationComplete?.notify())})},h),(0,n.S)(e)){let n=!0===i.skipInitialAnimation,r=e.on("change",e=>{var i,r,s,o;n?(n=!1,t.jump((i=e,(r=a)?i+r:i),!1)):t.set((s=e,(o=a)?s+o:s))}),s=t.on("destroy",r);return()=>{r(),s()}}return h})(s,t,e),[s,JSON.stringify(e)]),s}(t,{type:"spring",...e})}},7940:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(4294).A)("GraduationCap",[["path",{d:"M21.42 10.922a1 1 0 0 0-.019-1.838L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.832l8.57 3.908a2 2 0 0 0 1.66 0z",key:"j76jl0"}],["path",{d:"M22 10v6",key:"1lu8f3"}],["path",{d:"M6 12.5V16a6 3 0 0 0 12 0v-3.5",key:"1r8lef"}]])},7974:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(4294).A)("Mail",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]])},8041:(t,e,i)=>{i.d(e,{$:()=>n,V:()=>r}),i(5704);let n=()=>{},r=()=>{}},8256:(t,e,i)=>{i.d(e,{o:()=>p});var n=i(8041),r=i(7290),s=i(8895),o=i(3754),a=i(8857);let l={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function u(t,e){return t*Math.sqrt(1-e*e)}let h=["duration","bounce"],d=["stiffness","damping","mass"];function c(t,e){return e.some(e=>void 0!==t[e])}function p(t=l.visualDuration,e=l.bounce){let i,f,m,y="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:e}:t,g=y.keyframes[0],v=y.keyframes[y.keyframes.length-1],x={done:!1,value:g},{stiffness:w,damping:b,mass:S,duration:P,velocity:T,isResolvedFromDuration:A}=function(t){let e={velocity:l.velocity,stiffness:l.stiffness,damping:l.damping,mass:l.mass,isResolvedFromDuration:!1,...t};if(!c(t,d)&&c(t,h))if(e.velocity=0,t.visualDuration){let i=2*Math.PI/(1.2*t.visualDuration),n=i*i,r=2*(0,s.q)(.05,1,1-(t.bounce||0))*Math.sqrt(n);e={...e,mass:l.mass,stiffness:n,damping:r}}else{let i=function({duration:t=l.duration,bounce:e=l.bounce,velocity:i=l.velocity,mass:o=l.mass}){let a,h;(0,n.$)(t<=(0,r.f)(l.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let d=1-e;d=(0,s.q)(l.minDamping,l.maxDamping,d),t=(0,s.q)(l.minDuration,l.maxDuration,(0,r.X)(t)),d<1?(a=e=>{let n=e*d,r=n*t;return .001-(n-i)/u(e,d)*Math.exp(-r)},h=e=>{let n=e*d*t,r=d*d*e*e*t,s=Math.exp(-n),o=u(e*e,d);return(n*i+i-r)*s*(-a(e)+.001>0?-1:1)/o}):(a=e=>-.001+Math.exp(-e*t)*((e-i)*t+1),h=e=>t*t*(i-e)*Math.exp(-e*t));let c=function(t,e,i){let n=i;for(let i=1;i<12;i++)n-=t(n)/e(n);return n}(a,h,5/t);if(t=(0,r.f)(t),isNaN(c))return{stiffness:l.stiffness,damping:l.damping,duration:t};{let e=c*c*o;return{stiffness:e,damping:2*d*Math.sqrt(o*e),duration:t}}}({...t,velocity:0});(e={...e,...i,mass:l.mass}).isResolvedFromDuration=!0}return e}({...y,velocity:-(0,r.X)(y.velocity||0)}),k=b/(2*Math.sqrt(w*S)),E=(0,r.X)(Math.sqrt(w/S)),M=k*E,C={target:v,delta:v-g,velocity:T||0,restSpeed:0,restDelta:0},V=()=>{let t=5>Math.abs(C.delta);C.restSpeed=y.restSpeed||(t?l.restSpeed.granular:l.restSpeed.default),C.restDelta=y.restDelta||(t?l.restDelta.granular:l.restDelta.default)};if(V(),k<1){let t=u(E,k),e={A:0,sinC:0,cosC:0,t:-1,env:0,sin:0,cos:0};m=()=>{e.A=(C.velocity+M*C.delta)/t,e.sinC=M*e.A+C.delta*t,e.cosC=M*C.delta-e.A*t};let n=i=>{i!==e.t&&(e.t=i,e.env=Math.exp(-M*i),e.sin=Math.sin(t*i),e.cos=Math.cos(t*i))};i=t=>(n(t),C.target-e.env*(e.A*e.sin+C.delta*e.cos)),f=t=>(n(t),e.env*(e.sinC*e.sin+e.cosC*e.cos))}else if(1===k){i=t=>C.target-Math.exp(-E*t)*(C.delta+(C.velocity+E*C.delta)*t);let t={C:0};m=()=>{t.C=C.velocity+E*C.delta},f=e=>Math.exp(-E*e)*(E*t.C*e-C.velocity)}else{let t=E*Math.sqrt(k*k-1);i=e=>{let i=Math.exp(-M*e),n=Math.min(t*e,300);return C.target-i*((C.velocity+M*C.delta)*Math.sinh(n)+t*C.delta*Math.cosh(n))/t};let e={P:0,sinh:0,cosh:0};m=()=>{e.P=(C.velocity+M*C.delta)/t,e.sinh=M*e.P-C.delta*t,e.cosh=M*C.delta-e.P*t},f=i=>{let n=Math.exp(-M*i),r=Math.min(t*i,300);return n*(e.sinh*Math.sinh(r)+e.cosh*Math.cosh(r))}}m();let D=!c(y,d)&&c(y,h),R=A&&P||null,j={calculatedDuration:R,retarget:(t,e)=>{C.target=t[t.length-1],C.delta=C.target-t[0],C.velocity=D?0:-(0,r.X)(e),y.restSpeed&&y.restDelta||V(),j.calculatedDuration=R,x.done=!1,m()},velocity:t=>(0,r.f)(f(t)),next:t=>{let e=i(t);return A?x.done=t>=P:x.done=Math.abs((0,r.f)(f(t)))<=C.restSpeed&&Math.abs(C.target-e)<=C.restDelta,x.value=x.done?C.target:e,x},toString:()=>{let t=Math.min((0,a.t)(j),a.Y),e=(0,o.K)(e=>j.next(t*e).value,t,30);return t+"ms "+e},toTransition:()=>{}};return j}p.applyToOptions=t=>{let e=function(t,e=100,i){let n=i({...t,keyframes:[0,e]}),s=Math.min((0,a.t)(n),a.Y);return{type:"keyframes",ease:t=>n.next(s*t).value/e,duration:(0,r.X)(s)}}(t,100,p);return t.ease=e.ease,t.duration=(0,r.f)(e.duration),t.type="keyframes",t}},8453:(t,e,i)=>{i.d(e,{v:()=>r});var n=i(6105);class r{constructor(){this.subscriptions=[]}add(t){return(0,n.Kq)(this.subscriptions,t),()=>this.remove(t)}remove(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 r=0;r{i.d(e,{K:()=>n});function n(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 r=i?.[t]??n.querySelectorAll(t);return r?Array.from(r):[]}return Array.from(t).filter(t=>null!=t)}},8605:(t,e,i)=>{i.d(e,{Sz:()=>o,ZZ:()=>l,dg:()=>a});var n=i(6262),r=i(5516),s=i(6815);let o=(0,n.A)(.33,1.53,.69,.99),a=(0,s.G)(o),l=(0,r.V)(a)},8857:(t,e,i)=>{i.d(e,{Y:()=>n,t:()=>r});let n=2e4;function r(t,e=50,i=n,s){let o=0,a=t.next(o);for(s?.push(a.value);!a.done&&o=i?1/0:o}},8894:(t,e,i)=>{i.d(e,{u:()=>r});var n=i(1739);let r={test:(0,i(3919).$)("#"),parse:function(t){let e="",i="",n="",r="";return t.length>5?(e=t.substring(1,3),i=t.substring(3,5),n=t.substring(5,7),r=t.substring(7,9)):(e=t.substring(1,2),i=t.substring(2,3),n=t.substring(3,4),r=t.substring(4,5),e+=e,i+=i,n+=n,r+=r),{red:parseInt(e,16),green:parseInt(i,16),blue:parseInt(n,16),alpha:r?parseInt(r,16)/255:1}},transform:n.B.transform}},8895:(t,e,i)=>{i.d(e,{q:()=>n});let n=(t,e,i)=>i>e?e:i{i.d(e,{a:()=>n});let n=t=>Math.round(1e5*t)/1e5},9201:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(4294).A)("ShieldCheck",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]])},9361:(t,e,i)=>{i.d(e,{k:()=>n});let n=(t,e,i)=>t+(e-t)*i},9679:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(4294).A)("Phone",[["path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",key:"foiqr5"}]])},9686:(t,e,i)=>{i.d(e,{t:()=>n});let n=(0,i(2115).createContext)(null)},9809:(t,e,i)=>{i.d(e,{po:()=>s,tn:()=>a,yT:()=>o});var n=i(5516),r=i(6815);let s=t=>1-Math.sin(Math.acos(t)),o=(0,r.G)(s),a=(0,n.V)(s)},9862:(t,e,i)=>{Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"RouterContext",{enumerable:!0,get:function(){return n}});let n=i(8140)._(i(2115)).default.createContext(null)},9985:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(4294).A)("PackageCheck",[["path",{d:"m16 16 2 2 4-4",key:"gfu2re"}],["path",{d:"M21 10V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l2-1.14",key:"e7tb2h"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["line",{x1:"12",x2:"12",y1:"22",y2:"12",key:"a4e8g8"}]])}}]);