import{a as pn,b as bg,c as hr,d as R,e as fe,f as Kt,g as Qu,h as $t}from"./chunk-JR5VT52U.mjs";import{a as Ku,b as Fe,c as P}from"./chunk-RIUMFBNJ.mjs";var St={};Ku(St,{Children:()=>mn,Component:()=>Ce,Fragment:()=>gn,Profiler:()=>qT,PureComponent:()=>XT,StrictMode:()=>YT,Suspense:()=>mi,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:()=>KT,cloneElement:()=>pr,createContext:()=>ve,createElement:()=>Ji,createFactory:()=>QT,createRef:()=>_g,default:()=>w,forwardRef:()=>Ie,isValidElement:()=>Ot,lazy:()=>ZT,memo:()=>Ga,startTransition:()=>Qt,unstable_act:()=>JT,useCallback:()=>K,useContext:()=>A,useDebugValue:()=>eR,useDeferredValue:()=>tR,useEffect:()=>j,useId:()=>gi,useImperativeHandle:()=>nR,useInsertionEffect:()=>lt,useLayoutEffect:()=>Ae,useMemo:()=>se,useReducer:()=>rR,useRef:()=>V,useState:()=>Be,useSyncExternalStore:()=>Ig,useTransition:()=>iR,version:()=>oR});var w={},is=Symbol.for("react.element"),OT=Symbol.for("react.portal"),MT=Symbol.for("react.fragment"),LT=Symbol.for("react.strict_mode"),VT=Symbol.for("react.profiler"),AT=Symbol.for("react.provider"),DT=Symbol.for("react.context"),zT=Symbol.for("react.forward_ref"),BT=Symbol.for("react.suspense"),$T=Symbol.for("react.memo"),NT=Symbol.for("react.lazy"),xg=Symbol.iterator;function jT(e){return e===null||typeof e!="object"?null:(e=xg&&e[xg]||e["@@iterator"],typeof e=="function"?e:null)}var kg={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Cg=Object.assign,Tg={};function Zi(e,t,n){this.props=e,this.context=t,this.refs=Tg,this.updater=n||kg}Zi.prototype.isReactComponent={};Zi.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Zi.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Rg(){}Rg.prototype=Zi.prototype;function Ju(e,t,n){this.props=e,this.context=t,this.refs=Tg,this.updater=n||kg}var ef=Ju.prototype=new Rg;ef.constructor=Ju;Cg(ef,Zi.prototype);ef.isPureReactComponent=!0;var wg=Array.isArray,Eg=Object.prototype.hasOwnProperty,tf={current:null},Fg={key:!0,ref:!0,__self:!0,__source:!0};function Pg(e,t,n){var r,i={},o=null,s=null;if(t!=null)for(r in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(o=""+t.key),t)Eg.call(t,r)&&!Fg.hasOwnProperty(r)&&(i[r]=t[r]);var a=arguments.length-2;if(a===1)i.children=n;else if(1e;function mR(e){let t=new Set,n=new Set,r=!1,i=!1,o=new WeakSet,s={delta:0,timestamp:0,isProcessing:!1};function a(c){o.has(c)&&(l.schedule(c),e()),c(s)}let l={schedule:(c,u=!1,f=!1)=>{let m=f&&r?t:n;return u&&o.add(c),m.has(c)||m.add(c),c},cancel:c=>{n.delete(c),o.delete(c)},process:c=>{if(s=c,r){i=!0;return}r=!0,[t,n]=[n,t],n.clear(),t.forEach(a),r=!1,i&&(i=!1,l.process(c))}};return l}var as=["read","resolveKeyframes","update","preRender","render","postRender"],gR=40;function ry(e,t){let n=!1,r=!0,i={delta:0,timestamp:0,isProcessing:!1},o=()=>n=!0,s=as.reduce((p,h)=>(p[h]=mR(o),p),{}),{read:a,resolveKeyframes:l,update:c,preRender:u,render:f,postRender:d}=s,m=()=>{let p=ll.useManualTiming?i.timestamp:performance.now();n=!1,i.delta=r?1e3/60:Math.max(Math.min(p-i.timestamp,gR),1),i.timestamp=p,i.isProcessing=!0,a.process(i),l.process(i),c.process(i),u.process(i),f.process(i),d.process(i),i.isProcessing=!1,n&&t&&(r=!1,e(m))},v=()=>{n=!0,r=!0,i.isProcessing||e(m)};return{schedule:as.reduce((p,h)=>{let y=s[h];return p[h]=(x,k=!1,S=!1)=>(n||v(),y.schedule(x,k,S)),p},{}),cancel:p=>{for(let h=0;h(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,vR=1e-7,yR=12;function bR(e,t,n,r,i){let o,s,a=0;do s=t+(n-t)/2,o=iy(s,r,i)-e,o>0?n=s:t=s;while(Math.abs(o)>vR&&++abR(o,0,1,e,n);return o=>o===0||o===1?o:iy(i(o),t,r)}var zf=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Bf=e=>t=>1-e(1-t),$f=co(.33,1.53,.69,.99),cl=Bf($f),Nf=zf(cl),jf=e=>(e*=2)<1?.5*cl(e):.5*(2-Math.pow(2,-10*(e-1))),ul=e=>1-Math.sin(Math.acos(e)),Hf=Bf(ul),Wf=zf(ul),uo=vt,Zt=vt,gr=(e,t,n)=>n>t?t:n({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Ar=ws("deg"),Hn=ws("%"),Q=ws("px"),xR=ws("vh"),wR=ws("vw"),Mg={...Hn,parse:e=>Hn.parse(e)/100,transform:e=>Hn.transform(e*100)},fo={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},ms={...fo,transform:e=>gr(0,1,e)},qa={...fo,default:1},us=e=>Math.round(e*1e5)/1e5,Uf=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function SR(e){return e==null}var kR=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Gf=(e,t)=>n=>!!(typeof n=="string"&&kR.test(n)&&n.startsWith(e)||t&&!SR(n)&&Object.prototype.hasOwnProperty.call(n,t)),oy=(e,t,n)=>r=>{if(typeof r!="string")return r;let[i,o,s,a]=r.match(Uf);return{[e]:parseFloat(i),[t]:parseFloat(o),[n]:parseFloat(s),alpha:a!==void 0?parseFloat(a):1}},CR=e=>gr(0,255,e),rf={...fo,transform:e=>Math.round(CR(e))},xi={test:Gf("rgb","red"),parse:oy("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+rf.transform(e)+", "+rf.transform(t)+", "+rf.transform(n)+", "+us(ms.transform(r))+")"};function TR(e){let t="",n="",r="",i="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}var vf={test:Gf("#"),parse:TR,transform:xi.transform},to={test:Gf("hsl","hue"),parse:oy("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+Hn.transform(us(t))+", "+Hn.transform(us(n))+", "+us(ms.transform(r))+")"},gt={test:e=>xi.test(e)||vf.test(e)||to.test(e),parse:e=>xi.test(e)?xi.parse(e):to.test(e)?to.parse(e):vf.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?xi.transform(e):to.transform(e)},RR=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function ER(e){var t,n;return isNaN(e)&&typeof e=="string"&&(((t=e.match(Uf))===null||t===void 0?void 0:t.length)||0)+(((n=e.match(RR))===null||n===void 0?void 0:n.length)||0)>0}var sy="number",ay="color",FR="var",PR="var(",Lg="${}",_R=/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 gs(e){let t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[],o=0,a=t.replace(_R,l=>(gt.test(l)?(r.color.push(o),i.push(ay),n.push(gt.parse(l))):l.startsWith(PR)?(r.var.push(o),i.push(FR),n.push(l)):(r.number.push(o),i.push(sy),n.push(parseFloat(l))),++o,Lg)).split(Lg);return{values:n,split:a,indexes:r,types:i}}function ly(e){return gs(e).values}function cy(e){let{split:t,types:n}=gs(e),r=t.length;return i=>{let o="";for(let s=0;stypeof e=="number"?0:e;function OR(e){let t=ly(e);return cy(e)(t.map(IR))}var vr={test:ER,parse:ly,createTransformer:cy,getAnimatableNone:OR},Pn=e=>e*1e3,Wn=e=>e/1e3,of=.001,MR=.01,Vg=10,LR=.05,VR=1;function uy({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let i,o;uo(e<=Pn(Vg),"Spring duration must be 10 seconds or less");let s=1-t;s=gr(LR,VR,s),e=gr(MR,Vg,Wn(e)),s<1?(i=c=>{let u=c*s,f=u*e,d=u-n,m=yf(c,s),v=Math.exp(-f);return of-d/m*v},o=c=>{let f=c*s*e,d=f*n+n,m=Math.pow(s,2)*Math.pow(c,2)*e,v=Math.exp(-f),g=yf(Math.pow(c,2),s);return(-i(c)+of>0?-1:1)*((d-m)*v)/g}):(i=c=>{let u=Math.exp(-c*e),f=(c-n)*e+1;return-of+u*f},o=c=>{let u=Math.exp(-c*e),f=(n-c)*(e*e);return u*f});let a=5/e,l=DR(i,o,a);if(e=Pn(e),isNaN(l))return{stiffness:100,damping:10,duration:e};{let c=Math.pow(l,2)*r;return{stiffness:c,damping:s*2*Math.sqrt(r*c),duration:e}}}var AR=12;function DR(e,t,n){let r=n;for(let i=1;ie[n]!==void 0)}function NR(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!Ag(e,$R)&&Ag(e,BR)){let n=uy(e);t={...t,...n,mass:1},t.isResolvedFromDuration=!0}return t}function Ss({keyframes:e,restDelta:t,restSpeed:n,...r}){let i=e[0],o=e[e.length-1],s={done:!1,value:i},{stiffness:a,damping:l,mass:c,duration:u,velocity:f,isResolvedFromDuration:d}=NR({...r,velocity:-Wn(r.velocity||0)}),m=f||0,v=l/(2*Math.sqrt(a*c)),g=o-i,b=Wn(Math.sqrt(a/c)),p=Math.abs(g)<5;n||(n=p?.01:2),t||(t=p?.005:.5);let h;if(v<1){let y=yf(b,v);h=x=>{let k=Math.exp(-v*b*x);return o-k*((m+v*b*g)/y*Math.sin(y*x)+g*Math.cos(y*x))}}else if(v===1)h=y=>o-Math.exp(-b*y)*(g+(m+b*g)*y);else{let y=b*Math.sqrt(v*v-1);h=x=>{let k=Math.exp(-v*b*x),S=Math.min(y*x,300);return o-k*((m+v*b*g)*Math.sinh(S)+y*g*Math.cosh(S))/y}}return{calculatedDuration:d&&u||null,next:y=>{let x=h(y);if(d)s.done=y>=u;else{let k=0;v<1&&(k=y===0?Pn(m):fy(h,y,x));let S=Math.abs(k)<=n,T=Math.abs(o-x)<=t;s.done=S&&T}return s.value=s.done?o:x,s}}}function bf({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:o=500,modifyTarget:s,min:a,max:l,restDelta:c=.5,restSpeed:u}){let f=e[0],d={done:!1,value:f},m=E=>a!==void 0&&El,v=E=>a===void 0?l:l===void 0||Math.abs(a-E)-g*Math.exp(-E/r),y=E=>p+h(E),x=E=>{let O=h(E),I=y(E);d.done=Math.abs(O)<=c,d.value=d.done?p:I},k,S,T=E=>{m(d.value)&&(k=E,S=Ss({keyframes:[d.value,v(d.value)],velocity:fy(y,E,d.value),damping:i,stiffness:o,restDelta:c,restSpeed:u}))};return T(0),{calculatedDuration:null,next:E=>{let O=!1;return!S&&k===void 0&&(O=!0,x(E),T(E)),k!==void 0&&E>=k?S.next(E-k):(!O&&x(E),d)}}}var dy=co(.42,0,1,1),hy=co(0,0,.58,1),Xf=co(.42,0,.58,1),jR=(e,t)=>n=>t(e(n)),Un=(...e)=>e.reduce(jR),yr=(e,t,n)=>{let r=t-e;return r===0?1:(n-e)/r},Oe=(e,t,n)=>e+(t-e)*n;function sf(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function HR({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,o=0,s=0;if(!t)i=o=s=n;else{let a=n<.5?n*(1+t):n+t-n*t,l=2*n-a;i=sf(l,a,e+1/3),o=sf(l,a,e),s=sf(l,a,e-1/3)}return{red:Math.round(i*255),green:Math.round(o*255),blue:Math.round(s*255),alpha:r}}function tl(e,t){return n=>n>0?t:e}var af=(e,t,n)=>{let r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},WR=[vf,xi,to],UR=e=>WR.find(t=>t.test(e));function Dg(e){let t=UR(e);if(uo(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`),!t)return!1;let n=t.parse(e);return t===to&&(n=HR(n)),n}var zg=(e,t)=>{let n=Dg(e),r=Dg(t);if(!n||!r)return tl(e,t);let i={...n};return o=>(i.red=af(n.red,r.red,o),i.green=af(n.green,r.green,o),i.blue=af(n.blue,r.blue,o),i.alpha=Oe(n.alpha,r.alpha,o),xi.transform(i))},py=e=>t=>typeof t=="string"&&t.startsWith(e),my=py("--"),GR=py("var(--"),Yf=e=>GR(e)?qR.test(e.split("/*")[0].trim()):!1,qR=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,xf=new Set(["none","hidden"]);function XR(e,t){return xf.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function YR(e,t){return n=>Oe(e,t,n)}function Kf(e){return typeof e=="number"?YR:typeof e=="string"?Yf(e)?tl:gt.test(e)?zg:ZR:Array.isArray(e)?gy:typeof e=="object"?gt.test(e)?zg:KR:tl}function gy(e,t){let n=[...e],r=n.length,i=e.map((o,s)=>Kf(o)(o,t[s]));return o=>{for(let s=0;s{for(let o in r)n[o]=r[o](i);return n}}function QR(e,t){var n;let r=[],i={color:0,var:0,number:0};for(let o=0;o{let n=vr.createTransformer(t),r=gs(e),i=gs(t);return r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length?xf.has(e)&&!i.values.length||xf.has(t)&&!r.values.length?XR(e,t):Un(gy(QR(r,i),i.values),n):(uo(!0,`Complex values '${e}' and '${t}' 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.`),tl(e,t))};function Qf(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?Oe(e,t,n):Kf(e)(e,t)}function JR(e,t,n){let r=[],i=n||Qf,o=e.length-1;for(let s=0;st[0];if(o===2&&e[0]===e[1])return()=>t[1];e[0]>e[o-1]&&(e=[...e].reverse(),t=[...t].reverse());let s=JR(t,r,i),a=s.length,l=c=>{let u=0;if(a>1)for(;ul(gr(e[0],e[o-1],c)):l}var vy=e=>Array.isArray(e)&&typeof e[0]!="number",Zf=e=>Array.isArray(e)&&typeof e[0]=="number",Bg={linear:vt,easeIn:dy,easeInOut:Xf,easeOut:hy,circIn:ul,circInOut:Wf,circOut:Hf,backIn:cl,backInOut:Nf,backOut:$f,anticipate:jf},wf=e=>{if(Zf(e)){Zt(e.length===4,"Cubic bezier arrays must contain four numerical values.");let[t,n,r,i]=e;return co(t,n,r,i)}else if(typeof e=="string")return Zt(Bg[e]!==void 0,`Invalid easing type '${e}'`),Bg[e];return e};function yy(e,t){let n=e[e.length-1];for(let r=1;r<=t;r++){let i=yr(0,t,r);e.push(Oe(n,1,i))}}function Jf(e){let t=[0];return yy(t,e.length-1),t}function eE(e,t){return e.map(n=>n*t)}function tE(e,t){return e.map(()=>t||Xf).splice(0,e.length-1)}function vs({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){let i=vy(r)?r.map(wf):wf(r),o={done:!1,value:t[0]},s=eE(n&&n.length===t.length?n:Jf(t),e),a=ho(s,t,{ease:Array.isArray(i)?i:tE(t,i)});return{calculatedDuration:e,next:l=>(o.value=a(l),o.done=l>=e,o)}}var ks=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],zr=new Set(ks),nE=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),$g=e=>e===fo||e===Q,Ng=(e,t)=>parseFloat(e.split(", ")[t]),jg=(e,t)=>(n,{transform:r})=>{if(r==="none"||!r)return 0;let i=r.match(/^matrix3d\((.+)\)$/u);if(i)return Ng(i[1],t);{let o=r.match(/^matrix\((.+)\)$/u);return o?Ng(o[1],e):0}},rE=new Set(["x","y","z"]),iE=ks.filter(e=>!rE.has(e));function oE(e){let t=[];return iE.forEach(n=>{let r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}var so={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:jg(4,13),y:jg(5,14)};so.translateX=so.x;so.translateY=so.y;var wi=new Set,Sf=!1,kf=!1;function by(){if(kf){let e=Array.from(wi).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{let i=oE(r);i.length&&(n.set(r,i),r.render())}),e.forEach(r=>r.measureInitialState()),t.forEach(r=>{r.render();let i=n.get(r);i&&i.forEach(([o,s])=>{var a;(a=r.getValue(o))===null||a===void 0||a.set(s)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&P.scrollTo(0,r.suspendedScrollY)})}kf=!1,Sf=!1,wi.forEach(e=>e.complete()),wi.clear()}function xy(){wi.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(kf=!0)})}function sE(){xy(),by()}var ed=class{constructor(e,t,n,r,i,o=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=n,this.motionValue=r,this.element=i,this.isAsync=o}scheduleResolve(){this.isScheduled=!0,this.isAsync?(wi.add(this),Sf||(Sf=!0,Z.read(xy),Z.resolveKeyframes(by))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:n,motionValue:r}=this;for(let i=0;i(Qa===void 0&&Gn.set(Ue.isProcessing||ll.useManualTiming?Ue.timestamp:performance.now()),Qa),set:e=>{Qa=e,queueMicrotask(aE)}},nl={current:!1};function fl(e){return typeof e=="function"}var Hg=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(vr.test(e)||e==="0")&&!e.startsWith("url("));function lE(e){let t=e[0];if(e.length===1)return!0;for(let n=0;ne!==null;function dl(e,{repeat:t,repeatType:n="loop"},r){let i=e.filter(uE),o=t&&n!=="loop"&&t%2===1?0:i.length-1;return!o||r===void 0?i[o]:r}var fE=40,wy=class{constructor({autoplay:e=!0,delay:t=0,type:n="keyframes",repeat:r=0,repeatDelay:i=0,repeatType:o="loop",...s}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=Gn.now(),this.options={autoplay:e,delay:t,type:n,repeat:r,repeatDelay:i,repeatType:o,...s},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt?this.resolvedAt-this.createdAt>fE?this.resolvedAt:this.createdAt:this.createdAt}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&sE(),this._resolved}onKeyframesResolved(e,t){this.resolvedAt=Gn.now(),this.hasAttemptedResolve=!0;let{name:n,type:r,velocity:i,delay:o,onComplete:s,onUpdate:a,isGenerator:l}=this.options;if(!l&&!cE(e,n,r,i))if(nl.current||!o){a?.(dl(e,this.options,t)),s?.(),this.resolveFinishedPromise();return}else this.options.duration=0;let c=this.initPlayback(e,t);c!==!1&&(this._resolved={keyframes:e,finalKeyframe:t,...c},this.onPostResolved())}onPostResolved(){}then(e,t){return this.currentFinishedPromise.then(e,t)}updateFinishedPromise(){this.currentFinishedPromise=new Promise(e=>{this.resolveFinishedPromise=e})}},Cf=2e4;function Sy(e){let t=0,n=50,r=e.next(t);for(;!r.done&&t=Cf?1/0:t}var dE=e=>{let t=({timestamp:n})=>e(n);return{start:()=>Z.update(t,!0),stop:()=>Mt(t),now:()=>Ue.isProcessing?Ue.timestamp:Gn.now()}},hE={decay:bf,inertia:bf,tween:vs,keyframes:vs,spring:Ss},pE=e=>e/100,hl=class extends wy{constructor(e){super(e),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.teardown();let{onStop:a}=this.options;a&&a()};let{name:t,motionValue:n,element:r,keyframes:i}=this.options,o=r?.KeyframeResolver||ed,s=(a,l)=>this.onKeyframesResolved(a,l);this.resolver=new o(i,s,t,n,r),this.resolver.scheduleResolve()}initPlayback(e){let{type:t="keyframes",repeat:n=0,repeatDelay:r=0,repeatType:i,velocity:o=0}=this.options,s=fl(t)?t:hE[t]||vs,a,l;s!==vs&&typeof e[0]!="number"&&(a=Un(pE,Qf(e[0],e[1])),e=[0,100]);let c=s({...this.options,keyframes:e});i==="mirror"&&(l=s({...this.options,keyframes:[...e].reverse(),velocity:-o})),c.calculatedDuration===null&&(c.calculatedDuration=Sy(c));let{calculatedDuration:u}=c,f=u+r,d=f*(n+1)-r;return{generator:c,mirroredGenerator:l,mapPercentToKeyframes:a,calculatedDuration:u,resolvedDuration:f,totalDuration:d}}onPostResolved(){let{autoplay:e=!0}=this.options;this.play(),this.pendingPlayState==="paused"||!e?this.pause():this.state=this.pendingPlayState}tick(e,t=!1){let{resolved:n}=this;if(!n){let{keyframes:T}=this.options;return{done:!0,value:T[T.length-1]}}let{finalKeyframe:r,generator:i,mirroredGenerator:o,mapPercentToKeyframes:s,keyframes:a,calculatedDuration:l,totalDuration:c,resolvedDuration:u}=n;if(this.startTime===null)return i.next(0);let{delay:f,repeat:d,repeatType:m,repeatDelay:v,onUpdate:g}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-c/this.speed,this.startTime)),t?this.currentTime=e:this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=Math.round(e-this.startTime)*this.speed;let b=this.currentTime-f*(this.speed>=0?1:-1),p=this.speed>=0?b<0:b>c;this.currentTime=Math.max(b,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=c);let h=this.currentTime,y=i;if(d){let T=Math.min(this.currentTime,c)/u,E=Math.floor(T),O=T%1;!O&&T>=1&&(O=1),O===1&&E--,E=Math.min(E,d+1),!!(E%2)&&(m==="reverse"?(O=1-O,v&&(O-=v/u)):m==="mirror"&&(y=o)),h=gr(0,1,O)*u}let x=p?{done:!1,value:a[0]}:y.next(h);s&&(x.value=s(x.value));let{done:k}=x;!p&&l!==null&&(k=this.speed>=0?this.currentTime>=c:this.currentTime<=0);let S=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&k);return S&&r!==void 0&&(x.value=dl(a,this.options,r)),g&&g(x.value),S&&this.finish(),x}get duration(){let{resolved:e}=this;return e?Wn(e.calculatedDuration):0}get time(){return Wn(this.currentTime)}set time(e){e=Pn(e),this.currentTime=e,this.holdTime!==null||this.speed===0?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.speed)}get speed(){return this.playbackSpeed}set speed(e){let t=this.playbackSpeed!==e;this.playbackSpeed=e,t&&(this.time=Wn(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;let{driver:e=dE,onPlay:t,startTime:n}=this.options;this.driver||(this.driver=e(i=>this.tick(i))),t&&t();let r=this.driver.now();this.holdTime!==null?this.startTime=r-this.holdTime:this.startTime?this.state==="finished"&&(this.startTime=r):this.startTime=n??this.calcStartTime(),this.state==="finished"&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var e;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=(e=this.currentTime)!==null&&e!==void 0?e:0}complete(){this.state!=="running"&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";let{onComplete:e}=this.options;e&&e()}cancel(){this.cancelTime!==null&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}};function td(e){return new hl(e)}var ky=e=>/^0[^.\s]+$/u.test(e);function mE(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||ky(e):!0}var Cy=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),gE=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function vE(e){let t=gE.exec(e);if(!t)return[,];let[,n,r,i]=t;return[`--${n??r}`,i]}var yE=4;function Ty(e,t,n=1){Zt(n<=yE,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);let[r,i]=vE(e);if(!r)return;let o=P.getComputedStyle(t).getPropertyValue(r);if(o){let s=o.trim();return Cy(s)?parseFloat(s):s}return Yf(i)?Ty(i,t,n+1):i}var Ry=e=>t=>t.test(e),bE={test:e=>e==="auto",parse:e=>e},Ey=[fo,Q,Hn,Ar,wR,xR,bE],Wg=e=>Ey.find(Ry(e)),xE=new Set(["brightness","contrast","saturate","opacity"]);function wE(e){let[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;let[r]=n.match(Uf)||[];if(!r)return e;let i=n.replace(r,""),o=xE.has(t)?1:0;return r!==n&&(o*=100),t+"("+o+i+")"}var SE=/\b([a-z-]*)\(.*?\)/gu,Tf={...vr,getAnimatableNone:e=>{let t=e.match(SE);return t?t.map(wE).join(" "):e}},kE={borderWidth:Q,borderTopWidth:Q,borderRightWidth:Q,borderBottomWidth:Q,borderLeftWidth:Q,borderRadius:Q,radius:Q,borderTopLeftRadius:Q,borderTopRightRadius:Q,borderBottomRightRadius:Q,borderBottomLeftRadius:Q,width:Q,maxWidth:Q,height:Q,maxHeight:Q,top:Q,right:Q,bottom:Q,left:Q,padding:Q,paddingTop:Q,paddingRight:Q,paddingBottom:Q,paddingLeft:Q,margin:Q,marginTop:Q,marginRight:Q,marginBottom:Q,marginLeft:Q,backgroundPositionX:Q,backgroundPositionY:Q},CE={rotate:Ar,rotateX:Ar,rotateY:Ar,rotateZ:Ar,scale:qa,scaleX:qa,scaleY:qa,scaleZ:qa,skew:Ar,skewX:Ar,skewY:Ar,distance:Q,translateX:Q,translateY:Q,translateZ:Q,x:Q,y:Q,z:Q,perspective:Q,transformPerspective:Q,opacity:ms,originX:Mg,originY:Mg,originZ:Q},Ug={...fo,transform:Math.round},nd={...kE,...CE,zIndex:Ug,size:Q,fillOpacity:ms,strokeOpacity:ms,numOctaves:Ug},TE={...nd,color:gt,backgroundColor:gt,outlineColor:gt,fill:gt,stroke:gt,borderColor:gt,borderTopColor:gt,borderRightColor:gt,borderBottomColor:gt,borderLeftColor:gt,filter:Tf,WebkitFilter:Tf},rd=e=>TE[e];function Fy(e,t){let n=rd(e);return n!==Tf&&(n=vr),n.getAnimatableNone?n.getAnimatableNone(t):void 0}var RE=new Set(["auto","none","0"]);function EE(e,t,n){let r=0,i;for(;r{t.getValue(a).set(l)}),this.resolveNoneKeyframes()}},_y=new Set(["opacity","clipPath","filter","transform"]),FE=10,PE=(e,t)=>{let n="",r=Math.max(Math.round(t/FE),2);for(let i=0;i(t===void 0&&(t=e()),t)}var _E={linearEasing:void 0};function IE(e,t){let n=id(e);return()=>{var r;return(r=_E[t])!==null&&r!==void 0?r:n()}}var rl=IE(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing");function Iy(e){return!!(typeof e=="function"&&rl()||!e||typeof e=="string"&&(e in Rf||rl())||Zf(e)||Array.isArray(e)&&e.every(Iy))}var ls=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,Rf={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:ls([0,.65,.55,1]),circOut:ls([.55,0,1,.45]),backIn:ls([.31,.01,.66,-.59]),backOut:ls([.33,1.53,.69,.99])};function Oy(e,t){if(e)return typeof e=="function"&&rl()?PE(e,t):Zf(e)?ls(e):Array.isArray(e)?e.map(n=>Oy(n,t)||Rf.easeOut):Rf[e]}function OE(e,t,n,{delay:r=0,duration:i=300,repeat:o=0,repeatType:s="loop",ease:a,times:l}={}){let c={[t]:n};l&&(c.offset=l);let u=Oy(a,i);return Array.isArray(u)&&(c.easing=u),e.animate(c,{delay:r,duration:i,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:o+1,direction:s==="reverse"?"alternate":"normal"})}function Gg(e,t){e.timeline=t,e.onfinish=null}var ME=id(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),il=10,LE=2e4;function VE(e){return fl(e.type)||e.type==="spring"||!Iy(e.ease)}function AE(e,t){let n=new hl({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0}),r={done:!1,value:e[0]},i=[],o=0;for(;!r.done&&othis.onKeyframesResolved(o,s),t,n,r),this.resolver.scheduleResolve()}initPlayback(e,t){var n;let{duration:r=300,times:i,ease:o,type:s,motionValue:a,name:l,startTime:c}=this.options;if(!(!((n=a.owner)===null||n===void 0)&&n.current))return!1;if(typeof o=="string"&&rl()&&DE(o)&&(o=My[o]),VE(this.options)){let{onComplete:f,onUpdate:d,motionValue:m,element:v,...g}=this.options,b=AE(e,g);e=b.keyframes,e.length===1&&(e[1]=e[0]),r=b.duration,i=b.times,o=b.ease,s="keyframes"}let u=OE(a.owner.current,l,e,{...this.options,duration:r,times:i,ease:o});return u.startTime=c??this.calcStartTime(),this.pendingTimeline?(Gg(u,this.pendingTimeline),this.pendingTimeline=void 0):u.onfinish=()=>{let{onComplete:f}=this.options;a.set(dl(e,this.options,t)),f&&f(),this.cancel(),this.resolveFinishedPromise()},{animation:u,duration:r,times:i,type:s,ease:o,keyframes:e}}get duration(){let{resolved:e}=this;if(!e)return 0;let{duration:t}=e;return Wn(t)}get time(){let{resolved:e}=this;if(!e)return 0;let{animation:t}=e;return Wn(t.currentTime||0)}set time(e){let{resolved:t}=this;if(!t)return;let{animation:n}=t;n.currentTime=Pn(e)}get speed(){let{resolved:e}=this;if(!e)return 1;let{animation:t}=e;return t.playbackRate}set speed(e){let{resolved:t}=this;if(!t)return;let{animation:n}=t;n.playbackRate=e}get state(){let{resolved:e}=this;if(!e)return"idle";let{animation:t}=e;return t.playState}get startTime(){let{resolved:e}=this;if(!e)return null;let{animation:t}=e;return t.startTime}attachTimeline(e){if(!this._resolved)this.pendingTimeline=e;else{let{resolved:t}=this;if(!t)return vt;let{animation:n}=t;Gg(n,e)}return vt}play(){if(this.isStopped)return;let{resolved:e}=this;if(!e)return;let{animation:t}=e;t.playState==="finished"&&this.updateFinishedPromise(),t.play()}pause(){let{resolved:e}=this;if(!e)return;let{animation:t}=e;t.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.resolveFinishedPromise(),this.updateFinishedPromise();let{resolved:e}=this;if(!e)return;let{animation:t,keyframes:n,duration:r,type:i,ease:o,times:s}=e;if(t.playState==="idle"||t.playState==="finished")return;if(this.time){let{motionValue:l,onUpdate:c,onComplete:u,element:f,...d}=this.options,m=new hl({...d,keyframes:n,duration:r,type:i,ease:o,times:s,isGenerator:!0}),v=Pn(this.time);l.setWithVelocity(m.sample(v-il).value,m.sample(v).value,il)}let{onStop:a}=this.options;a&&a(),this.cancel()}complete(){let{resolved:e}=this;e&&e.animation.finish()}cancel(){let{resolved:e}=this;e&&e.animation.cancel()}static supports(e){let{motionValue:t,name:n,repeatDelay:r,repeatType:i,damping:o,type:s}=e;return ME()&&n&&_y.has(n)&&t&&t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate&&!r&&i!=="mirror"&&o!==0&&s!=="inertia"}};function od(e,t){e.indexOf(t)===-1&&e.push(t)}function pl(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function zE([...e],t,n){let r=t<0?e.length+t:t;if(r>=0&&rpl(this.subscriptions,e)}notify(e,t,n){let r=this.subscriptions.length;if(r)if(r===1)this.subscriptions[0](e,t,n);else for(let i=0;i!isNaN(parseFloat(e)),fs={current:void 0},ml=class{constructor(e,t={}){this.version="11.11.7",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(n,r=!0)=>{let i=Gn.now();this.updatedAt!==i&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(n),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),r&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=Gn.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=BE(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new sd);let n=this.events[e].add(t);return e==="change"?()=>{n(),Z.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e,t=!0){!t||!this.passiveEffect?this.updateAndNotify(e,t):this.passiveEffect(e,this.updateAndNotify)}setWithVelocity(e,t,n){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-n}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return fs.current&&fs.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let e=Gn.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>qg)return 0;let t=Math.min(this.updatedAt-this.prevUpdatedAt,qg);return qf(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}};function Ge(e,t){return new ml(e,t)}var gl=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),$E="framerAppearId",vl="data-"+gl($E),De=e=>!!(e&&e.getVelocity);function Xg(e){let t=[{},{}];return e?.values.forEach((n,r)=>{t[0][r]=n.get(),t[1][r]=n.getVelocity()}),t}function ad(e,t,n,r){if(typeof t=="function"){let[i,o]=Xg(r);t=t(n!==void 0?n:e.custom,i,o)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){let[i,o]=Xg(r);t=t(n!==void 0?n:e.custom,i,o)}return t}function yl(e,t,n){let r=e.getProps();return ad(r,t,n!==void 0?n:r.custom,e)}var NE={type:"spring",stiffness:500,damping:25,restSpeed:10},jE=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),HE={type:"keyframes",duration:.8},WE={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},UE=(e,{keyframes:t})=>t.length>2?HE:zr.has(e)?e.startsWith("scale")?jE(t[1]):NE:WE;function ld(e,t){return e?e[t]||e.default||e:void 0}var Ly=id(()=>P.ScrollTimeline!==void 0),Vy=class{constructor(e){this.stop=()=>this.runAll("stop"),this.animations=e.filter(Boolean)}then(e,t){return Promise.all(this.animations).then(e).catch(t)}getAll(e){return this.animations[0][e]}setAll(e,t){for(let n=0;nLy()&&r.attachTimeline?r.attachTimeline(e):t(r));return()=>{n.forEach((r,i)=>{r&&r(),this.animations[i].stop()})}}get time(){return this.getAll("time")}set time(e){this.setAll("time",e)}get speed(){return this.getAll("speed")}set speed(e){this.setAll("speed",e)}get startTime(){return this.getAll("startTime")}get duration(){let e=0;for(let t=0;tt[e]())}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}};function GE({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:o,repeatType:s,repeatDelay:a,from:l,elapsed:c,...u}){return!!Object.keys(u).length}var cd=(e,t,n,r={},i,o)=>s=>{let a=ld(r,e)||{},l=a.delay||r.delay||0,{elapsed:c=0}=r;c=c-Pn(l);let u={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...a,delay:-c,onUpdate:d=>{t.set(d),a.onUpdate&&a.onUpdate(d)},onComplete:()=>{s(),a.onComplete&&a.onComplete()},name:e,motionValue:t,element:o?void 0:i};GE(a)||(u={...u,...UE(e,u)}),u.duration&&(u.duration=Pn(u.duration)),u.repeatDelay&&(u.repeatDelay=Pn(u.repeatDelay)),u.from!==void 0&&(u.keyframes[0]=u.from);let f=!1;if((u.type===!1||u.duration===0&&!u.repeatDelay)&&(u.duration=0,u.delay===0&&(f=!0)),(nl.current||ll.skipAnimations)&&(f=!0,u.duration=0,u.delay=0),f&&!o&&t.get()!==void 0){let d=dl(u.keyframes,a);if(d!==void 0)return Z.update(()=>{u.onUpdate(d),u.onComplete()}),new Vy([])}return!o&&Ef.supports(u)?new Ef(u):new hl(u)},Ff=e=>Array.isArray(e),qE=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),XE=e=>Ff(e)?e[e.length-1]||0:e;function YE(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Ge(n))}function ud(e,t){let n=yl(e,t),{transitionEnd:r={},transition:i={},...o}=n||{};o={...o,...r};for(let s in o){let a=XE(o[s]);YE(e,s,a)}}function Ay(e){return e.props[vl]}function KE(e){return!!(De(e)&&e.add)}function Dy(e){if(zr.has(e))return"transform";if(_y.has(e))return gl(e)}function Pf(e,t){var n;if(!e.applyWillChange)return;let r=e.getValue("willChange");if(KE(r))return r.add(t);!(!((n=e.props.style)===null||n===void 0)&&n.willChange)&&Dy(t)&&e.setStaticValue("willChange","transform")}function QE({protectedKeys:e,needsAnimating:t},n){let r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function fd(e,t,{delay:n=0,transitionOverride:r,type:i}={}){var o;let{transition:s=e.getDefaultTransition(),transitionEnd:a,...l}=t;r&&(s=r);let c=[],u=i&&e.animationState&&e.animationState.getState()[i];for(let f in l){let d=e.getValue(f,(o=e.latestValues[f])!==null&&o!==void 0?o:null),m=l[f];if(m===void 0||u&&QE(u,f))continue;let v={delay:n,...ld(s||{},f)},g=!1;if(P.MotionHandoffAnimation){let p=Ay(e);if(p){let h=P.MotionHandoffAnimation(p,f,Z);h!==null&&(v.startTime=h,g=!0)}}Pf(e,f),d.start(cd(f,d,m,e.shouldReduceMotion&&zr.has(f)?{type:!1}:v,e,g));let b=d.animation;b&&c.push(b)}return a&&Promise.all(c).then(()=>{Z.update(()=>{a&&ud(e,a)})}),c}function _f(e,t,n={}){var r;let i=yl(e,t,n.type==="exit"?(r=e.presenceContext)===null||r===void 0?void 0:r.custom:void 0),{transition:o=e.getDefaultTransition()||{}}=i||{};n.transitionOverride&&(o=n.transitionOverride);let s=i?()=>Promise.all(fd(e,i,n)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(c=0)=>{let{delayChildren:u=0,staggerChildren:f,staggerDirection:d}=o;return ZE(e,t,u+c,f,d,n)}:()=>Promise.resolve(),{when:l}=o;if(l){let[c,u]=l==="beforeChildren"?[s,a]:[a,s];return c().then(()=>u())}else return Promise.all([s(),a(n.delay)])}function ZE(e,t,n=0,r=0,i=1,o){let s=[],a=(e.variantChildren.size-1)*r,l=i===1?(c=0)=>c*r:(c=0)=>a-c*r;return Array.from(e.variantChildren).sort(JE).forEach((c,u)=>{c.notify("AnimationStart",t),s.push(_f(c,t,{...o,delay:n+l(u)}).then(()=>c.notify("AnimationComplete",t)))}),Promise.all(s)}function JE(e,t){return e.sortNodePosition(t)}function dd(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){let i=t.map(o=>_f(e,o,n));r=Promise.all(i)}else if(typeof t=="string")r=_f(e,t,n);else{let i=typeof t=="function"?yl(e,t,n.custom):t;r=Promise.all(fd(e,i,n))}return r.then(()=>{e.notify("AnimationComplete",t)})}function ys(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function zy(e,t){if(!Array.isArray(t))return!1;let n=t.length;if(n!==e.length)return!1;for(let r=0;rPromise.all(t.map(({animation:n,options:r})=>dd(e,n,r)))}function iF(e){let t=rF(e),n=Yg(),r=!0,i=l=>(c,u)=>{var f;let d=yl(e,u,l==="exit"?(f=e.presenceContext)===null||f===void 0?void 0:f.custom:void 0);if(d){let{transition:m,transitionEnd:v,...g}=d;c={...c,...g,...v}}return c};function o(l){t=l(e)}function s(l){let{props:c}=e,u=By(e.parent)||{},f=[],d=new Set,m={},v=1/0;for(let b=0;bv&&x,O=!1,I=Array.isArray(y)?y:[y],B=I.reduce(i(p),{});k===!1&&(B={});let{prevResolvedValues:z={}}=h,N={...z,...B},J=ie=>{E=!0,d.has(ie)&&(O=!0,d.delete(ie)),h.needsAnimating[ie]=!0;let q=e.getValue(ie);q&&(q.liveStyle=!1)};for(let ie in N){let q=B[ie],re=z[ie];if(m.hasOwnProperty(ie))continue;let W=!1;Ff(q)&&Ff(re)?W=!zy(q,re):W=q!==re,W?q!=null?J(ie):d.add(ie):q!==void 0&&d.has(ie)?J(ie):h.protectedKeys[ie]=!0}h.prevProp=y,h.prevResolvedValues=B,h.isActive&&(m={...m,...B}),r&&e.blockInitialAnimation&&(E=!1),E&&(!(S&&T)||O)&&f.push(...I.map(ie=>({animation:ie,options:{type:p}})))}if(d.size){let b={};d.forEach(p=>{let h=e.getBaseTarget(p),y=e.getValue(p);y&&(y.liveStyle=!0),b[p]=h??null}),f.push({animation:b})}let g=!!f.length;return r&&(c.initial===!1||c.initial===c.animate)&&!e.manuallyAnimateOnMount&&(g=!1),r=!1,g?t(f):Promise.resolve()}function a(l,c){var u;if(n[l].isActive===c)return Promise.resolve();(u=e.variantChildren)===null||u===void 0||u.forEach(d=>{var m;return(m=d.animationState)===null||m===void 0?void 0:m.setActive(l,c)}),n[l].isActive=c;let f=s(l);for(let d in n)n[d].protectedKeys={};return f}return{animateChanges:s,setActive:a,setAnimateFunction:o,getState:()=>n,reset:()=>{n=Yg(),r=!0}}}function oF(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!zy(t,e):!1}function vi(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Yg(){return{animate:vi(!0),whileInView:vi(),whileHover:vi(),whileTap:vi(),whileDrag:vi(),whileFocus:vi(),exit:vi()}}var Br=class{constructor(e){this.isMounted=!1,this.node=e}update(){}},sF=class extends Br{constructor(e){super(e),e.animationState||(e.animationState=iF(e))}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();ys(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){var e;this.node.animationState.reset(),(e=this.unmountControls)===null||e===void 0||e.call(this)}},aF=0,lF=class extends Br{constructor(){super(...arguments),this.id=aF++}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===n)return;let r=this.node.animationState.setActive("exit",!e);t&&!e&&r.then(()=>t(this.id))}mount(){let{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}},bl={animation:{Feature:sF},exit:{Feature:lF}},$y=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;function xl(e,t="page"){return{point:{x:e[`${t}X`],y:e[`${t}Y`]}}}var Ny=e=>t=>$y(t)&&e(t,xl(t));function mr(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}function qn(e,t,n,r){return mr(e,t,Ny(n),r)}var If=(e,t)=>Math.abs(e-t);function jy(e,t){let n=If(e.x,t.x),r=If(e.y,t.y);return Math.sqrt(n**2+r**2)}function Hy(e){let t=null;return()=>{let n=()=>{t=null};return t===null?(t=e,n):!1}}var Kg=Hy("dragHorizontal"),Qg=Hy("dragVertical");function Wy(e){let t=!1;if(e==="y")t=Qg();else if(e==="x")t=Kg();else{let n=Kg(),r=Qg();n&&r?t=()=>{n(),r()}:(n&&n(),r&&r())}return t}function md(){let e=Wy(!0);return e?(e(),!1):!0}var Uy=1e-4,cF=1-Uy,uF=1+Uy,Gy=.01,fF=0-Gy,dF=0+Gy;function Nt(e){return e.max-e.min}function hF(e,t,n){return Math.abs(e-t)<=n}function Zg(e,t,n,r=.5){e.origin=r,e.originPoint=Oe(t.min,t.max,e.origin),e.scale=Nt(n)/Nt(t),e.translate=Oe(n.min,n.max,e.origin)-e.originPoint,(e.scale>=cF&&e.scale<=uF||isNaN(e.scale))&&(e.scale=1),(e.translate>=fF&&e.translate<=dF||isNaN(e.translate))&&(e.translate=0)}function ds(e,t,n,r){Zg(e.x,t.x,n.x,r?r.originX:void 0),Zg(e.y,t.y,n.y,r?r.originY:void 0)}function Jg(e,t,n){e.min=n.min+t.min,e.max=e.min+Nt(t)}function pF(e,t,n){Jg(e.x,t.x,n.x),Jg(e.y,t.y,n.y)}function ev(e,t,n){e.min=t.min-n.min,e.max=e.min+Nt(t)}function hs(e,t,n){ev(e.x,t.x,n.x),ev(e.y,t.y,n.y)}var tv=()=>({translate:0,scale:1,origin:0,originPoint:0}),no=()=>({x:tv(),y:tv()}),nv=()=>({min:0,max:0}),$e=()=>({x:nv(),y:nv()}),po=ve(null);function gd(){let e=A(po);if(e===null)return[!0,null];let{isPresent:t,onExitComplete:n,register:r}=e,i=gi();j(()=>r(i),[]);let o=K(()=>n&&n(i),[i,n]);return!t&&n?[!1,o]:[!0]}var xs=ve({}),wl=ve({}),ol={};function vd(e){Object.assign(ol,e)}var mF=(e,t)=>e.depth-t.depth,qy=class{constructor(){this.children=[],this.isDirty=!1}add(e){od(this.children,e),this.isDirty=!0}remove(e){pl(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(mF),this.isDirty=!1,this.children.forEach(e)}};function kt(e){let t=De(e)?e.get():e;return qE(t)?t.toValue():t}function Xy(e,t){let n=Gn.now(),r=({timestamp:i})=>{let o=i-n;o>=t&&(Mt(r),e(o-t))};return Z.read(r,!0),()=>Mt(r)}var br=ve({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),Cs=ve({}),Sl=typeof P<"u",$r=Sl?Ae:j,Yy=ve({strict:!1}),{schedule:yd,cancel:C$}=ry(queueMicrotask,!1);function ro(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function gF(e,t,n,r,i){var o,s;let{visualElement:a}=A(Cs),l=A(Yy),c=A(po),u=A(br).reducedMotion,f=V();r=r||l.renderer,!f.current&&r&&(f.current=r(e,{visualState:t,parent:a,props:n,presenceContext:c,blockInitialAnimation:c?c.initial===!1:!1,reducedMotionConfig:u}));let d=f.current,m=A(wl);d&&!d.projection&&i&&(d.type==="html"||d.type==="svg")&&vF(f.current,n,i,m),lt(()=>{d&&d.update(n,c)});let v=n[vl],g=V(!!v&&!(!((o=P.MotionHandoffIsComplete)===null||o===void 0)&&o.call(P,v))&&((s=P.MotionHasOptimisedAnimation)===null||s===void 0?void 0:s.call(P,v)));return $r(()=>{d&&(P.MotionIsMounted=!0,d.updateFeatures(),yd.render(d.render),g.current&&d.animationState&&d.animationState.animateChanges())}),j(()=>{d&&(!g.current&&d.animationState&&d.animationState.animateChanges(),g.current&&(queueMicrotask(()=>{var b;(b=P.MotionHandoffMarkAsComplete)===null||b===void 0||b.call(P,v)}),g.current=!1))}),d}function vF(e,t,n,r){let{layoutId:i,layout:o,drag:s,dragConstraints:a,layoutScroll:l,layoutRoot:c}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:Ky(e.parent)),e.projection.setOptions({layoutId:i,layout:o,alwaysMeasureLayout:!!s||a&&ro(a),visualElement:e,animationType:typeof o=="string"?o:"both",initialPromotionConfig:r,layoutScroll:l,layoutRoot:c})}function Ky(e){if(e)return e.options.allowProjection!==!1?e.projection:Ky(e.parent)}function yF(e,t,n){return K(r=>{r&&e.mount&&e.mount(r),t&&(r?t.mount(r):t.unmount()),n&&(typeof n=="function"?n(r):ro(n)&&(n.current=r))},[t])}function kl(e){return ys(e.animate)||pd.some(t=>bs(e[t]))}function Qy(e){return!!(kl(e)||e.variants)}function bF(e,t){if(kl(e)){let{initial:n,animate:r}=e;return{initial:n===!1||bs(n)?n:void 0,animate:bs(r)?r:void 0}}return e.inherit!==!1?t:{}}function xF(e){let{initial:t,animate:n}=bF(e,A(Cs));return se(()=>({initial:t,animate:n}),[rv(t),rv(n)])}function rv(e){return Array.isArray(e)?e.join(" "):e}var iv={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"]},ao={};for(let e in iv)ao[e]={isEnabled:t=>iv[e].some(n=>!!t[n])};function wF(e){for(let t in e)ao[t]={...ao[t],...e[t]}}var bd=Symbol.for("motionComponentSymbol");function Zy({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:r,Component:i}){e&&wF(e);function o(a,l){let c,u={...A(br),...a,layoutId:SF(a)},{isStatic:f}=u,d=xF(a),m=r(a,f);if(!f&&Sl){kF(u,e);let v=CF(u);c=v.MeasureLayout,d.visualElement=gF(i,m,u,t,v.ProjectionNode)}return de(Cs.Provider,{value:d,children:[c&&d.visualElement?C(c,{visualElement:d.visualElement,...u}):null,n(i,a,yF(m,d.visualElement,l),m,f,d.visualElement)]})}let s=Ie(o);return s[bd]=i,s}function SF({layoutId:e}){let t=A(xs).id;return t&&e!==void 0?t+"-"+e:e}function kF(e,t){let n=A(Yy).strict}function CF(e){let{drag:t,layout:n}=ao;if(!t&&!n)return{};let r={...t,...n};return{MeasureLayout:t?.isEnabled(e)||n?.isEnabled(e)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}function Yn(e){let t=V(null);return t.current===null&&(t.current=e()),t.current}function TF({applyWillChange:e=!1,scrapeMotionValuesFromProps:t,createRenderState:n,onMount:r},i,o,s,a){let l={latestValues:RF(i,o,s,a?!1:e,t),renderState:n()};return r&&(l.mount=c=>r(i,c,l)),l}var Cl=e=>(t,n)=>{let r=A(Cs),i=A(po),o=()=>TF(e,t,r,i,n);return n?o():Yn(o)};function ov(e,t,n){let r=Array.isArray(t)?t:[t];for(let i=0;i{for(let p in g){let h=g[p];if(Array.isArray(h)){let y=m?h.length-1:0;h=h[y]}h!==null&&(s[p]=h)}for(let p in b)s[p]=b[p]}),a&&u&&c!==!1&&!ys(u)&&ov(e,u,g=>{for(let b in g)if(Dy(b)){s.willChange="transform";return}}),s}var Jy=(e,t)=>t&&typeof e=="number"?t.transform(e):e,EF={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},FF=ks.length;function e0(e,t,n){let r="",i=!0;for(let o=0;o!lo(e);function n0(e){e&&(t0=t=>t.startsWith("on")?!lo(t):e(t))}try{n0(pR().default)}catch{}function r0(e,t,n){let r={};for(let i in e)i==="values"&&typeof e.values=="object"||(t0(i)||n===!0&&lo(i)||!t&&!lo(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}var Xn=new WeakMap,sl={current:null},xd={current:!1};function i0(){if(xd.current=!0,!!Sl)if(P.matchMedia){let e=P.matchMedia("(prefers-reduced-motion)"),t=()=>sl.current=e.matches;e.addListener(t),t()}else sl.current=!1}function _F(e,t,n){for(let r in t){let i=t[r],o=n[r];if(De(i))e.addValue(r,i);else if(De(o))e.addValue(r,Ge(i,{owner:e}));else if(o!==i)if(e.hasValue(r)){let s=e.getValue(r);s.liveStyle===!0?s.jump(i):s.hasAnimated||s.set(i)}else{let s=e.getStaticValue(r);e.addValue(r,Ge(s!==void 0?s:i,{owner:e}))}}for(let r in n)t[r]===void 0&&e.removeValue(r);return t}var IF=[...Ey,gt,vr],OF=e=>IF.find(Ry(e)),sv=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],wd=class{scrapeMotionValuesFromProps(e,t,n){return{}}constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:r,blockInitialAnimation:i,visualState:o},s={}){this.applyWillChange=!1,this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=ed,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 f=Gn.now();this.renderScheduledAtthis.bindToMotionValue(n,t)),xd.current||i0(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:sl.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){Xn.delete(this.current),this.projection&&this.projection.unmount(),Mt(this.notifyUpdate),Mt(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(let e in this.events)this.events[e].clear();for(let e in this.features){let t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}bindToMotionValue(e,t){this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)();let n=zr.has(e),r=t.on("change",s=>{this.latestValues[e]=s,this.props.onUpdate&&Z.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0)}),i=t.on("renderRequest",this.scheduleRender),o;P.MotionCheckAppearSync&&(o=P.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{r(),i(),o&&o(),t.owner&&t.stop()})}sortNodePosition(e){return!this.current||!this.sortInstanceNodePosition||this.type!==e.type?0:this.sortInstanceNodePosition(this.current,e.current)}updateFeatures(){let e="animation";for(e in ao){let t=ao[e];if(!t)continue;let{isEnabled:n,Feature:r}=t;if(!this.features[e]&&r&&n(this.props)&&(this.features[e]=new r(this)),this.features[e]){let i=this.features[e];i.isMounted?i.update():(i.mount(),i.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):$e()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let n=0;nt.variantChildren.delete(e)}addValue(e,t){let n=this.values.get(e);t!==n&&(n&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return n===void 0&&t!==void 0&&(n=Ge(t===null?void 0:t,{owner:this}),this.addValue(e,n)),n}readValue(e,t){var n;let r=this.latestValues[e]!==void 0||!this.current?this.latestValues[e]:(n=this.getBaseTargetFromProps(this.props,e))!==null&&n!==void 0?n:this.readValueFromInstance(this.current,e,this.options);return r!=null&&(typeof r=="string"&&(Cy(r)||ky(r))?r=parseFloat(r):!OF(r)&&vr.test(t)&&(r=Fy(e,t)),this.setBaseTarget(e,De(r)?r.get():r)),De(r)?r.get():r}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){var t;let{initial:n}=this.props,r;if(typeof n=="string"||typeof n=="object"){let o=ad(this.props,n,(t=this.presenceContext)===null||t===void 0?void 0:t.custom);o&&(r=o[e])}if(n&&r!==void 0)return r;let i=this.getBaseTargetFromProps(this.props,e);return i!==void 0&&!De(i)?i:this.initialValues[e]!==void 0&&r===void 0?void 0:this.baseTarget[e]}on(e,t){return this.events[e]||(this.events[e]=new sd),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}};function MF(e){if(typeof Proxy>"u")return e;let t=new Map,n=(...r)=>e(...r);return new Proxy(n,{get:(r,i)=>i==="create"?e:(t.has(i)||t.set(i,e(i)),t.get(i))})}var o0=class{constructor(e,t,{transformPagePoint:n,contextWindow:r,dragSnapToOrigin:i=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=P,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let u=cf(this.lastMoveEventInfo,this.history),f=this.startEvent!==null,d=jy(u.offset,{x:0,y:0})>=3;if(!f&&!d)return;let{point:m}=u,{timestamp:v}=Ue;this.history.push({...m,timestamp:v});let{onStart:g,onMove:b}=this.handlers;f||(g&&g(this.lastMoveEvent,u),this.startEvent=this.lastMoveEvent),b&&b(this.lastMoveEvent,u)},this.handlePointerMove=(u,f)=>{this.lastMoveEvent=u,this.lastMoveEventInfo=lf(f,this.transformPagePoint),Z.update(this.updatePoint,!0)},this.handlePointerUp=(u,f)=>{this.end();let{onEnd:d,onSessionEnd:m,resumeAnimation:v}=this.handlers;if(this.dragSnapToOrigin&&v&&v(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let g=cf(u.type==="pointercancel"?this.lastMoveEventInfo:lf(f,this.transformPagePoint),this.history);this.startEvent&&d&&d(u,g),m&&m(u,g)},!$y(e))return;this.dragSnapToOrigin=i,this.handlers=t,this.transformPagePoint=n,this.contextWindow=r||P;let o=xl(e),s=lf(o,this.transformPagePoint),{point:a}=s,{timestamp:l}=Ue;this.history=[{...a,timestamp:l}];let{onSessionStart:c}=t;c&&c(e,cf(s,this.history)),this.removeListeners=Un(qn(this.contextWindow,"pointermove",this.handlePointerMove),qn(this.contextWindow,"pointerup",this.handlePointerUp),qn(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),Mt(this.updatePoint)}};function lf(e,t){return t?{point:t(e.point)}:e}function av(e,t){return{x:e.x-t.x,y:e.y-t.y}}function cf({point:e},t){return{point:e,delta:av(e,s0(t)),offset:av(e,LF(t)),velocity:VF(t,.1)}}function LF(e){return e[0]}function s0(e){return e[e.length-1]}function VF(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null,i=s0(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>Pn(t)));)n--;if(!r)return{x:0,y:0};let o=Wn(i.timestamp-r.timestamp);if(o===0)return{x:0,y:0};let s={x:(i.x-r.x)/o,y:(i.y-r.y)/o};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}function AF(e,{min:t,max:n},r){return t!==void 0&&en&&(e=r?Oe(n,e,r.max):Math.min(e,n)),e}function lv(e,t,n){return{min:t!==void 0?e.min+t:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function DF(e,{top:t,left:n,bottom:r,right:i}){return{x:lv(e.x,n,i),y:lv(e.y,t,r)}}function cv(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.minr?n=yr(t.min,t.max-r,e.min):r>i&&(n=yr(e.min,e.max-i,t.min)),gr(0,1,n)}function $F(e,t){let n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}var Of=.35;function NF(e=Of){return e===!1?e=0:e===!0&&(e=Of),{x:uv(e,"left","right"),y:uv(e,"top","bottom")}}function uv(e,t,n){return{min:fv(e,t),max:fv(e,n)}}function fv(e,t){return typeof e=="number"?e:e[t]||0}function yn(e){return[e("x"),e("y")]}function a0({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function jF({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function HF(e,t){if(!t)return e;let n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function uf(e){return e===void 0||e===1}function Mf({scale:e,scaleX:t,scaleY:n}){return!uf(e)||!uf(t)||!uf(n)}function yi(e){return Mf(e)||l0(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function l0(e){return dv(e.x)||dv(e.y)}function dv(e){return e&&e!=="0%"}function al(e,t,n){let r=e-n,i=t*r;return n+i}function hv(e,t,n,r,i){return i!==void 0&&(e=al(e,i,r)),al(e,n,r)+t}function Lf(e,t=0,n=1,r,i){e.min=hv(e.min,t,n,r,i),e.max=hv(e.max,t,n,r,i)}function c0(e,{x:t,y:n}){Lf(e.x,t.translate,t.scale,t.originPoint),Lf(e.y,n.translate,n.scale,n.originPoint)}var pv=.999999999999,mv=1.0000000000001;function WF(e,t,n,r=!1){let i=n.length;if(!i)return;t.x=t.y=1;let o,s;for(let a=0;apv&&(t.x=1),t.ypv&&(t.y=1)}function io(e,t){e.min=e.min+t,e.max=e.max+t}function gv(e,t,n,r,i=.5){let o=Oe(e.min,e.max,i);Lf(e,t,n,o,r)}function oo(e,t){gv(e.x,t.x,t.scaleX,t.scale,t.originX),gv(e.y,t.y,t.scaleY,t.scale,t.originY)}function u0(e,t){return a0(HF(e.getBoundingClientRect(),t))}function UF(e,t,n){let r=u0(e,n),{scroll:i}=t;return i&&(io(r.x,i.offset.x),io(r.y,i.offset.y)),r}var f0=({current:e})=>e?e.ownerDocument.defaultView:null,GF=new WeakMap,qF=class{constructor(e){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=$e(),this.visualElement=e}start(e,{snapToCursor:t=!1}={}){let{presenceContext:n}=this.visualElement;if(n&&n.isPresent===!1)return;let r=c=>{let{dragSnapToOrigin:u}=this.getProps();u?this.pauseAnimation():this.stopAnimation(),t&&this.snapToCursor(xl(c,"page").point)},i=(c,u)=>{let{drag:f,dragPropagation:d,onDragStart:m}=this.getProps();if(f&&!d&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=Wy(f),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),yn(g=>{let b=this.getAxisMotionValue(g).get()||0;if(Hn.test(b)){let{projection:p}=this.visualElement;if(p&&p.layout){let h=p.layout.layoutBox[g];h&&(b=Nt(h)*(parseFloat(b)/100))}}this.originPoint[g]=b}),m&&Z.postRender(()=>m(c,u)),Pf(this.visualElement,"transform");let{animationState:v}=this.visualElement;v&&v.setActive("whileDrag",!0)},o=(c,u)=>{let{dragPropagation:f,dragDirectionLock:d,onDirectionLock:m,onDrag:v}=this.getProps();if(!f&&!this.openGlobalLock)return;let{offset:g}=u;if(d&&this.currentDirection===null){this.currentDirection=XF(g),this.currentDirection!==null&&m&&m(this.currentDirection);return}this.updateAxis("x",u.point,g),this.updateAxis("y",u.point,g),this.visualElement.render(),v&&v(c,u)},s=(c,u)=>this.stop(c,u),a=()=>yn(c=>{var u;return this.getAnimationState(c)==="paused"&&((u=this.getAxisMotionValue(c).animation)===null||u===void 0?void 0:u.play())}),{dragSnapToOrigin:l}=this.getProps();this.panSession=new o0(e,{onSessionStart:r,onStart:i,onMove:o,onSessionEnd:s,resumeAnimation:a},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:l,contextWindow:f0(this.visualElement)})}stop(e,t){let n=this.isDragging;if(this.cancel(),!n)return;let{velocity:r}=t;this.startAnimation(r);let{onDragEnd:i}=this.getProps();i&&Z.postRender(()=>i(e,t))}cancel(){this.isDragging=!1;let{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:n}=this.getProps();!n&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),t&&t.setActive("whileDrag",!1)}updateAxis(e,t,n){let{drag:r}=this.getProps();if(!n||!Xa(e,r,this.currentDirection))return;let i=this.getAxisMotionValue(e),o=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(o=AF(o,this.constraints[e],this.elastic[e])),i.set(o)}resolveConstraints(){var e;let{dragConstraints:t,dragElastic:n}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(e=this.visualElement.projection)===null||e===void 0?void 0:e.layout,i=this.constraints;t&&ro(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&r?this.constraints=DF(r.layoutBox,t):this.constraints=!1,this.elastic=NF(n),i!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&yn(o=>{this.constraints!==!1&&this.getAxisMotionValue(o)&&(this.constraints[o]=$F(r.layoutBox[o],this.constraints[o]))})}resolveRefConstraints(){let{dragConstraints:e,onMeasureDragConstraints:t}=this.getProps();if(!e||!ro(e))return!1;let n=e.current;Zt(n!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:r}=this.visualElement;if(!r||!r.layout)return!1;let i=UF(n,r.root,this.visualElement.getTransformPagePoint()),o=zF(r.layout.layoutBox,i);if(t){let s=t(jF(o));this.hasMutatedConstraints=!!s,s&&(o=a0(s))}return o}startAnimation(e){let{drag:t,dragMomentum:n,dragElastic:r,dragTransition:i,dragSnapToOrigin:o,onDragTransitionEnd:s}=this.getProps(),a=this.constraints||{},l=yn(c=>{if(!Xa(c,t,this.currentDirection))return;let u=a&&a[c]||{};o&&(u={min:0,max:0});let f=r?200:1e6,d=r?40:1e7,m={type:"inertia",velocity:n?e[c]:0,bounceStiffness:f,bounceDamping:d,timeConstant:750,restDelta:1,restSpeed:10,...i,...u};return this.startAxisValueAnimation(c,m)});return Promise.all(l).then(s)}startAxisValueAnimation(e,t){let n=this.getAxisMotionValue(e);return Pf(this.visualElement,e),n.start(cd(e,n,0,t,this.visualElement,!1))}stopAnimation(){yn(e=>this.getAxisMotionValue(e).stop())}pauseAnimation(){yn(e=>{var t;return(t=this.getAxisMotionValue(e).animation)===null||t===void 0?void 0:t.pause()})}getAnimationState(e){var t;return(t=this.getAxisMotionValue(e).animation)===null||t===void 0?void 0:t.state}getAxisMotionValue(e){let t=`_drag${e.toUpperCase()}`,n=this.visualElement.getProps(),r=n[t];return r||this.visualElement.getValue(e,(n.initial?n.initial[e]:void 0)||0)}snapToCursor(e){yn(t=>{let{drag:n}=this.getProps();if(!Xa(t,n,this.currentDirection))return;let{projection:r}=this.visualElement,i=this.getAxisMotionValue(t);if(r&&r.layout){let{min:o,max:s}=r.layout.layoutBox[t];i.set(e[t]-Oe(o,s,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!ro(t)||!n||!this.constraints)return;this.stopAnimation();let r={x:0,y:0};yn(o=>{let s=this.getAxisMotionValue(o);if(s&&this.constraints!==!1){let a=s.get();r[o]=BF({min:a,max:a},this.constraints[o])}});let{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),yn(o=>{if(!Xa(o,e,null))return;let s=this.getAxisMotionValue(o),{min:a,max:l}=this.constraints[o];s.set(Oe(a,l,r[o]))})}addListeners(){if(!this.visualElement.current)return;GF.set(this.visualElement,this);let e=this.visualElement.current,t=qn(e,"pointerdown",a=>{let{drag:l,dragListener:c=!0}=this.getProps();l&&c&&this.start(a)}),n=()=>{let{dragConstraints:a}=this.getProps();ro(a)&&a.current&&(this.constraints=this.resolveRefConstraints())},{projection:r}=this.visualElement,i=r.addEventListener("measure",n);r&&!r.layout&&(r.root&&r.root.updateScroll(),r.updateLayout()),Z.read(n);let o=mr(P,"resize",()=>this.scalePositionWithinConstraints()),s=r.addEventListener("didUpdate",({delta:a,hasLayoutChanged:l})=>{this.isDragging&&l&&(yn(c=>{let u=this.getAxisMotionValue(c);u&&(this.originPoint[c]+=a[c].translate,u.set(u.get()+a[c].translate))}),this.visualElement.render())});return()=>{o(),t(),i(),s&&s()}}getProps(){let e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:r=!1,dragConstraints:i=!1,dragElastic:o=Of,dragMomentum:s=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:r,dragConstraints:i,dragElastic:o,dragMomentum:s}}};function Xa(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function XF(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}var YF=class extends Br{constructor(e){super(e),this.removeGroupControls=vt,this.removeListeners=vt,this.controls=new qF(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||vt}unmount(){this.removeGroupControls(),this.removeListeners()}},vv=e=>(t,n)=>{e&&Z.postRender(()=>e(t,n))},KF=class extends Br{constructor(){super(...arguments),this.removePointerDownListener=vt}onPointerDown(e){this.session=new o0(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:f0(this.node)})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:r}=this.node.getProps();return{onSessionStart:vv(e),onStart:vv(t),onMove:n,onEnd:(i,o)=>{delete this.session,r&&Z.postRender(()=>r(i,o))}}}mount(){this.removePointerDownListener=qn(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}},Za={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function yv(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var os={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(Q.test(e))e=parseFloat(e);else return e;let n=yv(e,t.target.x),r=yv(e,t.target.y);return`${n}% ${r}%`}},QF={correct:(e,{treeScale:t,projectionDelta:n})=>{let r=e,i=vr.parse(e);if(i.length>5)return r;let o=vr.createTransformer(e),s=typeof i[0]!="number"?1:0,a=n.x.scale*t.x,l=n.y.scale*t.y;i[0+s]/=a,i[1+s]/=l;let c=Oe(a,l,.5);return typeof i[2+s]=="number"&&(i[2+s]/=c),typeof i[3+s]=="number"&&(i[3+s]/=c),o(i)}},ZF=class extends Ce{componentDidMount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:r}=this.props,{projection:i}=e;vd(JF),i&&(t.group&&t.group.add(i),n&&n.register&&r&&n.register(i),i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,onExitComplete:()=>this.safeToRemove()})),Za.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:t,visualElement:n,drag:r,isPresent:i}=this.props,o=n.projection;return o&&(o.isPresent=i,r||e.layoutDependency!==t||t===void 0?o.willUpdate():this.safeToRemove(),e.isPresent!==i&&(i?o.promote():o.relegate()||Z.postRender(()=>{let s=o.getStack();(!s||!s.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){let{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),yd.postRender(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:n}=this.props,{projection:r}=e;r&&(r.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(r),n&&n.deregister&&n.deregister(r))}safeToRemove(){let{safeToRemove:e}=this.props;e&&e()}render(){return null}};function d0(e){let[t,n]=gd(),r=A(xs);return C(ZF,{...e,layoutGroup:r,switchLayoutGroup:A(wl),isPresent:t,safeToRemove:n})}var JF={borderRadius:{...os,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:os,borderTopRightRadius:os,borderBottomLeftRadius:os,borderBottomRightRadius:os,boxShadow:QF},h0=["TopLeft","TopRight","BottomLeft","BottomRight"],eP=h0.length,bv=e=>typeof e=="string"?parseFloat(e):e,xv=e=>typeof e=="number"||Q.test(e);function tP(e,t,n,r,i,o){i?(e.opacity=Oe(0,n.opacity!==void 0?n.opacity:1,nP(r)),e.opacityExit=Oe(t.opacity!==void 0?t.opacity:1,0,rP(r))):o&&(e.opacity=Oe(t.opacity!==void 0?t.opacity:1,n.opacity!==void 0?n.opacity:1,r));for(let s=0;srt?1:n(yr(e,t,r))}function Sv(e,t){e.min=t.min,e.max=t.max}function vn(e,t){Sv(e.x,t.x),Sv(e.y,t.y)}function kv(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function Cv(e,t,n,r,i){return e-=t,e=al(e,1/n,r),i!==void 0&&(e=al(e,1/i,r)),e}function iP(e,t=0,n=1,r=.5,i,o=e,s=e){if(Hn.test(t)&&(t=parseFloat(t),t=Oe(s.min,s.max,t/100)-s.min),typeof t!="number")return;let a=Oe(o.min,o.max,r);e===o&&(a-=t),e.min=Cv(e.min,t,n,a,i),e.max=Cv(e.max,t,n,a,i)}function Tv(e,t,[n,r,i],o,s){iP(e,t[n],t[r],t[i],t.scale,o,s)}var oP=["x","scaleX","originX"],sP=["y","scaleY","originY"];function Rv(e,t,n,r){Tv(e.x,t,oP,n?n.x:void 0,r?r.x:void 0),Tv(e.y,t,sP,n?n.y:void 0,r?r.y:void 0)}function Ev(e){return e.translate===0&&e.scale===1}function m0(e){return Ev(e.x)&&Ev(e.y)}function Fv(e,t){return e.min===t.min&&e.max===t.max}function aP(e,t){return Fv(e.x,t.x)&&Fv(e.y,t.y)}function Pv(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function g0(e,t){return Pv(e.x,t.x)&&Pv(e.y,t.y)}function _v(e){return Nt(e.x)/Nt(e.y)}function Iv(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}var lP=class{constructor(){this.members=[]}add(e){od(this.members,e),e.scheduleRender()}remove(e){if(pl(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){let t=this.members[this.members.length-1];t&&this.promote(t)}}relegate(e){let t=this.members.findIndex(r=>e===r);if(t===0)return!1;let n;for(let r=t;r>=0;r--){let i=this.members[r];if(i.isPresent!==!1){n=i;break}}return n?(this.promote(n),!0):!1}promote(e,t){let n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.instance&&n.scheduleRender(),e.scheduleRender(),e.resumeFrom=n,t&&(e.resumeFrom.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);let{crossfade:r}=e.options;r===!1&&n.hide()}}exitAnimationComplete(){this.members.forEach(e=>{let{options:t,resumingFrom:n}=e;t.onExitComplete&&t.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}};function cP(e,t,n){let r="",i=e.x.translate/t.x,o=e.y.translate/t.y,s=n?.z||0;if((i||o||s)&&(r=`translate3d(${i}px, ${o}px, ${s}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){let{transformPerspective:c,rotate:u,rotateX:f,rotateY:d,skewX:m,skewY:v}=n;c&&(r=`perspective(${c}px) ${r}`),u&&(r+=`rotate(${u}deg) `),f&&(r+=`rotateX(${f}deg) `),d&&(r+=`rotateY(${d}deg) `),m&&(r+=`skewX(${m}deg) `),v&&(r+=`skewY(${v}deg) `)}let a=e.x.scale*t.x,l=e.y.scale*t.y;return(a!==1||l!==1)&&(r+=`scale(${a}, ${l})`),r||"none"}function v0(e){return e instanceof SVGElement&&e.tagName!=="svg"}function y0(e,t,n){let r=De(e)?e:Ge(e);return r.start(cd("",r,t,n)),r.animation}var bi={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},cs=typeof P<"u"&&P.MotionDebug!==void 0,ff=["","X","Y","Z"],uP={visibility:"hidden"},Ov=1e3,fP=0;function df(e,t,n,r){let{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function b0(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:t}=e.options;if(!t)return;let n=Ay(t);if(P.MotionHasOptimisedAnimation(n,"transform")){let{layout:i,layoutId:o}=e.options;P.MotionCancelOptimisedAnimation(n,"transform",Z,!(i||o))}let{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&b0(r)}function x0({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(s={},a=t?.()){this.id=fP++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,cs&&(bi.totalNodes=bi.resolvedTargetDeltas=bi.recalculatedProjection=0),this.nodes.forEach(pP),this.nodes.forEach(bP),this.nodes.forEach(xP),this.nodes.forEach(mP),cs&&P.MotionDebug.record(bi)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=s,this.root=a?a.root||a:this,this.path=a?[...a.path,a]:[],this.parent=a,this.depth=a?a.depth+1:0;for(let l=0;lthis.root.updateBlockedByResize=!1;e(s,()=>{this.root.updateBlockedByResize=!0,f&&f(),f=Xy(d,250),Za.hasAnimatedSinceResize&&(Za.hasAnimatedSinceResize=!1,this.nodes.forEach(Lv))})}l&&this.root.registerSharedNode(l,this),this.options.animate!==!1&&u&&(l||c)&&this.addEventListener("didUpdate",({delta:f,hasLayoutChanged:d,hasRelativeTargetChanged:m,layout:v})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let g=this.options.transition||u.getDefaultTransition()||TP,{onLayoutAnimationStart:b,onLayoutAnimationComplete:p}=u.getProps(),h=!this.targetLayout||!g0(this.targetLayout,v)||m,y=!d&&m;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||y||d&&(h||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(f,y);let x={...ld(g,"layout"),onPlay:b,onComplete:p};(u.shouldReduceMotion||this.options.layoutRoot)&&(x.delay=0,x.type=!1),this.startAnimation(x)}else d||Lv(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=v})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let s=this.getStack();s&&s.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,Mt(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(wP),this.animationId++)}getTransformTemplate(){let{visualElement:s}=this.options;return s&&s.getProps().transformTemplate}willUpdate(s=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(P.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&b0(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let u=0;u{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let l=0;l{let k=x/1e3;Vv(f.x,s.x,k),Vv(f.y,s.y,k),this.setTargetDelta(f),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(hs(d,this.layout.layoutBox,this.relativeParent.layout.layoutBox),kP(this.relativeTarget,this.relativeTargetOrigin,d,k),y&&aP(this.relativeTarget,y)&&(this.isProjectionDirty=!1),y||(y=$e()),vn(y,this.relativeTarget)),g&&(this.animationValues=u,tP(u,c,this.latestValues,k,h,p)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=k},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(s){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(Mt(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Z.update(()=>{Za.hasAnimatedSinceResize=!0,this.currentAnimation=y0(0,Ov,{...s,onUpdate:a=>{this.mixTargetDelta(a),s.onUpdate&&s.onUpdate(a)},onComplete:()=>{s.onComplete&&s.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 s=this.getStack();s&&s.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(Ov),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let s=this.getLead(),{targetWithTransforms:a,target:l,layout:c,latestValues:u}=s;if(!(!a||!l||!c)){if(this!==s&&this.layout&&c&&w0(this.options.animationType,this.layout.layoutBox,c.layoutBox)){l=this.target||$e();let f=Nt(this.layout.layoutBox.x);l.x.min=s.target.x.min,l.x.max=l.x.min+f;let d=Nt(this.layout.layoutBox.y);l.y.min=s.target.y.min,l.y.max=l.y.min+d}vn(a,l),oo(a,u),ds(this.projectionDeltaWithTransform,this.layoutCorrected,a,u)}}registerSharedNode(s,a){this.sharedNodes.has(s)||this.sharedNodes.set(s,new lP),this.sharedNodes.get(s).add(a);let c=a.options.initialPromotionConfig;a.promote({transition:c?c.transition:void 0,preserveFollowOpacity:c&&c.shouldPreserveFollowOpacity?c.shouldPreserveFollowOpacity(a):void 0})}isLead(){let s=this.getStack();return s?s.lead===this:!0}getLead(){var s;let{layoutId:a}=this.options;return a?((s=this.getStack())===null||s===void 0?void 0:s.lead)||this:this}getPrevLead(){var s;let{layoutId:a}=this.options;return a?(s=this.getStack())===null||s===void 0?void 0:s.prevLead:void 0}getStack(){let{layoutId:s}=this.options;if(s)return this.root.sharedNodes.get(s)}promote({needsReset:s,transition:a,preserveFollowOpacity:l}={}){let c=this.getStack();c&&c.promote(this,l),s&&(this.projectionDelta=void 0,this.needsReset=!0),a&&this.setOptions({transition:a})}relegate(){let s=this.getStack();return s?s.relegate(this):!1}resetSkewAndRotation(){let{visualElement:s}=this.options;if(!s)return;let a=!1,{latestValues:l}=s;if((l.z||l.rotate||l.rotateX||l.rotateY||l.rotateZ||l.skewX||l.skewY)&&(a=!0),!a)return;let c={};l.z&&df("z",s,c,this.animationValues);for(let u=0;u{var a;return(a=s.currentAnimation)===null||a===void 0?void 0:a.stop()}),this.root.nodes.forEach(Mv),this.root.sharedNodes.clear()}}}function dP(e){e.updateLayout()}function hP(e){var t;let n=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){let{layoutBox:r,measuredBox:i}=e.layout,{animationType:o}=e.options,s=n.source!==e.layout.source;o==="size"?yn(f=>{let d=s?n.measuredBox[f]:n.layoutBox[f],m=Nt(d);d.min=r[f].min,d.max=d.min+m}):w0(o,n.layoutBox,r)&&yn(f=>{let d=s?n.measuredBox[f]:n.layoutBox[f],m=Nt(r[f]);d.max=d.min+m,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[f].max=e.relativeTarget[f].min+m)});let a=no();ds(a,r,n.layoutBox);let l=no();s?ds(l,e.applyTransform(i,!0),n.measuredBox):ds(l,r,n.layoutBox);let c=!m0(a),u=!1;if(!e.resumeFrom){let f=e.getClosestProjectingParent();if(f&&!f.resumeFrom){let{snapshot:d,layout:m}=f;if(d&&m){let v=$e();hs(v,n.layoutBox,d.layoutBox);let g=$e();hs(g,r,m.layoutBox),g0(v,g)||(u=!0),f.options.layoutRoot&&(e.relativeTarget=g,e.relativeTargetOrigin=v,e.relativeParent=f)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:n,delta:l,layoutDelta:a,hasLayoutChanged:c,hasRelativeTargetChanged:u})}else if(e.isLead()){let{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function pP(e){cs&&bi.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function mP(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function gP(e){e.clearSnapshot()}function Mv(e){e.clearMeasurements()}function vP(e){e.isLayoutDirty=!1}function yP(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Lv(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function bP(e){e.resolveTargetDelta()}function xP(e){e.calcProjection()}function wP(e){e.resetSkewAndRotation()}function SP(e){e.removeLeadSnapshot()}function Vv(e,t,n){e.translate=Oe(t.translate,0,n),e.scale=Oe(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function Av(e,t,n,r){e.min=Oe(t.min,n.min,r),e.max=Oe(t.max,n.max,r)}function kP(e,t,n,r){Av(e.x,t.x,n.x,r),Av(e.y,t.y,n.y,r)}function CP(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}var TP={duration:.45,ease:[.4,0,.1,1]},Dv=e=>typeof Fe<"u"&&Fe.userAgent&&Fe.userAgent.toLowerCase().includes(e),zv=Dv("applewebkit/")&&!Dv("chrome/")?Math.round:vt;function Bv(e){e.min=zv(e.min),e.max=zv(e.max)}function RP(e){Bv(e.x),Bv(e.y)}function w0(e,t,n){return e==="position"||e==="preserve-aspect"&&!hF(_v(t),_v(n),.2)}function EP(e){var t;return e!==e.root&&((t=e.scroll)===null||t===void 0?void 0:t.wasRoot)}var FP=x0({attachResizeListener:(e,t)=>mr(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Si={current:void 0},S0=x0({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Si.current){let e=new FP({});e.mount(P),e.setOptions({layoutScroll:!0}),Si.current=e}return Si.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>P.getComputedStyle(e).position==="fixed"}),k0={pan:{Feature:KF},drag:{Feature:YF,ProjectionNode:S0,MeasureLayout:d0}};function $v(e,t){let n=t?"pointerenter":"pointerleave",r=t?"onHoverStart":"onHoverEnd",i=(o,s)=>{if(o.pointerType==="touch"||md())return;let a=e.getProps();e.animationState&&a.whileHover&&e.animationState.setActive("whileHover",t);let l=a[r];l&&Z.postRender(()=>l(o,s))};return qn(e.current,n,i,{passive:!e.getProps()[r]})}var PP=class extends Br{mount(){this.unmount=Un($v(this.node,!0),$v(this.node,!1))}unmount(){}},_P=class extends Br{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch{e=!0}!e||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Un(mr(this.node.current,"focus",()=>this.onFocus()),mr(this.node.current,"blur",()=>this.onBlur()))}unmount(){}},C0=(e,t)=>t?e===t?!0:C0(e,t.parentElement):!1;function hf(e,t){if(!t)return;let n=new PointerEvent("pointer"+e);t(n,xl(n))}var IP=class extends Br{constructor(){super(...arguments),this.removeStartListeners=vt,this.removeEndListeners=vt,this.removeAccessibleListeners=vt,this.startPointerPress=(e,t)=>{if(this.isPressing)return;this.removeEndListeners();let n=this.node.getProps(),i=qn(P,"pointerup",(s,a)=>{if(!this.checkPressEnd())return;let{onTap:l,onTapCancel:c,globalTapTarget:u}=this.node.getProps(),f=!u&&!C0(this.node.current,s.target)?c:l;f&&Z.update(()=>f(s,a))},{passive:!(n.onTap||n.onPointerUp)}),o=qn(P,"pointercancel",(s,a)=>this.cancelPress(s,a),{passive:!(n.onTapCancel||n.onPointerCancel)});this.removeEndListeners=Un(i,o),this.startPress(e,t)},this.startAccessiblePress=()=>{let e=i=>{if(i.key!=="Enter"||this.isPressing)return;let o=s=>{s.key!=="Enter"||!this.checkPressEnd()||hf("up",(a,l)=>{let{onTap:c}=this.node.getProps();c&&Z.postRender(()=>c(a,l))})};this.removeEndListeners(),this.removeEndListeners=mr(this.node.current,"keyup",o),hf("down",(s,a)=>{this.startPress(s,a)})},t=mr(this.node.current,"keydown",e),n=()=>{this.isPressing&&hf("cancel",(i,o)=>this.cancelPress(i,o))},r=mr(this.node.current,"blur",n);this.removeAccessibleListeners=Un(t,r)}}startPress(e,t){this.isPressing=!0;let{onTapStart:n,whileTap:r}=this.node.getProps();r&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),n&&Z.postRender(()=>n(e,t))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!md()}cancelPress(e,t){if(!this.checkPressEnd())return;let{onTapCancel:n}=this.node.getProps();n&&Z.postRender(()=>n(e,t))}mount(){let e=this.node.getProps(),t=qn(e.globalTapTarget?P:this.node.current,"pointerdown",this.startPointerPress,{passive:!(e.onTapStart||e.onPointerStart)}),n=mr(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=Un(t,n)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}},Vf=new WeakMap,pf=new WeakMap,OP=e=>{let t=Vf.get(e.target);t&&t(e)},MP=e=>{e.forEach(OP)};function LP({root:e,...t}){let n=e||document;pf.has(n)||pf.set(n,{});let r=pf.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(MP,{root:e,...t})),r[i]}function VP(e,t,n){let r=LP(t);return Vf.set(e,n),r.observe(e),()=>{Vf.delete(e),r.unobserve(e)}}var AP={some:0,all:1},DP=class extends Br{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:e={}}=this.node.getProps(),{root:t,margin:n,amount:r="some",once:i}=e,o={root:t?t.current:void 0,rootMargin:n,threshold:typeof r=="number"?r:AP[r]},s=a=>{let{isIntersecting:l}=a;if(this.isInView===l||(this.isInView=l,i&&!l&&this.hasEnteredView))return;l&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",l);let{onViewportEnter:c,onViewportLeave:u}=this.node.getProps(),f=l?c:u;f&&f(a)};return VP(this.node.current,o,s)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;let{props:e,prevProps:t}=this.node;["amount","margin","root"].some(zP(e,t))&&this.startObserver()}unmount(){}};function zP({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}var T0={inView:{Feature:DP},tap:{Feature:IP},focus:{Feature:_P},hover:{Feature:PP}},R0={layout:{ProjectionNode:S0,MeasureLayout:d0}},BP=["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 Sd(e){return typeof e!="string"||e.includes("-")?!1:!!(BP.indexOf(e)>-1||/[A-Z]/u.test(e))}function E0(e,{style:t,vars:n},r,i){Object.assign(e.style,t,i&&i.getProjectionStyles(r));for(let o in n)e.style.setProperty(o,n[o])}var F0=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function P0(e,t,n,r){E0(e,t,void 0,r);for(let i in t.attrs)e.setAttribute(F0.has(i)?i:gl(i),t.attrs[i])}function _0(e,{layout:t,layoutId:n}){return zr.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!ol[e]||e==="opacity")}function kd(e,t,n){var r;let{style:i}=e,o={};for(let s in i)(De(i[s])||t.style&&De(t.style[s])||_0(s,e)||((r=n?.getValue(s))===null||r===void 0?void 0:r.liveStyle)!==void 0)&&(o[s]=i[s]);return n&&i&&typeof i.willChange=="string"&&(n.applyWillChange=!1),o}function I0(e,t,n){let r=kd(e,t,n);for(let i in e)if(De(e[i])||De(t[i])){let o=ks.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;r[o]=e[i]}return r}var Cd=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),O0=()=>({...Cd(),attrs:{}});function Td(e,t,n){let{style:r,vars:i,transformOrigin:o}=e,s=!1,a=!1;for(let l in t){let c=t[l];if(zr.has(l)){s=!0;continue}else if(my(l)){i[l]=c;continue}else{let u=Jy(c,nd[l]);l.startsWith("origin")?(a=!0,o[l]=u):r[l]=u}}if(t.transform||(s||n?r.transform=e0(t,e.transform,n):r.transform&&(r.transform="none")),a){let{originX:l="50%",originY:c="50%",originZ:u=0}=o;r.transformOrigin=`${l} ${c} ${u}`}}function Nv(e,t,n){return typeof e=="string"?e:Q.transform(t+n*e)}function $P(e,t,n){let r=Nv(t,e.x,e.width),i=Nv(n,e.y,e.height);return`${r} ${i}`}var NP={offset:"stroke-dashoffset",array:"stroke-dasharray"},jP={offset:"strokeDashoffset",array:"strokeDasharray"};function HP(e,t,n=1,r=0,i=!0){e.pathLength=1;let o=i?NP:jP;e[o.offset]=Q.transform(-r);let s=Q.transform(t),a=Q.transform(n);e[o.array]=`${s} ${a}`}function Rd(e,{attrX:t,attrY:n,attrScale:r,originX:i,originY:o,pathLength:s,pathSpacing:a=1,pathOffset:l=0,...c},u,f){if(Td(e,c,f),u){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:d,style:m,dimensions:v}=e;d.transform&&(v&&(m.transform=d.transform),delete d.transform),v&&(i!==void 0||o!==void 0||m.transform)&&(m.transformOrigin=$P(v,i!==void 0?i:.5,o!==void 0?o:.5)),t!==void 0&&(d.x=t),n!==void 0&&(d.y=n),r!==void 0&&(d.scale=r),s!==void 0&&HP(d,s,a,l,!1)}var Ed=e=>typeof e=="string"&&e.toLowerCase()==="svg",WP={useVisualState:Cl({scrapeMotionValuesFromProps:I0,createRenderState:O0,onMount:(e,t,{renderState:n,latestValues:r})=>{Z.read(()=>{try{n.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{n.dimensions={x:0,y:0,width:0,height:0}}}),Z.render(()=>{Rd(n,r,Ed(t.tagName),e.transformTemplate),P0(t,n)})}})},UP={useVisualState:Cl({applyWillChange:!0,scrapeMotionValuesFromProps:kd,createRenderState:Cd})};function M0(e,t,n){for(let r in t)!De(t[r])&&!_0(r,n)&&(e[r]=t[r])}function GP({transformTemplate:e},t){return se(()=>{let n=Cd();return Td(n,t,e),Object.assign({},n.vars,n.style)},[t])}function qP(e,t){let n=e.style||{},r={};return M0(r,n,e),Object.assign(r,GP(e,t)),r}function XP(e,t){let n={},r=qP(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}function YP(e,t,n,r){let i=se(()=>{let o=O0();return Rd(o,t,Ed(r),e.transformTemplate),{...o.attrs,style:{...o.style}}},[t]);if(e.style){let o={};M0(o,e.style,e),i.style={...o,...i.style}}return i}function KP(e=!1){return(n,r,i,{latestValues:o},s)=>{let l=(Sd(n)?YP:XP)(r,o,s,n),c=r0(r,typeof n=="string",e),u=n!==gn?{...c,...l,ref:i}:{},{children:f}=r,d=se(()=>De(f)?f.get():f,[f]);return Ji(n,{...u,children:d})}}function QP(e,t){return function(r,{forwardMotionProps:i}={forwardMotionProps:!1}){let s={...Sd(r)?WP:UP,preloadedFeatures:e,useRender:KP(i),createVisualElement:t,Component:r};return Zy(s)}}var L0=class extends wd{constructor(){super(...arguments),this.KeyframeResolver=Py}sortInstanceNodePosition(e,t){return e.compareDocumentPosition(t)&2?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}};function ZP(e){return P.getComputedStyle(e)}var V0=class extends L0{constructor(){super(...arguments),this.type="html",this.applyWillChange=!0,this.renderInstance=E0}readValueFromInstance(e,t){if(zr.has(t)){let n=rd(t);return n&&n.default||0}else{let n=ZP(e),r=(my(t)?n.getPropertyValue(t):n[t])||0;return typeof r=="string"?r.trim():r}}measureInstanceViewportBox(e,{transformPagePoint:t}){return u0(e,t)}build(e,t,n){Td(e,t,n.transformTemplate)}scrapeMotionValuesFromProps(e,t,n){return kd(e,t,n)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;De(e)&&(this.childSubscription=e.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}},A0=class extends L0{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=$e}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(zr.has(t)){let n=rd(t);return n&&n.default||0}return t=F0.has(t)?t:gl(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,n){return I0(e,t,n)}build(e,t,n){Rd(e,t,this.isSVGTag,n.transformTemplate)}renderInstance(e,t,n,r){P0(e,t,n,r)}mount(e){this.isSVGTag=Ed(e.tagName),super.mount(e)}},Fd=(e,t)=>Sd(e)?new A0(t):new V0(t,{allowProjection:e!==gn}),JP=QP({...bl,...T0,...k0,...R0},Fd),Jt=MF(JP);var e_=class extends Ce{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){let n=this.props.sizeRef.current;n.height=t.offsetHeight||0,n.width=t.offsetWidth||0,n.top=t.offsetTop,n.left=t.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}};function t_({children:e,isPresent:t}){let n=gi(),r=V(null),i=V({width:0,height:0,top:0,left:0}),{nonce:o}=A(br);return lt(()=>{let{width:s,height:a,top:l,left:c}=i.current;if(t||!r.current||!s||!a)return;r.current.dataset.motionPopId=n;let u=document.createElement("style");return o&&(u.nonce=o),document.head.appendChild(u),u.sheet&&u.sheet.insertRule(` [data-motion-pop-id="${n}"] { position: absolute !important; width: ${s}px !important; height: ${a}px !important; top: ${l}px !important; left: ${c}px !important; } `),()=>{document.head.removeChild(u)}},[t]),C(e_,{isPresent:t,childRef:r,sizeRef:i,children:pr(e,{ref:r})})}var n_=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:i,presenceAffectsLayout:o,mode:s})=>{let a=Yn(r_),l=gi(),c=K(f=>{a.set(f,!0);for(let d of a.values())if(!d)return;r&&r()},[a,r]),u=se(()=>({id:l,initial:t,isPresent:n,custom:i,onExitComplete:c,register:f=>(a.set(f,!1),()=>a.delete(f))}),o?[Math.random(),c]:[n,c]);return se(()=>{a.forEach((f,d)=>a.set(d,!1))},[n]),j(()=>{!n&&!a.size&&r&&r()},[n]),s==="popLayout"&&(e=C(t_,{isPresent:n,children:e})),C(po.Provider,{value:u,children:e})};function r_(){return new Map}var Ya=e=>e.key||"";function jv(e){let t=[];return mn.forEach(e,n=>{Ot(n)&&t.push(n)}),t}var Pd=({children:e,exitBeforeEnter:t,custom:n,initial:r=!0,onExitComplete:i,presenceAffectsLayout:o=!0,mode:s="sync"})=>{Zt(!t,"Replace exitBeforeEnter with mode='wait'");let a=se(()=>jv(e),[e]),l=a.map(Ya),c=V(!0),u=V(a),f=Yn(()=>new Map),[d,m]=Be(a),[v,g]=Be(a);$r(()=>{c.current=!1,u.current=a;for(let h=0;h{let y=Ya(h),x=a===v||l.includes(y),k=()=>{if(f.has(y))f.set(y,!0);else return;let S=!0;f.forEach(T=>{T||(S=!1)}),S&&(p?.(),g(u.current),i&&i())};return C(n_,{isPresent:x,initial:!c.current||r?void 0:!1,custom:x?void 0:n,presenceAffectsLayout:o,mode:s,onExitComplete:x?void 0:k,children:h},y)})})};function D0({children:e,isValidProp:t,...n}){t&&n0(t),n={...A(br),...n},n.isStatic=Yn(()=>n.isStatic);let r=se(()=>n,[JSON.stringify(n.transition),n.transformPagePoint,n.reducedMotion]);return C(br.Provider,{value:r,children:e})}var z0=ve(null);function i_(){let e=V(!1);return $r(()=>(e.current=!0,()=>{e.current=!1}),[]),e}function _d(){let e=i_(),[t,n]=Be(0),r=K(()=>{e.current&&n(t+1)},[t]);return[K(()=>Z.postRender(r),[r]),t]}var o_=e=>!e.isLayoutDirty&&e.willUpdate(!1);function Hv(){let e=new Set,t=new WeakMap,n=()=>e.forEach(o_);return{add:r=>{e.add(r),t.set(r,r.addEventListener("willUpdate",n))},remove:r=>{e.delete(r);let i=t.get(r);i&&(i(),t.delete(r)),n()},dirty:n}}var B0=e=>e===!0,s_=e=>B0(e===!0)||e==="id",$0=({children:e,id:t,inherit:n=!0})=>{let r=A(xs),i=A(z0),[o,s]=_d(),a=V(null),l=r.id||i;a.current===null&&(s_(n)&&l&&(t=t?l+"-"+t:l),a.current={id:t,group:B0(n)&&r.group||Hv()});let c=se(()=>({...a.current,forceRender:o}),[s]);return C(xs.Provider,{value:c,children:e})},a_={renderer:Fd,...bl},N0={renderer:Fd,...bl,...T0},l_={...N0,...k0,...R0};function Kn(e){let t=Yn(()=>Ge(e)),{isStatic:n}=A(br);if(n){let[,r]=Be(e);j(()=>t.on("change",r),[])}return t}function j0(e,t){let n=Kn(t()),r=()=>n.set(t());return r(),$r(()=>{let i=()=>Z.preRender(r,!1,!0),o=e.map(s=>s.on("change",i));return()=>{o.forEach(s=>s()),Mt(r)}}),n}var c_=e=>e&&typeof e=="object"&&e.mix,u_=e=>c_(e)?e.mix:void 0;function Ts(...e){let t=!Array.isArray(e[0]),n=t?0:-1,r=e[0+n],i=e[1+n],o=e[2+n],s=e[3+n],a=ho(i,o,{mixer:u_(o[0]),...s});return t?a(r):a}function f_(e){fs.current=[],e();let t=j0(fs.current,e);return fs.current=void 0,t}function Lt(e,t,n,r){if(typeof e=="function")return f_(e);let i=typeof t=="function"?t:Ts(t,n,r);return Array.isArray(e)?Wv(e,i):Wv([e],([o])=>i(o))}function Wv(e,t){let n=Yn(()=>[]);return j0(e,()=>{n.length=0;let r=e.length;for(let i=0;i{}),a=()=>{let c=r.current;c&&c.time===0&&c.sample(Ue.delta),l(),r.current=td({keyframes:[i.get(),o.current],velocity:i.getVelocity(),type:"spring",restDelta:.001,restSpeed:.01,...t,onUpdate:s.current})},l=()=>{r.current&&r.current.stop()};return lt(()=>i.attach((c,u)=>n?u(c):(o.current=c,s.current=u,Z.update(a),i.get()),l),[JSON.stringify(t)]),$r(()=>{if(De(e))return e.on("change",c=>i.set(Uv(c)))},[i]),i}function Od(e,t,n){var r;if(typeof e=="string"){let i=document;t&&(Zt(!!t.current,"Scope provided, but no element detected."),i=t.current),n?((r=n[e])!==null&&r!==void 0||(n[e]=i.querySelectorAll(e)),e=n[e]):e=i.querySelectorAll(e)}else e instanceof Element&&(e=[e]);return Array.from(e||[])}var Ja=new WeakMap,Dr;function d_(e,t){if(t){let{inlineSize:n,blockSize:r}=t[0];return{width:n,height:r}}else return e instanceof SVGElement&&"getBBox"in e?e.getBBox():{width:e.offsetWidth,height:e.offsetHeight}}function h_({target:e,contentRect:t,borderBoxSize:n}){var r;(r=Ja.get(e))===null||r===void 0||r.forEach(i=>{i({target:e,contentSize:t,get size(){return d_(e,n)}})})}function p_(e){e.forEach(h_)}function m_(){typeof ResizeObserver>"u"||(Dr=new ResizeObserver(p_))}function g_(e,t){Dr||m_();let n=Od(e);return n.forEach(r=>{let i=Ja.get(r);i||(i=new Set,Ja.set(r,i)),i.add(t),Dr?.observe(r)}),()=>{n.forEach(r=>{let i=Ja.get(r);i?.delete(t),i?.size||Dr?.unobserve(r)})}}var el=new Set,ps;function v_(){ps=()=>{let e={width:P.innerWidth,height:P.innerHeight},t={target:P,size:e,contentSize:e};el.forEach(n=>n(t))},P.addEventListener("resize",ps)}function y_(e){return el.add(e),ps||v_(),()=>{el.delete(e),!el.size&&ps&&(ps=void 0)}}function b_(e,t){return typeof e=="function"?y_(e):g_(e,t)}var x_=50,Gv=()=>({current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}),w_=()=>({time:0,x:Gv(),y:Gv()}),S_={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};function qv(e,t,n,r){let i=n[t],{length:o,position:s}=S_[t],a=i.current,l=n.time;i.current=e[`scroll${s}`],i.scrollLength=e[`scroll${o}`]-e[`client${o}`],i.offset.length=0,i.offset[0]=0,i.offset[1]=i.scrollLength,i.progress=yr(0,i.scrollLength,i.current);let c=r-l;i.velocity=c>x_?0:qf(i.current-a,c)}function k_(e,t,n){qv(e,"x",t,n),qv(e,"y",t,n),t.time=n}function C_(e,t){let n={x:0,y:0},r=e;for(;r&&r!==t;)if(r instanceof HTMLElement)n.x+=r.offsetLeft,n.y+=r.offsetTop,r=r.offsetParent;else if(r.tagName==="svg"){let i=r.getBoundingClientRect();r=r.parentElement;let o=r.getBoundingClientRect();n.x+=i.left-o.left,n.y+=i.top-o.top}else if(r instanceof SVGGraphicsElement){let{x:i,y:o}=r.getBBox();n.x+=i,n.y+=o;let s=null,a=r.parentNode;for(;!s;)a.tagName==="svg"&&(s=a),a=r.parentNode;r=s}else break;return n}var T_={Enter:[[0,1],[1,1]],Exit:[[0,0],[1,0]],Any:[[1,0],[0,1]],All:[[0,0],[1,1]]},Af={start:0,center:.5,end:1};function Xv(e,t,n=0){let r=0;if(e in Af&&(e=Af[e]),typeof e=="string"){let i=parseFloat(e);e.endsWith("px")?r=i:e.endsWith("%")?e=i/100:e.endsWith("vw")?r=i/100*document.documentElement.clientWidth:e.endsWith("vh")?r=i/100*document.documentElement.clientHeight:e=i}return typeof e=="number"&&(r=t*e),n+r}var R_=[0,0];function E_(e,t,n,r){let i=Array.isArray(e)?e:R_,o=0,s=0;return typeof e=="number"?i=[e,e]:typeof e=="string"&&(e=e.trim(),e.includes(" ")?i=e.split(" "):i=[e,Af[e]?e:"0"]),o=Xv(i[0],n,r),s=Xv(i[1],t),o-s}var F_={x:0,y:0};function P_(e){return"getBBox"in e&&e.tagName!=="svg"?e.getBBox():{width:e.clientWidth,height:e.clientHeight}}function __(e,t,n){let{offset:r=T_.All}=n,{target:i=e,axis:o="y"}=n,s=o==="y"?"height":"width",a=i!==e?C_(i,e):F_,l=i===e?{width:e.scrollWidth,height:e.scrollHeight}:P_(i),c={width:e.clientWidth,height:e.clientHeight};t[o].offset.length=0;let u=!t[o].interpolate,f=r.length;for(let d=0;dI_(e,r.target,n),update:i=>{k_(e,n,i),(r.offset||r.target)&&__(e,n,r)},notify:()=>t(n)}}var ss=new WeakMap,Yv=new WeakMap,mf=new WeakMap,Kv=e=>e===document.documentElement?P:e;function Nr(e,{container:t=document.documentElement,...n}={}){let r=mf.get(t);r||(r=new Set,mf.set(t,r));let i=w_(),o=O_(t,e,i,n);if(r.add(o),!ss.has(t)){let a=()=>{for(let d of r)d.measure()},l=()=>{for(let d of r)d.update(Ue.timestamp)},c=()=>{for(let d of r)d.notify()},u=()=>{Z.read(a,!1,!0),Z.read(l,!1,!0),Z.update(c,!1,!0)};ss.set(t,u);let f=Kv(t);P.addEventListener("resize",u,{passive:!0}),t!==document.documentElement&&Yv.set(t,b_(t,u)),f.addEventListener("scroll",u,{passive:!0})}let s=ss.get(t);return Z.read(s,!1,!0),()=>{var a;Mt(s);let l=mf.get(t);if(!l||(l.delete(o),l.size))return;let c=ss.get(t);ss.delete(t),c&&(Kv(t).removeEventListener("scroll",c),(a=Yv.get(t))===null||a===void 0||a(),P.removeEventListener("resize",c))}}function H0(e,t){let n,r=()=>{let{currentTime:i}=t,s=(i===null?0:i.value)/100;n!==s&&e(s),n=s};return Z.update(r,!0),()=>Mt(r)}function M_({source:e,container:t,axis:n="y"}){e&&(t=e);let r={value:0},i=Nr(o=>{r.value=o[n].progress*100},{container:t,axis:n});return{currentTime:r,cancel:i}}var gf=new Map;function W0({source:e,container:t=document.documentElement,axis:n="y"}={}){e&&(t=e),gf.has(t)||gf.set(t,{});let r=gf.get(t);return r[n]||(r[n]=Ly()?new ScrollTimeline({source:t,axis:n}):M_({source:t,axis:n})),r[n]}function L_(e){return e.length===2}function U0(e){return e&&(e.target||e.offset)}function V_(e,t){return L_(e)||U0(t)?Nr(n=>{e(n[t.axis].progress,n)},t):H0(e,W0(t))}function A_(e,t){if(U0(t))return e.pause(),Nr(n=>{e.time=e.duration*n[t.axis].progress},t);{let n=W0(t);return e.attachTimeline(n,r=>(r.pause(),H0(i=>{r.time=r.duration*i},n)))}}function G0(e,{axis:t="y",...n}={}){let r={axis:t,...n};return typeof e=="function"?V_(e,r):A_(e,r)}function Qv(e,t){uo(!!(!t||t.current),`You have defined a ${e} options but the provided ref is not yet hydrated, probably because it's defined higher up the tree. Try calling useScroll() in the same component as the ref, or setting its \`layoutEffect: false\` option.`)}var D_=()=>({scrollX:Ge(0),scrollY:Ge(0),scrollXProgress:Ge(0),scrollYProgress:Ge(0)});function q0({container:e,target:t,layoutEffect:n=!0,...r}={}){let i=Yn(D_);return(n?$r:j)(()=>(Qv("target",t),Qv("container",e),G0((s,{x:a,y:l})=>{i.scrollX.set(a.current),i.scrollXProgress.set(a.progress),i.scrollY.set(l.current),i.scrollYProgress.set(l.progress)},{...r,container:e?.current||void 0,target:t?.current||void 0})),[e,t,JSON.stringify(r.offset)]),i}function X0(){!xd.current&&i0();let[e]=Be(sl.current);return e}function ki(){let e=X0(),{reducedMotion:t}=A(br);return t==="never"?!1:t==="always"?!0:e}function z_(e){e.values.forEach(t=>t.stop())}function Df(e,t){[...t].reverse().forEach(r=>{let i=e.getVariant(r);i&&ud(e,i),e.variantChildren&&e.variantChildren.forEach(o=>{Df(o,t)})})}function B_(e,t){if(Array.isArray(t))return Df(e,t);if(typeof t=="string")return Df(e,[t]);ud(e,t)}function Y0(){let e=!1,t=new Set,n={subscribe(r){return t.add(r),()=>void t.delete(r)},start(r,i){Zt(e,"controls.start() should only be called after a component has mounted. Consider calling within a useEffect hook.");let o=[];return t.forEach(s=>{o.push(dd(s,r,{transitionOverride:i}))}),Promise.all(o)},set(r){return Zt(e,"controls.set() should only be called after a component has mounted. Consider calling within a useEffect hook."),t.forEach(i=>{B_(i,r)})},stop(){t.forEach(r=>{z_(r)})},mount(){return e=!0,()=>{e=!1,n.stop()}}};return n}var K0=(e,t,n)=>{let r=t-e;return((n-e)%r+r)%r+e};function $_(e,t=100,n){let r=n({...e,keyframes:[0,t]}),i=Math.min(Sy(r),Cf);return{type:"keyframes",ease:o=>r.next(i*o).value/t,duration:Wn(i)}}function Md(e){return typeof e=="object"&&!Array.isArray(e)}function Q0(e,t,n,r){return typeof e=="string"&&Md(t)?Od(e,n,r):e instanceof NodeList?Array.from(e):Array.isArray(e)?e:[e]}function Zv(e,t,n,r){var i;return typeof t=="number"?t:t.startsWith("-")||t.startsWith("+")?Math.max(0,e+parseFloat(t)):t==="<"?n:(i=r.get(t))!==null&&i!==void 0?i:e}function N_(e,t){return vy(e)?e[K0(0,e.length,t)]:e}function j_(e,t,n){for(let r=0;rt&&i.at{let O=q_(x),{delay:I=0,times:B=Jf(O),type:z="keyframes",...N}=k,{ease:J=t.ease||"easeOut",duration:H}=k,ue=typeof I=="function"?I(T,E):I,ie=O.length,q=fl(z)?z:i?.[z];if(ie<=2&&q){let me=100;if(ie===2&&K_(O)){let Ye=O[1]-O[0];me=Math.abs(Ye)}let ae={...N};H!==void 0&&(ae.duration=Pn(H));let X=$_(ae,me,q);J=X.ease,H=X.duration}H??(H=o);let re=f+ue,W=re+H;B.length===1&&B[0]===0&&(B[1]=1);let pe=B.length-O.length;pe>0&&yy(B,pe),O.length===1&&O.unshift(null),H_(S,O,J,B,re,W),h=Math.max(ue+H,h),d=Math.max(W,d)};if(De(g)){let x=Jv(g,a);y(b,p,ey("default",x))}else{let x=Q0(g,b,r,l),k=x.length;for(let S=0;S{for(let g in m){let b=m[g];b.sort(W_);let p=[],h=[],y=[];for(let k=0;ktypeof e=="number",K_=e=>e.every(Y_);function Q_(e,t){return e in t}var Z_=class extends wd{constructor(){super(...arguments),this.type="object"}readValueFromInstance(e,t){if(Q_(t,e)){let n=e[t];if(typeof n=="string"||typeof n=="number")return n}}getBaseTargetFromProps(){}removeValueFromRenderState(e,t){delete t.output[e]}measureInstanceViewportBox(){return $e()}build(e,t){Object.assign(e.output,t)}renderInstance(e,{output:t}){Object.assign(e,t)}sortInstanceNodePosition(){return 0}};function J_(e){let t={presenceContext:null,props:{},visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{}}},n=v0(e)?new A0(t):new V0(t);n.mount(e),Xn.set(e,n)}function eI(e){let t={presenceContext:null,props:{},visualState:{renderState:{output:{}},latestValues:{}}},n=new Z_(t);n.mount(e),Xn.set(e,n)}function tI(e,t){return De(e)||typeof e=="number"||typeof e=="string"&&!Md(t)}function Z0(e,t,n,r){let i=[];if(tI(e,t))i.push(y0(e,Md(t)&&t.default||t,n&&(n.default||n)));else{let o=Q0(e,t,r),s=o.length;Zt(!!s,"No valid elements provided.");for(let a=0;a{r.push(...Z0(a,o,s))}),r}function rI(e){return Array.isArray(e)&&Array.isArray(e[0])}function J0(e){function t(n,r,i){let o=[];rI(n)?o=nI(n,r,e):o=Z0(n,r,i,e);let s=new Vy(o);return e&&e.animations.push(s),s}return t}var Qn=J0();function eb(){let e=Yn(Y0);return $r(e.mount,[]),e}var tb=eb;var iI={some:0,all:1};function Ld(e,t,{root:n,margin:r,amount:i="some"}={}){let o=Od(e),s=new WeakMap,a=c=>{c.forEach(u=>{let f=s.get(u.target);if(u.isIntersecting!==!!f)if(u.isIntersecting){let d=t(u);typeof d=="function"?s.set(u.target,d):l.unobserve(u.target)}else f&&(f(u),s.delete(u.target))})},l=new IntersectionObserver(a,{root:n,rootMargin:r,threshold:typeof i=="number"?i:iI[i]});return o.forEach(c=>l.observe(c)),()=>l.disconnect()}function Tl(e){return e!==null&&typeof e=="object"&&bd in e}function Vd(e){if(Tl(e))return e[bd]}function Ad(){return oI}function oI(e){Si.current&&(Si.current.isUpdating=!1,Si.current.blockUpdate(),e&&e())}function nb(){let[e,t]=_d(),n=Ad(),r=V();return j(()=>{Z.postRender(()=>Z.postRender(()=>{t===r.current&&(nl.current=!1)}))},[t]),i=>{n(()=>{nl.current=!0,e(),i(),r.current=t+1})}}function rb(){return K(()=>{let t=Si.current;t&&t.resetTree()},[])}var ty=()=>({});var dN=Cl({scrapeMotionValuesFromProps:ty,createRenderState:ty});var ib={};bg(ib,{Group:()=>lI,Item:()=>dI});var ob=ve(null);function sI(e,t,n,r){if(!r)return e;let i=e.findIndex(u=>u.value===t);if(i===-1)return e;let o=r>0?1:-1,s=e[i+o];if(!s)return e;let a=e[i],l=s.layout,c=Oe(l.min,l.max,.5);return o===1&&a.layout.max+n>c||o===-1&&a.layout.min+nJt[t]),l=[],c=V(!1);Zt(!!i,"Reorder.Group must be provided a values prop");let u={axis:n,registerItem:(f,d)=>{let m=l.findIndex(v=>f===v.value);m!==-1?l[m].layout=d[n]:l.push({value:f,layout:d[n]}),l.sort(uI)},updateOrder:(f,d,m)=>{if(c.current)return;let v=sI(l,f,d,m);l!==v&&(c.current=!0,r(v.map(cI).filter(g=>i.indexOf(g)!==-1)))}};return j(()=>{c.current=!1}),C(a,{...o,ref:s,ignoreStrict:!0,children:C(ob.Provider,{value:u,children:e})})}var lI=Ie(aI);function cI(e){return e.value}function uI(e,t){return e.layout.min-t.layout.min}function ny(e,t=0){return De(e)?e:Kn(t)}function fI({children:e,style:t={},value:n,as:r="li",onDrag:i,layout:o=!0,...s},a){let l=Yn(()=>Jt[r]),c=A(ob),u={x:ny(t.x),y:ny(t.y)},f=Lt([u.x,u.y],([g,b])=>g||b?1:"unset");Zt(!!c,"Reorder.Item must be a child of Reorder.Group");let{axis:d,registerItem:m,updateOrder:v}=c;return C(l,{drag:d,...s,dragSnapToOrigin:!0,style:{...t,x:u.x,y:u.y,zIndex:f},layout:o,onDrag:(g,b)=>{let{velocity:p}=b;p[d]&&v(n,u[d].get(),p[d]),i&&i(g,b)},onLayoutMeasure:g=>m(n,g),ref:a,ignoreStrict:!0,children:e})}var dI=Ie(fI);function hI(e,t){if(e==="first")return 0;{let n=t-1;return e==="last"?n:n/2}}function Dd(e=.1,{startDelay:t=0,from:n=0,ease:r}={}){return(i,o)=>{let s=typeof n=="number"?n:hI(n,o),a=Math.abs(s-i),l=e*a;if(r){let c=o*e;l=wf(r)(l/c)*c}return t+l}}var pI=as.reduce((e,t)=>(e[t]=n=>Mt(n),e),{});var Y2={};Ku(Y2,{__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:()=>D2,createPortal:()=>z2,createRoot:()=>B2,default:()=>SS,findDOMNode:()=>$2,flushSync:()=>N2,hydrate:()=>j2,hydrateRoot:()=>H2,render:()=>W2,unmountComponentAtNode:()=>U2,unstable_batchedUpdates:()=>G2,unstable_renderSubtreeIntoContainer:()=>q2,version:()=>X2});var Il={};Ku(Il,{default:()=>ee,unstable_IdlePriority:()=>vI,unstable_ImmediatePriority:()=>yI,unstable_LowPriority:()=>bI,unstable_NormalPriority:()=>xI,unstable_Profiling:()=>wI,unstable_UserBlockingPriority:()=>SI,unstable_cancelCallback:()=>kI,unstable_continueExecution:()=>CI,unstable_forceFrameRate:()=>TI,unstable_getCurrentPriorityLevel:()=>RI,unstable_getFirstCallbackNode:()=>EI,unstable_next:()=>FI,unstable_now:()=>gI,unstable_pauseExecution:()=>PI,unstable_requestPaint:()=>_I,unstable_runWithPriority:()=>II,unstable_scheduleCallback:()=>OI,unstable_shouldYield:()=>MI,unstable_wrapCallback:()=>LI});var ee={};function Nd(e,t){var n=e.length;e.push(t);e:for(;0>>1,i=e[r];if(!(0>>1;rRl(a,n))lRl(c,a)?(e[r]=c,e[l]=n,r=l):(e[r]=a,e[s]=n,r=s);else{if(!(lRl(c,n)))break e;e[r]=c,e[l]=n,r=l}}}return t}function Rl(e,t){var n=e.sortIndex-t.sortIndex;return n!==0?n:e.id-t.id}typeof performance=="object"&&typeof performance.now=="function"?(sb=performance,ee.unstable_now=function(){return sb.now()}):(zd=Date,ab=zd.now(),ee.unstable_now=function(){return zd.now()-ab});var sb,zd,ab,Zn=[],jr=[],mI=1,bn=null,Ct=3,Pl=!1,Ci=!1,Es=!1,ub=typeof setTimeout=="function"?setTimeout:null,fb=typeof clearTimeout=="function"?clearTimeout:null,lb=typeof setImmediate<"u"?setImmediate:null;typeof Fe<"u"&&Fe.scheduling!==void 0&&Fe.scheduling.isInputPending!==void 0&&Fe.scheduling.isInputPending.bind(Fe.scheduling);function jd(e){for(var t=_n(jr);t!==null;){if(t.callback===null)Fl(jr);else{if(!(t.startTime<=e))break;Fl(jr),t.sortIndex=t.expirationTime,Nd(Zn,t)}t=_n(jr)}}function Hd(e){if(Es=!1,jd(e),!Ci)if(_n(Zn)!==null)Ci=!0,Ud(Wd);else{var t=_n(jr);t!==null&&Gd(Hd,t.startTime-e)}}function Wd(e,t){Ci=!1,Es&&(Es=!1,fb(Fs),Fs=-1),Pl=!0;var n=Ct;try{for(jd(t),bn=_n(Zn);bn!==null&&(!(bn.expirationTime>t)||e&&!pb());){var r=bn.callback;if(typeof r=="function"){bn.callback=null,Ct=bn.priorityLevel;var i=r(bn.expirationTime<=t);t=ee.unstable_now(),typeof i=="function"?bn.callback=i:bn===_n(Zn)&&Fl(Zn),jd(t)}else Fl(Zn);bn=_n(Zn)}if(bn!==null)var o=!0;else{var s=_n(jr);s!==null&&Gd(Hd,s.startTime-t),o=!1}return o}finally{bn=null,Ct=n,Pl=!1}}var _l=!1,El=null,Fs=-1,db=5,hb=-1;function pb(){return!(ee.unstable_now()-hbe||125r?(e.sortIndex=n,Nd(jr,e),_n(Zn)===null&&e===_n(jr)&&(Es?(fb(Fs),Fs=-1):Es=!0,Gd(Hd,n-r))):(e.sortIndex=i,Nd(Zn,e),Ci||Pl||(Ci=!0,Ud(Wd))),e};ee.unstable_shouldYield=pb;ee.unstable_wrapCallback=function(e){var t=Ct;return function(){var n=Ct;Ct=t;try{return e.apply(this,arguments)}finally{Ct=n}}};var gI=ee.unstable_now,vI=ee.unstable_IdlePriority,yI=ee.unstable_ImmediatePriority,bI=ee.unstable_LowPriority,xI=ee.unstable_NormalPriority,wI=ee.unstable_Profiling,SI=ee.unstable_UserBlockingPriority,kI=ee.unstable_cancelCallback,CI=ee.unstable_continueExecution,TI=ee.unstable_forceFrameRate,RI=ee.unstable_getCurrentPriorityLevel,EI=ee.unstable_getFirstCallbackNode,FI=ee.unstable_next,PI=ee.unstable_pauseExecution,_I=ee.unstable_requestPaint,II=ee.unstable_runWithPriority,OI=ee.unstable_scheduleCallback,MI=ee.unstable_shouldYield,LI=ee.unstable_wrapCallback;var VI="default"in St?w:St,AI="default"in Il?ee:Il,on={},wx=VI,rn=AI;function M(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof P.document>"u"||typeof P.document.createElement>"u"),mh=Object.prototype.hasOwnProperty,DI=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,mb={},gb={};function zI(e){return mh.call(gb,e)?!0:mh.call(mb,e)?!1:DI.test(e)?gb[e]=!0:(mb[e]=!0,!1)}function BI(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function $I(e,t,n,r){if(t===null||typeof t>"u"||BI(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Dt(e,t,n,r,i,o,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=s}var xt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){xt[e]=new Dt(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];xt[t]=new Dt(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){xt[e]=new Dt(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){xt[e]=new Dt(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){xt[e]=new Dt(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){xt[e]=new Dt(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){xt[e]=new Dt(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){xt[e]=new Dt(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){xt[e]=new Dt(e,5,!1,e.toLowerCase(),null,!1,!1)});var sp=/[\-:]([a-z])/g;function ap(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(sp,ap);xt[t]=new Dt(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(sp,ap);xt[t]=new Dt(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(sp,ap);xt[t]=new Dt(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){xt[e]=new Dt(e,1,!1,e.toLowerCase(),null,!1,!1)});xt.xlinkHref=new Dt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){xt[e]=new Dt(e,1,!1,e.toLowerCase(),null,!0,!0)});function lp(e,t,n,r){var i=xt.hasOwnProperty(t)?xt[t]:null;(i!==null?i.type!==0:r||!(2a||i[s]!==o[a]){var l=` `+i[s].replace(" at new "," at ");return e.displayName&&l.includes("")&&(l=l.replace("",e.displayName)),l}while(1<=s&&0<=a);break}}}finally{Xd=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Ds(e):""}function NI(e){switch(e.tag){case 5:return Ds(e.type);case 16:return Ds("Lazy");case 13:return Ds("Suspense");case 19:return Ds("SuspenseList");case 0:case 2:case 15:return e=Yd(e.type,!1),e;case 11:return e=Yd(e.type.render,!1),e;case 1:return e=Yd(e.type,!0),e;default:return""}}function bh(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case yo:return"Fragment";case vo:return"Portal";case gh:return"Profiler";case cp:return"StrictMode";case vh:return"Suspense";case yh:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Cx:return(e.displayName||"Context")+".Consumer";case kx:return(e._context.displayName||"Context")+".Provider";case up:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case fp:return t=e.displayName||null,t!==null?t:bh(e.type)||"Memo";case Wr:t=e._payload,e=e._init;try{return bh(e(t))}catch{}}return null}function jI(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return bh(t);case 8:return t===cp?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function ii(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Rx(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function HI(e){var t=Rx(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(s){r=""+s,o.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Ml(e){e._valueTracker||(e._valueTracker=HI(e))}function Ex(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Rx(e)?e.checked?"true":"false":e.value),e=r,e!==n&&(t.setValue(e),!0)}function ac(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function xh(e,t){var n=t.checked;return He({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function yb(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=ii(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Fx(e,t){t=t.checked,t!=null&&lp(e,"checked",t,!1)}function wh(e,t){Fx(e,t);var n=ii(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Sh(e,t.type,n):t.hasOwnProperty("defaultValue")&&Sh(e,t.type,ii(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function bb(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function Sh(e,t,n){t==="number"&&ac(e.ownerDocument)===e||(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var zs=Array.isArray;function Po(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=Ll.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Qs(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Ns={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},WI=["Webkit","ms","Moz","O"];Object.keys(Ns).forEach(function(e){WI.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Ns[t]=Ns[e]})});function Ox(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Ns.hasOwnProperty(e)&&Ns[e]?(""+t).trim():t+"px"}function Mx(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=Ox(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var UI=He({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Th(e,t){if(t){if(UI[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(M(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(M(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(M(61))}if(t.style!=null&&typeof t.style!="object")throw Error(M(62))}}function Rh(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Eh=null;function dp(e){return e=e.target||e.srcElement||P,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Fh=null,_o=null,Io=null;function Sb(e){if(e=ma(e)){if(typeof Fh!="function")throw Error(M(280));var t=e.stateNode;t&&(t=Vc(t),Fh(e.stateNode,e.type,t))}}function Lx(e){_o?Io?Io.push(e):Io=[e]:_o=e}function Vx(){if(_o){var e=_o,t=Io;if(Io=_o=null,Sb(e),t)for(e=0;e>>=0,e===0?32:31-(nO(e)/rO|0)|0}var Vl=64,Al=4194304;function Bs(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function fc(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,s=268435455&n;if(s!==0){var a=s&~i;a!==0?r=Bs(a):(o&=s,o!==0&&(r=Bs(o)))}else s=n&~i,s!==0?r=Bs(s):o!==0&&(r=Bs(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,o=t&-t,i>=o||i===16&&(4194240&o)!==0))return t;if(4&r&&(r|=16&n),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function ha(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Vn(t),e[t]=n}function aO(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=Hs),Ib=String.fromCharCode(32),Ob=!1;function tw(e,t){switch(e){case"keyup":return VO.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function nw(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var bo=!1;function DO(e,t){switch(e){case"compositionend":return nw(t);case"keypress":return t.which!==32?null:(Ob=!0,Ib);case"textInput":return e=t.data,e===Ib&&Ob?null:e;default:return null}}function zO(e,t){if(bo)return e==="compositionend"||!xp&&tw(e,t)?(e=Jx(),Zl=vp=Xr=null,bo=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Vb(n)}}function sw(e,t){return!(!e||!t)&&(e===t||(!e||e.nodeType!==3)&&(t&&t.nodeType===3?sw(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function aw(){for(var e=P,t=ac();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(!n)break;e=t.contentWindow,t=ac(e.document)}return t}function wp(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function qO(e){var t=aw(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&sw(n.ownerDocument.documentElement,n)){if(r!==null&&wp(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||P,e.getSelection){e=e.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=Ab(n,o);var s=Ab(n,r);i&&s&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,xo=null,Lh=null,Us=null,Vh=!1;function Db(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Vh||xo==null||xo!==ac(r)||(r=xo,"selectionStart"in r&&wp(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||P).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Us&&ra(Us,r)||(Us=r,r=pc(Lh,"onSelect"),0ko||(e.current=Nh[ko],Nh[ko]=null,ko--)}function Pe(e,t){ko++,Nh[ko]=e.current,e.current=t}var oi={},Ft=ai(oi),Wt=ai(!1),Oi=oi;function Ao(e,t){var n=e.type.contextTypes;if(!n)return oi;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i,o={};for(i in n)o[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Ut(e){return e=e.childContextTypes,e!=null}function gc(){Le(Wt),Le(Ft)}function Gb(e,t,n){if(Ft.current!==oi)throw Error(M(168));Pe(Ft,t),Pe(Wt,n)}function gw(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(M(108,jI(e)||"Unknown",i));return He({},n,r)}function vc(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||oi,Oi=Ft.current,Pe(Ft,e),Pe(Wt,Wt.current),!0}function qb(e,t,n){var r=e.stateNode;if(!r)throw Error(M(169));n?(e=gw(e,t,Oi),r.__reactInternalMemoizedMergedChildContext=e,Le(Wt),Le(Ft),Pe(Ft,e)):Le(Wt),Pe(Wt,n)}var wr=null,Ac=!1,sh=!1;function vw(e){wr===null?wr=[e]:wr.push(e)}function r2(e){Ac=!0,vw(e)}function li(){if(!sh&&wr!==null){sh=!0;var e=0,t=we;try{var n=wr;for(we=1;e>=s,i-=s,Sr=1<<32-Vn(t)+i|n<E?(O=T,T=null):O=T.sibling;var I=d(p,T,y[E],x);if(I===null){T===null&&(T=O);break}e&&T&&I.alternate===null&&t(p,T),h=o(I,h,E),S===null?k=I:S.sibling=I,S=I,T=O}if(E===y.length)return n(p,T),ze&&Ti(p,E),k;if(T===null){for(;EE?(O=T,T=null):O=T.sibling;var B=d(p,T,I.value,x);if(B===null){T===null&&(T=O);break}e&&T&&B.alternate===null&&t(p,T),h=o(B,h,E),S===null?k=B:S.sibling=B,S=B,T=O}if(I.done)return n(p,T),ze&&Ti(p,E),k;if(T===null){for(;!I.done;E++,I=y.next())I=f(p,I.value,x),I!==null&&(h=o(I,h,E),S===null?k=I:S.sibling=I,S=I);return ze&&Ti(p,E),k}for(T=r(p,T);!I.done;E++,I=y.next())I=m(T,p,E,I.value,x),I!==null&&(e&&I.alternate!==null&&T.delete(I.key===null?E:I.key),h=o(I,h,E),S===null?k=I:S.sibling=I,S=I);return e&&T.forEach(function(z){return t(p,z)}),ze&&Ti(p,E),k}function b(p,h,y,x){if(typeof y=="object"&&y!==null&&y.type===yo&&y.key===null&&(y=y.props.children),typeof y=="object"&&y!==null){switch(y.$$typeof){case Ol:e:{for(var k=y.key,S=h;S!==null;){if(S.key===k){if(k=y.type,k===yo){if(S.tag===7){n(p,S.sibling),h=i(S,y.props.children),h.return=p,p=h;break e}}else if(S.elementType===k||typeof k=="object"&&k!==null&&k.$$typeof===Wr&&ex(k)===S.type){n(p,S.sibling),h=i(S,y.props),h.ref=Ms(p,S,y),h.return=p,p=h;break e}n(p,S);break}t(p,S),S=S.sibling}y.type===yo?(h=Ii(y.props.children,p.mode,x,y.key),h.return=p,p=h):(x=sc(y.type,y.key,y.props,null,p.mode,x),x.ref=Ms(p,h,y),x.return=p,p=x)}return s(p);case vo:e:{for(S=y.key;h!==null;){if(h.key===S){if(h.tag===4&&h.stateNode.containerInfo===y.containerInfo&&h.stateNode.implementation===y.implementation){n(p,h.sibling),h=i(h,y.children||[]),h.return=p,p=h;break e}n(p,h);break}t(p,h),h=h.sibling}h=ph(y,p.mode,x),h.return=p,p=h}return s(p);case Wr:return S=y._init,b(p,h,S(y._payload),x)}if(zs(y))return v(p,h,y,x);if(Ps(y))return g(p,h,y,x);ql(p,y)}return typeof y=="string"&&y!==""||typeof y=="number"?(y=""+y,h!==null&&h.tag===6?(n(p,h.sibling),h=i(h,y),h.return=p,p=h):(n(p,h),h=hh(y,p.mode,x),h.return=p,p=h),s(p)):n(p,h)}return b}var zo=Tw(!0),Rw=Tw(!1),ga={},rr=ai(ga),aa=ai(ga),la=ai(ga);function Pi(e){if(e===ga)throw Error(M(174));return e}function _p(e,t){switch(Pe(la,t),Pe(aa,e),Pe(rr,ga),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Ch(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Ch(t,e)}Le(rr),Pe(rr,t)}function Bo(){Le(rr),Le(aa),Le(la)}function Ew(e){Pi(la.current);var t=Pi(rr.current),n=Ch(t,e.type);t!==n&&(Pe(aa,e),Pe(rr,n))}function Ip(e){aa.current===e&&(Le(rr),Le(aa))}var Ne=ai(0);function kc(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(128&t.flags)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var ah=[];function Op(){for(var e=0;en?n:4,e(!0);var r=lh.transition;lh.transition={};try{e(!1),t()}finally{we=n,lh.transition=r}}function Hw(){return Tn().memoizedState}function a2(e,t,n){var r=ni(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Ww(e))Uw(t,n);else if(n=ww(e,t,n,r),n!==null){var i=At();An(n,e,r,i),Gw(n,t,r)}}function l2(e,t,n){var r=ni(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Ww(e))Uw(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var s=t.lastRenderedState,a=o(s,n);if(i.hasEagerState=!0,i.eagerState=a,Dn(a,s)){var l=t.interleaved;l===null?(i.next=i,Fp(t)):(i.next=l.next,l.next=i),t.interleaved=i;return}}catch{}n=ww(e,t,i,r),n!==null&&(i=At(),An(n,e,r,i),Gw(n,t,r))}}function Ww(e){var t=e.alternate;return e===je||t!==null&&t===je}function Uw(e,t){Gs=Cc=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Gw(e,t,n){if(4194240&n){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,pp(e,n)}}var Tc={readContext:Cn,useCallback:Tt,useContext:Tt,useEffect:Tt,useImperativeHandle:Tt,useInsertionEffect:Tt,useLayoutEffect:Tt,useMemo:Tt,useReducer:Tt,useRef:Tt,useState:Tt,useDebugValue:Tt,useDeferredValue:Tt,useTransition:Tt,useMutableSource:Tt,useSyncExternalStore:Tt,useId:Tt,unstable_isNewReconciler:!1},c2={readContext:Cn,useCallback:function(e,t){return er().memoizedState=[e,t===void 0?null:t],e},useContext:Cn,useEffect:nx,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,nc(4194308,4,zw.bind(null,t,e),n)},useLayoutEffect:function(e,t){return nc(4194308,4,e,t)},useInsertionEffect:function(e,t){return nc(4,2,e,t)},useMemo:function(e,t){var n=er();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=er();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=a2.bind(null,je,e),[r.memoizedState,e]},useRef:function(e){var t=er();return e={current:e},t.memoizedState=e},useState:tx,useDebugValue:Dp,useDeferredValue:function(e){return er().memoizedState=e},useTransition:function(){var e=tx(!1),t=e[0];return e=s2.bind(null,e[1]),er().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=je,i=er();if(ze){if(n===void 0)throw Error(M(407));n=n()}else{if(n=t(),ut===null)throw Error(M(349));30&Li||_w(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,nx(Ow.bind(null,r,o,e),[e]),r.flags|=2048,fa(9,Iw.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=er(),t=ut.identifierPrefix;if(ze){var n=kr,r=Sr;n=(r&~(1<<32-Vn(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=ca++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),n==="select"&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[tr]=t,e[sa]=r,tS(e,t,!1,!1),t.stateNode=e;e:{switch(s=Rh(n,r),n){case"dialog":Me("cancel",e),Me("close",e),i=r;break;case"iframe":case"object":case"embed":Me("load",e),i=r;break;case"video":case"audio":for(i=0;i<$s.length;i++)Me($s[i],e);i=r;break;case"source":Me("error",e),i=r;break;case"img":case"image":case"link":Me("error",e),Me("load",e),i=r;break;case"details":Me("toggle",e),i=r;break;case"input":yb(e,r),i=xh(e,r),Me("invalid",e);break;case"option":i=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=He({},r,{value:void 0}),Me("invalid",e);break;case"textarea":xb(e,r),i=kh(e,r),Me("invalid",e);break;default:i=r}Th(n,i),a=i;for(o in a)if(a.hasOwnProperty(o)){var l=a[o];o==="style"?Mx(e,l):o==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&Ix(e,l)):o==="children"?typeof l=="string"?(n!=="textarea"||l!=="")&&Qs(e,l):typeof l=="number"&&Qs(e,""+l):o!=="suppressContentEditableWarning"&&o!=="suppressHydrationWarning"&&o!=="autoFocus"&&(Ks.hasOwnProperty(o)?l!=null&&o==="onScroll"&&Me("scroll",e):l!=null&&lp(e,o,l,s))}switch(n){case"input":Ml(e),bb(e,r,!1);break;case"textarea":Ml(e),wb(e);break;case"option":r.value!=null&&e.setAttribute("value",""+ii(r.value));break;case"select":e.multiple=!!r.multiple,o=r.value,o!=null?Po(e,!!r.multiple,o,!1):r.defaultValue!=null&&Po(e,!!r.multiple,r.defaultValue,!0);break;default:typeof i.onClick=="function"&&(e.onclick=mc)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return Rt(t),null;case 6:if(e&&t.stateNode!=null)rS(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(M(166));if(n=Pi(la.current),Pi(rr.current),Gl(t)){if(r=t.stateNode,n=t.memoizedProps,r[tr]=t,(o=r.nodeValue!==n)&&(e=nn,e!==null))switch(e.tag){case 3:Ul(r.nodeValue,n,(1&e.mode)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Ul(r.nodeValue,n,(1&e.mode)!==0)}o&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[tr]=t,t.stateNode=r}return Rt(t),null;case 13:if(Le(Ne),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(ze&&tn!==null&&1&t.mode&&!(128&t.flags))xw(),Do(),t.flags|=98560,o=!1;else if(o=Gl(t),r!==null&&r.dehydrated!==null){if(e===null){if(!o)throw Error(M(318));if(o=t.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(M(317));o[tr]=t}else Do(),!(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Rt(t),o=!1}else Ln!==null&&(op(Ln),Ln=null),o=!0;if(!o)return 65536&t.flags?t:null}return 128&t.flags?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,1&t.mode&&(e===null||1&Ne.current?it===0&&(it=3):Wp())),t.updateQueue!==null&&(t.flags|=4),Rt(t),null);case 4:return Bo(),Zh(e,t),e===null&&ia(t.stateNode.containerInfo),Rt(t),null;case 10:return Ep(t.type._context),Rt(t),null;case 17:return Ut(t.type)&&gc(),Rt(t),null;case 19:if(Le(Ne),o=t.memoizedState,o===null)return Rt(t),null;if(r=(128&t.flags)!==0,s=o.rendering,s===null)if(r)Ls(o,!1);else{if(it!==0||e!==null&&128&e.flags)for(e=t.child;e!==null;){if(s=kc(e),s!==null){for(t.flags|=128,Ls(o,!1),r=s.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)o=n,e=r,o.flags&=14680066,s=o.alternate,s===null?(o.childLanes=0,o.lanes=e,o.child=null,o.subtreeFlags=0,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=s.childLanes,o.lanes=s.lanes,o.child=s.child,o.subtreeFlags=0,o.deletions=null,o.memoizedProps=s.memoizedProps,o.memoizedState=s.memoizedState,o.updateQueue=s.updateQueue,o.type=s.type,e=s.dependencies,o.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Pe(Ne,1&Ne.current|2),t.child}e=e.sibling}o.tail!==null&&Ze()>No&&(t.flags|=128,r=!0,Ls(o,!1),t.lanes=4194304)}else{if(!r)if(e=kc(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Ls(o,!0),o.tail===null&&o.tailMode==="hidden"&&!s.alternate&&!ze)return Rt(t),null}else 2*Ze()-o.renderingStartTime>No&&n!==1073741824&&(t.flags|=128,r=!0,Ls(o,!1),t.lanes=4194304);o.isBackwards?(s.sibling=t.child,t.child=s):(n=o.last,n!==null?n.sibling=s:t.child=s,o.last=s)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=Ze(),t.sibling=null,n=Ne.current,Pe(Ne,r?1&n|2:1&n),t):(Rt(t),null);case 22:case 23:return Hp(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&1&t.mode?1073741824&en&&(Rt(t),6&t.subtreeFlags&&(t.flags|=8192)):Rt(t),null;case 24:return null;case 25:return null}throw Error(M(156,t.tag))}function v2(e,t){switch(kp(t),t.tag){case 1:return Ut(t.type)&&gc(),e=t.flags,65536&e?(t.flags=-65537&e|128,t):null;case 3:return Bo(),Le(Wt),Le(Ft),Op(),e=t.flags,65536&e&&!(128&e)?(t.flags=-65537&e|128,t):null;case 5:return Ip(t),null;case 13:if(Le(Ne),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(M(340));Do()}return e=t.flags,65536&e?(t.flags=-65537&e|128,t):null;case 19:return Le(Ne),null;case 4:return Bo(),null;case 10:return Ep(t.type._context),null;case 22:case 23:return Hp(),null;case 24:return null;default:return null}}var Yl=!1,Et=!1,y2=typeof WeakSet=="function"?WeakSet:Set,$=null;function Eo(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){qe(e,t,r)}else n.current=null}function iS(e,t,n){try{n()}catch(r){qe(e,t,r)}}var fx=!1;function b2(e,t){if(Ah=dc,e=aw(),wp(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||P;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var s=0,a=-1,l=-1,c=0,u=0,f=e,d=null;t:for(;;){for(var m;f!==n||i!==0&&f.nodeType!==3||(a=s+i),f!==o||r!==0&&f.nodeType!==3||(l=s+r),f.nodeType===3&&(s+=f.nodeValue.length),(m=f.firstChild)!==null;)d=f,f=m;for(;;){if(f===e)break t;if(d===n&&++c===i&&(a=s),d===o&&++u===r&&(l=s),(m=f.nextSibling)!==null)break;f=d,d=f.parentNode}f=m}n=a===-1||l===-1?null:{start:a,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(Dh={focusedElem:e,selectionRange:n},dc=!1,$=t;$!==null;)if(t=$,e=t.child,(1028&t.subtreeFlags)!==0&&e!==null)e.return=t,$=e;else for(;$!==null;){t=$;try{var v=t.alternate;if(1024&t.flags)switch(t.tag){case 0:case 11:case 15:break;case 1:if(v!==null){var g=v.memoizedProps,b=v.memoizedState,p=t.stateNode,h=p.getSnapshotBeforeUpdate(t.elementType===t.type?g:On(t.type,g),b);p.__reactInternalSnapshotBeforeUpdate=h}break;case 3:var y=t.stateNode.containerInfo;y.nodeType===1?y.textContent="":y.nodeType===9&&y.documentElement&&y.removeChild(y.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(M(163))}}catch(x){qe(t,t.return,x)}if(e=t.sibling,e!==null){e.return=t.return,$=e;break}$=t.return}return v=fx,fx=!1,v}function qs(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,o!==void 0&&iS(t,n,o)}i=i.next}while(i!==r)}}function Bc(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Jh(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function oS(e){var t=e.alternate;t!==null&&(e.alternate=null,oS(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[tr],delete t[sa],delete t[$h],delete t[t2],delete t[n2])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function sS(e){return e.tag===5||e.tag===3||e.tag===4}function dx(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||sS(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(2&e.flags||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function ep(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=mc));else if(r!==4&&(e=e.child,e!==null))for(ep(e,t,n),e=e.sibling;e!==null;)ep(e,t,n),e=e.sibling}function tp(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(tp(e,t,n),e=e.sibling;e!==null;)tp(e,t,n),e=e.sibling}var yt=null,Mn=!1;function Hr(e,t,n){for(n=n.child;n!==null;)aS(e,t,n),n=n.sibling}function aS(e,t,n){if(nr&&typeof nr.onCommitFiberUnmount=="function")try{nr.onCommitFiberUnmount(Ic,n)}catch{}switch(n.tag){case 5:Et||Eo(n,t);case 6:var r=yt,i=Mn;yt=null,Hr(e,t,n),yt=r,Mn=i,yt!==null&&(Mn?(e=yt,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):yt.removeChild(n.stateNode));break;case 18:yt!==null&&(Mn?(e=yt,n=n.stateNode,e.nodeType===8?oh(e.parentNode,n):e.nodeType===1&&oh(e,n),ta(e)):oh(yt,n.stateNode));break;case 4:r=yt,i=Mn,yt=n.stateNode.containerInfo,Mn=!0,Hr(e,t,n),yt=r,Mn=i;break;case 0:case 11:case 14:case 15:if(!Et&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,s=o.destroy;o=o.tag,s!==void 0&&(2&o||4&o)&&iS(n,t,s),i=i.next}while(i!==r)}Hr(e,t,n);break;case 1:if(!Et&&(Eo(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){qe(n,t,a)}Hr(e,t,n);break;case 21:Hr(e,t,n);break;case 22:1&n.mode?(Et=(r=Et)||n.memoizedState!==null,Hr(e,t,n),Et=r):Hr(e,t,n);break;default:Hr(e,t,n)}}function hx(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new y2),t.forEach(function(r){var i=F2.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function In(e,t){var n=t.deletions;if(n!==null)for(var r=0;ri&&(i=s),r&=~o}if(r=i,r=Ze()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*w2(r/1960))-r,10e?16:e,Yr===null)var r=!1;else{if(e=Yr,Yr=null,Fc=0,6&ye)throw Error(M(331));var i=ye;for(ye|=4,$=e.current;$!==null;){var o=$,s=o.child;if(16&$.flags){var a=o.deletions;if(a!==null){for(var l=0;lZe()-Np?_i(e,0):$p|=n),Gt(e,t)}function mS(e,t){t===0&&(1&e.mode?(t=Al,Al<<=1,!(130023424&Al)&&(Al=4194304)):t=1);var n=At();e=Er(e,t),e!==null&&(ha(e,t,n),Gt(e,n))}function E2(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),mS(e,n)}function F2(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(M(314))}r!==null&&r.delete(t),mS(e,n)}var gS;gS=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Wt.current)Ht=!0;else{if(!(e.lanes&n)&&!(128&t.flags))return Ht=!1,m2(e,t,n);Ht=(131072&e.flags)!==0}else Ht=!1,ze&&1048576&t.flags&&yw(t,bc,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;rc(e,t),e=t.pendingProps;var i=Ao(t,Ft.current);Mo(t,n),i=Lp(null,t,r,e,i,n);var o=Vp();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ut(r)?(o=!0,vc(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Pp(t),i.updater=Dc,t.stateNode=i,i._reactInternals=t,Gh(t,r,e,n),t=Yh(null,t,r,!0,o,n)):(t.tag=0,ze&&o&&Sp(t),Vt(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(rc(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=_2(r),e=On(r,e),i){case 0:t=Xh(null,t,r,e,n);break e;case 1:t=lx(null,t,r,e,n);break e;case 11:t=sx(null,t,r,e,n);break e;case 14:t=ax(null,t,r,On(r.type,e),n);break e}throw Error(M(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:On(r,i),Xh(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:On(r,i),lx(e,t,r,i,n);case 3:e:{if(Zw(t),e===null)throw Error(M(387));r=t.pendingProps,o=t.memoizedState,i=o.element,Sw(e,t),Sc(t,r,null,n);var s=t.memoizedState;if(r=s.element,o.isDehydrated){if(o={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=o,t.memoizedState=o,256&t.flags){i=$o(Error(M(423)),t),t=cx(e,t,r,n,i);break e}if(r!==i){i=$o(Error(M(424)),t),t=cx(e,t,r,n,i);break e}for(tn=Jr(t.stateNode.containerInfo.firstChild),nn=t,ze=!0,Ln=null,n=Rw(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(Do(),r===i){t=Fr(e,t,n);break e}Vt(e,t,r,n)}t=t.child}return t;case 5:return Ew(t),e===null&&Hh(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,s=i.children,zh(r,i)?s=null:o!==null&&zh(r,o)&&(t.flags|=32),Qw(e,t),Vt(e,t,s,n),t.child;case 6:return e===null&&Hh(t),null;case 13:return Jw(e,t,n);case 4:return _p(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=zo(t,null,r,n):Vt(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:On(r,i),sx(e,t,r,i,n);case 7:return Vt(e,t,t.pendingProps,n),t.child;case 8:return Vt(e,t,t.pendingProps.children,n),t.child;case 12:return Vt(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,s=i.value,Pe(xc,r._currentValue),r._currentValue=s,o!==null)if(Dn(o.value,s)){if(o.children===i.children&&!Wt.current){t=Fr(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var a=o.dependencies;if(a!==null){s=o.child;for(var l=a.firstContext;l!==null;){if(l.context===r){if(o.tag===1){l=Cr(-1,n&-n),l.tag=2;var c=o.updateQueue;if(c!==null){c=c.shared;var u=c.pending;u===null?l.next=l:(l.next=u.next,u.next=l),c.pending=l}}o.lanes|=n,l=o.alternate,l!==null&&(l.lanes|=n),Wh(o.return,n,t),a.lanes|=n;break}l=l.next}}else if(o.tag===10)s=o.type===t.type?null:o.child;else if(o.tag===18){if(s=o.return,s===null)throw Error(M(341));s.lanes|=n,a=s.alternate,a!==null&&(a.lanes|=n),Wh(s,n,t),s=o.sibling}else s=o.child;if(s!==null)s.return=o;else for(s=o;s!==null;){if(s===t){s=null;break}if(o=s.sibling,o!==null){o.return=s.return,s=o;break}s=s.return}o=s}Vt(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,Mo(t,n),i=Cn(i),r=r(i),t.flags|=1,Vt(e,t,r,n),t.child;case 14:return r=t.type,i=On(r,t.pendingProps),i=On(r.type,i),ax(e,t,r,i,n);case 15:return Yw(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:On(r,i),rc(e,t),t.tag=1,Ut(r)?(e=!0,vc(t)):e=!1,Mo(t,n),Cw(t,r,i),Gh(t,r,i,n),Yh(null,t,r,!0,e,n);case 19:return eS(e,t,n);case 22:return Kw(e,t,n)}throw Error(M(156,t.tag))};function vS(e,t){return jx(e,t)}function P2(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Sn(e,t,n,r){return new P2(e,t,n,r)}function Up(e){return e=e.prototype,!(!e||!e.isReactComponent)}function _2(e){if(typeof e=="function")return Up(e)?1:0;if(e!=null){if(e=e.$$typeof,e===up)return 11;if(e===fp)return 14}return 2}function ri(e,t){var n=e.alternate;return n===null?(n=Sn(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function sc(e,t,n,r,i,o){var s=2;if(r=e,typeof e=="function")Up(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case yo:return Ii(n.children,i,o,t);case cp:s=8,i|=8;break;case gh:return e=Sn(12,n,t,2|i),e.elementType=gh,e.lanes=o,e;case vh:return e=Sn(13,n,t,i),e.elementType=vh,e.lanes=o,e;case yh:return e=Sn(19,n,t,i),e.elementType=yh,e.lanes=o,e;case Tx:return Nc(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case kx:s=10;break e;case Cx:s=9;break e;case up:s=11;break e;case fp:s=14;break e;case Wr:s=16,r=null;break e}throw Error(M(130,e==null?e:typeof e,""))}return t=Sn(s,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function Ii(e,t,n,r){return e=Sn(7,e,r,t),e.lanes=n,e}function Nc(e,t,n,r){return e=Sn(22,e,r,t),e.elementType=Tx,e.lanes=n,e.stateNode={isHidden:!1},e}function hh(e,t,n){return e=Sn(6,e,null,t),e.lanes=n,e}function ph(e,t,n){return t=Sn(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function I2(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Qd(0),this.expirationTimes=Qd(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Qd(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Gp(e,t,n,r,i,o,s,a,l){return e=new I2(e,t,n,a,l),t===1?(t=1,o===!0&&(t|=8)):t=0,o=Sn(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Pp(o),e}function O2(e,t,n){var r=3.04045?Math.pow((n+.055)/1.055,2.4):n/12.92}static yToL(n){return n<=t.epsilon?n/t.refY*t.kappa:116*Math.pow(n/t.refY,1/3)-16}static lToY(n){return n<=8?t.refY*n/t.kappa:t.refY*Math.pow((n+16)/116,3)}static rgbChannelToHex(n){let r=Math.round(n*255),i=r%16,o=(r-i)/16|0;return t.hexChars.charAt(o)+t.hexChars.charAt(i)}static hexToRgbChannel(n,r){let i=t.hexChars.indexOf(n.charAt(r)),o=t.hexChars.indexOf(n.charAt(r+1));return(i*16+o)/255}static distanceFromOriginAngle(n,r,i){let o=r/(Math.sin(i)-n*Math.cos(i));return o<0?1/0:o}static distanceFromOrigin(n,r){return Math.abs(r)/Math.sqrt(Math.pow(n,2)+1)}static min6(n,r,i,o,s,a){return Math.min(n,Math.min(r,Math.min(i,Math.min(o,Math.min(s,a)))))}rgbToHex(){this.hex="#",this.hex+=t.rgbChannelToHex(this.rgb_r),this.hex+=t.rgbChannelToHex(this.rgb_g),this.hex+=t.rgbChannelToHex(this.rgb_b)}hexToRgb(){this.hex=this.hex.toLowerCase(),this.rgb_r=t.hexToRgbChannel(this.hex,1),this.rgb_g=t.hexToRgbChannel(this.hex,3),this.rgb_b=t.hexToRgbChannel(this.hex,5)}xyzToRgb(){this.rgb_r=t.fromLinear(t.m_r0*this.xyz_x+t.m_r1*this.xyz_y+t.m_r2*this.xyz_z),this.rgb_g=t.fromLinear(t.m_g0*this.xyz_x+t.m_g1*this.xyz_y+t.m_g2*this.xyz_z),this.rgb_b=t.fromLinear(t.m_b0*this.xyz_x+t.m_b1*this.xyz_y+t.m_b2*this.xyz_z)}rgbToXyz(){let n=t.toLinear(this.rgb_r),r=t.toLinear(this.rgb_g),i=t.toLinear(this.rgb_b);this.xyz_x=.41239079926595*n+.35758433938387*r+.18048078840183*i,this.xyz_y=.21263900587151*n+.71516867876775*r+.072192315360733*i,this.xyz_z=.019330818715591*n+.11919477979462*r+.95053215224966*i}xyzToLuv(){let n=this.xyz_x+15*this.xyz_y+3*this.xyz_z,r=4*this.xyz_x,i=9*this.xyz_y;n!==0?(r/=n,i/=n):(r=NaN,i=NaN),this.luv_l=t.yToL(this.xyz_y),this.luv_l===0?(this.luv_u=0,this.luv_v=0):(this.luv_u=13*this.luv_l*(r-t.refU),this.luv_v=13*this.luv_l*(i-t.refV))}luvToXyz(){if(this.luv_l===0){this.xyz_x=0,this.xyz_y=0,this.xyz_z=0;return}let n=this.luv_u/(13*this.luv_l)+t.refU,r=this.luv_v/(13*this.luv_l)+t.refV;this.xyz_y=t.lToY(this.luv_l),this.xyz_x=0-9*this.xyz_y*n/((n-4)*r-n*r),this.xyz_z=(9*this.xyz_y-15*r*this.xyz_y-r*this.xyz_x)/(3*r)}luvToLch(){if(this.lch_l=this.luv_l,this.lch_c=Math.sqrt(this.luv_u*this.luv_u+this.luv_v*this.luv_v),this.lch_c<1e-8)this.lch_h=0;else{let n=Math.atan2(this.luv_v,this.luv_u);this.lch_h=n*180/Math.PI,this.lch_h<0&&(this.lch_h=360+this.lch_h)}}lchToLuv(){let n=this.lch_h/180*Math.PI;this.luv_l=this.lch_l,this.luv_u=Math.cos(n)*this.lch_c,this.luv_v=Math.sin(n)*this.lch_c}calculateBoundingLines(n){let r=Math.pow(n+16,3)/1560896,i=r>t.epsilon?r:n/t.kappa,o=i*(284517*t.m_r0-94839*t.m_r2),s=i*(838422*t.m_r2+769860*t.m_r1+731718*t.m_r0),a=i*(632260*t.m_r2-126452*t.m_r1),l=i*(284517*t.m_g0-94839*t.m_g2),c=i*(838422*t.m_g2+769860*t.m_g1+731718*t.m_g0),u=i*(632260*t.m_g2-126452*t.m_g1),f=i*(284517*t.m_b0-94839*t.m_b2),d=i*(838422*t.m_b2+769860*t.m_b1+731718*t.m_b0),m=i*(632260*t.m_b2-126452*t.m_b1);this.r0s=o/a,this.r0i=s*n/a,this.r1s=o/(a+126452),this.r1i=(s-769860)*n/(a+126452),this.g0s=l/u,this.g0i=c*n/u,this.g1s=l/(u+126452),this.g1i=(c-769860)*n/(u+126452),this.b0s=f/m,this.b0i=d*n/m,this.b1s=f/(m+126452),this.b1i=(d-769860)*n/(m+126452)}calcMaxChromaHpluv(){let n=t.distanceFromOrigin(this.r0s,this.r0i),r=t.distanceFromOrigin(this.r1s,this.r1i),i=t.distanceFromOrigin(this.g0s,this.g0i),o=t.distanceFromOrigin(this.g1s,this.g1i),s=t.distanceFromOrigin(this.b0s,this.b0i),a=t.distanceFromOrigin(this.b1s,this.b1i);return t.min6(n,r,i,o,s,a)}calcMaxChromaHsluv(n){let r=n/360*Math.PI*2,i=t.distanceFromOriginAngle(this.r0s,this.r0i,r),o=t.distanceFromOriginAngle(this.r1s,this.r1i,r),s=t.distanceFromOriginAngle(this.g0s,this.g0i,r),a=t.distanceFromOriginAngle(this.g1s,this.g1i,r),l=t.distanceFromOriginAngle(this.b0s,this.b0i,r),c=t.distanceFromOriginAngle(this.b1s,this.b1i,r);return t.min6(i,o,s,a,l,c)}hsluvToLch(){if(this.hsluv_l>99.9999999)this.lch_l=100,this.lch_c=0;else if(this.hsluv_l<1e-8)this.lch_l=0,this.lch_c=0;else{this.lch_l=this.hsluv_l,this.calculateBoundingLines(this.hsluv_l);let n=this.calcMaxChromaHsluv(this.hsluv_h);this.lch_c=n/100*this.hsluv_s}this.lch_h=this.hsluv_h}lchToHsluv(){if(this.lch_l>99.9999999)this.hsluv_s=0,this.hsluv_l=100;else if(this.lch_l<1e-8)this.hsluv_s=0,this.hsluv_l=0;else{this.calculateBoundingLines(this.lch_l);let n=this.calcMaxChromaHsluv(this.lch_h);this.hsluv_s=this.lch_c/n*100,this.hsluv_l=this.lch_l}this.hsluv_h=this.lch_h}hpluvToLch(){if(this.hpluv_l>99.9999999)this.lch_l=100,this.lch_c=0;else if(this.hpluv_l<1e-8)this.lch_l=0,this.lch_c=0;else{this.lch_l=this.hpluv_l,this.calculateBoundingLines(this.hpluv_l);let n=this.calcMaxChromaHpluv();this.lch_c=n/100*this.hpluv_p}this.lch_h=this.hpluv_h}lchToHpluv(){if(this.lch_l>99.9999999)this.hpluv_p=0,this.hpluv_l=100;else if(this.lch_l<1e-8)this.hpluv_p=0,this.hpluv_l=0;else{this.calculateBoundingLines(this.lch_l);let n=this.calcMaxChromaHpluv();this.hpluv_p=this.lch_c/n*100,this.hpluv_l=this.lch_l}this.hpluv_h=this.lch_h}hsluvToRgb(){this.hsluvToLch(),this.lchToLuv(),this.luvToXyz(),this.xyzToRgb()}hpluvToRgb(){this.hpluvToLch(),this.lchToLuv(),this.luvToXyz(),this.xyzToRgb()}hsluvToHex(){this.hsluvToRgb(),this.rgbToHex()}hpluvToHex(){this.hpluvToRgb(),this.rgbToHex()}rgbToHsluv(){this.rgbToXyz(),this.xyzToLuv(),this.luvToLch(),this.lchToHpluv(),this.lchToHsluv()}rgbToHpluv(){this.rgbToXyz(),this.xyzToLuv(),this.luvToLch(),this.lchToHpluv(),this.lchToHpluv()}hexToHsluv(){this.hexToRgb(),this.rgbToHsluv()}hexToHpluv(){this.hexToRgb(),this.rgbToHpluv()}};e.Hsluv=t,t.hexChars="0123456789abcdef",t.refY=1,t.refU=.19783000664283,t.refV=.46831999493879,t.kappa=903.2962962,t.epsilon=.0088564516,t.m_r0=3.240969941904521,t.m_r1=-1.537383177570093,t.m_r2=-.498610760293,t.m_g0=-.96924363628087,t.m_g1=1.87596750150772,t.m_g2=.041555057407175,t.m_b0=.055630079696993,t.m_b1=-.20397695888897,t.m_b2=1.056971514242878}}),Q2=pn({"../../../node_modules/eventemitter3/index.js"(e,t){"use strict";var n=Object.prototype.hasOwnProperty,r="~";function i(){}Object.create&&(i.prototype=Object.create(null),new i().__proto__||(r=!1));function o(c,u,f){this.fn=c,this.context=u,this.once=f||!1}function s(c,u,f,d,m){if(typeof f!="function")throw new TypeError("The listener must be a function");var v=new o(f,d||c,m),g=r?r+u:u;return c._events[g]?c._events[g].fn?c._events[g]=[c._events[g],v]:c._events[g].push(v):(c._events[g]=v,c._eventsCount++),c}function a(c,u){--c._eventsCount===0?c._events=new i:delete c._events[u]}function l(){this._events=new i,this._eventsCount=0}l.prototype.eventNames=function(){var u=[],f,d;if(this._eventsCount===0)return u;for(d in f=this._events)n.call(f,d)&&u.push(r?d.slice(1):d);return Object.getOwnPropertySymbols?u.concat(Object.getOwnPropertySymbols(f)):u},l.prototype.listeners=function(u){var f=r?r+u:u,d=this._events[f];if(!d)return[];if(d.fn)return[d.fn];for(var m=0,v=d.length,g=new Array(v);m1)for(var y=1;y0})},o=function(){return r.some(function(F){return F.skippedTargets.length>0})},s="ResizeObserver loop completed with undelivered notifications.",a=function(){var F;typeof ErrorEvent=="function"?F=new ErrorEvent("error",{message:s}):(F=document.createEvent("Event"),F.initEvent("error",!1,!1),F.message=s),P.dispatchEvent(F)},l;(function(F){F.BORDER_BOX="border-box",F.CONTENT_BOX="content-box",F.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(l||(l={}));var c=function(F){return Object.freeze(F)},u=function(){function F(_,L){this.inlineSize=_,this.blockSize=L,c(this)}return F}(),f=function(){function F(_,L,G,ge){return this.x=_,this.y=L,this.width=G,this.height=ge,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,c(this)}return F.prototype.toJSON=function(){var _=this,L=_.x,G=_.y,ge=_.top,_t=_.right,mt=_.bottom,Qe=_.left,dr=_.width,Yt=_.height;return{x:L,y:G,top:ge,right:_t,bottom:mt,left:Qe,width:dr,height:Yt}},F.fromRect=function(_){return new F(_.x,_.y,_.width,_.height)},F}(),d=function(F){return F instanceof SVGElement&&"getBBox"in F},m=function(F){if(d(F)){var _=F.getBBox(),L=_.width,G=_.height;return!L&&!G}var ge=F,_t=ge.offsetWidth,mt=ge.offsetHeight;return!(_t||mt||F.getClientRects().length)},v=function(F){var _,L;if(F instanceof Element)return!0;var G=(L=(_=F)===null||_===void 0?void 0:_.ownerDocument)===null||L===void 0?void 0:L.defaultView;return!!(G&&F instanceof G.Element)},g=function(F){switch(F.tagName){case"INPUT":if(F.type!=="image")break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1},b=typeof P<"u"?P:{},p=new WeakMap,h=/auto|scroll/,y=/^tb|vertical/,x=/msie|trident/i.test(b.navigator&&b.navigator.userAgent),k=function(F){return parseFloat(F||"0")},S=function(F,_,L){return F===void 0&&(F=0),_===void 0&&(_=0),L===void 0&&(L=!1),new u((L?_:F)||0,(L?F:_)||0)},T=c({devicePixelContentBoxSize:S(),borderBoxSize:S(),contentBoxSize:S(),contentRect:new f(0,0,0,0)}),E=function(F,_){if(_===void 0&&(_=!1),p.has(F)&&!_)return p.get(F);if(m(F))return p.set(F,T),T;var L=getComputedStyle(F),G=d(F)&&F.ownerSVGElement&&F.getBBox(),ge=!x&&L.boxSizing==="border-box",_t=y.test(L.writingMode||""),mt=!G&&h.test(L.overflowY||""),Qe=!G&&h.test(L.overflowX||""),dr=G?0:k(L.paddingTop),Yt=G?0:k(L.paddingRight),pi=G?0:k(L.paddingBottom),Qi=G?0:k(L.paddingLeft),CT=G?0:k(L.borderTopWidth),TT=G?0:k(L.borderRightWidth),RT=G?0:k(L.borderBottomWidth),ET=G?0:k(L.borderLeftWidth),pg=Qi+Yt,mg=dr+pi,Xu=ET+TT,Yu=CT+RT,gg=Qe?F.offsetHeight-Yu-F.clientHeight:0,vg=mt?F.offsetWidth-Xu-F.clientWidth:0,FT=ge?pg+Xu:0,PT=ge?mg+Yu:0,Na=G?G.width:k(L.width)-FT-vg,ja=G?G.height:k(L.height)-PT-gg,_T=Na+pg+vg+Xu,IT=ja+mg+gg+Yu,yg=c({devicePixelContentBoxSize:S(Math.round(Na*devicePixelRatio),Math.round(ja*devicePixelRatio),_t),borderBoxSize:S(_T,IT,_t),contentBoxSize:S(Na,ja,_t),contentRect:new f(Qi,dr,Na,ja)});return p.set(F,yg),yg},O=function(F,_,L){var G=E(F,L),ge=G.borderBoxSize,_t=G.contentBoxSize,mt=G.devicePixelContentBoxSize;switch(_){case l.DEVICE_PIXEL_CONTENT_BOX:return mt;case l.BORDER_BOX:return ge;default:return _t}},I=function(){function F(_){var L=E(_);this.target=_,this.contentRect=L.contentRect,this.borderBoxSize=c([L.borderBoxSize]),this.contentBoxSize=c([L.contentBoxSize]),this.devicePixelContentBoxSize=c([L.devicePixelContentBoxSize])}return F}(),B=function(F){if(m(F))return 1/0;for(var _=0,L=F.parentNode;L;)_+=1,L=L.parentNode;return _},z=function(){var F=1/0,_=[];r.forEach(function(mt){if(mt.activeTargets.length!==0){var Qe=[];mt.activeTargets.forEach(function(Yt){var pi=new I(Yt.target),Qi=B(Yt.target);Qe.push(pi),Yt.lastReportedSize=O(Yt.target,Yt.observedBox),QiF?L.activeTargets.push(ge):L.skippedTargets.push(ge))})})},J=function(){var F=0;for(N(F);i();)F=z(),N(F);return o()&&a(),F>0},H,ue=[],ie=function(){return ue.splice(0).forEach(function(F){return F()})},q=function(F){if(!H){var _=0,L=document.createTextNode(""),G={characterData:!0};new MutationObserver(function(){return ie()}).observe(L,G),H=function(){L.textContent=""+(_?_--:_++)}}ue.push(F),H()},re=function(F){q(function(){requestAnimationFrame(F)})},W=0,pe=function(){return!!W},me=250,ae={attributes:!0,characterData:!0,childList:!0,subtree:!0},X=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],Ye=function(F){return F===void 0&&(F=0),Date.now()+F},ke=!1,Ke=function(){function F(){var _=this;this.stopped=!0,this.listener=function(){return _.schedule()}}return F.prototype.run=function(_){var L=this;if(_===void 0&&(_=me),!ke){ke=!0;var G=Ye(_);re(function(){var ge=!1;try{ge=J()}finally{if(ke=!1,_=G-Ye(),!pe())return;ge?L.run(1e3):_>0?L.run(_):L.start()}})}},F.prototype.schedule=function(){this.stop(),this.run()},F.prototype.observe=function(){var _=this,L=function(){return _.observer&&_.observer.observe(document.body,ae)};document.body?L():b.addEventListener("DOMContentLoaded",L)},F.prototype.start=function(){var _=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),X.forEach(function(L){return b.addEventListener(L,_.listener,!0)}))},F.prototype.stop=function(){var _=this;this.stopped||(this.observer&&this.observer.disconnect(),X.forEach(function(L){return b.removeEventListener(L,_.listener,!0)}),this.stopped=!0)},F}(),Ee=new Ke,dn=function(F){!W&&F>0&&Ee.start(),W+=F,!W&&Ee.stop()},wt=function(F){return!d(F)&&!g(F)&&getComputedStyle(F).display==="inline"},jn=function(){function F(_,L){this.target=_,this.observedBox=L||l.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return F.prototype.isActive=function(){var _=O(this.target,this.observedBox,!0);return wt(this.target)&&(this.lastReportedSize=_),this.lastReportedSize.inlineSize!==_.inlineSize||this.lastReportedSize.blockSize!==_.blockSize},F}(),ce=function(){function F(_,L){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=_,this.callback=L}return F}(),Xt=new WeakMap,at=function(F,_){for(var L=0;L=0&&(_t&&r.splice(r.indexOf(G),1),G.observationTargets.splice(ge,1),dn(-1))},F.disconnect=function(_){var L=this,G=Xt.get(_);G.observationTargets.slice().forEach(function(ge){return L.unobserve(_,ge.target)}),G.activeTargets.splice(0,G.activeTargets.length)},F}(),$a=function(){function F(_){if(arguments.length===0)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if(typeof _!="function")throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");hn.connect(this,_)}return F.prototype.observe=function(_,L){if(arguments.length===0)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!v(_))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");hn.observe(this,_,L)},F.prototype.unobserve=function(_){if(arguments.length===0)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!v(_))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");hn.unobserve(this,_)},F.prototype.disconnect=function(){hn.disconnect(this)},F.toString=function(){return"function ResizeObserver () { [polyfill code] }"},F}();n.ResizeObserver=$a,n.ResizeObserverEntry=I,n.ResizeObserverSize=u,Object.defineProperty(n,"__esModule",{value:!0})})}}),J2=pn({"../../../node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.production.min.js"(e){"use strict";var t=typeof Symbol=="function"&&Symbol.for,n=t?Symbol.for("react.element"):60103,r=t?Symbol.for("react.portal"):60106,i=t?Symbol.for("react.fragment"):60107,o=t?Symbol.for("react.strict_mode"):60108,s=t?Symbol.for("react.profiler"):60114,a=t?Symbol.for("react.provider"):60109,l=t?Symbol.for("react.context"):60110,c=t?Symbol.for("react.async_mode"):60111,u=t?Symbol.for("react.concurrent_mode"):60111,f=t?Symbol.for("react.forward_ref"):60112,d=t?Symbol.for("react.suspense"):60113,m=t?Symbol.for("react.suspense_list"):60120,v=t?Symbol.for("react.memo"):60115,g=t?Symbol.for("react.lazy"):60116,b=t?Symbol.for("react.block"):60121,p=t?Symbol.for("react.fundamental"):60117,h=t?Symbol.for("react.responder"):60118,y=t?Symbol.for("react.scope"):60119;function x(S){if(typeof S=="object"&&S!==null){var T=S.$$typeof;switch(T){case n:switch(S=S.type,S){case c:case u:case i:case s:case o:case d:return S;default:switch(S=S&&S.$$typeof,S){case l:case f:case g:case v:case a:return S;default:return T}}case r:return T}}}function k(S){return x(S)===u}e.AsyncMode=c,e.ConcurrentMode=u,e.ContextConsumer=l,e.ContextProvider=a,e.Element=n,e.ForwardRef=f,e.Fragment=i,e.Lazy=g,e.Memo=v,e.Portal=r,e.Profiler=s,e.StrictMode=o,e.Suspense=d,e.isAsyncMode=function(S){return k(S)||x(S)===c},e.isConcurrentMode=k,e.isContextConsumer=function(S){return x(S)===l},e.isContextProvider=function(S){return x(S)===a},e.isElement=function(S){return typeof S=="object"&&S!==null&&S.$$typeof===n},e.isForwardRef=function(S){return x(S)===f},e.isFragment=function(S){return x(S)===i},e.isLazy=function(S){return x(S)===g},e.isMemo=function(S){return x(S)===v},e.isPortal=function(S){return x(S)===r},e.isProfiler=function(S){return x(S)===s},e.isStrictMode=function(S){return x(S)===o},e.isSuspense=function(S){return x(S)===d},e.isValidElementType=function(S){return typeof S=="string"||typeof S=="function"||S===i||S===u||S===s||S===o||S===d||S===m||typeof S=="object"&&S!==null&&(S.$$typeof===g||S.$$typeof===v||S.$$typeof===a||S.$$typeof===l||S.$$typeof===f||S.$$typeof===p||S.$$typeof===h||S.$$typeof===y||S.$$typeof===b)},e.typeOf=x}}),eM=pn({"../../../node_modules/hoist-non-react-statics/node_modules/react-is/index.js"(e,t){"use strict";t.exports=J2()}}),Au=pn({"../../../node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js"(e,t){"use strict";var n=eM(),r={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},a={};a[n.ForwardRef]=o,a[n.Memo]=s;function l(b){return n.isMemo(b)?s:a[b.$$typeof]||r}var c=Object.defineProperty,u=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,m=Object.getPrototypeOf,v=Object.prototype;function g(b,p,h){if(typeof p!="string"){if(v){var y=m(p);y&&y!==v&&g(b,y,h)}var x=u(p);f&&(x=x.concat(f(p)));for(var k=l(b),S=l(p),T=0;TparseInt(p[1],10)}else u=!1;return u}function v(){return d===null&&(d=!!document.fonts),d}function g(){if(f===null){var p=document.createElement("div");try{p.style.font="condensed 100px sans-serif"}catch{}f=p.style.font!==""}return f}function b(p,h){return[p.style,p.weight,g()?p.stretch:"","100px",h].join(" ")}l.prototype.load=function(p,h){var y=this,x=p||"BESbswy",k=0,S=h||3e3,T=new Date().getTime();return new Promise(function(E,O){if(v()&&!m()){var I=new Promise(function(z,N){function J(){new Date().getTime()-T>=S?N(Error(""+S+"ms timeout exceeded")):document.fonts.load(b(y,'"'+y.family+'"'),x).then(function(H){1<=H.length?z():setTimeout(J,25)},N)}J()}),B=new Promise(function(z,N){k=setTimeout(function(){N(Error(""+S+"ms timeout exceeded"))},S)});Promise.race([B,I]).then(function(){clearTimeout(k),E(y)},O)}else r(function(){function z(){var X;(X=ie!=-1&&q!=-1||ie!=-1&&re!=-1||q!=-1&&re!=-1)&&((X=ie!=q&&ie!=re&&q!=re)||(c===null&&(X=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))/.exec(P.navigator.userAgent),c=!!X&&(536>parseInt(X[1],10)||parseInt(X[1],10)===536&&11>=parseInt(X[2],10))),X=c&&(ie==W&&q==W&&re==W||ie==pe&&q==pe&&re==pe||ie==me&&q==me&&re==me)),X=!X),X&&(ae.parentNode&&ae.parentNode.removeChild(ae),clearTimeout(k),E(y))}function N(){if(new Date().getTime()-T>=S)ae.parentNode&&ae.parentNode.removeChild(ae),O(Error(""+S+"ms timeout exceeded"));else{var X=document.hidden;(X===!0||X===void 0)&&(ie=J.a.offsetWidth,q=H.a.offsetWidth,re=ue.a.offsetWidth,z()),k=setTimeout(N,50)}}var J=new i(x),H=new i(x),ue=new i(x),ie=-1,q=-1,re=-1,W=-1,pe=-1,me=-1,ae=document.createElement("div");ae.dir="ltr",o(J,b(y,"sans-serif")),o(H,b(y,"serif")),o(ue,b(y,"monospace")),ae.appendChild(J.a),ae.appendChild(H.a),ae.appendChild(ue.a),document.body.appendChild(ae),W=J.a.offsetWidth,pe=H.a.offsetWidth,me=ue.a.offsetWidth,N(),a(J,function(X){ie=X,z()}),o(J,b(y,'"'+y.family+'",sans-serif')),a(H,function(X){q=X,z()}),o(H,b(y,'"'+y.family+'",serif')),a(ue,function(X){re=X,z()}),o(ue,b(y,'"'+y.family+'",monospace'))})})},typeof t=="object"?t.exports=l:(P.FontFaceObserver=l,P.FontFaceObserver.prototype.load=l.prototype.load)})()}});function Sm(e,t){let n={style:t};return w.isValidElement(e)?w.cloneElement(e,n):w.createElement(e,n)}var nM=class extends Error{},ou=class extends Error{},rM=class extends Ce{constructor(e){super(e),this.state={error:void 0,forceUpdateKey:e.forceUpdateKey}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){if(e.forceUpdateKey!==t.forceUpdateKey){let n={forceUpdateKey:e.forceUpdateKey};return t.error&&(n.error=void 0),n}return null}render(){if(this.state.error===void 0)return this.props.children;if(!(this.state.error instanceof nM)){let n=new ou;throw n.cause=this.state.error,n}let{notFoundPage:e,defaultPageStyle:t}=this.props;if(!e)throw this.state.error;return Sm(e,t)}},iM=":([a-z]\\w*)",Gi=new RegExp(iM,"gi");function ak(e,t){return e.replace(Gi,(n,r)=>{let i=t[r];return typeof i!="string"||i.length===0?n:encodeURIComponent(i)})}function lk(e,t){if(!e.startsWith("/")||!t.startsWith("/"))throw new Error("from/to paths are expected to be absolute");let[n]=kS(e),[r,i]=kS(t),o=oM(n,r);return o===""&&(o="."),!o.startsWith(".")&&!o.startsWith("/")&&(o="./"+o),o+"/"+i}function kS(e){let t=e.lastIndexOf("/");return[e.substring(0,t+1),e.substring(t+1)]}var Kp=46,Xo=47,hi=(e,t)=>e.charCodeAt(t),CS=(e,t)=>e.lastIndexOf(t),Ko=(e,t,n)=>e.slice(t,n);function oM(e,t){if(e===t||(e="/"+RS(e),t="/"+RS(t),e===t))return"";let n=1,r=e.length,i=r-n,o=1,s=t.length-o,a=ia){if(hi(t,o+c)===Xo)return Ko(t,o+c+1);if(c===0)return Ko(t,o+c)}else i>a&&(hi(e,n+c)===Xo?l=c:c===0&&(l=0));let u="";for(c=n+l+1;c<=r;++c)(c===r||hi(e,c)===Xo)&&(u+=u.length===0?"..":"/..");return`${u}${Ko(t,o+l)}`}var sM=!1,Gc="/",TS=e=>e===Xo;function RS(e){let t="",n=0,r=-1,i=0,o=0;for(let s=0;s<=e.length;++s){if(s2){let a=CS(t,Gc);a===-1?(t="",n=0):(t=Ko(t,0,a),n=t.length-1-CS(t,Gc)),r=s,i=0;continue}else if(t.length!==0){t="",n=0,r=s,i=0;continue}}sM&&(t+=t.length>0?`${Gc}..`:"..",n=2)}else t.length>0?t+=`${Gc}${Ko(e,r+1,s)}`:t=Ko(e,r+1,s),n=s-r-1;r=s,i=0}else o===Kp&&i!==-1?++i:i=-1}return t}function ck(e){let t=typeof P<"u"?P.location.search:"";return t?aM(t,e):e}function aM(e,t){let n=t.indexOf("#"),r=n===-1?t:t.substring(0,n),i=n===-1?"":t.substring(n),o=r.indexOf("?");if(o===-1)return r+e+i;let s=new URLSearchParams(e),a=r.substring(o+1),l=new URLSearchParams(a);for(let[c,u]of s)l.has(c)||l.append(c,u);return r.substring(0,o+1)+l.toString()+i}function Ta(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function Ui(e){return typeof e=="string"}var lM="preload";function uk(e){return typeof e=="object"&&e!==null&&!w.isValidElement(e)&&lM in e}function O6(e){let t=w.lazy(e),n,r,i=w.forwardRef(function(s,a){return w.createElement(r??t,a?{ref:a,...s}:s)});return i.preload=()=>(n||(n=e().then(o=>(r=o.default,r))),n),i}function Du(e,t){if(t&&e)return e.elements&&t in e.elements?e.elements[t]:t}function cM(e){return/bot|-google|google-|yandex|ia_archiver/iu.test(e)}function fk(e){if("scheduler"in P){if("yield"in scheduler)return scheduler.yield(e);if("postTask"in scheduler)return scheduler.postTask(()=>{},e)}return e?.priority==="user-blocking"?Promise.resolve():new Promise(t=>{setTimeout(t)})}async function dk(e,t){return await fk(t),e()}function zu(e){return new Promise(t=>{setTimeout(t,100),requestAnimationFrame(()=>{dk(t,e)})})}function uM(e,t,n,r=Ae){r(()=>{let i=async s=>(await zu(n),s()),o=i(e);return()=>{(async()=>{let s=await o;s&&i(s)})()}},t)}var Bm=()=>{},fM=[];async function dM(e,t,n,r,i,o,s){var a,l,c;let u=e,f=!1,d={...o},m=Array.from(u.matchAll(Gi)),v=await Promise.all(m.map(async h=>{var y;let x=h?.[0],k=h?.[1];if(!x||!k)throw new Error("Failed to replace path variables: unexpected regex match group");let S=o[k];if(!S||!Ui(S))throw new Error(`No slug found for path variable ${k}`);let T=await((y=s?.[i])===null||y===void 0?void 0:y.call(s));if(!T||!t)return S;let E=await T.getRecordIdBySlug(S,t);if(!E)return S;let O=await T.getSlugByRecordId(E,n);if(!O){f=!0;let I=await T.getSlugByRecordId(E,r);return I&&(d[k]=I),I??S}return d[k]=O,O})),g=0,b="",p=!1;for(let h=0;h`--view-transition-${e}`;function km(e){return[parseFloat(e),e.endsWith("px")?"px":"%"]}function pk(e){let{innerWidth:t,innerHeight:n}=P,[r,i]=km(e.x),[o,s]=km(e.y);return{x:i==="px"?r:t*(r/100),y:s==="px"?o:n*(o/100)}}var bM={makeKeyframe:(e,t,n)=>{let r=0;return(n==="exit"&&e.angularDirection==="clockwise"&&t==="start"||n==="exit"&&e.angularDirection==="counter-clockwise"&&t==="end"||n==="enter"&&e.angularDirection==="counter-clockwise"&&t==="start"||n==="enter"&&e.angularDirection==="clockwise"&&t==="end")&&(r=e.sweepAngle/360*100),`${Mr("conic-offset")}: ${r}%;`},makeStyles:(e,t)=>{let n=`var(${Mr("conic-offset")})`,r=t==="exit"&&e.angularDirection==="clockwise"||t==="enter"&&e.angularDirection==="counter-clockwise",i=r?"transparent":"black",o=r?"black":"transparent",s="conic-gradient(from ";return s+=`${e.angle}deg at ${e.x} ${e.y}, `,s+=`${i} 0%, ${i} ${n}, `,s+=`${o} ${n}, ${o} 100%)`,`mask-image: ${s}; -webkit-mask-image: ${s};`},makePropertyRules:()=>` @property ${Mr("conic-offset")} { syntax: ''; initial-value: 0%; inherits: false; } `},xM={makeKeyframe:(e,t)=>{let{x:n,y:r}=pk(e);return t==="start"?`clip-path: circle(0 at ${n}px ${r}px);`:`clip-path: circle(${Math.hypot(Math.max(n,P.innerWidth-n),Math.max(r,P.innerHeight-r))}px at ${n}px ${r}px);`}},wM={makeKeyframe:(e,t)=>{let{x:n,y:r}=pk(e),i=P.innerHeight-r,o=P.innerWidth-n;return t==="start"?`clip-path: inset(${r}px ${o}px ${i}px ${n}px round ${e.round}px);`:"clip-path: inset(0 round 0);"}},SM={makeKeyframe:(e,t,n)=>{let[,r]=km(e.width),i=`0${r}`;return(t==="start"&&n==="exit"||t==="end"&&n==="enter")&&(i=e.width),`${Mr("blinds-width")}: ${i};`},makeStyles:(e,t)=>{let n=`var(${Mr("blinds-width")})`,r=t==="exit"?"transparent":"black",i=t==="exit"?"black":"transparent",o="repeating-linear-gradient(";return o+=e.angle+90+"deg, ",o+=`${r} 0px, ${r} ${n}, `,o+=`${i} ${n}, ${i} ${e.width})`,`mask-image: ${o}; -webkit-mask-image: ${o};`},makePropertyRules:()=>` @property ${Mr("blinds-width")} { syntax: ''; initial-value: 0px; inherits: false; } `},kM={makeKeyframe:(e,t,n)=>{let r=t==="start"&&n==="exit"||t==="end"&&n==="enter"?1:0;return`${Mr("wipe-offset")}: ${r};`},makeStyles:(e,t)=>{let n=`var(${Mr("wipe-offset")})`,r=t==="exit"?"transparent":"black",i=t==="exit"?"black":"transparent",o="linear-gradient(";return o+=e.angle+90+"deg, ",o+=`${r} calc(calc(0% - ${e.width}) + calc(calc(100% + ${e.width}) * ${n})), `,o+=`${i} calc(calc(100% + ${e.width}) * ${n}))`,`mask-image: ${o}; -webkit-mask-image: ${o};`},makePropertyRules:()=>` @property ${Mr("wipe-offset")} { syntax: ''; initial-value: 0; inherits: false; } `},CM={circle:xM,conic:bM,inset:wM,blinds:SM,wipe:kM},TM={opacity:1,x:"0px",y:"0px",scale:1,rotate:0,rotateX:0,rotateY:0,mask:void 0};function ES(e,t,n,r){var i;let o=` opacity: ${e.opacity}; transform: translate(${e.x}, ${e.y}) scale(${e.scale}) rotateX(${e.rotateX}deg) rotateY(${e.rotateY}deg) rotateZ(${e.rotate}deg); `;return e.mask&&(o+=((i=r?.makeKeyframe)===null||i===void 0?void 0:i.call(r,e.mask,t,n))||""),o}function RM(e){return e?CM[e]:void 0}function FS(e,{transition:t,...n}){var r;let i="view-transition-"+e,o={duration:"0s",easing:"linear"};if(t.type==="tween")o.duration=t.duration+"s",o.easing=`cubic-bezier(${t.ease.join(",")})`;else if(EM(t)){let{easing:c,duration:u}=yM(Ss({keyframes:[0,1],...FM(t),restDelta:.001,restSpeed:1e-4}));o.duration=u+"ms",o.easing=c}let s=RM((r=n?.mask)===null||r===void 0?void 0:r.type),a=ES(n,"start",e,s),l=ES({...TM,mask:n.mask},"end",e,s);return e==="exit"&&([a,l]=[l,a]),` ${n.mask&&s?.makePropertyRules?s.makePropertyRules(n.mask):""} @keyframes ${i} { 0% { ${a} } 100% { ${l} } } ::view-transition-${e==="enter"?"new":"old"}(root) { animation-name: ${i}; animation-duration: ${o.duration}; animation-delay: ${t.delay}s; animation-timing-function: ${o.easing}; animation-fill-mode: both; ${n.mask&&s?.makeStyles?s.makeStyles(n.mask,e):""} } `}function EM(e){return e.type==="spring"}function FM(e){return e.durationBasedSpring?{duration:e.duration,bounce:e.bounce}:{stiffness:e.stiffness,damping:e.damping,mass:e.mass}}var mk="view-transition-styles",PM={x:"0px",y:"0px",scale:1,opacity:1,rotate3d:!1,rotate:0,rotateX:0,rotateY:0,mask:void 0,transition:{type:"tween",delay:0,duration:.2,ease:[.27,0,.51,1],stiffness:400,damping:30,mass:1}};function _M({exit:e=PM,enter:t}){let n=document.createElement("style");n.id=mk;let r=` @media (prefers-reduced-motion) { ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; } } `;(e.mask||t.mask||e.opacity||t.opacity||e.transition.delay||t.transition.delay)&&(r+=` ::view-transition-old(*), ::view-transition-new(*) { mix-blend-mode: normal; } `),r+=` ::view-transition-old(*), ::view-transition-new(*) { backface-visibility: hidden; } `,r+=FS("exit",e),r+=FS("enter",t),n.textContent=r,document.head.appendChild(n)}var IM=(()=>typeof P<"u"?P.requestIdleCallback||P.setTimeout:setTimeout)();function OM(){IM(()=>{Z.render(()=>{performance.mark("framer-vt-remove");let e=document.getElementById(mk);e&&document.head.removeChild(e)})})}var PS=()=>{};function MM(){return!!document.startViewTransition}function LM(e){return new Promise(t=>{Z.render(()=>{performance.mark("framer-vt-style"),_M(e),t()})})}async function _S(e,t,n){if(!MM()){e();return}if(await LM(t),n?.aborted)return;performance.mark("framer-vt");let r=document.startViewTransition(async()=>{performance.mark("framer-vt-freeze"),!n?.aborted&&(n?.addEventListener("abort",()=>r.skipTransition()),await e())});return r.updateCallbackDone.then(()=>{performance.mark("framer-vt-unfreeze")}).catch(PS),Promise.all([r.ready,r.finished]).then(()=>{performance.mark("framer-vt-finished"),OM()}).catch(PS),r}function gk(){let e=gM(),t=V(void 0);return j(()=>{t.current&&(t.current(),t.current=void 0)}),K((n,r,i,o,s)=>{let a=pM(n,r,e);if(a){let l=new Promise(f=>{t.current=f}),c=async()=>{i(),await l},u=async()=>(await zu({priority:"user-blocking",signal:s}).catch(Bm),_S(c,a,s));return o?u():_S(c,a)}else return i()},[e])}function vk(e){let t=`${e}-start`,n=`${e}-end`,r=V(void 0);return uM(()=>{r.current&&(r.current(),r.current=void 0)},void 0,{priority:"user-blocking"}),K(()=>{let i=new Promise(o=>{r.current=o});return performance.mark(t),i.finally(()=>{performance.mark(n),performance.measure(e,t,n)}).catch(o=>{console.error(o)})},[e,t,n])}async function IS(e,t,{currentRoutePath:n,currentPathVariables:r,hash:i,pathVariables:o,localeId:s,preserveQueryParams:a},l=!1,c=!1){let{path:u}=t;if(u)try{let f=Bu(t,{currentRoutePath:n,currentPathVariables:r,hash:i,pathVariables:o,preserveQueryParams:a});return await yk({routeId:e,hash:i,pathVariables:o,localeId:s},f,l,c)}catch{}}function VM(e){let t="routeId";return Ta(e)&&Ui(e[t])}function AM(e,t,n=!1){performance.mark("framer-history-replace"),(n?P.history.__proto__.replaceState:P.history.replaceState).call(P.history,e,"",t)}var qc=!0,OS=(()=>{if(typeof Fe>"u")return!1;let e=Fe.userAgent,t=e.indexOf("Chrome/"),n=+e.slice(t+7,e.indexOf(".",t));return n>101&&n<128})();async function yk(e,t,n=!1,r=!1){if(n&&await zu({priority:"user-blocking"}),performance.mark("framer-history-push"),!r){P.history.pushState(e,"",t);return}let i=!1,o;qc&&(o=()=>{var s;if(i=!0,OS)return;let a="Popstate called after intercept(). Please report this to the Framer team.";console.error(a),(s=P.__framer_events)===null||s===void 0||s.push(["published_site_load_recoverable_error",{message:a,userAgent:Fe.userAgent}])},P.addEventListener("popstate",o,{once:!0})),OS&&qc?P.history.__proto__.pushState.call(P.history,e,"",t):P.history.pushState(e,"",t),qc&&queueMicrotask(()=>{i||(qc=!1,P.removeEventListener("popstate",o))})}function DM({disabled:e,routeId:t,initialPathVariables:n,initialLocaleId:r}){Ae(()=>{e||(performance.mark("framer-history-set-initial-state"),AM({routeId:t,pathVariables:n,localeId:r},void 0,!0))},[])}function zM(e,t){let n=gk(),r=vk("framer-route-change-popstate"),i=V(void 0),o=K(async({state:a})=>{var l,c,u,f,d,m;if(!((l=P.navigation)===null||l===void 0)&&l.transition&&((u=(c=P.navigation)===null||c===void 0?void 0:c.transition)===null||u===void 0?void 0:u.navigationType)!=="traverse"||!Ta(a))return;let{routeId:v,hash:g,pathVariables:b,localeId:p}=a;if(!Ui(v))return;r();let h=()=>{t(v,Ui(p)?p:void 0,Ui(g)?g:void 0,Ta(b)?b:void 0,!1,!0)},y=await n(e.current,v,h,!1);y?y.updateCallbackDone.then((f=i.current)===null||f===void 0?void 0:f.resolve).catch((d=i.current)===null||d===void 0?void 0:d.reject):(m=i.current)===null||m===void 0||m.resolve()},[e,r,t,n]),s=K(a=>{a.navigationType==="traverse"&&a.intercept({async handler(){await new Promise((l,c)=>{i.current={resolve:l,reject:c}}),i.current=void 0},scroll:"after-transition"})},[]);j(()=>{var a;return P.addEventListener("popstate",o),(a=P.navigation)===null||a===void 0||a.addEventListener("navigate",s),()=>{var l;P.removeEventListener("popstate",o),(l=P.navigation)===null||l===void 0||l.removeEventListener("navigate",s)}},[o,s])}function BM(e,t,n){let r=Du(t,e);if(!r)return;let i=Object.assign({},t?.elements,n);return r.replace(Gi,(o,s)=>{var a;return String((a=i[s])!==null&&a!==void 0?a:o)})}function Bu(e,{currentRoutePath:t,currentPathVariables:n,hash:r,pathVariables:i,hashVariables:o,relative:s=!0,preserveQueryParams:a}){var l;let c=t??"/";n&&(c=c.replace(Gi,(v,g)=>String(n[g]||v)));let f=(l=e?.path)!==null&&l!==void 0?l:"/";i&&(f=f.replace(Gi,(v,g)=>String(i[g]||v)));let d=BM(r,e,o),m=c===f&&d;return s&&(f=lk(c,f)),(a||m)&&(f=ck(f)),d&&(f=`${f}#${d}`),f}async function $M(e,t,n){if(!e.path||!t)return!1;let i=`${n.slug?`/${n.slug}`:""}${ak(e.path,t)}`;return(await fetch(i,{method:"HEAD",redirect:"manual"})).type==="opaqueredirect"?(P.location.href=P.location.origin+i,!0):!1}async function NM(e){let t=await hM(e);if(t){try{localStorage.setItem("preferredLocale",e.nextLocale.code)}catch{}try{if(!Ui(t.path))throw new Error("Expected result.path to be a string");if(t.isMissingInLocale&&await $M(e.route,t.pathVariables,e.nextLocale))return}catch{}return t}}function jM(){let e=V(Promise.resolve()),t=V(),n=K(r=>{if(r.navigationType==="traverse")return;let i=t.current;i?.signal.addEventListener("abort",()=>{i.abort("user aborted")}),r.intercept({handler:()=>e.current})},[]);return K((r,i,o)=>{if(!P.navigation){i();return}e.current=r,t.current=o,P.navigation.addEventListener("navigate",n),i(!0),r.catch(Bm).finally(()=>{P.navigation.removeEventListener("navigate",n)})},[n])}function Ir(e,t,n){try{performance.measure(e,t,n)}catch(r){console.warn(`Could not measure ${e}`,r)}}var cr=!1;function B6(){cr=!0,performance.mark("framer-hydration-start")}var MS=!1,LS=!1,VS=!1;function HM(){let e="framer-hydration-router";lt(()=>{MS||!cr||(MS=!0,performance.mark(`${e}-insertion-effect`))},[]),Ae(()=>{LS||!cr||(LS=!0,performance.mark(`${e}-layout-effect`))},[]),j(()=>{VS||!cr||(VS=!0,performance.mark(`${e}-effect`))},[])}var AS=!1,DS=!1,zS=!1,bk=!1;function WM(){let e="framer-hydration-",t=`${e}layout-effects-end`,n=`${e}effects-end`,r=`${e}browser-render-start`,i=`${e}render-end`;return lt(()=>{AS||!cr||(AS=!0,performance.mark(i),Ir(`${e}render`,`${e}start`,i),performance.mark(`${e}insertion-effects-start`))},[]),Ae(()=>{if(!(DS||!cr)){if(DS=!0,performance.mark(`${e}layout-effects-start`),document.visibilityState!=="visible"){bk=!0;return}requestAnimationFrame(()=>{var o,s,a;performance.mark(r),Ir(`${e}uho`,(s=(o=performance.getEntriesByName(n)[0])===null||o===void 0?void 0:o.name)!==null&&s!==void 0?s:(a=performance.getEntriesByName(t)[0])===null||a===void 0?void 0:a.name,r)})}},[]),j(()=>{var o;if(zS||!cr)return;zS=!0;let s=`${e}effects-start`;performance.mark(s),((o=performance.getEntriesByName(r)[0])===null||o===void 0?void 0:o.name)||(Ir(`${e}commit`,t,s),performance.mark(`${e}effects-sync`))},[]),null}var BS=!1,$S=!1,NS=!1;function UM(){let e="framer-hydration-",t=`${e}layout-effects-end`,n=`${e}effects-end`,r=`${e}browser-render-start`,i=`${e}start`,o=`${e}insertion-effects-end`,s=`${e}first-paint`,a=`${e}browser-raf-end`;return lt(()=>{BS||!cr||(BS=!0,performance.mark(o),Ir(`${e}insertion-effects`,`${e}insertion-effects-start`,o))},[]),Ae(()=>{$S||!cr||($S=!0,performance.mark(t),Ir(`${e}layout-effects`,`${e}layout-effects-start`,t),!(bk||document.visibilityState!=="visible")&&requestAnimationFrame(()=>{performance.mark(a),Ir(`${e}raf`,r,a),dk(()=>{performance.mark(s),Ir(`${e}time-to-first-paint`,i,s),Ir(`${e}browser-render`,a,s)})}))},[]),j(()=>{var l,c,u;NS||!cr||(NS=!0,performance.mark(n),Ir(`${e}effects`,(c=(l=performance.getEntriesByName(s)[0])===null||l===void 0?void 0:l.name)!==null&&c!==void 0?c:(u=performance.getEntriesByName(`${e}effects-start`)[0])===null||u===void 0?void 0:u.name,n))},[]),null}function GM(){return WM(),null}function qM(){return UM(),null}var jS={Start:GM,End:qM},ka=["mousedown","mouseup","touchcancel","touchend","touchstart","auxclick","dblclick","pointercancel","pointerdown","pointerup","dragend","dragstart","drop","compositionend","compositionstart","keydown","keypress","keyup","input","textInput","copy","cut","paste","click","change","contextmenu","reset"],xk=e=>{var t,n;!((n=(t=e.target)===null||t===void 0?void 0:t.closest)===null||n===void 0)&&n.call(t,"#main")&&(e.stopPropagation(),performance.mark("framer-react-event-handling-prevented"))},wk=!1;function N6(){if(!ka)return;wk=!0,performance.mark("framer-react-event-handling-start");let e={capture:!0};ka.forEach(t=>document.body.addEventListener(t,xk,e))}function XM(){return j(()=>{if(!wk||!ka)return;let e={capture:!0};ka.forEach(t=>document.body.removeEventListener(t,xk,e)),ka=void 0,performance.mark("framer-react-event-handling-end")},[]),null}var $m=!1;function H6(){$m=!0}function YM(){$m=!1}function KM(){let e=V(typeof P>"u"||$m);return j(()=>{e.current=!1},[]),e}function QM(e,t){if(e.routeId!==t.routeId)return!1;if(e.pathVariables===t.pathVariables)return!0;let n=e.pathVariables||{},r=t.pathVariables||{};return n.length===r.length&&Object.keys(n).every(i=>n[i]===r[i])}function Sk(e){return w.useCallback(t=>e[t],[e])}var Nm=(()=>w.createContext({}))();function ZM({api:e,children:t}){return C(Nm.Provider,{value:e,children:t})}function Ki(){return w.useContext(Nm)}function JM({routes:e,children:t}){let n=Sk(e);return C(Nm.Provider,{value:{getRoute:n},children:t})}var eL=class extends Ce{constructor(){super(...arguments),this.state={error:void 0}}static getDerivedStateFromError(e){return e instanceof ou||console.error("Derived error in SuspenseErrorBoundary",e),{error:e}}componentDidCatch(e,t){var n;if(e instanceof ou)return;let r=t?.componentStack;if(console.error("Caught error in SuspenseErrorBoundary",e,r),typeof P<"u"){let i=e instanceof Error&&typeof e.stack=="string"?e.stack:null;(n=P.__framer_events)===null||n===void 0||n.push(["published_site_load_recoverable_error",{message:String(e),stack:i,componentStack:i?void 0:r}])}}render(){if(this.state.error===void 0)return this.props.children;if(this.state.error instanceof ou)throw this.state.error.cause;return P.__framer_STPD_OPT_OUT__=!0,C(mi,{children:this.props.fallbackChildren})}},tL=(()=>typeof P<"u"?new Promise(()=>{}):null)();function nL(){if(typeof P>"u"||P.__framer_STPD_OPT_OUT__)return null;throw tL}function kk({children:e}){return C(eL,{fallbackChildren:e,children:C(mi,{fallback:C(nL,{}),children:e})})}var HS="default";function rL(){let[e,t]=w.useState(0);return[e,w.useCallback(()=>t(n=>n+1),[])]}var iL=async()=>{},oL={activeLocale:null,locales:[],setLocale:iL},Ck=w.createContext(oL);function Tk(){return w.useContext(Ck)}function WS(e,t,n){let r=e&&document.getElementById(e);if(r){uL(r,t);return}n||P.scrollTo(0,0)}function sL(e){let t=V([]);return Ae(()=>{var n;!((n=t.current)===null||n===void 0)&&n.length&&(t.current.forEach(r=>r()),t.current=[])},[e]),K(n=>{t.current.push(n)},[])}function aL(e){let t=jM(),n=vk("framer-route-change"),r=V(void 0);return K(async(i,o,s=!0)=>{var a;if(YM(),!e)return await o?.(),i(),n(),new Promise(m=>{m()});(a=r.current)===null||a===void 0||a.abort();let l=s?new AbortController:void 0;r.current=l;let c=l?.signal,u=n();if(!o)return r.current=void 0,i(c),u;let f,d=new Promise((m,v)=>{f=m,c?.aborted?v():c?.addEventListener("abort",v)});return await zu({priority:"user-blocking",signal:c}).catch(Bm),i(c),t(d,o,l),u.then(()=>{f()})},[e,n,t])}function lL({defaultPageStyle:e,disableHistory:t,initialPathVariables:n,initialRoute:r,notFoundPage:i,collectionUtils:o,routes:s,initialLocaleId:a,locales:l=fM,preserveQueryParams:c=!1,enableAsyncURLUpdates:u=!1,LayoutTemplate:f,editorBar:d}){HM(),DM({disabled:t,routeId:r,initialPathVariables:n,initialLocaleId:a});let m=gk(),[v,g]=rL(),b=sL(v),p=aL(u),h=V(r),y=V(n),x=V(a),k=x.current,S=se(()=>{var q;return(q=l.find(({id:re})=>k?re===k:re===HS))!==null&&q!==void 0?q:null},[k,l]),T=se(()=>({activeLocale:S,locales:l,setLocale:async q=>{let re;Ui(q)?re=q:Ta(q)&&(re=q.id);let W=l.find(({id:X})=>X===HS),pe=l.find(({id:X})=>X===re);if(!pe)return;let me=h.current,ae=s[me];if(ae)try{let X=await NM({currentLocale:S,nextLocale:pe,route:ae,routeId:me,defaultLocale:W,pathVariables:y.current,collectionUtils:o,preserveQueryParams:c});if(!X)return;let Ye=y.current,ke=VM(P.history.state)?P.history.state.paginationInfo:void 0,Ke=X.path;y.current=X.pathVariables,x.current=pe.id,p(()=>{m(me,me,()=>Qt(g),u)},async(dn=!1)=>{if(Ke)return yk({routeId:me,pathVariables:Ye,localeId:pe.id,paginationInfo:ke},Ke,!1,dn)},!1)}catch{}}}),[S,o,u,g,l,c,s,p,m]),E=K((q,re,W,pe,me=!1,ae=!1,X)=>{let Ye=h.current;if(h.current=q,y.current=pe,x.current=re,b(()=>{WS(W,me,ae)}),ae){Qt(g);return}p(ke=>{m(Ye,q,()=>Qt(g),u,ke)},X)},[u,g,b,p,m]);zM(h,E);let O=K(async(q,re,W,pe)=>{var me,ae;let X=s[q];if(W){let wt=new Set,jn=(me=X?.path)!==null&&me!==void 0?me:"/";for(let ce of jn.matchAll(Gi)){let Xt=ce[1];if(Xt===void 0)throw new Error("A matching path variable should not be undefined");wt.add(Xt)}W=Object.fromEntries(Object.entries(W).filter(([ce])=>wt.has(ce)))}let Ye=Du(X,re),ke=y.current,Ke=x.current;if(QM({routeId:h.current,pathVariables:ke},{routeId:q,pathVariables:W})){let wt=s[q];((ae=P.history.state)===null||ae===void 0?void 0:ae.hash)!==re&&!t&&wt&&await IS(q,wt,{currentRoutePath:wt.path,currentPathVariables:ke,pathVariables:W,hash:re,localeId:Ke,preserveQueryParams:c},u),WS(Ye,pe,!1);return}if(!X)return;let Ee=s[h.current];E(q,Ke,Ye,W,pe,!1,t?void 0:async(wt=!1)=>IS(q,X,{currentRoutePath:Ee?.path,currentPathVariables:ke,hash:re,pathVariables:W,localeId:Ke,preserveQueryParams:c},!1,wt))},[s,E,t,c,u]),I=Sk(s),B=h.current,z=y.current,N=se(()=>({navigate:O,getRoute:I,currentRouteId:B,currentPathVariables:z,routes:s,collectionUtils:o,preserveQueryParams:c}),[O,I,B,z,s,o,c]),J=s[h.current];if(!J)throw new Error(`Router cannot find route for ${h.current}`);let H=!S||!J.includedLocales||J.includedLocales.includes(S.id),ue=J.path&&z?ak(J.path,z):J.path,ie=String(k)+ue;return C(ZM,{api:N,children:C(Ck.Provider,{value:T,children:de(kk,{children:[C(rM,{notFoundPage:i,defaultPageStyle:e,forceUpdateKey:v,children:C(cL,{LayoutTemplate:f,routeId:B,children:de(gn,{children:[C(jS.Start,{}),H?Sm(J.page,f?{...e,display:"content"}:e):i&&Sm(i,e)]},ie)})}),C(XM,{}),C(jS.End,{}),d]})})})}function cL({LayoutTemplate:e,routeId:t,children:n}){return e?C(e,{routeId:t,children:n}):n}function uL(e,t){let n=t?{behavior:"smooth",block:"start",inline:"nearest"}:void 0;e.scrollIntoView(n)}var Xc,Zp,US;function fL(e){if(US!==e){Xc={};for(let[t,{path:n}]of Object.entries(e))n&&(Xc[n]={path:n,depth:dL(n),routeId:t});Zp=Object.values(Xc),Zp.sort(({depth:t},{depth:n})=>n-t),US=e}return[Xc,Zp]}function Rk(e,t,n=!0,r=[]){let[i,o]=fL(e),s,a,l=t;if(r.length>0){let d=l.split("/").find(Boolean);if(d&&(s=r.find(({slug:m})=>m===d),s&&(a=s.id,l=l.substring(s.slug.length+1))),!a){let m=r.find(({slug:v})=>v==="");m&&(a=m.id)}}let c=i[l];if(c){let d=GS(l,c.path);if(d.isMatch)return{routeId:c.routeId,localeId:a,pathVariables:d.pathVariables}}for(let{path:d,routeId:m}of o){let v=GS(l,d);if(v.isMatch)return{routeId:m,localeId:a,pathVariables:v.pathVariables}}if(!n)throw new Error("No exact match found for path");let u=i["/"];if(u)return{routeId:u.routeId,localeId:a};let f=Object.keys(e)[0];if(!f)throw new Error("Router should not have undefined routes");return{routeId:f,localeId:a}}function dL(e){let t=e.replace(/^\/|\/$/gu,"");return t===""?0:t.split("/").length}function GS(e,t){let n=[],i=hL(t).replace(Gi,(c,u)=>(n.push(u),"([^/]+)")),o=new RegExp(i+"$"),s=e.match(o);if(!s)return{isMatch:!1};if(s.length===1)return{isMatch:!0};let a={},l=s.slice(1);for(let c=0;cw.createContext(void 0))();function Oa(){var e;let t=Ki(),n=A(mL),r=n??t.currentRouteId;if(!r)return;let i=(e=t.getRoute)===null||e===void 0?void 0:e.call(t,r);if(i)return{...i,id:r,pathVariables:n?void 0:t.currentPathVariables}}function gL(e){var t;let n=Ki();if(e)return(t=n.getRoute)===null||t===void 0?void 0:t.call(n,e)}var jm=(()=>typeof P<"u"&&!cM(Fe.userAgent))();function vL(e,t=!0){let{getRoute:n}=Ki();j(()=>{if(!(!n||!t||!jm))for(let r of e)Ek(n(r))},[e,n,t])}async function Ek(e){if(!jm||!e)return;let t=e.page;if(!(!t||!uk(t))){await fk();try{await t.preload()}catch{}}}function oj(e,t){var n;let r=Oa(),i=(n=gL(t))!==null&&n!==void 0?n:r;return w.useMemo(()=>i?Du(i,e):e,[e,i])}var XS=new Set;function Ra(e,...t){XS.has(e)||(XS.add(e),console.warn(e,...t))}function yL(e,t,n){let r=n?`, use ${n} instead`:"",i=`Deprecation warning: ${e} will be removed in version ${t}${r}.`;Ra(i)}var Fk=class{constructor(){R(this,"observers",new Set),R(this,"transactions",{})}add(e){this.observers.add(e);let t=!1;return()=>{t||(t=!0,this.remove(e))}}remove(e){this.observers.delete(e)}notify(e,t){if(t){let n=this.transactions[t]||e;n.value=e.value,this.transactions[t]=n}else this.callObservers(e)}finishTransaction(e){let t=this.transactions[e];return delete this.transactions[e],this.callObservers(t,e)}callObservers(e,t){let n=[];return new Set(this.observers).forEach(r=>{typeof r=="function"?r(e,t):(r.update(e,t),n.push(r.finish))}),n}},ot=(()=>{function e(t){return yL("Animatable()","2.0.0","the new animation API (https://www.framer.com/api/animation/)"),Bn(t)?t:new xL(t)}return e.transaction=t=>{let n=Math.random(),r=new Set;t((s,a)=>{s.set(a,n),r.add(s)},n);let o=[];r.forEach(s=>{o.push(...s.finishTransaction(n))}),o.forEach(s=>{s(n)})},e.getNumber=(t,n=0)=>e.get(t,n),e.get=(t,n)=>t==null?n:Bn(t)?t.get():t,e.objectToValues=t=>{if(!t)return t;let n={};for(let r in t){let i=t[r];Bn(i)?n[r]=i.get():n[r]=i}return n},e})(),YS="onUpdate",KS="finishTransaction";function Bn(e){return e!==null&&typeof e=="object"&&YS in e&&e[YS]instanceof Function&&KS in e&&e[KS]instanceof Function}function bL(e,t){return{interpolate(n,r){let i=n.get(),o=r.get(),s=ot(i);return a=>{let l=t.interpolate(i,o)(a);return s.set(l),s}},difference(n,r){let i=n.get();return t.difference(i,r.get())}}}var xL=class{constructor(e){this.value=e,R(this,"observers",new Fk)}static interpolationFor(e,t){if(Bn(e))return bL(e,t)}get(){return this.value}set(e,t){let n=this.value;Bn(e)&&(e=e.get()),this.value=e;let r={value:e,oldValue:n};this.observers.notify(r,t)}finishTransaction(e){return this.observers.finishTransaction(e)}onUpdate(e){return this.observers.add(e)}};function Yc(e,t){let r=10**Math.round(Math.abs(t));return Math.round(e*r)/r}function QS(e,t){return t===0?Math.round(e):(t-=t|0,t<0&&(t=1-t),Math.round(e-t)+t)}function un(e,t){return{x:e,y:t}}(e=>{e.add=(...i)=>i.reduce((o,s)=>({x:o.x+s.x,y:o.y+s.y}),{x:0,y:0}),e.subtract=(i,o)=>({x:i.x-o.x,y:i.y-o.y}),e.multiply=(i,o)=>({x:i.x*o,y:i.y*o}),e.divide=(i,o)=>({x:i.x/o,y:i.y/o}),e.absolute=i=>({x:Math.abs(i.x),y:Math.abs(i.y)}),e.reverse=i=>({x:i.x*-1,y:i.y*-1}),e.pixelAligned=(i,o={x:0,y:0})=>({x:QS(i.x,o.x),y:QS(i.y,o.y)}),e.distance=(i,o)=>{let s=Math.abs(i.x-o.x),a=Math.abs(i.y-o.y);return Math.sqrt(s*s+a*a)},e.angle=(i,o)=>Math.atan2(o.y-i.y,o.x-i.x)*180/Math.PI-90,e.angleFromX=(i,o)=>Math.atan2(o.y-i.y,o.x-i.x)*180/Math.PI,e.isEqual=(i,o)=>i.x===o.x&&i.y===o.y,e.rotationNormalizer=()=>{let i;return o=>{typeof i!="number"&&(i=o);let s=i-o,a=Math.abs(s)+180,l=Math.floor(a/360);return s<180&&(o-=l*360),s>180&&(o+=l*360),i=o,o}};function t(i,o){return{x:(i.x+o.x)/2,y:(i.y+o.y)/2}}e.center=t;function n(i){let o=0,s=0;i.forEach(c=>{o+=c.x,s+=c.y});let a=o/i.length,l=s/i.length;return{x:a,y:l}}e.centroid=n;function r(i){let o=e.centroid(i),s=new Map;for(let a=0;as.get(a)-s.get(l))}e.sortClockwise=r})(un||(un={}));var Cm={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};function ci(e,t,n,r=!1){let[i,o]=t,[s,a]=n,l=o-i;if(l===0)return(a+s)/2;let c=a-s;if(c===0)return s;let u=s+(e-i)/l*c;if(r===!0)if(sa)return a}else{if(u>s)return s;if(uK2().Hsluv)(),qt=new wL;function SL(e,t,n){return qt.rgb_r=e/255,qt.rgb_g=t/255,qt.rgb_b=n/255,qt.rgbToHsluv(),{h:qt.hsluv_h,s:qt.hsluv_s,l:qt.hsluv_l}}function kL(e,t,n,r=1){return qt.hsluv_h=e,qt.hsluv_s=t,qt.hsluv_l=n,qt.hsluvToRgb(),{r:qt.rgb_r*255,g:qt.rgb_g*255,b:qt.rgb_b*255,a:r}}function Kc(e,t,n,r){let i=Math.round(e),o=Math.round(t*100),s=Math.round(n*100);return r===void 0||r===1?"hsv("+i+", "+o+"%, "+s+"%)":"hsva("+i+", "+o+"%, "+s+"%, "+r+")"}function CL(e,t,n){return{r:Qo(e)?Bt(e,255)*255:0,g:Qo(t)?Bt(t,255)*255:0,b:Qo(n)?Bt(n,255)*255:0}}function ZS(e,t,n,r){let i=[em(Math.round(e).toString(16)),em(Math.round(t).toString(16)),em(Math.round(n).toString(16))];return r&&i[0].charAt(0)===i[0].charAt(1)&&i[1].charAt(0)===i[1].charAt(1)&&i[2].charAt(0)===i[2].charAt(1)?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0):i.join("")}function Hm(e,t,n){let r,i,o=Bt(e,255),s=Bt(t,255),a=Bt(n,255),l=Math.max(o,s,a),c=Math.min(o,s,a),u=i=r=(l+c)/2;if(l===c)u=i=0;else{let f=l-c;switch(i=r>.5?f/(2-l-c):f/(l+c),l){case o:u=(s-a)/f+(s1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function TL(e,t,n){let r,i,o;if(e=Bt(e,360),t=Bt(t*100,100),n=Bt(n*100,100),t===0)r=i=o=n;else{let s=n<.5?n*(1+t):n+t-n*t,a=2*n-s;r=Jp(a,s,e+1/3),i=Jp(a,s,e),o=Jp(a,s,e-1/3)}return{r:r*255,g:i*255,b:o*255}}function JS(e,t,n){e=Bt(e,255),t=Bt(t,255),n=Bt(n,255);let r=Math.max(e,t,n),i=Math.min(e,t,n),o=r-i,s,a=r===0?0:o/r,l=r;if(r===i)s=0;else{switch(r){case e:s=(t-n)/o+(t{let e="[-\\+]?\\d+%?",n="(?:"+"[-\\+]?\\d*\\.\\d+%?"+")|(?:"+e+")",r="[\\s|\\(]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")\\s*\\)?",i="[\\s|\\(]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")\\s*\\)?";return{rgb:new RegExp("rgb"+r),rgba:new RegExp("rgba"+i),hsl:new RegExp("hsl"+r),hsla:new RegExp("hsla"+i),hsv:new RegExp("hsv"+r),hsva:new RegExp("hsva"+i),hex3:/^([\da-f])([\da-f])([\da-f])$/iu,hex6:/^([\da-f]{2})([\da-f]{2})([\da-f]{2})$/iu,hex4:/^#?([\da-f])([\da-f])([\da-f])([\da-f])$/iu,hex8:/^#?([\da-f]{2})([\da-f]{2})([\da-f]{2})([\da-f]{2})$/iu}})();function Wm(e){if(e.includes("gradient(")||e.includes("var("))return!1;let t=/^[\s,#]+/u,n=e.replace(t,"").trimEnd().toLowerCase(),r=Cm[n];if(r&&(n=r),n==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};let i;return(i=ir.rgb.exec(n))?{r:parseInt(i[1]??""),g:parseInt(i[2]??""),b:parseInt(i[3]??""),a:1,format:"rgb"}:(i=ir.rgba.exec(n))?{r:parseInt(i[1]??""),g:parseInt(i[2]??""),b:parseInt(i[3]??""),a:parseFloat(i[4]??""),format:"rgb"}:(i=ir.hsl.exec(n))?{h:parseInt(i[1]??""),s:ui(i[2]??""),l:ui(i[3]??""),a:1,format:"hsl"}:(i=ir.hsla.exec(n))?{h:parseInt(i[1]??""),s:ui(i[2]??""),l:ui(i[3]??""),a:parseFloat(i[4]??""),format:"hsl"}:(i=ir.hsv.exec(n))?{h:parseInt(i[1]??""),s:ui(i[2]??""),v:ui(i[3]??""),a:1,format:"hsv"}:(i=ir.hsva.exec(n))?{h:parseInt(i[1]??""),s:ui(i[2]??""),v:ui(i[3]??""),a:parseFloat(i[4]??""),format:"hsv"}:(i=ir.hex8.exec(n))?{r:cn(i[1]??""),g:cn(i[2]??""),b:cn(i[3]??""),a:e1(i[4]??""),format:r?"name":"hex"}:(i=ir.hex6.exec(n))?{r:cn(i[1]??""),g:cn(i[2]??""),b:cn(i[3]??""),a:1,format:r?"name":"hex"}:(i=ir.hex4.exec(n))?{r:cn(`${i[1]}${i[1]}`),g:cn(`${i[2]}${i[2]}`),b:cn(`${i[3]}${i[3]}`),a:e1(i[4]+""+i[4]),format:r?"name":"hex"}:(i=ir.hex3.exec(n))?{r:cn(`${i[1]}${i[1]}`),g:cn(`${i[2]}${i[2]}`),b:cn(`${i[3]}${i[3]}`),a:1,format:r?"name":"hex"}:!1}function cn(e){return parseInt(e,16)}function e1(e){return cn(e)/255}var t1=new Map,Y=(()=>{function e(o,s,a,l){if(typeof o=="string"){let u=t1.get(o);return u||(u=t(o),u===void 0?{...e("black"),isValid:!1}:(t1.set(o,u),u))}let c=t(o,s,a,l);return c!==void 0?c:{...e("black"),isValid:!1}}function t(o,s,a,l){if(o==="")return;let c=PL(o,s,a,l);if(c){let u={r:c.r,g:c.g,b:c.b,a:c.a,h:c.h,s:c.s,l:c.l,initialValue:typeof o=="string"&&c.format!=="hsv"?o:void 0,roundA:Math.round(100*c.a)/100,format:c.format,mix:e.mix,toValue:()=>e.toRgbString(u)};return u}else return}let n={isRGB(o){return o==="rgb"||o==="rgba"},isHSL(o){return o==="hsl"||o==="hsla"}};e.inspect=(o,s)=>o.format==="hsl"?`<${o.constructor.name} h:${o.h} s:${o.s} l:${o.l} a:${o.a}>`:o.format==="hex"||o.format==="name"?`<${o.constructor.name} "${s}">`:`<${o.constructor.name} r:${o.r} g:${o.g} b:${o.b} a:${o.a}>`,e.isColor=o=>typeof o=="string"?e.isColorString(o):e.isColorObject(o),e.isColorString=o=>typeof o=="string"?Wm(o)!==!1:!1,e.isColorObject=o=>o&&typeof o!="string"&&typeof o.r=="number"&&typeof o.g=="number"&&typeof o.b=="number"&&typeof o.h=="number"&&typeof o.s=="number"&&typeof o.l=="number"&&typeof o.a=="number"&&typeof o.roundA=="number"&&typeof o.format=="string",e.toString=o=>e.toRgbString(o),e.toHex=(o,s=!1)=>ZS(o.r,o.g,o.b,s),e.toHexString=(o,s=!1)=>`#${e.toHex(o,s)}`,e.toRgbString=o=>o.a===1?"rgb("+Math.round(o.r)+", "+Math.round(o.g)+", "+Math.round(o.b)+")":"rgba("+Math.round(o.r)+", "+Math.round(o.g)+", "+Math.round(o.b)+", "+o.roundA+")",e.toHusl=o=>({...SL(o.r,o.g,o.b),a:o.roundA}),e.toHslString=o=>{let s=e.toHsl(o),a=Math.round(s.h),l=Math.round(s.s*100),c=Math.round(s.l*100);return o.a===1?"hsl("+a+", "+l+"%, "+c+"%)":"hsla("+a+", "+l+"%, "+c+"%, "+o.roundA+")"},e.toHsv=o=>{let s=JS(o.r,o.g,o.b);return{h:s.h*360,s:s.s,v:s.v,a:o.a}},e.toHsvString=o=>{let s=JS(o.r,o.g,o.b),a=Math.round(s.h*360),l=Math.round(s.s*100),c=Math.round(s.v*100);return o.a===1?"hsv("+a+", "+l+"%, "+c+"%)":"hsva("+a+", "+l+"%, "+c+"%, "+o.roundA+")"},e.toName=o=>{if(o.a===0)return"transparent";if(o.a<1)return!1;let s=ZS(o.r,o.g,o.b,!0);for(let a of Object.keys(Cm))if(Cm[a]===s)return a;return!1},e.toHsl=o=>({h:Math.round(o.h),s:o.s,l:o.l,a:o.a}),e.toRgb=o=>({r:Math.round(o.r),g:Math.round(o.g),b:Math.round(o.b),a:o.a}),e.brighten=(o,s=10)=>{let a=e.toRgb(o);return a.r=Math.max(0,Math.min(255,a.r-Math.round(255*-(s/100)))),a.g=Math.max(0,Math.min(255,a.g-Math.round(255*-(s/100)))),a.b=Math.max(0,Math.min(255,a.b-Math.round(255*-(s/100)))),e(a)},e.lighten=(o,s=10)=>{let a=e.toHsl(o);return a.l+=s/100,a.l=Math.min(1,Math.max(0,a.l)),e(a)},e.darken=(o,s=10)=>{let a=e.toHsl(o);return a.l-=s/100,a.l=Math.min(1,Math.max(0,a.l)),e(a)},e.saturate=(o,s=10)=>{let a=e.toHsl(o);return a.s+=s/100,a.s=Math.min(1,Math.max(0,a.s)),e(a)},e.desaturate=(o,s=10)=>{let a=e.toHsl(o);return a.s-=s/100,a.s=Math.min(1,Math.max(0,a.s)),e(a)},e.grayscale=o=>e.desaturate(o,100),e.hueRotate=(o,s)=>{let a=e.toHsl(o);return a.h+=s,a.h=a.h>360?a.h-360:a.h,e(a)},e.alpha=(o,s=1)=>e({r:o.r,g:o.g,b:o.b,a:s}),e.transparent=o=>e.alpha(o,0),e.multiplyAlpha=(o,s=1)=>e({r:o.r,g:o.g,b:o.b,a:o.a*s}),e.interpolate=(o,s,a="rgb")=>{if(!e.isColorObject(o)||!e.isColorObject(s))throw new TypeError("Both arguments for Color.interpolate must be Color objects");return l=>e.mixAsColor(o,s,l,!1,a)},e.mix=(o,s,{model:a="rgb"}={})=>{let l=typeof o=="string"?e(o):o,c=e.interpolate(l,s,a);return u=>e.toRgbString(c(u))},e.mixAsColor=(o,s,a=.5,l=!1,c="rgb")=>{let u=null;if(n.isRGB(c))u=e({r:ci(a,[0,1],[o.r,s.r],l),g:ci(a,[0,1],[o.g,s.g],l),b:ci(a,[0,1],[o.b,s.b],l),a:ci(a,[0,1],[o.a,s.a],l)});else{let f,d;n.isHSL(c)?(f=e.toHsl(o),d=e.toHsl(s)):(f=e.toHusl(o),d=e.toHusl(s)),f.s===0?f.h=d.h:d.s===0&&(d.h=f.h);let m=f.h,v=d.h,g=v-m;g>180?g=v-360-m:g<-180&&(g=v+360-m);let b={h:ci(a,[0,1],[m,m+g],l),s:ci(a,[0,1],[f.s,d.s],l),l:ci(a,[0,1],[f.l,d.l],l),a:ci(a,[0,1],[o.a,s.a],l)};n.isHSL(c)?u=e(b):u=e(kL(b.h,b.s,b.l,b.a))}return u},e.random=(o=1)=>{function s(){return Math.floor(Math.random()*255)}return e("rgba("+s()+", "+s()+", "+s()+", "+o+")")},e.grey=(o=.5,s=1)=>(o=Math.floor(o*255),e("rgba("+o+", "+o+", "+o+", "+s+")")),e.gray=e.grey,e.rgbToHsl=(o,s,a)=>Hm(o,s,a),e.isValidColorProperty=(o,s)=>!!((o.toLowerCase().slice(-5)==="color"||o==="fill"||o==="stroke")&&typeof s=="string"&&e.isColorString(s)),e.difference=(o,s)=>{let a=(o.r+s.r)/2,l=o.r-s.r,c=o.g-s.g,u=o.b-s.b,f=Math.pow(l,2),d=Math.pow(c,2),m=Math.pow(u,2);return Math.sqrt(2*f+4*d+3*m+a*(f-m)/256)},e.equal=(o,s,a=.1)=>!(Math.abs(o.r-s.r)>=a||Math.abs(o.g-s.g)>=a||Math.abs(o.b-s.b)>=a||Math.abs(o.a-s.a)*256>=a);let r=ho([0,255],[0,1]);function i(o){o=r(o);let s=Math.abs(o);return s<.04045?o/12.92:(Math.sign(o)||1)*Math.pow((s+.055)/1.055,2.4)}return e.luminance=o=>{let{r:s,g:a,b:l}=e.toRgb(o);return .2126*i(s)+.7152*i(a)+.0722*i(l)},e.contrast=(o,s)=>{let a=e.luminance(o),l=e.luminance(s);return(Math.max(a,l)+.05)/(Math.min(a,l)+.05)},e})();function PL(e,t,n,r=1){let i;return typeof e=="number"&&!Number.isNaN(e)&&typeof t=="number"&&!Number.isNaN(t)&&typeof n=="number"&&!Number.isNaN(n)?i=Rm({r:e,g:t,b:n,a:r}):typeof e=="string"?i=_L(e):typeof e=="object"&&(e.hasOwnProperty("r")&&e.hasOwnProperty("g")&&e.hasOwnProperty("b")?i=Rm(e):i=Pk(e)),i}function _L(e){let t=Wm(e);if(t)return t.format==="hsl"?Pk(t):t.format==="hsv"?IL(t):Rm(t)}function IL(e){let t=RL(e.h,e.s,e.v);return{...Hm(t.r,t.g,t.b),...t,format:"rgb",a:e.a!==void 0?_k(e.a):1}}function Rm(e){let t=CL(e.r,e.g,e.b);return{...Hm(t.r,t.g,t.b),...t,format:"rgb",a:e.a!==void 0?_k(e.a):1}}function Pk(e){let t,n,r,i={r:0,g:0,b:0},o={h:0,s:0,l:0};return t=Qo(e.h)?e.h:0,t=(t+360)%360,n=Qo(e.s)?e.s:1,typeof e.s=="string"&&(n=Tm(e.s)),r=Qo(e.l)?e.l:.5,typeof e.l=="string"&&(r=Tm(e.l)),i=TL(t,n,r),o={h:t,s:n,l:r},{...i,...o,a:e.a===void 0?1:e.a,format:"hsl"}}function _k(e){return e=parseFloat(e),e<0&&(e=0),(Number.isNaN(e)||e>1)&&(e=1),e}var n1=e=>e instanceof ml;var OL=(()=>Q2().EventEmitter)(),ML=class{constructor(){R(this,"_emitter",new OL)}eventNames(){return this._emitter.eventNames()}eventListeners(){let e={};for(let t of this._emitter.eventNames())e[t]=this._emitter.listeners(t);return e}on(e,t){this.addEventListener(e,t,!1,!1,this)}off(e,t){this.removeEventListeners(e,t)}once(e,t){this.addEventListener(e,t,!0,!1,this)}unique(e,t){this.addEventListener(e,t,!1,!0,this)}addEventListener(e,t,n,r,i){if(r){for(let o of this._emitter.eventNames())if(t===this._emitter.listeners(o))return}n===!0?this._emitter.once(e,t,i):this._emitter.addListener(e,t,i)}removeEventListeners(e,t){e?this._emitter.removeListener(e,t):this.removeAllEventListeners()}removeAllEventListeners(){this._emitter.removeAllListeners()}countEventListeners(e,t){if(e)return this._emitter.listeners(e).length;{let n=0;for(let r of this._emitter.eventNames())n+=this._emitter.listeners(r).length;return n}}emit(e,...t){this._emitter.emit(e,...t)}},LL={addEventListener:()=>{},removeEventListener:()=>{},dispatchEvent:()=>!1,ResizeObserver:void 0,onpointerdown:!1,onpointermove:!1,onpointerup:!1,ontouchstart:!1,ontouchmove:!1,ontouchend:!1,onmousedown:!1,onmousemove:!1,onmouseup:!1,devicePixelRatio:1,scrollX:0,scrollY:0,location:{href:""},document:{cookie:""},setTimeout:()=>0,clearTimeout:()=>{},setInterval:()=>0,clearInterval:()=>{},requestAnimationFrame:()=>0,cancelAnimationFrame:()=>{},requestIdleCallback:()=>0,getSelection:()=>null,matchMedia:e=>({matches:!1,media:e,onchange:()=>{},addEventListener:()=>{},removeEventListener:()=>{},addListener:()=>{},removeListener:()=>{},dispatchEvent:()=>!1}),innerHeight:0,innerWidth:0,SVGSVGElement:{},open:function(e,t,n){}},st=typeof P>"u"?LL:P,VL=e=>{setTimeout(e,1/60)},AL=(()=>st.requestAnimationFrame||VL)(),r1=e=>AL(e),va=(()=>1/60)(),DL=class extends ML{constructor(e=!1){super(),R(this,"_started",!1),R(this,"_frame",0),R(this,"_frameTasks",[]),R(this,"tick",()=>{this._started&&(r1(this.tick),this.emit("update",this._frame,va),this.emit("render",this._frame,va),this._processFrameTasks(),this._frame++)}),e&&this.start()}addFrameTask(e){this._frameTasks.push(e)}_processFrameTasks(){var e;let t=this._frameTasks,n=t.length;if(n!==0){for(let r=0;rEm.target,hasRestrictions:()=>{let e=Em.target;return e==="CANVAS"||e==="EXPORT"}};var Qc=e=>({correct:(t,{delta:n,treeScale:r})=>{if(typeof t=="string"&&(t=parseFloat(t)),t===0)return"0px";let i=t;return n&&r&&(i=Math.round(t/n[e].scale/r[e]),i=Math.max(i,1)),i+"px"}});vd({borderTopWidth:Qc("y"),borderLeftWidth:Qc("x"),borderRightWidth:Qc("x"),borderBottomWidth:Qc("y")});function D(e,...t){var n,r;if(e)return;let i=Error("Assertion Error"+(t.length>0?": "+t.join(" "):""));if(i.stack)try{let o=i.stack.split(` `);(n=o[1])!=null&&n.includes("assert")?(o.splice(1,1),i.stack=o.join(` `)):(r=o[0])!=null&&r.includes("assert")&&(o.splice(0,1),i.stack=o.join(` `))}catch{}throw i}function Se(e,t){throw t||new Error(e?`Unexpected value: ${e}`:"Application entered invalid state")}var Zo=w.createContext({getLayoutId:e=>null,persistLayoutIdCache:()=>{},top:!1,enabled:!0});function zL({children:e}){if(A(Zo).top)return C(nt,{children:e});let n=V({byId:{},byName:{},byLastId:{},byPossibleId:{},byLastName:{},byLayoutId:{},count:{byId:{},byName:{}}}),r=V({byId:{},byName:{},byLastId:{},byPossibleId:{},byLastName:{},byLayoutId:{}}),i=V(new Set).current,o=K(({id:l,name:c,duplicatedFrom:u})=>{if(!l)return null;let f=c?"byName":"byId",d=n.current[f][l];if(d)return d;let m=c||l;if(!u&&!i.has(m)&&(!n.current.byLayoutId[m]||n.current.byLayoutId[m]===m))return n.current.count[f][m]===void 0&&(n.current.count[f][m]=0,n.current.byLayoutId[m]=m,r.current[f][l]=m),i.add(m),m;let v;if(u?.length)for(let S=u.length-1;S>=0;S--){let T=u[S];D(!!T,"duplicatedId must be defined");let E=n.current[f][T],O=n.current.byLastId[T];if(O&&!v){let z=n.current.byLayoutId[O],N=!z||z===c;O&&!i.has(O)&&(!c||N)&&(v=[O,T])}let I=E?n.current.byLayoutId[E]:void 0,B=!I||I===c;if(E&&!i.has(E)&&(!c||B))return r.current[f][l]=E,r.current.byLastId[T]=E,i.add(E),E}let g=n.current.byLastId[l];if(g&&!i.has(g))return i.add(g),r.current.byId[l]=g,g;if(v){let[S,T]=v;return r.current[f][l]=S,r.current.byLastId[T]=S,i.add(S),S}let b=n.current.byPossibleId[l];if(b&&!i.has(b))return i.add(b),r.current.byId[l]=b,b;let p=u?.[0],h=c||p||l,y=(n.current.count[f][h]??-1)+1,{layoutId:x,value:k}=BL(h,y,i);if(n.current.count[f][h]=k,r.current[f][l]=x,u?.length&&!c){let S=u[u.length-1];if(S&&(r.current.byLastId[S]=x),u.length>1)for(let T=0;T{n.current={byId:{...n.current.byId,...r.current.byId},byLastId:{...n.current.byLastId,...r.current.byLastId},byPossibleId:{...n.current.byPossibleId,...r.current.byPossibleId},byName:{...n.current.byName,...r.current.byName},byLastName:{...n.current.byLastName,...r.current.byLastName},byLayoutId:{...n.current.byLayoutId,...r.current.byLayoutId},count:{...n.current.count,byName:{}}},r.current={byId:{},byName:{},byLastId:{},byPossibleId:{},byLastName:{},byLayoutId:{}},i.clear()},[]),a=V({getLayoutId:o,persistLayoutIdCache:s,top:!0,enabled:!0}).current;return C(Zo.Provider,{value:a,children:e})}function BL(e,t,n){let r=t,i=r?`${e}-${r}`:e;for(;n.has(i);)r++,i=`${e}-${r}`;return{layoutId:i,value:r}}function $L({enabled:e=!0,...t}){let n=A(Zo),r=se(()=>({...n,enabled:e}),[e]);return C(Zo.Provider,{...t,value:r})}function pt(e){let t=V(null);return t.current===null&&(t.current=e()),t.current}var NL={background:void 0,display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",lineHeight:"1.4em",textOverflow:"ellipsis",overflow:"hidden",minHeight:0,width:"100%",height:"100%"},jL=(()=>({...NL,border:"1px solid rgba(149, 149, 149, 0.15)",borderRadius:6,fontSize:"12px",backgroundColor:"rgba(149, 149, 149, 0.1)",color:"#a5a5a5"}))(),Ok={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",maxWidth:"100%",flexShrink:0,padding:"0 10px"},HL=(()=>({...Ok,fontWeight:500}))(),WL=(()=>({...Ok,whiteSpace:"pre",maxHeight:"calc(50% - calc(20px * var(--framerInternalCanvas-canvasPlaceholderContentScaleFactor, 1)))",WebkitMaskImage:"linear-gradient(to bottom, black 80%, transparent 100%)"}))();function hj(e){let{error:t,file:n}=e,r=n?`Error in ${UL(n)}`:"Error",i=t instanceof Error?t.message:""+t;return de("div",{style:jL,children:[C("div",{className:"text",style:HL,children:r}),i&&C("div",{className:"text",style:WL,children:i})]})}function UL(e){return e.startsWith("./")?e.replace("./",""):e}function ne(e){return Number.isFinite(e)}function GL(e){return!e||!Object.keys(e).length&&e.constructor===Object}function su(e){return typeof e!="string"&&typeof e!="number"}function au(e){return e!==null&&typeof e<"u"&&typeof e!="boolean"&&!GL(e)}function qL(e){return e*(Math.PI/180)}var En=(()=>{function e(t,n){return{a:t,b:n}}return e.offset=(t,n)=>{let r=un.angleFromX(t.a,t.b),i=qL(r),o=n*Math.sin(i),s=n*Math.cos(i);return e({x:t.a.x+o,y:t.a.y-s},{x:t.b.x+o,y:t.b.y-s})},e.intersection=(t,n,r)=>{let i=t.a.x,o=t.a.y,s=t.b.x,a=t.b.y,l=n.a.x,c=n.a.y,u=n.b.x,f=n.b.y,d=(u-l)*(c-o)-(f-c)*(l-i),m=(u-l)*(a-o)-(f-c)*(s-i),v=(s-i)*(c-o)-(a-o)*(l-i);if(d===0&&m===0||m===0)return null;let g=d/m,b=v/m;return r&&(g<0||g>1||b<0||b>1)?null:{x:i+g*(s-i),y:o+g*(a-o)}},e.intersectionAngle=(t,n)=>{let r=t.b.x-t.a.x,i=t.b.y-t.a.y,o=n.b.x-n.a.x,s=n.b.y-n.a.y;return Math.atan2(r*s-i*o,r*o+i*s)*(180/Math.PI)},e.isOrthogonal=t=>t.a.x===t.b.x||t.a.y===t.b.y,e.perpendicular=(t,n)=>{let r=t.a.x-t.b.x,i=t.a.y-t.b.y,o=un(n.x-i,n.y+r);return e(o,n)},e.projectPoint=(t,n)=>{let r=e.perpendicular(t,n);return e.intersection(t,r)},e.pointAtPercentDistance=(t,n)=>{let r=e.distance(t),i=n*r/r;return{x:i*t.b.x+(1-i)*t.a.x,y:i*t.b.y+(1-i)*t.a.y}},e.distance=t=>un.distance(t.a,t.b),e})(),te={equals:function(e,t){return e===t?!0:!e||!t?!1:e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height},atOrigin:e=>({...e,x:0,y:0}),fromTwoPoints:(e,t)=>({x:Math.min(e.x,t.x),y:Math.min(e.y,t.y),width:Math.abs(e.x-t.x),height:Math.abs(e.y-t.y)}),fromRect:e=>({x:e.left,y:e.top,width:e.right-e.left,height:e.bottom-e.top}),multiply:(e,t)=>({x:e.x*t,y:e.y*t,width:e.width*t,height:e.height*t}),divide:(e,t)=>te.multiply(e,1/t),offset:(e,t)=>{let n=typeof t.x=="number"?t.x:0,r=typeof t.y=="number"?t.y:0;return{...e,x:e.x+n,y:e.y+r}},inflate:(e,t)=>{if(t===0)return e;let n=2*t;return{x:e.x-t,y:e.y-t,width:e.width+n,height:e.height+n}},pixelAligned:e=>{let t=Math.round(e.x),n=Math.round(e.y),r=Math.round(e.x+e.width),i=Math.round(e.y+e.height),o=Math.max(r-t,0),s=Math.max(i-n,0);return{x:t,y:n,width:o,height:s}},halfPixelAligned:e=>{let t=Math.round(e.x*2)/2,n=Math.round(e.y*2)/2,r=Math.round((e.x+e.width)*2)/2,i=Math.round((e.y+e.height)*2)/2,o=Math.max(r-t,1),s=Math.max(i-n,1);return{x:t,y:n,width:o,height:s}},round:(e,t=0)=>{let n=Yc(e.x,t),r=Yc(e.y,t),i=Yc(e.width,t),o=Yc(e.height,t);return{x:n,y:r,width:i,height:o}},roundToOutside:e=>{let t=Math.floor(e.x),n=Math.floor(e.y),r=Math.ceil(e.x+e.width),i=Math.ceil(e.y+e.height),o=Math.max(r-t,0),s=Math.max(i-n,0);return{x:t,y:n,width:o,height:s}},minX:e=>e.x,maxX:e=>e.x+e.width,minY:e=>e.y,maxY:e=>e.y+e.height,positions:e=>({minX:e.x,midX:e.x+e.width/2,maxX:te.maxX(e),minY:e.y,midY:e.y+e.height/2,maxY:te.maxY(e)}),center:e=>({x:e.x+e.width/2,y:e.y+e.height/2}),boundingRectFromPoints:e=>{let t=1/0,n=-1/0,r=1/0,i=-1/0;for(let o=0;o{let[t,n,r,i]=e,{x:o,y:s}=t,a=un.distance(t,n),l=un.distance(t,i);return{x:o,y:s,width:a,height:l}},merge:(...e)=>{let t={x:Math.min(...e.map(te.minX)),y:Math.min(...e.map(te.minY))},n={x:Math.max(...e.map(te.maxX)),y:Math.max(...e.map(te.maxY))};return te.fromTwoPoints(t,n)},intersection:(e,t)=>{let n=Math.max(e.x,t.x),r=Math.min(e.x+e.width,t.x+t.width),i=Math.max(e.y,t.y),o=Math.min(e.y+e.height,t.y+t.height);return{x:n,y:i,width:r-n,height:o-i}},points:e=>[{x:te.minX(e),y:te.minY(e)},{x:te.minX(e),y:te.maxY(e)},{x:te.maxX(e),y:te.minY(e)},{x:te.maxX(e),y:te.maxY(e)}],pointsAtOrigin:e=>[{x:0,y:0},{x:e.width,y:0},{x:e.width,y:e.height},{x:0,y:e.height}],transform:(e,t)=>{let{x:n,y:r}=t.transformPoint({x:e.x,y:e.y}),{x:i,y:o}=t.transformPoint({x:e.x+e.width,y:e.y}),{x:s,y:a}=t.transformPoint({x:e.x+e.width,y:e.y+e.height}),{x:l,y:c}=t.transformPoint({x:e.x,y:e.y+e.height}),u=Math.min(n,i,s,l),f=Math.max(n,i,s,l)-u,d=Math.min(r,o,a,c),m=Math.max(r,o,a,c)-d;return{x:u,y:d,width:f,height:m}},containsPoint:(e,t)=>!(t.xte.maxX(e)||t.yte.maxY(e)||Number.isNaN(e.x)||Number.isNaN(e.y)),containsRect:(e,t)=>{for(let n of te.points(t))if(!te.containsPoint(e,n))return!1;return!0},toCSS:e=>({display:"block",transform:`translate(${e.x}px, ${e.y}px)`,width:`${e.width}px`,height:`${e.height}px`}),inset:(e,t)=>({x:e.x+t,y:e.y+t,width:Math.max(0,e.width-2*t),height:Math.max(0,e.height-2*t)}),intersects:(e,t)=>!(t.x>=te.maxX(e)||te.maxX(t)<=e.x||t.y>=te.maxY(e)||te.maxY(t)<=e.y),overlapHorizontally:(e,t)=>{let n=te.maxX(e),r=te.maxX(t);return n>t.x&&r>e.x},overlapVertically:(e,t)=>{let n=te.maxY(e),r=te.maxY(t);return n>t.y&&r>e.y},doesNotIntersect:(e,t)=>t.find(n=>te.intersects(n,e))===void 0,isEqual:(e,t)=>te.equals(e,t),cornerPoints:e=>{let t=e.x,n=e.x+e.width,r=e.y,i=e.y+e.height;return[{x:t,y:r},{x:n,y:r},{x:n,y:i},{x:t,y:i}]},midPoints:e=>{let t=e.x,n=e.x+e.width/2,r=e.x+e.width,i=e.y,o=e.y+e.height/2,s=e.y+e.height;return[{x:n,y:i},{x:r,y:o},{x:n,y:s},{x:t,y:o}]},pointDistance:(e,t)=>{let n=0,r=0;return t.xte.maxX(e)&&(n=t.x-te.maxX(e)),t.yte.maxY(e)&&(r=t.y-te.maxY(e)),un.distance({x:n,y:r},{x:0,y:0})},fromAny:(e,t={x:0,y:0,width:0,height:0})=>({x:e.x||t.x,y:e.y||t.y,width:e.width||t.width,height:e.height||t.height}),delta:(e,t)=>{let n={x:te.minX(e),y:te.minY(e)},r={x:te.minX(t),y:te.minY(t)};return{x:n.x-r.x,y:n.y-r.y}},withMinSize:(e,t)=>{let{width:n,height:r}=t,i=e.width-n,o=e.height-r;return{width:Math.max(e.width,n),height:Math.max(e.height,r),x:e.width{let n=te.minX(e),r=te.minY(e),i=te.maxX(e),o=te.maxY(e);for(let s of t)if(s.xi||s.yo)return!0;return!1},edges:e=>{let[t,n,r,i]=te.cornerPoints(e);return[En(t,n),En(n,r),En(r,i),En(i,t)]},rebaseRectOnto:(e,t,n,r)=>{let i={...e};switch(n){case"bottom":case"top":switch(r){case"start":i.x=t.x;break;case"center":i.x=t.x+t.width/2-e.width/2;break;case"end":i.x=t.x+t.width-e.width;break;default:Se(r)}break;case"left":i.x=t.x-e.width;break;case"right":i.x=t.x+t.width;break;default:Se(n)}switch(n){case"left":case"right":switch(r){case"start":i.y=t.y;break;case"center":i.y=t.y+t.height/2-e.height/2;break;case"end":i.y=t.y+t.height-e.height;break;default:Se(r)}break;case"top":i.y=t.y-e.height;break;case"bottom":i.y=t.y+t.height;break;default:Se(n)}return i}};var Mk={quickfix:e=>((e.widthType===2||e.heightType===2)&&(e.aspectRatio=null),ne(e.aspectRatio)&&(e.left&&e.right&&(e.widthType=0),e.top&&e.bottom&&(e.heightType=0),e.left&&e.right&&e.top&&e.bottom&&(e.bottom=!1),e.widthType!==0&&e.heightType!==0&&(e.heightType=0)),e.left&&e.right&&((e.fixedSize||e.widthType===2||ne(e.maxWidth))&&(e.right=!1),e.widthType=0),e.top&&e.bottom&&((e.fixedSize||e.heightType===2||ne(e.maxHeight))&&(e.bottom=!1),e.heightType=0),e)};function gu(e){if(typeof e=="string"){let t=e.trim();if(t==="auto")return 2;if(t.endsWith("fr"))return 3;if(t.endsWith("%"))return 1;if(t.endsWith("vw")||t.endsWith("vh"))return 4}return 0}var Lk={fromProperties:e=>{let{left:t,right:n,top:r,bottom:i,width:o,height:s,centerX:a,centerY:l,aspectRatio:c,autoSize:u}=e,f=Mk.quickfix({left:ne(t)||Bn(t),right:ne(n)||Bn(n),top:ne(r)||Bn(r),bottom:ne(i)||Bn(i),widthType:gu(o),heightType:gu(s),aspectRatio:c||null,fixedSize:u===!0}),d=null,m=null,v=0,g=0;if(f.widthType!==0&&typeof o=="string"){let h=parseFloat(o);o.endsWith("fr")?(v=3,d=h):o==="auto"?v=2:(v=1,d=h/100)}else o!==void 0&&typeof o!="string"&&(d=ot.getNumber(o));if(f.heightType!==0&&typeof s=="string"){let h=parseFloat(s);s.endsWith("fr")?(g=3,m=h):s==="auto"?g=2:(g=1,m=parseFloat(s)/100)}else s!==void 0&&typeof s!="string"&&(m=ot.getNumber(s));let b=.5,p=.5;return a&&(b=parseFloat(a)/100),l&&(p=parseFloat(l)/100),{left:f.left?ot.getNumber(t):null,right:f.right?ot.getNumber(n):null,top:f.top?ot.getNumber(r):null,bottom:f.bottom?ot.getNumber(i):null,widthType:v,heightType:g,width:d,height:m,aspectRatio:f.aspectRatio||null,centerAnchorX:b,centerAnchorY:p}},toSize:(e,t,n,r)=>{let i=null,o=null,s=t?.sizing?ot.getNumber(t?.sizing.width):null,a=t?.sizing?ot.getNumber(t?.sizing.height):null,l=i1(e.left,e.right);if(s&&ne(l))i=s-l;else if(n&&e.widthType===2)i=n.width;else if(ne(e.width))switch(e.widthType){case 0:i=e.width;break;case 3:i=r?r.freeSpaceInParent.width/r.freeSpaceUnitDivisor.width*e.width:null;break;case 1:case 4:s&&(i=s*e.width);break;case 2:break;default:Se(e.widthType)}let c=i1(e.top,e.bottom);if(a&&ne(c))o=a-c;else if(n&&e.heightType===2)o=n.height;else if(ne(e.height))switch(e.heightType){case 0:o=e.height;break;case 3:o=r?r.freeSpaceInParent.height/r.freeSpaceUnitDivisor.height*e.height:null;break;case 1:case 4:a&&(o=a*e.height);break;case 2:break;default:Se(e.heightType)}return JL(i,o,e,{height:a??0,width:s??0},t?.viewport)},toRect:(e,t=null,n=null,r=!1,i=null)=>{let o=e.left||0,s=e.top||0,{width:a,height:l}=Lk.toSize(e,t,n,i),c=t?.positioning??null,u=c?ot.getNumber(c.width):null,f=c?ot.getNumber(c.height):null;e.left!==null?o=e.left:u&&e.right!==null?o=u-e.right-a:u&&(o=e.centerAnchorX*u-a/2),e.top!==null?s=e.top:f&&e.bottom!==null?s=f-e.bottom-l:f&&(s=e.centerAnchorY*f-l/2);let d={x:o,y:s,width:a,height:l};return r?te.pixelAligned(d):d}},XL=200,YL=200;function vu(e,t,n,r){if(typeof t=="string"){if(t.endsWith("%")&&n)switch(e){case"maxWidth":case"minWidth":return parseFloat(t)/100*n.width;case"maxHeight":case"minHeight":return parseFloat(t)/100*n.height;default:break}if(t.endsWith("vh")){if(!r)return KL(e);switch(e){case"maxWidth":case"minWidth":return parseFloat(t)/100*r.width;case"maxHeight":case"minHeight":return parseFloat(t)/100*r.height;default:break}}return parseFloat(t)}return t}function KL(e){switch(e){case"minWidth":case"minHeight":return Number.NEGATIVE_INFINITY;case"maxWidth":case"maxHeight":return Number.POSITIVE_INFINITY;default:Se(e,"unknown constraint key")}}function QL(e,t,n,r){return t.minHeight&&(e=Math.max(vu("minHeight",t.minHeight,n,r),e)),t.maxHeight&&(e=Math.min(vu("maxHeight",t.maxHeight,n,r),e)),e}function ZL(e,t,n,r){return t.minWidth&&(e=Math.max(vu("minWidth",t.minWidth,n,r),e)),t.maxWidth&&(e=Math.min(vu("maxWidth",t.maxWidth,n,r),e)),e}function JL(e,t,n,r,i){let o=ZL(ne(e)?e:XL,n,r,i),s=QL(ne(t)?t:YL,n,r,i);return ne(n.aspectRatio)&&n.aspectRatio>0&&(ne(n.left)&&ne(n.right)?s=o/n.aspectRatio:ne(n.top)&&ne(n.bottom)?o=s*n.aspectRatio:n.widthType!==0?s=o/n.aspectRatio:o=s*n.aspectRatio),{width:o,height:s}}function i1(e,t){return!ne(e)||!ne(t)?null:e+t}function eV(e){return typeof e.right=="string"||typeof e.bottom=="string"||typeof e.left=="string"&&(!e.center||e.center==="y")||typeof e.top=="string"&&(!e.center||e.center==="x")}function Ma(e){return!e._constraints||eV(e)?!1:e._constraints.enabled}function tV(e){let{size:t}=e,{width:n,height:r}=e;return ne(t)&&(n===void 0&&(n=t),r===void 0&&(r=t)),ne(n)&&ne(r)?{width:n,height:r}:null}function nV(e){let t=tV(e);if(t===null)return null;let{left:n,top:r}=e;return ne(n)&&ne(r)?{x:n,y:r,...t}:null}function Ea(e,t,n=!0){if(e.positionFixed||e.positionAbsolute)return null;let r=t===1||t===2;if(!Ma(e)||r)return nV(e);let i=rV(e),o=iV(t),s=o?{sizing:o,positioning:o,viewport:null}:null;return Lk.toRect(i,s,null,n,null)}function rV(e){let{left:t,right:n,top:r,bottom:i,center:o,_constraints:s,size:a}=e,{width:l,height:c}=e;l===void 0&&(l=a),c===void 0&&(c=a);let{aspectRatio:u,autoSize:f}=s,d=Mk.quickfix({left:ne(t),right:ne(n),top:ne(r),bottom:ne(i),widthType:gu(l),heightType:gu(c),aspectRatio:u||null,fixedSize:f===!0}),m=null,v=null,g=0,b=0;if(d.widthType!==0&&typeof l=="string"){let y=parseFloat(l);l.endsWith("fr")?(g=3,m=y):l==="auto"?g=2:(g=1,m=y/100)}else l!==void 0&&typeof l!="string"&&(m=l);if(d.heightType!==0&&typeof c=="string"){let y=parseFloat(c);c.endsWith("fr")?(b=3,v=y):c==="auto"?b=2:(b=1,v=parseFloat(c)/100)}else c!==void 0&&typeof c!="string"&&(v=c);let p=.5,h=.5;return(o===!0||o==="x")&&(d.left=!1,typeof t=="string"&&(p=parseFloat(t)/100)),(o===!0||o==="y")&&(d.top=!1,typeof r=="string"&&(h=parseFloat(r)/100)),{left:d.left?t:null,right:d.right?n:null,top:d.top?r:null,bottom:d.bottom?i:null,widthType:g,heightType:b,width:m,height:v,aspectRatio:d.aspectRatio||null,centerAnchorX:p,centerAnchorY:h,minHeight:e.minHeight,maxHeight:e.maxHeight,minWidth:e.minWidth,maxWidth:e.maxWidth}}var Vk=w.createContext({parentSize:0});function iV(e){return e===0||e===1||e===2?null:e}function La(){return w.useContext(Vk).parentSize}function Ak(e){return typeof e=="object"}var oV=e=>{let t=La(),{parentSize:n,children:r}=e,i=w.useMemo(()=>({parentSize:n}),[sV(n),aV(n)]);return t===1?r?C(nt,{children:r}):null:C(Vk.Provider,{value:i,children:r})};function sV(e){return Ak(e)?e.width:e}function aV(e){return Ak(e)?e.height:e}function lV(e,t){return C(oV,{parentSize:t,children:e})}function cV(e){let t=La();return Ea(e,t,!0)}function Dk({width:e,height:t}){return e==="auto"||e==="min-content"||t==="auto"||t==="min-content"}var uV=(e=>(e.Boolean="boolean",e.Number="number",e.String="string",e.RichText="richtext",e.FusedNumber="fusednumber",e.Enum="enum",e.SegmentedEnum="segmentedenum",e.Color="color",e.Image="image",e.ResponsiveImage="responsiveimage",e.File="file",e.ComponentInstance="componentinstance",e.Array="array",e.EventHandler="eventhandler",e.Transition="transition",e.BoxShadow="boxshadow",e.Link="link",e.Date="date",e.Object="object",e.Font="font",e.PageScope="pagescope",e.ScrollSectionRef="scrollsectionref",e.CustomCursor="customcursor",e.Border="border",e.Cursor="cursor",e.Padding="padding",e.BorderRadius="borderradius",e.CollectionReference="collectionreference",e.MultiCollectionReference="multicollectionreference",e))(uV||{}),tm;function fV(){if(tm!==void 0)return tm;let e=document.createElement("div");Object.assign(e.style,{position:"absolute",display:"flex",flexDirection:"column",rowGap:"1px"}),e.appendChild(document.createElement("div")),e.appendChild(document.createElement("div")),document.body.appendChild(e);let t=e.scrollHeight===1;return e.parentNode&&e.parentNode.removeChild(e),tm=t,t}var qi="flexbox-gap-not-supported",o1=!1;function yj(){o1||(o1=!0,!fV()&&document.body.classList.add(qi))}var dV=` [data-framer-component-type="DeprecatedRichText"] p, [data-framer-component-type="DeprecatedRichText"] div, [data-framer-component-type="DeprecatedRichText"] h1, [data-framer-component-type="DeprecatedRichText"] h2, [data-framer-component-type="DeprecatedRichText"] h3, [data-framer-component-type="DeprecatedRichText"] h4, [data-framer-component-type="DeprecatedRichText"] h5, [data-framer-component-type="DeprecatedRichText"] h6, [data-framer-component-type="DeprecatedRichText"] li, [data-framer-component-type="DeprecatedRichText"] ol, [data-framer-component-type="DeprecatedRichText"] ul, [data-framer-component-type="DeprecatedRichText"] span:not([data-text-fill]) { font-family: var(--framer-font-family, Inter, Inter Placeholder, sans-serif); font-style: var(--framer-font-style, normal); font-weight: var(--framer-font-weight, 400); color: var(--framer-text-color, #000); font-size: var(--framer-font-size, 16px); letter-spacing: var(--framer-letter-spacing, 0); text-transform: var(--framer-text-transform, none); text-decoration: var(--framer-text-decoration, none); line-height: var(--framer-line-height, 1.2em); text-align: var(--framer-text-alignment, start); } `,hV=` [data-framer-component-type="DeprecatedRichText"] p:not(:first-child), [data-framer-component-type="DeprecatedRichText"] div:not(:first-child), [data-framer-component-type="DeprecatedRichText"] h1:not(:first-child), [data-framer-component-type="DeprecatedRichText"] h2:not(:first-child), [data-framer-component-type="DeprecatedRichText"] h3:not(:first-child), [data-framer-component-type="DeprecatedRichText"] h4:not(:first-child), [data-framer-component-type="DeprecatedRichText"] h5:not(:first-child), [data-framer-component-type="DeprecatedRichText"] h6:not(:first-child), [data-framer-component-type="DeprecatedRichText"] ol:not(:first-child), [data-framer-component-type="DeprecatedRichText"] ul:not(:first-child), [data-framer-component-type="DeprecatedRichText"] .framer-image:not(:first-child) { margin-top: var(--framer-paragraph-spacing, 0); } `,pV=` [data-framer-component-type="DeprecatedRichText"] span[data-text-fill] { display: inline-block; background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; } `,mV=` [data-framer-component-type="DeprecatedRichText"] a, [data-framer-component-type="DeprecatedRichText"] a span:not([data-text-fill]) { font-family: var(--framer-link-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif)); font-style: var(--framer-link-font-style, var(--framer-font-style, normal)); font-weight: var(--framer-link-font-weight, var(--framer-font-weight, 400)); color: var(--framer-link-text-color, var(--framer-text-color, #000)); font-size: var(--framer-link-font-size, var(--framer-font-size, 16px)); text-transform: var(--framer-link-text-transform, var(--framer-text-transform, none)); text-decoration: var(--framer-link-text-decoration, var(--framer-text-decoration, none)); } `,gV=` [data-framer-component-type="DeprecatedRichText"] a:hover, [data-framer-component-type="DeprecatedRichText"] a:hover span:not([data-text-fill]) { font-family: var(--framer-link-hover-font-family, var(--framer-link-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif))); font-style: var(--framer-link-hover-font-style, var(--framer-link-font-style, var(--framer-font-style, normal))); font-weight: var(--framer-link-hover-font-weight, var(--framer-link-font-weight, var(--framer-font-weight, 400))); color: var(--framer-link-hover-text-color, var(--framer-link-text-color, var(--framer-text-color, #000))); font-size: var(--framer-link-hover-font-size, var(--framer-link-font-size, var(--framer-font-size, 16px))); text-transform: var(--framer-link-hover-text-transform, var(--framer-link-text-transform, var(--framer-text-transform, none))); text-decoration: var(--framer-link-hover-text-decoration, var(--framer-link-text-decoration, var(--framer-text-decoration, none))); } `,vV=` [data-framer-component-type="DeprecatedRichText"] a[data-framer-page-link-current], [data-framer-component-type="DeprecatedRichText"] a[data-framer-page-link-current] span:not([data-text-fill]):not([data-nested-link]) { font-family: var(--framer-link-current-font-family, var(--framer-link-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif))); font-style: var(--framer-link-current-font-style, var(--framer-link-font-style, var(--framer-font-style, normal))); font-weight: var(--framer-link-current-font-weight, var(--framer-link-font-weight, var(--framer-font-weight, 400))); color: var(--framer-link-current-text-color, var(--framer-link-text-color, var(--framer-text-color, #000))); font-size: var(--framer-link-current-font-size, var(--framer-link-font-size, var(--framer-font-size, 16px))); text-transform: var(--framer-link-current-text-transform, var(--framer-link-text-transform, var(--framer-text-transform, none))); text-decoration: var(--framer-link-current-text-decoration, var(--framer-link-text-decoration, var(--framer-text-decoration, none))); } `,yV=` [data-framer-component-type="DeprecatedRichText"] a[data-framer-page-link-current]:hover, [data-framer-component-type="DeprecatedRichText"] a[data-framer-page-link-current]:hover span:not([data-text-fill]):not([data-nested-link]) { font-family: var(--framer-link-hover-font-family, var(--framer-link-current-font-family, var(--framer-link-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif)))); font-style: var(--framer-link-hover-font-style, var(--framer-link-current-font-style, var(--framer-link-font-style, var(--framer-font-style, normal)))); font-weight: var(--framer-link-hover-font-weight, var(--framer-link-current-font-weight, var(--framer-link-font-weight, var(--framer-font-weight, 400)))); color: var(--framer-link-hover-text-color, var(--framer-link-current-text-color, var(--framer-link-text-color, var(--framer-text-color, #000)))); font-size: var(--framer-link-hover-font-size, var(--framer-link-current-font-size, var(--framer-link-font-size, var(--framer-font-size, 16px)))); text-transform: var(--framer-link-hover-text-transform, var(--framer-link-current-text-transform, var(--framer-link-text-transform, var(--framer-text-transform, none)))); text-decoration: var(--framer-link-hover-text-decoration, var(--framer-link-current-text-decoration, var(--framer-link-text-decoration, var(--framer-text-decoration, none)))); } `,bV=` [data-framer-component-type="DeprecatedRichText"] strong { font-weight: bolder; } `,xV=` [data-framer-component-type="DeprecatedRichText"] em { font-style: italic; } `,wV=` [data-framer-component-type="DeprecatedRichText"] .framer-image { display: block; max-width: 100%; height: auto; } `,SV=` [data-framer-component-type="DeprecatedRichText"] p, [data-framer-component-type="DeprecatedRichText"] div, [data-framer-component-type="DeprecatedRichText"] h1, [data-framer-component-type="DeprecatedRichText"] h2, [data-framer-component-type="DeprecatedRichText"] h3, [data-framer-component-type="DeprecatedRichText"] h4, [data-framer-component-type="DeprecatedRichText"] h5, [data-framer-component-type="DeprecatedRichText"] h6 { margin: 0; padding: 0; } `,kV=` [data-framer-component-type="DeprecatedRichText"] .text-styles-preset-reset { --framer-font-family: Inter, Inter Placeholder, sans-serif; --framer-font-style: normal; --framer-font-weight: 500; --framer-text-color: #000; --framer-font-size: 16px; --framer-letter-spacing: 0; --framer-text-transform: none; --framer-text-decoration: none; --framer-line-height: 1.2em; --framer-text-alignment: start; --framer-font-open-type-features: normal; --font-variation-settings: normal; } `,CV=` [data-framer-component-type="DeprecatedRichText"] ul, [data-framer-component-type="DeprecatedRichText"] ol { display: table; width: 100%; padding-left: 0; margin: 0; } `,TV=` [data-framer-component-type="DeprecatedRichText"] li { display: table-row; counter-increment: list-item; list-style: none; } `,RV=` [data-framer-component-type="DeprecatedRichText"] ol > li::before { display: table-cell; width: 2.25ch; box-sizing: border-box; padding-right: 0.75ch; content: counter(list-item) "."; white-space: nowrap; } `,EV=` [data-framer-component-type="DeprecatedRichText"] ul > li::before { display: table-cell; width: 2.25ch; box-sizing: border-box; padding-right: 0.75ch; content: "\u2022"; } `,FV=['[data-framer-component-type="DeprecatedRichText"] { cursor: inherit; }',kV,SV,dV,hV,pV,mV,gV,vV,yV,bV,xV,wV,CV,TV,RV,EV],PV=[` p.framer-text, div.framer-text, h1.framer-text, h2.framer-text, h3.framer-text, h4.framer-text, h5.framer-text, h6.framer-text, ol.framer-text, ul.framer-text { margin: 0; padding: 0; } `,` p.framer-text, div.framer-text, h1.framer-text, h2.framer-text, h3.framer-text, h4.framer-text, h5.framer-text, h6.framer-text, li.framer-text, ol.framer-text, ul.framer-text, span.framer-text:not([data-text-fill]) { font-family: var(--framer-blockquote-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif)); font-style: var(--framer-blockquote-font-style, var(--framer-font-style, normal)); font-weight: var(--framer-blockquote-font-weight, var(--framer-font-weight, 400)); color: var(--framer-blockquote-text-color, var(--framer-text-color, #000)); font-size: calc(var(--framer-blockquote-font-size, var(--framer-font-size, 16px)) * var(--framer-font-size-scale, 1)); letter-spacing: var(--framer-blockquote-letter-spacing, var(--framer-letter-spacing, 0)); text-transform: var(--framer-blockquote-text-transform, var(--framer-text-transform, none)); text-decoration: var(--framer-blockquote-text-decoration, var(--framer-text-decoration, none)); line-height: var(--framer-blockquote-line-height, var(--framer-line-height, 1.2em)); text-align: var(--framer-blockquote-text-alignment, var(--framer-text-alignment, start)); -webkit-text-stroke-width: var(--framer-text-stroke-width, initial); -webkit-text-stroke-color: var(--framer-text-stroke-color, initial); -moz-font-feature-settings: var(--framer-font-open-type-features, initial); -webkit-font-feature-settings: var(--framer-font-open-type-features, initial); font-feature-settings: var(--framer-font-open-type-features, initial); font-variation-settings: var(--framer-font-variation-axes, normal); text-wrap: var(--framer-text-wrap-override, var(--framer-text-wrap)); } `,` .framer-fit-text .framer-text { white-space: nowrap; white-space-collapse: preserve; } `,` strong.framer-text { font-family: var(--framer-blockquote-font-family-bold, var(--framer-font-family-bold)); font-style: var(--framer-blockquote-font-style-bold, var(--framer-font-style-bold)); font-weight: var(--framer-blockquote-font-weight-bold, var(--framer-font-weight-bold, bolder)); font-variation-settings: var(--framer-blockquote-font-variation-axes-bold, var(--framer-font-variation-axes-bold)); } `,` em.framer-text { font-family: var(--framer-blockquote-font-family-italic, var(--framer-font-family-italic)); font-style: var(--framer-blockquote-font-style-italic, var(--framer-font-style-italic, italic)); font-weight: var(--framer-blockquote-font-weight-italic, var(--framer-font-weight-italic)); font-variation-settings: var(--framer-blockquote-font-variation-axes-italic, var(--framer-font-variation-axes-italic)); } `,` em.framer-text > strong.framer-text { font-family: var(--framer-blockquote-font-family-bold-italic, var(--framer-font-family-bold-italic)); font-style: var(--framer-blockquote-font-style-bold-italic, var(--framer-font-style-bold-italic, italic)); font-weight: var(--framer-blockquote-font-weight-bold-italic, var(--framer-font-weight-bold-italic, bolder)); font-variation-settings: var(--framer-blockquote-font-variation-axes-bold-italic, var(--framer-font-variation-axes-bold-italic)); } `,` p.framer-text:not(:first-child), div.framer-text:not(:first-child), h1.framer-text:not(:first-child), h2.framer-text:not(:first-child), h3.framer-text:not(:first-child), h4.framer-text:not(:first-child), h5.framer-text:not(:first-child), h6.framer-text:not(:first-child), ol.framer-text:not(:first-child), ul.framer-text:not(:first-child), blockquote.framer-text:not(:first-child), .framer-image.framer-text:not(:first-child) { margin-top: var(--framer-blockquote-paragraph-spacing, var(--framer-paragraph-spacing, 0)); } `,` li.framer-text > ul.framer-text:nth-child(2), li.framer-text > ol.framer-text:nth-child(2) { margin-top: 0; } `,` .framer-text[data-text-fill] { display: inline-block; background-clip: text; -webkit-background-clip: text; /* make this a transparent color if you want to visualise the clipping */ -webkit-text-fill-color: transparent; padding: max(0em, calc(calc(1.3em - var(--framer-blockquote-line-height, var(--framer-line-height, 1.3em))) / 2)); margin: min(0em, calc(calc(1.3em - var(--framer-blockquote-line-height, var(--framer-line-height, 1.3em))) / -2)); } `,` code.framer-text, code.framer-text span.framer-text:not([data-text-fill]) { font-family: var(--framer-code-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif)); font-style: var(--framer-blockquote-font-style, var(--framer-code-font-style, var(--framer-font-style, normal))); font-weight: var(--framer-blockquote-font-weight, var(--framer-code-font-weight, var(--framer-font-weight, 400))); color: var(--framer-blockquote-text-color, var(--framer-code-text-color, var(--framer-text-color, #000))); font-size: calc(var(--framer-blockquote-font-size, var(--framer-font-size, 16px)) * var(--framer-font-size-scale, 1)); letter-spacing: var(--framer-blockquote-letter-spacing, var(--framer-letter-spacing, 0)); line-height: var(--framer-blockquote-line-height, var(--framer-line-height, 1.2em)); } `,` blockquote.framer-text { margin-block-start: initial; margin-block-end: initial; margin-inline-start: initial; margin-inline-end: initial; unicode-bidi: initial; } `,` a.framer-text, a.framer-text span.framer-text:not([data-text-fill]), span.framer-text[data-nested-link], span.framer-text[data-nested-link] span.framer-text:not([data-text-fill]) { font-family: var(--framer-blockquote-font-family, var(--framer-link-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif))); font-style: var(--framer-blockquote-font-style, var(--framer-link-font-style, var(--framer-font-style, normal))); font-weight: var(--framer-blockquote-font-weight, var(--framer-link-font-weight, var(--framer-font-weight, 400))); color: var(--framer-blockquote-text-color, var(--framer-link-text-color, var(--framer-text-color, #000))); font-size: calc(var(--framer-blockquote-font-size, var(--framer-font-size, 16px)) * var(--framer-font-size-scale, 1)); text-transform: var(--framer-blockquote-text-transform, var(--framer-link-text-transform, var(--framer-text-transform, none))); text-decoration: var(--framer-blockquote-text-decoration, var(--framer-link-text-decoration, var(--framer-text-decoration, none))); /* Cursor inherit to overwrite the user agent stylesheet on rich text links. */ cursor: var(--framer-custom-cursors, pointer); } `,` code.framer-text a.framer-text, code.framer-text a.framer-text span.framer-text:not([data-text-fill]), code.framer-text span.framer-text[data-nested-link], code.framer-text span.framer-text[data-nested-link] span.framer-text:not([data-text-fill]) { font-family: var(--framer-code-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif)); font-style: var(--framer-blockquote-font-style, var(--framer-code-font-style, var(--framer-font-style, normal))); font-weight: var(--framer-blockquote-font-weight, var(--framer-code-font-weight, var(--framer-font-weight, 400))); color: var(--framer-blockquote-text-color, var(--framer-link-text-color, var(--framer-code-text-color, var(--framer-text-color, #000)))); font-size: calc(var(--framer-blockquote-font-size, var(--framer-font-size, 16px)) * var(--framer-font-size-scale, 1)); } `,` a.framer-text:hover, a.framer-text:hover span.framer-text:not([data-text-fill]), span.framer-text[data-nested-link]:hover, span.framer-text[data-nested-link]:hover span.framer-text:not([data-text-fill]) { font-family: var(--framer-link-hover-font-family, var(--framer-blockquote-font-family, var(--framer-link-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif)))); font-style: var(--framer-link-hover-font-style, var(--framer-blockquote-font-style, var(--framer-link-font-style, var(--framer-font-style, normal)))); font-weight: var(--framer-link-hover-font-weight, var(--framer-blockquote-font-weight, var(--framer-link-font-weight, var(--framer-font-weight, 400)))); color: var(--framer-link-hover-text-color, var(--framer-blockquote-text-color, var(--framer-link-text-color, var(--framer-text-color, #000)))); font-size: calc(var(--framer-link-hover-font-size, var(--framer-blockquote-font-size, var(--framer-font-size, 16px))) * var(--framer-font-size-scale, 1)); text-transform: var(--framer-link-hover-text-transform, var(--framer-blockquote-text-transform, var(--framer-link-text-transform, var(--framer-text-transform, none)))); text-decoration: var(--framer-link-hover-text-decoration, var(--framer-blockquote-text-decoration, var(--framer-link-text-decoration, var(--framer-text-decoration, none)))); } `,` code.framer-text a.framer-text:hover, code.framer-text a.framer-text:hover span.framer-text:not([data-text-fill]), code.framer-text span.framer-text[data-nested-link]:hover, code.framer-text span.framer-text[data-nested-link]:hover span.framer-text:not([data-text-fill]) { font-family: var(var(--framer-code-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif))); font-style: var(--framer-blockquote-font-style, var(--framer-code-font-style, var(--framer-font-style, normal))); font-weight: var(--framer-blockquote-font-weight, var(--framer-code-font-weight, var(--framer-font-weight, 400))); color: var(--framer-link-hover-text-color, var(--framer-blockquote-text-color, var(--framer-link-text-color, var(--framer-code-text-color, var(--framer-text-color, #000))))); font-size: calc(var(--framer-link-hover-font-size, var(--framer-blockquote-font-size, var(--framer-link-font-size, var(--framer-font-size, 16px)))) * var(--framer-font-size-scale, 1)); } `,` a.framer-text[data-framer-page-link-current], a.framer-text[data-framer-page-link-current] span.framer-text:not([data-text-fill]), span.framer-text[data-framer-page-link-current], span.framer-text[data-framer-page-link-current] span.framer-text:not([data-text-fill]) { font-family: var(--framer-link-current-font-family, var(--framer-link-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif))); font-style: var(--framer-link-current-font-style, var(--framer-link-font-style, var(--framer-font-style, normal))); font-weight: var(--framer-link-current-font-weight, var(--framer-link-font-weight, var(--framer-font-weight, 400))); color: var(--framer-link-current-text-color, var(--framer-link-text-color, var(--framer-text-color, #000))); font-size: calc(var(--framer-link-current-font-size, var(--framer-link-font-size, var(--framer-font-size, 16px))) * var(--framer-font-size-scale, 1)); text-transform: var(--framer-link-current-text-transform, var(--framer-link-text-transform, var(--framer-text-transform, none))); text-decoration: var(--framer-link-current-text-decoration, var(--framer-link-text-decoration, var(--framer-text-decoration, none))); } `,` code.framer-text a.framer-text[data-framer-page-link-current], code.framer-text a.framer-text[data-framer-page-link-current] span.framer-text:not([data-text-fill]), code.framer-text span.framer-text[data-framer-page-link-current], code.framer-text span.framer-text[data-framer-page-link-current] span.framer-text:not([data-text-fill]) { font-family: var(--framer-code-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif)); font-style: var(--framer-code-font-style, var(--framer-font-style, normal)); font-weight: var(--framer-code-font-weight, var(--framer-font-weight, 400)); color: var(--framer-link-current-text-color, var(--framer-link-text-color, var(--framer-code-text-color, var(--framer-text-color, #000)))); font-size: calc(var(--framer-link-current-font-size, var(--framer-link-font-size, var(--framer-font-size, 16px))) * var(--framer-font-size-scale, 1)); } `,` a.framer-text[data-framer-page-link-current]:hover, a.framer-text[data-framer-page-link-current]:hover span.framer-text:not([data-text-fill]), span.framer-text[data-framer-page-link-current]:hover, span.framer-text[data-framer-page-link-current]:hover span.framer-text:not([data-text-fill]) { font-family: var(--framer-link-hover-font-family, var(--framer-link-current-font-family, var(--framer-link-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif)))); font-style: var(--framer-link-hover-font-style, var(--framer-link-current-font-style, var(--framer-link-font-style, var(--framer-font-style, normal)))); font-weight: var(--framer-link-hover-font-weight, var(--framer-link-current-font-weight, var(--framer-link-font-weight, var(--framer-font-weight, 400)))); color: var(--framer-link-hover-text-color, var(--framer-link-current-text-color, var(--framer-link-text-color, var(--framer-text-color, #000)))); font-size: calc(var(--framer-link-hover-font-size, var(--framer-link-current-font-size, var(--framer-link-font-size, var(--framer-font-size, 16px)))) * var(--framer-font-size-scale, 1)); text-transform: var(--framer-link-hover-text-transform, var(--framer-link-current-text-transform, var(--framer-link-text-transform, var(--framer-text-transform, none)))); text-decoration: var(--framer-link-hover-text-decoration, var(--framer-link-current-text-decoration, var(--framer-link-text-decoration, var(--framer-text-decoration, none)))); } `,` code.framer-text a.framer-text[data-framer-page-link-current]:hover, code.framer-text a.framer-text[data-framer-page-link-current]:hover span.framer-text:not([data-text-fill]), code.framer-text span.framer-text[data-framer-page-link-current]:hover, code.framer-text span.framer-text[data-framer-page-link-current]:hover span.framer-text:not([data-text-fill]) { font-family: var(--framer-code-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif)); font-style: var(--framer-code-font-style, var(--framer-font-style, normal)); font-weight: var(--framer-code-font-weight, var(--framer-font-weight, 400)); color: var(--framer-link-hover-text-color, var(--framer-link-current-text-color, var(--framer-link-text-color, var(--framer-code-text-color, var(--framer-text-color, #000))))); font-size: calc(var(--framer-link-hover-font-size, var(--framer-link-current-font-size, var(--framer-link-font-size, var(--framer-font-size, 16px)))) * var(--framer-font-size-scale, 1)); } `,` .framer-image.framer-text { display: block; max-width: 100%; height: auto; } `,` .text-styles-preset-reset.framer-text { --framer-font-family: Inter, Inter Placeholder, sans-serif; --framer-font-style: normal; --framer-font-weight: 500; --framer-text-color: #000; --framer-font-size: 16px; --framer-letter-spacing: 0; --framer-text-transform: none; --framer-text-decoration: none; --framer-line-height: 1.2em; --framer-text-alignment: start; --framer-font-open-type-features: normal; } `,` ol.framer-text { --list-style-type: decimal; } `,` ul.framer-text, ol.framer-text { display: table; width: 100%; } `,` li.framer-text { display: table-row; counter-increment: list-item; list-style: none; } `,` ol.framer-text > li.framer-text::before { display: table-cell; width: 2.25ch; box-sizing: border-box; padding-inline-end: 0.75ch; content: counter(list-item, var(--list-style-type)) "."; white-space: nowrap; } `,` ul.framer-text > li.framer-text::before { display: table-cell; width: 2.25ch; box-sizing: border-box; padding-inline-end: 0.75ch; content: "\u2022"; } `,` .framer-text-module[style*="aspect-ratio"] > :first-child { width: 100%; } `,` @supports not (aspect-ratio: 1) { .framer-text-module[style*="aspect-ratio"] { position: relative; } } `,` @supports not (aspect-ratio: 1) { .framer-text-module[style*="aspect-ratio"]::before { content: ""; display: block; padding-bottom: calc(100% / calc(var(--aspect-ratio))); } } `,` @supports not (aspect-ratio: 1) { .framer-text-module[style*="aspect-ratio"] > :first-child { position: absolute; top: 0; left: 0; height: 100%; } } `],_V=new Set,nm;function zk(e,t,n=_V){if(!(!e||n.has(e)||typeof document>"u")){if(n.add(e),!t){if(!nm){let r=document.createElement("style");if(r.setAttribute("type","text/css"),r.setAttribute("data-framer-css","true"),!document.head){console.warn("not injecting CSS: the document is missing a element");return}if(document.head.appendChild(r),r.sheet)nm=r.sheet;else{console.warn("not injecting CSS: injected