PageSourceSearch

https://www.prescrevendo.ai/_next/static/chunks/835-1b028f65197daad1.js?dpl=dpl_FnyW6ra8xardCoL3quwr45yw5m5E

js prescrevendo.ai collected 2026-10-05 12:30:58 UTC 179,989 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[835],{63:(t,e,i)=>{var r=i(7260);i.o(r,"useParams")&&i.d(e,{useParams:function(){return r.useParams}}),i.o(r,"usePathname")&&i.d(e,{usePathname:function(){return r.usePathname}}),i.o(r,"useRouter")&&i.d(e,{useRouter:function(){return r.useRouter}}),i.o(r,"useSearchParams")&&i.d(e,{useSearchParams:function(){return r.useSearchParams}})},296:(t,e,i)=>{i.d(e,{L:()=>r});let r=(0,i(2115).createContext)({})},309:(t,e,i)=>{i.d(e,{A:()=>r});let r=(0,i(1847).A)("printer",[["path",{d:"M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2",key:"143wyd"}],["path",{d:"M6 9V3a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v6",key:"1itne7"}],["rect",{x:"6",y:"14",width:"12",height:"8",rx:"1",key:"1ue0tg"}]])},508:(t,e,i)=>{i.d(e,{A:()=>r});let r=(0,i(1847).A)("user",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]])},647:(t,e,i)=>{i.d(e,{A:()=>r});let r=(0,i(1847).A)("calculator",[["rect",{width:"16",height:"20",x:"4",y:"2",rx:"2",key:"1nb95v"}],["line",{x1:"8",x2:"16",y1:"6",y2:"6",key:"x4nwl0"}],["line",{x1:"16",x2:"16",y1:"14",y2:"18",key:"wjye3r"}],["path",{d:"M16 10h.01",key:"1m94wz"}],["path",{d:"M12 10h.01",key:"1nrarc"}],["path",{d:"M8 10h.01",key:"19clt8"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M8 18h.01",key:"lrp35t"}]])},709:(t,e,i)=>{i.d(e,{A:()=>r});let r=(0,i(1847).A)("gift",[["rect",{x:"3",y:"8",width:"18",height:"4",rx:"1",key:"bkv52"}],["path",{d:"M12 8v13",key:"1c76mn"}],["path",{d:"M19 12v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-7",key:"6wjy6b"}],["path",{d:"M7.5 8a2.5 2.5 0 0 1 0-5A4.8 8 0 0 1 12 8a4.8 8 0 0 1 4.5-5 2.5 2.5 0 0 1 0 5",key:"1ihvrl"}]])},1130:(t,e,i)=>{let r;i.d(e,{P:()=>sm});var n=i(2115);let s=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],o=new Set(s),a=t=>180*t/Math.PI,l=t=>u(a(Math.atan2(t[1],t[0]))),h={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:l,rotateZ:l,skewX:t=>a(Math.atan(t[1])),skewY:t=>a(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},u=t=>((t%=360)<0&&(t+=360),t),d=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),c=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),p={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:d,scaleY:c,scale:t=>(d(t)+c(t))/2,rotateX:t=>u(a(Math.atan2(t[6],t[5]))),rotateY:t=>u(a(Math.atan2(-t[2],t[0]))),rotateZ:l,rotate:l,skewX:t=>a(Math.atan(t[4])),skewY:t=>a(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function m(t){return+!!t.includes("scale")}function f(t,e){let i,r;if(!t||"none"===t)return m(e);let n=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(n)i=p,r=n;else{let e=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=h,r=e}if(!r)return m(e);let s=i[e],o=r[1].split(",").map(g);return"function"==typeof s?s(o):o[s]}function g(t){return parseFloat(t.trim())}let y=t=>e=>"string"==typeof e&&e.startsWith(t),v=y("--"),x=y("var(--"),b=t=>!!x(t)&&w.test(t.split("/*")[0].trim()),w=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function k({top:t,left:e,right:i,bottom:r}){return{x:{min:e,max:i},y:{min:t,max:r}}}let A=(t,e,i)=>t+(e-t)*i;function M(t){return void 0===t||1===t}function T({scale:t,scaleX:e,scaleY:i}){return!M(t)||!M(e)||!M(i)}function P(t){return T(t)||S(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function S(t){var e,i;return(e=t.x)&&"0%"!==e||(i=t.y)&&"0%"!==i}function C(t,e,i,r,n){return void 0!==n&&(t=r+n*(t-r)),r+i*(t-r)+e}function E(t,e=0,i=1,r,n){t.min=C(t.min,e,i,r,n),t.max=C(t.max,e,i,r,n)}function R(t,{x:e,y:i}){E(t.x,e.translate,e.scale,e.originPoint),E(t.y,i.translate,i.scale,i.originPoint)}function V(t,e){t.min=t.min+e,t.max=t.max+e}function j(t,e,i,r,n=.5){let s=A(t.min,t.max,n);E(t,e,i,s,r)}function D(t,e){j(t.x,e.x,e.scaleX,e.scale,e.originX),j(t.y,e.y,e.scaleY,e.scale,e.originY)}function L(t,e){return k(function(t,e){if(!e)return t;let i=e({x:t.left,y:t.top}),r=e({x:t.right,y:t.bottom});return{top:i.y,left:i.x,bottom:r.y,right:r.x}}(t.getBoundingClientRect(),e))}let O=new Set(["width","height","top","left","right","bottom",...s]),z=(t,e,i)=>i>e?e:i<t?t:i,I={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},F={...I,transform:t=>z(0,1,t)},N={...I,default:1},_=t=>({test:e=>"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),B=_("deg"),U=_("%"),$=_("px"),W=_("vh"),H=_("vw"),q={...U,parse:t=>U.parse(t)/100,transform:t=>U.transform(100*t)},Y=t=>e=>e.test(t),X=[I,$,U,B,H,W,{test:t=>"auto"===t,parse:t=>t}],G=t=>X.find(Y(t)),K=()=>{},Z=()=>{},Q=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t),J=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,tt=t=>t===I||t===$,te=new Set(["x","y","z"]),ti=s.filter(t=>!te.has(t)),tr={width:({x:t},{paddingLeft:e="0",paddingRight:i="0"})=>t.max-t.min-parseFloat(e)-parseFloat(i),height:({y:t},{paddingTop:e="0",paddingBottom:i="0"})=>t.max-t.min-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})=>f(e,"x"),y:(t,{transform:e})=>f(e,"y")};tr.translateX=tr.x,tr.translateY=tr.y;let tn=t=>t,ts={},to=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"],ta={value:null,addProjectionMetrics:null};function tl(t,e){let i=!1,r=!0,n={delta:0,timestamp:0,isProcessing:!1},s=()=>i=!0,o=to.reduce((t,i)=>(t[i]=function(t,e){let i=new Set,r=new Set,n=!1,s=!1,o=new WeakSet,a={delta:0,timestamp:0,isProcessing:!1},l=0;function h(e){o.has(e)&&(u.schedule(e),t()),l++,e(a)}let u={schedule:(t,e=!1,s=!1)=>{let a=s&&n?i:r;return e&&o.add(t),a.has(t)||a.add(t),t},cancel:t=>{r.delete(t),o.delete(t)},process:t=>{if(a=t,n){s=!0;return}
1n=!0,[i,r]=[r,i],i.forEach(h),e&&ta.value&&ta.value.frameloop[e].push(l),l=0,i.clear(),n=!1,s&&(s=!1,u.process(t))}};return u}(s,e?i:void 0),t),{}),{setup:a,read:l,resolveKeyframes:h,preUpdate:u,update:d,preRender:c,render:p,postRender:m}=o,f=()=>{let s=ts.useManualTiming?n.timestamp:performance.now();i=!1,ts.useManualTiming||(n.delta=r?1e3/60:Math.max(Math.min(s-n.timestamp,40),1)),n.timestamp=s,n.isProcessing=!0,a.process(n),l.process(n),h.process(n),u.process(n),d.process(n),c.process(n),p.process(n),m.process(n),n.isProcessing=!1,i&&e&&(r=!1,t(f))};return{schedule:to.reduce((e,s)=>{let a=o[s];return e[s]=(e,s=!1,o=!1)=>(!i&&(i=!0,r=!0,n.isProcessing||t(f)),a.schedule(e,s,o)),e},{}),cancel:t=>{for(let e=0;e<to.length;e++)o[to[e]].cancel(t)},state:n,steps:o}}let{schedule:th,cancel:tu,state:td,steps:tc}=tl("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:tn,!0),tp=new Set,tm=!1,tf=!1,tg=!1;function ty(){if(tf){let t=Array.from(tp).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),i=new Map;e.forEach(t=>{let e=function(t){let e=[];return ti.forEach(i=>{let r=t.getValue(i);void 0!==r&&(e.push([i,r.get()]),r.set(+!!i.startsWith("scale")))}),e}(t);e.length&&(i.set(t,e),t.render())}),t.forEach(t=>t.measureInitialState()),e.forEach(t=>{t.render();let e=i.get(t);e&&e.forEach(([e,i])=>{t.getValue(e)?.set(i)})}),t.forEach(t=>t.measureEndState()),t.forEach(t=>{void 0!==t.suspendedScrollY&&window.scrollTo(0,t.suspendedScrollY)})}tf=!1,tm=!1,tp.forEach(t=>t.complete(tg)),tp.clear()}function tv(){tp.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(tf=!0)})}class tx{constructor(t,e,i,r,n,s=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=i,this.motionValue=r,this.element=n,this.isAsync=s}scheduleResolve(){this.state="scheduled",this.isAsync?(tp.add(this),tm||(tm=!0,th.read(tv),th.resolveKeyframes(ty))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:e,element:i,motionValue:r}=this;if(null===t[0]){let n=r?.get(),s=t[t.length-1];if(void 0!==n)t[0]=n;else if(i&&e){let r=i.readValue(e,s);null!=r&&(t[0]=r)}void 0===t[0]&&(t[0]=s),r&&void 0===n&&r.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),tp.delete(this)}cancel(){"scheduled"===this.state&&(tp.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}let tb=t=>/^0[^.\s]+$/u.test(t),tw=t=>Math.round(1e5*t)/1e5,tk=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,tA=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,tM=(t,e)=>i=>!!("string"==typeof i&&tA.test(i)&&i.startsWith(t)||e&&null!=i&&Object.prototype.hasOwnProperty.call(i,e)),tT=(t,e,i)=>r=>{if("string"!=typeof r)return r;let[n,s,o,a]=r.match(tk);return{[t]:parseFloat(n),[e]:parseFloat(s),[i]:parseFloat(o),alpha:void 0!==a?parseFloat(a):1}},tP={...I,transform:t=>Math.round(z(0,255,t))},tS={test:tM("rgb","red"),parse:tT("red","green","blue"),transform:({red:t,green:e,blue:i,alpha:r=1})=>"rgba("+tP.transform(t)+", "+tP.transform(e)+", "+tP.transform(i)+", "+tw(F.transform(r))+")"},tC={test:tM("#"),parse:function(t){let e="",i="",r="",n="";return t.length>5?(e=t.substring(1,3),i=t.substring(3,5),r=t.substring(5,7),n=t.substring(7,9)):(e=t.substring(1,2),i=t.substring(2,3),r=t.substring(3,4),n=t.substring(4,5),e+=e,i+=i,r+=r,n+=n),{red:parseInt(e,16),green:parseInt(i,16),blue:parseInt(r,16),alpha:n?parseInt(n,16)/255:1}},transform:tS.transform},tE={test:tM("hsl","hue"),parse:tT("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:i,alpha:r=1})=>"hsla("+Math.round(t)+", "+U.transform(tw(e))+", "+U.transform(tw(i))+", "+tw(F.transform(r))+")"},tR={test:t=>tS.test(t)||tC.test(t)||tE.test(t),parse:t=>tS.test(t)?tS.parse(t):tE.test(t)?tE.parse(t):tC.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?tS.transform(t):tE.transform(t),getAnimatableNone:t=>{let e=tR.parse(t);return e.alpha=0,tR.transform(e)}},tV=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,tj="number",tD="color",tL=/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 tO(t){let e=t.toString(),i=[],r={color:[],number:[],var:[]},n=[],s=0,o=e.replace(tL,t=>(tR.test(t)?(r.color.push(s),n.push(tD),i.push(tR.parse(t))):t.startsWith("var(")?(r.var.push(s),n.push("var"),i.push(t)):(r.number.push(s),n.push(tj),i.push(parseFloat(t))),++s,"${}")).split("${}");return{values:i,split:o,indexes:r,types:n}}function tz(t){return tO(t).values}function tI(t){let{split:e,types:i}=tO(t),r=e.length;return t=>{let n="";for(let s=0;s<r;s++)if(n+=e[s],void 0!==t[s]){let e=i[s];e===tj?n+=tw(t[s]):e===tD?n+=tR.transform(t[s]):n+=t[s]}return n}}let tF=t=>"number"==typeof t?0:tR.test(t)?tR.getAnimatableNone(t):t,tN={test:function(t){return isNaN(t)&&"string"==typeof t&&(t.match(tk)?.length||0)+(t.match(tV)?.length||0)>0},parse:tz,createTransformer:tI,getAnimatableNone:function(t){let e=tz(t);return tI(t)(e.map(tF))}},t_=new Set(["brightness","contrast","saturate","opacity"]);function tB(t){let[e,i]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[r]=i.match(tk)||[];if(!r)return t;let n=i.replace(r,""),s=+!!t_.has(e);return r!==i&&(s*=100),e+"("+s+n+")"}let tU=/\b([a-z-]*)\(.*?\)/gu,t$={...tN,getAnimatableNone:t=>{let e=t.match(tU);return e?e.map(tB).join(" "):t}},tW={...I,transform:Math.round},tH={borderWidth:$,borderTopWidth:$,borderRightWidth:$,borderBottomWidth:$,borderLeftWidth:$,borderRadius:$,radius:$,borderTopLeftRadius:$,borderTopRightRadius:$,borderBottomRightRadius:$,borderBottomLeftRadius:$,width:$,maxWidth:$,height:$,maxHeight:$,top:$,right:$,bottom:$,left:$,padding:$,paddingTop:$,paddingRight:$,paddingBottom:$,paddingLeft:$,margin:$,marginTop:$,marginRight:$,marginBottom:$,marginLeft:$,backgroundPositionX:$,backgroundPositionY:$,rotate:B,rotateX:B,rotateY:B,rotateZ:B,scale:N,scaleX:N,scaleY:N,scaleZ:N,skew:B,skewX:B,skewY:B,distance:$,translateX:$,translateY:$,translateZ:$,x:$,y:$,z:$,perspective:$,transformPerspective:$,opacity:F,originX:q,originY:q,originZ:$,zIndex:tW,fillOpacity:F,strokeOpacity:F,numOctaves:tW},tq={...tH,color:tR,backgroundColor:tR,outlineColor:tR,fill:tR,stroke:tR,borderColor:tR,borderTopColor:tR,borderRightColor:tR,borderBottomColor:tR,borderLeftColor:tR,filter:t$,WebkitFilter:t$},tY=t=>tq[t];function tX(t,e){let i=tY(t);return i!==t$&&(i=tN),i.getAnimatableNone?i.getAnimatableNone(e):void 0}
1let tG=new Set(["auto","none","0"]);class tK extends tx{constructor(t,e,i,r,n){super(t,e,i,r,n,!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 r=t[i];if("string"==typeof r&&b(r=r.trim())){let n=function t(e,i,r=1){Z(r<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[n,s]=function(t){let e=J.exec(t);if(!e)return[,];let[,i,r,n]=e;return[`--${i??r}`,n]}(e);if(!n)return;let o=window.getComputedStyle(i).getPropertyValue(n);if(o){let t=o.trim();return Q(t)?parseFloat(t):t}return b(s)?t(s,i,r+1):s}(r,e.current);void 0!==n&&(t[i]=n),i===t.length-1&&(this.finalKeyframe=r)}}if(this.resolveNoneKeyframes(),!O.has(i)||2!==t.length)return;let[r,n]=t,s=G(r),o=G(n);if(s!==o)if(tt(s)&&tt(o))for(let e=0;e<t.length;e++){let i=t[e];"string"==typeof i&&(t[e]=parseFloat(i))}else tr[i]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:e}=this,i=[];for(let e=0;e<t.length;e++){var r;(null===t[e]||("number"==typeof(r=t[e])?0===r:null===r||"none"===r||"0"===r||tb(r)))&&i.push(e)}i.length&&function(t,e,i){let r,n=0;for(;n<t.length&&!r;){let e=t[n];"string"==typeof e&&!tG.has(e)&&tO(e).values.length&&(r=t[n]),n++}if(r&&i)for(let n of e)t[n]=tX(i,r)}(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=tr[i](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;let r=e[e.length-1];void 0!==r&&t.getValue(i,r).jump(r,!1)}measureEndState(){let{element:t,name:e,unresolvedKeyframes:i}=this;if(!t||!t.current)return;let r=t.getValue(e);r&&r.jump(this.measuredOrigin,!1);let n=i.length-1,s=i[n];i[n]=tr[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()}}let tZ=t=>!!(t&&t.getVelocity);function tQ(){r=void 0}let tJ={now:()=>(void 0===r&&tJ.set(td.isProcessing||ts.useManualTiming?td.timestamp:performance.now()),r),set:t=>{r=t,queueMicrotask(tQ)}};function t0(t,e){-1===t.indexOf(e)&&t.push(e)}function t1(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}class t2{constructor(){this.subscriptions=[]}add(t){return t0(this.subscriptions,t),()=>t1(this.subscriptions,t)}notify(t,e,i){let r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](t,e,i);else for(let n=0;n<r;n++){let r=this.subscriptions[n];r&&r(t,e,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}let t5={current:void 0};class t4{constructor(t,e={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=t=>{let e=tJ.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=tJ.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 t2);let i=this.events[t].add(e);return"change"===t?()=>{i(),th.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 t5.current&&t5.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){var t;let e=tJ.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||e-this.updatedAt>30)return 0;let i=Math.min(this.updatedAt-this.prevUpdatedAt,30);return t=parseFloat(this.current)-parseFloat(this.prevFrameValue),i?1e3/i*t:0}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 t3(t,e){return new t4(t,e)}let t6=[...X,tR,tN],{schedule:t8}=tl(queueMicrotask,!1),t9={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"]},t7={};for(let t in t9)t7[t]={isEnabled:e=>t9[t].some(t=>!!e[t])};let et=()=>({translate:0,scale:1,origin:0,originPoint:0}),ee=()=>({x:et(),y:et()}),ei=()=>({min:0,max:0}),er=()=>({x:ei(),y:ei()});var en=i(3577);let es={current:null},eo={current:!1},ea=new WeakMap;function el(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}function eh(t){return"string"==typeof t||Array.isArray(t)}let eu=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],ed=["initial",...eu];function ec(t){return el(t.animate)||ed.some(e=>eh(t[e]))}function ep(t){return!!(ec(t)||t.variants)}function em(t){let e=[{},{}];
1return t?.values.forEach((t,i)=>{e[0][i]=t.get(),e[1][i]=t.getVelocity()}),e}function ef(t,e,i,r){if("function"==typeof e){let[n,s]=em(r);e=e(void 0!==i?i:t.custom,n,s)}if("string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e){let[n,s]=em(r);e=e(void 0!==i?i:t.custom,n,s)}return e}let eg=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class ey{scrapeMotionValuesFromProps(t,e,i){return{}}constructor({parent:t,props:e,presenceContext:i,reducedMotionConfig:r,blockInitialAnimation:n,visualState:s},o={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=tx,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let t=tJ.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,th.render(this.render,!1,!0))};let{latestValues:a,renderState:l}=s;this.latestValues=a,this.baseTarget={...a},this.initialValues=e.initial?{...a}:{},this.renderState=l,this.parent=t,this.props=e,this.presenceContext=i,this.depth=t?t.depth+1:0,this.reducedMotionConfig=r,this.options=o,this.blockInitialAnimation=!!n,this.isControllingVariants=ec(e),this.isVariantNode=ep(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);let{willChange:h,...u}=this.scrapeMotionValuesFromProps(e,{},this);for(let t in u){let e=u[t];void 0!==a[t]&&tZ(e)&&e.set(a[t])}}mount(t){this.current=t,ea.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)),eo.current||function(){if(eo.current=!0,en.B)if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>es.current=t.matches;t.addEventListener("change",e),e()}else es.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||es.current),this.parent?.addChild(this),this.update(this.props,this.presenceContext)}unmount(){for(let t in this.projection&&this.projection.unmount(),tu(this.notifyUpdate),tu(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;this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();let r=o.has(t);r&&this.onBindTransform&&this.onBindTransform();let n=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&th.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{n(),i&&i(),e.owner&&e.stop()})}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 t7){let e=t7[t];if(!e)continue;let{isEnabled:i,Feature:r}=e;if(!this.features[t]&&r&&i(this.props)&&(this.features[t]=new r(this)),this.features[t]){let e=this.features[t];e.isMounted?e.update():(e.mount(),e.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):er()}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<eg.length;e++){let i=eg[e];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);let r=t["on"+i];r&&(this.propEventSubscriptions[i]=this.on(i,r))}
1this.prevMotionValues=function(t,e,i){for(let r in e){let n=e[r],s=i[r];if(tZ(n))t.addValue(r,n);else if(tZ(s))t.addValue(r,t3(n,{owner:t}));else if(s!==n)if(t.hasValue(r)){let e=t.getValue(r);!0===e.liveStyle?e.jump(n):e.hasAnimated||e.set(n)}else{let e=t.getStaticValue(r);t.addValue(r,t3(void 0!==e?e:n,{owner:t}))}}for(let r in i)void 0===e[r]&&t.removeValue(r);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=t3(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){if("string"==typeof i&&(Q(i)||tb(i)))i=parseFloat(i);else{let r;r=i,!t6.find(Y(r))&&tN.test(e)&&(i=tX(t,e))}this.setBaseTarget(t,tZ(i)?i.get():i)}return tZ(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 r=ef(this.props,i,this.presenceContext?.custom);r&&(e=r[t])}if(i&&void 0!==e)return e;let r=this.getBaseTargetFromProps(this.props,t);return void 0===r||tZ(r)?void 0!==this.initialValues[t]&&void 0===e?void 0:this.baseTarget[t]:r}on(t,e){return this.events[t]||(this.events[t]=new t2),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}scheduleRenderMicrotask(){t8.render(this.render)}}class ev extends ey{constructor(){super(...arguments),this.KeyframeResolver=tK}sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){return t.style?t.style[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;tZ(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}let ex=(t,e)=>e&&"number"==typeof t?e.transform(t):t,eb={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},ew=s.length;function ek(t,e,i){let{style:r,vars:n,transformOrigin:a}=t,l=!1,h=!1;for(let t in e){let i=e[t];if(o.has(t)){l=!0;continue}if(v(t)){n[t]=i;continue}{let e=ex(i,tH[t]);t.startsWith("origin")?(h=!0,a[t]=e):r[t]=e}}if(!e.transform&&(l||i?r.transform=function(t,e,i){let r="",n=!0;for(let o=0;o<ew;o++){let a=s[o],l=t[a];if(void 0===l)continue;let h=!0;if(!(h="number"==typeof l?l===+!!a.startsWith("scale"):0===parseFloat(l))||i){let t=ex(l,tH[a]);if(!h){n=!1;let e=eb[a]||a;r+=`${e}(${t}) `}i&&(e[a]=t)}}return r=r.trim(),i?r=i(e,n?"":r):n&&(r="none"),r}(e,t.transform,i):r.transform&&(r.transform="none")),h){let{originX:t="50%",originY:e="50%",originZ:i=0}=a;r.transformOrigin=`${t} ${e} ${i}`}}function eA(t,{style:e,vars:i},r,n){let s,o=t.style;for(s in e)o[s]=e[s];for(s in n?.applyProjectionStyles(o,r),i)o.setProperty(s,i[s])}function eM(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let eT={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t)if(!$.test(t))return t;else t=parseFloat(t);let i=eM(t,e.target.x),r=eM(t,e.target.y);return`${i}% ${r}%`}},eP={borderRadius:{...eT,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:eT,borderTopRightRadius:eT,borderBottomLeftRadius:eT,borderBottomRightRadius:eT,boxShadow:{correct:(t,{treeScale:e,projectionDelta:i})=>{let r=tN.parse(t);if(r.length>5)return t;let n=tN.createTransformer(t),s=+("number"!=typeof r[0]),o=i.x.scale*e.x,a=i.y.scale*e.y;r[0+s]/=o,r[1+s]/=a;let l=A(o,a,.5);return"number"==typeof r[2+s]&&(r[2+s]/=l),"number"==typeof r[3+s]&&(r[3+s]/=l),n(r)}}};function eS(t,{layout:e,layoutId:i}){return o.has(t)||t.startsWith("origin")||(e||void 0!==i)&&(!!eP[t]||"opacity"===t)}function eC(t,e,i){let{style:r}=t,n={};for(let s in r)(tZ(r[s])||e.style&&tZ(e.style[s])||eS(s,t)||i?.getValue(s)?.liveStyle!==void 0)&&(n[s]=r[s]);return n}class eE extends ev{constructor(){super(...arguments),this.type="html",this.renderInstance=eA}readValueFromInstance(t,e){if(o.has(e))return this.projection?.isProjecting?m(e):((t,e)=>{let{transform:i="none"}=getComputedStyle(t);return f(i,e)})(t,e);{let i=window.getComputedStyle(t),r=(v(e)?i.getPropertyValue(e):i[e])||0;return"string"==typeof r?r.trim():r}}measureInstanceViewportBox(t,{transformPagePoint:e}){return L(t,e)}build(t,e,i){ek(t,e,i.transformTemplate)}
1scrapeMotionValuesFromProps(t,e,i){return eC(t,e,i)}}let eR=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),eV={offset:"stroke-dashoffset",array:"stroke-dasharray"},ej={offset:"strokeDashoffset",array:"strokeDasharray"};function eD(t,{attrX:e,attrY:i,attrScale:r,pathLength:n,pathSpacing:s=1,pathOffset:o=0,...a},l,h,u){if(ek(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;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),void 0!==e&&(d.x=e),void 0!==i&&(d.y=i),void 0!==r&&(d.scale=r),void 0!==n&&function(t,e,i=1,r=0,n=!0){t.pathLength=1;let s=n?eV:ej;t[s.offset]=$.transform(-r);let o=$.transform(e),a=$.transform(i);t[s.array]=`${o} ${a}`}(d,n,s,o,!1)}let eL=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"]),eO=t=>"string"==typeof t&&"svg"===t.toLowerCase();function ez(t,e,i){let r=eC(t,e,i);for(let i in t)(tZ(t[i])||tZ(e[i]))&&(r[-1!==s.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=t[i]);return r}class eI extends ev{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=er}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(o.has(e)){let t=tY(e);return t&&t.default||0}return e=eL.has(e)?e:eR(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,i){return ez(t,e,i)}build(t,e,i){eD(t,e,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(t,e,i,r){for(let i in eA(t,e,void 0,r),e.attrs)t.setAttribute(eL.has(i)?i:eR(i),e.attrs[i])}mount(t){this.isSVGTag=eO(t.tagName),super.mount(t)}}let eF=["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 eN(t){if("string"!=typeof t||t.includes("-"));else if(eF.indexOf(t)>-1||/[A-Z]/u.test(t))return!0;return!1}var e_=i(5155),eB=i(296);let eU=(0,n.createContext)({strict:!1});var e$=i(3127);let eW=(0,n.createContext)({});function eH(t){return Array.isArray(t)?t.join(" "):t}let eq=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function eY(t,e,i){for(let r in e)tZ(e[r])||eS(r,i)||(t[r]=e[r])}let eX=()=>({...eq(),attrs:{}}),eG=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function eK(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||eG.has(t)}let eZ=t=>!eK(t);try{!function(t){"function"==typeof t&&(eZ=e=>e.startsWith("on")?!eK(e):t(e))}(require("@emotion/is-prop-valid").default)}catch{}var eQ=i(9686),eJ=i(4416);function e0(t){return tZ(t)?t.get():t}let e1=t=>(e,i)=>{let r=(0,n.useContext)(eW),s=(0,n.useContext)(eQ.t),o=()=>(function(t,e,i,r){let{scrapeMotionValuesFromProps:n,createRenderState:s}=t;return{latestValues:function(t,e,i,r){let n={},s=r(t,{});for(let t in s)n[t]=e0(s[t]);let{initial:o,animate:a}=t,l=ec(t),h=ep(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&&!el(d)){let e=Array.isArray(d)?d:[d];for(let i=0;i<e.length;i++){let r=ef(t,e[i]);if(r){let{transitionEnd:t,transition:e,...i}=r;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&&(n[t]=e)}for(let e in t)n[e]=t[e]}}}return n}(e,i,r,n),renderState:s()}})(t,e,r,s);return i?o():(0,eJ.M)(o)},e2=e1({scrapeMotionValuesFromProps:eC,createRenderState:eq}),e5=e1({scrapeMotionValuesFromProps:ez,createRenderState:eX}),e4=Symbol.for("motionComponentSymbol");function e3(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}let e6="data-"+eR("framerAppearId"),e8=(0,n.createContext)({});var e9=i(6553);function e7(t){var e,i;let{forwardMotionProps:r=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},s=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0;s&&function(t){for(let e in t)t7[e]={...t7[e],...t[e]}}(s);let a=eN(t)?e5:e2;function l(e,i){var s;let l,h={...(0,n.useContext)(e$.Q),...e,layoutId:function(t){let{layoutId:e}=t,i=(0,n.useContext)(eB.L).id;return i&&void 0!==e?i+"-"+e:e}(e)},{isStatic:u}=h,d=function(t){let{initial:e,animate:i}=function(t,e){if(ec(t)){let{initial:e,animate:i}=t;return{initial:!1===e||eh(e)?e:void 0,animate:eh(i)?i:void 0}}return!1!==t.inherit?e:{}}(t,(0,n.useContext)(eW));return(0,n.useMemo)(()=>({initial:e,animate:i}),[eH(e),eH(i)])}(e),c=a(e,u);
1if(!u&&en.B){(0,n.useContext)(eU).strict;let e=function(t){let{drag:e,layout:i}=t7;if(!e&&!i)return{};let r={...e,...i};return{MeasureLayout:(null==e?void 0:e.isEnabled(t))||(null==i?void 0:i.isEnabled(t))?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}(h);l=e.MeasureLayout,d.visualElement=function(t,e,i,r,s){var o,a,l,h;let{visualElement:u}=(0,n.useContext)(eW),d=(0,n.useContext)(eU),c=(0,n.useContext)(eQ.t),p=(0,n.useContext)(e$.Q).reducedMotion,m=(0,n.useRef)(null);r=r||d.renderer,!m.current&&r&&(m.current=r(t,{visualState:e,parent:u,props:i,presenceContext:c,blockInitialAnimation:!!c&&!1===c.initial,reducedMotionConfig:p}));let f=m.current,g=(0,n.useContext)(e8);f&&!f.projection&&s&&("html"===f.type||"svg"===f.type)&&function(t,e,i,r){let{layoutId:n,layout:s,drag:o,dragConstraints:a,layoutScroll:l,layoutRoot:h,layoutCrossfade:u}=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:n,layout:s,alwaysMeasureLayout:!!o||a&&e3(a),visualElement:t,animationType:"string"==typeof s?s:"both",initialPromotionConfig:r,crossfade:u,layoutScroll:l,layoutRoot:h})}(m.current,i,s,g);let y=(0,n.useRef)(!1);(0,n.useInsertionEffect)(()=>{f&&y.current&&f.update(i,c)});let v=i[e6],x=(0,n.useRef)(!!v&&!(null==(o=(a=window).MotionHandoffIsComplete)?void 0:o.call(a,v))&&(null==(l=(h=window).MotionHasOptimisedAnimation)?void 0:l.call(h,v)));return(0,e9.E)(()=>{f&&(y.current=!0,window.MotionIsMounted=!0,f.updateFeatures(),f.scheduleRenderMicrotask(),x.current&&f.animationState&&f.animationState.animateChanges())}),(0,n.useEffect)(()=>{f&&(!x.current&&f.animationState&&f.animationState.animateChanges(),x.current&&(queueMicrotask(()=>{var t,e;null==(t=(e=window).MotionHandoffMarkAsComplete)||t.call(e,v)}),x.current=!1),f.enteringChildren=void 0)}),f}(t,c,h,o,e.ProjectionNode)}return(0,e_.jsxs)(eW.Provider,{value:d,children:[l&&d.visualElement?(0,e_.jsx)(l,{visualElement:d.visualElement,...h}):null,function(t,e,i,r,s){let{latestValues:o}=r,a=arguments.length>5&&void 0!==arguments[5]&&arguments[5],l=(eN(t)?function(t,e,i,r){let s=(0,n.useMemo)(()=>{let i=eX();return eD(i,e,eO(r),t.transformTemplate,t.style),{...i.attrs,style:{...i.style}}},[e]);if(t.style){let e={};eY(e,t.style,t),s.style={...e,...s.style}}return s}:function(t,e){let i={},r=function(t,e){let i=t.style||{},r={};return eY(r,i,t),Object.assign(r,function(t,e){let{transformTemplate:i}=t;return(0,n.useMemo)(()=>{let t=eq();return ek(t,e,i),Object.assign({},t.vars,t.style)},[e])}(t,e)),r}(t,e);return t.drag&&!1!==t.dragListener&&(i.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=!0===t.drag?"none":"pan-".concat("x"===t.drag?"y":"x")),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(i.tabIndex=0),i.style=r,i})(e,o,s,t),h=function(t,e,i){let r={};for(let n in t)("values"!==n||"object"!=typeof t.values)&&(eZ(n)||!0===i&&eK(n)||!e&&!eK(n)||t.draggable&&n.startsWith("onDrag"))&&(r[n]=t[n]);return r}(e,"string"==typeof t,a),u=t!==n.Fragment?{...h,...l,ref:i}:{},{children:d}=e,c=(0,n.useMemo)(()=>tZ(d)?d.get():d,[d]);return(0,n.createElement)(t,{...u,children:c})}(t,e,(s=d.visualElement,(0,n.useCallback)(t=>{t&&c.onMount&&c.onMount(t),s&&(t?s.mount(t):s.unmount()),i&&("function"==typeof i?i(t):e3(i)&&(i.current=t))},[s])),c,u,r)]})}l.displayName="motion.".concat("string"==typeof t?t:"create(".concat(null!=(i=null!=(e=t.displayName)?e:t.name)?i:"",")"));let h=(0,n.forwardRef)(l);return h[e4]=t,h}function it(t,e,i){let r=t.getProps();return ef(r,e,void 0!==i?i:r.custom,t)}function ie(t,e){return t?.[e]??t?.default??t}let ii=t=>Array.isArray(t);function ir(t,e){let i=t.getValue("willChange");if(tZ(i)&&i.add)return i.add(e);if(!i&&ts.WillChange){let i=new ts.WillChange("auto");t.addValue("willChange",i),i.add(e)}}function is(t){t.duration=0,t.type="keyframes"}let io=(t,e)=>i=>e(t(i)),ia=(...t)=>t.reduce(io),il=t=>1e3*t,ih={layout:0,mainThread:0,waapi:0};function iu(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}function id(t,e){return i=>i>0?e:t}let ic=(t,e,i)=>{let r=t*t,n=i*(e*e-r)+r;return n<0?0:Math.sqrt(n)},ip=[tC,tS,tE];function im(t){let e=ip.find(e=>e.test(t));if(K(!!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===tE&&(i=function({hue:t,saturation:e,lightness:i,alpha:r}){t/=360,i/=100;let n=0,s=0,o=0;if(e/=100){let r=i<.5?i*(1+e):i+e-i*e,a=2*i-r;n=iu(a,r,t+1/3),s=iu(a,r,t),o=iu(a,r,t-1/3)}else n=s=o=i;return{red:Math.round(255*n),green:Math.round(255*s),blue:Math.round(255*o),alpha:r}}(i)),i}let ig=(t,e)=>{let i=im(t),r=im(e);if(!i||!r)return id(t,e);let n={...i};return t=>(n.red=ic(i.red,r.red,t),n.green=ic(i.green,r.green,t),n.blue=ic(i.blue,r.blue,t),n.alpha=A(i.alpha,r.alpha,t),tS.transform(n))},iy=new Set(["none","hidden"]);function iv(t,e){return i=>A(t,e,i)}function ix(t){return"number"==typeof t?iv:"string"==typeof t?b(t)?id:tR.test(t)?ig:ik:Array.isArray(t)?ib:"object"==typeof t?tR.test(t)?ig:iw:id}function ib(t,e){let i=[...t],r=i.length,n=t.map((t,i)=>ix(t)(t,e[i]));return t=>{for(let e=0;e<r;e++)i[e]=n[e](t);return i}}function iw(t,e){let i={...t,...e},r={};for(let n in i)void 0!==t[n]&&void 0!==e[n]&&(r[n]=ix(t[n])(t[n],e[n]));return t=>{for(let e in r)i[e]=r[e](t);return i}}let ik=(t,e)=>{let i=tN.createTransformer(e),r=tO(t),n=tO(e);return r.indexes.var.length===n.indexes.var.length&&r.indexes.color.length===n.indexes.color.length&&r.indexes.number.length>
1=n.indexes.number.length?iy.has(t)&&!n.values.length||iy.has(e)&&!r.values.length?function(t,e){return iy.has(t)?i=>i<=0?t:e:i=>i>=1?e:t}(t,e):ia(ib(function(t,e){let i=[],r={color:0,var:0,number:0};for(let n=0;n<e.values.length;n++){let s=e.types[n],o=t.indexes[s][r[s]],a=t.values[o]??0;i[n]=a,r[s]++}return i}(r,n),n.values),i):(K(!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"),id(t,e))};function iA(t,e,i){return"number"==typeof t&&"number"==typeof e&&"number"==typeof i?A(t,e,i):ix(t)(t,e)}let iM=t=>{let e=({timestamp:e})=>t(e);return{start:(t=!0)=>th.update(e,t),stop:()=>tu(e),now:()=>td.isProcessing?td.timestamp:tJ.now()}},iT=(t,e,i=10)=>{let r="",n=Math.max(Math.round(e/i),2);for(let e=0;e<n;e++)r+=Math.round(1e4*t(e/(n-1)))/1e4+", ";return`linear(${r.substring(0,r.length-2)})`};function iP(t){let e=0,i=t.next(e);for(;!i.done&&e<2e4;)e+=50,i=t.next(e);return e>=2e4?1/0:e}function iS(t,e,i){var r,n;let s=Math.max(e-5,0);return r=i-t(s),(n=e-s)?1e3/n*r:0}let iC={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function iE(t,e){return t*Math.sqrt(1-e*e)}let iR=["duration","bounce"],iV=["stiffness","damping","mass"];function ij(t,e){return e.some(e=>void 0!==t[e])}function iD(t=iC.visualDuration,e=iC.bounce){let i,r="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:e}:t,{restSpeed:n,restDelta:s}=r,o=r.keyframes[0],a=r.keyframes[r.keyframes.length-1],l={done:!1,value:o},{stiffness:h,damping:u,mass:d,duration:c,velocity:p,isResolvedFromDuration:m}=function(t){let e={velocity:iC.velocity,stiffness:iC.stiffness,damping:iC.damping,mass:iC.mass,isResolvedFromDuration:!1,...t};if(!ij(t,iV)&&ij(t,iR))if(t.visualDuration){let i=2*Math.PI/(1.2*t.visualDuration),r=i*i,n=2*z(.05,1,1-(t.bounce||0))*Math.sqrt(r);e={...e,mass:iC.mass,stiffness:r,damping:n}}else{let i=function({duration:t=iC.duration,bounce:e=iC.bounce,velocity:i=iC.velocity,mass:r=iC.mass}){let n,s;K(t<=il(iC.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let o=1-e;o=z(iC.minDamping,iC.maxDamping,o),t=z(iC.minDuration,iC.maxDuration,t/1e3),o<1?(n=e=>{let r=e*o,n=r*t;return .001-(r-i)/iE(e,o)*Math.exp(-n)},s=e=>{let r=e*o*t,s=Math.pow(o,2)*Math.pow(e,2)*t,a=Math.exp(-r),l=iE(Math.pow(e,2),o);return(r*i+i-s)*a*(-n(e)+.001>0?-1:1)/l}):(n=e=>-.001+Math.exp(-e*t)*((e-i)*t+1),s=e=>t*t*(i-e)*Math.exp(-e*t));let a=function(t,e,i){let r=i;for(let i=1;i<12;i++)r-=t(r)/e(r);return r}(n,s,5/t);if(t=il(t),isNaN(a))return{stiffness:iC.stiffness,damping:iC.damping,duration:t};{let e=Math.pow(a,2)*r;return{stiffness:e,damping:2*o*Math.sqrt(r*e),duration:t}}}(t);(e={...e,...i,mass:iC.mass}).isResolvedFromDuration=!0}return e}({...r,velocity:-((r.velocity||0)/1e3)}),f=p||0,g=u/(2*Math.sqrt(h*d)),y=a-o,v=Math.sqrt(h/d)/1e3,x=5>Math.abs(y);if(n||(n=x?iC.restSpeed.granular:iC.restSpeed.default),s||(s=x?iC.restDelta.granular:iC.restDelta.default),g<1){let t=iE(v,g);i=e=>a-Math.exp(-g*v*e)*((f+g*v*y)/t*Math.sin(t*e)+y*Math.cos(t*e))}else if(1===g)i=t=>a-Math.exp(-v*t)*(y+(f+v*y)*t);else{let t=v*Math.sqrt(g*g-1);i=e=>{let i=Math.exp(-g*v*e),r=Math.min(t*e,300);return a-i*((f+g*v*y)*Math.sinh(r)+t*y*Math.cosh(r))/t}}let b={calculatedDuration:m&&c||null,next:t=>{let e=i(t);if(m)l.done=t>=c;else{let r=0===t?f:0;g<1&&(r=0===t?il(f):iS(i,t,e));let o=Math.abs(a-e)<=s;l.done=Math.abs(r)<=n&&o}return l.value=l.done?a:e,l},toString:()=>{let t=Math.min(iP(b),2e4),e=iT(e=>b.next(t*e).value,t,30);return t+"ms "+e},toTransition:()=>{}};return b}function iL({keyframes:t,velocity:e=0,power:i=.8,timeConstant:r=325,bounceDamping:n=10,bounceStiffness:s=500,modifyTarget:o,min:a,max:l,restDelta:h=.5,restSpeed:u}){let d,c,p=t[0],m={done:!1,value:p},f=i*e,g=p+f,y=void 0===o?g:o(g);y!==g&&(f=y-p);let v=t=>-f*Math.exp(-t/r),x=t=>y+v(t),b=t=>{let e=v(t),i=x(t);m.done=Math.abs(e)<=h,m.value=m.done?y:i},w=t=>{let e;if(e=m.value,void 0!==a&&e<a||void 0!==l&&e>l){var i;d=t,c=iD({keyframes:[m.value,(i=m.value,void 0===a?l:void 0===l||Math.abs(a-i)<Math.abs(l-i)?a:l)],velocity:iS(x,t,m.value),damping:n,stiffness:s,restDelta:h,restSpeed:u})}};return w(0),{calculatedDuration:null,next:t=>{let e=!1;return(c||void 0!==d||(e=!0,b(t),w(t)),void 0!==d&&t>=d)?c.next(t-d):(e||b(t),m)}}}iD.applyToOptions=t=>{let e=function(t,e=100,i){let r=i({...t,keyframes:[0,e]}),n=Math.min(iP(r),2e4);return{type:"keyframes",ease:t=>r.next(n*t).value/e,duration:n/1e3}}(t,100,iD);return t.ease=e.ease,t.duration=il(e.duration),t.type="keyframes",t};let iO=(t,e,i)=>(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t;function iz(t,e,i,r){return t===e&&i===r?tn:n=>
10===n||1===n?n:iO(function(t,e,i,r,n){let s,o,a=0;do(s=iO(o=e+(i-e)/2,r,n)-t)>0?i=o:e=o;while(Math.abs(s)>1e-7&&++a<12);return o}(n,0,1,t,i),e,r)}let iI=iz(.42,0,1,1),iF=iz(0,0,.58,1),iN=iz(.42,0,.58,1),i_=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,iB=t=>e=>1-t(1-e),iU=iz(.33,1.53,.69,.99),i$=iB(iU),iW=i_(i$),iH=t=>(t*=2)<1?.5*i$(t):.5*(2-Math.pow(2,-10*(t-1))),iq=t=>1-Math.sin(Math.acos(t)),iY=iB(iq),iX=i_(iq),iG=t=>Array.isArray(t)&&"number"==typeof t[0],iK={linear:tn,easeIn:iI,easeInOut:iN,easeOut:iF,circIn:iq,circInOut:iX,circOut:iY,backIn:i$,backInOut:iW,backOut:iU,anticipate:iH},iZ=t=>{if(iG(t)){Z(4===t.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[e,i,r,n]=t;return iz(e,i,r,n)}return"string"==typeof t?(Z(void 0!==iK[t],`Invalid easing type '${t}'`,"invalid-easing-type"),iK[t]):t},iQ=(t,e,i)=>{let r=e-t;return 0===r?1:(i-t)/r};function iJ({duration:t=300,keyframes:e,times:i,ease:r="easeInOut"}){var n;let s=Array.isArray(r)&&"number"!=typeof r[0]?r.map(iZ):iZ(r),o={done:!1,value:e[0]},a=function(t,e,{clamp:i=!0,ease:r,mixer:n}={}){let s=t.length;if(Z(s===e.length,"Both input and output ranges must be the same length","range-length"),1===s)return()=>e[0];if(2===s&&e[0]===e[1])return()=>e[1];let o=t[0]===t[1];t[0]>t[s-1]&&(t=[...t].reverse(),e=[...e].reverse());let a=function(t,e,i){let r=[],n=i||ts.mix||iA,s=t.length-1;for(let i=0;i<s;i++){let s=n(t[i],t[i+1]);e&&(s=ia(Array.isArray(e)?e[i]||tn:e,s)),r.push(s)}return r}(e,r,n),l=a.length,h=i=>{if(o&&i<t[0])return e[0];let r=0;if(l>1)for(;r<t.length-2&&!(i<t[r+1]);r++);let n=iQ(t[r],t[r+1],i);return a[r](n)};return i?e=>h(z(t[0],t[s-1],e)):h}((n=i&&i.length===e.length?i:function(t){let e=[0];return!function(t,e){let i=t[t.length-1];for(let r=1;r<=e;r++){let n=iQ(0,e,r);t.push(A(i,1,n))}}(e,t.length-1),e}(e),n.map(e=>e*t)),e,{ease:Array.isArray(s)?s:e.map(()=>s||iN).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(o.value=a(e),o.done=e>=t,o)}}let i0=t=>null!==t;function i1(t,{repeat:e,repeatType:i="loop"},r,n=1){let s=t.filter(i0),o=n<0||e&&"loop"!==i&&e%2==1?0:s.length-1;return o&&void 0!==r?r:s[o]}let i2={decay:iL,inertia:iL,tween:iJ,keyframes:iJ,spring:iD};function i5(t){"string"==typeof t.type&&(t.type=i2[t.type])}class i4{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)}}let i3=t=>t/100;class i6 extends i4{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{let{motionValue:t}=this.options;t&&t.updatedAt!==tJ.now()&&this.tick(tJ.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},ih.mainThread++,this.options=t,this.initAnimation(),this.play(),!1===t.autoplay&&this.pause()}initAnimation(){let{options:t}=this;i5(t);let{type:e=iJ,repeat:i=0,repeatDelay:r=0,repeatType:n,velocity:s=0}=t,{keyframes:o}=t,a=e||iJ;a!==iJ&&"number"!=typeof o[0]&&(this.mixKeyframes=ia(i3,iA(o[0],o[1])),o=[0,100]);let l=a({...t,keyframes:o});"mirror"===n&&(this.mirroredGenerator=a({...t,keyframes:[...o].reverse(),velocity:-s})),null===l.calculatedDuration&&(l.calculatedDuration=iP(l));let{calculatedDuration:h}=l;this.calculatedDuration=h,this.resolvedDuration=h+r,this.totalDuration=this.resolvedDuration*(i+1)-r,this.generator=l}updateTime(t){let e=Math.round(t-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=e}tick(t,e=!1){let{generator:i,totalDuration:r,mixKeyframes:n,mirroredGenerator:s,resolvedDuration:o,calculatedDuration:a}=this;if(null===this.startTime)return i.next(0);let{delay:l=0,keyframes:h,repeat:u,repeatType:d,repeatDelay:c,type:p,onUpdate:m,finalKeyframe:f}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-r/this.speed,this.startTime)),e?this.currentTime=t:this.updateTime(t);let g=this.currentTime-l*(this.playbackSpeed>=0?1:-1),y=this.playbackSpeed>=0?g<0:g>r;this.currentTime=Math.max(g,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=r);let v=this.currentTime,x=i;if(u){let t=Math.min(this.currentTime,r)/o,e=Math.floor(t),i=t%1;!i&&t>=1&&(i=1),1===i&&e--,(e=Math.min(e,u+1))%2&&("reverse"===d?(i=1-i,c&&(i-=c/o)):"mirror"===d&&(x=s)),v=z(0,1,i)*o}let b=y?{done:!1,value:h[0]}:x.next(v);n&&(b.value=n(b.value));let{done:w}=b;y||null===a||(w=this.playbackSpeed>=0?this.currentTime>=r:this.currentTime<=0);let k=null===this.holdTime&&("finished"===this.state||"running"===this.state&&w);return k&&p!==iL&&(b.value=i1(h,this.options,f,this.speed)),m&&m(b.value),k&&this.finish(),b}then(t,e){return this.finished.then(t,e)}get duration(){return this.calculatedDuration/1e3}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+t/1e3}get time(){return this.currentTime/1e3}set time(t){t=il(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?.start(!1)}get speed(){return this.playbackSpeed}set speed(t){this.updateTime(tJ.now());let e=this.playbackSpeed!==t;this.playbackSpeed=t,e&&(this.time=this.currentTime/1e3)}play(){if(this.isStopped)return;let{driver:t=iM,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(tJ.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,ih.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)}}function i8(t){let e;return()=>(void 0===e&&(e=t()),e)}let i9=i8(()=>void 0!==window.ScrollTimeline),i7={},rt=function(t,e){let i=i8(t);return()=>i7[e]??i()}(()=>{try{document.createElement("div").animate({opacity:0}
1,{easing:"linear(0, 1)"})}catch(t){return!1}return!0},"linearEasing"),re=([t,e,i,r])=>`cubic-bezier(${t}, ${e}, ${i}, ${r})`,ri={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:re([0,.65,.55,1]),circOut:re([.55,0,1,.45]),backIn:re([.31,.01,.66,-.59]),backOut:re([.33,1.53,.69,.99])};function rr(t){return"function"==typeof t&&"applyToOptions"in t}class rn extends i4{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,!t)return;let{element:e,name:i,keyframes:r,pseudoElement:n,allowFlatten:s=!1,finalKeyframe:o,onComplete:a}=t;this.isPseudoElement=!!n,this.allowFlatten=s,this.options=t,Z("string"!=typeof t.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");let l=function({type:t,...e}){return rr(t)&&rt()?t.applyToOptions(e):(e.duration??(e.duration=300),e.ease??(e.ease="easeOut"),e)}(t);this.animation=function(t,e,i,{delay:r=0,duration:n=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?rt()?iT(e,i):"ease-out":iG(e)?re(e):Array.isArray(e)?e.map(e=>t(e,i)||ri.easeOut):ri[e]}(a,n);Array.isArray(d)&&(u.easing=d),ta.value&&ih.waapi++;let c={delay:r,duration:n,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 ta.value&&p.finished.finally(()=>{ih.waapi--}),p}(e,i,r,l,n),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!n){let t=i1(r,this.options,o,this.speed);this.updateMotionValue?this.updateMotionValue(t):function(t,e,i){e.startsWith("--")?t.style.setProperty(e,i):t.style[e]=i}(e,i,t),this.animation.cancel()}a?.(),this.notifyFinished()}}play(){this.isStopped||(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(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){return Number(this.animation.effect?.getComputedTiming?.().duration||0)/1e3}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+t/1e3}get time(){return(Number(this.animation.currentTime)||0)/1e3}set time(t){this.finishedTime=null,this.animation.currentTime=il(t)}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 Number(this.animation.startTime)}set startTime(t){this.animation.startTime=t}attachTimeline({timeline:t,observe:e}){return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&i9())?(this.animation.timeline=t,tn):e(this)}}let rs={anticipate:iH,backInOut:iW,circInOut:iX};class ro extends rn{constructor(t){!function(t){"string"==typeof t.ease&&t.ease in rs&&(t.ease=rs[t.ease])}(t),i5(t),super(t),t.startTime&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){let{motionValue:e,onUpdate:i,onComplete:r,element:n,...s}=this.options;if(!e)return;if(void 0!==t)return void e.set(t);let o=new i6({...s,autoplay:!1}),a=il(this.finishedTime??this.time);e.setWithVelocity(o.sample(a-10).value,o.sample(a).value,10),o.stop()}}let ra=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(tN.test(t)||"0"===t)&&!t.startsWith("url(")),rl=new Set(["opacity","clipPath","filter","transform"]),rh=i8(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class ru extends i4{constructor({autoplay:t=!0,delay:e=0,type:i="keyframes",repeat:r=0,repeatDelay:n=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=tJ.now();let d={autoplay:t,delay:e,type:i,repeat:r,repeatDelay:n,repeatType:s,name:a,motionValue:l,element:h,...u},c=h?.KeyframeResolver||tx;this.keyframeResolver=new c(o,(t,e,i)=>this.onKeyframesResolved(t,e,d,!i),a,l,h),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,e,i,r){this.keyframeResolver=void 0;let{name:n,type:s,velocity:o,delay:a,isHandoff:l,onUpdate:h}=i;
1this.resolvedAt=tJ.now(),!function(t,e,i,r){let n=t[0];if(null===n)return!1;if("display"===e||"visibility"===e)return!0;let s=t[t.length-1],o=ra(n,e),a=ra(s,e);return K(o===a,`You are trying to animate ${e} from "${n}" to "${s}". "${o?s:n}" 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||rr(i))&&r)}(t,n,s,o)&&((ts.instantAnimations||!a)&&h?.(i1(t,i,e)),t[0]=t[t.length-1],is(i),i.repeat=0);let u={startTime:r?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:e,...i,keyframes:t},d=!l&&function(t){let{motionValue:e,name:i,repeatDelay:r,repeatType:n,damping:s,type:o}=t;if(!(e?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:a,transformTemplate:l}=e.owner.getProps();return rh()&&i&&rl.has(i)&&("transform"!==i||!l)&&!a&&!r&&"mirror"!==n&&0!==s&&"inertia"!==o}(u)?new ro({...u,element:u.motionValue.owner.current}):new i6(u);d.finished.then(()=>this.notifyFinished()).catch(tn),this.pendingTimeline&&(this.stopTimeline=d.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=d}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(),tg=!0,tv(),ty(),tg=!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 rd=t=>null!==t,rc={type:"spring",stiffness:500,damping:25,restSpeed:10},rp={type:"keyframes",duration:.8},rm={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},rf=(t,e,i,r={},n,s)=>a=>{let l=ie(r,t)||{},h=l.delay||r.delay||0,{elapsed:u=0}=r;u-=il(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:s?void 0:n};!function({when:t,delay:e,delayChildren:i,staggerChildren:r,staggerDirection:n,repeat:s,repeatType:o,repeatDelay:a,from:l,elapsed:h,...u}){return!!Object.keys(u).length}(l)&&Object.assign(d,((t,{keyframes:e})=>e.length>2?rp:o.has(t)?t.startsWith("scale")?{type:"spring",stiffness:550,damping:0===e[1]?2*Math.sqrt(550):30,restSpeed:10}:rc:rm)(t,d)),d.duration&&(d.duration=il(d.duration)),d.repeatDelay&&(d.repeatDelay=il(d.repeatDelay)),void 0!==d.from&&(d.keyframes[0]=d.from);let c=!1;if(!1!==d.type&&(0!==d.duration||d.repeatDelay)||(is(d),0===d.delay&&(c=!0)),(ts.instantAnimations||ts.skipAnimations)&&(c=!0,is(d),d.delay=0),d.allowFlatten=!l.type&&!l.ease,c&&!s&&void 0!==e.get()){let t=function(t,{repeat:e,repeatType:i="loop"},r){let n=t.filter(rd),s=e&&"loop"!==i&&e%2==1?0:n.length-1;return n[s]}(d.keyframes,l);if(void 0!==t)return void th.update(()=>{d.onUpdate(t),d.onComplete()})}return l.isSync?new i6(d):new ru(d)};function rg(t,e,{delay:i=0,transitionOverride:r,type:n}={}){let{transition:s=t.getDefaultTransition(),transitionEnd:o,...a}=e;r&&(s=r);let l=[],h=n&&t.animationState&&t.animationState.getState()[n];for(let e in a){let r=t.getValue(e,t.latestValues[e]??null),n=a[e];if(void 0===n||h&&function({protectedKeys:t,needsAnimating:e},i){let r=t.hasOwnProperty(i)&&!0!==e[i];return e[i]=!1,r}(h,e))continue;let o={delay:i,...ie(s||{},e)},u=r.get();if(void 0!==u&&!r.isAnimating&&!Array.isArray(n)&&n===u&&!o.velocity)continue;let d=!1;if(window.MotionHandoffAnimation){let i=t.props[e6];if(i){let t=window.MotionHandoffAnimation(i,e,th);null!==t&&(o.startTime=t,d=!0)}}ir(t,e),r.start(rf(e,r,n,t.shouldReduceMotion&&O.has(e)?{type:!1}:o,t,d));let c=r.animation;c&&l.push(c)}return o&&Promise.all(l).then(()=>{th.update(()=>{o&&function(t,e){let{transitionEnd:i={},transition:r={},...n}=it(t,e)||{};for(let e in n={...n,...i}){var s;let i=ii(s=n[e])?s[s.length-1]||0:s;t.hasValue(e)?t.getValue(e).set(i):t.addValue(e,t3(i))}}(t,o)})}),l}function ry(t,e,i,r=0,n=1){let s=Array.from(t).sort((t,e)=>t.sortNodePosition(e)).indexOf(e),o=t.size,a=(o-1)*r;return"function"==typeof i?i(s,o):1===n?s*r:a-s*r}function rv(t,e,i={}){let r=it(t,e,"exit"===i.type?t.presenceContext?.custom:void 0),{transition:n=t.getDefaultTransition()||{}}=r||{};i.transitionOverride&&(n=i.transitionOverride);let s=r?()=>Promise.all(rg(t,r,i)):()=>Promise.resolve(),o=t.variantChildren&&t.variantChildren.size?(r=0)=>{let{delayChildren:s=0,staggerChildren:o,staggerDirection:a}=n;
1return function(t,e,i=0,r=0,n=0,s=1,o){let a=[];for(let l of t.variantChildren)l.notify("AnimationStart",e),a.push(rv(l,e,{...o,delay:i+("function"==typeof r?0:r)+ry(t.variantChildren,l,r,n,s)}).then(()=>l.notify("AnimationComplete",e)));return Promise.all(a)}(t,e,r,s,o,a,i)}:()=>Promise.resolve(),{when:a}=n;if(!a)return Promise.all([s(),o(i.delay)]);{let[t,e]="beforeChildren"===a?[s,o]:[o,s];return t().then(()=>e())}}function rx(t,e){if(!Array.isArray(e))return!1;let i=e.length;if(i!==t.length)return!1;for(let r=0;r<i;r++)if(e[r]!==t[r])return!1;return!0}let rb=ed.length,rw=[...eu].reverse(),rk=eu.length;function rA(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function rM(){return{animate:rA(!0),whileInView:rA(),whileHover:rA(),whileTap:rA(),whileDrag:rA(),whileFocus:rA(),exit:rA()}}class rT{constructor(t){this.isMounted=!1,this.node=t}update(){}}class rP extends rT{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 r;if(t.notify("AnimationStart",e),Array.isArray(e))r=Promise.all(e.map(e=>rv(t,e,i)));else if("string"==typeof e)r=rv(t,e,i);else{let n="function"==typeof e?it(t,e,i.custom):e;r=Promise.all(rg(t,n,i))}return r.then(()=>{t.notify("AnimationComplete",e)})})(t,e,i))),i=rM(),r=!0,n=e=>(i,r)=>{let n=it(t,r,"exit"===e?t.presenceContext?.custom:void 0);if(n){let{transition:t,transitionEnd:e,...r}=n;i={...i,...r,...e}}return i};function s(s){let{props:o}=t,a=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<rb;t++){let r=ed[t],n=e.props[r];(eh(n)||!1===n)&&(i[r]=n)}return i}(t.parent)||{},l=[],h=new Set,u={},d=1/0;for(let e=0;e<rk;e++){var c,p;let m=rw[e],f=i[m],g=void 0!==o[m]?o[m]:a[m],y=eh(g),v=m===s?f.isActive:null;!1===v&&(d=e);let x=g===a[m]&&g!==o[m]&&y;if(x&&r&&t.manuallyAnimateOnMount&&(x=!1),f.protectedKeys={...u},!f.isActive&&null===v||!g&&!f.prevProp||el(g)||"boolean"==typeof g)continue;let b=(c=f.prevProp,"string"==typeof(p=g)?p!==c:!!Array.isArray(p)&&!rx(p,c)),w=b||m===s&&f.isActive&&!x&&y||e>d&&y,k=!1,A=Array.isArray(g)?g:[g],M=A.reduce(n(m),{});!1===v&&(M={});let{prevResolvedValues:T={}}=f,P={...T,...M},S=e=>{w=!0,h.has(e)&&(k=!0,h.delete(e)),f.needsAnimating[e]=!0;let i=t.getValue(e);i&&(i.liveStyle=!1)};for(let t in P){let e=M[t],i=T[t];if(!u.hasOwnProperty(t))(ii(e)&&ii(i)?rx(e,i):e===i)?void 0!==e&&h.has(t)?S(t):f.protectedKeys[t]=!0:null!=e?S(t):h.add(t)}f.prevProp=g,f.prevResolvedValues=M,f.isActive&&(u={...u,...M}),r&&t.blockInitialAnimation&&(w=!1);let C=x&&b,E=!C||k;w&&E&&l.push(...A.map(e=>{let i={type:m};if("string"==typeof e&&r&&!C&&t.manuallyAnimateOnMount&&t.parent){let{parent:r}=t,n=it(r,e);if(r.enteringChildren&&n){let{delayChildren:e}=n.transition||{};i.delay=ry(r.enteringChildren,t,e)}}return{animation:e,options:i}}))}if(h.size){let e={};if("boolean"!=typeof o.initial){let i=it(t,Array.isArray(o.initial)?o.initial[0]:o.initial);i&&i.transition&&(e.transition=i.transition)}h.forEach(i=>{let r=t.getBaseTarget(i),n=t.getValue(i);n&&(n.liveStyle=!0),e[i]=r??null}),l.push({animation:e})}let m=!!l.length;return r&&(!1===o.initial||o.initial===o.animate)&&!t.manuallyAnimateOnMount&&(m=!1),r=!1,m?e(l):Promise.resolve()}return{animateChanges:s,setActive:function(e,r){if(i[e].isActive===r)return Promise.resolve();t.variantChildren?.forEach(t=>t.animationState?.setActive(e,r)),i[e].isActive=r;let n=s(e);for(let t in i)i[t].protectedKeys={};return n},setAnimateFunction:function(i){e=i(t)},getState:()=>i,reset:()=>{i=rM()}}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();el(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 rS=0;class rC extends rT{constructor(){super(...arguments),this.id=rS++}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;let r=this.node.animationState.setActive("exit",!t);e&&!t&&r.then(()=>
1{e(this.id)})}mount(){let{register:t,onExitComplete:e}=this.node.presenceContext||{};e&&e(this.id),t&&(this.unmount=t(this.id))}unmount(){}}let rE={x:!1,y:!1};function rR(t,e,i,r={passive:!0}){return t.addEventListener(e,i,r),()=>t.removeEventListener(e,i)}let rV=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;function rj(t){return{point:{x:t.pageX,y:t.pageY}}}function rD(t,e,i,r){return rR(t,e,t=>rV(t)&&i(t,rj(t)),r)}function rL(t){return t.max-t.min}function rO(t,e,i,r=.5){t.origin=r,t.originPoint=A(e.min,e.max,t.origin),t.scale=rL(i)/rL(e),t.translate=A(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 rz(t,e,i,r){rO(t.x,e.x,i.x,r?r.originX:void 0),rO(t.y,e.y,i.y,r?r.originY:void 0)}function rI(t,e,i){t.min=i.min+e.min,t.max=t.min+rL(e)}function rF(t,e,i){t.min=e.min-i.min,t.max=t.min+rL(e)}function rN(t,e,i){rF(t.x,e.x,i.x),rF(t.y,e.y,i.y)}function r_(t){return[t("x"),t("y")]}let rB=({current:t})=>t?t.ownerDocument.defaultView:null,rU=(t,e)=>Math.abs(t-e);class r${constructor(t,e,{transformPagePoint:i,contextWindow:r=window,dragSnapToOrigin:n=!1,distanceThreshold:s=3}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let t=rq(this.lastMoveEventInfo,this.history),e=null!==this.startEvent,i=function(t,e){return Math.sqrt(rU(t.x,e.x)**2+rU(t.y,e.y)**2)}(t.offset,{x:0,y:0})>=this.distanceThreshold;if(!e&&!i)return;let{point:r}=t,{timestamp:n}=td;this.history.push({...r,timestamp:n});let{onStart:s,onMove:o}=this.handlers;e||(s&&s(this.lastMoveEvent,t),this.startEvent=this.lastMoveEvent),o&&o(this.lastMoveEvent,t)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastMoveEventInfo=rW(e,this.transformPagePoint),th.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:i,onSessionEnd:r,resumeAnimation:n}=this.handlers;if(this.dragSnapToOrigin&&n&&n(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let s=rq("pointercancel"===t.type?this.lastMoveEventInfo:rW(e,this.transformPagePoint),this.history);this.startEvent&&i&&i(t,s),r&&r(t,s)},!rV(t))return;this.dragSnapToOrigin=n,this.handlers=e,this.transformPagePoint=i,this.distanceThreshold=s,this.contextWindow=r||window;let o=rW(rj(t),this.transformPagePoint),{point:a}=o,{timestamp:l}=td;this.history=[{...a,timestamp:l}];let{onSessionStart:h}=e;h&&h(t,rq(o,this.history)),this.removeListeners=ia(rD(this.contextWindow,"pointermove",this.handlePointerMove),rD(this.contextWindow,"pointerup",this.handlePointerUp),rD(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),tu(this.updatePoint)}}function rW(t,e){return e?{point:e(t.point)}:t}function rH(t,e){return{x:t.x-e.x,y:t.y-e.y}}function rq({point:t},e){return{point:t,delta:rH(t,rY(e)),offset:rH(t,e[0]),velocity:function(t,e){if(t.length<2)return{x:0,y:0};let i=t.length-1,r=null,n=rY(t);for(;i>=0&&(r=t[i],!(n.timestamp-r.timestamp>il(.1)));)i--;if(!r)return{x:0,y:0};let s=(n.timestamp-r.timestamp)/1e3;if(0===s)return{x:0,y:0};let o={x:(n.x-r.x)/s,y:(n.y-r.y)/s};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}(e,.1)}}function rY(t){return t[t.length-1]}function rX(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 rG(t,e){let i=e.min-t.min,r=e.max-t.max;return e.max-e.min<t.max-t.min&&([i,r]=[r,i]),{min:i,max:r}}function rK(t,e,i){return{min:rZ(t,e),max:rZ(t,i)}}function rZ(t,e){return"number"==typeof t?t:t[e]||0}let rQ=new WeakMap;class rJ{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=er(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:e=!1,distanceThreshold:i}={}){let{presenceContext:r}=this.visualElement;if(r&&!1===r.isPresent)return;let n=t=>{let{dragSnapToOrigin:i}=this.getProps();i?this.pauseAnimation():this.stopAnimation(),e&&this.snapToCursor(rj(t).point)},s=(t,e)=>{let{drag:i,dragPropagation:r,onDragStart:n}=this.getProps();if(i&&!r&&(this.openDragLock&&this.openDragLock(),this.openDragLock=function(t){if("x"===t||"y"===t)if(rE[t])return null;else return rE[t]=!0,()=>{rE[t]=!1};return rE.x||rE.y?null:(rE.x=rE.y=!0,()=>{rE.x=rE.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),r_(t=>{let e=this.getAxisMotionValue(t).get()||0;if(U.test(e)){let{projection:i}=this.visualElement;if(i&&i.layout){let r=i.layout.layoutBox[t];r&&(e=rL(r)*(parseFloat(e)/100))}}this.originPoint[t]=e}),n&&th.postRender(()=>n(t,e)),ir(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:r,onDirectionLock:n,onDrag:s}=this.getProps();if(!i&&!this.openDragLock)return;let{offset:o}=e;if(r&&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&&n&&n(this.currentDirection);return}this.updateAxis("x",e.point,o),this.updateAxis("y",e.point,o),this.visualElement.render(),s&&s(t,e)},a=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e,this.stop(t,e),this.latestPointerEvent=null,this.latestPanInfo=null},l=()=>r_(t=>"paused"===this.getAnimationState(t)&&this.getAxisMotionValue(t).animation?.play()),{dragSnapToOrigin:h}=this.getProps();this.panSession=new r$(t,{onSessionStart:n,onStart:s,onMove:o,onSessionEnd:a,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:h,distanceThreshold:i,contextWindow:rB(this.visualElement)})}stop(t,e){let i=t||this.latestPointerEvent,r=e||this.latestPanInfo,n=this.isDragging;if(this.cancel(),!n||!r||!i)return;let{velocity:s}=r;this.startAnimation(s);let{onDragEnd:o}=this.getProps();o&&th.postRender(()=>o(i,r))}cancel(){this.isDragging=!1;let{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:i}=this.getProps();!i&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),e&&e.setActive("whileDrag",!1)}updateAxis(t,e,i){let{drag:r}=this.getProps();if(!i||!r0(t,r,this.currentDirection))return;let n=this.getAxisMotionValue(t),s=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(s=function(t,{min:e,max:i},r){return void 0!==e&&t<e?t=r?A(e,t,r.min):Math.max(t,e):void 0!==i&&t>i&&(t=r?A(i,t,r.max):Math.min(t,i)),t}(s,this.constraints[t],this.elastic[t])),n.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,r=this.constraints;t&&e3(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&i?this.constraints=function(t,{top:e,left:i,bottom:r,right:n}){return{x:rX(t.x,i,n),y:rX(t.y,e,r)}}(i.layoutBox,t):this.constraints=!1,this.elastic=function(t=.35){return!1===t?t=0:!0===t&&(t=.35),{x:rK(t,"left","right"),y:rK(t,"top","bottom")}}(e),r!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&r_(t=>{!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=function(t,e){let i={};return void 0!==e.min&&(i.min=e.min-t.min),void 0!==e.max&&(i.max=e.max-t.min),i}(i.layoutBox[t],this.constraints[t]))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:i}=this.getProps();if(!e||!e3(e))return!1;let r=e.current;Z(null!==r,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");let{projection:n}=this.visualElement;if(!n||!n.layout)return!1;
1let s=function(t,e,i){let r=L(t,i),{scroll:n}=e;return n&&(V(r.x,n.offset.x),V(r.y,n.offset.y)),r}(r,n.root,this.visualElement.getTransformPagePoint()),o=(t=n.layout.layoutBox,{x:rG(t.x,s.x),y:rG(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=k(t))}return o}startAnimation(t){let{drag:e,dragMomentum:i,dragElastic:r,dragTransition:n,dragSnapToOrigin:s,onDragTransitionEnd:o}=this.getProps(),a=this.constraints||{};return Promise.all(r_(o=>{if(!r0(o,e,this.currentDirection))return;let l=a&&a[o]||{};s&&(l={min:0,max:0});let h={type:"inertia",velocity:i?t[o]:0,bounceStiffness:r?200:1e6,bounceDamping:r?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...n,...l};return this.startAxisValueAnimation(o,h)})).then(o)}startAxisValueAnimation(t,e){let i=this.getAxisMotionValue(t);return ir(this.visualElement,t),i.start(rf(t,i,0,e,this.visualElement,!1))}stopAnimation(){r_(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){r_(t=>this.getAxisMotionValue(t).animation?.pause())}getAnimationState(t){return this.getAxisMotionValue(t).animation?.state}getAxisMotionValue(t){let e=`_drag${t.toUpperCase()}`,i=this.visualElement.getProps();return i[e]||this.visualElement.getValue(t,(i.initial?i.initial[t]:void 0)||0)}snapToCursor(t){r_(e=>{let{drag:i}=this.getProps();if(!r0(e,i,this.currentDirection))return;let{projection:r}=this.visualElement,n=this.getAxisMotionValue(e);if(r&&r.layout){let{min:i,max:s}=r.layout.layoutBox[e];n.set(t[e]-A(i,s,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:i}=this.visualElement;if(!e3(e)||!i||!this.constraints)return;this.stopAnimation();let r={x:0,y:0};r_(t=>{let e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){let i=e.get();r[t]=function(t,e){let i=.5,r=rL(t),n=rL(e);return n>r?i=iQ(e.min,e.max-r,t.min):r>n&&(i=iQ(t.min,t.max-n,e.min)),z(0,1,i)}({min:i,max:i},this.constraints[t])}});let{transformTemplate:n}=this.visualElement.getProps();this.visualElement.current.style.transform=n?n({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),r_(e=>{if(!r0(e,t,null))return;let i=this.getAxisMotionValue(e),{min:n,max:s}=this.constraints[e];i.set(A(n,s,r[e]))})}addListeners(){if(!this.visualElement.current)return;rQ.set(this.visualElement,this);let t=rD(this.visualElement.current,"pointerdown",t=>{let{drag:e,dragListener:i=!0}=this.getProps();e&&i&&this.start(t)}),e=()=>{let{dragConstraints:t}=this.getProps();e3(t)&&t.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,r=i.addEventListener("measure",e);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),th.read(e);let n=rR(window,"resize",()=>this.scalePositionWithinConstraints()),s=i.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(r_(e=>{let i=this.getAxisMotionValue(e);i&&(this.originPoint[e]+=t[e].translate,i.set(i.get()+t[e].translate))}),this.visualElement.render())});return()=>{n(),t(),r(),s&&s()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:i=!1,dragPropagation:r=!1,dragConstraints:n=!1,dragElastic:s=.35,dragMomentum:o=!0}=t;return{...t,drag:e,dragDirectionLock:i,dragPropagation:r,dragConstraints:n,dragElastic:s,dragMomentum:o}}}function r0(t,e,i){return(!0===e||e===t)&&(null===i||i===t)}class r1 extends rT{constructor(t){super(t),this.removeGroupControls=tn,this.removeListeners=tn,this.controls=new rJ(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||tn}unmount(){this.removeGroupControls(),this.removeListeners()}}let r2=t=>(e,i)=>{t&&th.postRender(()=>t(e,i))};class r5 extends rT{constructor(){super(...arguments),this.removePointerDownListener=tn}onPointerDown(t){this.session=new r$(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:rB(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:i,onPanEnd:r}=this.node.getProps();return{onSessionStart:r2(t),onStart:r2(e),onMove:i,onEnd:(t,e)=>{delete this.session,r&&th.postRender(()=>r(t,e))}}}mount(){this.removePointerDownListener=rD(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}var r4=i(5601);let r3={hasAnimatedSinceResize:!0,hasEverUpdated:!1},r6=!1;class r8 extends n.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i,layoutId:r}=this.props,{projection:n}=t;n&&(e.group&&e.group.add(n),i&&i.register&&r&&i.register(n),r6&&n.root.didUpdate(),n.addEventListener("animationComplete",()=>{this.safeToRemove()}),n.setOptions({...n.options,onExitComplete:()=>this.safeToRemove()})),r3.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:i,drag:r,isPresent:n}=this.props,{projection:s}=i;return s&&(s.isPresent=n,r6=!0,r||t.layoutDependency!==e||void 0===e||t.isPresent!==n?s.willUpdate():this.safeToRemove(),t.isPresent!==n&&(n?s.promote():s.relegate()||th.postRender(()=>{let t=s.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),t8.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i}=this.props,{projection:r}=t;r6=!0,r&&(r.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(r),i&&i.deregister&&i.deregister(r))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}}function r9(t){let[e,i]=(0,r4.xQ)(),r=(0,n.useContext)(eB.L);return(0,e_.jsx)(r8,{...t,layoutGroup:r,switchLayoutGroup:(0,n.useContext)(e8),isPresent:e,safeToRemove:i})}var r7=i(3142);function nt(t){return(0,r7.G)(t)&&"ownerSVGElement"in t}let ne=(t,e)=>t.depth-e.depth;class ni{constructor(){this.children=[],this.isDirty=!1}add(t){t0(this.children,t),this.isDirty=!0}remove(t){t1(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(ne),this.isDirty=!1,this.children.forEac
1h(t)}}let nr=["TopLeft","TopRight","BottomLeft","BottomRight"],nn=nr.length,ns=t=>"string"==typeof t?parseFloat(t):t,no=t=>"number"==typeof t||$.test(t);function na(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let nl=nu(0,.5,iY),nh=nu(.5,.95,tn);function nu(t,e,i){return r=>r<t?0:r>e?1:i(iQ(t,e,r))}function nd(t,e){t.min=e.min,t.max=e.max}function nc(t,e){nd(t.x,e.x),nd(t.y,e.y)}function np(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}function nm(t,e,i,r,n){return t-=e,t=r+1/i*(t-r),void 0!==n&&(t=r+1/n*(t-r)),t}function nf(t,e,[i,r,n],s,o){!function(t,e=0,i=1,r=.5,n,s=t,o=t){if(U.test(e)&&(e=parseFloat(e),e=A(o.min,o.max,e/100)-o.min),"number"!=typeof e)return;let a=A(s.min,s.max,r);t===s&&(a-=e),t.min=nm(t.min,e,i,a,n),t.max=nm(t.max,e,i,a,n)}(t,e[i],e[r],e[n],e.scale,s,o)}let ng=["x","scaleX","originX"],ny=["y","scaleY","originY"];function nv(t,e,i,r){nf(t.x,e,ng,i?i.x:void 0,r?r.x:void 0),nf(t.y,e,ny,i?i.y:void 0,r?r.y:void 0)}function nx(t){return 0===t.translate&&1===t.scale}function nb(t){return nx(t.x)&&nx(t.y)}function nw(t,e){return t.min===e.min&&t.max===e.max}function nk(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function nA(t,e){return nk(t.x,e.x)&&nk(t.y,e.y)}function nM(t){return rL(t.x)/rL(t.y)}function nT(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class nP{constructor(){this.members=[]}add(t){t0(this.members,t),t.scheduleRender()}remove(t){if(t1(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){let e,i=this.members.findIndex(e=>t===e);if(0===i)return!1;for(let t=i;t>=0;t--){let i=this.members[t];if(!1!==i.isPresent){e=i;break}}return!!e&&(this.promote(e),!0)}promote(t,e){let i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.instance&&i.scheduleRender(),t.scheduleRender(),t.resumeFrom=i,e&&(t.resumeFrom.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);let{crossfade:r}=t.options;!1===r&&i.hide()}}exitAnimationComplete(){this.members.forEach(t=>{let{options:e,resumingFrom:i}=t;e.onExitComplete&&e.onExitComplete(),i&&i.options.onExitComplete&&i.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}let nS={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},nC=["","X","Y","Z"],nE=0;function nR(t,e,i,r){let{latestValues:n}=e;n[t]&&(i[t]=n[t],e.setStaticValue(t,0),r&&(r[t]=0))}function nV({attachResizeListener:t,defaultParent:e,measureScroll:i,checkIsScrollRoot:r,resetTransform:n}){return class{constructor(t={},i=e?.()){this.id=nE++,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,ta.value&&(nS.nodes=nS.calculatedTargetDeltas=nS.calculatedProjections=0),this.nodes.forEach(nL),this.nodes.forEach(nB),this.nodes.forEach(nU),this.nodes.forEach(nO),ta.addProjectionMetrics&&ta.addProjectionMetrics(nS)},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 ni)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new t2),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=nt(e)&&!(nt(e)&&"svg"===e.tagName),this.instance=e;let{layoutId:i,layout:r,visualElement:n}=this.options;if(n&&!n.current&&n.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(r||i)&&(this.isLayoutDirty=!0),t){let i,r=0,n=()=>this.root.updateBlockedByResize=!1;th.read(()=>{r=window.innerWidth}),t(e,()=>{let t=window.innerWidth;t!==r&&(r=t,this.root.updateBlockedByResize=!0,i&&i(),i=function(t,e){let i=tJ.now(),r=({timestamp:e})=>{let n=e-i;n>=250&&(tu(r),t(n-250))};return th.setup(r,!0),()=>tu(r)}(n,250),r3.hasAnimatedSinceResize&&(r3.hasAnimatedSinceResize=!1,this.nodes.forEac
1h(n_)))})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&n&&(i||r)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeLayoutChanged:i,layout:r})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let s=this.options.transition||n.getDefaultTransition()||nX,{onLayoutAnimationStart:o,onLayoutAnimationComplete:a}=n.getProps(),l=!this.targetLayout||!nA(this.targetLayout,r),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={...ie(s,"layout"),onPlay:o,onComplete:a};(n.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e),this.setAnimationOrigin(t,h)}else e||n_(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r})}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(),tu(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 r=i.props[e6];if(window.MotionHasOptimisedAnimation(r,"transform")){let{layout:t,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(r,"transform",th,!(t||i))}let{parent:n}=e;n&&!n.hasCheckedOptimisedAppear&&t(n)}(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,e.updateScroll("snapshot"),e.options.layoutRoot&&e.willUpdate(!1)}let{layoutId:e,layout:i}=this.options;if(void 0===e&&!i)return;let r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(nI);return}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(nF);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(nN),this.nodes.forEach(nj),this.nodes.forEach(nD)):this.nodes.forEach(nF),this.clearAllSnapshots();let t=tJ.now();td.delta=z(0,1e3/60,t-td.timestamp),td.timestamp=t,td.isProcessing=!0,tc.update.process(td),tc.preRender.process(td),tc.render.process(td),td.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,t8.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(nz),this.sharedNodes.forEach(nW)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,th.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){th.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||rL(this.snapshot.measuredBox.x)||rL(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=er(),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=r(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(!n)return;let t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!nb(this.projectionDelta),i=this.getTransformTemplate(),r=i?i(this.latestValues,""):void 0,s=r!==this.prevTransformTemplateValue;t&&this.instance&&(e||P(this.latestValues)||s)&&(n(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){var e;let i=this.measurePageBox(),r=this.removeElementScroll(i);return t&&(r=this.removeTransform(r)),nZ((e=r).x),nZ(e.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:r,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:t}=this.options;if(!t)return er();let e=t.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(nJ))){let{scroll:t}=this.root;t&&(V(e.x,t.offset.x),V(e.y,t.offset.y))}return e}removeElementScroll(t){let e=er();if(nc(e,t),this.scroll?.wasRoot)return e;for(let i=0;i<this.path.length;i++){let r=this.path[i],{scroll:n,options:s}=r;r!==this.root&&n&&s.layoutScroll&&(n.wasRoot&&nc(e,t),V(e.x,n.offset.x),V(e.y,n.offset.y))}return e}applyTransform(t,e=!1){let i=er();nc(i,t);for(let t=0;t<this.path.length;t++){let r=this.path[t];!e&&r.options.layoutScroll&&r.scroll&&r!==r.root&&D(i,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),P(r.latestValues)&&D(i,r.latestValues)}return P(this.latestValues)&&D(i,this.latestValues),i}removeTransform(t){let e=er();nc(e,t);for(let t=0;t<this.path.length;t++){let i=this.path[t];if(!i.instance||!P(i.latestValues))continue;T(i.latestValues)&&i.updateSnapshot();let r=er();nc(r,i.measurePageBox()),nv(e,i.latestValues,i.snapshot?i.snapshot.layoutBox:void 0,r)}return P(this.latestValues)&&nv(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!==td.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:r,layoutId:n}=this.options;if(!this.layout||!(r||n))return;this.resolvedRelativeTargetAt=td.timestamp;let s=this.getClosestProjectingParent();if(s&&this.linkedParentVersion!==s.layoutVersion&&!s.options.layoutRoot&&this.removeRelativeTarget(),this.targetDelta||this.relativeTarget||(s&&s.layout?this.createRelativeTarget(s,this.layout.layoutBox,s.layout.layoutBox):this.removeRelativeTarget()),this.relativeTarget||this.targetDelta){if(this.target||(this.target=er(),this.targetWithTransforms=er()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target){var o,a,l;this.forceRelativeParentToResolveTarget(),o=this.target,a=this.relativeTarget,l=this.relativeParent.target,rI(o.x,a.x,l.x),rI(o.y,a.y,l.y)}else this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):nc(this.target,this.layout.layoutBox),R(this.target,this.targetDelta)):nc(this.target,this.layout.layoutBox);this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,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),ta.value&&nS.calculatedTargetDeltas++}}getClosestProjectingParent(){if(!(!this.parent||T(this.parent.latestValues)||S(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=er(),this.relativeTargetOrigin=er(),rN(this.relativeTargetOrigin,e,i),nc(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===td.timestamp&&(i=!1),i)return;let{layout:r,layoutId:n}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(r||n))return;nc(this.layoutCorrected,this.layout.layoutBox);let s=this.treeScale.x,o=this.treeScale.y;!function(t,e,i,r=!1){let n,s,o=i.length;if(o){e.x=e.y=1;for(let a=0;a<o;a++){s=(n=i[a]).projectionDelta;let{visualElement:o}=n.options;(!o||!o.props.style||"contents"!==o.props.style.display)&&(r&&n.options.layoutScroll&&n.scroll&&n!==n.root&&D(t,{x:-n.scroll.offset.x,y:-n.scroll.offset.y}),s&&(e.x*=s.x.scale,e.y*=s.y.scale,R(t,s)),r&&P(n.latestValues)&&D(t,n.latestValues))}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=er());let{target:a}=t;if(!a){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(np(this.prevProjectionDelta.x,this.projectionDelta.x),np(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),rz(this.projectionDelta,this.layoutCorrected,a,this.latestValues),this.treeScale.x===s&&this.treeScale.y===o&&nT(this.projectionDelta.x,this.prevProjectionDelta.x)&&nT(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",a)),ta.value&&nS.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=ee(),this.projectionDelta=ee(),this.projectionDeltaWithTransform=ee()}setAnimationOrigin(t,e=!1){let i,r=this.snapshot,n=r?r.latestValues:{},s={...this.latestValues},o=ee();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let a=er(),l=(r?r.source:void 0)!==(this.layout?this.layout.source:void 0),h=this.getStack(),u=!h||h.members.length<=1,d=!!(l&&!u&&!0===this.options.crossfade&&!this.path.some(nY));this.animationProgress=0,this.mixTargetDelta=e=>{let r=e/1e3;if(nH(o.x,t.x,r),nH(o.y,t.y,r),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var h,c,p,m,f,g;rN(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),p=this.relativeTarget,m=this.relativeTargetOrigin,f=a,g=r,nq(p.x,m.x,f.x,g),nq(p.y,m.y,f.y,g),i&&(h=this.relativeTarget,c=i,nw(h.x,c.x)&&nw(h.y,c.y))&&(this.isProjectionDirty=!1),i||(i=er()),nc(i,this.relativeTarget)}l&&(this.animationValues=s,function(t,e,i,r,n,s){n?(t.opacity=A(0,i.opacity??1,nl(r)),t.opacityExit=A(e.opacity??1,0,nh(r))):s&&(t.opacity=A(e.opacity??1,i.opacity??1,r));for(let n=0;n<nn;n++){let s=`border${nr[n]}Radius`,o=na(e,s),a=na(i,s);(void 0!==o||void 0!==a)&&(o||(o=0),a||(a=0),0===o||0===a||no(o)===no(a)?(t[s]=Math.max(A(ns(o),ns(a),r),0),(U.test(a)||U.test(o))&&(t[s]+="%")):t[s]=a)}(e.rotate||i.rotate)&&(t.rotate=A(e.rotate||0,i.rotate||0,r))}(s,n,this.latestValues,r,d,u)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=r},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(tu(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=th.update(()=>{r3.hasAnimatedSinceResize=!0,ih.layout++,this.motionValue||(this.motionValue=t3(0)),this.currentAnimation=function(t,e,
1i){let r=tZ(t)?t:t3(t);return r.start(rf("",r,e,i)),r.animation}(this.motionValue,[0,1e3],{...t,velocity:0,isSync:!0,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onStop:()=>{ih.layout--},onComplete:()=>{ih.layout--,t.onComplete&&t.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let 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:r,latestValues:n}=t;if(e&&i&&r){if(this!==t&&this.layout&&r&&nQ(this.options.animationType,this.layout.layoutBox,r.layoutBox)){i=this.target||er();let e=rL(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+e;let r=rL(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+r}nc(e,i),D(e,n),rz(this.projectionDeltaWithTransform,this.layoutCorrected,e,n)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new nP),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 r=this.getStack();r&&r.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 r={};i.z&&nR("z",t,r,this.animationValues);for(let e=0;e<nC.length;e++)nR(`rotate${nC[e]}`,t,r,this.animationValues),nR(`skew${nC[e]}`,t,r,this.animationValues);for(let e in t.render(),r)t.setStaticValue(e,r[e]),this.animationValues&&(this.animationValues[e]=r[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=e0(e?.pointerEvents)||"",t.transform=i?i(this.latestValues,""):"none";return}let r=this.getLead();if(!this.projectionDelta||!this.layout||!r.target){this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=e0(e?.pointerEvents)||""),this.hasProjected&&!P(this.latestValues)&&(t.transform=i?i({},""):"none",this.hasProjected=!1);return}t.visibility="";let n=r.animationValues||r.latestValues;this.applyTransformsToTarget();let s=function(t,e,i){let r="",n=t.x.translate/e.x,s=t.y.translate/e.y,o=i?.z||0;if((n||s||o)&&(r=`translate3d(${n}px, ${s}px, ${o}px) `),(1!==e.x||1!==e.y)&&(r+=`scale(${1/e.x}, ${1/e.y}) `),i){let{transformPerspective:t,rotate:e,rotateX:n,rotateY:s,skewX:o,skewY:a}=i;t&&(r=`perspective(${t}px) ${r}`),e&&(r+=`rotate(${e}deg) `),n&&(r+=`rotateX(${n}deg) `),s&&(r+=`rotateY(${s}deg) `),o&&(r+=`skewX(${o}deg) `),a&&(r+=`skewY(${a}deg) `)}let a=t.x.scale*e.x,l=t.y.scale*e.y;return(1!==a||1!==l)&&(r+=`scale(${a}, ${l})`),r||"none"}(this.projectionDeltaWithTransform,this.treeScale,n);i&&(s=i(n,s)),t.transform=s;let{x:o,y:a}=this.projectionDelta;for(let e in t.transformOrigin=`${100*o.origin}% ${100*a.origin}% 0`,r.animationValues?t.opacity=r===this?n.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:n.opacityExit:t.opacity=r===this?void 0!==n.opacity?n.opacity:"":void 0!==n.opacityExit?n.opacityExit:0,eP){if(void 0===n[e])continue;let{correct:i,applyTo:o,isCSSVariable:a}=eP[e],l="none"===s?n[e]:i(n[e],r);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=r===this?e0(e?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>t.currentAnimation?.stop()),this.root.nodes.forEach(nI),this.root.sharedNodes.clear()}}}function nj(t){t.updateLayout()}function nD(t){let e=t.resumeFrom?.snapshot||t.snapshot;if(t.isLead()&&t.layout&&e&&t.hasListeners("didUpdate")){let{layoutBox:i,measuredBox:r}=t.layout,{animationType:n}=t.options,s=e.source!==t.layout.source;"size"===n?r_(t=>{let r=s?e.measuredBox[t]:e.layoutBox[t],n=rL(r);r.min=i[t].min,r.max=r.min+n}):nQ(n,e.layoutBox,i)&&r_(r=>{let n=s?e.measuredBox[r]:e.layoutBox[r],o=rL(i[r]);n.max=n.min+o,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[r].max=t.relativeTarget[r].min+o)});let o=ee();rz(o,i,e.layoutBox);let a=ee();s?rz(a,t.applyTransform(r,!0),e.measuredBox):rz(a,i,e.layoutBox);let l=!nb(o),h=!1;if(!t.resumeFrom){let r=t.getClosestProjectingParent();if(r&&!r.resumeFrom){let{snapshot:n,layout:s}=r;if(n&&s){let o=er();rN(o,e.layoutBox,n.layoutBox);let a=er();rN(a,i,s.layoutBox),nA(o,a)||(h=!0),r.options.layoutRoot&&(t.relativeTarget=a,t.relativeTargetOrigin=o,t.relativeParent=r)}}}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 nL(t){ta.value&&nS.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 nO(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function nz(t){t.clearSnapshot()}function nI(t){t.clearMeasurements()}function nF(t){t.isLayoutDirty=!1}function nN(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function n_(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function nB(t){t.resolveTargetDelta()}function nU(t){t.calcProjection()}function n$(t){t.resetSkewAndRotation()}function nW(t){t.removeLeadSnapshot()}function nH(t,e,i){t.translate=A(e.translate,0,i),t.scale=A(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function nq(t,e,i,r){t.min=A(e.min,i.min,r),t.max=A(e.max,i.max,r)}function nY(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let nX={duration:.45,ease:[.4,0,.1,1]},nG=t=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),nK=nG("applewebkit/")&&!nG("chrome/")?Math.round:tn;function nZ(t){t.min=nK(t.min),t.max=nK(t.max)}function nQ(t,e,i){return"position"===t||"preserve-aspect"===t&&!(.2>=Math.abs(nM(e)-nM(i)))}function nJ(t){return t!==t.root&&t.scroll?.wasRoot}let n0=nV({attachResizeListener:(t,e)=>rR(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),n1={current:void 0},n2=nV({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!n1.current){let t=new n0({});t.mount(window),t.setOptions({layoutScroll:!0}),n1.current=t}return n1.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position});var n5=i(8561);function n4(t,e){let i=(0,n5.K)(t),r=new AbortController;return[i,{passive:!0,...e,signal:r.signal},()=>r.abort()]}function n3(t){return!("touch"===t.pointerType||rE.x||rE.y)}function n6(t,e,i){let{props:r}=t;t.animationState&&r.whileHover&&t.animationState.setActive("whileHover","Start"===i);let n=r["onHover"+i];n&&th.postRender(()=>n(e,rj(e)))}class n8 extends rT{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,i={}){let[r,n,s]=n4(t,i),o=t=>{if(!n3(t))return;let{target:i}=t,r=e(i,t);if("function"!=typeof r||!i)return;let s=t=>{n3(t)&&(r(t),i.removeEventListener("pointerleave",s))};i.addEventListener("pointerleave",s,n)};return r.forEach(t=>{t.addEventListener("pointerenter",o,n)}),s}(t,(t,e)=>(n6(this.node,e,"Start"),t=>n6(this.node,t,"End"))))}unmount(){}}class n9 extends rT{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=ia(rR(this.node.current,"focus",()=>this.onFocus()),rR(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}var n7=i(1402);let st=(t,e)=>!!e&&(t===e||st(t,e.parentElement)),se=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),si=new WeakSet;function sr(t){return e=>{"Enter"===e.key&&t(e)}}function sn(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}function ss(t){return rV(t)&&!(rE.x||rE.y)}function so(t,e,i){let{props:r}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&r.whileTap&&t.animationState.setActive("whileTap","Start"===i);let n=r["onTap"+("End"===i?"":i)];n&&th.postRender(()=>n(e,rj(e)))}class sa extends rT{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,i={}){let[r,n,s]=n4(t,i),o=t=>{let r=t.currentTarget;if(!ss(t))return;si.add(r);let s=e(r,t),o=(t,e)=>{window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",l),si.has(r)&&si.delete(r),ss(t)&&"function"==typeof s&&s(t,{success:e})},a=t=>
1{o(t,r===window||r===document||i.useGlobalTarget||st(r,t.target))},l=t=>{o(t,!1)};window.addEventListener("pointerup",a,n),window.addEventListener("pointercancel",l,n)};return r.forEach(t=>{((i.useGlobalTarget?window:t).addEventListener("pointerdown",o,n),(0,n7.s)(t))&&(t.addEventListener("focus",t=>((t,e)=>{let i=t.currentTarget;if(!i)return;let r=sr(()=>{if(si.has(i))return;sn(i,"down");let t=sr(()=>{sn(i,"up")});i.addEventListener("keyup",t,e),i.addEventListener("blur",()=>sn(i,"cancel"),e)});i.addEventListener("keydown",r,e),i.addEventListener("blur",()=>i.removeEventListener("keydown",r),e)})(t,n)),se.has(t.tagName)||-1!==t.tabIndex||t.hasAttribute("tabindex")||(t.tabIndex=0))}),s}(t,(t,e)=>(so(this.node,e,"Start"),(t,{success:e})=>so(this.node,t,e?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}let sl=new WeakMap,sh=new WeakMap,su=t=>{let e=sl.get(t.target);e&&e(t)},sd=t=>{t.forEach(su)},sc={some:0,all:1};class sp extends rT{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:t={}}=this.node.getProps(),{root:e,margin:i,amount:r="some",once:n}=t,s={root:e?e.current:void 0,rootMargin:i,threshold:"number"==typeof r?r:sc[r]},o=t=>{let{isIntersecting:e}=t;if(this.isInView===e||(this.isInView=e,n&&!e&&this.hasEnteredView))return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);let{onViewportEnter:i,onViewportLeave:r}=this.node.getProps(),s=e?i:r;s&&s(t)};var a=this.node.current;let l=function({root:t,...e}){let i=t||document;sh.has(i)||sh.set(i,{});let r=sh.get(i),n=JSON.stringify(e);return r[n]||(r[n]=new IntersectionObserver(sd,{root:t,...e})),r[n]}(s);return sl.set(a,o),l.observe(a),()=>{sl.delete(a),l.unobserve(a)}}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:t,prevProps:e}=this.node;["amount","margin","root"].some(function({viewport:t={}},{viewport:e={}}={}){return i=>t[i]!==e[i]}(t,e))&&this.startObserver()}unmount(){}}let sm=function(t,e){if("undefined"==typeof Proxy)return e7;let i=new Map,r=(i,r)=>e7(i,r,t,e);return new Proxy((t,e)=>r(t,e),{get:(n,s)=>"create"===s?r:(i.has(s)||i.set(s,e7(s,void 0,t,e)),i.get(s))})}({animation:{Feature:rP},exit:{Feature:rC},inView:{Feature:sp},tap:{Feature:sa},focus:{Feature:n9},hover:{Feature:n8},pan:{Feature:r5},drag:{Feature:r1,ProjectionNode:n2,MeasureLayout:r9},layout:{ProjectionNode:n2,MeasureLayout:r9}},(t,e)=>eN(t)?new eI(e):new eE(e,{allowProjection:t!==n.Fragment}))},1362:(t,e,i)=>{i.d(e,{A:()=>r});let r=(0,i(1847).A)("circle-check",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]])},1402:(t,e,i)=>{i.d(e,{s:()=>n});var r=i(3142);function n(t){return(0,r.G)(t)&&"offsetHeight"in t}},1847:(t,e,i)=>{i.d(e,{A:()=>l});var r=i(2115);let n=t=>{let e=t.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,e,i)=>i?i.toUpperCase():e.toLowerCase());return e.charAt(0).toUpperCase()+e.slice(1)},s=function(){for(var t=arguments.length,e=Array(t),i=0;i<t;i++)e[i]=arguments[i];return e.filter((t,e,i)=>!!t&&""!==t.trim()&&i.indexOf(t)===e).join(" ").trim()};var o={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let a=(0,r.forwardRef)((t,e)=>{let{color:i="currentColor",size:n=24,strokeWidth:a=2,absoluteStrokeWidth:l,className:h="",children:u,iconNode:d,...c}=t;return(0,r.createElement)("svg",{ref:e,...o,width:n,height:n,stroke:i,strokeWidth:l?24*Number(a)/Number(n):a,className:s("lucide",h),...!u&&!(t=>{for(let e in t)if(e.startsWith("aria-")||"role"===e||"title"===e)return!0})(c)&&{"aria-hidden":"true"},...c},[...d.map(t=>{let[e,i]=t;return(0,r.createElement)(e,i)}),...Array.isArray(u)?u:[u]])}),l=(t,e)=>{let i=(0,r.forwardRef)((i,o)=>{let{className:l,...h}=i;return(0,r.createElement)(a,{ref:o,iconNode:e,className:s("lucide-".concat(n(t).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),"lucide-".concat(t),l),...h})});return i.displayName=n(t),i}},2516:(t,e,i)=>{i.d(e,{A:()=>r});let r=(0,i(1847).A)("file-check",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"m9 15 2 2 4-4",key:"1grp1n"}]])},2821:(t,e,i)=>{i.d(e,{$:()=>r});function r(){for(var t,e,i=0,r="",n=arguments.length;i<n;i++)(t=arguments[i])&&(e=function t(e){var i,r,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var s=e.length;for(i=0;i<s;i++)e[i]&&(r=t(e[i]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}(t))&&(r&&(r+=" "),r+=e);return r}},2987:(t,e,i)=>{i.d(e,{A:()=>r});let r=(0,i(1847).A)("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]])}
1,3007:(t,e,i)=>{i.d(e,{A:()=>r});let r=(0,i(1847).A)("brain-circuit",[["path",{d:"M12 5a3 3 0 1 0-5.997.125 4 4 0 0 0-2.526 5.77 4 4 0 0 0 .556 6.588A4 4 0 1 0 12 18Z",key:"l5xja"}],["path",{d:"M9 13a4.5 4.5 0 0 0 3-4",key:"10igwf"}],["path",{d:"M6.003 5.125A3 3 0 0 0 6.401 6.5",key:"105sqy"}],["path",{d:"M3.477 10.896a4 4 0 0 1 .585-.396",key:"ql3yin"}],["path",{d:"M6 18a4 4 0 0 1-1.967-.516",key:"2e4loj"}],["path",{d:"M12 13h4",key:"1ku699"}],["path",{d:"M12 18h6a2 2 0 0 1 2 2v1",key:"105ag5"}],["path",{d:"M12 8h8",key:"1lhi5i"}],["path",{d:"M16 8V5a2 2 0 0 1 2-2",key:"u6izg6"}],["circle",{cx:"16",cy:"13",r:".5",key:"ry7gng"}],["circle",{cx:"18",cy:"3",r:".5",key:"1aiba7"}],["circle",{cx:"20",cy:"21",r:".5",key:"yhc1fs"}],["circle",{cx:"20",cy:"8",r:".5",key:"1e43v0"}]])},3127:(t,e,i)=>{i.d(e,{Q:()=>r});let r=(0,i(2115).createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"})},3142:(t,e,i)=>{i.d(e,{G:()=>r});function r(t){return"object"==typeof t&&null!==t}},3364:(t,e,i)=>{i.d(e,{A:()=>r});let r=(0,i(1847).A)("file-pen-line",[["path",{d:"m18.226 5.226-2.52-2.52A2.4 2.4 0 0 0 14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-.351",key:"1k2beg"}],["path",{d:"M21.378 12.626a1 1 0 0 0-3.004-3.004l-4.01 4.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z",key:"2t3380"}],["path",{d:"M8 18h1",key:"13wk12"}]])},3492:(t,e,i)=>{i.d(e,{A:()=>r});let r=(0,i(1847).A)("sliders-vertical",[["path",{d:"M10 8h4",key:"1sr2af"}],["path",{d:"M12 21v-9",key:"17s77i"}],["path",{d:"M12 8V3",key:"13r4qs"}],["path",{d:"M17 16h4",key:"h1uq16"}],["path",{d:"M19 12V3",key:"o1uvq1"}],["path",{d:"M19 21v-5",key:"qua636"}],["path",{d:"M3 14h4",key:"bcjad9"}],["path",{d:"M5 10V3",key:"cb8scm"}],["path",{d:"M5 21v-7",key:"1w1uti"}]])},3577:(t,e,i)=>{i.d(e,{B:()=>r});let r="undefined"!=typeof window},4416:(t,e,i)=>{i.d(e,{M:()=>n});var r=i(2115);function n(t){let e=(0,r.useRef)(null);return null===e.current&&(e.current=t()),e.current}},4485:(t,e,i)=>{i.d(e,{A:()=>r});let r=(0,i(1847).A)("history",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["path",{d:"M12 7v5l4 2",key:"1fdv2h"}]])},4570:(t,e,i)=>{i.d(e,{W:()=>o});var r=i(2115),n=i(8561);let s={some:0,all:1};function o(t){let{root:e,margin:i,amount:o,once:a=!1,initial:l=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},[h,u]=(0,r.useState)(l);return(0,r.useEffect)(()=>{if(!t.current||a&&h)return;let r={root:e&&e.current||void 0,margin:i,amount:o};return function(t,e,{root:i,margin:r,amount:o="some"}={}){let a=(0,n.K)(t),l=new WeakMap,h=new IntersectionObserver(t=>{t.forEach(t=>{let i=l.get(t.target);if(!!i!==t.isIntersecting)if(t.isIntersecting){let i=e(t.target,t);"function"==typeof i?l.set(t.target,i):h.unobserve(t.target)}else"function"==typeof i&&(i(t),l.delete(t.target))})},{root:i,rootMargin:r,threshold:"number"==typeof o?o:s[o]});return a.forEach(t=>h.observe(t)),()=>h.disconnect()}(t.current,()=>(u(!0),a?void 0:()=>u(!1)),r)},[e,t,i,a,o]),h}},4936:(t,e,i)=>{i.d(e,{UC:()=>tk,Y9:()=>tb,q7:()=>tx,bL:()=>tv,l9:()=>tw});var r,n=i(2115),s=i.t(n,2),o=i(5155);function a(t,e=[]){let i=[],r=()=>{let e=i.map(t=>n.createContext(t));return function(i){let r=i?.[t]||e;return n.useMemo(()=>({[`__scope${t}`]:{...i,[t]:r}}),[i,r])}};return r.scopeName=t,[function(e,r){let s=n.createContext(r),a=i.length;i=[...i,r];let l=e=>{let{scope:i,children:r,...l}=e,h=i?.[t]?.[a]||s,u=n.useMemo(()=>l,Object.values(l));return(0,o.jsx)(h.Provider,{value:u,children:r})};return l.displayName=e+"Provider",[l,function(i,o){let l=o?.[t]?.[a]||s,h=n.useContext(l);if(h)return h;if(void 0!==r)return r;throw Error(`\`${i}\` must be used within \`${e}\``)}]},function(...t){let e=t[0];if(1===t.length)return e;let i=()=>{let i=t.map(t=>({useScope:t(),scopeName:t.scopeName}));return function(t){let r=i.reduce((e,{useScope:i,scopeName:r})=>{let n=i(t)[`__scope${r}`];return{...e,...n}},{});return n.useMemo(()=>({[`__scope${e.scopeName}`]:r}),[r])}};return i.scopeName=e.scopeName,i}(r,...e)]}function l(t,e,i){if(!e.has(t))throw TypeError("attempted to "+i+" private field on non-instance");return e.get(t)}function h(t,e){var i=l(t,e,"get");return i.get?i.get.call(t):i.value}function u(t,e,i){var r=l(t,e,"set");if(r.set)r.set.call(t,i);else{if(!r.writable)throw TypeError("attempted to set read only private field");r.value=i}return i}function d(t,e){if("function"==typeof t)return t(e);null!=t&&(t.current=e)}function c(...t){return e=>{let i=!1,r=t.map(t=>{let r=d(t,e);return i||"function"!=typeof r||(i=!0),r});if(i)return()=>{for(let e=0;e<r.length;e++){let i=r[e];"function"==typeof i?i():d(t[e],null)}}}}function p(...t){return n.useCallback(c(...t),t)}function m(t){let e=function(t){let e=n.forwardRef((t,e)=>{let{children:i,...r}=t;if(n.isValidElement(i)){var s;let t,o,a=(s=i,(o=(t=Object.getOwnPropertyDescriptor(s.props,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning)?s.ref:(o=(t=Object.getOwnPropertyDescriptor(s,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning)?s.props.ref:s.props.ref||s.ref),l=function(t,e){let i={...e};for(let r in e){let n=t[r],s=e[r];/^on[A-Z]/.test(r)?n&&s?i[r]=(...t)=>{let e=s(...t);return n(...t),e}:n&&(i[r]=n):"style"===r?i[r]={...n,...s}
1:"className"===r&&(i[r]=[n,s].filter(Boolean).join(" "))}return{...t,...i}}(r,i.props);return i.type!==n.Fragment&&(l.ref=e?c(e,a):a),n.cloneElement(i,l)}return n.Children.count(i)>1?n.Children.only(null):null});return e.displayName=`${t}.SlotClone`,e}(t),i=n.forwardRef((t,i)=>{let{children:r,...s}=t,a=n.Children.toArray(r),l=a.find(g);if(l){let t=l.props.children,r=a.map(e=>e!==l?e:n.Children.count(t)>1?n.Children.only(null):n.isValidElement(t)?t.props.children:null);return(0,o.jsx)(e,{...s,ref:i,children:n.isValidElement(t)?n.cloneElement(t,void 0,r):null})}return(0,o.jsx)(e,{...s,ref:i,children:r})});return i.displayName=`${t}.Slot`,i}var f=Symbol("radix.slottable");function g(t){return n.isValidElement(t)&&"function"==typeof t.type&&"__radixId"in t.type&&t.type.__radixId===f}var y=new WeakMap;function v(t,e){if("at"in Array.prototype)return Array.prototype.at.call(t,e);let i=function(t,e){let i=t.length,r=x(e),n=r>=0?r:i+r;return n<0||n>=i?-1:n}(t,e);return -1===i?void 0:t[i]}function x(t){return t!=t||0===t?0:Math.trunc(t)}function b(t,e,{checkForDefaultPrevented:i=!0}={}){return function(r){if(t?.(r),!1===i||!r.defaultPrevented)return e?.(r)}}r=new WeakMap,(class t extends Map{set(t,e){return y.get(this)&&(this.has(t)?h(this,r)[h(this,r).indexOf(t)]=t:h(this,r).push(t)),super.set(t,e),this}insert(t,e,i){let n,s=this.has(e),o=h(this,r).length,a=x(t),l=a>=0?a:o+a,u=l<0||l>=o?-1:l;if(u===this.size||s&&u===this.size-1||-1===u)return this.set(e,i),this;let d=this.size+ +!s;a<0&&l++;let c=[...h(this,r)],p=!1;for(let t=l;t<d;t++)if(l===t){let r=c[t];c[t]===e&&(r=c[t+1]),s&&this.delete(e),n=this.get(r),this.set(e,i)}else{p||c[t-1]!==e||(p=!0);let i=c[p?t:t-1],r=n;n=this.get(i),this.delete(i),this.set(i,r)}return this}with(e,i,r){let n=new t(this);return n.insert(e,i,r),n}before(t){let e=h(this,r).indexOf(t)-1;if(!(e<0))return this.entryAt(e)}setBefore(t,e,i){let n=h(this,r).indexOf(t);return -1===n?this:this.insert(n,e,i)}after(t){let e=h(this,r).indexOf(t);if(-1!==(e=-1===e||e===this.size-1?-1:e+1))return this.entryAt(e)}setAfter(t,e,i){let n=h(this,r).indexOf(t);return -1===n?this:this.insert(n+1,e,i)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return u(this,r,[]),super.clear()}delete(t){let e=super.delete(t);return e&&h(this,r).splice(h(this,r).indexOf(t),1),e}deleteAt(t){let e=this.keyAt(t);return void 0!==e&&this.delete(e)}at(t){let e=v(h(this,r),t);if(void 0!==e)return this.get(e)}entryAt(t){let e=v(h(this,r),t);if(void 0!==e)return[e,this.get(e)]}indexOf(t){return h(this,r).indexOf(t)}keyAt(t){return v(h(this,r),t)}from(t,e){let i=this.indexOf(t);if(-1===i)return;let r=i+e;return r<0&&(r=0),r>=this.size&&(r=this.size-1),this.at(r)}keyFrom(t,e){let i=this.indexOf(t);if(-1===i)return;let r=i+e;return r<0&&(r=0),r>=this.size&&(r=this.size-1),this.keyAt(r)}find(t,e){let i=0;for(let r of this){if(Reflect.apply(t,e,[r,i,this]))return r;i++}}findIndex(t,e){let i=0;for(let r of this){if(Reflect.apply(t,e,[r,i,this]))return i;i++}return -1}filter(e,i){let r=[],n=0;for(let t of this)Reflect.apply(e,i,[t,n,this])&&r.push(t),n++;return new t(r)}map(e,i){let r=[],n=0;for(let t of this)r.push([t[0],Reflect.apply(e,i,[t,n,this])]),n++;return new t(r)}reduce(){for(var t=arguments.length,e=Array(t),i=0;i<t;i++)e[i]=arguments[i];let[r,n]=e,s=0,o=null!=n?n:this.at(0);for(let t of this)o=0===s&&1===e.length?t:Reflect.apply(r,this,[o,t,s,this]),s++;return o}reduceRight(){for(var t=arguments.length,e=Array(t),i=0;i<t;i++)e[i]=arguments[i];let[r,n]=e,s=null!=n?n:this.at(-1);for(let t=this.size-1;t>=0;t--){let i=this.at(t);s=t===this.size-1&&1===e.length?i:Reflect.apply(r,this,[s,i,t,this])}return s}toSorted(e){return new t([...this.entries()].sort(e))}toReversed(){let e=new t;for(let t=this.size-1;t>=0;t--){let i=this.keyAt(t),r=this.get(i);e.set(i,r)}return e}toSpliced(){for(var e=arguments.length,i=Array(e),r=0;r<e;r++)i[r]=arguments[r];let n=[...this.entries()];return n.splice(...i),new t(n)}slice(e,i){let r=new t,n=this.size-1;if(void 0===e)return r;e<0&&(e+=this.size),void 0!==i&&i>0&&(n=i-1);for(let t=e;t<=n;t++){let e=this.keyAt(t),i=this.get(e);r.set(e,i)}return r}every(t,e){let i=0;for(let r of this){if(!Reflect.apply(t,e,[r,i,this]))return!1;i++}return!0}some(t,e){let i=0;for(let r of this){if(Reflect.apply(t,e,[r,i,this]))return!0;
1i++}return!1}constructor(t){super(t),function(t,e,i){if(e.has(t))throw TypeError("Cannot initialize the same private elements twice on an object");e.set(t,i)}(this,r,{writable:!0,value:void 0}),u(this,r,[...super.keys()]),y.set(this,!0)}}),"undefined"!=typeof window&&window.document&&window.document.createElement;var w=globalThis?.document?n.useLayoutEffect:()=>{},k=s[" useInsertionEffect ".trim().toString()]||w;function A({prop:t,defaultProp:e,onChange:i=()=>{},caller:r}){let[s,o,a]=function({defaultProp:t,onChange:e}){let[i,r]=n.useState(t),s=n.useRef(i),o=n.useRef(e);return k(()=>{o.current=e},[e]),n.useEffect(()=>{s.current!==i&&(o.current?.(i),s.current=i)},[i,s]),[i,r,o]}({defaultProp:e,onChange:i}),l=void 0!==t,h=l?t:s;{let e=n.useRef(void 0!==t);n.useEffect(()=>{let t=e.current;if(t!==l){let e=l?"controlled":"uncontrolled";console.warn(`${r} is changing from ${t?"controlled":"uncontrolled"} to ${e}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}e.current=l},[l,r])}return[h,n.useCallback(e=>{if(l){let i="function"==typeof e?e(t):e;i!==t&&a.current?.(i)}else o(e)},[l,t,o,a])]}Symbol("RADIX:SYNC_STATE"),i(7650);var M=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((t,e)=>{let i=m(`Primitive.${e}`),r=n.forwardRef((t,r)=>{let{asChild:n,...s}=t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,o.jsx)(n?i:e,{...s,ref:r})});return r.displayName=`Primitive.${e}`,{...t,[e]:r}},{}),T=t=>{let{present:e,children:i}=t,r=function(t){var e,i;let[r,s]=n.useState(),o=n.useRef(null),a=n.useRef(t),l=n.useRef("none"),[h,u]=(e=t?"mounted":"unmounted",i={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},n.useReducer((t,e)=>{let r=i[t][e];return null!=r?r:t},e));return n.useEffect(()=>{let t=P(o.current);l.current="mounted"===h?t:"none"},[h]),w(()=>{let e=o.current,i=a.current;if(i!==t){let r=l.current,n=P(e);t?u("MOUNT"):"none"===n||(null==e?void 0:e.display)==="none"?u("UNMOUNT"):i&&r!==n?u("ANIMATION_OUT"):u("UNMOUNT"),a.current=t}},[t,u]),w(()=>{if(r){var t;let e,i=null!=(t=r.ownerDocument.defaultView)?t:window,n=t=>{let n=P(o.current).includes(CSS.escape(t.animationName));if(t.target===r&&n&&(u("ANIMATION_END"),!a.current)){let t=r.style.animationFillMode;r.style.animationFillMode="forwards",e=i.setTimeout(()=>{"forwards"===r.style.animationFillMode&&(r.style.animationFillMode=t)})}},s=t=>{t.target===r&&(l.current=P(o.current))};return r.addEventListener("animationstart",s),r.addEventListener("animationcancel",n),r.addEventListener("animationend",n),()=>{i.clearTimeout(e),r.removeEventListener("animationstart",s),r.removeEventListener("animationcancel",n),r.removeEventListener("animationend",n)}}u("ANIMATION_END")},[r,u]),{isPresent:["mounted","unmountSuspended"].includes(h),ref:n.useCallback(t=>{o.current=t?getComputedStyle(t):null,s(t)},[])}}(e),s="function"==typeof i?i({present:r.isPresent}):n.Children.only(i),o=p(r.ref,function(t){var e,i;let r=null==(e=Object.getOwnPropertyDescriptor(t.props,"ref"))?void 0:e.get,n=r&&"isReactWarning"in r&&r.isReactWarning;return n?t.ref:(n=(r=null==(i=Object.getOwnPropertyDescriptor(t,"ref"))?void 0:i.get)&&"isReactWarning"in r&&r.isReactWarning)?t.props.ref:t.props.ref||t.ref}(s));return"function"==typeof i||r.isPresent?n.cloneElement(s,{ref:o}):null};function P(t){return(null==t?void 0:t.animationName)||"none"}T.displayName="Presence";var S=s[" useId ".trim().toString()]||(()=>void 0),C=0;function E(t){let[e,i]=n.useState(S());return w(()=>{t||i(t=>t??String(C++))},[t]),t||(e?`radix-${e}`:"")}var R="Collapsible",[V,j]=a(R),[D,L]=V(R),O=n.forwardRef((t,e)=>{let{__scopeCollapsible:i,open:r,defaultOpen:s,disabled:a,onOpenChange:l,...h}=t,[u,d]=A({prop:r,defaultProp:null!=s&&s,onChange:l,caller:R});return(0,o.jsx)(D,{scope:i,disabled:a,contentId:E(),open:u,onOpenToggle:n.useCallback(()=>d(t=>!t),[d]),children:(0,o.jsx)(M.div,{"data-state":B(u),"data-disabled":a?"":void 0,...h,ref:e})})});O.displayName=R;
1var z="CollapsibleTrigger",I=n.forwardRef((t,e)=>{let{__scopeCollapsible:i,...r}=t,n=L(z,i);return(0,o.jsx)(M.button,{type:"button","aria-controls":n.contentId,"aria-expanded":n.open||!1,"data-state":B(n.open),"data-disabled":n.disabled?"":void 0,disabled:n.disabled,...r,ref:e,onClick:b(t.onClick,n.onOpenToggle)})});I.displayName=z;var F="CollapsibleContent",N=n.forwardRef((t,e)=>{let{forceMount:i,...r}=t,n=L(F,t.__scopeCollapsible);return(0,o.jsx)(T,{present:i||n.open,children:t=>{let{present:i}=t;return(0,o.jsx)(_,{...r,ref:e,present:i})}})});N.displayName=F;var _=n.forwardRef((t,e)=>{let{__scopeCollapsible:i,present:r,children:s,...a}=t,l=L(F,i),[h,u]=n.useState(r),d=n.useRef(null),c=p(e,d),m=n.useRef(0),f=m.current,g=n.useRef(0),y=g.current,v=l.open||h,x=n.useRef(v),b=n.useRef(void 0);return n.useEffect(()=>{let t=requestAnimationFrame(()=>x.current=!1);return()=>cancelAnimationFrame(t)},[]),w(()=>{let t=d.current;if(t){b.current=b.current||{transitionDuration:t.style.transitionDuration,animationName:t.style.animationName},t.style.transitionDuration="0s",t.style.animationName="none";let e=t.getBoundingClientRect();m.current=e.height,g.current=e.width,x.current||(t.style.transitionDuration=b.current.transitionDuration,t.style.animationName=b.current.animationName),u(r)}},[l.open,r]),(0,o.jsx)(M.div,{"data-state":B(l.open),"data-disabled":l.disabled?"":void 0,id:l.contentId,hidden:!v,...a,ref:c,style:{"--radix-collapsible-content-height":f?"".concat(f,"px"):void 0,"--radix-collapsible-content-width":y?"".concat(y,"px"):void 0,...t.style},children:v&&s})});function B(t){return t?"open":"closed"}var U=n.createContext(void 0),$="Accordion",W=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[H,q,Y]=function(t){let e=t+"CollectionProvider",[i,r]=a(e),[s,l]=i(e,{collectionRef:{current:null},itemMap:new Map}),h=t=>{let{scope:e,children:i}=t,r=n.useRef(null),a=n.useRef(new Map).current;return(0,o.jsx)(s,{scope:e,itemMap:a,collectionRef:r,children:i})};h.displayName=e;let u=t+"CollectionSlot",d=m(u),c=n.forwardRef((t,e)=>{let{scope:i,children:r}=t,n=p(e,l(u,i).collectionRef);return(0,o.jsx)(d,{ref:n,children:r})});c.displayName=u;let f=t+"CollectionItemSlot",g="data-radix-collection-item",y=m(f),v=n.forwardRef((t,e)=>{let{scope:i,children:r,...s}=t,a=n.useRef(null),h=p(e,a),u=l(f,i);return n.useEffect(()=>(u.itemMap.set(a,{ref:a,...s}),()=>void u.itemMap.delete(a))),(0,o.jsx)(y,{...{[g]:""},ref:h,children:r})});return v.displayName=f,[{Provider:h,Slot:c,ItemSlot:v},function(e){let i=l(t+"CollectionConsumer",e);return n.useCallback(()=>{let t=i.collectionRef.current;if(!t)return[];let e=Array.from(t.querySelectorAll("[".concat(g,"]")));return Array.from(i.itemMap.values()).sort((t,i)=>e.indexOf(t.ref.current)-e.indexOf(i.ref.current))},[i.collectionRef,i.itemMap])},r]}($),[X,G]=a($,[Y,j]),K=j(),Z=n.forwardRef((t,e)=>{let{type:i,...r}=t;return(0,o.jsx)(H.Provider,{scope:t.__scopeAccordion,children:"multiple"===i?(0,o.jsx)(tr,{...r,ref:e}):(0,o.jsx)(ti,{...r,ref:e})})});Z.displayName=$;var[Q,J]=X($),[tt,te]=X($,{collapsible:!1}),ti=n.forwardRef((t,e)=>{let{value:i,defaultValue:r,onValueChange:s=()=>{},collapsible:a=!1,...l}=t,[h,u]=A({prop:i,defaultProp:null!=r?r:"",onChange:s,caller:$});return(0,o.jsx)(Q,{scope:t.__scopeAccordion,value:n.useMemo(()=>h?[h]:[],[h]),onItemOpen:u,onItemClose:n.useCallback(()=>a&&u(""),[a,u]),children:(0,o.jsx)(tt,{scope:t.__scopeAccordion,collapsible:a,children:(0,o.jsx)(to,{...l,ref:e})})})}),tr=n.forwardRef((t,e)=>{let{value:i,defaultValue:r,onValueChange:s=()=>{},...a}=t,[l,h]=A({prop:i,defaultProp:null!=r?r:[],onChange:s,caller:$}),u=n.useCallback(t=>h(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return[...e,t]}),[h]),d=n.useCallback(t=>h(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.filter(e=>e!==t)}),[h]);return(0,o.jsx)(Q,{scope:t.__scopeAccordion,value:l,onItemOpen:u,onItemClose:d,children:(0,o.jsx)(tt,{scope:t.__scopeAccordion,collapsible:!0,children:(0,o.jsx)(to,{...a,ref:e})})})}),[tn,ts]=X($),to=n.forwardRef((t,e)=>{let{__scopeAccordion:i,disabled:r,dir:s,orientation:a="vertical",...l}=t,h=p(n.useRef(null),e),u=q(i),d="ltr"===function(t){let e=n.useContext(U);return t||e||"ltr"}(s),c=b(t.onKeyDown,t=>{var e;if(!W.includes(t.key))return;let i=t.target,r=u().filter(t=>{var e;return!(null==(e=t.ref.current)?void 0:e.disabled)}),n=r.findIndex(t=>t.ref.current===i),s=r.length;if(-1===n)return;t.preventDefault();let o=n,l=s-1,h=()=>{(o=n+1)>l&&(o=0)},c=()=>{(o=n-1)<0&&(o=l)};switch(t.key){case"Home":o=0;break;case"End":o=l;break;case"ArrowRight":"horizontal"===a&&(d?h():c());break;case"ArrowDown":"vertical"===a&&h();break;case"ArrowLeft":"horizontal"===a&&(d?c():h());break;case"ArrowUp":"vertical"===a&&c()}null==(e=r[o%s].ref.current)||e.focus()});return(0,o.jsx)(tn,{scope:i,disabled:r,direction:s,orientation:a,children:(0,o.jsx)(H.Slot,{scope:i,children:(0,o.jsx)(M.div,{...l,"data-orientation":a,ref:h,onKeyDown:r?void 0:c})})})}),ta="AccordionItem",[tl,th]=X(ta),tu=n.forwardRef((t,e)=>{let{__scopeAccordion:i,value:r,...n}=t,s=ts(ta,i),a=J(ta,i),l=K(i),h=E(),u=r&&a.value.includes(r)||!1,d=s.disabled||t.disabled;return(0,o.jsx)(tl,{scope:i,open:u,disabled:d,triggerId:h,children:(0,o.jsx)(O,{"data-orientation":s.orientation,"data-state":ty(u),...l,...n,ref:e,disabled:d,open:u,onOpenChange:t=>{t?a.onItemOpen(r):a.onItemClose(r)}})})});tu.displayName=ta;var td="AccordionHeader",tc=n.forwardRef((t,e)=>{let{__scopeAccordion:i,...r}=t,n=ts($,i),s=th(td,i);return(0,o.jsx)(M.h3,{"data-orientation":n.orientation,"data-state":ty(s.open),"data-disabled":s.disabled?"":void 0,...r,ref:e})});tc.displayName=td;var tp="AccordionTrigger",tm=n.forwardRef((t,e)=>{let{__scopeAccordion:i,...r}=t,n=ts($,i),s=th(tp,i),a=te(tp,i),l=K(i);return(0,o.jsx)(H.ItemSlot,{scope:i,children:(0,o.jsx)(I,{"aria-disabled":s.open&&!a.collapsible||void 0,"data-orientation":n.orientation,id:s.triggerId,...l,...r,ref:e})})});tm.displayName=tp;var tf="AccordionContent",tg=n.forwardRef((t,e)=>{let{__scopeAccordion:i,...r}=t,n=ts($,i),s=th(tf,i),a=K(i);return(0,o.jsx)(N,{role:"region","aria-labelledby":s.triggerId,"data-orientation":n.orientation,...a,...r,ref:e,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...t.style}})});function ty(t){return t?"open":"closed"}tg.displayName=tf;var tv=Z,tx=tu,tb=tc,tw=tm,tk=tg},5136:(t,e,i)=>{i.d(e,{A:()=>r});let r=(0,i(1847).A)("siren",[["path",{d:"M7 18v-6a5 5 0 1 1 10 0v6",key:"pcx96s"}],["path",{d:"M5 21a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-1a2 2 0 0 0-2-2H7a2 2 0 0 0-2 2z",key:"1b4s83"}],["path",{d:"M21 12h1",key:"jtio3y"}],["path",{d:"M18.5 4.5 18 5",key:"g5sp9y"}],["path",{d:"M2 12h1",key:"1uaihz"}],["path",{d:"M12 2v1",key:"11qlp1"}],["path",{d:"m4.929 4.929.707.707",key:"1i51kw"}],["path",{d:"M12 12v6",key:"3ahymv"}]])},5229:(t,e,i)=>{i.d(e,{A:()=>r});let r=(0,i(1847).A)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}
1],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},5426:(t,e,i)=>{i.d(e,{A:()=>r});let r=(0,i(1847).A)("copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]])},5601:(t,e,i)=>{i.d(e,{xQ:()=>s});var r=i(2115),n=i(9686);function s(){let t=!(arguments.length>0)||void 0===arguments[0]||arguments[0],e=(0,r.useContext)(n.t);if(null===e)return[!0,null];let{isPresent:i,onExitComplete:s,register:o}=e,a=(0,r.useId)();(0,r.useEffect)(()=>{if(t)return o(a)},[t]);let l=(0,r.useCallback)(()=>t&&s&&s(a),[a,s,t]);return!i&&s?[!1,l]:[!0]}},5740:(t,e,i)=>{i.d(e,{A:()=>r});let r=(0,i(1847).A)("sparkles",[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",ke
1y:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]])},5752:(t,e,i)=>{i.d(e,{f:()=>y});let r="http://www.w3.org/2000/svg";class n{constructor(t){this.seed=t}next(){return this.seed?(0x80000000-1&(this.seed=Math.imul(48271,this.seed)))/0x80000000:Math.random()}}function s(t,e,i,r,n){return{type:"path",ops:d(t,e,i,r,n)}}function o(t,e,i){let r=(t||[]).length;if(r>2){let n=[];for(let e=0;e<r-1;e++)n.push(...d(t[e][0],t[e][1],t[e+1][0],t[e+1][1],i));return e&&n.push(...d(t[r-1][0],t[r-1][1],t[0][0],t[0][1],i)),{type:"path",ops:n}}return 2===r?s(t[0][0],t[0][1],t[1][0],t[1][1],i):{type:"path",ops:[]}}function a(t,e,i,r,n){return function(t,e,i,r){let[n,s]=m(r.increment,t,e,r.rx,r.ry,1,r.increment*h(.1,h(.4,1,i),i),i),o=p(n,null,i);if(!i.disableMultiStroke){let[n]=m(r.increment,t,e,r.rx,r.ry,1.5,0,i),s=p(n,null,i);o=o.concat(s)}return{estimatedPoints:s,opset:{type:"path",ops:o}}}(t,e,n,function(t,e,i){let r=Math.sqrt(2*Math.PI*Math.sqrt((Math.pow(t/2,2)+Math.pow(e/2,2))/2)),n=2*Math.PI/Math.max(i.curveStepCount,i.curveStepCount/Math.sqrt(200)*r),s=Math.abs(t/2),o=Math.abs(e/2),a=1-i.curveFitting;return s+=u(s*a,i),o+=u(o*a,i),{increment:n,rx:s,ry:o}}(i,r,n)).opset}function l(t){return t.randomizer||(t.randomizer=new n(t.seed||0)),t.randomizer.next()}function h(t,e,i,r=1){return i.roughness*r*(l(i)*(e-t)+t)}function u(t,e,i=1){return h(-t,t,e,i)}function d(t,e,i,r,n,s=!1){let o=s?n.disableMultiStrokeFill:n.disableMultiStroke,a=c(t,e,i,r,n,!0,!1);if(o)return a;let l=c(t,e,i,r,n,!0,!0);return a.concat(l)}function c(t,e,i,r,n,s,o){let a=Math.pow(t-i,2)+Math.pow(e-r,2),h=Math.sqrt(a),d=1;d=h<200?1:h>500?.4:-.0016668*h+1.233334;let c=n.maxRandomnessOffset||0;c*c*100>a&&(c=h/10);let p=c/2,m=.2+.2*l(n),f=n.bowing*n.maxRandomnessOffset*(r-e)/200,g=n.bowing*n.maxRandomnessOffset*(t-i)/200;f=u(f,n,d),g=u(g,n,d);let y=[],v=()=>u(p,n,d),x=()=>u(c,n,d);return s&&(o?y.push({op:"move",data:[t+v(),e+v()]}):y.push({op:"move",data:[t+u(c,n,d),e+u(c,n,d)]})),o?y.push({op:"bcurveTo",data:[f+t+(i-t)*m+v(),g+e+(r-e)*m+v(),f+t+2*(i-t)*m+v(),g+e+2*(r-e)*m+v(),i+v(),r+v()]}):y.push({op:"bcurveTo",data:[f+t+(i-t)*m+x(),g+e+(r-e)*m+x(),f+t+2*(i-t)*m+x(),g+e+2*(r-e)*m+x(),i+x(),r+x()]}),y}function p(t,e,i){let r=t.length,n=[];if(r>3){let s=[],o=1-i.curveTightness;n.push({op:"move",data:[t[1][0],t[1][1]]});for(let e=1;e+2<r;e++){let i=t[e];s[0]=[i[0],i[1]],s[1]=[i[0]+(o*t[e+1][0]-o*t[e-1][0])/6,i[1]+(o*t[e+1][1]-o*t[e-1][1])/6],s[2]=[t[e+1][0]+(o*t[e][0]-o*t[e+2][0])/6,t[e+1][1]+(o*t[e][1]-o*t[e+2][1])/6],s[3]=[t[e+1][0],t[e+1][1]],n.push({op:"bcurveTo",data:[s[1][0],s[1][1],s[2][0],s[2][1],s[3][0],s[3][1]]})}if(e&&2===e.length){let t=i.maxRandomnessOffset;n.push({op:"lineTo",data:[e[0]+u(t,i),e[1]+u(t,i)]})}}else 3===r?(n.push({op:"move",data:[t[1][0],t[1][1]]}),n.push({op:"bcurveTo",data:[t[1][0],t[1][1],t[2][0],t[2][1],t[2][0],t[2][1]]})):2===r&&n.push(...d(t[0][0],t[0][1],t[1][0],t[1][1],i));return n}function m(t,e,i,r,n,s,o,a){let l=[],h=[],d=u(.5,a)-Math.PI/2;h.push([u(s,a)+e+.9*r*Math.cos(d-t),u(s,a)+i+.9*n*Math.sin(d-t)]);for(let o=d;o<2*Math.PI+d-.01;o+=t){let t=[u(s,a)+e+r*Math.cos(o),u(s,a)+i+n*Math.sin(o)];l.push(t),h.push(t)}return h.push([u(s,a)+e+r*Math.cos(d+2*Math.PI+.5*o),u(s,a)+i+n*Math.sin(d+2*Math.PI+.5*o)]),h.push([u(s,a)+e+.98*r*Math.cos(d+o),u(s,a)+i+.98*n*Math.sin(d+o)]),h.push([u(s,a)+e+.9*r*Math.cos(d+.5*o),u(s,a)+i+.9*n*Math.sin(d+.5*o)]),[h,l]}function f(t,e){return{maxRandomnessOffset:2,roughness:"highlight"===t?3:1.5,bowing:1,stroke:"#000",strokeWidth:1.5,curveTightness:0,curveFitting:.95,curveStepCount:9,fillStyle:"hachure",fillWeight:-1,hachureAngle:-41,hachureGap:-1,dashOffset:-1,dashGap:-1,zigzagOffset:-1,combineNestedSvgPaths:!1,disableMultiStroke:"double"!==t,disableMultiStrokeFill:!1,seed:e}}class g{constructor(t,e){this._state="unattached",this._resizing=!1,this._seed=Math.floor(0x80000000*Math.random()),this._lastSizes=[],this._animationDelay=0,this._resizeListener=()=>{this._resizing||(this._resizing=!0,setTimeout(()=>{this._resizing=!1,"showing"===this._state&&this.haveRectsChanged()&&this.show()},400))},this._e=t,this._config=JSON.parse(JSON.stringify(e)),this.attach()}get animate(){return this._config.animate}set animate(t){this._config.animate=t}get animationDuration(){return this._config.animationDuration}set animationDuration(t){this._config.animationDuration=t}get iterations(){return this._config.iterations}set iterations(t){this._config.iterations=t}get color(){return this._config.color}set color(t){this._config.color!==t&&(this._config.color=t,this.refresh())}get strokeWidth(){return this._config.strokeWidth}set strokeWidth(t){this._config.strokeWidth!==t&&(this._config.strokeWidth=t,this.refresh())}get padding(){return this._config.padding}set padding(t){this._config.padding!==t&&(this._config.padding=t,this.refresh())}attach(){if("unattached"===this._state&&this._e.parentElement){if(!window.__rno_kf_s){let t=window.__rno_kf_s=document.createElement("style");t.textContent="@keyframes rough-notation-dash { to { stroke-dashoffset: 0; } }",document.head.appendChild(t)}let t=this._svg=document.createElementNS(r,"svg");t.setAttribute("class","rough-annotation");let e=t.style;e.position="absolute",e.top="0",e.left="0",e.overflow="visible",e.pointerEvents="none",e.width="100px",e.height="100px";let i="highlight"===this._config.type;if(this._e.insertAdjacentElement(i?"beforebegin":"afterend",t),this._state="not-showing",i){let t=window.getComputedStyle(this._e).position;t&&"static"!==t||(this._e.style.position="relative")}this.attachListeners()}}detachListeners(){window.removeEventListener("resize",this._resizeListener),this._ro&&this._ro.unobserve(this._e)}attachListeners(){this.detachListeners(),window.addEventListener("resize",this._resizeListener,{passive:!0}),!this._ro&&"ResizeObserver"in window&&(this._ro=new window.ResizeObserver(t=>{for(let e of t)e.contentRect&&this._resizeListener()})),this._ro&&this._ro.observe(this._e)}haveRectsChanged(){if(this._lastSizes.length){let t=this.rects();if(t.length!==this._lastSizes.length)return!0;for(let e=0;e<t.length;e++)if(!this.isSameRect(t[e],this._lastSizes[e]))return!0}return!1}isSameRect(t,e){let i=(t,e)=>Math.round(t)===Math.round(e);return i(t.x,e.x)&&i(t.y,e.y)&&i(t.w,e.w)&&i(t.h,e.h)}isShowing(){return"not-showing"!==this._state}refresh(){this.isShowing()&&!this.pendingRefresh&&(this.pendingRefresh=Promise.resolve().then(()=>{this.isShowing()&&this.show(),delete this.pendingRefresh}))}show(){switch(this._state){case"unattached":break;case"showing":this.hide(),this._svg&&this.render(this._svg,!0);break;case"not-showing":this.attach(),this._svg&&this.render(this._svg,!1)}}
1hide(){if(this._svg)for(;this._svg.lastChild;)this._svg.removeChild(this._svg.lastChild);this._state="not-showing"}remove(){this._svg&&this._svg.parentElement&&this._svg.parentElement.removeChild(this._svg),this._svg=void 0,this._state="unattached",this.detachListeners()}render(t,e){let i=this._config;e&&((i=JSON.parse(JSON.stringify(this._config))).animate=!1);let n=this.rects(),l=0;n.forEach(t=>l+=t.w);let h=i.animationDuration||800,u=0;for(let e=0;e<n.length;e++){let d=h*(n[e].w/l);(function(t,e,i,n,l,h){let u=[],d=i.strokeWidth||2,c=function(t){let e=t.padding;if(e||0===e){if("number"==typeof e)return[e,e,e,e];if(Array.isArray(e)&&e.length)switch(e.length){case 4:return[...e];case 1:return[e[0],e[0],e[0],e[0]];case 2:return[...e,...e];case 3:return[...e,e[1]];default:return[e[0],e[1],e[2],e[3]]}}return[5,5,5,5]}(i),p=void 0===i.animate||!!i.animate,m=i.iterations||2,g=+!!i.rtl,y=f("single",h);switch(i.type){case"underline":{let t=e.y+e.h+c[2];for(let i=g;i<m+g;i++)i%2?u.push(s(e.x+e.w,t,e.x,t,y)):u.push(s(e.x,t,e.x+e.w,t,y));break}case"strike-through":{let t=e.y+e.h/2;for(let i=g;i<m+g;i++)i%2?u.push(s(e.x+e.w,t,e.x,t,y)):u.push(s(e.x,t,e.x+e.w,t,y));break}case"box":{let t=e.x-c[3],i=e.y-c[0],r=e.w+(c[1]+c[3]),n=e.h+(c[0]+c[2]);for(let e=0;e<m;e++){var v,x,b,w;u.push(o([[v=t,x=i],[v+(b=r),x],[v+b,x+(w=n)],[v,x+w]],!0,y))}break}case"bracket":{let t=Array.isArray(i.brackets)?i.brackets:i.brackets?[i.brackets]:["right"],r=e.x-2*c[3],n=e.x+e.w+2*c[1],s=e.y-2*c[0],a=e.y+e.h+2*c[2];for(let i of t){let t;switch(i){case"bottom":t=[[r,e.y+e.h],[r,a],[n,a],[n,e.y+e.h]];break;case"top":t=[[r,e.y],[r,s],[n,s],[n,e.y]];break;case"left":t=[[e.x,s],[r,s],[r,a],[e.x,a]];break;case"right":t=[[e.x+e.w,s],[n,s],[n,a],[e.x+e.w,a]]}t&&u.push(o(t,!1,y))}break}case"crossed-off":{let t=e.x,i=e.y,r=t+e.w,n=i+e.h;for(let e=g;e<m+g;e++)e%2?u.push(s(r,n,t,i,y)):u.push(s(t,i,r,n,y));for(let e=g;e<m+g;e++)e%2?u.push(s(t,n,r,i,y)):u.push(s(r,i,t,n,y));break}case"circle":{let t=f("double",h),i=e.w+(c[1]+c[3]),r=e.h+(c[0]+c[2]),n=e.x-c[3]+i/2,s=e.y-c[0]+r/2,o=Math.floor(m/2),l=m-2*o;for(let e=0;e<o;e++)u.push(a(n,s,i,r,t));for(let t=0;t<l;t++)u.push(a(n,s,i,r,y));break}case"highlight":{let t=f("highlight",h);d=.95*e.h;let i=e.y+e.h/2;for(let r=g;r<m+g;r++)r%2?u.push(s(e.x+e.w,i,e.x,i,t)):u.push(s(e.x,i,e.x+e.w,i,t))}}if(u.length){let e=function(t){let e=[];for(let i of t){let t="";for(let r of i.ops){let i=r.data;switch(r.op){case"move":t.trim()&&e.push(t.trim()),t=`M${i[0]} ${i[1]} `;break;case"bcurveTo":t+=`C${i[0]} ${i[1]}, ${i[2]} ${i[3]}, ${i[4]} ${i[5]} `;break;case"lineTo":t+=`L${i[0]} ${i[1]} `}}t.trim()&&e.push(t.trim())}return e}(u),s=[],o=[],a=0,h=(t,e,i)=>t.setAttribute(e,i);for(let n of e){let e=document.createElementNS(r,"path");if(h(e,"d",n),h(e,"fill","none"),h(e,"stroke",i.color||"currentColor"),h(e,"stroke-width",""+d),p){let t=e.getTotalLength();s.push(t),a+=t}t.appendChild(e),o.push(e)}if(p){let t=0;for(let e=0;e<o.length;e++){let i=o[e],r=s[e],h=a?r/a*l:0,u=n+t,d=i.style;d.strokeDashoffset=""+r,d.strokeDasharray=""+r,d.animation=`rough-notation-dash ${h}ms ease-out ${u}ms forwards`,t+=h}}}})(t,n[e],i,u+this._animationDelay,d,this._seed),u+=d}this._lastSizes=n,this._state="showing"}rects(){let t=[];if(this._svg)if(this._config.multiline){let e=this._e.getClientRects();for(let i=0;i<e.length;i++)t.push(this.svgRect(this._svg,e[i]))}else t.push(this.svgRect(this._svg,this._e.getBoundingClientRect()));return t}svgRect(t,e){let i=t.getBoundingClientRect();return{x:(e.x||e.left)-(i.x||i.left),y:(e.y||e.top)-(i.y||i.top),w:e.width,h:e.height}}}function y(t,e){return new g(t,e)}},5889:(t,e,i)=>{i.d(e,{QP:()=>tl});let r=(t=new Map,e=null,i)=>({nextPart:t,validators:e,classGroupId:i}),n=[],s=(t,e,i)=>{if(0==t.length-e)return i.classGroupId;let r=t[e],n=i.nextPart.get(r);if(n){let i=s(t,e+1,n);if(i)return i}let o=i.validators;if(null===o)return;let a=0===e?t.join("-"):t.slice(e).join("-"),l=o.length;for(let t=0;t<l;t++){let e=o[t];if(e.validator(a))return e.classGroupId}},o=(t,e)=>{let i=r();for(let r in t)a(t[r],i,r,e);return i},a=(t,e,i,r)=>{let n=t.length;for(let s=0;s<n;s++)l(t[s],e,i,r)},l=(t,e,i,r)=>"string"==typeof t?void h(t,e,i):"function"==typeof t?void u(t,e,i,r):void d(t,e,i,r),h=(t,e,i)=>{(""===t?e:c(e,t)).classGroupId=i},u=(t,e,i,r)=>{if(p(t))return void a(t(r),e,i,r);null===e.validators&&(e.validators=[]),e.validators.push({classGroupId:i,validator:t})},d=(t,e,i,r)=>{let n=Object.entries(t),s=n.length;for(let t=0;t<s;t++){let[s,o]=n[t];a(o,c(e,s),i,r)}},c=(t,e)=>{let i=t,n=e.split("-"),s=n.length;for(let t=0;t<s;t++){let e=n[t],s=i.nextPart.get(e);s||(s=r(),i.nextPart.set(e,s)),i=s}return i},p=t=>"isThemeGetter"in t&&!0===t.isThemeGetter,m=[],f=(t,e,i,r,n)=>({modifiers:t,hasImportantModifier:e,baseClassName:i,maybePostfixModifierPosition:r,isExternal:n}),g=/\s+/,y=t=>{let e;if("string"==typeof t)return t;let i="";for(let r=0;r<t.length;r++)t[r]&&(e=y(t[r]))&&(i&&(i+=" "),i+=e);return i},v=[],x=t=>{let e=e=>e[t]||v;return e.isThemeGetter=!0,e},b=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,w=/^\((?:(\w[\w-]*):)?(.+)\)$/i,k=/^\d+\/\d+$/,A=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,M=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,T=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,P=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,S=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,C=t=>k.test(t),E=t=>!!t&&!Number.isNaN(Number(t)),R=t=>!!t&&Number.isInteger(Number(t)),V=t=>t.endsWith("%")&&E(t.slice(0,-1)),j=t=>A.test(t),D=()=>!0,L=t=>M.test(t)&&!T.test(t),O=()=>!1,z=t=>P.test(t),I=t=>S.test(t),F=t=>!_(t)&&!q(t),N=t=>J(t,tr,O),_=t=>b.test(t),B=t=>J(t,tn,L),U=t=>J(t,ts,E),$=t=>J(t,te,O),W=t=>J(t,ti,I),H=t=>J(t,ta,z),q=t=>w.test(t),Y=t=>tt(t,tn),X=t=>tt(t,to),G=t=>tt(t,te),K=t=>tt(t,tr),Z=t=>
1tt(t,ti),Q=t=>tt(t,ta,!0),J=(t,e,i)=>{let r=b.exec(t);return!!r&&(r[1]?e(r[1]):i(r[2]))},tt=(t,e,i=!1)=>{let r=w.exec(t);return!!r&&(r[1]?e(r[1]):i)},te=t=>"position"===t||"percentage"===t,ti=t=>"image"===t||"url"===t,tr=t=>"length"===t||"size"===t||"bg-size"===t,tn=t=>"length"===t,ts=t=>"number"===t,to=t=>"family-name"===t,ta=t=>"shadow"===t;Symbol.toStringTag;let tl=((t,...e)=>{let i,r,a,l,h=t=>{let e=r(t);if(e)return e;let n=((t,e)=>{let{parseClassName:i,getClassGroupId:r,getConflictingClassGroupIds:n,sortModifiers:s}=e,o=[],a=t.trim().split(g),l="";for(let t=a.length-1;t>=0;t-=1){let e=a[t],{isExternal:h,modifiers:u,hasImportantModifier:d,baseClassName:c,maybePostfixModifierPosition:p}=i(e);if(h){l=e+(l.length>0?" "+l:l);continue}let m=!!p,f=r(m?c.substring(0,p):c);if(!f){if(!m||!(f=r(c))){l=e+(l.length>0?" "+l:l);continue}m=!1}let g=0===u.length?"":1===u.length?u[0]:s(u).join(":"),y=d?g+"!":g,v=y+f;if(o.indexOf(v)>-1)continue;o.push(v);let x=n(f,m);for(let t=0;t<x.length;++t){let e=x[t];o.push(y+e)}l=e+(l.length>0?" "+l:l)}return l})(t,i);return a(t,n),n};return l=u=>(r=(i=(t=>({cache:(t=>{if(t<1)return{get:()=>void 0,set:()=>{}};let e=0,i=Object.create(null),r=Object.create(null),n=(n,s)=>{i[n]=s,++e>t&&(e=0,r=i,i=Object.create(null))};return{get(t){let e=i[t];return void 0!==e?e:void 0!==(e=r[t])?(n(t,e),e):void 0},set(t,e){t in i?i[t]=e:n(t,e)}}})(t.cacheSize),parseClassName:(t=>{let{prefix:e,experimentalParseClassName:i}=t,r=t=>{let e,i=[],r=0,n=0,s=0,o=t.length;for(let a=0;a<o;a++){let o=t[a];if(0===r&&0===n){if(":"===o){i.push(t.slice(s,a)),s=a+1;continue}if("/"===o){e=a;continue}}"["===o?r++:"]"===o?r--:"("===o?n++:")"===o&&n--}let a=0===i.length?t:t.slice(s),l=a,h=!1;return a.endsWith("!")?(l=a.slice(0,-1),h=!0):a.startsWith("!")&&(l=a.slice(1),h=!0),f(i,h,l,e&&e>s?e-s:void 0)};if(e){let t=e+":",i=r;r=e=>e.startsWith(t)?i(e.slice(t.length)):f(m,!1,e,void 0,!0)}if(i){let t=r;r=e=>i({className:e,parseClassName:t})}return r})(t),sortModifiers:(t=>{let e=new Map;return t.orderSensitiveModifiers.forEach((t,i)=>{e.set(t,1e6+i)}),t=>{let i=[],r=[];for(let n=0;n<t.length;n++){let s=t[n],o="["===s[0],a=e.has(s);o||a?(r.length>0&&(r.sort(),i.push(...r),r=[]),i.push(s)):r.push(s)}return r.length>0&&(r.sort(),i.push(...r)),i}})(t),...(t=>{let e=(t=>{let{theme:e,classGroups:i}=t;return o(i,e)})(t),{conflictingClassGroups:i,conflictingClassGroupModifiers:r}=t;return{getClassGroupId:t=>{if(t.startsWith("[")&&t.endsWith("]"))return(t=>-1===t.slice(1,-1).indexOf(":")?void 0:(()=>{let e=t.slice(1,-1),i=e.indexOf(":"),r=e.slice(0,i);return r?"arbitrary.."+r:void 0})())(t);let i=t.split("-"),r=+(""===i[0]&&i.length>1);return s(i,r,e)},getConflictingClassGroupIds:(t,e)=>{if(e){let e=r[t],s=i[t];return e?s?((t,e)=>{let i=Array(t.length+e.length);for(let e=0;e<t.length;e++)i[e]=t[e];for(let r=0;r<e.length;r++)i[t.length+r]=e[r];return i})(s,e):e:s||n}return i[t]||n}}})(t)}))(e.reduce((t,e)=>e(t),t()))).cache.get,a=i.cache.set,l=h,h(u)),(...t)=>l(((...t)=>{let e,i,r=0,n="";for(;r<t.length;)(e=t[r++])&&(i=y(e))&&(n&&(n+=" "),n+=i);return n})(...t))})(()=>{let t=x("color"),e=x("font"),i=x("text"),r=x("font-weight"),n=x("tracking"),s=x("leading"),o=x("breakpoint"),a=x("container"),l=x("spacing"),h=x("radius"),u=x("shadow"),d=x("inset-shadow"),c=x("text-shadow"),p=x("drop-shadow"),m=x("blur"),f=x("perspective"),g=x("aspect"),y=x("ease"),v=x("animate"),b=()=>["auto","avoid","all","avoid-page","page","left","right","column"],w=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],k=()=>[...w(),q,_],A=()=>["auto","hidden","clip","visible","scroll"],M=()=>["auto","contain","none"],T=()=>[q,_,l],P=()=>[C,"full","auto",...T()],S=()=>[R,"none","subgrid",q,_],L=()=>["auto",{span:["full",R,q,_]},R,q,_],O=()=>[R,"auto",q,_],z=()=>["auto","min","max","fr",q,_],I=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],J=()=>["start","end","center","stretch","center-safe","end-safe"],tt=()=>["auto",...T()],te=()=>[C,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...T()],ti=()=>[t,q,_],tr=()=>[...w(),G,$,{position:[q,_]}],tn=()=>["no-repeat",{repeat:["","x","y","space","round"]}],ts=()=>["auto","cover","contain",K,N,{size:[q,_]}],to=()=>[V,Y,B],ta=()=>["","none","full",h,q,_],tl=()=>["",E,Y,B],th=()=>["solid","dashed","dotted","double"],tu=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],td=()=>[E,V,G,$],tc=()=>["","none",m,q,_],tp=()=>["none",E,q,_],tm=()=>["none",E,q,_],tf=()=>[E,q,_],tg=()=>[C,"full",...T()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[j],breakpoint:[j],color:[D],container:[j],"drop-shadow":[j],ease:["in","out","in-out"],font:[F],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[j],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[j],shadow:[j],spacing:["px",E],text:[j],"text-shadow":[j],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",C,_,q,g]}
vendor: 12,796 bytes, line 1
1],container:["container"],columns:[{columns:[E,_,q,a]}],"break-after":[{"break-after":b()}],"break-before":[{"break-before":b()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:k()}],overflow:[{overflow:A()}],"overflow-x":[{"overflow-x":A()}],"overflow-y":[{"overflow-y":A()}],overscroll:[{overscroll:M()}],"overscroll-x":[{"overscroll-x":M()}],"overscroll-y":[{"overscroll-y":M()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:P()}],"inset-x":[{"inset-x":P()}],"inset-y":[{"inset-y":P()}],start:[{start:P()}],end:[{end:P()}],top:[{top:P()}],right:[{right:P()}],bottom:[{bottom:P()}],left:[{left:P()}],visibility:["visible","invisible","collapse"],z:[{z:[R,"auto",q,_]}],basis:[{basis:[C,"full","auto",a,...T()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[E,C,"auto","initial","none",_]}],grow:[{grow:["",E,q,_]}],shrink:[{shrink:["",E,q,_]}],order:[{order:[R,"first","last","none",q,_]}],"grid-cols":[{"grid-cols":S()}],"col-start-end":[{col:L()}],"col-start":[{"col-start":O()}],"col-end":[{"col-end":O()}],"grid-rows":[{"grid-rows":S()}],"row-start-end":[{row:L()}],"row-start":[{"row-start":O()}],"row-end":[{"row-end":O()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":z()}],"auto-rows":[{"auto-rows":z()}],gap:[{gap:T()}],"gap-x":[{"gap-x":T()}],"gap-y":[{"gap-y":T()}],"justify-content":[{justify:[...I(),"normal"]}],"justify-items":[{"justify-items":[...J(),"normal"]}],"justify-self":[{"justify-self":["auto",...J()]}],"align-content":[{content:["normal",...I()]}],"align-items":[{items:[...J(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...J(),{baseline:["","last"]}]}],"place-content":[{"place-content":I()}],"place-items":[{"place-items":[...J(),"baseline"]}],"place-self":[{"place-self":["auto",...J()]}],p:[{p:T()}],px:[{px:T()}],py:[{py:T()}],ps:[{ps:T()}],pe:[{pe:T()}],pt:[{pt:T()}],pr:[{pr:T()}],pb:[{pb:T()}],pl:[{pl:T()}],m:[{m:tt()}],mx:[{mx:tt()}],my:[{my:tt()}],ms:[{ms:tt()}],me:[{me:tt()}],mt:[{mt:tt()}],mr:[{mr:tt()}],mb:[{mb:tt()}],ml:[{ml:tt()}],"space-x":[{"space-x":T()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":T()}],"space-y-reverse":["space-y-reverse"],size:[{size:te()}],w:[{w:[a,"screen",...te()]}],"min-w":[{"min-w":[a,"screen","none",...te()]}],"max-w":[{"max-w":[a,"screen","none","prose",{screen:[o]},...te()]}],h:[{h:["screen","lh",...te()]}],"min-h":[{"min-h":["screen","lh","none",...te()]}],"max-h":[{"max-h":["screen","lh",...te()]}],"font-size":[{text:["base",i,Y,B]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,q,U]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",V,_]}],"font-family":[{font:[X,_,e]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[n,q,_]}],"line-clamp":[{"line-clamp":[E,"none",q,U]}],leading:[{leading:[s,...T()]}],"list-image":[{"list-image":["none",q,_]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",q,_]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:ti()}],"text-color":[{text:ti()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...th(),"wavy"]}],"text-decoration-thickness":[{decoration:[E,"from-font","auto",q,B]}],"text-decoration-color":[{decoration:ti()}],"underline-offset":[{"underline-offset":[E,"auto",q,_]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:T()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",q,_]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",q,_]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:tr()}],"bg-repeat":[{bg:tn()}],"bg-size":[{bg:ts()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},R,q,_],radial:["",q,_],conic:[R,q,_]},Z,W]}],"bg-color":[{bg:ti()}],"gradient-from-pos":[{from:to()}],"gradient-via-pos":[{via:to()}],"gradient-to-pos":[{to:to()}],"gradient-from":[{from:ti()}],"gradient-via":[{via:ti()}],"gradient-to":[{to:ti()}],rounded:[{rounded:ta()}],"rounded-s":[{"rounded-s":ta()}],"rounded-e":[{"rounded-e":ta()}],"rounded-t":[{"rounded-t":ta()}],"rounded-r":[{"rounded-r":ta()}],"rounded-b":[{"rounded-b":ta()}],"rounded-l":[{"rounded-l":ta()}],"rounded-ss":[{"rounded-ss":ta()}],"rounded-se":[{"rounded-se":ta()}],"rounded-ee":[{"rounded-ee":ta()}],"rounded-es":[{"rounded-es":ta()}],"rounded-tl":[{"rounded-tl":ta()}],"rounded-tr":[{"rounded-tr":ta()}],"rounded-br":[{"rounded-br":ta()}],"rounded-bl":[{"rounded-bl":ta()}],"border-w":[{border:tl()}],"border-w-x":[{"border-x":tl()}],"border-w-y":[{"border-y":tl()}],"border-w-s":[{"border-s":tl()}],"border-w-e":[{"border-e":tl()}],"border-w-t":[{"border-t":tl()}],"border-w-r":[{"border-r":tl()}],"border-w-b":[{"border-b":tl()}],"border-w-l":[{"border-l":tl()}],"divide-x":[{"divide-x":tl()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":tl()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...th(),"hidden","none"]}],"divide-style":[{divide:[...th(),"hidden","none"]}],"border-color":[{border:ti()}],"border-color-x":[{"border-x":ti()}],"border-color-y":[{"border-y":ti()}],"border-color-s":[{"border-s":ti()}],"border-color-e":[{"border-e":ti()}],"border-color-t":[{"border-t":ti()}],"border-color-r":[{"border-r":ti()}],"border-color-b":[{"border-b":ti()}],"border-color-l":[{"border-l":ti()}],"divide-color":[{divide:ti()}],"outline-style":[{outline:[...th(),"none","hidden"]}],"outline-offset":[{"outline-offset":[E,q,_]}],"outline-w":[{outline:["",E,Y,B]}],"outline-color":[{outline:ti()}],shadow:[{shadow:["","none",u,Q,H]}],"shadow-color":[{shadow:ti()}],"inset-shadow":[{"inset-shadow":["none",d,Q,H]}],"inset-shadow-color":[{"inset-shadow":ti()}],"ring-w":[{ring:tl()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:ti()}],"ring-offset-w":[{"ring-offset":[E,B]}],"ring-offset-color":[{"ring-offset":ti()}],"inset-ring-w":[{"inset-ring":tl()}],"inset-ring-color":[{"inset-ring":ti()}],"text-shadow":[{"text-shadow":["none",c,Q,H]}],"text-shadow-color":[{"text-shadow":ti()}],opacity:[{opacity:[E,q,_]}],"mix-blend":[{"mix-blend":[...tu(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":tu()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[E]}],"mask-image-linear-from-pos":[{"mask-linear-from":td()}],"mask-image-linear-to-pos":[{"mask-linear-to":td()}],"mask-image-linear-from-color":[{"mask-linear-from":ti()}],"mask-image-linear-to-color":[{"mask-linear-to":ti()}],"mask-image-t-from-pos":[{"mask-t-from":td()}],"mask-image-t-to-pos":[{"mask-t-to":td()}],"mask-image-t-from-color":[{"mask-t-from":ti()}],"mask-image-t-to-color":[{"mask-t-to":ti()}],"mask-image-r-from-pos":[{"mask-r-from":td()}],"mask-image-r-to-pos":[{"mask-r-to":td()}],"mask-image-r-from-color":[{"mask-r-from":ti()}],"mask-image-r-to-color":[{"mask-r-to":ti()}],"mask-image-b-from-pos":[{"mask-b-from":td()}],"mask-image-b-to-pos":[{"mask-b-to":td()}],"mask-image-b-from-color":[{"mask-b-from":ti()}],"mask-image-b-to-color":[{"mask-b-to":ti()}],"mask-image-l-from-pos":[{"mask-l-from":td()}],"mask-image-l-to-pos":[{"mask-l-to":td()}],"mask-image-l-from-color":[{"mask-l-from":ti()}],"mask-image-l-to-color":[{"mask-l-to":ti()}],"mask-image-x-from-pos":[{"mask-x-from":td()}],"mask-image-x-to-pos":[{"mask-x-to":td()}],"mask-image-x-from-color":[{"mask-x-from":ti()}],"mask-image-x-to-color":[{"mask-x-to":ti()}],"mask-image-y-from-pos":[{"mask-y-from":td()}],"mask-image-y-to-pos":[{"mask-y-to":td()}],"mask-image-y-from-color":[{"mask-y-from":ti()}],"mask-image-y-to-color":[{"mask-y-to":ti()}],"mask-image-radial":[{"mask-radial":[q,_]}],"mask-image-radial-from-pos":[{"mask-radial-from":td()}],"mask-image-radial-to-pos":[{"mask-radial-to":td()}],"mask-image-radial-from-color":[{"mask-radial-from":ti()}],"mask-image-radial-to-color":[{"mask-radial-to":ti()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":w()}],"mask-image-conic-pos":[{"mask-conic":[E]}],"mask-image-conic-from-pos":[{"mask-conic-from":td()}],"mask-image-conic-to-pos":[{"mask-conic-to":td()}],"mask-image-conic-from-color":[{"mask-conic-from":ti()}],"mask-image-conic-to-color":[{"mask-conic-to":ti()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:tr()}],"mask-repeat":[{mask:tn()}],"mask-size":[{mask:ts()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",q,_]}],filter:[{filter:["","none",q,_]}],blur:[{blur:tc()}],brightness:[{brightness:[E,q,_]}],contrast:[{contrast:[E,q,_]}],"drop-shadow":[{"drop-shadow":["","none",p,Q,H]}],"drop-shadow-color":[{"drop-shadow":ti()}],grayscale:[{grayscale:["",E,q,_]}],"hue-rotate":[{"hue-rotate":[E,q,_]}],invert:[{invert:["",E,q,_]}],saturate:[{saturate:[E,q,_]}],sepia:[{sepia:["",E,q,_]}],"backdrop-filter":[{"backdrop-filter":["","none",q,_]}],"backdrop-blur":[{"backdrop-blur":tc()}],"backdrop-brightness":[{"backdrop-brightness":[E,q,_]}],"backdrop-contrast":[{"backdrop-contrast":[E,q,_]}],"backdrop-grayscale":[{"backdrop-grayscale":["",E,q,_]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[E,q,_]}],"backdrop-invert":[{"backdrop-invert":["",E,q,_]}],"backdrop-opacity":[{"backdrop-opacity":[E,q,_]}],"backdrop-saturate":[{"backdrop-saturate":[E,q,_]}],"backdrop-sepia":[{"backdrop-sepia":["",E,q,_]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":T()}],"border-spacing-x":[{"border-spacing-x":T()}],"border-spacing-y":[{"border-spacing-y":T()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",q,_]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[E,"initial",q,_]}],ease:[{ease:["linear","initial",y,q,_]}],delay:[{delay:[E,q,_]}],animate:[{animate:["none",v,q,_]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[f,q,_]}],"perspective-origin":[{"perspective-origin":k()}],rotate:[{rotate:tp()}],"rotate-x":[{"rotate-x":tp()}],"rotate-y":[{"rotate-y":tp()}],"rotate-z":[{"rotate-z":tp()}],scale:[{scale:tm()}],"scale-x":[{"scale-x":tm()}],"scale-y":[{"scale-y":tm()}],"scale-z":[{"scale-z":tm()}],"scale-3d":["scale-3d"],skew:[{skew:tf()}],"skew-x":[{"skew-x":tf()}],"skew-y":[{"skew-y":tf()}],transform:[{transform:[q,_,"","none","gpu","cpu"]}],"transform-origin":[{origin:k()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:tg()}],"translate-x":[{"translate-x":tg()}],"translate-y":[{"translate-y":tg()}],"translate-z":[{"translate-z":tg()}],"translate-none":["translate-none"],accent:[{accent:ti()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:ti()}
1],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",q,_]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":T()}],"scroll-mx":[{"scroll-mx":T()}],"scroll-my":[{"scroll-my":T()}],"scroll-ms":[{"scroll-ms":T()}],"scroll-me":[{"scroll-me":T()}],"scroll-mt":[{"scroll-mt":T()}],"scroll-mr":[{"scroll-mr":T()}],"scroll-mb":[{"scroll-mb":T()}],"scroll-ml":[{"scroll-ml":T()}],"scroll-p":[{"scroll-p":T()}],"scroll-px":[{"scroll-px":T()}],"scroll-py":[{"scroll-py":T()}],"scroll-ps":[{"scroll-ps":T()}],"scroll-pe":[{"scroll-pe":T()}],"scroll-pt":[{"scroll-pt":T()}],"scroll-pr":[{"scroll-pr":T()}],"scroll-pb":[{"scroll-pb":T()}],"scroll-pl":[{"scroll-pl":T()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",q,_]}],fill:[{fill:["none",...ti()]}],"stroke-w":[{stroke:[E,Y,B,U]}],stroke:[{stroke:["none",...ti()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}})},5917:(t,e,i)=>{i.d(e,{A:()=>r});let r=(0,i(1847).A)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]])},6154:(t,e,i)=>{i.d(e,{A:()=>r});let r=(0,i(1847).A)("zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]])},6168:(t,e,i)=>{i.d(e,{A:()=>r});let r=(0,i(1847).A)("circle-play",[["path",{d:"M9 9.003a1 1 0 0 1 1.517-.859l4.997 2.997a1 1 0 0 1 0 1.718l-4.997 2.997A1 1 0 0 1 9 14.996z",key:"kmsa83"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]])},6191:(t,e,i)=>{i.d(e,{A:()=>r});let r=(0,i(1847).A)("plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]])},6497:(t,e,i)=>{i.d(e,{N:()=>x});var r=i(5155),n=i(2115),s=i(296),o=i(4416),a=i(6553),l=i(9686),h=i(1402),u=i(3127);function d(t,e){if("function"==typeof t)return t(e);null!=t&&(t.current=e)}class c extends n.Component{getSnapshotBeforeUpdate(t){let e=this.props.childRef.current;
1if(e&&t.isPresent&&!this.props.isPresent){let t=e.offsetParent,i=(0,h.s)(t)&&t.offsetWidth||0,r=this.props.sizeRef.current;r.height=e.offsetHeight||0,r.width=e.offsetWidth||0,r.top=e.offsetTop,r.left=e.offsetLeft,r.right=i-r.width-r.left}return null}componentDidUpdate(){}render(){return this.props.children}}function p(t){let{children:e,isPresent:i,anchorX:s,root:o}=t,a=(0,n.useId)(),l=(0,n.useRef)(null),h=(0,n.useRef)({width:0,height:0,top:0,left:0,right:0}),{nonce:p}=(0,n.useContext)(u.Q),m=function(...t){return n.useCallback(function(...t){return e=>{let i=!1,r=t.map(t=>{let r=d(t,e);return i||"function"!=typeof r||(i=!0),r});if(i)return()=>{for(let e=0;e<r.length;e++){let i=r[e];"function"==typeof i?i():d(t[e],null)}}}}(...t),t)}(l,null==e?void 0:e.ref);return(0,n.useInsertionEffect)(()=>{let{width:t,height:e,top:r,left:n,right:u}=h.current;if(i||!l.current||!t||!e)return;l.current.dataset.motionPopId=a;let d=document.createElement("style");p&&(d.nonce=p);let c=null!=o?o:document.head;return c.appendChild(d),d.sheet&&d.sheet.insertRule('\n          [data-motion-pop-id="'.concat(a,'"] {\n            position: absolute !important;\n            width: ').concat(t,"px !important;\n            height: ").concat(e,"px !important;\n            ").concat("left"===s?"left: ".concat(n):"right: ".concat(u),"px !important;\n            top: ").concat(r,"px !important;\n          }\n        ")),()=>{c.contains(d)&&c.removeChild(d)}},[i]),(0,r.jsx)(c,{isPresent:i,childRef:l,sizeRef:h,children:n.cloneElement(e,{ref:m})})}let m=t=>{let{children:e,initial:i,isPresent:s,onExitComplete:a,custom:h,presenceAffectsLayout:u,mode:d,anchorX:c,root:m}=t,g=(0,o.M)(f),y=(0,n.useId)(),v=!0,x=(0,n.useMemo)(()=>(v=!1,{id:y,initial:i,isPresent:s,custom:h,onExitComplete:t=>{for(let e of(g.set(t,!0),g.values()))if(!e)return;a&&a()},register:t=>(g.set(t,!1),()=>g.delete(t))}),[s,g,a]);return u&&v&&(x={...x}),(0,n.useMemo)(()=>{g.forEach((t,e)=>g.set(e,!1))},[s]),n.useEffect(()=>{s||g.size||!a||a()},[s]),"popLayout"===d&&(e=(0,r.jsx)(p,{isPresent:s,anchorX:c,root:m,children:e})),(0,r.jsx)(l.t.Provider,{value:x,children:e})};function f(){return new Map}var g=i(5601);let y=t=>t.key||"";function v(t){let e=[];return n.Children.forEach(t,t=>{(0,n.isValidElement)(t)&&e.push(t)}),e}let x=t=>{let{children:e,custom:i,initial:l=!0,onExitComplete:h,presenceAffectsLayout:u=!0,mode:d="sync",propagate:c=!1,anchorX:p="left",root:f}=t,[x,b]=(0,g.xQ)(c),w=(0,n.useMemo)(()=>v(e),[e]),k=c&&!x?[]:w.map(y),A=(0,n.useRef)(!0),M=(0,n.useRef)(w),T=(0,o.M)(()=>new Map),[P,S]=(0,n.useState)(w),[C,E]=(0,n.useState)(w);(0,a.E)(()=>{A.current=!1,M.current=w;for(let t=0;t<C.length;t++){let e=y(C[t]);k.includes(e)?T.delete(e):!0!==T.get(e)&&T.set(e,!1)}},[C,k.length,k.join("-")]);let R=[];if(w!==P){let t=[...w];for(let e=0;e<C.length;e++){let i=C[e],r=y(i);k.includes(r)||(t.splice(e,0,i),R.push(i))}return"wait"===d&&R.length&&(t=R),E(v(t)),S(w),null}let{forceRender:V}=(0,n.useContext)(s.L);return(0,r.jsx)(r.Fragment,{children:C.map(t=>{let e=y(t),n=(!c||!!x)&&(w===C||k.includes(e));return(0,r.jsx)(m,{isPresent:n,initial:(!A.current||!!l)&&void 0,custom:i,presenceAffectsLayout:u,mode:d,root:f,onExitComplete:n?void 0:()=>{if(!T.has(e))return;T.set(e,!0);let t=!0;T.forEach(e=>{e||(t=!1)}),t&&(null==V||V(),E(M.current),c&&(null==b||b()),h&&h())},anchorX:p,children:t},e)})})}},6553:(t,e,i)=>{i.d(e,{E:()=>n});var r=i(2115);let n=i(3577).B?r.useLayoutEffect:r.useEffect},6651:(t,e,i)=>{i.d(e,{A:()=>r});let r=(0,i(1847).A)("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]])},6907:(t,e,i)=>{i.d(e,{A:()=>r});let r=(0,i(1847).A)("shield-check",[["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"}]])},7066:(t,e,i)=>{i.d(e,{A:()=>r});let r=(0,i(1847).A)("clipboard-list",[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}],["path",{d:"M12 11h4",key:"1jrz19"}],["path",{d:"M12 16h4",key:"n85exb"}],["path",{d:"M8 11h.01",key:"1dfujw"}],["path",{d:"M8 16h.01",key:"18s6g9"}]])},7125:(t,e,i)=>{i.d(e,{A:()=>r});let r=(0,i(1847).A)("minus",[["path",{d:"M5 12h14",key:"1ays0h"}]])},7161:(t,e,i)=>{i.d(e,{A:()=>r});let r=(0,i(1847).A)("instagram",[["rect",{width:"20",height:"20",x:"2",y:"2",rx:"5",ry:"5",key:"2e1cvw"}],["path",{d:"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z",key:"9exkf1"}],["line",{x1:"17.5",x2:"17.51",y1:"6.5",y2:"6.5",key:"r4j83e"}]])},7744:(t,e,i)=>{i.d(e,{A:()=>r});let r=(0,i(1847).A)("stethoscope",[["path",{d:"M11 2v2",key:"1539x4"}],["path",{d:"M5 2v2",key:"1yf1q8"}],["path",{d:"M5 3H4a2 2 0 0 0-2 2v4a6 6 0 0 0 12 0V5a2 2 0 0 0-2-2h-1",key:"rb5t3r"}],["path",{d:"M8 15a6 6 0 0 0 12 0v-3",key:"x18d4x"}],["circle",{cx:"20",cy:"10",r:"2",key:"ts1r5v"}]])},7772:(t,e,i)=>{i.d(e,{A:()=>r});let r=(0,i(1847).A)("ellipsis",[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]])},7937:(t,e,i)=>{i.d(e,{A:()=>r});let r=(0,i(1847).A)("book-open",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]])},8561:(t,e,i)=>{i.d(e,{K:()=>r});function r(t,e,i){if(t instanceof EventTarget)return[t];if("string"==typeof t){let r=document;e&&(r=e.current);let n=i?.[t]??r.querySelectorAll(t);return n?Array.from(n):[]}return Array.from(t)}},9442:(t,e,i)=>{i.d(e,{A:()=>r});let r=(0,i(1847).A)("graduation-cap",[["path",{d:"M21.42 10.922a1 1 0 0 0-.019-1.838L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.832l8.57 3.908a2 2 0 0 0 1.66 0z",key:"j76jl0"}],["path",{d:"M22 10v6",key:"1lu8f3"}],["path",{d:"M6 12.5V16a6 3 0 0 0 12 0v-3.5",key:"1r8lef"}]])}
1,9540:(t,e,i)=>{i.d(e,{A:()=>r});let r=(0,i(1847).A)("menu",[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]])},9633:(t,e,i)=>{i.d(e,{A:()=>r});let r=(0,i(1847).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"}]])},9686:(t,e,i)=>{i.d(e,{t:()=>r});let r=(0,i(2115).createContext)(null)},9715:(t,e,i)=>{i.d(e,{A:()=>r});let r=(0,i(1847).A)("file-text",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]])},9867:(t,e,i)=>{i.d(e,{A:()=>r});let r=(0,i(1847).A)("download",[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]])}}]);

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.