PageSourceSearch

https://www.sgtc.gov.bd/_next/static/chunks/9308-5dcc4486a0d4fe5e.js?dpl=dpl_FVChfAeinTER1sAGNRf8XN7ABoS1

js sgtc.gov.bd collected 2026-09-25 12:39:16 UTC 151,077 bytes, 9 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9308],{1406:(t,e,i)=>{i.d(e,{Sz:()=>o,ZZ:()=>l,dg:()=>a});var n=i(25505),r=i(75887),s=i(12266);let o=(0,n.A)(.33,1.53,.69,.99),a=(0,s.G)(o),l=(0,r.V)(a)},2879:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(8698).A)("MonitorPlay",[["path",{d:"M10 7.75a.75.75 0 0 1 1.142-.638l3.664 2.249a.75.75 0 0 1 0 1.278l-3.664 2.25a.75.75 0 0 1-1.142-.64z",key:"1pctta"}],["path",{d:"M12 17v4",key:"1riwvh"}],["path",{d:"M8 21h8",key:"1ev6f3"}],["rect",{x:"2",y:"3",width:"20",height:"14",rx:"2",key:"x3v2xh"}]])},4756:(t,e,i)=>{i.d(e,{o:()=>y});var n=i(5556),r=i(38621),s=i(94712),o=i(78987),a=i(17964);let l=.01,h=2,u=.005,d=.5;function c(t,e){return t*Math.sqrt(1-e*e)}let p=["duration","bounce"],m=["stiffness","damping","mass"];function f(t,e){return e.some(e=>void 0!==t[e])}function y(t=.3,e=.3){let i,g,v,x,w,k,A="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:e}:t,{restSpeed:S,restDelta:b}=A,T=A.keyframes[0],P=A.keyframes[A.keyframes.length-1],M={done:!1,value:T},{stiffness:E,damping:V,mass:C,duration:R,velocity:D,isResolvedFromDuration:L}=function(t){let e={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...t};if(!f(t,m)&&f(t,p))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:1,stiffness:n,damping:r}}else{let i=function({duration:t=800,bounce:e=.3,velocity:i=0,mass:o=1}){let a,l;(0,n.$)(t<=(0,r.f)(10),"Spring duration must be 10 seconds or less","spring-duration-limit");let h=1-e;h=(0,s.q)(.05,1,h),t=(0,s.q)(.01,10,(0,r.X)(t)),h<1?(a=e=>{let n=e*h,r=n*t;return .001-(n-i)/c(e,h)*Math.exp(-r)},l=e=>{let n=e*h*t,r=Math.pow(h,2)*Math.pow(e,2)*t,s=Math.exp(-n),o=c(Math.pow(e,2),h);return(n*i+i-r)*s*(-a(e)+.001>0?-1:1)/o}):(a=e=>-.001+Math.exp(-e*t)*((e-i)*t+1),l=e=>t*t*(i-e)*Math.exp(-e*t));let u=function(t,e,i){let n=i;for(let i=1;i<12;i++)n-=t(n)/e(n);return n}(a,l,5/t);if(t=(0,r.f)(t),isNaN(u))return{stiffness:100,damping:10,duration:t};{let e=Math.pow(u,2)*o;return{stiffness:e,damping:2*h*Math.sqrt(o*e),duration:t}}}({...t,velocity:0});(e={...e,...i,mass:1}).isResolvedFromDuration=!0}return e}({...A,velocity:-(0,r.X)(A.velocity||0)}),j=D||0,B=V/(2*Math.sqrt(E*C)),F=P-T,O=(0,r.X)(Math.sqrt(E/C)),I=5>Math.abs(F);if(S||(S=I?l:h),b||(b=I?u:d),B<1)v=c(O,B),x=(j+B*O*F)/v,i=t=>P-Math.exp(-B*O*t)*(x*Math.sin(v*t)+F*Math.cos(v*t)),w=B*O*x+F*v,k=B*O*F-x*v,g=t=>Math.exp(-B*O*t)*(w*Math.sin(v*t)+k*Math.cos(v*t));else if(1===B){i=t=>P-Math.exp(-O*t)*(F+(j+O*F)*t);let t=j+O*F;g=e=>Math.exp(-O*e)*(O*t*e-j)}else{let t=O*Math.sqrt(B*B-1);i=e=>{let i=Math.exp(-B*O*e),n=Math.min(t*e,300);return P-i*((j+B*O*F)*Math.sinh(n)+t*F*Math.cosh(n))/t};let e=(j+B*O*F)/t,n=B*O*e-F*t,r=B*O*F-e*t;g=e=>{let i=Math.exp(-B*O*e),s=Math.min(t*e,300);return i*(n*Math.sinh(s)+r*Math.cosh(s))}}let W={calculatedDuration:L&&R||null,velocity:t=>(0,r.f)(g(t)),next:t=>{if(!L&&B<1){let e=Math.exp(-B*O*t),i=Math.sin(v*t),n=Math.cos(v*t),s=P-e*(x*i+F*n);return M.done=Math.abs((0,r.f)(e*(w*i+k*n)))<=S&&Math.abs(P-s)<=b,M.value=M.done?P:s,M}let e=i(t);return L?M.done=t>=R:M.done=Math.abs((0,r.f)(g(t)))<=S&&Math.abs(P-e)<=b,M.value=M.done?P:e,M},toString:()=>{let t=Math.min((0,a.t)(W),a.Y),e=(0,o.K)(e=>W.next(t*e).value,t,30);return t+"ms "+e},toTransition:()=>{}};return W}y.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,y);return t.ease=e.ease,t.duration=(0,r.f)(e.duration),t.type="keyframes",t}},5556:(t,e,i)=>{i.d(e,{$:()=>n,V:()=>r}),i(41463);let n=()=>{},r=()=>{}},6900:(t,e,i)=>{i.d(e,{OQ:()=>h,bt:()=>a});var n=i(73852),r=i(79537),s=i(37035),o=i(27933);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.events.change?.notify(this.current),this.dependents))for(let t of this.dependents)t.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=e.owner}setCurrent(t){this.current=t,this.updatedAt=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){this.events[t]||(this.events[t]=new n.v);let i=this.events[t].add(e);return"change"===t?()=>{i(),o.Gt.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,e,i){this.set(e),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-i}jump(t,e=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,e&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return 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=>{this.hasAnimated=!0,this.animation=t(e),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function h(t,e){return new l(t,e)}},7145:(t,e,i)=>{i.d(e,{J:()=>s});var n=i(96291);let r={};function s(t,e){let i=(0,n.p)(t);return()=>r[e]??i()}},7339:(t,e,i)=>{i.d(e,{HydrationBoundary:()=>o});var n=i(12115),r=i(8201),s=i(35625),o=({children:t,options:e={},state:i,queryClient:o})=>{let a=(0,s.useQueryClient)(o),l=n.useRef(e);n.useEffect(()=>{l.current=e});let h=n.useMemo(()=>
1{if(i){if("object"!=typeof i)return;let t=a.getQueryCache(),e=i.queries||[],n=[],s=[];for(let i of e){let e=t.get(i.queryHash);e?(i.state.dataUpdatedAt>e.state.dataUpdatedAt||i.promise&&"pending"!==e.state.status&&"fetching"!==e.state.fetchStatus&&void 0!==i.dehydratedAt&&i.dehydratedAt>e.state.dataUpdatedAt)&&s.push(i):n.push(i)}if(n.length>0&&(0,r.Qv)(a,{queries:n},l.current),s.length>0)return s}},[a,i]);return n.useEffect(()=>{h&&(0,r.Qv)(a,{queries:h},l.current)},[a,h]),t}},7906:(t,e,i)=>{i.d(e,{i:()=>g});var n=i(25505);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(5556),l=i(72025),h=i(25903),u=i(1406),d=i(89722),c=i(9331);let p={linear:l.l,easeIn:r,easeInOut:o,easeOut:s,circIn:d.po,circInOut:d.tn,circOut:d.yT,backIn:u.dg,backInOut:u.ZZ,backOut:u.Sz,anticipate:h.b},m=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 f=i(21649),y=i(83931);function g({duration:t=300,keyframes:e,times:i,ease:n="easeInOut"}){var r;let s=Array.isArray(n)&&"number"!=typeof n[0]?n.map(m):m(n),a={done:!1,value:e[0]},l=(r=i&&i.length===e.length?i:(0,y.Z)(e),r.map(e=>e*t)),h=(0,f.G)(l,e,{ease:Array.isArray(s)?s:e.map(()=>s||o).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(a.value=h(e),a.done=e>=t,a)}}},9331:(t,e,i)=>{i.d(e,{D:()=>n});let n=t=>Array.isArray(t)&&"number"==typeof t[0]},9339:(t,e,i)=>{Object.defineProperty(e,"__esModule",{value:!0});var n={callServer:function(){return s.callServer},createServerReference:function(){return a.createServerReference},findSourceMapURL:function(){return o.findSourceMapURL}};for(var r in n)Object.defineProperty(e,r,{enumerable:!0,get:n[r]});let s=i(77304),o=i(4060),a=i(77197)},9942:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(8698).A)("Play",[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]])},10149:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(8698).A)("ZoomIn",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"11",x2:"11",y1:"8",y2:"14",key:"1vmskp"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]])},11048:(t,e,i)=>{i.d(e,{KN:()=>s,gQ:()=>h,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"),h={...s,parse:t=>s.parse(t)/100,transform:t=>s.transform(100*t)}},11180:(t,e,i)=>{i.d(e,{useIsFetching:()=>o});var n=i(12115),r=i(31967),s=i(35625);function o(t,e){let i=(0,s.useQueryClient)(e),o=i.getQueryCache();return n.useSyncExternalStore(n.useCallback(t=>o.subscribe(r.jG.batchCalls(t)),[o]),()=>i.isFetching(t),()=>i.isFetching(t))}},12075:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(8698).A)("FlaskConical",[["path",{d:"M14 2v6a2 2 0 0 0 .245.96l5.51 10.08A2 2 0 0 1 18 22H6a2 2 0 0 1-1.755-2.96l5.51-10.08A2 2 0 0 0 10 8V2",key:"18mbvz"}],["path",{d:"M6.453 15h11.094",key:"3shlmq"}],["path",{d:"M8.5 2h7",key:"csnxdl"}]])},12266:(t,e,i)=>{i.d(e,{G:()=>n});let n=t=>e=>1-t(1-e)},13092:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(8698).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"}]])},13853:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(8698).A)("ArrowUp",[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]])},14210:(t,e,i)=>{i.d(e,{L:()=>X});var n=i(6900),r=i(38873),s=i(69166),o=i(5556),a=i(12115),l=i(72025),h=i(27933);function u(t,e){let i,n=()=>{let{currentTime:n}=e,r=(null===n?0:n.value)/100;i!==r&&t(r),i=r};return h.Gt.preUpdate(n,!0),()=>(0,h.WG)(n)}function d(t){return!("u"<typeof window)&&(t?(0,s.d)():(0,s.J)())}
1var c=i(51275),p=i(18844),m=i(79537);let f=()=>({current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}),y={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};function g(t,e,i,n){let r=i[e],{length:s,position:o}=y[e],a=r.current,l=i.time;r.current=Math.abs(t[`scroll${o}`]),r.scrollLength=t[`scroll${s}`]-t[`client${s}`],r.offset.length=0,r.offset[0]=0,r.offset[1]=r.scrollLength,r.progress=(0,p.q)(0,r.scrollLength,r.current);let h=n-l;r.velocity=h>50?0:(0,m.f)(r.current-a,h)}var v=i(21649),x=i(83931),w=i(94712),k=i(78757);let A={start:0,center:.5,end:1};function S(t,e,i=0){let n=0;if(t in A&&(t=A[t]),"string"==typeof t){let e=parseFloat(t);t.endsWith("px")?n=e:t.endsWith("%")?t=e/100:t.endsWith("vw")?n=e/100*document.documentElement.clientWidth:t.endsWith("vh")?n=e/100*document.documentElement.clientHeight:t=e}return"number"==typeof t&&(n=e*t),i+n}let b=[0,0],T=[[0,0],[1,1]],P={x:0,y:0},M=new WeakMap,E=new WeakMap,V=new WeakMap,C=new WeakMap,R=new WeakMap,D=t=>t===document.scrollingElement?window:t;function L(t,{container:e=document.scrollingElement,trackContentSize:i=!1,...n}={}){if(!e)return l.l;let r=V.get(e);r||(r=new Set,V.set(e,r));let s=function(t,e,i,n={}){return{measure:e=>{!function(t,e=t,i){if(i.x.targetOffset=0,i.y.targetOffset=0,e!==t){let n=e;for(;n&&n!==t;)i.x.targetOffset+=n.offsetLeft,i.y.targetOffset+=n.offsetTop,n=n.offsetParent}i.x.targetLength=e===t?e.scrollWidth:e.clientWidth,i.y.targetLength=e===t?e.scrollHeight:e.clientHeight,i.x.containerLength=t.clientWidth,i.y.containerLength=t.clientHeight}(t,n.target,i),g(t,"x",i,e),g(t,"y",i,e),i.time=e,(n.offset||n.target)&&function(t,e,i){let{offset:n=T}=i,{target:r=t,axis:s="y"}=i,o="y"===s?"height":"width",a=r!==t?function(t,e){let i={x:0,y:0},n=t;for(;n&&n!==e;)if((0,k.s)(n))i.x+=n.offsetLeft,i.y+=n.offsetTop,n=n.offsetParent;else if("svg"===n.tagName){let t=n.getBoundingClientRect(),e=(n=n.parentElement).getBoundingClientRect();i.x+=t.left-e.left,i.y+=t.top-e.top}else if(n instanceof SVGGraphicsElement){let{x:t,y:e}=n.getBBox();i.x+=t,i.y+=e;let r=null,s=n.parentNode;for(;!r;)"svg"===s.tagName&&(r=s),s=n.parentNode;n=r}else break;return i}(r,t):P,l=r===t?{width:t.scrollWidth,height:t.scrollHeight}:"getBBox"in r&&"svg"!==r.tagName?r.getBBox():{width:r.clientWidth,height:r.clientHeight},h={width:t.clientWidth,height:t.clientHeight};e[s].offset.length=0;let u=!e[s].interpolate,d=n.length;for(let t=0;t<d;t++){let i=function(t,e,i,n){let r=Array.isArray(t)?t:b,s=0;return"number"==typeof t?r=[t,t]:"string"==typeof t&&(r=(t=t.trim()).includes(" ")?t.split(" "):[t,A[t]?t:"0"]),(s=S(r[0],i,n))-S(r[1],e)}
1(n[t],h[o],l[o],a[s]);u||i===e[s].interpolatorOffsets[t]||(u=!0),e[s].offset[t]=i}u&&(e[s].interpolate=(0,v.G)(e[s].offset,(0,x.Z)(n),{clamp:!1}),e[s].interpolatorOffsets=[...e[s].offset]),e[s].progress=(0,w.q)(0,1,e[s].interpolate(e[s].current))}(t,i,n)},notify:()=>e(i)}}(e,t,{time:0,x:f(),y:f()},n);if(r.add(s),!M.has(e)){let t=()=>{for(let t of r)t.measure(h.uv.timestamp);h.Gt.preUpdate(i)},i=()=>{for(let t of r)t.notify()},n=()=>h.Gt.read(t);M.set(e,n);let s=D(e);window.addEventListener("resize",n),e!==document.documentElement&&E.set(e,(0,c.X)(e,n)),s.addEventListener("scroll",n),n()}if(i&&!R.has(e)){let t=M.get(e),i={width:e.scrollWidth,height:e.scrollHeight};C.set(e,i);let n=h.Gt.read(()=>{let n=e.scrollWidth,r=e.scrollHeight;(i.width!==n||i.height!==r)&&(t(),i.width=n,i.height=r)},!0);R.set(e,n)}let o=M.get(e);return h.Gt.read(o,!1,!0),()=>{(0,h.WG)(o);let t=V.get(e);if(!t||(t.delete(s),t.size))return;let i=M.get(e);M.delete(e),i&&(D(e).removeEventListener("scroll",i),E.get(e)?.(),window.removeEventListener("resize",i));let n=R.get(e);n&&((0,h.WG)(n),R.delete(e)),C.delete(e)}}let j=[[[[0,1],[1,1]],"entry"],[[[0,0],[1,0]],"exit"],[[[1,0],[0,1]],"cover"],[T,"contain"]],B={start:0,end:1};function F(t){if(!t)return{rangeStart:"contain 0%",rangeEnd:"contain 100%"};for(let[e,i]of j)if(function(t,e){let i=function(t){if(2!==t.length)return;let e=[];for(let i of t)if(Array.isArray(i))e.push(i);else{if("string"!=typeof i)return;let t=function(t){let e=t.trim().split(/\s+/);if(2!==e.length)return;let i=B[e[0]],n=B[e[1]];if(void 0!==i&&void 0!==n)return[i,n]}(i);if(!t)return;e.push(t)}return e}(t);if(!i)return!1;for(let t=0;t<2;t++){let n=i[t],r=e[t];if(n[0]!==r[0]||n[1]!==r[1])return!1}return!0}(t,e))return{rangeStart:`${i} 0%`,rangeEnd:`${i} 100%`}}let O=new Map;function I(t){let e={value:0},i=L(i=>{e.value=100*i[t.axis].progress},t);return{currentTime:e,cancel:i}}function W({source:t,container:e,...i}){let{axis:n}=i;t&&(e=t);let r=O.get(e);r||(r=new Map,O.set(e,r));let s=i.target??"self",o=r.get(s);o||(o={},r.set(s,o));let a=n+(i.offset??[]).join(",");return o[a]||(i.target&&d(i.target)?F(i.offset)?o[a]=new ViewTimeline({subject:i.target,axis:n}):o[a]=I({container:e,...i}):d()?o[a]=new ScrollTimeline({source:e,axis:n}):o[a]=I({container:e,...i})),o[a]}function U(t,{axis:e="y",container:i=document.scrollingElement,...n}={}){let r,s,o;if(!i)return l.l;let a={axis:e,container:i,...n};return"function"==typeof t?function(t,e){return 2===t.length||e&&(e.target||e.offset)?L(i=>{t(i[e.axis].progress,i)},e):u(t,W(e))}(t,a):(r=W(a),s=a.target?F(a.offset):void 0,o=a.target?d(a.target)&&!!s:d(),t.attachTimeline({timeline:o?r:void 0,...s&&o&&{rangeStart:s.rangeStart,rangeEnd:s.rangeEnd},observe:t=>(t.pause(),u(e=>{t.time=t.iterationDuration*e},r))}))}var G=i(28819),$=i(65239);let N=()=>({scrollX:(0,n.OQ)(0),scrollY:(0,n.OQ)(0),scrollXProgress:(0,n.OQ)(0),scrollYProgress:(0,n.OQ)(0)}),z=t=>!!t&&!t.current;function q(t,e,i,n){return{factory:s=>{let o,a=()=>{z(i)||z(n)?r.k.read(a):o=U(s,{...e,axis:t,container:i?.current||void 0,target:n?.current||void 0})};return r.k.read(a),()=>{(0,r.c)(a),o?.()}},times:[0,1],keyframes:[0,1],ease:t=>t,duration:1}}function X({container:t,target:e,...i}={}){var n;let l=(0,G.M)(N);n=i.offset,!("u"<typeof window)&&(e?(0,s.d)()&&!!F(n):(0,s.J)())&&(l.scrollXProgress.accelerate=q("x",i,t,e),l.scrollYProgress.accelerate=q("y",i,t,e));let h=(0,a.useRef)(null),u=(0,a.useRef)(!1),d=(0,a.useCallback)(()=>(h.current=U((t,{x:e,y:i})=>{l.scrollX.set(e.current),l.scrollXProgress.set(e.progress),l.scrollY.set(i.current),l.scrollYProgress.set(i.progress)},{...i,container:t?.current||void 0,target:e?.current||void 0}),()=>{h.current?.()}),[t,e,JSON.stringify(i.offset)]);return(0,$.E)(()=>{if(u.current=!1,!(z(t)||z(e)))return d();u.current=!0},[d]),(0,a.useEffect)(()=>{let i;if(!u.current)return;let n=()=>{let n=z(t),r=z(e);(0,o.V)(!n,"Container ref is defined but not hydrated","use-scroll-ref"),(0,o.V)(!r,"Target ref is defined but not hydrated","use-scroll-ref"),n||r||(i=d())};return r.k.read(n),()=>{(0,r.c)(n),i?.()}},[d]),l}},14405:(t,e,i)=>{i.d(e,{s:()=>x});var n=i(34017),r=i(94712),s=i(38621),o=i(37035),a=i(67026),l=i(86075),h=i(27933);let u=t=>{let e=({timestamp:e})=>t(e);return{start:(t=!0)=>h.Gt.update(e,t),stop:()=>(0,h.WG)(e),now:()=>h.uv.isProcessing?h.uv.timestamp:o.k.now()}};var d=i(41720),c=i(7906),p=i(17964),m=i(45343),f=i(47736),y=i(20754),g=i(40660);let v=t=>t/100;class x extends g.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!==o.k.now()&&this.tick(o.k.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},a.q.mainThread++,this.options=t,this.initAnimation(),this.play(),!1===t.autoplay&&this.pause()}initAnimation(){let{options:t}=this;(0,y.E)(t);let{type:e=c.i,repeat:i=0,repeatDelay:r=0,repeatType:s,velocity:o=0}=t,{keyframes:a}=t,h=e||c.i;h!==c.i&&"number"!=typeof a[0]&&(this.mixKeyframes=(0,n.F)(v,(0,l.j)(a[0],a[1])),a=[0,100]);let u=h({...t,keyframes:a});"mirror"===s&&(this.mirroredGenerator=h({...t,keyframes:[...a].reverse(),velocity:-o})),null===u.calculatedDuration&&(u.calculatedDuration=(0,p.t)(u));let{calculatedDuration:d}=u;this.calculatedDuration=d,this.resolvedDuration=d+r,this.totalDuration=this.resolvedDuration*(i+1)-r,this.generator=u}updateTime(t){let e=Math.round(t-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=e}tick(t,e=!1){let i,{generator:n,totalDuration:s,mixKeyframes:o,mirroredGenerator:a,resolvedDuration:l,calculatedDuration:h}=this;if(null===this.startTime)return n.next(0);let{delay:u=0,keyframes:c,repeat:p,repeatType:m,repeatDelay:y,type:g,onUpdate:v,finalKeyframe:x}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-s/this.speed,this.startTime)),e?this.currentTime=t:this.updateTime(t);let w=this.currentTime-u*(this.playbackSpeed>=0?1:-1),k=this.playbackSpeed>=0?w<0:w>s;this.currentTime=Math.max(w,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=s);let A=this.currentTime,S=n;if(p){let t=Math.min(this.currentTime,s)/l,e=Math.floor(t),i=t%1;!i&&t>=1&&(i=1),1===i&&e--,(e=Math.min(e,p+1))%2&&("reverse"===m?(i=1-i,y&&(i-=y/l)):"mirror"===m&&(S=a)),A=(0,r.q)(0,1,i)*l}k?(this.delayState.value=c[0],i=this.delayState):i=S.next(A),o&&!k&&(i.value=o(i.value));let{done:b}=i;k||null===h||(b=this.playbackSpeed>=0?this.currentTime>=s:this.currentTime<=0);let T=null===this.holdTime&&("finished"===this.state||"running"===this.state&&b);return T&&g!==d.B&&(i.value=(0,f.X)(c,this.options,x,this.speed)),v&&v(i.value),T&&this.finish(),i}then(t,e){return this.finished.then(t,e)}get duration(){return(0,s.X)(this.calculatedDuration)}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+(0,s.X)(t)}get time(){return(0,s.X)(this.currentTime)}set time(t){t=(0,s.f)(t),this.currentTime=t,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=t,this.tick(t))}getGeneratorVelocity(){let t=this.currentTime;
1if(t<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(t);let e=this.generator.next(t).value;return(0,m.z)(t=>this.generator.next(t).value,t,e)}get speed(){return this.playbackSpeed}set speed(t){let e=this.playbackSpeed!==t;e&&this.driver&&this.updateTime(o.k.now()),this.playbackSpeed=t,e&&this.driver&&(this.time=(0,s.X)(this.currentTime))}play(){if(this.isStopped)return;let{driver:t=u,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(o.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,a.q.mainThread--}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)}}},14571:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(8698).A)("Link2",[["path",{d:"M9 17H7A5 5 0 0 1 7 7h2",key:"8i5ue5"}],["path",{d:"M15 7h2a5 5 0 1 1 0 10h-2",key:"1b9ql8"}],["line",{x1:"8",x2:"16",y1:"12",y2:"12",key:"1jonct"}]])},15131:(t,e,i)=>{i.d(e,{t:()=>n});let n=(0,i(12115).createContext)(null)},16136:(t,e,i)=>{i.d(e,{useIsMutating:()=>a,useMutationState:()=>h});var n=i(12115),r=i(5858),s=i(31967),o=i(35625);function a(t,e){let i=(0,o.useQueryClient)(e);return h({filters:{...t,status:"pending"}},i).length}function l(t,e){return t.findAll(e.filters).map(t=>e.select?e.select(t):t.state)}function h(t={},e){let i=(0,o.useQueryClient)(e).getMutationCache(),a=n.useRef(t),u=n.useRef(null);return null===u.current&&(u.current=l(i,t)),n.useEffect(()=>{a.current=t}),n.useSyncExternalStore(n.useCallback(t=>i.subscribe(()=>{let e=(0,r.BH)(u.current,l(i,a.current));u.current!==e&&(u.current=e,s.jG.schedule(t))}),[i]),()=>u.current,()=>u.current)}},17964:(t,e,i)=>{i.d(e,{Y:()=>n,t:()=>r});let n=2e4;function r(t){let e=0,i=t.next(e);for(;!i.done&&e<n;)e+=50,i=t.next(e);return e>=n?1/0:e}},18844:(t,e,i)=>{i.d(e,{q:()=>n});let n=(t,e,i)=>{let n=e-t;return n?(i-t)/n:1}},19134:(t,e,i)=>{i.d(e,{P:()=>rc});let n=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],r=new Set([...n,"pathRotation"]);var s,o=i(77054),a=i(83399),l=i(21620);let h=new Set(["brightness","contrast","saturate","opacity"]);function u(t){let[e,i]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[n]=i.match(l.S)||[];if(!n)return t;let r=i.replace(n,""),s=+!!h.has(e);return n!==i&&(s*=100),e+"("+s+r+")"}let d=/\b([a-z-]*)\(.*?\)/gu,c={...a.f,getAnimatableNone:t=>{let e=t.match(d);return e?e.map(u).join(" "):t}},p={...a.f,getAnimatableNone:t=>{let e=a.f.parse(t);return a.f.createTransformer(t)(e.map(t=>"number"==typeof t?0:"object"==typeof t?{...t,alpha:1}:t))}};var m=i(49637);let f={...m.ai,transform:Math.round};var y=i(11048);let g={rotate:y.uj,pathRotation:y.uj,rotateX:y.uj,rotateY:y.uj,rotateZ:y.uj,scale:m.hs,scaleX:m.hs,scaleY:m.hs,scaleZ:m.hs,skew:y.uj,skewX:y.uj,skewY:y.uj,distance:y.px,translateX:y.px,translateY:y.px,translateZ:y.px,x:y.px,y:y.px,z:y.px,perspective:y.px,transformPerspective:y.px,opacity:m.X4,originX:y.gQ,originY:y.gQ,originZ:y.px},v={borderWidth:y.px,borderTopWidth:y.px,borderRightWidth:y.px,borderBottomWidth:y.px,borderLeftWidth:y.px,borderRadius:y.px,borderTopLeftRadius:y.px,borderTopRightRadius:y.px,borderBottomRightRadius:y.px,borderBottomLeftRadius:y.px,width:y.px,maxWidth:y.px,height:y.px,maxHeight:y.px,top:y.px,right:y.px,bottom:y.px,left:y.px,inset:y.px,insetBlock:y.px,insetBlockStart:y.px,insetBlockEnd:y.px,insetInline:y.px,insetInlineStart:y.px,insetInlineEnd:y.px,padding:y.px,paddingTop:y.px,paddingRight:y.px,paddingBottom:y.px,paddingLeft:y.px,paddingBlock:y.px,paddingBlockStart:y.px,paddingBlockEnd:y.px,paddingInline:y.px,paddingInlineStart:y.px,paddingInlineEnd:y.px,margin:y.px,marginTop:y.px,marginRight:y.px,marginBottom:y.px,marginLeft:y.px,marginBlock:y.px,marginBlockStart:y.px,marginBlockEnd:y.px,marginInline:y.px,marginInlineStart:y.px,marginInlineEnd:y.px,fontSize:y.px,backgroundPositionX:y.px,backgroundPositionY:y.px,...g,zIndex:f,fillOpacity:m.X4,strokeOpacity:m.X4,numOctaves:f},x={...v,color:o.y,backgroundColor:o.y,outlineColor:o.y,fill:o.y,stroke:o.y,borderColor:o.y,borderTopColor:o.y,borderRightColor:o.y,borderBottomColor:o.y,borderLeftColor:o.y,filter:c,WebkitFilter:c,mask:p,WebkitMask:p},w=t=>x[t],k=()=>({translate:0,scale:1,origin:0,originPoint:0}),A=()=>({x:k(),y:k()}),S=()=>({min:0,max:0}),b=()=>({x:S(),y:S()});var T=i(51469);let P=new Set(["width","height","top","left","right","bottom",...n]),M=t=>e=>e.test(t),E=[m.ai,y.px,y.KN,y.uj,y.vw,y.vh,{test:t=>"auto"===t,parse:t=>t}],V=t=>E.find(M(t));var C=i(5556),R=i(39896);let D=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,L=t=>180*t/Math.PI,j=t=>F(L(Math.atan2(t[1],t[0]))),B={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:j,rotateZ:j,skewX:t=>L(Math.atan(t[1])),skewY:t=>L(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},F=t=>((t%=360)<0&&(t+=360),t),O=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),I=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),W={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:O,scaleY:I,scale:t=>(O(t)+I(t))/2,rotateX:t=>F(L(Math.atan2(t[6],t[5]))),rotateY:t=>F(L(Math.atan2(-t[2],t[0]))),rotateZ:j,rotate:j,skewX:t=>L(Math.atan(t[4])),skewY:t=>L(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function U(t){return+!!t.includes("scale")}function G(t,e){let i,n;if(!t||"none"===t)return U(e);let r=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(r)i=W,n=r;else{let e=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=B,n=e}if(!n)return U(e);let s=i[e],o=n[1].split(",").map($);return"function"==typeof s?s(o):o[s]}function $(t){return parseFloat(t.trim())}let N=t=>t===m.ai||t===y.px,z=new Set(["x","y","z"]),q=n.filter(t=>!z.has(t)),X={width:({x:t},{paddingLeft:e="0",paddingRight:i="0",boxSizing:n})=>{let r=t.max-t.min;return"border-box"===n?r:r-parseFloat(e)-parseFloat(i)},height:({y:t},{paddingTop:e="0",paddingBottom:i="0",boxSizing:n})=>{let r=t.max-t.min;return"border-box"===n?r:r-parseFloat(e)-parseFloat(i)},top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:(t,{transform:e})=>G(e,"x"),y:(t,{transform:e})=>G(e,"y")};X.translateX=X.x,X.translateY=X.y;var H=i(27933);let Y=new Set,K=!1,Q=!1,Z=!1;function _(){if(Q){let t=Array.from(Y).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),i=new Map;e.forEach(t=>{let e,n=(e=[],q.forEach(i=>
1{let n=t.getValue(i);void 0!==n&&(e.push([i,n.get()]),n.set(+!!i.startsWith("scale")))}),e);n.length&&(i.set(t,n),t.render())}),t.forEach(t=>t.measureInitialState()),e.forEach(t=>{t.render();let e=i.get(t);e&&e.forEach(([e,i])=>{t.getValue(e)?.set(i)})}),t.forEach(t=>t.measureEndState()),t.forEach(t=>{void 0!==t.suspendedScrollY&&window.scrollTo(0,t.suspendedScrollY)})}Q=!1,K=!1,Y.forEach(t=>t.complete(Z)),Y.clear()}function J(){Y.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(Q=!0)})}class tt{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?(Y.add(this),K||(K=!0,H.Gt.read(J),H.Gt.resolveKeyframes(_))):(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=i.readValue(e,s);null!=n&&(t[0]=n)}void 0===t[0]&&(t[0]=s),n&&void 0===r&&n.set(t[0])}for(let e=1;e<t.length;e++)t[e]??(t[e]=t[e-1])}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),Y.delete(this)}cancel(){"scheduled"===this.state&&(Y.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}let te=new Set([c,p]);function ti(t,e){let i=w(t);return te.has(i)||(i=a.f),i.getAnimatableNone?i.getAnimatableNone(e):void 0}let tn=new Set(["auto","none","0"]);class tr extends tt{constructor(t,e,i,n,r){super(t,e,i,n,r,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:e,name:i}=this;if(!e||!e.current)return;super.readKeyframes();for(let i=0;i<t.length;i++){let n=t[i];if("string"==typeof n&&(n=n.trim(),(0,R.pG)(n))){let r=function t(e,i,n=1){(0,C.V)(n<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[r,s]=function(t){let e=D.exec(t);if(!e)return[,];let[,i,n,r]=e;return[`--${i??n}`,r]}(e);if(!r)return;let o=window.getComputedStyle(i).getPropertyValue(r);if(o){let t=o.trim();return/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t)?parseFloat(t):t}return(0,R.pG)(s)?t(s,i,n+1):s}(n,e.current);void 0!==r&&(t[i]=r),i===t.length-1&&(this.finalKeyframe=n)}}if(this.resolveNoneKeyframes(),!P.has(i)||2!==t.length)return;let[n,r]=t,s=V(n),o=V(r);if((0,R.rm)(n)!==(0,R.rm)(r)&&X[i]){this.needsMeasurement=!0;return}if(s!==o)if(N(s)&&N(o))for(let e=0;e<t.length;e++){let i=t[e];"string"==typeof i&&(t[e]=parseFloat(i))}else X[i]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:e}=this,i=[];for(let e=0;e<t.length;e++)(null===t[e]||function(t){if("number"==typeof t)return 0===t;if(null===t)return!0;return"none"===t||"0"===t||/^0[^.\s]+$/u.test(t)}(t[e]))&&i.push(e);i.length&&function(t,e,i){let n,r=0;for(;r<t.length&&!n;){let e=t[r];"string"==typeof e&&!tn.has(e)&&(0,a.V)(e).values.length&&(n=t[r]),r++}if(n&&i)for(let r of e)t[r]=ti(i,n)}(t,i,e)}measureInitialState(){let{element:t,unresolvedKeyframes:e,name:i}=this;if(!t||!t.current)return;"height"===i&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=X[i](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;let n=e[e.length-1];void 0!==n&&t.getValue(i,n).jump(n,!1)}measureEndState(){let{element:t,name:e,unresolvedKeyframes:i}=this;if(!t||!t.current)return;let n=t.getValue(e);n&&n.jump(this.measuredOrigin,!1);let r=i.length-1,s=i[r];i[r]=X[e](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==s&&void 0===this.finalKeyframe&&(this.finalKeyframe=s),this.removedTransforms?.length&&this.removedTransforms.forEac
1h(([e,i])=>{t.getValue(e).set(i)}),this.resolveNoneKeyframes()}}var ts=i(38621),to=i(73852),ta=i(72025);function tl(t,e,i){e.startsWith("--")?t.style.setProperty(e,i):t.style[e]=i}var th=i(69166),tu=i(47736),td=i(40660),tc=i(67026),tp=i(41342),tm=i(9331);let tf=(0,i(7145).J)(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch(t){return!1}return!0},"linearEasing");var ty=i(78987);let tg=([t,e,i,n])=>`cubic-bezier(${t}, ${e}, ${i}, ${n})`,tv={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:tg([0,.65,.55,1]),circOut:tg([.55,0,1,.45]),backIn:tg([.31,.01,.66,-.59]),backOut:tg([.33,1.53,.69,.99])};function tx(t){return"function"==typeof t&&"applyToOptions"in t}class tw extends td.q{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;const{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,C.V)("string"!=typeof t.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");const l=function({type:t,...e}){return tx(t)&&tf()?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}={},h){let u={[e]:i};l&&(u.offset=l);let d=function t(e,i){if(e)return"function"==typeof e?tf()?(0,ty.K)(e,i):"ease-out":(0,tm.D)(e)?tg(e):Array.isArray(e)?e.map(e=>t(e,i)||tv.easeOut):tv[e]}(a,r);Array.isArray(d)&&(u.easing=d),tp.Q.value&&tc.q.waapi++;let c={delay:n,duration:r,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:s+1,direction:"reverse"===o?"alternate":"normal"};h&&(c.pseudoElement=h);let p=t.animate(u,c);return tp.Q.value&&p.finished.finally(()=>{tc.q.waapi--}),p}(e,i,n,l,r),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!r){let t=(0,tu.X)(n,this.options,o,this.speed);this.updateMotionValue&&this.updateMotionValue(t),tl(e,i,t),this.animation.cancel()}a?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),"finished"===this.state&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch(t){}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:t}=this;"idle"!==t&&"finished"!==t&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){let t=this.options?.element;!this.isPseudoElement&&t?.isConnected&&this.animation.commitStyles?.()}get duration(){let t=this.animation.effect?.getComputedTiming?.().duration||0;return(0,ts.X)(Number(t))}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+(0,ts.X)(t)}get time(){return(0,ts.X)(Number(this.animation.currentTime)||0)}set time(t){let e=null!==this.finishedTime;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=(0,ts.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&&(0,th.J)())?(this.animation.timeline=t,e&&(this.animation.rangeStart=e),i&&(this.animation.rangeEnd=i),ta.l):n(this)}}let tk=new Set(["opacity","clipPath","filter","transform"]);var tA=i(38873),tS=i(37035),tb=i(6900);let tT=[...E,o.y,a.f],tP=new WeakMap;function tM(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}function tE(t){return"string"==typeof t||Array.isArray(t)}let tV=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],tC=["initial",...tV];function tR(t){return tM(t.animate)||tC.some(e=>tE(t[e]))}function tD(t){return!!(tR(t)||t.variants)}let tL={current:null},tj={current:!1},tB="u">typeof window;function tF(t){let e=[{},{}];
1return t?.values.forEach((t,i)=>{e[0][i]=t.get(),e[1][i]=t.getVelocity()}),e}function tO(t,e,i,n){if("function"==typeof e){let[r,s]=tF(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]=tF(n);e=e(void 0!==i?i:t.custom,r,s)}return e}let tI=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],tW={};class tU{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=tt,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=tS.k.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,H.Gt.render(this.render,!1,!0))};const{latestValues:l,renderState:h}=o;this.latestValues=l,this.baseTarget={...l},this.initialValues=e.initial?{...l}:{},this.renderState=h,this.parent=t,this.props=e,this.presenceContext=i,this.depth=t?t.depth+1:0,this.reducedMotionConfig=n,this.skipAnimationsConfig=r,this.options=a,this.blockInitialAnimation=!!s,this.isControllingVariants=tR(e),this.isVariantNode=tD(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:u,...d}=this.scrapeMotionValuesFromProps(e,{},this);for(const t in d){const e=d[t];void 0!==l[t]&&(0,T.S)(e)&&e.set(l[t])}}mount(t){if(this.hasBeenMounted)for(let t in this.initialValues)this.values.get(t)?.jump(this.initialValues[t]),this.latestValues[t]=this.initialValues[t];this.current=t,tP.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((t,e)=>this.bindToMotionValue(e,t)),"never"===this.reducedMotionConfig?this.shouldReduceMotion=!1:"always"===this.reducedMotionConfig?this.shouldReduceMotion=!0:(tj.current||function(){if(tj.current=!0,tB)if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>tL.current=t.matches;t.addEventListener("change",e),e()}else tL.current=!1}(),this.shouldReduceMotion=tL.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,H.WG)(this.notifyUpdate),(0,H.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&&tk.has(t)&&this.current instanceof HTMLElement){let{factory:i,keyframes:n,times:r,ease:s,duration:o}=e.accelerate,a=new tw({element:this.current,name:t,keyframes:n,times:r,ease:s,duration:(0,ts.f)(o)}),l=i(a);this.valueSubscriptions.set(t,()=>{l(),a.cancel()});return}let n=r.has(t);n&&this.onBindTransform&&this.onBindTransform();let s=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&H.Gt.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});"u">typeof window&&window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{s(),i&&i()})}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}updateFeatures(){let t="animation";for(t in tW){let e=tW[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];
1e.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):b()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,e){this.latestValues[t]=e}update(t,e){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=e;for(let e=0;e<tI.length;e++){let i=tI[e];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);let n=t["on"+i];n&&(this.propEventSubscriptions[i]=this.on(i,n))}this.prevMotionValues=function(t,e,i){for(let n in e){let r=e[n],s=i[n];if((0,T.S)(r))t.addValue(n,r);else if((0,T.S)(s))t.addValue(n,(0,tb.OQ)(r,{owner:t}));else if(s!==r)if(t.hasValue(n)){let e=t.getValue(n);!0===e.liveStyle?e.jump(r):e.hasAnimated||e.set(r)}else{let e=t.getStaticValue(n);t.addValue(n,(0,tb.OQ)(void 0!==e?e:r,{owner:t}))}}for(let n in i)void 0===e[n]&&t.removeValue(n);return e}(this,this.scrapeMotionValuesFromProps(t,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){let e=this.getClosestVariantNode();if(e)return e.variantChildren&&e.variantChildren.add(t),()=>e.variantChildren.delete(t)}addValue(t,e){let i=this.values.get(t);e!==i&&(i&&this.removeValue(t),this.bindToMotionValue(t,e),this.values.set(t,e),this.latestValues[t]=e.get())}removeValue(t){this.values.delete(t);let e=this.valueSubscriptions.get(t);e&&(e(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,e){if(this.props.values&&this.props.values[t])return this.props.values[t];let i=this.values.get(t);return void 0===i&&void 0!==e&&(i=(0,tb.OQ)(null===e?void 0:e,{owner:this}),this.addValue(t,i)),i}readValue(t,e){let i=void 0===this.latestValues[t]&&this.current?this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options):this.latestValues[t];if(null!=i){let n,r;if("string"==typeof i&&(n=i,/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(n)||(r=i,/^0[^.\s]+$/u.test(r))))i=parseFloat(i);else{let n;n=i,!tT.find(M(n))&&a.f.test(e)&&(i=ti(t,e))}this.setBaseTarget(t,(0,T.S)(i)?i.get():i)}return(0,T.S)(i)?i.get():i}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){let e,{initial:i}=this.props;if("string"==typeof i||"object"==typeof i){let n=tO(this.props,i,this.presenceContext?.custom);n&&(e=n[t])}if(i&&void 0!==e)return e;let n=this.getBaseTargetFromProps(this.props,t);return void 0===n||(0,T.S)(n)?void 0!==this.initialValues[t]&&void 0===e?void 0:this.baseTarget[t]:n}on(t,e){return this.events[t]||(this.events[t]=new to.v),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}scheduleRenderMicrotask(){tA.k.render(this.render)}}class tG extends tU{constructor(){super(...arguments),this.KeyframeResolver=tr}sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){let i=t.style;return i?i[e]:void 0}removeValueFromRenderState(t,{vars:e,style:i}){delete e[t],delete i[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;(0,T.S)(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}function t$(t){return t.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`)}let tN=(t,e)=>e&&"number"==typeof t?e.transform(t):t,tz={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},tq=n.length;function tX(t,e,i){let{style:s,vars:o,transformOrigin:a}=t,l=!1,h=!1;for(let t in e){let i=e[t];if(r.has(t)){l=!0;continue}if((0,R.j4)(t)){o[t]=i;continue}{let e=tN(i,v[t]);t.startsWith("origin")?(h=!0,a[t]=e):s[t]=e}}
1if(!e.transform&&(l||i?s.transform=function(t,e,i){let r="",s=!0;for(let o=0;o<tq;o++){let a=n[o],l=t[a];if(void 0===l)continue;let h=!0;if("number"==typeof l)h=l===+!!a.startsWith("scale");else{let t=parseFloat(l);h=a.startsWith("scale")?1===t:0===t}if(!h||i){let t=tN(l,v[a]);if(!h){s=!1;let e=tz[a]||a;r+=`${e}(${t}) `}i&&(e[a]=t)}}let o=t.pathRotation;return o&&(s=!1,r+=`rotate(${tN(o,v.pathRotation)}) `),r=r.trim(),i?r=i(e,s?"":r):s&&(r="none"),r}(e,t.transform,i):s.transform&&(s.transform="none")),h){let{originX:t="50%",originY:e="50%",originZ:i=0}=a;s.transformOrigin=`${t} ${e} ${i}`}}let tH={offset:"stroke-dashoffset",array:"stroke-dasharray"},tY={offset:"strokeDashoffset",array:"strokeDasharray"},tK=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function tQ(t,{attrX:e,attrY:i,attrScale:n,pathLength:r,pathSpacing:s=1,pathOffset:o=0,...a},l,h,u){if(tX(t,a,h),l){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:d,style:c}=t;for(let t of(d.transform&&(c.transform=d.transform,delete d.transform),(c.transform||d.transformOrigin)&&(c.transformOrigin=d.transformOrigin??"50% 50%",delete d.transformOrigin),c.transform&&(c.transformBox=u?.transformBox??"fill-box",delete d.transformBox),tK))void 0!==d[t]&&(c[t]=d[t],delete d[t]);void 0!==e&&(d.x=e),void 0!==i&&(d.y=i),void 0!==n&&(d.scale=n),void 0!==r&&function(t,e,i=1,n=0,r=!0){t.pathLength=1;let s=r?tH:tY;t[s.offset]=`${-n}`,t[s.array]=`${e} ${i}`}(d,r,s,o,!1)}let tZ=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]),t_=t=>"string"==typeof t&&"svg"===t.toLowerCase();function tJ(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])}function t0(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let t1={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t)if(!y.px.test(t))return t;else t=parseFloat(t);let i=t0(t,e.target.x),n=t0(t,e.target.y);return`${i}% ${n}%`}};var t2=i(56260);let t5={borderRadius:{...t1,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:t1,borderTopRightRadius:t1,borderBottomLeftRadius:t1,borderBottomRightRadius:t1,boxShadow:{correct:(t,{treeScale:e,projectionDelta:i})=>{let n=a.f.parse(t);if(n.length>5)return t;let r=a.f.createTransformer(t),s=+("number"!=typeof n[0]),o=i.x.scale*e.x,l=i.y.scale*e.y;n[0+s]/=o,n[1+s]/=l;let h=(0,t2.k)(o,l,.5);return"number"==typeof n[2+s]&&(n[2+s]/=h),"number"==typeof n[3+s]&&(n[3+s]/=h),r(n)}}};function t6(t,{layout:e,layoutId:i}){return r.has(t)||t.startsWith("origin")||(e||void 0!==i)&&(!!t5[t]||"opacity"===t)}function t3(t,e,i){let n=t.style,r=e?.style,s={};if(!n)return s;for(let e in n)((0,T.S)(n[e])||r&&(0,T.S)(r[e])||t6(e,t)||i?.getValue(e)?.liveStyle!==void 0)&&(s[e]=n[e]);return s}function t9(t,e,i){let r=t3(t,e,i);for(let i in t)((0,T.S)(t[i])||(0,T.S)(e[i]))&&(r[-1!==n.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=t[i]);return r}class t8 extends tG{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=b}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(r.has(e)){let t=w(e);return t&&t.default||0}return e=tZ.has(e)?e:t$(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,i){return t9(t,e,i)}build(t,e,i){tQ(t,e,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(t,e,i,n){for(let i in tJ(t,e,void 0,n),e.attrs)t.setAttribute(tZ.has(i)?i:t$(i),e.attrs[i])}mount(t){this.isSVGTag=t_(t.tagName),super.mount(t)}}function t7({top:t,left:e,right:i,bottom:n}){return{x:{min:e,max:i},y:{min:t,max:n}}}function t4(t){return void 0===t||1===t}function et({scale:t,scaleX:e,scaleY:i}){return!t4(t)||!t4(e)||!t4(i)}function ee(t){return et(t)||ei(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function ei(t){var e,i;return(e=t.x)&&"0%"!==e||(i=t.y)&&"0%"!==i}function en(t,e,i,n,r){return void 0!==r&&(t=n+r*(t-n)),n+i*(t-n)+e}function er(t,e=0,i=1,n,r){t.min=en(t.min,e,i,n,r),t.max=en(t.max,e,i,n,r)}function es(t,{x:e,y:i}){er(t.x,e.translate,e.scale,e.originPoint),er(t.y,i.translate,i.scale,i.originPoint)}function eo(t,e){t.min+=e,t.max+=e}
1function ea(t,e,i,n,r=.5){let s=(0,t2.k)(t.min,t.max,r);er(t,e,i,s,n)}function el(t,e){return"string"==typeof t?parseFloat(t)/100*(e.max-e.min):t}function eh(t,e,i){let n=i??t;ea(t.x,el(e.x,n.x),e.scaleX,e.scale,e.originX),ea(t.y,el(e.y,n.y),e.scaleY,e.scale,e.originY)}function eu(t,e){return t7(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 ed extends tG{constructor(){super(...arguments),this.type="html",this.renderInstance=tJ}readValueFromInstance(t,e){if(r.has(e))return this.projection?.isProjecting?U(e):((t,e)=>{let{transform:i="none"}=getComputedStyle(t);return G(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 eu(t,e)}build(t,e,i){tX(t,e,i.transformTemplate)}scrapeMotionValuesFromProps(t,e,i){return t3(t,e,i)}}var ec=i(12115);let ep=["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 em(t){if("string"!=typeof t||t.includes("-"));else if(ep.indexOf(t)>-1||/[A-Z]/u.test(t))return!0;return!1}var ef=i(95155),ey=i(39551);let eg=(0,ec.createContext)({strict:!1});var ev=i(24866);let ex=(0,ec.createContext)({});function ew(t){return Array.isArray(t)?t.join(" "):t}let ek=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function eA(t,e,i){for(let n in e)(0,T.S)(e[n])||t6(n,i)||(t[n]=e[n])}let eS=()=>({...ek(),attrs:{}}),eb=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 eT(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||eb.has(t)}let eP=t=>!eT(t);try{s=require("@emotion/is-prop-valid").default,"function"==typeof s&&(eP=t=>t.startsWith("on")?!eT(t):s(t))}catch{}function eM(t){return(0,T.S)(t)?t.get():t}var eE=i(15131),eV=i(28819);let eC=t=>(e,i)=>{let n=(0,ec.useContext)(ex),r=(0,ec.useContext)(eE.t),s=()=>(function({scrapeMotionValuesFromProps:t,createRenderState:e},i,n,r){return{latestValues:function(t,e,i,n){let r={},s=n(t,{});for(let t in s)r[t]=eM(s[t]);let{initial:o,animate:a}=t,l=tR(t),h=tD(t);e&&h&&!l&&!1!==t.inherit&&(void 0===o&&(o=e.initial),void 0===a&&(a=e.animate));let u=!!i&&!1===i.initial,d=(u=u||!1===o)?a:o;if(d&&"boolean"!=typeof d&&!tM(d)){let e=Array.isArray(d)?d:[d];for(let i=0;i<e.length;i++){let n=tO(t,e[i]);if(n){let{transitionEnd:t,transition:e,...i}=n;for(let t in i){let e=i[t];if(Array.isArray(e)){let t=u?e.length-1:0;e=e[t]}null!==e&&(r[t]=e)}for(let e in t)r[e]=t[e]}}}return r}(i,n,r,t),renderState:e()}})(t,e,n,r);return i?s():(0,eV.M)(s)},eR=eC({scrapeMotionValuesFromProps:t3,createRenderState:ek}),eD=eC({scrapeMotionValuesFromProps:t9,createRenderState:eS}),eL={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},ej=!1;function eB(){return!function(){if(ej)return;let t={};for(let e in eL)t[e]={isEnabled:t=>eL[e].some(e=>!!t[e])};tW=t,ej=!0}(),tW}let eF=Symbol.for("motionComponentSymbol"),eO="data-"+t$("framerAppearId"),eI=(0,ec.createContext)({});function eW(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}var eU=i(65239);function eG(t,{forwardMotionProps:e=!1,type:i}={},n,r){n&&function(t){let e=eB();for(let i in t)e[i]={...e[i],...t[i]};tW=e}(n);let s=i?"svg"===i:em(t),o=s?eD:eR;function a(i,n){var a;let l,h,u,d={...(0,ec.useContext)(ev.Q),...i,layoutId:function({layoutId:t}){let e=(0,ec.useContext)(ey.L).id;return e&&void 0!==t?e+"-"+t:t}(i)},{isStatic:c}=d,p=function(t){let{initial:e,animate:i}=function(t,e){if(tR(t)){let{initial:e,animate:i}=t;return{initial:!1===e||tE(e)?e:void 0,animate:tE(i)?i:void 0}}return!1!==t.inherit?e:{}}(t,(0,ec.useContext)(ex));return(0,ec.useMemo)(()=>({initial:e,animate:i}),[ew(e),ew(i)])}(i),m=o(i,c);if(!c&&"u">typeof window){(0,ec.useContext)(eg).strict;let e=function(t){let{drag:e,layout:i}=eB();if(!e&&!i)return{};let n={...e,...i};return{MeasureLayout:e?.isEnabled(t)||i?.isEnabled(t)?n.MeasureLayout:void 0,ProjectionNode:n.ProjectionNode}}
1(d);l=e.MeasureLayout,p.visualElement=function(t,e,i,n,r,s){let{visualElement:o}=(0,ec.useContext)(ex),a=(0,ec.useContext)(eg),l=(0,ec.useContext)(eE.t),h=(0,ec.useContext)(ev.Q),u=h.reducedMotion,d=h.skipAnimations,c=(0,ec.useRef)(null),p=(0,ec.useRef)(!1);n=n||a.renderer,!c.current&&n&&(c.current=n(t,{visualState:e,parent:o,props:i,presenceContext:l,blockInitialAnimation:!!l&&!1===l.initial,reducedMotionConfig:u,skipAnimations:d,isSVG:s}),p.current&&c.current&&(c.current.manuallyAnimateOnMount=!0));let m=c.current,f=(0,ec.useContext)(eI);m&&!m.projection&&r&&("html"===m.type||"svg"===m.type)&&function(t,e,i,n){let{layoutId:r,layout:s,drag:o,dragConstraints:a,layoutScroll:l,layoutRoot:h,layoutAnchor:u,layoutCrossfade:d}=e;t.projection=new i(t.latestValues,e["data-framer-portal-id"]?void 0:function t(e){if(e)return!1!==e.options.allowProjection?e.projection:t(e.parent)}(t.parent)),t.projection.setOptions({layoutId:r,layout:s,alwaysMeasureLayout:!!o||a&&eW(a),visualElement:t,animationType:"string"==typeof s?s:"both",initialPromotionConfig:n,crossfade:d,layoutScroll:l,layoutRoot:h,layoutAnchor:u})}(c.current,i,r,f);let y=(0,ec.useRef)(!1);(0,ec.useInsertionEffect)(()=>{m&&y.current&&m.update(i,l)});let g=i[eO],v=(0,ec.useRef)(!!g&&"u">typeof window&&!window.MotionHandoffIsComplete?.(g)&&window.MotionHasOptimisedAnimation?.(g));return(0,eU.E)(()=>{p.current=!0,m&&(y.current=!0,window.MotionIsMounted=!0,m.updateFeatures(),m.scheduleRenderMicrotask(),v.current&&m.animationState&&m.animationState.animateChanges())}),(0,ec.useEffect)(()=>{m&&(!v.current&&m.animationState&&m.animationState.animateChanges(),v.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(g)}),v.current=!1),m.enteringChildren=void 0)}),m}(t,m,d,r,e.ProjectionNode,s)}return(0,ef.jsxs)(ex.Provider,{value:p,children:[l&&p.visualElement?(0,ef.jsx)(l,{visualElement:p.visualElement,...d}):null,function(t,e,i,{latestValues:n},r,s=!1,o){let a=(o??em(t)?function(t,e,i,n){let r=(0,ec.useMemo)(()=>{let i=eS();return tQ(i,e,t_(n),t.transformTemplate,t.style),{...i.attrs,style:{...i.style}}},[e]);if(t.style){let e={};eA(e,t.style,t),r.style={...e,...r.style}}return r}:function(t,e){let i,n,r={},s=(i=t.style||{},eA(n={},i,t),Object.assign(n,function({transformTemplate:t},e){return(0,ec.useMemo)(()=>{let i=ek();return tX(i,e,t),Object.assign({},i.vars,i.style)},[e])}(t,e)),n);return t.drag&&!1!==t.dragListener&&(r.draggable=!1,s.userSelect=s.WebkitUserSelect=s.WebkitTouchCallout="none",s.touchAction=!0===t.drag?"none":`pan-${"x"===t.drag?"y":"x"}`),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(r.tabIndex=0),r.style=s,r})(e,n,r,t),l=function(t,e,i){let n={};for(let r in t)("values"!==r||"object"!=typeof t.values)&&!(0,T.S)(t[r])&&(eP(r)||!0===i&&eT(r)||!e&&!eT(r)||t.draggable&&r.startsWith("onDrag"))&&(n[r]=t[r]);return n}(e,"string"==typeof t,s),h=t!==ec.Fragment?{...l,...a,ref:i}
1:{},{children:u}=e,d=(0,ec.useMemo)(()=>(0,T.S)(u)?u.get():u,[u]);return(0,ec.createElement)(t,{...h,children:d})}(t,i,(a=p.visualElement,h=(0,ec.useRef)(n),(0,ec.useInsertionEffect)(()=>{h.current=n}),u=(0,ec.useRef)(null),(0,ec.useCallback)(t=>{t&&m.onMount?.(t),a&&(t?a.mount(t):a.unmount());let e=h.current;if("function"==typeof e)if(t){let i=e(t);"function"==typeof i&&(u.current=i)}else u.current?(u.current(),u.current=null):e(t);else e&&(e.current=t)},[a])),m,c,e,s)]})}a.displayName=`motion.${"string"==typeof t?t:`create(${t.displayName??t.name??""})`}`;let l=(0,ec.forwardRef)(a);return l[eF]=t,l}class e${constructor(t){this.isMounted=!1,this.node=t}update(){}}function eN(t,e,i){let n=t.getProps();return tO(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 eX=t=>Array.isArray(t);var eH=i(28153);function eY(t,e){let i=t.getValue("willChange");if((0,T.S)(i)&&i.add)return i.add(e);if(!i&&eH.W.WillChange){let i=new eH.W.WillChange("auto");t.addValue("willChange",i),i.add(e)}}var eK=i(14405),eQ=i(94712),eZ=i(20754),e_=i(25903),eJ=i(1406),e0=i(89722);let e1={anticipate:e_.b,backInOut:eJ.ZZ,circInOut:e0.tn};class e2 extends tw{constructor(t){!function(t){"string"==typeof t.ease&&t.ease in e1&&(t.ease=e1[t.ease])}(t),(0,eZ.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 eK.s({...s,autoplay:!1}),a=Math.max(10,tS.k.now()-this.startTime),l=(0,eQ.q)(0,10,a-10),h=o.sample(a).value,{name:u}=this.options;r&&u&&tl(r,u,h),e.setWithVelocity(o.sample(Math.max(0,a-l)).value,h,l),o.stop()}}let e5=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(a.f.test(t)||"0"===t)&&!t.startsWith("url("));function e6(t){t.duration=0,t.type="keyframes"}var e3=i(96291);let e9=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/,e8=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),e7=(0,e3.p)(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class e4 extends td.q{constructor({autoplay:t=!0,delay:e=0,type:i="keyframes",repeat:n=0,repeatDelay:r=0,repeatType:s="loop",keyframes:o,name:a,motionValue:l,element:h,...u}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=tS.k.now();const d={autoplay:t,delay:e,type:i,repeat:n,repeatDelay:r,repeatType:s,name:a,motionValue:l,element:h,...u},c=h?.KeyframeResolver||tt;this.keyframeResolver=new c(o,(t,e,i)=>this.onKeyframesResolved(t,e,d,!i),a,l,h),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,e,i,n){let r;this.keyframeResolver=void 0;let{name:s,type:o,velocity:a,delay:l,isHandoff:h,onUpdate:u}=i;this.resolvedAt=tS.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=e5(r,e),a=e5(s,e);return(0,C.$)(o===a,`You are trying to animate ${e} from "${r}" to "${s}". "${o?s:r}" is not an animatable value.`,"value-not-animatable"),!!o&&!!a&&(function(t){let e=t[0];if(1===t.length)return!0;for(let i=0;i<t.length;i++)if(t[i]!==e)return!0}(t)||("spring"===i||tx(i))&&n)}(t,s,o,a)&&(d=!1,(eH.W.instantAnimations||!l)&&u?.((0,tu.X)(t,i,e)),t[0]=t[t.length-1],e6(i),i.repeat=0);let c={startTime:n?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:e,...i,keyframes:t},p=d&&!h&&function(t){let{motionValue:e,name:i,repeatDelay:n,repeatType:r,damping:s,type:o,keyframes:a}=t;if(!(e?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:l,transformTemplate:h}=e.owner.getProps();return e7()&&i&&(tk.has(i)||e8.has(i)&&function(t){for(let e=0;e<t.length;e++)if("string"==typeof t[e]&&e9.test(t[e]))return!0;return!1}(a))&&("transform"!==i||!h)&&!l&&!n&&"mirror"!==r&&0!==s&&"inertia"!==o}(c),m=c.motionValue?.owner?.current;if(p)try{r=new e2({...c,element:m})}catch{r=new eK.s(c)}else r=new eK.s(c);r.finished.then(()=>{this.notifyFinished()}).catch(ta.l),this.pendingTimeline&&(this.stopTimeline=r.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=r}get finished(){return this._animation?this.animation.finished:this._finished}then(t,e){return this.finished.finally(t).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),Z=!0,J(),_(),Z=!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 it={type:"spring",stiffness:500,damping:25,restSpeed:10},ie={type:"keyframes",duration:.8},ii={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},ir=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]),is=(t,e,i,n={},s,o)=>a=>{let l=eq(n,t)||{},h=l.delay||n.delay||0,{elapsed:u=0}=n;u-=(0,ts.f)(h);let d={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:e.getVelocity(),...l,delay:-u,onUpdate:t=>{e.set(t),l.onUpdate&&l.onUpdate(t)},onComplete:()=>{a(),l.onComplete&&l.onComplete()},name:t,motionValue:e,element:o?void 0:s};!function(t){for(let e in t)if(!ir.has(e))return!0;return!1}(l)&&Object.assign(d,((t,{keyframes:e})=>e.length>2?ie:r.has(t)?t.startsWith("scale")?{type:"spring",stiffness:550,damping:0===e[1]?2*Math.sqrt(550):30,restSpeed:10}:it:ii)(t,d)),d.duration&&(d.duration=(0,ts.f)(d.duration)),d.repeatDelay&&(d.repeatDelay=(0,ts.f)(d.repeatDelay)),void 0!==d.from&&(d.keyframes[0]=d.from);let c=!1;if(!1!==d.type&&(0!==d.duration||d.repeatDelay)||(e6(d),0===d.delay&&(c=!0)),(eH.W.instantAnimations||eH.W.skipAnimations||s?.shouldSkipAnimations||l.skipAnimations)&&(c=!0,e6(d),d.delay=0),d.allowFlatten=!l.type&&!l.ease,c&&!o&&void 0!==e.get()){let t=(0,tu.X)(d.keyframes,l);if(void 0!==t)return void H.Gt.update(()=>{d.onUpdate(t),d.onComplete()})}return l.isSync?new eK.s(d):new e4(d)};function io(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 h=s?.reduceMotion,u=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)};u&&(o.skipAnimations=!0);let l=n.get();if(void 0!==l&&!n.isAnimating()&&!Array.isArray(r)&&r===l&&!o.velocity){H.Gt.update(()=>n.set(r));continue}let p=!1;if(window.MotionHandoffAnimation){let i=t.props[eO];if(i){let t=window.MotionHandoffAnimation(i,e,H.Gt);null!==t&&(o.startTime=t,p=!0)}}eY(t,e);let m=h??t.shouldReduceMotion;n.start(is(e,n,r,m&&P.has(e)?{type:!1}:o,t,p));let f=n.animation;f&&d.push(f)}if(o){let e=()=>H.Gt.update(()=>{o&&function(t,e){let{transitionEnd:i={},transition:n={},...r}=eN(t,e)||{};for(let e in r={...r,...i}){var s;let i=eX(s=r[e])?s[s.length-1]||0:s;t.hasValue(e)?t.getValue(e).set(i):t.addValue(e,(0,tb.OQ)(i))}}(t,o)});d.length?Promise.all(d).then(e):e()}return d}function ia(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 il(t,e,i={}){let n=eN(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(io(t,n,i)):()=>Promise.resolve(),o=t.variantChildren&&t.variantChildren.size?(n=0)=>{let{delayChildren:s=0,staggerChildren:o,staggerDirection:a}=r;
1return 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(il(l,e,{...o,delay:i+("function"==typeof n?0:n)+ia(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 ih=tC.length;function iu(t,e){if(!Array.isArray(e))return!1;let i=e.length;if(i!==t.length)return!1;for(let n=0;n<i;n++)if(e[n]!==t[n])return!1;return!0}let id=[...tV].reverse(),ic=tV.length;function ip(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function im(){return{animate:ip(!0),whileInView:ip(),whileHover:ip(),whileTap:ip(),whileDrag:ip(),whileFocus:ip(),exit:ip()}}class iy extends e${constructor(t){super(t),t.animationState||(t.animationState=function(t){let e=e=>Promise.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=>il(t,e,i)));else if("string"==typeof e)n=il(t,e,i);else{let r="function"==typeof e?eN(t,e,i.custom):e;n=Promise.all(io(t,r,i))}return n.then(()=>{t.notify("AnimationComplete",e)})})(t,e,i))),i=im(),n=!0,r=!1,s=e=>(i,n)=>{let r=eN(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;t<ih;t++){let n=tC[t],r=e.props[n];(tE(r)||!1===r)&&(i[n]=r)}return i}(t.parent)||{},h=[],u=new Set,d={},c=1/0;for(let e=0;e<ic;e++){var p,m;let f=id[e],y=i[f],g=void 0!==a[f]?a[f]:l[f],v=tE(g),x=f===o?y.isActive:null;!1===x&&(c=e);let w=g===l[f]&&g!==a[f]&&v;if(w&&(n||r)&&t.manuallyAnimateOnMount&&(w=!1),y.protectedKeys={...d},!y.isActive&&null===x||!g&&!y.prevProp||tM(g)||"boolean"==typeof g)continue;if("exit"===f&&y.isActive&&!0!==x){y.prevResolvedValues&&(d={...d,...y.prevResolvedValues});continue}let k=(p=y.prevProp,"string"==typeof(m=g)?m!==p:!!Array.isArray(m)&&!iu(m,p)),A=k||f===o&&y.isActive&&!w&&v||e>c&&v,S=!1,b=Array.isArray(g)?g:[g],T=b.reduce(s(f),{});!1===x&&(T={});let{prevResolvedValues:P={}}=y,M={...P,...T},E=e=>{A=!0,u.has(e)&&(S=!0,u.delete(e)),y.needsAnimating[e]=!0;let i=t.getValue(e);i&&(i.liveStyle=!1)};for(let t in M){let e=T[t],i=P[t];if(!d.hasOwnProperty(t))(eX(e)&&eX(i)?!iu(e,i)||k:e!==i)?null!=e?E(t):u.add(t):void 0!==e&&u.has(t)?E(t):y.protectedKeys[t]=!0}y.prevProp=g,y.prevResolvedValues=T,y.isActive&&(d={...d,...T}),(n||r)&&t.blockInitialAnimation&&(A=!1);let V=w&&k,C=!V||S;A&&C&&h.push(...b.map(e=>{let i={type:f};if("string"==typeof e&&(n||r)&&!V&&t.manuallyAnimateOnMount&&t.parent){let{parent:n}=t,r=eN(n,e);if(n.enteringChildren&&r){let{delayChildren:e}=r.transition||{};i.delay=ia(n.enteringChildren,t,e)}}return{animation:e,options:i}}))}if(u.size){let e={};if("boolean"!=typeof a.initial){let i=eN(t,Array.isArray(a.initial)?a.initial[0]:a.initial);i&&i.transition&&(e.transition=i.transition)}u.forEach(i=>{let n=t.getBaseTarget(i),r=t.getValue(i);r&&(r.liveStyle=!0),e[i]=n??null}),h.push({animation:e})}let f=!!h.length;return n&&(!1===a.initial||a.initial===a.animate)&&!t.manuallyAnimateOnMount&&(f=!1),n=!1,r=!1,f?e(h):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=im(),r=!0}}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();tM(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 ig=0;class iv extends e${constructor(){super(...arguments),this.id=ig++,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=eN(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(()=>
1{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 ix={x:!1,y:!1};function iw(t){return[t("x"),t("y")]}function ik(t){return t.max-t.min}function iA(t,e,i,n=.5){t.origin=n,t.originPoint=(0,t2.k)(e.min,e.max,t.origin),t.scale=ik(i)/ik(e),t.translate=(0,t2.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 iS(t,e,i,n){iA(t.x,e.x,i.x,n?n.originX:void 0),iA(t.y,e.y,i.y,n?n.originY:void 0)}function ib(t,e,i,n=0){t.min=(n?(0,t2.k)(i.min,i.max,n):i.min)+e.min,t.max=t.min+ik(e)}function iT(t,e,i,n=0){let r=n?(0,t2.k)(i.min,i.max,n):i.min;t.min=e.min-r,t.max=t.min+ik(e)}function iP(t,e,i,n){iT(t.x,e.x,i.x,n?.x),iT(t.y,e.y,i.y,n?.y)}let iM=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),iE=new Set(["INPUT","SELECT","TEXTAREA"]);function iV(t,e,i,n={passive:!0}){return t.addEventListener(e,i,n),()=>t.removeEventListener(e,i)}var iC=i(51275);let iR=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;function iD(t){return{point:{x:t.pageX,y:t.pageY}}}function iL(t,e,i,n){return iV(t,e,t=>iR(t)&&i(t,iD(t)),n)}let ij=({current:t})=>t?t.ownerDocument.defaultView:null;var iB=i(34017);let iF=(t,e)=>Math.abs(t-e),iO=new Set(["auto","scroll"]);class iI{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=()=>{var t,e;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=iW(this.lastRawMoveEventInfo,this.transformPagePoint));let i=iG(this.lastMoveEventInfo,this.history),n=null!==this.startEvent,r=(t=i.offset,e={x:0,y:0},Math.sqrt(iF(t.x,e.x)**2+iF(t.y,e.y)**2)>=this.distanceThreshold);if(!n&&!r)return;let{point:s}=i,{timestamp:o}=H.uv;this.history.push({...s,timestamp:o});let{onStart:a,onMove:l}=this.handlers;n||(a&&a(this.lastMoveEvent,i),this.startEvent=this.lastMoveEvent),l&&l(this.lastMoveEvent,i)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastRawMoveEventInfo=e,this.lastMoveEventInfo=iW(e,this.transformPagePoint),H.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=iG("pointercancel"===t.type?this.lastMoveEventInfo:iW(e,this.transformPagePoint),this.history);this.startEvent&&i&&i(t,s),n&&n(t,s)},!iR(t))return;this.dragSnapToOrigin=r,this.handlers=e,this.transformPagePoint=i,this.distanceThreshold=s,this.contextWindow=n||window;const a=iW(iD(t),this.transformPagePoint),{point:l}=a,{timestamp:h}=H.uv;this.history=[{...l,timestamp:h}];const{onSessionStart:u}=e;u&&u(t,iG(a,this.history)),this.removeListeners=(0,iB.F)(iL(this.contextWindow,"pointermove",this.handlePointerMove),iL(this.contextWindow,"pointerup",this.handlePointerUp),iL(this.contextWindow,"pointercancel",this.handlePointerUp)),o&&this.startScrollTracking(o)}startScrollTracking(t){let e=t.parentElement;for(;e;){let t=getComputedStyle(e);(iO.has(t.overflowX)||iO.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),H.Gt.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),(0,H.WG)(this.updatePoint)}}function iW(t,e){return e?{point:e(t.point)}:t}function iU(t,e){return{x:t.x-e.x,y:t.y-e.y}}function iG({point:t},e){return{point:t,delta:iU(t,i$(e)),offset:iU(t,e[0]),velocity:function(t){if(t.length<2)return{x:0,y:0};let e=t.length-1,i=null,n=i$(t);for(;e>=0&&(i=t[e],!(n.timestamp-i.timestamp>(0,ts.f)(.1)));)e--;if(!i)return{x:0,y:0};i===t[0]&&t.length>2&&n.timestamp-i.timestamp>2*(0,ts.f)(.1)&&(i=t[1]);
1let r=(0,ts.X)(n.timestamp-i.timestamp);if(0===r)return{x:0,y:0};let s={x:(n.x-i.x)/r,y:(n.y-i.y)/r};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}(e)}}function i$(t){return t[t.length-1]}var iN=i(18844);function iz(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 iq(t,e){let i=e.min-t.min,n=e.max-t.max;return e.max-e.min<t.max-t.min&&([i,n]=[n,i]),{min:i,max:n}}function iX(t,e,i){return{min:iH(t,e),max:iH(t,i)}}function iH(t,e){return"number"==typeof t?t:t[e]||0}let iY=new WeakMap;class iK{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=b(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:e=!1,distanceThreshold:i}={}){let{presenceContext:n}=this.visualElement;if(n&&!1===n.isPresent)return;let r=t=>{e&&this.snapToCursor(iD(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(ix[t])return null;else return ix[t]=!0,()=>{ix[t]=!1};return ix.x||ix.y?null:(ix.x=ix.y=!0,()=>{ix.x=ix.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),iw(t=>{let e=this.getAxisMotionValue(t).get()||0;if(y.KN.test(e)){let{projection:i}=this.visualElement;if(i&&i.layout){let n=i.layout.layoutBox[t];n&&(e=ik(n)*(parseFloat(e)/100))}}this.originPoint[t]=e}),r&&H.Gt.update(()=>r(t,e),!1,!0),eY(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&&H.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:h}=this.getProps();this.panSession=new iI(t,{onSessionStart:r,onStart:s,onMove:o,onSessionEnd:a,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:h,distanceThreshold:i,contextWindow:ij(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&&H.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||!iZ(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&&t<e?t=n?(0,t2.k)(e,t,n.min):Math.max(t,e):void 0!==i&&t>i&&(t=n?(0,t2.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&&eW(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&i?this.constraints=function(t,{top:e,left:i,bottom:n,right:r}){return{x:iz(t.x,i,r),y:iz(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:iX(t,"left","right"),y:iX(t,"top","bottom")}}(e),n!==this.constraints&&!eW(t)&&i&&this.constraints&&!this.hasMutatedConstraints&&iw(t=>{var e,n;let r;!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=(e=i.layoutBox[t],n=this.constraints[t],r={},void 0!==n.min&&(r.min=n.min-e.min),void 0!==n.max&&(r.max=n.max-e.min),r))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:i}=this.getProps();if(!e||!eW(e))return!1;let n=e.current;(0,C.V)(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");let{projection:r}=this.visualElement;if(!r||!r.layout)return!1;r.root&&(r.root.scroll=void 0,r.root.updateScroll());
1let s=function(t,e,i){let n=eu(t,i),{scroll:r}=e;return r&&(eo(n.x,r.offset.x),eo(n.y,r.offset.y)),n}(n,r.root,this.visualElement.getTransformPagePoint()),o=(t=r.layout.layoutBox,{x:iq(t.x,s.x),y:iq(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=t7(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(iw(o=>{if(!iZ(o,e,this.currentDirection))return;let l=a&&a[o]||{};(!0===s||s===o)&&(l={min:0,max:0});let h={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,h)})).then(o)}startAxisValueAnimation(t,e){let i=this.getAxisMotionValue(t);return eY(this.visualElement,t),i.start(is(t,i,0,e,this.visualElement,!1))}stopAnimation(){iw(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){iw(e=>{let{drag:i}=this.getProps();if(!iZ(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,t2.k)(i,s,.5)+o)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:i}=this.visualElement;if(!eW(e)||!i||!this.constraints)return;this.stopAnimation();let n={x:0,y:0};iw(t=>{let e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){var i,r;let s,o,a,l=e.get();n[t]=(i={min:l,max:l},r=this.constraints[t],s=.5,o=ik(i),(a=ik(r))>o?s=(0,iN.q)(r.min,r.max-o,i.min):o>a&&(s=(0,iN.q)(i.min,i.max-a,r.min)),(0,eQ.q)(0,1,s))}});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(),iw(e=>{if(!iZ(e,t,null))return;let i=this.getAxisMotionValue(e),{min:r,max:s}=this.constraints[e];i.set((0,t2.k)(r,s,n[e]))}),this.visualElement.render()}addListeners(){let t;if(!this.visualElement.current)return;iY.set(this.visualElement,this);let e=this.visualElement.current,i=iL(e,"pointerdown",t=>{let{drag:i,dragListener:n=!0}=this.getProps(),r=t.target,s=r!==e&&(iE.has(r.tagName)||!0===r.isContentEditable);i&&n&&!s&&this.start(t)}),n=()=>{var i,n,r;let s,o,{dragConstraints:a}=this.getProps();eW(a)&&a.current&&(this.constraints=this.resolveRefConstraints(),t||(i=e,n=a.current,r=()=>this.scalePositionWithinConstraints(),s=(0,iC.X)(i,iQ(r)),o=(0,iC.X)(n,iQ(r)),t=()=>{s(),o()}))},{projection:r}=this.visualElement,s=r.addEventListener("measure",n);r&&!r.layout&&(r.root&&r.root.updateScroll(),r.updateLayout()),H.Gt.read(n);let o=iV(window,"resize",()=>this.scalePositionWithinConstraints()),a=r.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(iw(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 iQ(t){let e=!0;return()=>{if(e){e=!1;return}t()}}function iZ(t,e,i){return(!0===e||e===t)&&(null===i||i===t)}class i_ extends e${constructor(t){super(t),this.removeGroupControls=ta.l,this.removeListeners=ta.l,this.controls=new iK(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||ta.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 iJ=t=>(e,i)=>{t&&H.Gt.update(()=>t(e,i),!1,!0)};class i0 extends e${constructor(){super(...arguments),this.removePointerDownListener=ta.l}onPointerDown(t){this.session=new iI(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:ij(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:i,onPanEnd:n}=this.node.getProps();return{onSessionStart:iJ(t),onStart:iJ(e),onMove:iJ(i),onEnd:(t,e)=>{delete this.session,n&&H.Gt.postRender(()=>n(t,e))}}}mount(){this.removePointerDownListener=iL(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 i1={hasAnimatedSinceResize:!0,hasEverUpdated:!1};var i2=i(79196);let i5=!1;class i6 extends ec.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),i5&&r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),i1.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}),i5=!0,n||t.layoutDependency!==e||void 0===e||t.isPresent!==r?s.willUpdate():this.safeToRemove(),t.isPresent!==r&&(r?s.promote():s.relegate()||H.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(),tA.k.postRender(()=>{!i.currentAnimation&&i.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i}=this.props,{projection:n}=t;i5=!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 i3(t){let[e,i]=(0,i2.xQ)(),n=(0,ec.useContext)(ey.L);return(0,ef.jsx)(i6,{...t,layoutGroup:n,switchLayoutGroup:(0,ec.useContext)(eI),isPresent:e,safeToRemove:i})}
1var i9=i(69028);let i8=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],i7=i8.length,i4=t=>"string"==typeof t?parseFloat(t):t,nt=t=>"number"==typeof t||y.px.test(t);function ne(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let ni=nr(0,.5,e0.yT),nn=nr(.5,.95,ta.l);function nr(t,e,i){return n=>n<t?0:n>e?1:i((0,iN.q)(t,e,n))}function ns(t,e){t.min=e.min,t.max=e.max}function no(t,e){ns(t.x,e.x),ns(t.y,e.y)}function na(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}function nl(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 nh(t,e,[i,n,r],s,o){!function(t,e=0,i=1,n=.5,r,s=t,o=t){if(y.KN.test(e)&&(e=parseFloat(e),e=(0,t2.k)(o.min,o.max,e/100)-o.min),"number"!=typeof e)return;let a=(0,t2.k)(s.min,s.max,n);t===s&&(a-=e),t.min=nl(t.min,e,i,a,r),t.max=nl(t.max,e,i,a,r)}(t,e[i],e[n],e[r],e.scale,s,o)}let nu=["x","scaleX","originX"],nd=["y","scaleY","originY"];function nc(t,e,i,n){nh(t.x,e,nu,i?i.x:void 0,n?n.x:void 0),nh(t.y,e,nd,i?i.y:void 0,n?n.y:void 0)}function np(t){return 0===t.translate&&1===t.scale}function nm(t){return np(t.x)&&np(t.y)}function nf(t,e){return t.min===e.min&&t.max===e.max}function ny(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function ng(t,e){return ny(t.x,e.x)&&ny(t.y,e.y)}function nv(t){return ik(t.x)/ik(t.y)}function nx(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}var nw=i(78170);class nk{constructor(){this.members=[]}add(t){(0,nw.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,nw.Ai)(this.members,i),i.unmount())}t.scheduleRender()}remove(t){if((0,nw.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 nA=(t,e)=>t.depth-e.depth;class nS{constructor(){this.children=[],this.isDirty=!1}add(t){(0,nw.Kq)(this.children,t),this.isDirty=!0}remove(t){(0,nw.Ai)(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(nA),this.isDirty=!1,this.children.forEach(t)}}let nb={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},nT=["","X","Y","Z"],nP=0;function nM(t,e,i,n){let{latestValues:r}=e;r[t]&&(i[t]=r[t],e.setStaticValue(t,0),n&&(n[t]=0))}function nE({attachResizeListener:t,defaultParent:e,measureScroll:i,checkIsScrollRoot:n,resetTransform:r}){return class{constructor(t={},i=e?.()){this.id=nP++,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,tp.Q.value&&(nb.nodes=nb.calculatedTargetDeltas=nb.calculatedProjections=0),this.nodes.forEac
1h(nR),this.nodes.forEach(nU),this.nodes.forEach(nG),this.nodes.forEach(nD),tp.Q.addProjectionMetrics&&tp.Q.addProjectionMetrics(nb)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=i?i.root||i:this,this.path=i?[...i.path,i]:[],this.parent=i,this.depth=i?i.depth+1:0;for(let t=0;t<this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&&(this.nodes=new nS)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new to.v),this.eventHandlers.get(t).add(e)}notifyListeners(t,...e){let i=this.eventHandlers.get(t);i&&i.notify(...e)}hasListeners(t){return this.eventHandlers.has(t)}mount(e){if(this.instance)return;this.isSVG=(0,i9.x)(e)&&(!(0,i9.x)(e)||"svg"!==e.tagName),this.instance=e;let{layoutId:i,layout:n,visualElement:r}=this.options;if(r&&!r.current&&r.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(n||i)&&(this.isLayoutDirty=!0),t){let i,n=0,r=()=>this.root.updateBlockedByResize=!1;H.Gt.read(()=>{n=window.innerWidth}),t(e,()=>{let t=window.innerWidth;if(t!==n){let e,s;n=t,this.root.updateBlockedByResize=!0,i&&i(),e=tS.k.now(),s=({timestamp:t})=>{let i=t-e;i>=250&&((0,H.WG)(s),r(i-250))},H.Gt.setup(s,!0),i=()=>(0,H.WG)(s),i1.hasAnimatedSinceResize&&(i1.hasAnimatedSinceResize=!1,this.nodes.forEach(nW))}})}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()||nH,{onLayoutAnimationStart:o,onLayoutAnimationComplete:a}=r.getProps(),l=!this.targetLayout||!ng(this.targetLayout,n),h=!e&&i;if(this.options.layoutRoot||this.resumeFrom||h||e&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let e={...eq(s,"layout"),onPlay:o,onComplete:a};(r.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e),this.setAnimationOrigin(t,h,e.path)}else e||nW(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,H.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(n$),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[eO];if(window.MotionHasOptimisedAnimation(n,"transform")){let{layout:t,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",H.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.path.length;t++){let e=this.path[t];e.shouldResetTransform=!0,("string"==typeof e.latestValues.x||"string"==typeof e.latestValues.y)&&(e.isLayoutDirty=!0),e.updateScroll("snapshot"),e.options.layoutRoot&&e.willUpdate(!1)}let{layoutId:e,layout:i}=this.options;if(void 0===e&&!i)return;let n=this.getTransformTemplate();this.prevTransformTemplateValue=n?n(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){let t=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),t&&this.nodes.forEac
1h(nB),this.nodes.forEach(nj);return}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(nF);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(nO),this.nodes.forEach(nI),this.nodes.forEach(nV),this.nodes.forEach(nC)):this.nodes.forEach(nF),this.clearAllSnapshots();let t=tS.k.now();H.uv.delta=(0,eQ.q)(0,1e3/60,t-H.uv.timestamp),H.uv.timestamp=t,H.uv.isProcessing=!0,H.PP.update.process(H.uv),H.PP.preRender.process(H.uv),H.PP.render.process(H.uv),H.uv.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,tA.k.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(nL),this.sharedNodes.forEach(nN)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,H.Gt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){H.Gt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||ik(this.snapshot.measuredBox.x)||ik(this.snapshot.measuredBox.y)||(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let t=0;t<this.path.length;t++)this.path[t].updateScroll();let t=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=b()),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:e}=this.options;e&&e.notify("LayoutMeasure",this.layout.layoutBox,t?t.layoutBox:void 0)}updateScroll(t="measure"){let e=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(e=!1),e&&this.instance){let e=n(this.instance);this.scroll={animationId:this.root.animationId,phase:t,isRoot:e,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:e}}}resetTransform(){if(!r)return;let t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!nm(this.projectionDelta),i=this.getTransformTemplate(),n=i?i(this.latestValues,""):void 0,s=n!==this.prevTransformTemplateValue;t&&this.instance&&(e||ee(this.latestValues)||s)&&(r(this.instance,n),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){var e;let i=this.measurePageBox(),n=this.removeElementScroll(i);return t&&(n=this.removeTransform(n)),nQ((e=n).x),nQ(e.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:t}=this.options;if(!t)return b();let e=t.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(n_))){let{scroll:t}=this.root;t&&(eo(e.x,t.offset.x),eo(e.y,t.offset.y))}return e}removeElementScroll(t){let e=b();if(no(e,t),this.scroll?.wasRoot)return e;for(let i=0;i<this.path.length;i++){let n=this.path[i],{scroll:r,options:s}=n;n!==this.root&&r&&s.layoutScroll&&(r.wasRoot&&no(e,t),eo(e.x,r.offset.x),eo(e.y,r.offset.y))}return e}applyTransform(t,e=!1,i){let n=i||b();no(n,t);for(let t=0;t<this.path.length;t++){let i=this.path[t];!e&&i.options.layoutScroll&&i.scroll&&i!==i.root&&(eo(n.x,-i.scroll.offset.x),eo(n.y,-i.scroll.offset.y)),ee(i.latestValues)&&eh(n,i.latestValues,i.layout?.layoutBox)}return ee(this.latestValues)&&eh(n,this.latestValues,this.layout?.layoutBox),n}removeTransform(t){let e=b();no(e,t);for(let t=0;t<this.path.length;t++){let i,n=this.path[t];ee(n.latestValues)&&(n.instance&&(et(n.latestValues)&&n.updateSnapshot(),no(i=b(),n.measurePageBox())),nc(e,n.latestValues,n.snapshot?.layoutBox,i))}return ee(this.latestValues)&&nc(e,this.latestValues),e}setTargetDelta(t){this.targetDelta=t,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(t){this.options={...this.options,...t,crossfade:void 0===t.crossfade||t.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==H.uv.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(t=!1){let e=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=e.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=e.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=e.isSharedProjectionDirty);let i=!!this.resumingFrom||this!==e;if(!(t||i&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:n,layoutId:r}=this.options;if(!this.layout||!(n||r))return;this.resolvedRelativeTargetAt=H.uv.timestamp;let s=this.getClosestProjectingParent();if(s&&this.linkedParentVersion!==s.layoutVersion&&!s.options.layoutRoot&&this.removeRelativeTarget(),this.targetDelta||this.relativeTarget||(!1!==this.options.layoutAnchor&&s&&s.layout?this.createRelativeTarget(s,this.layout.layoutBox,s.layout.layoutBox):this.removeRelativeTarget()),this.relativeTarget||this.targetDelta){if(this.target||(this.target=b(),this.targetWithTransforms=b()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target){var o,a,l,h;this.forceRelativeParentToResolveTarget(),o=this.target,a=this.relativeTarget,l=this.relativeParent.target,h=this.options.layoutAnchor||void 0,ib(o.x,a.x,l.x,h?.x),ib(o.y,a.y,l.y,h?.y)}else this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):no(this.target,this.layout.layoutBox),es(this.target,this.targetDelta)):no(this.target,this.layout.layoutBox);this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,!1!==this.options.layoutAnchor&&s&&!!s.resumingFrom==!!this.resumingFrom&&!s.options.layoutScroll&&s.target&&1!==this.animationProgress?this.createRelativeTarget(s,this.target,s.target):this.relativeParent=this.relativeTarget=void 0),tp.Q.value&&nb.calculatedTargetDeltas++}}getClosestProjectingParent(){if(!(!this.parent||et(this.parent.latestValues)||ei(this.parent.latestValues)))if(this.parent.isProjecting())return this.parent;else return this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(t,e,i){this.relativeParent=t,this.linkedParentVersion=t.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=b(),this.relativeTargetOrigin=b(),iP(this.relativeTargetOrigin,e,i,this.options.layoutAnchor||void 0),no(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let t=this.getLead(),e=!!this.resumingFrom||this!==t,i=!0;
1if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(i=!1),e&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(i=!1),this.resolvedRelativeTargetAt===H.uv.timestamp&&(i=!1),i)return;let{layout:n,layoutId:r}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(n||r))return;no(this.layoutCorrected,this.layout.layoutBox);let s=this.treeScale.x,o=this.treeScale.y;!function(t,e,i,n=!1){let r,s,o=i.length;if(o){e.x=e.y=1;for(let a=0;a<o;a++){s=(r=i[a]).projectionDelta;let{visualElement:o}=r.options;(!o||!o.props.style||"contents"!==o.props.style.display)&&(n&&r.options.layoutScroll&&r.scroll&&r!==r.root&&(eo(t.x,-r.scroll.offset.x),eo(t.y,-r.scroll.offset.y)),s&&(e.x*=s.x.scale,e.y*=s.y.scale,es(t,s)),n&&ee(r.latestValues)&&eh(t,r.latestValues,r.layout?.layoutBox))}e.x<1.0000000000001&&e.x>.999999999999&&(e.x=1),e.y<1.0000000000001&&e.y>.999999999999&&(e.y=1)}}(this.layoutCorrected,this.treeScale,this.path,e),t.layout&&!t.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(t.target=t.layout.layoutBox,t.targetWithTransforms=b());let{target:a}=t;if(!a){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(na(this.prevProjectionDelta.x,this.projectionDelta.x),na(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),iS(this.projectionDelta,this.layoutCorrected,a,this.latestValues),this.treeScale.x===s&&this.treeScale.y===o&&nx(this.projectionDelta.x,this.prevProjectionDelta.x)&&nx(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",a)),tp.Q.value&&nb.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=A(),this.projectionDelta=A(),this.projectionDeltaWithTransform=A()}setAnimationOrigin(t,e=!1,i){let n,r=this.snapshot,s=r?r.latestValues:{},o={...this.latestValues},a=A();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let l=b(),h=(r?r.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),d=!u||u.members.length<=1,c=!!(h&&!d&&!0===this.options.crossfade&&!this.path.some(nX));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,t2.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,t2.k)(t.y.scale,1,i),a.y.origin=t.y.origin,a.y.originPoint=t.y.originPoint):(nz(a.x,t.x,i),nz(a.y,t.y,i)),this.setTargetDelta(a),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,m,f,g,v,x;iP(l,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),f=this.relativeTarget,g=this.relativeTargetOrigin,v=l,x=i,nq(f.x,g.x,v.x,x),nq(f.y,g.y,v.y,x),n&&(u=this.relativeTarget,m=n,nf(u.x,m.x)&&nf(u.y,m.y))&&(this.isProjectionDirty=!1),n||(n=b()),no(n,this.relativeTarget)}h&&(this.animationValues=o,function(t,e,i,n,r,s){r?(t.opacity=(0,t2.k)(0,i.opacity??1,ni(n)),t.opacityExit=(0,t2.k)(e.opacity??1,0,nn(n))):s&&(t.opacity=(0,t2.k)(e.opacity??1,i.opacity??1,n));for(let r=0;r<i7;r++){let s=i8[r],o=ne(e,s),a=ne(i,s);(void 0!==o||void 0!==a)&&(o||(o=0),a||(a=0),0===o||0===a||nt(o)===nt(a)?(t[s]=Math.max((0,t2.k)(i4(o),i4(a),n),0),(y.KN.test(a)||y.KN.test(o))&&(t[s]+="%")):t[s]=a)}(e.rotate||i.rotate)&&(t.rotate=(0,t2.k)(e.rotate||0,i.rotate||0,n))}(o,s,this.latestValues,i,c,d)),r&&void 0!==r.rotate&&(this.animationValues||(this.animationValues=o),this.animationValues.pathRotation=r.rotate),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=i},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&((0,H.WG)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=H.Gt.update(()=>{var e,i,n;let r;i1.hasAnimatedSinceResize=!0,tc.q.layout++,this.motionValue||(this.motionValue=(0,tb.OQ)(0)),this.motionValue.jump(0,!1),this.currentAnimation=(e=this.motionValue,i=[0,1e3],n={...t,velocity:0,isSync:!0,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onStop:()=>{tc.q.layout--},onComplete:()=>{tc.q.layout--,t.onComplete&&t.onComplete(),this.completeAnimation()}},(r=(0,T.S)(e)?e:(0,tb.OQ)(e)).start(is("",r,i,n)),r.animation),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let t=this.getStack();t&&t.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let t=this.getLead(),{targetWithTransforms:e,target:i,layout:n,latestValues:r}=t;if(e&&i&&n){if(this!==t&&this.layout&&n&&nZ(this.options.animationType,this.layout.layoutBox,n.layoutBox)){i=this.target||b();let e=ik(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+e;let n=ik(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+n}no(e,i),eh(e,r),iS(this.projectionDeltaWithTransform,this.layoutCorrected,e,r)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new nk),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;
1return 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&&nM("z",t,n,this.animationValues);for(let e=0;e<nT.length;e++)nM(`rotate${nT[e]}`,t,n,this.animationValues),nM(`skew${nT[e]}`,t,n,this.animationValues);for(let e in t.render(),n)t.setStaticValue(e,n[e]),this.animationValues&&(this.animationValues[e]=n[e]);t.scheduleRender()}applyProjectionStyles(t,e){if(!this.instance||this.isSVG)return;if(!this.isVisible){t.visibility="hidden";return}let i=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,t.visibility="",t.opacity="",t.pointerEvents=eM(e?.pointerEvents)||"",t.transform=i?i(this.latestValues,""):"none";return}let n=this.getLead();if(!this.projectionDelta||!this.layout||!n.target){this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=eM(e?.pointerEvents)||""),this.hasProjected&&!ee(this.latestValues)&&(t.transform=i?i({},""):"none",this.hasProjected=!1);return}t.visibility="";let r=n.animationValues||n.latestValues;this.applyTransformsToTarget();let s=function(t,e,i){let n="",r=t.x.translate/e.x,s=t.y.translate/e.y,o=i?.z||0;if((r||s||o)&&(n=`translate3d(${r}px, ${s}px, ${o}px) `),(1!==e.x||1!==e.y)&&(n+=`scale(${1/e.x}, ${1/e.y}) `),i){let{transformPerspective:t,rotate:e,pathRotation:r,rotateX:s,rotateY:o,skewX:a,skewY:l}=i;t&&(n=`perspective(${t}px) ${n}`),e&&(n+=`rotate(${e}deg) `),r&&(n+=`rotate(${r}deg) `),s&&(n+=`rotateX(${s}deg) `),o&&(n+=`rotateY(${o}deg) `),a&&(n+=`skewX(${a}deg) `),l&&(n+=`skewY(${l}deg) `)}let a=t.x.scale*e.x,l=t.y.scale*e.y;return(1!==a||1!==l)&&(n+=`scale(${a}, ${l})`),n||"none"}(this.projectionDeltaWithTransform,this.treeScale,r);i&&(s=i(r,s)),t.transform=s;let{x:o,y:a}=this.projectionDelta;for(let e in t.transformOrigin=`${100*o.origin}% ${100*a.origin}% 0`,n.animationValues?t.opacity=n===this?r.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:r.opacityExit:t.opacity=n===this?void 0!==r.opacity?r.opacity:"":void 0!==r.opacityExit?r.opacityExit:0,t5){if(void 0===r[e])continue;let{correct:i,applyTo:o,isCSSVariable:a}=t5[e],l="none"===s?r[e]:i(r[e],n);if(o){let e=o.length;for(let i=0;i<e;i++)t[o[i]]=l}else a?this.options.visualElement.renderState.vars[e]=l:t[e]=l}this.options.layoutId&&(t.pointerEvents=n===this?eM(e?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>t.currentAnimation?.stop()),this.root.nodes.forEach(nj),this.root.sharedNodes.clear()}}}function nV(t){t.updateLayout()}function nC(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)iw(t=>{let n=s?e.measuredBox[t]:e.layoutBox[t],r=ik(n);n.min=i[t].min,n.max=n.min+r});else if("x"===r||"y"===r){let t="x"===r?"y":"x";ns(s?e.measuredBox[t]:e.layoutBox[t],i[t])}else nZ(r,e.layoutBox,i)&&iw(n=>{let r=s?e.measuredBox[n]:e.layoutBox[n],o=ik(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=A();iS(o,i,e.layoutBox);let a=A();s?iS(a,t.applyTransform(n,!0),e.measuredBox):iS(a,i,e.layoutBox);let l=!nm(o),h=!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=b();iP(a,e.layoutBox,r.layoutBox,o);let l=b();iP(l,i,s.layoutBox,o),ng(a,l)||(h=!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:h})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function nR(t){tp.Q.value&&nb.nodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.
1isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function nD(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function nL(t){t.clearSnapshot()}function nj(t){t.clearMeasurements()}function nB(t){t.isLayoutDirty=!0,t.updateLayout()}function nF(t){t.isLayoutDirty=!1}function nO(t){t.isAnimationBlocked&&t.layout&&!t.isLayoutDirty&&(t.snapshot=t.layout,t.isLayoutDirty=!0)}function nI(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function nW(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function nU(t){t.resolveTargetDelta()}function nG(t){t.calcProjection()}function n$(t){t.resetSkewAndRotation()}function nN(t){t.removeLeadSnapshot()}function nz(t,e,i){t.translate=(0,t2.k)(e.translate,0,i),t.scale=(0,t2.k)(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function nq(t,e,i,n){t.min=(0,t2.k)(e.min,i.min,n),t.max=(0,t2.k)(e.max,i.max,n)}function nX(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let nH={duration:.45,ease:[.4,0,.1,1]},nY=t=>"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),nK=nY("applewebkit/")&&!nY("chrome/")?Math.round:ta.l;function nQ(t){t.min=nK(t.min),t.max=nK(t.max)}function nZ(t,e,i){return"position"===t||"preserve-aspect"===t&&!(.2>=Math.abs(nv(e)-nv(i)))}function n_(t){return t!==t.root&&t.scroll?.wasRoot}let nJ=nE({attachResizeListener:(t,e)=>iV(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),n0={current:void 0},n1=nE({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!n0.current){let t=new nJ({});t.mount(window),t.setOptions({layoutScroll:!0}),n0.current=t}return n0.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position});var n2=i(58392);function n5(t,e){let i=(0,n2.K)(t),n=new AbortController;return[i,{passive:!0,...e,signal:n.signal},()=>n.abort()]}function n6(t,e,i){let{props:n}=t;t.animationState&&n.whileHover&&t.animationState.setActive("whileHover","Start"===i);let r=n["onHover"+i];r&&H.Gt.postRender(()=>r(e,iD(e)))}class n3 extends e${mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,i={}){let[n,r,s]=n5(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||ix.x||ix.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)=>(n6(this.node,e,"Start"),t=>n6(this.node,t,"End"))))}unmount(){}}class n9 extends e${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,iB.F)(iV(this.node.current,"focus",()=>this.onFocus()),iV(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}var n8=i(78757);let n7=(t,e)=>!!e&&(t===e||n7(t,e.parentElement)),n4=new WeakSet;function rt(t){return e=>{"Enter"===e.key&&t(e)}}function re(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}function ri(t){return iR(t)&&!(ix.x||ix.y)}let rn=new WeakSet;function rr(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&&H.Gt.postRender(()=>r(e,iD(e)))}class rs extends e${mount(){let{current:t}=this.node;if(!t)return;let{globalTapTarget:e,propagate:i}=this.node.props;
1this.unmount=function(t,e,i={}){let[n,r,s]=n5(t,i),o=t=>{let n=t.currentTarget;if(!ri(t)||rn.has(t))return;n4.add(n),i.stopPropagation&&rn.add(t);let s=e(n,t),o=(t,e)=>{window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",l),n4.has(n)&&n4.delete(n),ri(t)&&"function"==typeof s&&s(t,{success:e})},a=t=>{o(t,n===window||n===document||i.useGlobalTarget||n7(n,t.target))},l=t=>{o(t,!1)};window.addEventListener("pointerup",a,r),window.addEventListener("pointercancel",l,r)};return n.forEach(t=>{((i.useGlobalTarget?window:t).addEventListener("pointerdown",o,r),(0,n8.s)(t))&&(t.addEventListener("focus",t=>((t,e)=>{let i=t.currentTarget;if(!i)return;let n=rt(()=>{if(n4.has(i))return;re(i,"down");let t=rt(()=>{re(i,"up")});i.addEventListener("keyup",t,e),i.addEventListener("blur",()=>re(i,"cancel"),e)});i.addEventListener("keydown",n,e),i.addEventListener("blur",()=>i.removeEventListener("keydown",n),e)})(t,r)),iM.has(t.tagName)||!0===t.isContentEditable||t.hasAttribute("tabindex")||(t.tabIndex=0))}),s}(t,(t,e)=>(rr(this.node,e,"Start"),(t,{success:e})=>rr(this.node,t,e?"End":"Cancel")),{useGlobalTarget:e,stopPropagation:i?.tap===!1})}unmount(){}}let ro=new WeakMap,ra=new WeakMap,rl=t=>{let e=ro.get(t.target);e&&e(t)},rh=t=>{t.forEach(rl)},ru={some:0,all:1};class rd extends e${constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var t;let e;this.stopObserver?.();let{viewport:i={}}=this.node.getProps(),{root:n,margin:r,amount:s="some",once:o}=i,a={root:n?n.current:void 0,rootMargin:r,threshold:"number"==typeof s?s:ru[s]},l=t=>{let{isIntersecting:e}=t;if(this.isInView===e||(this.isInView=e,o&&!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(),r=e?i:n;r&&r(t)};this.stopObserver=(t=this.node.current,e=function({root:t,...e}){let i=t||document;ra.has(i)||ra.set(i,{});let n=ra.get(i),r=JSON.stringify(e);return n[r]||(n[r]=new IntersectionObserver(rh,{root:t,...e})),n[r]}(a),ro.set(t,l),e.observe(t),()=>{ro.delete(t),e.unobserve(t)})}mount(){this.startObserver()}update(){if("u"<typeof IntersectionObserver)return;let{props:t,prevProps:e}=this.node;["amount","margin","root"].some(function({viewport:t={}},{viewport:e={}}={}){return i=>t[i]!==e[i]}(t,e))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}}let rc=function(t,e){if("u"<typeof Proxy)return eG;let i=new Map,n=(i,n)=>eG(i,n,t,e);return new Proxy((t,e)=>n(t,e),{get:(r,s)=>"create"===s?n:(i.has(s)||i.set(s,eG(s,void 0,t,e)),i.get(s))})}({animation:{Feature:iy},exit:{Feature:iv},inView:{Feature:rd},tap:{Feature:rs},focus:{Feature:n9},hover:{Feature:n3},pan:{Feature:i0},drag:{Feature:i_,ProjectionNode:n1,MeasureLayout:i3},layout:{ProjectionNode:n1,MeasureLayout:i3}},(t,e)=>e.isSVG??em(t)?new t8(e):new ed(e,{allowProjection:t!==ec.Fragment}))},20754:(t,e,i)=>{i.d(e,{E:()=>a});var n=i(41720),r=i(7906),s=i(4756);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])}},21620:(t,e,i)=>{i.d(e,{S:()=>n});let n=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu},21649:(t,e,i)=>{i.d(e,{G:()=>u});var n=i(28153),r=i(72025),s=i(34017),o=i(5556),a=i(18844),l=i(94712),h=i(86075);function u(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 m=t[0]===t[1];t[0]>t[p-1]&&(t=[...t].reverse(),e=[...e].reverse());let f=function(t,e,i){let o=[],a=i||n.W.mix||h.j,l=t.length-1;for(let i=0;i<l;i++){let n=a(t[i],t[i+1]);if(e){let t=Array.isArray(e)?e[i]||r.l:e;n=(0,s.F)(t,n)}o.push(n)}return o}(e,d,c),y=f.length,g=i=>{if(m&&i<t[0])return e[0];let n=0;if(y>1)for(;n<t.length-2&&!(i<t[n+1]);n++);let r=(0,a.q)(t[n],t[n+1],i);return f[n](r)};return i?e=>g((0,l.q)(t[0],t[p-1],e)):g}},24866:(t,e,i)=>{i.d(e,{Q:()=>n});let n=(0,i(12115).createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"})}
1,25505:(t,e,i)=>{i.d(e,{A:()=>s});var n=i(72025);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)}},25903:(t,e,i)=>{i.d(e,{b:()=>r});var n=i(1406);let r=t=>t>=1?1:(t*=2)<1?.5*(0,n.dg)(t):.5*(2-Math.pow(2,-10*(t-1)))},26756:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(8698).A)("Building",[["rect",{width:"16",height:"20",x:"4",y:"2",rx:"2",ry:"2",key:"76otgf"}],["path",{d:"M9 22v-4h6v4",key:"r93iot"}],["path",{d:"M8 6h.01",key:"1dz90k"}],["path",{d:"M16 6h.01",key:"1x0f13"}],["path",{d:"M12 6h.01",key:"1vi96p"}],["path",{d:"M12 10h.01",key:"1nrarc"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M16 10h.01",key:"1m94wz"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M8 10h.01",key:"19clt8"}],["path",{d:"M8 14h.01",key:"6423bh"}]])},27933:(t,e,i)=>{i.d(e,{Gt:()=>r,PP:()=>a,WG:()=>s,uv:()=>o});var n=i(72025);let{schedule:r,cancel:s,state:o,steps:a}=(0,i(57835).I)("u">typeof requestAnimationFrame?requestAnimationFrame:n.l,!0)},27994:(t,e,i)=>{i.d(e,{B:()=>l});var n=i(94712),r=i(49637),s=i(71939),o=i(82163);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))+")"}},28153:(t,e,i)=>{i.d(e,{W:()=>n});let n={}},28819:(t,e,i)=>{i.d(e,{M:()=>r});var n=i(12115);function r(t){let e=(0,n.useRef)(null);return null===e.current&&(e.current=t()),e.current}},30281:(t,e,i)=>{i.d(e,{u:()=>r});var n=i(27994);let r={test:(0,i(82163).$)("#"),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}}
1,34017:(t,e,i)=>{i.d(e,{F:()=>n});let n=(...t)=>t.reduce((t,e)=>i=>e(t(i)))},37035:(t,e,i)=>{let n;i.d(e,{k:()=>a});var r=i(28153),s=i(27933);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)}}},37979:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(8698).A)("Lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]])},38621:(t,e,i)=>{i.d(e,{X:()=>r,f:()=>n});let n=t=>1e3*t,r=t=>t/1e3},38873:(t,e,i)=>{i.d(e,{c:()=>r,k:()=>n});let{schedule:n,cancel:r}=(0,i(57835).I)(queueMicrotask,!1)},39266:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(8698).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"}]])},39551:(t,e,i)=>{i.d(e,{L:()=>n});let n=(0,i(12115).createContext)({})},39896:(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(--")}},40660:(t,e,i)=>{i.d(e,{q:()=>n});class n{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,e){return this.finished.then(t,e)}}},41148:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(8698).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"}]])},41342:(t,e,i)=>{i.d(e,{Q:()=>n});let n={value:null,addProjectionMetrics:null}},41720:(t,e,i)=>{i.d(e,{B:()=>s});var n=i(4756),r=i(45343);function s({keyframes:t,velocity:e=0,power:i=.8,timeConstant:o=325,bounceDamping:a=10,bounceStiffness:l=500,modifyTarget:h,min:u,max:d,restDelta:c=.5,restSpeed:p}){let m,f,y=t[0],g={done:!1,value:y},v=i*e,x=y+v,w=void 0===h?x:h(x);w!==x&&(v=w-y);let k=t=>-v*Math.exp(-t/o),A=t=>w+k(t),S=t=>{let e=k(t),i=A(t);g.done=Math.abs(e)<=c,g.value=g.done?w:i},b=t=>{let e;if(e=g.value,void 0!==u&&e<u||void 0!==d&&e>d){var i;m=t,f=(0,n.o)({keyframes:[g.value,(i=g.value,void 0===u?d:void 0===d||Math.abs(u-i)<Math.abs(d-i)?u:d)],velocity:(0,r.z)(A,t,g.value),damping:a,stiffness:l,restDelta:c,restSpeed:p})}};return b(0),{calculatedDuration:null,next:t=>{let e=!1;return(f||void 0!==m||(e=!0,S(t),b(t)),void 0!==m&&t>=m)?f.next(t-m):(e||S(t),g)}}}},43928:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(8698).A)("CircleHelp",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]])},44120:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(8698).A)("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]])},44521:(t,e,i)=>{i.d(e,{z:()=>y});var n=i(51469),r=i(14405),s=i(27933);function o(t){return"number"==typeof t?t:parseFloat(t)}var a=i(12115),l=i(24866),h=i(6900),u=i(28819);function d(t){let e=(0,u.M)(()=>(0,h.OQ)(t)),{isStatic:i}=(0,a.useContext)(l.Q);if(i){let[,i]=(0,a.useState)(t);(0,a.useEffect)(()=>e.on("change",i),[])}return e}var c=i(21649),p=i(65239);function m(t,e){let i=d(e()),n=()=>i.set(e());return n(),(0,p.E)(()=>{let e=()=>s.Gt.preRender(n,!1,!0),i=t.map(t=>t.on("change",e));return()=>{i.forEach(t=>t()),(0,s.WG)(n)}}),i}function f(t,e){let i=(0,u.M)(()=>[]);return m(t,()=>{i.length=0;let n=t.length;for(let e=0;e<n;e++)i[e]=t[e].get();return e(i)})}function y(t,e={}){return function(t,e={}){let{isStatic:i}=(0,a.useContext)(l.Q),p=()=>(0,n.S)(t)?t.get():t;if(i)return function t(e,i,n,r){if("function"==typeof e){let t;return h.bt.current=[],e(),t=m(h.bt.current,e),h.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 h=(0,u.M)(()=>Object.keys(a)),d=(0,u.M)(()=>({}));for(let e of h)d[e]=t(s,o,a[e],l);return d}let d="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,c.G)(r,s,o);return e?a(n):a}(i,n,r),p=Array.isArray(e)?f(e,d):f([e],([t])=>d(t)),y=Array.isArray(e)?void 0:e.accelerate;return y&&!y.isTransformed&&"function"!=typeof i&&Array.isArray(n)&&r?.clamp!==!1&&(p.accelerate={...y,times:i,keyframes:n,isTransformed:!0,...r?.ease?{ease:r.ease}:{}}),p}(p);let y=d(p());return(0,a.useInsertionEffect)(()=>
1(function(t,e,i={}){let a,l=t.get(),h=null,u=l,d="string"==typeof l?l.replace(/[\d.-]/g,""):void 0,c=()=>{h&&(h.stop(),h=null),t.animation=void 0},p=()=>{(()=>{let e=o(t.get()),n=o(u);if(e===n)return c();let s=h?h.getGeneratorVelocity():t.getVelocity();c(),h=new r.s({keyframes:[e,n],velocity:s,type:"spring",restDelta:.001,restSpeed:.01,...i,onUpdate:a})})(),t.animation=h??void 0,t.events.animationStart?.notify(),h?.then(()=>{t.animation=void 0,t.events.animationComplete?.notify()})};if(t.attach((t,e)=>{u=t,a=t=>{var i,n;return e((i=t,(n=d)?i+n:i))},s.Gt.postRender(p)},c),(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=d)?i+r:i),!1)):t.set((s=e,(o=d)?s+o:s))}),s=t.on("destroy",r);return()=>{r(),s()}}return c})(y,t,e),[y,JSON.stringify(e)]),y}(t,{type:"spring",...e})}},44708:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(8698).A)("Earth",[["path",{d:"M21.54 15H17a2 2 0 0 0-2 2v4.54",key:"1djwo0"}],["path",{d:"M7 3.34V5a3 3 0 0 0 3 3a2 2 0 0 1 2 2c0 1.1.9 2 2 2a2 2 0 0 0 2-2c0-1.1.9-2 2-2h3.17",key:"1tzkfa"}],["path",{d:"M11 21.95V18a2 2 0 0 0-2-2a2 2 0 0 1-2-2v-1a2 2 0 0 0-2-2H2.05",key:"14pb5j"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]])},44945:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(8698).A)("FileSpreadsheet",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M8 13h2",key:"yr2amv"}],["path",{d:"M14 13h2",key:"un5t4a"}],["path",{d:"M8 17h2",key:"2yhykz"}],["path",{d:"M14 17h2",key:"10kma7"}]])},45343:(t,e,i)=>{i.d(e,{z:()=>r});var n=i(79537);function r(t,e,i){let r=Math.max(e-5,0);return(0,n.f)(i-t(r),e-r)}}
1,47641:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(8698).A)("ChartNoAxesColumnIncreasing",[["line",{x1:"12",x2:"12",y1:"20",y2:"10",key:"1vz5eb"}],["line",{x1:"18",x2:"18",y1:"20",y2:"4",key:"cun8e5"}],["line",{x1:"6",x2:"6",y1:"20",y2:"16",key:"hq0ia6"}]])},47729:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(8698).A)("GripVertical",[["circle",{cx:"9",cy:"12",r:"1",key:"1vctgf"}],["circle",{cx:"9",cy:"5",r:"1",key:"hp0tcf"}],["circle",{cx:"9",cy:"19",r:"1",key:"fkjjf6"}],["circle",{cx:"15",cy:"12",r:"1",key:"1tmaij"}],["circle",{cx:"15",cy:"5",r:"1",key:"19l28e"}],["circle",{cx:"15",cy:"19",r:"1",key:"f4zoj3"}]])},47736:(t,e,i)=>{i.d(e,{X:()=>r});let n=t=>null!==t;function r(t,{repeat:e,repeatType:i="loop"},s,o=1){let a=t.filter(n),l=o<0||e&&"loop"!==i&&e%2==1?0:a.length-1;return l&&void 0!==s?s:a[l]}},49637:(t,e,i)=>{i.d(e,{X4:()=>s,ai:()=>r,hs:()=>o});var n=i(94712);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}},51275:(t,e,i)=>{let n,r;i.d(e,{X:()=>m});var s=i(69028),o=i(58392);let a=new WeakMap,l=(t,e,i)=>(n,r)=>r&&r[0]?r[0][t+"Size"]:(0,s.x)(n)&&"getBBox"in n?n.getBBox()[e]:n[i],h=l("inline","width","offsetWidth"),u=l("block","height","offsetHeight");function d({target:t,borderBoxSize:e}){a.get(t)?.forEach(i=>{i(t,{get width(){return h(t,e)},get height(){return u(t,e)}})})}function c(t){t.forEach(d)}let p=new Set;function m(t,e){let i;return"function"==typeof t?(p.add(t),r||(r=()=>{let t={get width(){return window.innerWidth},get height(){return window.innerHeight}};p.forEach(e=>e(t))},window.addEventListener("resize",r)),()=>{p.delete(t),p.size||"function"!=typeof r||(window.removeEventListener("resize",r),r=void 0)}):(!n&&"u">typeof ResizeObserver&&(n=new ResizeObserver(c)),(i=(0,o.K)(t)).forEach(t=>{let i=a.get(t);i||(i=new Set,a.set(t,i)),i.add(e),n?.observe(t)}),()=>{i.forEach(t=>{let i=a.get(t);i?.delete(e),i?.size||n?.unobserve(t)})})}},51469:(t,e,i)=>{i.d(e,{S:()=>n});let n=t=>!!(t&&t.getVelocity)},52316:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(8698).A)("FileCheck2",[["path",{d:"M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v4",key:"1pf5j1"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"m3 15 2 2 4-4",key:"1lhrkk"}]])},56260:(t,e,i)=>{i.d(e,{k:()=>n});let n=(t,e,i)=>t+(e-t)*i},57532:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(8698).A)("BookMarked",[["path",{d:"M10 2v8l3-3 3 3V2",key:"sqw3rj"}],["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"k3hazp"}]])},57835:(t,e,i)=>{i.d(e,{I:()=>o});var n=i(28153);let r=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];var s=i(41342);function o(t,e){let i=!1,o=!0,a={delta:0,timestamp:0,isProcessing:!1},l=()=>i=!0,h=r.reduce((t,i)=>(t[i]=function(t,e){let i=new Set,n=new Set,r=!1,o=!1,a=new WeakSet,l={delta:0,timestamp:0,isProcessing:!1},h=0;function u(e){a.has(e)&&(d.schedule(e),t()),h++,e(l)}let d={schedule:(t,e=!1,s=!1)=>{let o=s&&r?i:n;return e&&a.add(t),o.add(t),t},cancel:t=>{n.delete(t),a.delete(t)},process:t=>{if(l=t,r){o=!0;return}r=!0;let a=i;i=n,n=a,i.forEach(u),e&&s.Q.value&&s.Q.value.frameloop[e].push(h),h=0,i.clear(),r=!1,o&&(o=!1,d.process(t))}};return d}(l,e?i:void 0),t),{}),{setup:u,read:d,resolveKeyframes:c,preUpdate:p,update:m,preRender:f,render:y,postRender:g}=h,v=()=>{let r=n.W.useManualTiming,s=r?a.timestamp:performance.now();i=!1,r||(a.delta=o?1e3/60:Math.max(Math.min(s-a.timestamp,40),1)),a.timestamp=s,a.isProcessing=!0,u.process(a),d.process(a),c.process(a),p.process(a),m.process(a),f.process(a),y.process(a),g.process(a),a.isProcessing=!1,i&&e&&(o=!1,t(v))};return{schedule:r.reduce((e,n)=>{let r=h[n];return e[n]=(e,n=!1,s=!1)=>(!i&&(i=!0,o=!0,a.isProcessing||t(v)),r.schedule(e,n,s)),e},{}),cancel:t=>{for(let e=0;e<r.length;e++)h[r[e]].cancel(t)},state:a,steps:h}}},58392:(t,e,i)=>{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)}}
1,58931:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(8698).A)("Gavel",[["path",{d:"m14.5 12.5-8 8a2.119 2.119 0 1 1-3-3l8-8",key:"15492f"}],["path",{d:"m16 16 6-6",key:"vzrcl6"}],["path",{d:"m8 8 6-6",key:"18bi4p"}],["path",{d:"m9 7 8 8",key:"5jnvq1"}],["path",{d:"m21 11-8-8",key:"z4y7zo"}]])},59446:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(8698).A)("CreditCard",[["rect",{width:"20",height:"14",x:"2",y:"5",rx:"2",key:"ynyp8z"}],["line",{x1:"2",x2:"22",y1:"10",y2:"10",key:"1b3vmo"}]])},63892:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(8698).A)("PanelRightClose",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M15 3v18",key:"14nvp0"}],["path",{d:"m8 9 3 3-3 3",key:"12hl5m"}]])},64292:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(8698).A)("RotateCw",[["path",{d:"M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8",key:"1p45f6"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}]])},65239:(t,e,i)=>{i.d(e,{E:()=>r});var n=i(12115);let r="u">typeof window?n.useLayoutEffect:n.useEffect},67026:(t,e,i)=>{i.d(e,{q:()=>n});let n={layout:0,mainThread:0,waapi:0}},68316:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(8698).A)("ArrowDown",[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]])},69028:(t,e,i)=>{i.d(e,{x:()=>r});var n=i(94601);function r(t){return(0,n.G)(t)&&"ownerSVGElement"in t}},69084:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(8698).A)("Briefcase",[["path",{d:"M16 20V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16",key:"jecpp"}],["rect",{width:"20",height:"14",x:"2",y:"6",rx:"2",key:"i6l2r4"}]])},69166:(t,e,i)=>{i.d(e,{J:()=>r,d:()=>s});var n=i(7145);let r=(0,n.J)(()=>void 0!==window.ScrollTimeline,"scrollTimeline"),s=(0,n.J)(()=>void 0!==window.ViewTimeline,"viewTimeline")},71939:(t,e,i)=>{i.d(e,{a:()=>n});let n=t=>Math.round(1e5*t)/1e5},72025:(t,e,i)=>{i.d(e,{l:()=>n});let n=t=>t},73680:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(8698).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"}]])},73852:(t,e,i)=>{i.d(e,{v:()=>r});var n=i(78170);class r{constructor(){this.subscriptions=[]}add(t){return(0,n.Kq)(this.subscriptions,t),()=>(0,n.Ai)(this.subscriptions,t)}notify(t,e,i){let n=this.subscriptions.length;if(n)if(1===n)this.subscriptions[0](t,e,i);else for(let r=0;r<n;r++){let n=this.subscriptions[r];n&&n(t,e,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}},75093:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(8698).A)("UsersRound",[["path",{d:"M18 21a8 8 0 0 0-16 0",key:"3ypg7q"}],["circle",{cx:"10",cy:"8",r:"5",key:"o932ke"}],["path",{d:"M22 20c0-3.37-2-6.5-4-8a5 5 0 0 0-.45-8.3",key:"10s06x"}]])},75887:(t,e,i)=>{i.d(e,{V:()=>n});let n=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2},77054:(t,e,i)=>{i.d(e,{y:()=>o});var n=i(30281),r=i(88158),s=i(27994);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)}}},78170:(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})},78757:(t,e,i)=>{i.d(e,{s:()=>r});var n=i(94601);function r(t){return(0,n.G)(t)&&"offsetHeight"in t&&!("ownerSVGElement"in t)}},78987:(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<r;e++)n+=Math.round(1e4*t(e/(r-1)))/1e4+", ";return`linear(${n.substring(0,n.length-2)})`}},79196:(t,e,i)=>{i.d(e,{xQ:()=>s});var n=i(12115),r=i(15131);function s(t=!0){let e=(0,n.useContext)(r.t);if(null===e)return[!0,null];let{isPresent:i,onExitComplete:o,register:a}=e,l=(0,n.useId)();(0,n.useEffect)(()=>{if(t)return a(l)},[t]);let h=(0,n.useCallback)(()=>t&&o&&o(l),[l,o,t]);return!i&&o?[!1,h]:[!0]}},79537:(t,e,i)=>{i.d(e,{f:()=>n});let n=(t,e)=>e?1e3/e*t:0},80438:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(8698).A)("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]])},80642:(t,e,i)=>{i.d(e,{N:()=>x});var n=i(95155),r=i(12115),s=i(39551),o=i(28819),a=i(65239),l=i(15131),h=i(78757),u=i(24866);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,h.s)(e)&&t.isPresent&&!this.props.isPresent&&!1!==this.props.pop){let t=e.offsetParent,
1i=(0,h.s)(t)&&t.offsetWidth||0,n=(0,h.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({children:t,isPresent:e,anchorX:i,anchorY:s,root:o,pop:a}){let l=(0,r.useId)(),h=(0,r.useRef)(null),m=(0,r.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0,direction:"ltr"}),{nonce:f}=(0,r.useContext)(u.Q),y=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<n.length;e++){let i=n[e];"function"==typeof i?i():d(t[e],null)}}}}(...t),t)}(h,t.props?.ref??t?.ref);return(0,r.useInsertionEffect)(()=>{let{width:t,height:n,top:r,left:u,right:d,bottom:c,direction:p}=m.current;if(e||!1===a||!h.current||!t||!n)return;let y="rtl"===p,g="left"===i?y?`right: ${d}`:`left: ${u}`:y?`left: ${u}`:`right: ${d}`,v="bottom"===s?`bottom: ${c}`:`top: ${r}`;h.current.dataset.motionPopId=l;let x=document.createElement("style");f&&(x.nonce=f);let w=o??document.head;return w.appendChild(x),x.sheet&&x.sheet.insertRule(`
2          [data-motion-pop-id="${l}"] {
3            position: absolute !important;
4            width: ${t}px !important;
5            height: ${n}px !important;
6            ${g}px !important;
7            ${v}px !important;
8          }
9        `),()=>{h.current?.removeAttribute("data-motion-pop-id"),w.contains(x)&&w.removeChild(x)}},[e]),(0,n.jsx)(c,{isPresent:e,childRef:h,sizeRef:m,pop:a,children:!1===a?t:r.cloneElement(t,{ref:y})})}let m=({children:t,initial:e,isPresent:i,onExitComplete:s,custom:a,presenceAffectsLayout:h,mode:u,anchorX:d,anchorY:c,root:m})=>{let y=(0,o.M)(f),g=(0,r.useId)(),v=!0,x=(0,r.useMemo)(()=>(v=!1,{id:g,initial:e,isPresent:i,custom:a,onExitComplete:t=>{for(let e of(y.set(t,!0),y.values()))if(!e)return;s&&s()},register:t=>(y.set(t,!1),()=>y.delete(t))}),[i,y,s]);return h&&v&&(x={...x}),(0,r.useMemo)(()=>{y.forEach((t,e)=>y.set(e,!1))},[i]),r.useEffect(()=>{i||y.size||!s||s()},[i]),t=(0,n.jsx)(p,{pop:"popLayout"===u,isPresent:i,anchorX:d,anchorY:c,root:m,children:t}),(0,n.jsx)(l.t.Provider,{value:x,children:t})};function f(){return new Map}var y=i(79196);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=({children:t,custom:e,initial:i=!0,onExitComplete:l,presenceAffectsLayout:h=!0,mode:u="sync",propagate:d=!1,anchorX:c="left",anchorY:p="top",root:f})=>{let[x,w]=(0,y.xQ)(d),k=(0,r.useMemo)(()=>v(t),[t]),A=d&&!x?[]:k.map(g),S=(0,r.useRef)(!0),b=(0,r.useRef)(k),T=(0,o.M)(()=>new Map),P=(0,r.useRef)(new Set),[M,E]=(0,r.useState)(k),[V,C]=(0,r.useState)(k);(0,a.E)(()=>{S.current=!1,b.current=k;for(let t=0;t<V.length;t++){let e=g(V[t]);A.includes(e)?(T.delete(e),P.current.delete(e)):!0!==T.get(e)&&T.set(e,!1)}},[V,A.length,A.join("-")]);let R=[];if(k!==M){let t=[...k];for(let e=0;e<V.length;e++){let i=V[e],n=g(i);A.includes(n)||(t.splice(e,0,i),R.push(i))}return"wait"===u&&R.length&&(t=R),C(v(t)),E(k),null}let{forceRender:D}=(0,r.useContext)(s.L);return(0,n.jsx)(n.Fragment,{children:V.map(t=>{let r=g(t),s=(!d||!!x)&&(k===V||A.includes(r));return(0,n.jsx)(m,{isPresent:s,initial:(!S.current||!!i)&&void 0,custom:e,presenceAffectsLayout:h,mode:u,root:f,onExitComplete:s?void 0:()=>{if(P.current.has(r)||!T.has(r))return;P.current.add(r),T.set(r,!0);let t=!0;T.forEach(e=>{e||(t=!1)}),t&&(D?.(),C(b.current),d&&w?.(),l&&l())},anchorX:c,anchorY:p,children:t},r)})})}},81610:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(8698).A)("Scale",[["path",{d:"m16 16 3-8 3 8c-.87.65-1.92 1-3 1s-2.13-.35-3-1Z",key:"7g6ntu"}],["path",{d:"m2 16 3-8 3 8c-.87.65-1.92 1-3 1s-2.13-.35-3-1Z",key:"ijws7r"}],["path",{d:"M7 21h10",key:"1b0cd5"}],["path",{d:"M12 3v18",key:"108xh3"}],["path",{d:"M3 7h2c2 0 5-1 7-2 2 1 5 2 7 2h2",key:"3gwbw2"}]])},81873:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(8698).A)("TrendingUp",[["polyline",{points:"22 7 13.5 15.5 8.5 10.5 2 17",key:"126l90"}],["polyline",{points:"16 7 22 7 22 13",key:"kwv8wd"}]])},82163:(t,e,i)=>{i.d(e,{$:()=>s,q:()=>o});var n=i(21620);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}}},83399:(t,e,i)=>{i.d(e,{V:()=>u,f:()=>c});var n=i(77054);let r=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;var s=i(21620),o=i(71939);let a="number",l="color",h=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function u(t){let e=t.toString(),i=[],r={color:[],number:[],var:[]},s=[],o=0,u=e.replace(h,t=>(n.y.test(t)?(r.color.push(o),s.push(l),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(a),i.push(parseFloat(t))),++o,"${}")).split("${}");return{values:i,split:u,indexes:r,types:s}}function d({split:t,types:e}){let i=t.length;return r=>{let s="";for(let h=0;h<i;h++)if(s+=t[h],void 0!==r[h]){let t=e[h];t===a?s+=(0,o.a)(r[h]):t===l?s+=n.y.transform(r[h]):s+=r[h]}return s}}let c={test:function(t){return isNaN(t)&&"string"==typeof t&&(t.match(s.S)?.length||0)+(t.match(r)?.length||0)>0},parse:function(t){return u(t).values},createTransformer:function(t){return d(u(t))},getAnimatableNone:function(t){let e=u(t);return d(e)(e.values.map((t,i)=>((t,e)=>"number"==typeof t?e?.trim().endsWith("/")?t:0:"number"==typeof t?0:n.y.test(t)?n.y.getAnimatableNone(t):t)(t,e.split[i])))}}}
9,83931:(t,e,i)=>{i.d(e,{Z:()=>s});var n=i(18844),r=i(56260);function s(t){let e=[0];return!function(t,e){let i=t[t.length-1];for(let s=1;s<=e;s++){let o=(0,n.q)(0,e,s);t.push((0,r.k)(i,1,o))}}(e,t.length-1),e}},86075:(t,e,i)=>{i.d(e,{j:()=>b});var n=i(34017),r=i(5556),s=i(39896),o=i(77054),a=i(83399),l=i(30281),h=i(88158);function u(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 d=i(27994);function c(t,e){return i=>i>0?e:t}var p=i(56260);let m=(t,e,i)=>{let n=t*t,r=i*(e*e-n)+n;return r<0?0:Math.sqrt(r)},f=[l.u,d.B,h.V];function y(t){let e=f.find(e=>e.test(t));if((0,r.$)(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!e)return!1;let i=e.parse(t);return e===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=u(a,n,t+1/3),s=u(a,n,t),o=u(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 g=(t,e)=>{let i=y(t),n=y(e);if(!i||!n)return c(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,p.k)(i.alpha,n.alpha,t),d.B.transform(r))},v=new Set(["none","hidden"]);function x(t,e){return i=>(0,p.k)(t,e,i)}function w(t){return"number"==typeof t?x:"string"==typeof t?(0,s.pG)(t)?c:o.y.test(t)?g:S:Array.isArray(t)?k:"object"==typeof t?o.y.test(t)?g:A:c}function k(t,e){let i=[...t],n=i.length,r=t.map((t,i)=>w(t)(t,e[i]));return t=>{for(let e=0;e<n;e++)i[e]=r[e](t);return i}}function A(t,e){let i={...t,...e},n={};for(let r in i)void 0!==t[r]&&void 0!==e[r]&&(n[r]=w(t[r])(t[r],e[r]));return t=>{for(let e in n)i[e]=n[e](t);return i}}let S=(t,e)=>{let i=a.f.createTransformer(e),s=(0,a.V)(t),o=(0,a.V)(e);if(!(s.indexes.var.length===o.indexes.var.length&&s.indexes.color.length===o.indexes.color.length&&s.indexes.number.length>=o.indexes.number.length))return(0,r.$)(!0,`Complex values '${t}' and '${e}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),c(t,e);if(v.has(t)&&!o.values.length||v.has(e)&&!s.values.length)return v.has(t)?i=>i<=0?t:e:i=>i>=1?e:t;return(0,n.F)(k(function(t,e){let i=[],n={color:0,var:0,number:0};for(let r=0;r<e.values.length;r++){let s=e.types[r],o=t.indexes[s][n[s]],a=t.values[o]??0;i[r]=a,n[s]++}return i}(s,o),o.values),i)};function b(t,e,i){return"number"==typeof t&&"number"==typeof e&&"number"==typeof i?(0,p.k)(t,e,i):w(t)(t,e)}},88158:(t,e,i)=>{i.d(e,{V:()=>a});var n=i(49637),r=i(11048),s=i(71939),o=i(82163);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))+")"}},89722:(t,e,i)=>{i.d(e,{po:()=>s,tn:()=>a,yT:()=>o});var n=i(75887),r=i(12266);let s=t=>1-Math.sin(Math.acos(t)),o=(0,r.G)(s),a=(0,n.V)(s)},90050:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(8698).A)("ZoomOut",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]])},91225:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(8698).A)("Award",[["path",{d:"m15.477 12.89 1.515 8.526a.5.5 0 0 1-.81.47l-3.58-2.687a1 1 0 0 0-1.197 0l-3.586 2.686a.5.5 0 0 1-.81-.469l1.514-8.526",key:"1yiouv"}],["circle",{cx:"12",cy:"8",r:"6",key:"1vp47v"}]])},91597:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(8698).A)("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]])},91677:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(8698).A)("CirclePlay",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polygon",{points:"10 8 16 12 10 16 10 8",key:"1cimsy"}]])},92290:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(8698).A)("Megaphone",[["path",{d:"m3 11 18-5v12L3 14v-3z",key:"n962bs"}],["path",{d:"M11.6 16.8a3 3 0 1 1-5.8-1.6",key:"1yl0tm"}]])},94601:(t,e,i)=>{i.d(e,{G:()=>n});let n=t=>"object"==typeof t&&null!==t},94712:(t,e,i)=>{i.d(e,{q:()=>n});let n=(t,e,i)=>i>e?e:i<t?t:i}
9,96291:(t,e,i)=>{i.d(e,{p:()=>n});function n(t){let e;return()=>(void 0===e&&(e=t()),e)}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.