import{a as Qd,b as fr,c as N}from"./chunk-ELYU6EKT.mjs";var Me={};Qd(Me,{Children:()=>hr,Component:()=>ne,Fragment:()=>hn,Profiler:()=>vh,PureComponent:()=>ts,StrictMode:()=>gh,Suspense:()=>yh,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:()=>xh,cloneElement:()=>Ct,createContext:()=>ie,createElement:()=>q,createFactory:()=>bh,createRef:()=>rs,default:()=>h,forwardRef:()=>ye,isValidElement:()=>Ut,lazy:()=>Sh,memo:()=>wh,startTransition:()=>Ti,unstable_act:()=>Ch,useCallback:()=>ae,useContext:()=>P,useDebugValue:()=>Th,useDeferredValue:()=>Eh,useEffect:()=>A,useId:()=>Tt,useImperativeHandle:()=>Rh,useInsertionEffect:()=>Et,useLayoutEffect:()=>pr,useMemo:()=>ee,useReducer:()=>kh,useRef:()=>L,useState:()=>Re,useSyncExternalStore:()=>_h,useTransition:()=>Ph,version:()=>Ih});var h={},dr=Symbol.for("react.element"),th=Symbol.for("react.portal"),rh=Symbol.for("react.fragment"),nh=Symbol.for("react.strict_mode"),ih=Symbol.for("react.profiler"),oh=Symbol.for("react.provider"),ah=Symbol.for("react.context"),sh=Symbol.for("react.forward_ref"),lh=Symbol.for("react.suspense"),ch=Symbol.for("react.memo"),uh=Symbol.for("react.lazy"),ja=Symbol.iterator;function fh(e){return e===null||typeof e!="object"?null:(e=ja&&e[ja]||e["@@iterator"],typeof e=="function"?e:null)}var Ya={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Ka=Object.assign,qa={};function $t(e,t,r){this.props=e,this.context=t,this.refs=qa,this.updater=r||Ya}$t.prototype.isReactComponent={};$t.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")};$t.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Za(){}Za.prototype=$t.prototype;function bi(e,t,r){this.props=e,this.context=t,this.refs=qa,this.updater=r||Ya}var Si=bi.prototype=new Za;Si.constructor=bi;Ka(Si,$t.prototype);Si.isPureReactComponent=!0;var Ga=Array.isArray,Ja=Object.prototype.hasOwnProperty,wi={current:null},Qa={key:!0,ref:!0,__self:!0,__source:!0};function es(e,t,r){var n,i={},o=null,a=null;if(t!=null)for(n in t.ref!==void 0&&(a=t.ref),t.key!==void 0&&(o=""+t.key),t)Ja.call(t,n)&&!Qa.hasOwnProperty(n)&&(i[n]=t[n]);var s=arguments.length-2;if(s===1)i.children=r;else if(1function(){return t||(0,e[xl(e)[0]])((t={exports:{}}).exports,t),t.exports},Ah=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of xl(t))!Oh.call(e,i)&&i!==r&&yl(e,i,{get:()=>t[i],enumerable:!(n=Mh(t,i))||n.enumerable});return e},he=(e,t,r)=>(r=e!=null?Fh(Lh(e)):{},Ah(t||!e||!e.__esModule?yl(r,"default",{value:e,enumerable:!0}):r,e)),bl=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)},_e=(e,t,r)=>(bl(e,t,"read from private field"),r?r.call(e):t.get(e)),Mr=(e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)},oo=(e,t,r,n)=>(bl(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r),Vh=Ge({"../../../node_modules/@emotion/memoize/dist/memoize.browser.cjs.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});function t(r){var n={};return function(i){return n[i]===void 0&&(n[i]=r(i)),n[i]}}e.default=t}}),Dh=Ge({"../../../node_modules/@emotion/is-prop-valid/dist/is-prop-valid.browser.cjs.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});function t(o){return o&&typeof o=="object"&&"default"in o?o.default:o}var r=t(Vh()),n=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,i=r(function(o){return n.test(o)||o.charCodeAt(0)===111&&o.charCodeAt(1)===110&&o.charCodeAt(2)<91});e.default=i}}),ct=ie({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),Lr=ie({}),qt=ie(null),Or=typeof document<"u",ut=Or?pr:A,Rr=ie({}),kn=ie({}),Sl=ie({strict:!1});function Bh(e,t,r,n){let{visualElement:i}=P(Lr),o=P(Sl),a=P(qt),s=P(ct).reducedMotion,l=L();n=n||o.renderer,!l.current&&n&&(l.current=n(e,{visualState:t,parent:i,props:r,presenceContext:a,blockInitialAnimation:a?a.initial===!1:!1,reducedMotionConfig:s}));let c=l.current;return Et(()=>{c&&c.update(r,a)}),ut(()=>{c&&c.render()}),A(()=>{c&&c.updateFeatures()}),(N.HandoffAppearAnimations?ut:A)(()=>{c&&c.animationState&&c.animationState.animateChanges()}),c}function jt(e){return typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function Hh(e,t,r){return ae(n=>{n&&e.mount&&e.mount(n),t&&(n?t.mount(n):t.unmount()),r&&(typeof r=="function"?r(n):jt(r)&&(r.current=n))},[t])}function kr(e){return typeof e=="string"||Array.isArray(e)}function _n(e){return typeof e=="object"&&typeof e.start=="function"}var ao=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],so=["initial",...ao];function Pn(e){return _n(e.animate)||so.some(t=>kr(e[t]))}function wl(e){return Boolean(Pn(e)||e.variants)}function zh(e,t){if(Pn(e)){let{initial:r,animate:n}=e;return{initial:r===!1||kr(r)?r:void 0,animate:kr(n)?n:void 0}}return e.inherit!==!1?t:{}}function Nh(e){let{initial:t,animate:r}=zh(e,P(Lr));return ee(()=>({initial:t,animate:r}),[ns(t),ns(r)])}function ns(e){return Array.isArray(e)?e.join(" "):e}var is={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"]},_r={};for(let e in is)_r[e]={isEnabled:t=>is[e].some(r=>!!t[r])};function $h(e){for(let t in e)_r[t]={..._r[t],...e[t]}}function Xe(e){let t=L(null);return t.current===null&&(t.current=e()),t.current}var xr={hasAnimatedSinceResize:!0,hasEverUpdated:!1},Uh=1;function Wh(){return Xe(()=>{if(xr.hasEverUpdated)return Uh++})}var lo=Symbol.for("motionComponentSymbol");function Cl({preloadedFeatures:e,createVisualElement:t,useRender:r,useVisualState:n,Component:i}){e&&$h(e);function o(s,l){let c,u={...P(ct),...s,layoutId:jh(s)},{isStatic:f}=u,d=Nh(s),p=f?void 0:Wh(),m=n(s,f);if(!f&&Or){d.visualElement=Bh(i,m,u,t);let y=P(kn),x=P(Sl).strict;d.visualElement&&(c=d.visualElement.loadFeatures(u,x,e,p,y))}return q(Lr.Provider,{value:d},c&&d.visualElement?q(c,{visualElement:d.visualElement,...u}):null,r(i,s,p,Hh(m,d.visualElement,l),m,f,d.visualElement))}let a=ye(o);return a[lo]=i,a}function jh({layoutId:e}){let t=P(Rr).id;return t&&e!==void 0?t+"-"+e:e}var bn={};function co(e){Object.assign(bn,e)}var fe=e=>Boolean(e&&e.getVelocity),In=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Ft=new Set(In),Gh={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Xh=In.length;function Tl(e,{enableHardwareAcceleration:t=!0,allowTransformNone:r=!0},n,i){let o="";for(let a=0;aMath.min(Math.max(r,e),t),br=e=>Math.round(e*1e5)/1e5,Pr=/(-)?([\d]*\.?[\d])+/g,Bi=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,Yh=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function Ar(e){return typeof e=="string"}var Vr=e=>({test:t=>Ar(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),at=Vr("deg"),$e=Vr("%"),O=Vr("px"),Kh=Vr("vh"),qh=Vr("vw"),os={...$e,parse:e=>$e.parse(e)/100,transform:e=>$e.transform(e*100)},Zh=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","ignoreStrict","viewport"]);function Yt(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||Zh.has(e)}var El=e=>!Yt(e);function Rl(e){e&&(El=t=>t.startsWith("on")?!Yt(t):e(t))}try{Rl(Dh().default)}catch{}function kl(e,t,r){let n={};for(let i in e)i==="values"&&typeof e.values=="object"||(El(i)||r===!0&&Yt(i)||!t&&!Yt(i)||e.draggable&&i.startsWith("onDrag"))&&(n[i]=e[i]);return n}var Sn=e=>Array.isArray(e),Jh=e=>Boolean(e&&typeof e=="object"&&e.mix&&e.toValue),Qh=e=>Sn(e)?e[e.length-1]||0:e;function be(e){let t=fe(e)?e.get():e;return Jh(t)?t.toValue():t}function uo(e,t,r,n={},i={}){return typeof t=="function"&&(t=t(r!==void 0?r:e.custom,n,i)),typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"&&(t=t(r!==void 0?r:e.custom,n,i)),t}function ep({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:r},n,i,o){let a={latestValues:tp(n,i,o,e),renderState:t()};return r&&(a.mount=s=>r(n,s,a)),a}var Fn=e=>(t,r)=>{let n=P(Lr),i=P(qt),o=()=>ep(e,t,n,i);return r?o():Xe(o)};function tp(e,t,r,n){let i={},o=n(e,{});for(let d in o)i[d]=be(o[d]);let{initial:a,animate:s}=e,l=Pn(e),c=wl(e);t&&c&&!l&&e.inherit!==!1&&(a===void 0&&(a=t.initial),s===void 0&&(s=t.animate));let u=r?r.initial===!1:!1;u=u||a===!1;let f=u?s:a;return f&&typeof f!="boolean"&&!_n(f)&&(Array.isArray(f)?f:[f]).forEach(p=>{let m=uo(e,p);if(!m)return;let{transitionEnd:y,transition:x,...v}=m;for(let b in v){let g=v[b];if(Array.isArray(g)){let S=u?g.length-1:0;g=g[S]}g!==null&&(i[b]=g)}for(let b in y)i[b]=y[b]}),i}var _l=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;function Mn(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}var Pl=e=>t=>_l(t)&&e(t,Mn(t));function Qe(e,t,r,n={passive:!0}){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r)}function Ue(e,t,r,n){return Qe(e,t,Pl(r),n)}var rp=(e,t)=>r=>t(e(r)),et=(...e)=>e.reduce(rp);function Il(e){let t=null;return()=>{let r=()=>{t=null};return t===null?(t=e,r):!1}}var as=Il("dragHorizontal"),ss=Il("dragVertical");function Fl(e){let t=!1;if(e==="y")t=ss();else if(e==="x")t=as();else{let r=as(),n=ss();r&&n?t=()=>{r(),n()}:(r&&r(),n&&n())}return t}function fo(){let e=Fl(!0);return e?(e(),!1):!0}var ue={delta:0,timestamp:0,isProcessing:!1};function np(e){let t=[],r=[],n=0,i=!1,o=!1,a=new WeakSet,s={schedule:(l,c=!1,u=!1)=>{let f=u&&i,d=f?t:r;return c&&a.add(l),d.indexOf(l)===-1&&(d.push(l),f&&i&&(n=t.length)),l},cancel:l=>{let c=r.indexOf(l);c!==-1&&r.splice(c,1),a.delete(l)},process:l=>{if(i){o=!0;return}if(i=!0,[t,r]=[r,t],r.length=0,n=t.length,n)for(let c=0;c(e[t]=np(()=>Ir=!0),e),{}),W=Dr.reduce((e,t)=>{let r=Ln[t];return e[t]=(n,i=!1,o=!1)=>(Ir||ap(),r.schedule(n,i,o)),e},{}),De=Dr.reduce((e,t)=>(e[t]=Ln[t].cancel,e),{}),Ei=Dr.reduce((e,t)=>(e[t]=()=>Ln[t].process(ue),e),{}),op=e=>Ln[e].process(ue),Ml=e=>{Ir=!1,ue.delta=Hi?1e3/60:Math.max(Math.min(e-ue.timestamp,ip),1),ue.timestamp=e,ue.isProcessing=!0,Dr.forEach(op),ue.isProcessing=!1,Ir&&(Hi=!1,requestAnimationFrame(Ml))},ap=()=>{Ir=!0,Hi=!0,ue.isProcessing||requestAnimationFrame(Ml)},ho=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),sp="framerAppearId",Ll="data-"+ho(sp),de=e=>e,Br=de,ge=de,Ol=(e,t,r)=>(((1-3*r+3*t)*e+(3*r-6*t))*e+3*t)*e,lp=1e-7,cp=12;function up(e,t,r,n,i){let o,a,s=0;do a=t+(r-t)/2,o=Ol(a,n,i)-e,o>0?r=a:t=a;while(Math.abs(o)>lp&&++sup(o,0,1,e,r);return o=>o===0||o===1?o:Ol(i(o),t,n)}var Al=Zt(.42,0,1,1),Vl=Zt(0,0,.58,1),po=Zt(.42,0,.58,1),mo=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,vo=e=>t=>1-e(1-t),go=e=>1-Math.sin(Math.acos(e)),On=vo(go),Dl=mo(On),yo=Zt(.33,1.53,.69,.99),An=vo(yo),Bl=mo(An),Hl=e=>(e*=2)<1?.5*An(e):.5*(2-Math.pow(2,-10*(e-1))),Mt={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Sr={...Mt,transform:e=>ft(0,1,e)},pn={...Mt,default:1},xo=(e,t)=>r=>Boolean(Ar(r)&&Yh.test(r)&&r.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(r,t)),zl=(e,t,r)=>n=>{if(!Ar(n))return n;let[i,o,a,s]=n.match(Pr);return{[e]:parseFloat(i),[t]:parseFloat(o),[r]:parseFloat(a),alpha:s!==void 0?parseFloat(s):1}},fp=e=>ft(0,255,e),Ri={...Mt,transform:e=>Math.round(fp(e))},Pt={test:xo("rgb","red"),parse:zl("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:n=1})=>"rgba("+Ri.transform(e)+", "+Ri.transform(t)+", "+Ri.transform(r)+", "+br(Sr.transform(n))+")"};function dp(e){let t="",r="",n="",i="";return e.length>5?(t=e.substring(1,3),r=e.substring(3,5),n=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),r=e.substring(2,3),n=e.substring(3,4),i=e.substring(4,5),t+=t,r+=r,n+=n,i+=i),{red:parseInt(t,16),green:parseInt(r,16),blue:parseInt(n,16),alpha:i?parseInt(i,16)/255:1}}var zi={test:xo("#"),parse:dp,transform:Pt.transform},Gt={test:xo("hsl","hue"),parse:zl("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:n=1})=>"hsla("+Math.round(e)+", "+$e.transform(br(t))+", "+$e.transform(br(r))+", "+br(Sr.transform(n))+")"},xe={test:e=>Pt.test(e)||zi.test(e)||Gt.test(e),parse:e=>Pt.test(e)?Pt.parse(e):Gt.test(e)?Gt.parse(e):zi.parse(e),transform:e=>Ar(e)?e:e.hasOwnProperty("red")?Pt.transform(e):Gt.transform(e)},Q=(e,t,r)=>-r*e+r*t+e,Nl="${c}",$l="${n}";function hp(e){var t,r;return isNaN(e)&&Ar(e)&&(((t=e.match(Pr))===null||t===void 0?void 0:t.length)||0)+(((r=e.match(Bi))===null||r===void 0?void 0:r.length)||0)>0}function wn(e){typeof e=="number"&&(e=`${e}`);let t=[],r=0,n=0,i=e.match(Bi);i&&(r=i.length,e=e.replace(Bi,Nl),t.push(...i.map(xe.parse)));let o=e.match(Pr);return o&&(n=o.length,e=e.replace(Pr,$l),t.push(...o.map(Mt.parse))),{values:t,numColors:r,numNumbers:n,tokenised:e}}function Ul(e){return wn(e).values}function Wl(e){let{values:t,numColors:r,tokenised:n}=wn(e),i=t.length;return o=>{let a=n;for(let s=0;stypeof e=="number"?0:e;function mp(e){let t=Ul(e);return Wl(e)(t.map(pp))}var je={test:hp,parse:Ul,createTransformer:Wl,getAnimatableNone:mp},dt=(e,t,r)=>{let n=t-e;return n===0?1:(r-e)/n};function ki(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+(t-e)*6*r:r<1/2?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function vp({hue:e,saturation:t,lightness:r,alpha:n}){e/=360,t/=100,r/=100;let i=0,o=0,a=0;if(!t)i=o=a=r;else{let s=r<.5?r*(1+t):r+t-r*t,l=2*r-s;i=ki(l,s,e+1/3),o=ki(l,s,e),a=ki(l,s,e-1/3)}return{red:Math.round(i*255),green:Math.round(o*255),blue:Math.round(a*255),alpha:n}}var _i=(e,t,r)=>{let n=e*e;return Math.sqrt(Math.max(0,r*(t*t-n)+n))},gp=[zi,Pt,Gt],yp=e=>gp.find(t=>t.test(e));function ls(e){let t=yp(e);ge(Boolean(t),`'${e}' is not an animatable color. Use the equivalent color code instead.`);let r=t.parse(e);return t===Gt&&(r=vp(r)),r}var jl=(e,t)=>{let r=ls(e),n=ls(t),i={...r};return o=>(i.red=_i(r.red,n.red,o),i.green=_i(r.green,n.green,o),i.blue=_i(r.blue,n.blue,o),i.alpha=Q(r.alpha,n.alpha,o),Pt.transform(i))};function Gl(e,t){return typeof e=="number"?r=>Q(e,t,r):xe.test(e)?jl(e,t):Yl(e,t)}var Xl=(e,t)=>{let r=[...e],n=r.length,i=e.map((o,a)=>Gl(o,t[a]));return o=>{for(let a=0;a{let r={...e,...t},n={};for(let i in r)e[i]!==void 0&&t[i]!==void 0&&(n[i]=Gl(e[i],t[i]));return i=>{for(let o in n)r[o]=n[o](i);return r}},Yl=(e,t)=>{let r=je.createTransformer(t),n=wn(e),i=wn(t);return n.numColors===i.numColors&&n.numNumbers>=i.numNumbers?et(Xl(n.values,i.values),r):(Br(!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.`),a=>`${a>0?t:e}`)},cs=(e,t)=>r=>Q(e,t,r);function bp(e){return typeof e=="number"?cs:typeof e=="string"?xe.test(e)?jl:Yl:Array.isArray(e)?Xl:typeof e=="object"?xp:cs}function Sp(e,t,r){let n=[],i=r||bp(e[0]),o=e.length-1;for(let a=0;at[0];e[0]>e[o-1]&&(e=[...e].reverse(),t=[...t].reverse());let a=Sp(t,n,i),s=a.length,l=c=>{let u=0;if(s>1)for(;ul(ft(e[0],e[o-1],c)):l}var tt=e=>e*1e3,We=e=>e/1e3;function bo(e,t){return t?e*(1e3/t):0}var wp=5;function Kl(e,t,r){let n=Math.max(t-wp,0);return bo(r-e(n),t-n)}var Pi=.001,Cp=.01,us=10,Tp=.05,Ep=1;function Rp({duration:e=800,bounce:t=.25,velocity:r=0,mass:n=1}){let i,o;Br(e<=tt(us),"Spring duration must be 10 seconds or less");let a=1-t;a=ft(Tp,Ep,a),e=ft(Cp,us,We(e)),a<1?(i=c=>{let u=c*a,f=u*e,d=u-r,p=Ni(c,a),m=Math.exp(-f);return Pi-d/p*m},o=c=>{let f=c*a*e,d=f*r+r,p=Math.pow(a,2)*Math.pow(c,2)*e,m=Math.exp(-f),y=Ni(Math.pow(c,2),a);return(-i(c)+Pi>0?-1:1)*((d-p)*m)/y}):(i=c=>{let u=Math.exp(-c*e),f=(c-r)*e+1;return-Pi+u*f},o=c=>{let u=Math.exp(-c*e),f=(r-c)*(e*e);return u*f});let s=5/e,l=_p(i,o,s);if(e=tt(e),isNaN(l))return{stiffness:100,damping:10,duration:e};{let c=Math.pow(l,2)*n;return{stiffness:c,damping:a*2*Math.sqrt(n*c),duration:e}}}var kp=12;function _p(e,t,r){let n=r;for(let i=1;ie[r]!==void 0)}function Fp(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!fs(e,Ip)&&fs(e,Pp)){let r=Rp(e);t={...t,...r,velocity:0,mass:1},t.isResolvedFromDuration=!0}return t}function Vn({keyframes:e,restDelta:t,restSpeed:r,...n}){let i=e[0],o=e[e.length-1],a={done:!1,value:i},{stiffness:s,damping:l,mass:c,velocity:u,duration:f,isResolvedFromDuration:d}=Fp(n),p=u?-We(u):0,m=l/(2*Math.sqrt(s*c)),y=o-i,x=We(Math.sqrt(s/c)),v=Math.abs(y)<5;r||(r=v?.01:2),t||(t=v?.005:.5);let b;if(m<1){let g=Ni(x,m);b=S=>{let T=Math.exp(-m*x*S);return o-T*((p+m*x*y)/g*Math.sin(g*S)+y*Math.cos(g*S))}}else if(m===1)b=g=>o-Math.exp(-x*g)*(y+(p+x*y)*g);else{let g=x*Math.sqrt(m*m-1);b=S=>{let T=Math.exp(-m*x*S),w=Math.min(g*S,300);return o-T*((p+m*x*y)*Math.sinh(w)+g*y*Math.cosh(w))/g}}return{calculatedDuration:d&&f||null,next:g=>{let S=b(g);if(d)a.done=g>=f;else{let T=p;g!==0&&(m<1?T=Kl(b,g,S):T=0);let w=Math.abs(T)<=r,C=Math.abs(o-S)<=t;a.done=w&&C}return a.value=a.done?o:S,a}}}var ql=e=>Array.isArray(e)&&typeof e[0]!="number",ds={linear:de,easeIn:Al,easeInOut:po,easeOut:Vl,circIn:go,circInOut:Dl,circOut:On,backIn:An,backInOut:Bl,backOut:yo,anticipate:Hl},hs=e=>{if(Array.isArray(e)){ge(e.length===4,"Cubic bezier arrays must contain four numerical values.");let[t,r,n,i]=e;return Zt(t,r,n,i)}else if(typeof e=="string")return ge(ds[e]!==void 0,`Invalid easing type '${e}'`),ds[e];return e};function Zl(e,t){let r=e[e.length-1];for(let n=1;n<=t;n++){let i=dt(0,t,n);e.push(Q(r,1,i))}}function So(e){let t=[0];return Zl(t,e.length-1),t}function Mp(e,t){return e.map(r=>r*t)}function Lp(e,t){return e.map(()=>t||po).splice(0,e.length-1)}function Cn({duration:e=300,keyframes:t,times:r,ease:n="easeInOut"}){let i=ql(n)?n.map(hs):hs(n),o={done:!1,value:t[0]},a=Mp(r&&r.length===t.length?r:So(t),e),s=Hr(a,t,{ease:Array.isArray(i)?i:Lp(t,i)});return{calculatedDuration:e,next:l=>(o.value=s(l),o.done=l>=e,o)}}function ps({keyframes:e,velocity:t=0,power:r=.8,timeConstant:n=325,bounceDamping:i=10,bounceStiffness:o=500,modifyTarget:a,min:s,max:l,restDelta:c=.5,restSpeed:u}){let f=e[0],d={done:!1,value:f},p=E=>s!==void 0&&El,m=E=>s===void 0?l:l===void 0||Math.abs(s-E)-y*Math.exp(-E/n),g=E=>v+b(E),S=E=>{let k=b(E),F=g(E);d.done=Math.abs(k)<=c,d.value=d.done?v:F},T,w,C=E=>{p(d.value)&&(T=E,w=Vn({keyframes:[d.value,m(d.value)],velocity:Kl(g,E,d.value),damping:i,stiffness:o,restDelta:c,restSpeed:u}))};return C(0),{calculatedDuration:null,next:E=>{let k=!1;return!w&&T===void 0&&(k=!0,S(E),C(E)),T!==void 0&&E>T?w.next(E-T):(!k&&S(E),d)}}}var Op=e=>{let t=({timestamp:r})=>e(r);return{start:()=>W.update(t,!0),stop:()=>De.update(t),now:()=>ue.isProcessing?ue.timestamp:performance.now()}},$i=2e4;function Ui(e){let t=0,r=50,n=e.next(t);for(;!n.done&&t<$i;)t+=r,n=e.next(t);return t>=$i?1/0:t}var Ap={decay:ps,inertia:ps,tween:Cn,keyframes:Cn,spring:Vn};function Kt({autoplay:e=!0,delay:t=0,driver:r=Op,keyframes:n,type:i="keyframes",repeat:o=0,repeatDelay:a=0,repeatType:s="loop",onPlay:l,onStop:c,onComplete:u,onUpdate:f,...d}){let p=1,m=!1,y,x,v=()=>{y&&y(),x=new Promise(B=>{y=B})};v();let b,g=Ap[i]||Cn,S;g!==Cn&&typeof n[0]!="number"&&(S=Hr([0,100],n,{clamp:!1}),n=[0,100]);let T=g({...d,keyframes:n}),w;s==="mirror"&&(w=g({...d,keyframes:[...n].reverse(),velocity:-(d.velocity||0)}));let C="idle",E=null,k=null,F=null;T.calculatedDuration===null&&o&&(T.calculatedDuration=Ui(T));let{calculatedDuration:I}=T,D=1/0,z=1/0;I!==null&&(D=I+a,z=D*(o+1)-a);let M=0,_=B=>{if(k===null)return;p>0&&(k=Math.min(k,B)),E!==null?M=E:M=(B-k)*p;let re=M-t,Y=re<0;M=Math.max(re,0),C==="finished"&&E===null&&(M=z);let G=M,K=T;if(o){let ot=M/D,ze=Math.floor(ot),Fe=ot%1;!Fe&&ot>=1&&(Fe=1),Fe===1&&ze--,ze=Math.min(ze,o+1);let ln=Boolean(ze%2);ln&&(s==="reverse"?(Fe=1-Fe,a&&(Fe-=a/D)):s==="mirror"&&(K=w));let bt=ft(0,1,Fe);M>z&&(bt=s==="reverse"&&ln?1:0),G=bt*D}let Ae=Y?{done:!1,value:n[0]}:K.next(G);S&&(Ae.value=S(Ae.value));let{done:Se}=Ae;!Y&&I!==null&&(Se=M>=z);let we=E===null&&(C==="finished"||C==="running"&&Se||p<0&&M<=0);return f&&f(Ae.value),we&&j(),Ae},$=()=>{b&&b.stop(),b=void 0},R=()=>{C="idle",$(),v(),k=F=null},j=()=>{C="finished",u&&u(),$(),v()},J=()=>{if(m)return;b||(b=r(_));let B=b.now();l&&l(),E!==null?k=B-E:(!k||C==="finished")&&(k=B),F=k,E=null,C="running",b.start()};e&&J();let U={then(B,re){return x.then(B,re)},get time(){return We(M)},set time(B){B=tt(B),M=B,E!==null||!b||p===0?E=B:k=b.now()-B/p},get duration(){let B=T.calculatedDuration===null?Ui(T):T.calculatedDuration;return We(B)},get speed(){return p},set speed(B){B===p||!b||(p=B,U.time=We(M))},get state(){return C},play:J,pause:()=>{C="paused",E=M},stop:()=>{m=!0,C!=="idle"&&(C="idle",c&&c(),R())},cancel:()=>{F!==null&&_(F),R()},complete:()=>{C="finished"},sample:B=>(k=0,_(B))};return U}function wo(e,t){e.indexOf(t)===-1&&e.push(t)}function Dn(e,t){let r=e.indexOf(t);r>-1&&e.splice(r,1)}function Vp([...e],t,r){let n=t<0?e.length+t:t;if(n>=0&&nDn(this.subscriptions,e)}notify(e,t,r){let n=this.subscriptions.length;if(n)if(n===1)this.subscriptions[0](e,t,r);else for(let i=0;i!isNaN(parseFloat(e)),Bn=class{constructor(e,t={}){this.version="10.11.6",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(r,n=!0)=>{this.prev=this.current,this.current=r;let{delta:i,timestamp:o}=ue;this.lastUpdated!==o&&(this.timeDelta=i,this.lastUpdated=o,W.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.events.change&&this.events.change.notify(this.current),this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()),n&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.scheduleVelocityCheck=()=>W.postRender(this.velocityCheck),this.velocityCheck=({timestamp:r})=>{r!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=e,this.canTrackVelocity=Dp(this.current),this.owner=t.owner}onChange(e){return this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new Co);let r=this.events[e].add(t);return e==="change"?()=>{r(),W.read(()=>{this.events.change.getSize()||this.stop()})}:r}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,r){this.set(t),this.prev=e,this.timeDelta=r}jump(e){this.updateAndNotify(e),this.prev=e,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?bo(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}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 le(e,t){return new Bn(e,t)}var Bp=e=>/^\-?\d*\.?\d+$/.test(e),Hp=e=>/^0[^.\s]+$/.test(e),zp=new Set(["brightness","contrast","saturate","opacity"]);function Np(e){let[t,r]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;let[n]=r.match(Pr)||[];if(!n)return e;let i=r.replace(n,""),o=zp.has(t)?1:0;return n!==r&&(o*=100),t+"("+o+i+")"}var $p=/([a-z-]*)\(.*?\)/g,Wi={...je,getAnimatableNone:e=>{let t=e.match($p);return t?t.map(Np).join(" "):e}},ms={...Mt,transform:Math.round},Jl={borderWidth:O,borderTopWidth:O,borderRightWidth:O,borderBottomWidth:O,borderLeftWidth:O,borderRadius:O,radius:O,borderTopLeftRadius:O,borderTopRightRadius:O,borderBottomRightRadius:O,borderBottomLeftRadius:O,width:O,maxWidth:O,height:O,maxHeight:O,size:O,top:O,right:O,bottom:O,left:O,padding:O,paddingTop:O,paddingRight:O,paddingBottom:O,paddingLeft:O,margin:O,marginTop:O,marginRight:O,marginBottom:O,marginLeft:O,rotate:at,rotateX:at,rotateY:at,rotateZ:at,scale:pn,scaleX:pn,scaleY:pn,scaleZ:pn,skew:at,skewX:at,skewY:at,distance:O,translateX:O,translateY:O,translateZ:O,x:O,y:O,z:O,perspective:O,transformPerspective:O,opacity:Sr,originX:os,originY:os,originZ:O,zIndex:ms,fillOpacity:Sr,strokeOpacity:Sr,numOctaves:ms},Up={...Jl,color:xe,backgroundColor:xe,outlineColor:xe,fill:xe,stroke:xe,borderColor:xe,borderTopColor:xe,borderRightColor:xe,borderBottomColor:xe,borderLeftColor:xe,filter:Wi,WebkitFilter:Wi},To=e=>Up[e];function Eo(e,t){let r=To(e);return r!==Wi&&(r=je),r.getAnimatableNone?r.getAnimatableNone(t):void 0}var Ql=e=>t=>t.test(e),Wp={test:e=>e==="auto",parse:e=>e},ec=[Mt,O,$e,at,qh,Kh,Wp],mr=e=>ec.find(Ql(e)),jp=[...ec,xe,je],Gp=e=>jp.find(Ql(e));function Xp(e){let t={};return e.values.forEach((r,n)=>t[n]=r.get()),t}function Yp(e){let t={};return e.values.forEach((r,n)=>t[n]=r.getVelocity()),t}function Hn(e,t,r){let n=e.getProps();return uo(n,t,r!==void 0?r:n.custom,Xp(e),Yp(e))}function Kp(e,t,r){e.hasValue(t)?e.getValue(t).set(r):e.addValue(t,le(r))}function Ro(e,t){let r=Hn(e,t),{transitionEnd:n={},transition:i={},...o}=r?e.makeTargetAnimatable(r,!1):{};o={...o,...n};for(let a in o){let s=Qh(o[a]);Kp(e,a,s)}}function ji(e,t){[...t].reverse().forEach(n=>{let i=e.getVariant(n);i&&Ro(e,i),e.variantChildren&&e.variantChildren.forEach(o=>{ji(o,t)})})}function qp(e,t){if(Array.isArray(t))return ji(e,t);if(typeof t=="string")return ji(e,[t]);Ro(e,t)}function tc(e,t,r){var n,i;let o=Object.keys(t).filter(s=>!e.hasValue(s)),a=o.length;if(a)for(let s=0;sArray.isArray(e)&&typeof e[0]=="number";function nc(e){return Boolean(!e||typeof e=="string"&&ic[e]||rc(e)||Array.isArray(e)&&e.every(nc))}var yr=([e,t,r,n])=>`cubic-bezier(${e}, ${t}, ${r}, ${n})`,ic={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:yr([0,.65,.55,1]),circOut:yr([.55,0,1,.45]),backIn:yr([.31,.01,.66,-.59]),backOut:yr([.33,1.53,.69,.99])};function oc(e){if(e)return rc(e)?yr(e):Array.isArray(e)?e.map(oc):ic[e]}function Qp(e,t,r,{delay:n=0,duration:i,repeat:o=0,repeatType:a="loop",ease:s,times:l}={}){let c={[t]:r};l&&(c.offset=l);let u=oc(s);return Array.isArray(u)&&(c.easing=u),e.animate(c,{delay:n,duration:i,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:o+1,direction:a==="reverse"?"alternate":"normal"})}var vs={waapi:()=>Object.hasOwnProperty.call(Element.prototype,"animate")},Ii={},ac={};for(let e in vs)ac[e]=()=>(Ii[e]===void 0&&(Ii[e]=vs[e]()),Ii[e]);function em(e,{repeat:t,repeatType:r="loop"}){let n=t&&r!=="loop"&&t%2===1?0:e.length-1;return e[n]}var tm=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),mn=10,rm=2e4,nm=(e,t)=>t.type==="spring"||e==="backgroundColor"||!nc(t.ease);function im(e,t,{onUpdate:r,onComplete:n,...i}){if(!(ac.waapi()&&tm.has(t)&&!i.repeatDelay&&i.repeatType!=="mirror"&&i.damping!==0&&i.type!=="inertia"))return!1;let a=!1,s,l,c=()=>{l=new Promise(v=>{s=v})};c();let{keyframes:u,duration:f=300,ease:d,times:p}=i;if(nm(t,i)){let v=Kt({...i,repeat:0,delay:0}),b={done:!1,value:u[0]},g=[],S=0;for(;!b.done&&Sm.cancel(),x=()=>{W.update(y),s(),c()};return m.onfinish=()=>{e.set(em(u,i)),n&&n(),x()},{then(v,b){return l.then(v,b)},get time(){return We(m.currentTime||0)},set time(v){m.currentTime=tt(v)},get speed(){return m.playbackRate},set speed(v){m.playbackRate=v},get duration(){return We(f)},play:()=>{a||(m.play(),De.update(y))},pause:()=>m.pause(),stop:()=>{if(a=!0,m.playState==="idle")return;let{currentTime:v}=m;if(v){let b=Kt({...i,autoplay:!1});e.setWithVelocity(b.sample(v-mn).value,b.sample(v).value,mn)}x()},complete:()=>m.finish(),cancel:x}}function om({keyframes:e,delay:t,onUpdate:r,onComplete:n}){let i=()=>(r&&r(e[e.length-1]),n&&n(),{time:0,speed:1,duration:0,play:de,pause:de,stop:de,then:o=>(o(),Promise.resolve()),cancel:de,complete:de});return t?Kt({keyframes:[0,1],duration:0,delay:t,onComplete:i}):i()}var am={type:"spring",stiffness:500,damping:25,restSpeed:10},sm=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),lm={type:"keyframes",duration:.8},cm={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},um=(e,{keyframes:t})=>t.length>2?lm:Ft.has(e)?e.startsWith("scale")?sm(t[1]):am:cm,Xi=(e,t)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&je.test(t)&&!t.startsWith("url("));function fm({when:e,delay:t,delayChildren:r,staggerChildren:n,staggerDirection:i,repeat:o,repeatType:a,repeatDelay:s,from:l,elapsed:c,...u}){return!!Object.keys(u).length}function gs(e){return e===0||typeof e=="string"&&parseFloat(e)===0&&e.indexOf(" ")===-1}function ys(e){return typeof e=="number"?0:Eo("",e)}function sc(e,t){return e[t]||e.default||e}function dm(e,[...t]){for(let r=0;ri=>{let o=sc(n,e)||{},a=o.delay||n.delay||0,{elapsed:s=0}=n;s=s-tt(a);let l=hm(t,e,r,o),c=l[0],u=l[l.length-1],f=Xi(e,c),d=Xi(e,u);Br(f===d,`You are trying to animate ${e} from "${c}" to "${u}". ${c} is not an animatable value - to enable this animation set ${c} to a value animatable to ${u} via the \`style\` property.`);let p={keyframes:l,velocity:t.getVelocity(),ease:"easeOut",...o,delay:-s,onUpdate:m=>{t.set(m),o.onUpdate&&o.onUpdate(m)},onComplete:()=>{i(),o.onComplete&&o.onComplete()}};if(fm(o)||(p={...p,...um(e,p)}),p.duration&&(p.duration=tt(p.duration)),p.repeatDelay&&(p.repeatDelay=tt(p.repeatDelay)),!f||!d||Gi.current||o.type===!1)return om(p);if(t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate){let m=im(t,e,p);if(m)return m}return Kt(p)};function Tn(e){return Boolean(fe(e)&&e.add)}function pm({protectedKeys:e,needsAnimating:t},r){let n=e.hasOwnProperty(r)&&t[r]!==!0;return t[r]=!1,n}function _o(e,t,{delay:r=0,transitionOverride:n,type:i}={}){let{transition:o=e.getDefaultTransition(),transitionEnd:a,...s}=e.makeTargetAnimatable(t),l=e.getValue("willChange");n&&(o=n);let c=[],u=i&&e.animationState&&e.animationState.getState()[i];for(let f in s){let d=e.getValue(f),p=s[f];if(!d||p===void 0||u&&pm(u,f))continue;let m={delay:r,elapsed:0,...o};if(N.HandoffAppearAnimations&&!d.hasAnimated){let x=e.getProps()[Ll];x&&(m.elapsed=N.HandoffAppearAnimations(x,f,d,W))}d.start(ko(f,d,p,e.shouldReduceMotion&&Ft.has(f)?{type:!1}:m));let y=d.animation;Tn(l)&&(l.add(f),y.then(()=>l.remove(f))),c.push(y)}return a&&Promise.all(c).then(()=>{a&&Ro(e,a)}),c}function Yi(e,t,r={}){let n=Hn(e,t,r.custom),{transition:i=e.getDefaultTransition()||{}}=n||{};r.transitionOverride&&(i=r.transitionOverride);let o=n?()=>Promise.all(_o(e,n,r)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(l=0)=>{let{delayChildren:c=0,staggerChildren:u,staggerDirection:f}=i;return mm(e,t,c+l,u,f,r)}:()=>Promise.resolve(),{when:s}=i;if(s){let[l,c]=s==="beforeChildren"?[o,a]:[a,o];return l().then(()=>c())}else return Promise.all([o(),a(r.delay)])}function mm(e,t,r=0,n=0,i=1,o){let a=[],s=(e.variantChildren.size-1)*n,l=i===1?(c=0)=>c*n:(c=0)=>s-c*n;return Array.from(e.variantChildren).sort(vm).forEach((c,u)=>{c.notify("AnimationStart",t),a.push(Yi(c,t,{...o,delay:r+l(u)}).then(()=>c.notify("AnimationComplete",t)))}),Promise.all(a)}function vm(e,t){return e.sortNodePosition(t)}function Po(e,t,r={}){e.notify("AnimationStart",t);let n;if(Array.isArray(t)){let i=t.map(o=>Yi(e,o,r));n=Promise.all(i)}else if(typeof t=="string")n=Yi(e,t,r);else{let i=typeof t=="function"?Hn(e,t,r.custom):t;n=Promise.all(_o(e,i,r))}return n.then(()=>e.notify("AnimationComplete",t))}function lc(e,t){if(!Array.isArray(t))return!1;let r=t.length;if(r!==e.length)return!1;for(let n=0;nPromise.all(t.map(({animation:r,options:n})=>Po(e,r,n)))}function bm(e){let t=xm(e),r=wm(),n=!0,i=(l,c)=>{let u=Hn(e,c);if(u){let{transition:f,transitionEnd:d,...p}=u;l={...l,...p,...d}}return l};function o(l){t=l(e)}function a(l,c){let u=e.getProps(),f=e.getVariantContext(!0)||{},d=[],p=new Set,m={},y=1/0;for(let v=0;vy&&T,F=Array.isArray(S)?S:[S],I=F.reduce(i,{});w===!1&&(I={});let{prevResolvedValues:D={}}=g,z={...D,...I},M=_=>{k=!0,p.delete(_),g.needsAnimating[_]=!0};for(let _ in z){let $=I[_],R=D[_];m.hasOwnProperty(_)||($!==R?Sn($)&&Sn(R)?!lc($,R)||E?M(_):g.protectedKeys[_]=!0:$!==void 0?M(_):p.add(_):$!==void 0&&p.has(_)?M(_):g.protectedKeys[_]=!0)}g.prevProp=S,g.prevResolvedValues=I,g.isActive&&(m={...m,...I}),n&&e.blockInitialAnimation&&(k=!1),k&&!C&&d.push(...F.map(_=>({animation:_,options:{type:b,...l}})))}if(p.size){let v={};p.forEach(b=>{let g=e.getBaseTarget(b);g!==void 0&&(v[b]=g)}),d.push({animation:v})}let x=Boolean(d.length);return n&&u.initial===!1&&!e.manuallyAnimateOnMount&&(x=!1),n=!1,x?t(d):Promise.resolve()}function s(l,c,u){var f;if(r[l].isActive===c)return Promise.resolve();(f=e.variantChildren)===null||f===void 0||f.forEach(p=>{var m;return(m=p.animationState)===null||m===void 0?void 0:m.setActive(l,c)}),r[l].isActive=c;let d=a(u,l);for(let p in r)r[p].protectedKeys={};return d}return{animateChanges:a,setActive:s,setAnimateFunction:o,getState:()=>r}}function Sm(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!lc(t,e):!1}function Rt(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function wm(){return{animate:Rt(!0),whileInView:Rt(),whileHover:Rt(),whileTap:Rt(),whileDrag:Rt(),whileFocus:Rt(),exit:Rt()}}var ht=class{constructor(e){this.isMounted=!1,this.node=e}update(){}},Cm=class extends ht{constructor(e){super(e),e.animationState||(e.animationState=bm(e))}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();this.unmount(),_n(e)&&(this.unmount=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){}},Tm=0,Em=class extends ht{constructor(){super(...arguments),this.id=Tm++}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:t,custom:r}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===n)return;let i=this.node.animationState.setActive("exit",!e,{custom:r??this.node.getProps().custom});t&&!e&&i.then(()=>t(this.id))}mount(){let{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}},Io={animation:{Feature:Cm},exit:{Feature:Em}},Ki=(e,t)=>Math.abs(e-t);function cc(e,t){let r=Ki(e.x,t.x),n=Ki(e.y,t.y);return Math.sqrt(r**2+n**2)}function ke(e){return e.max-e.min}function qi(e,t=0,r=.01){return Math.abs(e-t)<=r}function xs(e,t,r,n=.5){e.origin=n,e.originPoint=Q(t.min,t.max,e.origin),e.scale=ke(r)/ke(t),(qi(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=Q(r.min,r.max,e.origin)-e.originPoint,(qi(e.translate)||isNaN(e.translate))&&(e.translate=0)}function wr(e,t,r,n){xs(e.x,t.x,r.x,n?n.originX:void 0),xs(e.y,t.y,r.y,n?n.originY:void 0)}function bs(e,t,r){e.min=r.min+t.min,e.max=e.min+ke(t)}function Rm(e,t,r){bs(e.x,t.x,r.x),bs(e.y,t.y,r.y)}function Ss(e,t,r){e.min=t.min-r.min,e.max=e.min+ke(t)}function Cr(e,t,r){Ss(e.x,t.x,r.x),Ss(e.y,t.y,r.y)}var ws=()=>({translate:0,scale:1,origin:0,originPoint:0}),Tr=()=>({x:ws(),y:ws()}),Cs=()=>({min:0,max:0}),se=()=>({x:Cs(),y:Cs()});function uc(){let e=P(qt);if(e===null)return[!0,null];let{isPresent:t,onExitComplete:r,register:n}=e,i=Tt();return A(()=>n(i),[]),!t&&r?[!1,()=>r&&r(i)]:[!0]}var km=(e,t)=>e.depth-t.depth,fc=class{constructor(){this.children=[],this.isDirty=!1}add(e){wo(this.children,e),this.isDirty=!0}remove(e){Dn(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(km),this.isDirty=!1,this.children.forEach(e)}};function dc(e,t){let r=performance.now(),n=({timestamp:i})=>{let o=i-r;o>=t&&(De.read(n),e(o-t))};return W.read(n,!0),()=>De.read(n)}var En={current:null},Fo={current:!1};function hc(){if(Fo.current=!0,!!Or)if(N.matchMedia){let e=N.matchMedia("(prefers-reduced-motion)"),t=()=>En.current=e.matches;e.addListener(t),t()}else En.current=!1}function _m(e,t,r){let{willChange:n}=t;for(let i in t){let o=t[i],a=r[i];if(fe(o))e.addValue(i,o),Tn(n)&&n.add(i);else if(fe(a))e.addValue(i,le(o,{owner:e})),Tn(n)&&n.remove(i);else if(a!==o)if(e.hasValue(i)){let s=e.getValue(i);!s.hasAnimated&&s.set(o)}else{let s=e.getStaticValue(i);e.addValue(i,le(s!==void 0?s:o,{owner:e}))}}for(let i in r)t[i]===void 0&&e.removeValue(i);return t}var Fr=new WeakMap,pc=Object.keys(_r),Pm=pc.length,Ts=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],Im=so.length,mc=class{constructor({parent:e,props:t,presenceContext:r,reducedMotionConfig:n,visualState:i},o={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,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.scheduleRender=()=>W.render(this.render,!1,!0);let{latestValues:a,renderState:s}=i;this.latestValues=a,this.baseTarget={...a},this.initialValues=t.initial?{...a}:{},this.renderState=s,this.parent=e,this.props=t,this.presenceContext=r,this.depth=e?e.depth+1:0,this.reducedMotionConfig=n,this.options=o,this.isControllingVariants=Pn(t),this.isVariantNode=wl(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(e&&e.current);let{willChange:l,...c}=this.scrapeMotionValuesFromProps(t,{});for(let u in c){let f=c[u];a[u]!==void 0&&fe(f)&&(f.set(a[u],!1),Tn(l)&&l.add(u))}}scrapeMotionValuesFromProps(e,t){return{}}mount(e){this.current=e,Fr.set(e,this),this.projection&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((t,r)=>this.bindToMotionValue(r,t)),Fo.current||hc(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:En.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){Fr.delete(this.current),this.projection&&this.projection.unmount(),De.update(this.notifyUpdate),De.render(this.render),this.valueSubscriptions.forEach(e=>e()),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)this.features[e].unmount();this.current=null}bindToMotionValue(e,t){let r=Ft.has(e),n=t.on("change",o=>{this.latestValues[e]=o,this.props.onUpdate&&W.update(this.notifyUpdate,!1,!0),r&&this.projection&&(this.projection.isTransformDirty=!0)}),i=t.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(e,()=>{n(),i()})}sortNodePosition(e){return!this.current||!this.sortInstanceNodePosition||this.type!==e.type?0:this.sortInstanceNodePosition(this.current,e.current)}loadFeatures({children:e,...t},r,n,i,o){let a,s;for(let l=0;lthis.scheduleRender(),animationType:typeof c=="string"?c:"both",initialPromotionConfig:o,layoutScroll:d,layoutRoot:p})}return s}updateFeatures(){for(let e in this.features){let t=this.features[e];t.isMounted?t.update(this.props,this.prevProps):(t.mount(),t.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):se()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}makeTargetAnimatable(e,t=!0){return this.makeTargetAnimatableFromInstance(e,this.props,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 r=0;rt.variantChildren.delete(e)}addValue(e,t){t!==this.values.get(e)&&(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 r=this.values.get(e);return r===void 0&&t!==void 0&&(r=le(t,{owner:this}),this.addValue(e,r)),r}readValue(e){return this.latestValues[e]!==void 0||!this.current?this.latestValues[e]:this.readValueFromInstance(this.current,e,this.options)}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){var t;let{initial:r}=this.props,n=typeof r=="string"||typeof r=="object"?(t=uo(this.props,r))===null||t===void 0?void 0:t[e]:void 0;if(r&&n!==void 0)return n;let i=this.getBaseTargetFromProps(this.props,e);return i!==void 0&&!fe(i)?i:this.initialValues[e]!==void 0&&n===void 0?void 0:this.baseTarget[e]}on(e,t){return this.events[e]||(this.events[e]=new Co),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}};function vc(e){function t(n,i={}){return Cl(e(n,i))}if(typeof Proxy>"u")return t;let r=new Map;return new Proxy(t,{get:(n,i)=>(r.has(i)||r.set(i,t(i)),r.get(i))})}var Fm=["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 Mo(e){return typeof e!="string"||e.includes("-")?!1:!!(Fm.indexOf(e)>-1||/[A-Z]/.test(e))}function gc(e,{layout:t,layoutId:r}){return Ft.has(e)||e.startsWith("origin")||(t||r!==void 0)&&(!!bn[e]||e==="opacity")}var yc=e=>t=>typeof t=="string"&&t.startsWith(e),xc=yc("--"),Zi=yc("var(--"),Mm=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function Lo(e,t,r,n){let{style:i,vars:o,transform:a,transformOrigin:s}=e,l=!1,c=!1,u=!0;for(let f in t){let d=t[f];if(xc(f)){o[f]=d;continue}let p=Jl[f],m=Mm(d,p);if(Ft.has(f)){if(l=!0,a[f]=m,!u)continue;d!==(p.default||0)&&(u=!1)}else f.startsWith("origin")?(c=!0,s[f]=m):i[f]=m}if(t.transform||(l||n?i.transform=Tl(e.transform,r,u,n):i.transform&&(i.transform="none")),c){let{originX:f="50%",originY:d="50%",originZ:p=0}=s;i.transformOrigin=`${f} ${d} ${p}`}}var Oo=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function bc(e,t,r){for(let n in t)!fe(t[n])&&!gc(n,r)&&(e[n]=t[n])}function Lm({transformTemplate:e},t,r){return ee(()=>{let n=Oo();return Lo(n,t,{enableHardwareAcceleration:!r},e),Object.assign({},n.vars,n.style)},[t])}function Om(e,t,r){let n=e.style||{},i={};return bc(i,n,e),Object.assign(i,Lm(e,t,r)),e.transformValues?e.transformValues(i):i}function Am(e,t,r){let n={},i=Om(e,t,r);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.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=i,n}function Es(e,t,r){return typeof e=="string"?e:O.transform(t+r*e)}function Vm(e,t,r){let n=Es(t,e.x,e.width),i=Es(r,e.y,e.height);return`${n} ${i}`}var Dm={offset:"stroke-dashoffset",array:"stroke-dasharray"},Bm={offset:"strokeDashoffset",array:"strokeDasharray"};function Hm(e,t,r=1,n=0,i=!0){e.pathLength=1;let o=i?Dm:Bm;e[o.offset]=O.transform(-n);let a=O.transform(t),s=O.transform(r);e[o.array]=`${a} ${s}`}function Ao(e,{attrX:t,attrY:r,originX:n,originY:i,pathLength:o,pathSpacing:a=1,pathOffset:s=0,...l},c,u,f){if(Lo(e,l,c,f),u){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:d,style:p,dimensions:m}=e;d.transform&&(m&&(p.transform=d.transform),delete d.transform),m&&(n!==void 0||i!==void 0||p.transform)&&(p.transformOrigin=Vm(m,n!==void 0?n:.5,i!==void 0?i:.5)),t!==void 0&&(d.x=t),r!==void 0&&(d.y=r),o!==void 0&&Hm(d,o,a,s,!1)}var Sc=()=>({...Oo(),attrs:{}}),Vo=e=>typeof e=="string"&&e.toLowerCase()==="svg";function zm(e,t,r,n){let i=ee(()=>{let o=Sc();return Ao(o,t,{enableHardwareAcceleration:!1},Vo(n),e.transformTemplate),{...o.attrs,style:{...o.style}}},[t]);if(e.style){let o={};bc(o,e.style,e),i.style={...o,...i.style}}return i}function Nm(e=!1){return(r,n,i,o,{latestValues:a},s)=>{let c=(Mo(r)?zm:Am)(n,a,s,r),f={...kl(n,typeof r=="string",e),...c,ref:o},{children:d}=n,p=ee(()=>fe(d)?d.get():d,[d]);return i&&(f["data-projection-id"]=i),q(r,{...f,children:p})}}function wc(e,{style:t,vars:r},n,i){Object.assign(e.style,t,i&&i.getProjectionStyles(n));for(let o in r)e.style.setProperty(o,r[o])}var Cc=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 Tc(e,t,r,n){wc(e,t,void 0,n);for(let i in t.attrs)e.setAttribute(Cc.has(i)?i:ho(i),t.attrs[i])}function Do(e,t){let{style:r}=e,n={};for(let i in r)(fe(r[i])||t.style&&fe(t.style[i])||gc(i,e))&&(n[i]=r[i]);return n}function Ec(e,t){let r=Do(e,t);for(let n in e)if(fe(e[n])||fe(t[n])){let i=n==="x"||n==="y"?"attr"+n.toUpperCase():n;r[i]=e[n]}return r}var $m={useVisualState:Fn({scrapeMotionValuesFromProps:Ec,createRenderState:Sc,onMount:(e,t,{renderState:r,latestValues:n})=>{try{r.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{r.dimensions={x:0,y:0,width:0,height:0}}Ao(r,n,{enableHardwareAcceleration:!1},Vo(t.tagName),e.transformTemplate),Tc(t,r)}})},Um={useVisualState:Fn({scrapeMotionValuesFromProps:Do,createRenderState:Oo})};function Rc(e,{forwardMotionProps:t=!1},r,n){return{...Mo(e)?$m:Um,preloadedFeatures:r,useRender:Nm(t),createVisualElement:n,Component:e}}function Rs(e,t){let r="pointer"+(t?"enter":"leave"),n="onHover"+(t?"Start":"End"),i=(o,a)=>{if(o.type==="touch"||fo())return;let s=e.getProps();e.animationState&&s.whileHover&&e.animationState.setActive("whileHover",t),s[n]&&W.update(()=>s[n](o,a))};return Ue(e.current,r,i,{passive:!e.getProps()[n]})}var Wm=class extends ht{mount(){this.unmount=et(Rs(this.node,!0),Rs(this.node,!1))}unmount(){}},jm=class extends ht{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=et(Qe(this.node.current,"focus",()=>this.onFocus()),Qe(this.node.current,"blur",()=>this.onBlur()))}unmount(){}},kc=(e,t)=>t?e===t?!0:kc(e,t.parentElement):!1;function Fi(e,t){if(!t)return;let r=new PointerEvent("pointer"+e);t(r,Mn(r))}var Gm=class extends ht{constructor(){super(...arguments),this.removeStartListeners=de,this.removeEndListeners=de,this.removeAccessibleListeners=de,this.startPointerPress=(e,t)=>{if(this.removeEndListeners(),this.isPressing)return;let r=this.node.getProps(),i=Ue(N,"pointerup",(a,s)=>{if(!this.checkPressEnd())return;let{onTap:l,onTapCancel:c}=this.node.getProps();W.update(()=>{kc(this.node.current,a.target)?l&&l(a,s):c&&c(a,s)})},{passive:!(r.onTap||r.onPointerUp)}),o=Ue(N,"pointercancel",(a,s)=>this.cancelPress(a,s),{passive:!(r.onTapCancel||r.onPointerCancel)});this.removeEndListeners=et(i,o),this.startPress(e,t)},this.startAccessiblePress=()=>{let e=i=>{if(i.key!=="Enter"||this.isPressing)return;let o=a=>{a.key!=="Enter"||!this.checkPressEnd()||Fi("up",(s,l)=>{let{onTap:c}=this.node.getProps();c&&W.update(()=>c(s,l))})};this.removeEndListeners(),this.removeEndListeners=Qe(this.node.current,"keyup",o),Fi("down",(a,s)=>{this.startPress(a,s)})},t=Qe(this.node.current,"keydown",e),r=()=>{this.isPressing&&Fi("cancel",(i,o)=>this.cancelPress(i,o))},n=Qe(this.node.current,"blur",r);this.removeAccessibleListeners=et(t,n)}}startPress(e,t){this.isPressing=!0;let{onTapStart:r,whileTap:n}=this.node.getProps();n&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),r&&W.update(()=>r(e,t))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!fo()}cancelPress(e,t){if(!this.checkPressEnd())return;let{onTapCancel:r}=this.node.getProps();r&&W.update(()=>r(e,t))}mount(){let e=this.node.getProps(),t=Ue(this.node.current,"pointerdown",this.startPointerPress,{passive:!(e.onTapStart||e.onPointerStart)}),r=Qe(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=et(t,r)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}},Ji=new WeakMap,Mi=new WeakMap,Xm=e=>{let t=Ji.get(e.target);t&&t(e)},Ym=e=>{e.forEach(Xm)};function Km({root:e,...t}){let r=e||document;Mi.has(r)||Mi.set(r,{});let n=Mi.get(r),i=JSON.stringify(t);return n[i]||(n[i]=new IntersectionObserver(Ym,{root:e,...t})),n[i]}function qm(e,t,r){let n=Km(t);return Ji.set(e,r),n.observe(e),()=>{Ji.delete(e),n.unobserve(e)}}var Zm={some:0,all:1},Jm=class extends ht{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:e={}}=this.node.getProps(),{root:t,margin:r,amount:n="some",once:i}=e,o={root:t?t.current:void 0,rootMargin:r,threshold:typeof n=="number"?n:Zm[n]},a=s=>{let{isIntersecting:l}=s;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(s)};return qm(this.node.current,o,a)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;let{props:e,prevProps:t}=this.node;["amount","margin","root"].some(Qm(e,t))&&this.startObserver()}unmount(){}};function Qm({viewport:e={}},{viewport:t={}}={}){return r=>e[r]!==t[r]}var _c={inView:{Feature:Jm},tap:{Feature:Gm},focus:{Feature:jm},hover:{Feature:Wm}},Pc=class{constructor(e,t,{transformPagePoint:r}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let l=Oi(this.lastMoveEventInfo,this.history),c=this.startEvent!==null,u=cc(l.offset,{x:0,y:0})>=3;if(!c&&!u)return;let{point:f}=l,{timestamp:d}=ue;this.history.push({...f,timestamp:d});let{onStart:p,onMove:m}=this.handlers;c||(p&&p(this.lastMoveEvent,l),this.startEvent=this.lastMoveEvent),m&&m(this.lastMoveEvent,l)},this.handlePointerMove=(l,c)=>{this.lastMoveEvent=l,this.lastMoveEventInfo=Li(c,this.transformPagePoint),W.update(this.updatePoint,!0)},this.handlePointerUp=(l,c)=>{if(this.end(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let{onEnd:u,onSessionEnd:f}=this.handlers,d=Oi(l.type==="pointercancel"?this.lastMoveEventInfo:Li(c,this.transformPagePoint),this.history);this.startEvent&&u&&u(l,d),f&&f(l,d)},!_l(e))return;this.handlers=t,this.transformPagePoint=r;let n=Mn(e),i=Li(n,this.transformPagePoint),{point:o}=i,{timestamp:a}=ue;this.history=[{...o,timestamp:a}];let{onSessionStart:s}=t;s&&s(e,Oi(i,this.history)),this.removeListeners=et(Ue(N,"pointermove",this.handlePointerMove),Ue(N,"pointerup",this.handlePointerUp),Ue(N,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),De.update(this.updatePoint)}};function Li(e,t){return t?{point:t(e.point)}:e}function ks(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Oi({point:e},t){return{point:e,delta:ks(e,Ic(t)),offset:ks(e,ev(t)),velocity:tv(t,.1)}}function ev(e){return e[0]}function Ic(e){return e[e.length-1]}function tv(e,t){if(e.length<2)return{x:0,y:0};let r=e.length-1,n=null,i=Ic(e);for(;r>=0&&(n=e[r],!(i.timestamp-n.timestamp>tt(t)));)r--;if(!n)return{x:0,y:0};let o=We(i.timestamp-n.timestamp);if(o===0)return{x:0,y:0};let a={x:(i.x-n.x)/o,y:(i.y-n.y)/o};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function rv(e,{min:t,max:r},n){return t!==void 0&&er&&(e=n?Q(r,e,n.max):Math.min(e,r)),e}function _s(e,t,r){return{min:t!==void 0?e.min+t:void 0,max:r!==void 0?e.max+r-(e.max-e.min):void 0}}function nv(e,{top:t,left:r,bottom:n,right:i}){return{x:_s(e.x,r,i),y:_s(e.y,t,n)}}function Ps(e,t){let r=t.min-e.min,n=t.max-e.max;return t.max-t.minn?r=dt(t.min,t.max-n,e.min):n>i&&(r=dt(e.min,e.max-i,t.min)),ft(0,1,r)}function av(e,t){let r={};return t.min!==void 0&&(r.min=t.min-e.min),t.max!==void 0&&(r.max=t.max-e.min),r}var Qi=.35;function sv(e=Qi){return e===!1?e=0:e===!0&&(e=Qi),{x:Is(e,"left","right"),y:Is(e,"top","bottom")}}function Is(e,t,r){return{min:Fs(e,t),max:Fs(e,r)}}function Fs(e,t){return typeof e=="number"?e:e[t]||0}function Ne(e){return[e("x"),e("y")]}function Fc({top:e,left:t,right:r,bottom:n}){return{x:{min:t,max:r},y:{min:e,max:n}}}function lv({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function cv(e,t){if(!t)return e;let r=t({x:e.left,y:e.top}),n=t({x:e.right,y:e.bottom});return{top:r.y,left:r.x,bottom:n.y,right:n.x}}function Ai(e){return e===void 0||e===1}function eo({scale:e,scaleX:t,scaleY:r}){return!Ai(e)||!Ai(t)||!Ai(r)}function kt(e){return eo(e)||Mc(e)||e.z||e.rotate||e.rotateX||e.rotateY}function Mc(e){return Ms(e.x)||Ms(e.y)}function Ms(e){return e&&e!=="0%"}function Rn(e,t,r){let n=e-r,i=t*n;return r+i}function Ls(e,t,r,n,i){return i!==void 0&&(e=Rn(e,i,n)),Rn(e,r,n)+t}function to(e,t=0,r=1,n,i){e.min=Ls(e.min,t,r,n,i),e.max=Ls(e.max,t,r,n,i)}function Lc(e,{x:t,y:r}){to(e.x,t.translate,t.scale,t.originPoint),to(e.y,r.translate,r.scale,r.originPoint)}function uv(e,t,r,n=!1){let i=r.length;if(!i)return;t.x=t.y=1;let o,a;for(let s=0;s1.0000000000001||e<.999999999999?e:1}function lt(e,t){e.min=e.min+t,e.max=e.max+t}function As(e,t,[r,n,i]){let o=t[i]!==void 0?t[i]:.5,a=Q(e.min,e.max,o);to(e,t[r],t[n],a,t.scale)}var fv=["x","scaleX","originX"],dv=["y","scaleY","originY"];function Xt(e,t){As(e.x,t,fv),As(e.y,t,dv)}function Oc(e,t){return Fc(cv(e.getBoundingClientRect(),t))}function hv(e,t,r){let n=Oc(e,r),{scroll:i}=t;return i&&(lt(n.x,i.offset.x),lt(n.y,i.offset.y)),n}var pv=new WeakMap,mv=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=se(),this.visualElement=e}start(e,{snapToCursor:t=!1}={}){let{presenceContext:r}=this.visualElement;if(r&&r.isPresent===!1)return;let n=s=>{this.stopAnimation(),t&&this.snapToCursor(Mn(s,"page").point)},i=(s,l)=>{let{drag:c,dragPropagation:u,onDragStart:f}=this.getProps();if(c&&!u&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=Fl(c),!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),Ne(p=>{let m=this.getAxisMotionValue(p).get()||0;if($e.test(m)){let{projection:y}=this.visualElement;if(y&&y.layout){let x=y.layout.layoutBox[p];x&&(m=ke(x)*(parseFloat(m)/100))}}this.originPoint[p]=m}),f&&W.update(()=>f(s,l));let{animationState:d}=this.visualElement;d&&d.setActive("whileDrag",!0)},o=(s,l)=>{let{dragPropagation:c,dragDirectionLock:u,onDirectionLock:f,onDrag:d}=this.getProps();if(!c&&!this.openGlobalLock)return;let{offset:p}=l;if(u&&this.currentDirection===null){this.currentDirection=vv(p),this.currentDirection!==null&&f&&f(this.currentDirection);return}this.updateAxis("x",l.point,p),this.updateAxis("y",l.point,p),this.visualElement.render(),d&&d(s,l)},a=(s,l)=>this.stop(s,l);this.panSession=new Pc(e,{onSessionStart:n,onStart:i,onMove:o,onSessionEnd:a},{transformPagePoint:this.visualElement.getTransformPagePoint()})}stop(e,t){let r=this.isDragging;if(this.cancel(),!r)return;let{velocity:n}=t;this.startAnimation(n);let{onDragEnd:i}=this.getProps();i&&W.update(()=>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:r}=this.getProps();!r&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),t&&t.setActive("whileDrag",!1)}updateAxis(e,t,r){let{drag:n}=this.getProps();if(!r||!vn(e,n,this.currentDirection))return;let i=this.getAxisMotionValue(e),o=this.originPoint[e]+r[e];this.constraints&&this.constraints[e]&&(o=rv(o,this.constraints[e],this.elastic[e])),i.set(o)}resolveConstraints(){let{dragConstraints:e,dragElastic:t}=this.getProps(),{layout:r}=this.visualElement.projection||{},n=this.constraints;e&&jt(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&r?this.constraints=nv(r.layoutBox,e):this.constraints=!1,this.elastic=sv(t),n!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&Ne(i=>{this.getAxisMotionValue(i)&&(this.constraints[i]=av(r.layoutBox[i],this.constraints[i]))})}resolveRefConstraints(){let{dragConstraints:e,onMeasureDragConstraints:t}=this.getProps();if(!e||!jt(e))return!1;let r=e.current;ge(r!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:n}=this.visualElement;if(!n||!n.layout)return!1;let i=hv(r,n.root,this.visualElement.getTransformPagePoint()),o=iv(n.layout.layoutBox,i);if(t){let a=t(lv(o));this.hasMutatedConstraints=!!a,a&&(o=Fc(a))}return o}startAnimation(e){let{drag:t,dragMomentum:r,dragElastic:n,dragTransition:i,dragSnapToOrigin:o,onDragTransitionEnd:a}=this.getProps(),s=this.constraints||{},l=Ne(c=>{if(!vn(c,t,this.currentDirection))return;let u=s&&s[c]||{};o&&(u={min:0,max:0});let f=n?200:1e6,d=n?40:1e7,p={type:"inertia",velocity:r?e[c]:0,bounceStiffness:f,bounceDamping:d,timeConstant:750,restDelta:1,restSpeed:10,...i,...u};return this.startAxisValueAnimation(c,p)});return Promise.all(l).then(a)}startAxisValueAnimation(e,t){let r=this.getAxisMotionValue(e);return r.start(ko(e,r,0,t))}stopAnimation(){Ne(e=>this.getAxisMotionValue(e).stop())}getAxisMotionValue(e){let t="_drag"+e.toUpperCase(),r=this.visualElement.getProps(),n=r[t];return n||this.visualElement.getValue(e,(r.initial?r.initial[e]:void 0)||0)}snapToCursor(e){Ne(t=>{let{drag:r}=this.getProps();if(!vn(t,r,this.currentDirection))return;let{projection:n}=this.visualElement,i=this.getAxisMotionValue(t);if(n&&n.layout){let{min:o,max:a}=n.layout.layoutBox[t];i.set(e[t]-Q(o,a,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:r}=this.visualElement;if(!jt(t)||!r||!this.constraints)return;this.stopAnimation();let n={x:0,y:0};Ne(o=>{let a=this.getAxisMotionValue(o);if(a){let s=a.get();n[o]=ov({min:s,max:s},this.constraints[o])}});let{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),Ne(o=>{if(!vn(o,e,null))return;let a=this.getAxisMotionValue(o),{min:s,max:l}=this.constraints[o];a.set(Q(s,l,n[o]))})}addListeners(){if(!this.visualElement.current)return;pv.set(this.visualElement,this);let e=this.visualElement.current,t=Ue(e,"pointerdown",s=>{let{drag:l,dragListener:c=!0}=this.getProps();l&&c&&this.start(s)}),r=()=>{let{dragConstraints:s}=this.getProps();jt(s)&&(this.constraints=this.resolveRefConstraints())},{projection:n}=this.visualElement,i=n.addEventListener("measure",r);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),r();let o=Qe(N,"resize",()=>this.scalePositionWithinConstraints()),a=n.addEventListener("didUpdate",({delta:s,hasLayoutChanged:l})=>{this.isDragging&&l&&(Ne(c=>{let u=this.getAxisMotionValue(c);u&&(this.originPoint[c]+=s[c].translate,u.set(u.get()+s[c].translate))}),this.visualElement.render())});return()=>{o(),t(),i(),a&&a()}}getProps(){let e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:r=!1,dragPropagation:n=!1,dragConstraints:i=!1,dragElastic:o=Qi,dragMomentum:a=!0}=e;return{...e,drag:t,dragDirectionLock:r,dragPropagation:n,dragConstraints:i,dragElastic:o,dragMomentum:a}}};function vn(e,t,r){return(t===!0||t===e)&&(r===null||r===e)}function vv(e,t=10){let r=null;return Math.abs(e.y)>t?r="y":Math.abs(e.x)>t&&(r="x"),r}var gv=class extends ht{constructor(e){super(e),this.removeGroupControls=de,this.removeListeners=de,this.controls=new mv(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||de}unmount(){this.removeGroupControls(),this.removeListeners()}},Vs=e=>(t,r)=>{e&&W.update(()=>e(t,r))},yv=class extends ht{constructor(){super(...arguments),this.removePointerDownListener=de}onPointerDown(e){this.session=new Pc(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint()})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:r,onPanEnd:n}=this.node.getProps();return{onSessionStart:Vs(e),onStart:Vs(t),onMove:r,onEnd:(i,o)=>{delete this.session,n&&W.update(()=>n(i,o))}}}mount(){this.removePointerDownListener=Ue(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}};function Ds(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var vr={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(O.test(e))e=parseFloat(e);else return e;let r=Ds(e,t.target.x),n=Ds(e,t.target.y);return`${r}% ${n}%`}},Ac=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function xv(e){let t=Ac.exec(e);if(!t)return[,];let[,r,n]=t;return[r,n]}var bv=4;function ro(e,t,r=1){ge(r<=bv,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);let[n,i]=xv(e);if(!n)return;let o=N.getComputedStyle(t).getPropertyValue(n);return o?o.trim():Zi(i)?ro(i,t,r+1):i}function Sv(e,{...t},r){let n=e.current;if(!(n instanceof Element))return{target:t,transitionEnd:r};r&&(r={...r}),e.values.forEach(i=>{let o=i.get();if(!Zi(o))return;let a=ro(o,n);a&&i.set(a)});for(let i in t){let o=t[i];if(!Zi(o))continue;let a=ro(o,n);a&&(t[i]=a,r||(r={}),r[i]===void 0&&(r[i]=o))}return{target:t,transitionEnd:r}}var Bs="_$css",wv={correct:(e,{treeScale:t,projectionDelta:r})=>{let n=e,i=e.includes("var("),o=[];i&&(e=e.replace(Ac,p=>(o.push(p),Bs)));let a=je.parse(e);if(a.length>5)return n;let s=je.createTransformer(e),l=typeof a[0]!="number"?1:0,c=r.x.scale*t.x,u=r.y.scale*t.y;a[0+l]/=c,a[1+l]/=u;let f=Q(c,u,.5);typeof a[2+l]=="number"&&(a[2+l]/=f),typeof a[3+l]=="number"&&(a[3+l]/=f);let d=s(a);if(i){let p=0;d=d.replace(Bs,()=>{let m=o[p];return p++,m})}return d}},Cv=class extends h.Component{componentDidMount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:r,layoutId:n}=this.props,{projection:i}=e;co(Tv),i&&(t.group&&t.group.add(i),r&&r.register&&n&&r.register(i),i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,onExitComplete:()=>this.safeToRemove()})),xr.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:t,visualElement:r,drag:n,isPresent:i}=this.props,o=r.projection;return o&&(o.isPresent=i,n||e.layoutDependency!==t||t===void 0?o.willUpdate():this.safeToRemove(),e.isPresent!==i&&(i?o.promote():o.relegate()||W.postRender(()=>{let a=o.getStack();(!a||!a.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){let{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),!e.currentAnimation&&e.isLead()&&this.safeToRemove())}componentWillUnmount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:r}=this.props,{projection:n}=e;n&&(n.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(n),r&&r.deregister&&r.deregister(n))}safeToRemove(){let{safeToRemove:e}=this.props;e&&e()}render(){return null}};function Vc(e){let[t,r]=uc(),n=P(Rr);return h.createElement(Cv,{...e,layoutGroup:n,switchLayoutGroup:P(kn),isPresent:t,safeToRemove:r})}var Tv={borderRadius:{...vr,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:vr,borderTopRightRadius:vr,borderBottomLeftRadius:vr,borderBottomRightRadius:vr,boxShadow:wv},Dc=["TopLeft","TopRight","BottomLeft","BottomRight"],Ev=Dc.length,Hs=e=>typeof e=="string"?parseFloat(e):e,zs=e=>typeof e=="number"||O.test(e);function Rv(e,t,r,n,i,o){i?(e.opacity=Q(0,r.opacity!==void 0?r.opacity:1,kv(n)),e.opacityExit=Q(t.opacity!==void 0?t.opacity:1,0,_v(n))):o&&(e.opacity=Q(t.opacity!==void 0?t.opacity:1,r.opacity!==void 0?r.opacity:1,n));for(let a=0;ant?1:r(dt(e,t,n))}function $s(e,t){e.min=t.min,e.max=t.max}function Ve(e,t){$s(e.x,t.x),$s(e.y,t.y)}function Us(e,t,r,n,i){return e-=t,e=Rn(e,1/r,n),i!==void 0&&(e=Rn(e,1/i,n)),e}function Pv(e,t=0,r=1,n=.5,i,o=e,a=e){if($e.test(t)&&(t=parseFloat(t),t=Q(a.min,a.max,t/100)-a.min),typeof t!="number")return;let s=Q(o.min,o.max,n);e===o&&(s-=t),e.min=Us(e.min,t,r,s,i),e.max=Us(e.max,t,r,s,i)}function Ws(e,t,[r,n,i],o,a){Pv(e,t[r],t[n],t[i],t.scale,o,a)}var Iv=["x","scaleX","originX"],Fv=["y","scaleY","originY"];function js(e,t,r,n){Ws(e.x,t,Iv,r?r.x:void 0,n?n.x:void 0),Ws(e.y,t,Fv,r?r.y:void 0,n?n.y:void 0)}function Gs(e){return e.translate===0&&e.scale===1}function Hc(e){return Gs(e.x)&&Gs(e.y)}function no(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}function Xs(e){return ke(e.x)/ke(e.y)}var Mv=class{constructor(){this.members=[]}add(e){wo(this.members,e),e.scheduleRender()}remove(e){if(Dn(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(n=>e===n);if(t===0)return!1;let r;for(let n=t;n>=0;n--){let i=this.members[n];if(i.isPresent!==!1){r=i;break}}return r?(this.promote(r),!0):!1}promote(e,t){let r=this.lead;if(e!==r&&(this.prevLead=r,this.lead=e,e.show(),r)){r.instance&&r.scheduleRender(),e.scheduleRender(),e.resumeFrom=r,t&&(e.resumeFrom.preserveOpacity=!0),r.snapshot&&(e.snapshot=r.snapshot,e.snapshot.latestValues=r.animationValues||r.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);let{crossfade:n}=e.options;n===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(e=>{let{options:t,resumingFrom:r}=e;t.onExitComplete&&t.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}};function Ys(e,t,r){let n="",i=e.x.translate/t.x,o=e.y.translate/t.y;if((i||o)&&(n=`translate3d(${i}px, ${o}px, 0) `),(t.x!==1||t.y!==1)&&(n+=`scale(${1/t.x}, ${1/t.y}) `),r){let{rotate:l,rotateX:c,rotateY:u}=r;l&&(n+=`rotate(${l}deg) `),c&&(n+=`rotateX(${c}deg) `),u&&(n+=`rotateY(${u}deg) `)}let a=e.x.scale*t.x,s=e.y.scale*t.y;return(a!==1||s!==1)&&(n+=`scale(${a}, ${s})`),n||"none"}function Lv(e){N.MotionDebug&&N.MotionDebug.record(e)}function zc(e){return e instanceof SVGElement&&e.tagName!=="svg"}function Bo(e,t,r){let n=fe(e)?e:le(e);return n.start(ko("",n,t,r)),n.animation}var Ks=["","X","Y","Z"],qs=1e3,Ov=0,_t={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function Nc({attachResizeListener:e,defaultParent:t,measureScroll:r,checkIsScrollRoot:n,resetTransform:i}){return class{constructor(a,s={},l=t?.()){this.id=Ov++,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.treeScale={x:1,y:1},this.eventHandlers=new Map,this.potentialNodes=new Map,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{_t.totalNodes=_t.resolvedTargetDeltas=_t.recalculatedProjection=0,this.nodes.forEach(Dv),this.nodes.forEach(Nv),this.nodes.forEach($v),this.nodes.forEach(Bv),Lv(_t)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.elementId=a,this.latestValues=s,this.root=l?l.root||l:this,this.path=l?[...l.path,l]:[],this.parent=l,this.depth=l?l.depth+1:0,a&&this.root.registerPotentialNode(a,this);for(let c=0;cthis.root.updateBlockedByResize=!1;e(a,()=>{this.root.updateBlockedByResize=!0,f&&f(),f=dc(d,250),xr.hasAnimatedSinceResize&&(xr.hasAnimatedSinceResize=!1,this.nodes.forEach(Js))})}l&&this.root.registerSharedNode(l,this),this.options.animate!==!1&&u&&(l||c)&&this.addEventListener("didUpdate",({delta:f,hasLayoutChanged:d,hasRelativeTargetChanged:p,layout:m})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let y=this.options.transition||u.getDefaultTransition()||Xv,{onLayoutAnimationStart:x,onLayoutAnimationComplete:v}=u.getProps(),b=!this.targetLayout||!no(this.targetLayout,m)||p,g=!d&&p;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||g||d&&(b||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(f,g);let S={...sc(y,"layout"),onPlay:x,onComplete:v};(u.shouldReduceMotion||this.options.layoutRoot)&&(S.delay=0,S.type=!1),this.startAnimation(S)}else!d&&this.animationProgress===0&&Js(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=m})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let a=this.getStack();a&&a.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,De.preRender(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(Uv),this.animationId++)}getTransformTemplate(){let{visualElement:a}=this.options;return a&&a.getProps().transformTemplate}willUpdate(a=!0){if(this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(!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 T=S/1e3;Qs(f.x,a.x,T),Qs(f.y,a.y,T),this.setTargetDelta(f),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Cr(d,this.layout.layoutBox,this.relativeParent.layout.layoutBox),jv(this.relativeTarget,this.relativeTargetOrigin,d,T),g&&no(this.relativeTarget,g)&&(this.isProjectionDirty=!1),g||(g=se()),Ve(g,this.relativeTarget)),y&&(this.animationValues=u,Rv(u,c,this.latestValues,T,b,v)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=T},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(a){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(De.update(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=W.update(()=>{xr.hasAnimatedSinceResize=!0,this.currentAnimation=Bo(0,qs,{...a,onUpdate:s=>{this.mixTargetDelta(s),a.onUpdate&&a.onUpdate(s)},onComplete:()=>{a.onComplete&&a.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 a=this.getStack();a&&a.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(qs),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let a=this.getLead(),{targetWithTransforms:s,target:l,layout:c,latestValues:u}=a;if(!(!s||!l||!c)){if(this!==a&&this.layout&&c&&$c(this.options.animationType,this.layout.layoutBox,c.layoutBox)){l=this.target||se();let f=ke(this.layout.layoutBox.x);l.x.min=a.target.x.min,l.x.max=l.x.min+f;let d=ke(this.layout.layoutBox.y);l.y.min=a.target.y.min,l.y.max=l.y.min+d}Ve(s,l),Xt(s,u),wr(this.projectionDeltaWithTransform,this.layoutCorrected,s,u)}}registerSharedNode(a,s){this.sharedNodes.has(a)||this.sharedNodes.set(a,new Mv),this.sharedNodes.get(a).add(s);let c=s.options.initialPromotionConfig;s.promote({transition:c?c.transition:void 0,preserveFollowOpacity:c&&c.shouldPreserveFollowOpacity?c.shouldPreserveFollowOpacity(s):void 0})}isLead(){let a=this.getStack();return a?a.lead===this:!0}getLead(){var a;let{layoutId:s}=this.options;return s?((a=this.getStack())===null||a===void 0?void 0:a.lead)||this:this}getPrevLead(){var a;let{layoutId:s}=this.options;return s?(a=this.getStack())===null||a===void 0?void 0:a.prevLead:void 0}getStack(){let{layoutId:a}=this.options;if(a)return this.root.sharedNodes.get(a)}promote({needsReset:a,transition:s,preserveFollowOpacity:l}={}){let c=this.getStack();c&&c.promote(this,l),a&&(this.projectionDelta=void 0,this.needsReset=!0),s&&this.setOptions({transition:s})}relegate(){let a=this.getStack();return a?a.relegate(this):!1}resetRotation(){let{visualElement:a}=this.options;if(!a)return;let s=!1,{latestValues:l}=a;if((l.rotate||l.rotateX||l.rotateY||l.rotateZ)&&(s=!0),!s)return;let c={};for(let u=0;u{var s;return(s=a.currentAnimation)===null||s===void 0?void 0:s.stop()}),this.root.nodes.forEach(Zs),this.root.sharedNodes.clear()}}}function Av(e){e.updateLayout()}function Vv(e){var t;let r=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&r&&e.hasListeners("didUpdate")){let{layoutBox:n,measuredBox:i}=e.layout,{animationType:o}=e.options,a=r.source!==e.layout.source;o==="size"?Ne(f=>{let d=a?r.measuredBox[f]:r.layoutBox[f],p=ke(d);d.min=n[f].min,d.max=d.min+p}):$c(o,r.layoutBox,n)&&Ne(f=>{let d=a?r.measuredBox[f]:r.layoutBox[f],p=ke(n[f]);d.max=d.min+p,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[f].max=e.relativeTarget[f].min+p)});let s=Tr();wr(s,n,r.layoutBox);let l=Tr();a?wr(l,e.applyTransform(i,!0),r.measuredBox):wr(l,n,r.layoutBox);let c=!Hc(s),u=!1;if(!e.resumeFrom){let f=e.getClosestProjectingParent();if(f&&!f.resumeFrom){let{snapshot:d,layout:p}=f;if(d&&p){let m=se();Cr(m,r.layoutBox,d.layoutBox);let y=se();Cr(y,n,p.layoutBox),no(m,y)||(u=!0),f.options.layoutRoot&&(e.relativeTarget=y,e.relativeTargetOrigin=m,e.relativeParent=f)}}}e.notifyListeners("didUpdate",{layout:n,snapshot:r,delta:l,layoutDelta:s,hasLayoutChanged:c,hasRelativeTargetChanged:u})}else if(e.isLead()){let{onExitComplete:n}=e.options;n&&n()}e.options.transition=void 0}function Dv(e){_t.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=Boolean(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function Bv(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function Hv(e){e.clearSnapshot()}function Zs(e){e.clearMeasurements()}function zv(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Js(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0}function Nv(e){e.resolveTargetDelta()}function $v(e){e.calcProjection()}function Uv(e){e.resetRotation()}function Wv(e){e.removeLeadSnapshot()}function Qs(e,t,r){e.translate=Q(t.translate,0,r),e.scale=Q(t.scale,1,r),e.origin=t.origin,e.originPoint=t.originPoint}function el(e,t,r,n){e.min=Q(t.min,r.min,n),e.max=Q(t.max,r.max,n)}function jv(e,t,r,n){el(e.x,t.x,r.x,n),el(e.y,t.y,r.y,n)}function Gv(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}var Xv={duration:.45,ease:[.4,0,.1,1]};function Yv(e,t){let r=e.root;for(let o=e.path.length-1;o>=0;o--)if(Boolean(e.path[o].instance)){r=e.path[o];break}let i=(r&&r!==e.root?r.instance:document).querySelector(`[data-projection-id="${t}"]`);i&&e.mount(i,!0)}function tl(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function Kv(e){tl(e.x),tl(e.y)}function $c(e,t,r){return e==="position"||e==="preserve-aspect"&&!qi(Xs(t),Xs(r),.2)}var qv=Nc({attachResizeListener:(e,t)=>Qe(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),It={current:void 0},Uc=Nc({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!It.current){let e=new qv(0,{});e.mount(N),e.setOptions({layoutScroll:!0}),It.current=e}return It.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>Boolean(N.getComputedStyle(e).position==="fixed")}),Wc={pan:{Feature:yv},drag:{Feature:gv,ProjectionNode:Uc,MeasureLayout:Vc}},Zv=new Set(["width","height","top","left","right","bottom","x","y"]),jc=e=>Zv.has(e),Jv=e=>Object.keys(e).some(jc),gn=e=>e===Mt||e===O,rl=(e,t)=>parseFloat(e.split(", ")[t]),nl=(e,t)=>(r,{transform:n})=>{if(n==="none"||!n)return 0;let i=n.match(/^matrix3d\((.+)\)$/);if(i)return rl(i[1],t);{let o=n.match(/^matrix\((.+)\)$/);return o?rl(o[1],e):0}},Qv=new Set(["x","y","z"]),eg=In.filter(e=>!Qv.has(e));function tg(e){let t=[];return eg.forEach(r=>{let n=e.getValue(r);n!==void 0&&(t.push([r,n.get()]),n.set(r.startsWith("scale")?1:0))}),t.length&&e.render(),t}var il={width:({x:e},{paddingLeft:t="0",paddingRight:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),height:({y:e},{paddingTop:t="0",paddingBottom:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),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:nl(4,13),y:nl(5,14)},rg=(e,t,r)=>{let n=t.measureViewportBox(),i=t.current,o=getComputedStyle(i),{display:a}=o,s={};a==="none"&&t.setStaticValue("display",e.display||"block"),r.forEach(c=>{s[c]=il[c](n,o)}),t.render();let l=t.measureViewportBox();return r.forEach(c=>{let u=t.getValue(c);u&&u.jump(s[c]),e[c]=il[c](l,o)}),e},ng=(e,t,r={},n={})=>{t={...t},n={...n};let i=Object.keys(t).filter(jc),o=[],a=!1,s=[];if(i.forEach(l=>{let c=e.getValue(l);if(!e.hasValue(l))return;let u=r[l],f=mr(u),d=t[l],p;if(Sn(d)){let m=d.length,y=d[0]===null?1:0;u=d[y],f=mr(u);for(let x=y;x=0?N.pageYOffset:null,c=rg(t,e,s);return o.length&&o.forEach(([u,f])=>{e.getValue(u).set(f)}),e.render(),Or&&l!==null&&N.scrollTo({top:l}),{target:c,transitionEnd:n}}else return{target:t,transitionEnd:n}};function ig(e,t,r,n){return Jv(t)?ng(e,t,r,n):{target:t,transitionEnd:n}}var og=(e,t,r,n)=>{let i=Sv(e,t,n);return t=i.target,n=i.transitionEnd,ig(e,t,r,n)},Gc=class extends mc{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:r}){delete t[e],delete r[e]}makeTargetAnimatableFromInstance({transition:e,transitionEnd:t,...r},{transformValues:n},i){let o=Jp(r,e||{},this);if(n&&(t&&(t=n(t)),r&&(r=n(r)),o&&(o=n(o))),i){tc(this,r,o);let a=og(this,r,o,t);t=a.transitionEnd,r=a.target}return{transition:e,transitionEnd:t,...r}}};function ag(e){return N.getComputedStyle(e)}var Xc=class extends Gc{readValueFromInstance(e,t){if(Ft.has(t)){let r=To(t);return r&&r.default||0}else{let r=ag(e),n=(xc(t)?r.getPropertyValue(t):r[t])||0;return typeof n=="string"?n.trim():n}}measureInstanceViewportBox(e,{transformPagePoint:t}){return Oc(e,t)}build(e,t,r,n){Lo(e,t,r,n.transformTemplate)}scrapeMotionValuesFromProps(e,t){return Do(e,t)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;fe(e)&&(this.childSubscription=e.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}renderInstance(e,t,r,n){wc(e,t,r,n)}},Yc=class extends Gc{constructor(){super(...arguments),this.isSVGTag=!1}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(Ft.has(t)){let r=To(t);return r&&r.default||0}return t=Cc.has(t)?t:ho(t),e.getAttribute(t)}measureInstanceViewportBox(){return se()}scrapeMotionValuesFromProps(e,t){return Ec(e,t)}build(e,t,r,n){Ao(e,t,r,this.isSVGTag,n.transformTemplate)}renderInstance(e,t,r,n){Tc(e,t,r,n)}mount(e){this.isSVGTag=Vo(e.tagName),super.mount(e)}},Kc=(e,t)=>Mo(e)?new Yc(t,{enableHardwareAcceleration:!1}):new Xc(t,{enableHardwareAcceleration:!0}),qc={layout:{ProjectionNode:Uc,MeasureLayout:Vc}},sg={...Io,..._c,...Wc,...qc},Pe=vc((e,t)=>Rc(e,t,sg,Kc));var lg=vc(Rc);function Zc(){let e=L(!1);return ut(()=>(e.current=!0,()=>{e.current=!1}),[]),e}function zn(){let e=Zc(),[t,r]=Re(0),n=ae(()=>{e.current&&r(t+1)},[t]);return[ae(()=>W.postRender(n),[n]),t]}function Jc(e){return A(()=>()=>e(),[])}var cg=class extends ne{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){let r=this.props.sizeRef.current;r.height=t.offsetHeight||0,r.width=t.offsetWidth||0,r.top=t.offsetTop,r.left=t.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}};function ug({children:e,isPresent:t}){let r=Tt(),n=L(null),i=L({width:0,height:0,top:0,left:0});return Et(()=>{let{width:o,height:a,top:s,left:l}=i.current;if(t||!n.current||!o||!a)return;n.current.dataset.motionPopId=r;let c=document.createElement("style");return document.head.appendChild(c),c.sheet&&c.sheet.insertRule(` [data-motion-pop-id="${r}"] { position: absolute !important; width: ${o}px !important; height: ${a}px !important; top: ${s}px !important; left: ${l}px !important; } `),()=>{document.head.removeChild(c)}},[t]),q(cg,{isPresent:t,childRef:n,sizeRef:i},Ct(e,{ref:n}))}var Vi=({children:e,initial:t,isPresent:r,onExitComplete:n,custom:i,presenceAffectsLayout:o,mode:a})=>{let s=Xe(fg),l=Tt(),c=ee(()=>({id:l,initial:t,isPresent:r,custom:i,onExitComplete:u=>{s.set(u,!0);for(let f of s.values())if(!f)return;n&&n()},register:u=>(s.set(u,!1),()=>s.delete(u))}),o?void 0:[r]);return ee(()=>{s.forEach((u,f)=>s.set(f,!1))},[r]),A(()=>{!r&&!s.size&&n&&n()},[r]),a==="popLayout"&&(e=q(ug,{isPresent:r},e)),q(qt.Provider,{value:c},e)};function fg(){return new Map}var Wt=e=>e.key||"";function dg(e,t){e.forEach(r=>{let n=Wt(r);t.set(n,r)})}function hg(e){let t=[];return hr.forEach(e,r=>{Ut(r)&&t.push(r)}),t}var Ho=({children:e,custom:t,initial:r=!0,onExitComplete:n,exitBeforeEnter:i,presenceAffectsLayout:o=!0,mode:a="sync"})=>{ge(!i,"Replace exitBeforeEnter with mode='wait'");let[s]=zn(),l=P(Rr).forceRender;l&&(s=l);let c=Zc(),u=hg(e),f=u,d=new Set,p=L(f),m=L(new Map).current,y=L(!0);if(ut(()=>{y.current=!1,dg(u,m),p.current=f}),Jc(()=>{y.current=!0,m.clear(),d.clear()}),y.current)return q(hn,null,f.map(g=>q(Vi,{key:Wt(g),isPresent:!0,initial:r?void 0:!1,presenceAffectsLayout:o,mode:a},g)));f=[...f];let x=p.current.map(Wt),v=u.map(Wt),b=x.length;for(let g=0;g{if(v.indexOf(g)!==-1)return;let S=m.get(g);if(!S)return;let T=x.indexOf(g),w=()=>{m.delete(g),d.delete(g);let C=p.current.findIndex(E=>E.key===g);if(p.current.splice(C,1),!d.size){if(p.current=u,c.current===!1)return;s(),n&&n()}};f.splice(T,0,q(Vi,{key:Wt(S),isPresent:!1,onExitComplete:w,custom:t,presenceAffectsLayout:o,mode:a},S))}),f=f.map(g=>{let S=g.key;return d.has(S)?g:q(Vi,{key:Wt(g),isPresent:!0,presenceAffectsLayout:o,mode:a},g)}),q(hn,null,d.size?f:f.map(g=>Ct(g)))};function Qc({children:e,isValidProp:t,...r}){t&&Rl(t),r={...P(ct),...r},r.isStatic=Xe(()=>r.isStatic);let n=ee(()=>r,[JSON.stringify(r.transition),r.transformPagePoint,r.reducedMotion]);return q(ct.Provider,{value:n},e)}var eu=ie(null),pg=e=>!e.isLayoutDirty&&e.willUpdate(!1);function ol(){let e=new Set,t=new WeakMap,r=()=>e.forEach(pg);return{add:n=>{e.add(n),t.set(n,n.addEventListener("willUpdate",r))},remove:n=>{e.delete(n);let i=t.get(n);i&&(i(),t.delete(n)),r()},dirty:r}}var tu=e=>e===!0,mg=e=>tu(e===!0)||e==="id",ru=({children:e,id:t,inherit:r=!0})=>{let n=P(Rr),i=P(eu),[o,a]=zn(),s=L(null),l=n.id||i;s.current===null&&(mg(r)&&l&&(t=t?l+"-"+t:l),s.current={id:t,group:tu(r)&&n.group||ol()});let c=ee(()=>({...s.current,forceRender:o}),[a]);return q(Rr.Provider,{value:c},e)};function Jt(e){let t=Xe(()=>le(e)),{isStatic:r}=P(ct);if(r){let[,n]=Re(e);A(()=>t.on("change",n),[])}return t}var vg=e=>typeof e=="object"&&e.mix,gg=e=>vg(e)?e.mix:void 0;function zr(...e){let t=!Array.isArray(e[0]),r=t?0:-1,n=e[0+r],i=e[1+r],o=e[2+r],a=e[3+r],s=Hr(i,o,{mixer:gg(o[0]),...a});return t?s(n):s}function yg(e,t){let r=Jt(t()),n=()=>r.set(t());return n(),ut(()=>{let i=()=>W.update(n,!1,!0),o=e.map(a=>a.on("change",i));return()=>{o.forEach(a=>a()),De.update(n)}}),r}function Be(e,t,r,n){let i=typeof t=="function"?t:zr(t,r,n);return Array.isArray(e)?al(e,i):al([e],([o])=>i(o))}function al(e,t){let r=Xe(()=>[]);return yg(e,()=>{r.length=0;let n=e.length;for(let i=0;iu.value===t);if(i===-1)return e;let o=n>0?1:-1,a=e[i+o];if(!a)return e;let s=e[i],l=a.layout,c=Q(l.min,l.max,.5);return o===1&&s.layout.max+r>c||o===-1&&s.layout.min+rPe(t)),l=[],c=L(!1);ge(Boolean(i),"Reorder.Group must be provided a values prop");let u={axis:r,registerItem:(f,d)=>{d&&l.findIndex(p=>f===p.value)===-1&&(l.push({value:f,layout:d[r]}),l.sort(wg))},updateOrder:(f,d,p)=>{if(c.current)return;let m=xg(l,f,d,p);l!==m&&(c.current=!0,n(m.map(Sg).filter(y=>i.indexOf(y)!==-1)))}};return A(()=>{c.current=!1}),q(s,{...o,ref:a,ignoreStrict:!0},q(nu.Provider,{value:u},e))}var gT=ye(bg);function Sg(e){return e.value}function wg(e,t){return e.layout.min-t.layout.min}function sl(e,t=0){return fe(e)?e:Jt(t)}function Cg({children:e,style:t={},value:r,as:n="li",onDrag:i,layout:o=!0,...a},s){let l=Xe(()=>Pe(n)),c=P(nu),u={x:sl(t.x),y:sl(t.y)},f=Be([u.x,u.y],([x,v])=>x||v?1:"unset"),d=L(null);ge(Boolean(c),"Reorder.Item must be a child of Reorder.Group");let{axis:p,registerItem:m,updateOrder:y}=c;return A(()=>{m(r,d.current)},[c]),q(l,{drag:p,...a,dragSnapToOrigin:!0,style:{...t,x:u.x,y:u.y,zIndex:f},layout:o,onDrag:(x,v)=>{let{velocity:b}=v;b[p]&&y(r,u[p].get(),b[p]),i&&i(x,v)},onLayoutMeasure:x=>{d.current=x},ref:s,ignoreStrict:!0},e)}var xT=ye(Cg);var iu={renderer:Kc,...Io,..._c},Tg={...iu,...Wc,...qc};function Nn(e,t,r){var n;if(typeof e=="string"){let i=document;t&&(ge(Boolean(t.current),"Scope provided, but no element detected."),i=t.current),r?((n=r[e])!==null&&n!==void 0||(r[e]=i.querySelectorAll(e)),e=r[e]):e=i.querySelectorAll(e)}else e instanceof Element&&(e=[e]);return Array.from(e||[])}var yn=new WeakMap,st;function Eg(e,t){if(t){let{inlineSize:r,blockSize:n}=t[0];return{width:r,height:n}}else return e instanceof SVGElement&&"getBBox"in e?e.getBBox():{width:e.offsetWidth,height:e.offsetHeight}}function Rg({target:e,contentRect:t,borderBoxSize:r}){var n;(n=yn.get(e))===null||n===void 0||n.forEach(i=>{i({target:e,contentSize:t,get size(){return Eg(e,r)}})})}function kg(e){e.forEach(Rg)}function _g(){typeof ResizeObserver>"u"||(st=new ResizeObserver(kg))}function Pg(e,t){st||_g();let r=Nn(e);return r.forEach(n=>{let i=yn.get(n);i||(i=new Set,yn.set(n,i)),i.add(t),st?.observe(n)}),()=>{r.forEach(n=>{let i=yn.get(n);i?.delete(t),i?.size||st?.unobserve(n)})}}var xn=new Set,Er;function Ig(){Er=()=>{let e={width:N.innerWidth,height:N.innerHeight},t={target:N,size:e,contentSize:e};xn.forEach(r=>r(t))},N.addEventListener("resize",Er)}function Fg(e){return xn.add(e),Er||Ig(),()=>{xn.delete(e),!xn.size&&Er&&(Er=void 0)}}function Mg(e,t){return typeof e=="function"?Fg(e):Pg(e,t)}var Lg=50,ll=()=>({current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}),Og=()=>({time:0,x:ll(),y:ll()}),Ag={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};function cl(e,t,r,n){let i=r[t],{length:o,position:a}=Ag[t],s=i.current,l=r.time;i.current=e["scroll"+a],i.scrollLength=e["scroll"+o]-e["client"+o],i.offset.length=0,i.offset[0]=0,i.offset[1]=i.scrollLength,i.progress=dt(0,i.scrollLength,i.current);let c=n-l;i.velocity=c>Lg?0:bo(i.current-s,c)}function Vg(e,t,r){cl(e,"x",t,r),cl(e,"y",t,r),t.time=r}function Dg(e,t){let r={x:0,y:0},n=e;for(;n&&n!==t;)if(n instanceof HTMLElement)r.x+=n.offsetLeft,r.y+=n.offsetTop,n=n.offsetParent;else if(n instanceof SVGGraphicsElement&&"getBBox"in n){let{top:i,left:o}=n.getBBox();for(r.x+=o,r.y+=i;n&&n.tagName!=="svg";)n=n.parentNode}return r}var Bg={Enter:[[0,1],[1,1]],Exit:[[0,0],[1,0]],Any:[[1,0],[0,1]],All:[[0,0],[1,1]]},io={start:0,center:.5,end:1};function ul(e,t,r=0){let n=0;if(io[e]!==void 0&&(e=io[e]),typeof e=="string"){let i=parseFloat(e);e.endsWith("px")?n=i:e.endsWith("%")?e=i/100:e.endsWith("vw")?n=i/100*document.documentElement.clientWidth:e.endsWith("vh")?n=i/100*document.documentElement.clientHeight:e=i}return typeof e=="number"&&(n=t*e),r+n}var Hg=[0,0];function zg(e,t,r,n){let i=Array.isArray(e)?e:Hg,o=0,a=0;return typeof e=="number"?i=[e,e]:typeof e=="string"&&(e=e.trim(),e.includes(" ")?i=e.split(" "):i=[e,io[e]?e:"0"]),o=ul(i[0],r,n),a=ul(i[1],t),o-a}var Ng={x:0,y:0};function $g(e,t,r){let{offset:n=Bg.All}=r,{target:i=e,axis:o="y"}=r,a=o==="y"?"height":"width",s=i!==e?Dg(i,e):Ng,l=i===e?{width:e.scrollWidth,height:e.scrollHeight}:{width:i.clientWidth,height:i.clientHeight},c={width:e.clientWidth,height:e.clientHeight};t[o].offset.length=0;let u=!t[o].interpolate,f=n.length;for(let d=0;dUg(e,n.target,r),update:i=>{Vg(e,r,i),(n.offset||n.target)&&$g(e,r,n)},notify:()=>t(r)}}var gr=new WeakMap,fl=new WeakMap,Di=new WeakMap,dl=e=>e===document.documentElement?N:e;function Nr(e,{container:t=document.documentElement,...r}={}){let n=Di.get(t);n||(n=new Set,Di.set(t,n));let i=Og(),o=Wg(t,e,i,r);if(n.add(o),!gr.has(t)){let s=()=>{for(let d of n)d.measure()},l=()=>{for(let d of n)d.update(ue.timestamp)},c=()=>{for(let d of n)d.notify()},u=()=>{W.read(s,!1,!0),W.update(l,!1,!0),W.update(c,!1,!0)};gr.set(t,u);let f=dl(t);N.addEventListener("resize",u,{passive:!0}),t!==document.documentElement&&fl.set(t,Mg(t,u)),f.addEventListener("scroll",u,{passive:!0})}let a=gr.get(t);return W.read(a,!1,!0),()=>{var s;De.read(a);let l=Di.get(t);if(!l||(l.delete(o),l.size))return;let c=gr.get(t);gr.delete(t),c&&(dl(t).removeEventListener("scroll",c),(s=fl.get(t))===null||s===void 0||s(),N.removeEventListener("resize",c))}}function hl(e,t){Br(Boolean(!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 jg=()=>({scrollX:le(0),scrollY:le(0),scrollXProgress:le(0),scrollYProgress:le(0)});function ou({container:e,target:t,layoutEffect:r=!0,...n}={}){let i=Xe(jg);return(r?ut:A)(()=>(hl("target",t),hl("container",e),Nr(({x:a,y:s})=>{i.scrollX.set(a.current),i.scrollXProgress.set(a.progress),i.scrollY.set(s.current),i.scrollYProgress.set(s.progress)},{...n,container:e?.current||void 0,target:t?.current||void 0})),[]),i}function Gg(e){let t=L(0),{isStatic:r}=P(ct);A(()=>{if(r)return;let n=({timestamp:i,delta:o})=>{t.current||(t.current=i),e(i-t.current,o)};return W.update(n,!0),()=>De.update(n)},[e])}function au(){!Fo.current&&hc();let[e]=Re(En.current);return e}function $n(){let e=au(),{reducedMotion:t}=P(ct);return t==="never"?!1:t==="always"?!0:e}function Xg(e){e.values.forEach(t=>t.stop())}function su(){let e=!1,t=new Set,r={subscribe(n){return t.add(n),()=>void t.delete(n)},start(n,i){ge(e,"controls.start() should only be called after a component has mounted. Consider calling within a useEffect hook.");let o=[];return t.forEach(a=>{o.push(Po(a,n,{transitionOverride:i}))}),Promise.all(o)},set(n){return ge(e,"controls.set() should only be called after a component has mounted. Consider calling within a useEffect hook."),t.forEach(i=>{qp(i,n)})},stop(){t.forEach(n=>{Xg(n)})},mount(){return e=!0,()=>{e=!1,r.stop()}}};return r}var lu=(e,t,r)=>{let n=t-e;return((r-e)%n+n)%n+e},cu=class{constructor(e){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 r=0;rt[e]())}play(){this.runAll("play")}pause(){this.runAll("pause")}stop(){this.runAll("stop")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}};function Yg(e){return typeof e=="object"&&!Array.isArray(e)}function Kg(e){let t={presenceContext:null,props:{},visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{}}},r=zc(e)?new Yc(t,{enableHardwareAcceleration:!1}):new Xc(t,{enableHardwareAcceleration:!0});r.mount(e),Fr.set(e,r)}function qg(e,t=100){let r=Vn({keyframes:[0,t],...e}),n=Math.min(Ui(r),$i);return{type:"keyframes",ease:i=>r.next(n*i).value/t,duration:We(n)}}function pl(e,t,r,n){var i;return typeof t=="number"?t:t.startsWith("-")||t.startsWith("+")?Math.max(0,e+parseFloat(t)):t==="<"?r:(i=n.get(t))!==null&&i!==void 0?i:e}function Zg(e,t){return ql(e)?e[lu(0,e.length,t)]:e}function Jg(e,t,r){for(let n=0;nt&&i.at{let E=ny(g),{delay:k=0,times:F=So(E),type:I="keyframes",...D}=S,{ease:z=t.ease||"easeOut",duration:M}=S,_=typeof k=="function"?k(w,C):k,$=E.length;if($<=2&&I==="spring"){let U=100;if($===2&&ay(E)){let Y=E[1]-E[0];U=Math.abs(Y)}let B={...D};M!==void 0&&(B.duration=tt(M));let re=qg(B,U);z=re.ease,M=re.duration}M??(M=i);let R=u+_,j=R+M;F.length===1&&F[0]===0&&(F[1]=1);let J=F.length-E.length;J>0&&Zl(F,J),E.length===1&&E.unshift(null),Qg(T,E,z,F,R,j),v=Math.max(_+M,v),f=Math.max(j,f)};if(fe(m)){let g=ml(m,a);b(y,x,vl("default",g))}else{let g=Nn(m,n,s),S=g.length;for(let T=0;T{for(let m in d){let y=d[m];y.sort(ey);let x=[],v=[],b=[];for(let S=0;Stypeof e=="number",ay=e=>e.every(oy);function uu(e,t,r,n){let i=Nn(e,n),o=i.length;ge(Boolean(o),"No valid element provided.");let a=[];for(let s=0;sArray.isArray(e)&&Array.isArray(e[0]);function ly(e,t,r){let n=[];return ry(e,t,r).forEach(({keyframes:o,transition:a},s)=>{let l;fe(s)?l=Bo(s,o.default,a.default):l=uu(s,o,a),n.push(l)}),new cu(n)}var fu=e=>{function t(r,n,i){let o;return sy(r)?o=ly(r,n,e):Yg(n)?o=uu(r,n,i,e):o=Bo(r,n,i),e&&e.animations.push(o),o}return t},zo=fu();function du(){let e=Xe(su);return ut(e.mount,[]),e}var hu=du;var cy={any:0,all:1};function pu(e,t,{root:r,margin:n,amount:i="any"}={}){let o=Nn(e),a=new WeakMap,s=c=>{c.forEach(u=>{let f=a.get(u.target);if(u.isIntersecting!==Boolean(f))if(u.isIntersecting){let d=t(u);typeof d=="function"?a.set(u.target,d):l.unobserve(u.target)}else f&&(f(u),a.delete(u.target))})},l=new IntersectionObserver(s,{root:r,rootMargin:n,threshold:typeof i=="number"?i:cy[i]});return o.forEach(c=>l.observe(c)),()=>l.disconnect()}function uy(e,{root:t,margin:r,amount:n,once:i=!1}={}){let[o,a]=Re(!1);return A(()=>{if(!e.current||i&&o)return;let s=()=>(a(!0),i?void 0:()=>a(!1)),l={root:t&&t.current||void 0,margin:r,amount:n==="some"?"any":n};return pu(e.current,s,l)},[t,e,r,i]),o}function No(e){return e!==null&&typeof e=="object"&&lo in e}function mu(e){if(No(e))return e[lo]}function $o(){return fy}function fy(e){It.current&&(It.current.isUpdating=!1,It.current.blockUpdate(),e&&e())}function vu(){let[e,t]=zn(),r=$o();return A(()=>{W.postRender(()=>W.postRender(()=>Gi.current=!1))},[t]),n=>{r(()=>{Gi.current=!0,e(),n()})}}function gu(){return ae(()=>{let t=It.current;t&&t.resetTree()},[])}var gl=()=>({});var FT=Fn({scrapeMotionValuesFromProps:gl,createRenderState:gl});var dy=Ge({"../../../node_modules/hsluv/hsluv.js"(e,t){var r=r||{};r.Geometry=function(){},r.Geometry.intersectLineLine=function(i,o){var a=(i.intercept-o.intercept)/(o.slope-i.slope),s=i.slope*a+i.intercept;return{x:a,y:s}},r.Geometry.distanceFromOrigin=function(i){return Math.sqrt(Math.pow(i.x,2)+Math.pow(i.y,2))},r.Geometry.distanceLineFromOrigin=function(i){return Math.abs(i.intercept)/Math.sqrt(Math.pow(i.slope,2)+1)},r.Geometry.perpendicularThroughPoint=function(i,o){var a=-1/i.slope,s=o.y-a*o.x;return{slope:a,intercept:s}},r.Geometry.angleFromOrigin=function(i){return Math.atan2(i.y,i.x)},r.Geometry.normalizeAngle=function(i){var o=2*Math.PI;return(i%o+o)%o},r.Geometry.lengthOfRayUntilIntersect=function(i,o){return o.intercept/(Math.sin(i)-o.slope*Math.cos(i))},r.Hsluv=function(){},r.Hsluv.getBounds=function(i){for(var o=[],a=Math.pow(i+16,3)/1560896,s=a>r.Hsluv.epsilon?a:i/r.Hsluv.kappa,l=0;l<3;)for(var c=l++,u=r.Hsluv.m[c][0],f=r.Hsluv.m[c][1],d=r.Hsluv.m[c][2],p=0;p<2;){var m=p++,y=(284517*u-94839*d)*s,x=(838422*d+769860*f+731718*u)*i*s-769860*m*i,v=(632260*d-126452*f)*s+126452*m;o.push({slope:y/v,intercept:x/v})}return o},r.Hsluv.maxSafeChromaForL=function(i){for(var o=r.Hsluv.getBounds(i),a=1/0,s=0;s=0&&(l=Math.min(l,f))}return l},r.Hsluv.dotProduct=function(i,o){for(var a=0,s=0,l=i.length;s.04045?Math.pow((i+.055)/1.055,2.4):i/12.92},r.Hsluv.xyzToRgb=function(i){return[r.Hsluv.fromLinear(r.Hsluv.dotProduct(r.Hsluv.m[0],i)),r.Hsluv.fromLinear(r.Hsluv.dotProduct(r.Hsluv.m[1],i)),r.Hsluv.fromLinear(r.Hsluv.dotProduct(r.Hsluv.m[2],i))]},r.Hsluv.rgbToXyz=function(i){var o=[r.Hsluv.toLinear(i[0]),r.Hsluv.toLinear(i[1]),r.Hsluv.toLinear(i[2])];return[r.Hsluv.dotProduct(r.Hsluv.minv[0],o),r.Hsluv.dotProduct(r.Hsluv.minv[1],o),r.Hsluv.dotProduct(r.Hsluv.minv[2],o)]},r.Hsluv.yToL=function(i){return i<=r.Hsluv.epsilon?i/r.Hsluv.refY*r.Hsluv.kappa:116*Math.pow(i/r.Hsluv.refY,.3333333333333333)-16},r.Hsluv.lToY=function(i){return i<=8?r.Hsluv.refY*i/r.Hsluv.kappa:r.Hsluv.refY*Math.pow((i+16)/116,3)},r.Hsluv.xyzToLuv=function(i){var o=i[0],a=i[1],s=i[2],l=o+15*a+3*s,c=4*o,u=9*a;l!=0?(c/=l,u/=l):(c=NaN,u=NaN);var f=r.Hsluv.yToL(a);if(f==0)return[0,0,0];var d=13*f*(c-r.Hsluv.refU),p=13*f*(u-r.Hsluv.refV);return[f,d,p]},r.Hsluv.luvToXyz=function(i){var o=i[0],a=i[1],s=i[2];if(o==0)return[0,0,0];var l=a/(13*o)+r.Hsluv.refU,c=s/(13*o)+r.Hsluv.refV,u=r.Hsluv.lToY(o),f=0-9*u*l/((l-4)*c-l*c),d=(9*u-15*c*u-c*f)/(3*c);return[f,u,d]},r.Hsluv.luvToLch=function(i){var o=i[0],a=i[1],s=i[2],l=Math.sqrt(a*a+s*s),c;if(l<1e-8)c=0;else{var u=Math.atan2(s,a);c=u*180/Math.PI,c<0&&(c=360+c)}return[o,l,c]},r.Hsluv.lchToLuv=function(i){var o=i[0],a=i[1],s=i[2],l=s/360*2*Math.PI,c=Math.cos(l)*a,u=Math.sin(l)*a;return[o,c,u]},r.Hsluv.hsluvToLch=function(i){var o=i[0],a=i[1],s=i[2];if(s>99.9999999)return[100,0,o];if(s<1e-8)return[0,0,o];var l=r.Hsluv.maxChromaForLH(s,o),c=l/100*a;return[s,c,o]},r.Hsluv.lchToHsluv=function(i){var o=i[0],a=i[1],s=i[2];if(o>99.9999999)return[s,0,100];if(o<1e-8)return[s,0,0];var l=r.Hsluv.maxChromaForLH(o,s),c=a/l*100;return[s,c,o]},r.Hsluv.hpluvToLch=function(i){var o=i[0],a=i[1],s=i[2];if(s>99.9999999)return[100,0,o];if(s<1e-8)return[0,0,o];var l=r.Hsluv.maxSafeChromaForL(s),c=l/100*a;return[s,c,o]},r.Hsluv.lchToHpluv=function(i){var o=i[0],a=i[1],s=i[2];if(o>99.9999999)return[s,0,100];if(o<1e-8)return[s,0,0];var l=r.Hsluv.maxSafeChromaForL(o),c=a/l*100;return[s,c,o]},r.Hsluv.rgbToHex=function(i){for(var o="#",a=0;a<3;){var s=a++,l=i[s],c=Math.round(l*255),u=c%16,f=(c-u)/16|0;o+=r.Hsluv.hexChars.charAt(f)+r.Hsluv.hexChars.charAt(u)}return o},r.Hsluv.hexToRgb=function(i){i=i.toLowerCase();for(var o=[],a=0;a<3;){var s=a++,l=r.Hsluv.hexChars.indexOf(i.charAt(s*2+1)),c=r.Hsluv.hexChars.indexOf(i.charAt(s*2+2)),u=l*16+c;o.push(u/255)}return o},r.Hsluv.lchToRgb=function(i){return r.Hsluv.xyzToRgb(r.Hsluv.luvToXyz(r.Hsluv.lchToLuv(i)))},r.Hsluv.rgbToLch=function(i){return r.Hsluv.luvToLch(r.Hsluv.xyzToLuv(r.Hsluv.rgbToXyz(i)))},r.Hsluv.hsluvToRgb=function(i){return r.Hsluv.lchToRgb(r.Hsluv.hsluvToLch(i))},r.Hsluv.rgbToHsluv=function(i){return r.Hsluv.lchToHsluv(r.Hsluv.rgbToLch(i))},r.Hsluv.hpluvToRgb=function(i){return r.Hsluv.lchToRgb(r.Hsluv.hpluvToLch(i))},r.Hsluv.rgbToHpluv=function(i){return r.Hsluv.lchToHpluv(r.Hsluv.rgbToLch(i))},r.Hsluv.hsluvToHex=function(i){return r.Hsluv.rgbToHex(r.Hsluv.hsluvToRgb(i))},r.Hsluv.hpluvToHex=function(i){return r.Hsluv.rgbToHex(r.Hsluv.hpluvToRgb(i))},r.Hsluv.hexToHsluv=function(i){return r.Hsluv.rgbToHsluv(r.Hsluv.hexToRgb(i))},r.Hsluv.hexToHpluv=function(i){return r.Hsluv.rgbToHpluv(r.Hsluv.hexToRgb(i))},r.Hsluv.m=[[3.240969941904521,-1.537383177570093,-.498610760293],[-.96924363628087,1.87596750150772,.041555057407175],[.055630079696993,-.20397695888897,1.056971514242878]],r.Hsluv.minv=[[.41239079926595,.35758433938387,.18048078840183],[.21263900587151,.71516867876775,.072192315360733],[.019330818715591,.11919477979462,.95053215224966]],r.Hsluv.refY=1,r.Hsluv.refU=.19783000664283,r.Hsluv.refV=.46831999493879,r.Hsluv.kappa=903.2962962,r.Hsluv.epsilon=.0088564516,r.Hsluv.hexChars="0123456789abcdef";var n={hsluvToRgb:r.Hsluv.hsluvToRgb,rgbToHsluv:r.Hsluv.rgbToHsluv,hpluvToRgb:r.Hsluv.hpluvToRgb,rgbToHpluv:r.Hsluv.rgbToHpluv,hsluvToHex:r.Hsluv.hsluvToHex,hexToHsluv:r.Hsluv.hexToHsluv,hpluvToHex:r.Hsluv.hpluvToHex,hexToHpluv:r.Hsluv.hexToHpluv,lchToHpluv:r.Hsluv.lchToHpluv,hpluvToLch:r.Hsluv.hpluvToLch,lchToHsluv:r.Hsluv.lchToHsluv,hsluvToLch:r.Hsluv.hsluvToLch,lchToLuv:r.Hsluv.lchToLuv,luvToLch:r.Hsluv.luvToLch,xyzToLuv:r.Hsluv.xyzToLuv,luvToXyz:r.Hsluv.luvToXyz,xyzToRgb:r.Hsluv.xyzToRgb,rgbToXyz:r.Hsluv.rgbToXyz,lchToRgb:r.Hsluv.lchToRgb,rgbToLch:r.Hsluv.rgbToLch};t.exports=n}}),hy=Ge({"../../../node_modules/eventemitter3/index.js"(e,t){"use strict";var r=Object.prototype.hasOwnProperty,n="~";function i(){}Object.create&&(i.prototype=Object.create(null),new i().__proto__||(n=!1));function o(c,u,f){this.fn=c,this.context=u,this.once=f||!1}function a(c,u,f,d,p){if(typeof f!="function")throw new TypeError("The listener must be a function");var m=new o(f,d||c,p),y=n?n+u:u;return c._events[y]?c._events[y].fn?c._events[y]=[c._events[y],m]:c._events[y].push(m):(c._events[y]=m,c._eventsCount++),c}function s(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)r.call(f,d)&&u.push(n?d.slice(1):d);return Object.getOwnPropertySymbols?u.concat(Object.getOwnPropertySymbols(f)):u},l.prototype.listeners=function(u){var f=n?n+u:u,d=this._events[f];if(!d)return[];if(d.fn)return[d.fn];for(var p=0,m=d.length,y=new Array(m);p1)for(var g=1;gparseInt(v[1],10)}else u=!1;return u}function m(){return d===null&&(d=!!document.fonts),d}function y(){if(f===null){var v=document.createElement("div");try{v.style.font="condensed 100px sans-serif"}catch{}f=v.style.font!==""}return f}function x(v,b){return[v.style,v.weight,y()?v.stretch:"","100px",b].join(" ")}l.prototype.load=function(v,b){var g=this,S=v||"BESbswy",T=0,w=b||3e3,C=new Date().getTime();return new Promise(function(E,k){if(m()&&!p()){var F=new Promise(function(D,z){function M(){new Date().getTime()-C>=w?z(Error(""+w+"ms timeout exceeded")):document.fonts.load(x(g,'"'+g.family+'"'),S).then(function(_){1<=_.length?D():setTimeout(M,25)},z)}M()}),I=new Promise(function(D,z){T=setTimeout(function(){z(Error(""+w+"ms timeout exceeded"))},w)});Promise.race([I,F]).then(function(){clearTimeout(T),E(g)},k)}else n(function(){function D(){var G;(G=R!=-1&&j!=-1||R!=-1&&J!=-1||j!=-1&&J!=-1)&&((G=R!=j&&R!=J&&j!=J)||(c===null&&(G=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))/.exec(N.navigator.userAgent),c=!!G&&(536>parseInt(G[1],10)||parseInt(G[1],10)===536&&11>=parseInt(G[2],10))),G=c&&(R==U&&j==U&&J==U||R==B&&j==B&&J==B||R==re&&j==re&&J==re)),G=!G),G&&(Y.parentNode&&Y.parentNode.removeChild(Y),clearTimeout(T),E(g))}function z(){if(new Date().getTime()-C>=w)Y.parentNode&&Y.parentNode.removeChild(Y),k(Error(""+w+"ms timeout exceeded"));else{var G=document.hidden;(G===!0||G===void 0)&&(R=M.a.offsetWidth,j=_.a.offsetWidth,J=$.a.offsetWidth,D()),T=setTimeout(z,50)}}var M=new i(S),_=new i(S),$=new i(S),R=-1,j=-1,J=-1,U=-1,B=-1,re=-1,Y=document.createElement("div");Y.dir="ltr",o(M,x(g,"sans-serif")),o(_,x(g,"serif")),o($,x(g,"monospace")),Y.appendChild(M.a),Y.appendChild(_.a),Y.appendChild($.a),document.body.appendChild(Y),U=M.a.offsetWidth,B=_.a.offsetWidth,re=$.a.offsetWidth,z(),s(M,function(G){R=G,D()}),o(M,x(g,'"'+g.family+'",sans-serif')),s(_,function(G){j=G,D()}),o(_,x(g,'"'+g.family+'",serif')),s($,function(G){J=G,D()}),o($,x(g,'"'+g.family+'",monospace'))})})},typeof t=="object"?t.exports=l:(N.FontFaceObserver=l,N.FontFaceObserver.prototype.load=l.prototype.load)})()}});function Mf(e,t){if(!e.startsWith("/")||!t.startsWith("/"))throw new Error("from/to paths are expected to be absolute");let[r]=yu(e),[n,i]=yu(t),o=gy(r,n);return o===""&&(o="."),!o.startsWith(".")&&!o.startsWith("/")&&(o="./"+o),o+"/"+i}function yu(e){let t=e.lastIndexOf("/");return[e.substring(0,t+1),e.substring(t+1)]}var Uo=46,tr=47,gt=(e,t)=>e.charCodeAt(t),xu=(e,t)=>e.lastIndexOf(t),nr=(e,t,r)=>e.slice(t,r);function gy(e,t){if(e===t||(e="/"+Su(e),t="/"+Su(t),e===t))return"";let r=1,n=e.length,i=n-r,o=1,a=t.length-o,s=is){if(gt(t,o+c)===tr)return nr(t,o+c+1);if(c===0)return nr(t,o+c)}else i>s&&(gt(e,r+c)===tr?l=c:c===0&&(l=0));let u="";for(c=r+l+1;c<=n;++c)(c===n||gt(e,c)===tr)&&(u+=u.length===0?"..":"/..");return`${u}${nr(t,o+l)}`}var yy=!1,Un="/",bu=e=>e===tr;function Su(e){let t="",r=0,n=-1,i=0,o=0;for(let a=0;a<=e.length;++a){if(a2){let s=xu(t,Un);s===-1?(t="",r=0):(t=nr(t,0,s),r=t.length-1-xu(t,Un)),n=a,i=0;continue}else if(t.length!==0){t="",r=0,n=a,i=0;continue}}yy&&(t+=t.length>0?`${Un}..`:"..",r=2)}else t.length>0?t+=`${Un}${nr(e,n+1,a)}`:t=nr(e,n+1,a),r=a-n-1;n=a,i=0}else o===Uo&&i!==-1?++i:i=-1}return t}function sa(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function wu(e){return typeof e=="string"}var xy="preload";function Lf(e){return typeof e=="object"&&xy in e}function _E(e){let t=h.lazy(e),r,n,i=h.forwardRef(function(a,s){return h.createElement(n??t,Object.assign(s?{ref:s}:{},a))});return i.preload=()=>(r||(r=e().then(o=>(n=o.default,n))),r),i}function ba(e,t){if(t&&e)return e.elements&&t in e.elements?e.elements[t]:t}function Of(e,t={}){let r=h.isValidElement(e)?h.cloneElement(e,{style:t}):h.createElement(e,{style:t});return Lf(r.type)?h.createElement(h.Suspense,{fallback:null},r):r}var by=class extends Error{},Sy=class extends ne{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 r={forceUpdateKey:e.forceUpdateKey};return t.error&&(r.error=void 0),r}return null}render(){if(this.state.error===void 0)return this.props.children;if(!(this.state.error instanceof by))throw this.state.error;let{notFoundPage:e,defaultPageStyle:t}=this.props;if(!e)throw this.state.error;return Of(e,t)}},wy=":([a-zA-Z][a-zA-Z0-9_]*)",en=new RegExp(wy,"g");function Cu(e,t,{currentRoutePath:r,hash:n,pathVariables:i}={}){let{path:o}=t;if(o)try{let a=ci(t,{currentRoutePath:r,hash:n,pathVariables:i});N.history.pushState({routeId:e,hash:n,pathVariables:i},"",a)}catch{}}function Cy({disabled:e,routeId:t,initialPathVariables:r}){h.useEffect(()=>{e||N.history.replaceState({routeId:t,pathVariables:r},"")},[])}function Ty(e){let t=h.useCallback(({state:r})=>{if(!sa(r))return;let{routeId:n,hash:i,pathVariables:o}=r;wu(n)&&e(n,wu(i)?i:void 0,sa(o)?o:void 0)},[e]);h.useEffect(()=>(N.addEventListener("popstate",t),()=>N.removeEventListener("popstate",t)),[t])}function Ey(e,t,r){let n=ba(t,e);if(!n)return;let i=Object.assign({},t?.elements,r);return n.replace(en,(o,a)=>{var s;return String((s=i[a])!==null&&s!==void 0?s:o)})}function ci(e,{currentRoutePath:t,hash:r,pathVariables:n,hashVariables:i,relative:o=!0}){var a;let s=t??"/",c=(a=e?.path)!==null&&a!==void 0?a:"/";n&&(c=c.replace(en,(f,d)=>{var p;return String((p=n[d])!==null&&p!==void 0?p:f)})),o&&(c=Mf(s,c));let u=Ey(r,e,i);return u?`${c}#${u}`:c}var Wn,Wo,Tu;function Ry(e){if(Tu!==e){Wn={};for(let[t,{path:r}]of Object.entries(e))r&&(Wn[r]={path:r,depth:_y(r),routeId:t});Wo=Object.values(Wn),Wo.sort(({depth:t},{depth:r})=>r-t),Tu=e}return[Wn,Wo]}function ky(e,t,r=!0){let[n,i]=Ry(e),o=n[t];if(o){let l=Eu(t,o.path);if(l.isMatch)return{routeId:o.routeId,pathVariables:l.pathVariables}}for(let{path:l,routeId:c}of i){let u=Eu(t,l);if(u.isMatch)return{routeId:c,pathVariables:u.pathVariables}}if(!r)throw new Error("No exact match found for path");let a=n["/"];if(a)return{routeId:a.routeId};let s=Object.keys(e)[0];if(!s)throw new Error("Router should not have undefined routes");return{routeId:s}}function _y(e){let t=e.replace(/(?:^\/|\/$)/g,"");return t===""?0:t.split("/").length}function Eu(e,t){let r=[],i=Py(t).replace(en,(c,u)=>(r.push(u),"([^/]+)")),o=new RegExp(i+"$"),a=e.match(o);if(!a)return{isMatch:!1};if(a.length===1)return{isMatch:!0};let s={},l=a.slice(1);for(let c=0;c{let i=t[n];return typeof i!="string"||i.length===0?r:encodeURIComponent(i)})}function My(e,t){if(e.routeId!==t.routeId)return!1;if(e.pathVariables===t.pathVariables)return!0;let r=e.pathVariables||{},n=t.pathVariables||{};return r.length===n.length&&Object.keys(r).every(i=>r[i]===n[i])}function Af(e){return h.useCallback(t=>e[t],[e])}var Sa=h.createContext({});function Ly({api:e,children:t}){return h.createElement(Sa.Provider,{value:e},t)}function tn(){return h.useContext(Sa)}function Oy({routes:e,children:t}){let r=Af(e);return h.createElement(Sa.Provider,{value:{getRoute:r}},t)}function Ay(){let[e,t]=h.useState(0);return[e,h.useCallback(()=>t(r=>r+1),[])]}function ku(e,t){let r=e&&document.getElementById(e);if(r){By(r,t);return}N.scrollTo(0,0)}function Vy(e){let t=h.useRef([]);return h.useLayoutEffect(()=>{var r;!((r=t.current)===null||r===void 0)&&r.length&&(t.current.forEach(n=>n()),t.current=[])},[e]),h.useCallback(r=>{t.current.push(r)},[])}function Dy({defaultPageStyle:e,disableHistory:t,initialPathVariables:r,initialRoute:n,notFoundPage:i,routes:o}){Cy({disabled:t,routeId:n,initialPathVariables:r});let a=h.useRef(n),s=h.useRef(r),[l,c]=Ay(),u=Vy(l),f=h.useCallback((g,S,T,w=!1)=>{a.current=g,s.current=T,u(()=>{ku(S,w)}),c()},[c,u]);Ty(f);let d=h.useCallback((g,S,T,w)=>{var C,E;let k=o[g];if(T){let I=new Set,D=(C=k?.path)!==null&&C!==void 0?C:"/";for(let z of D.matchAll(en)){let M=z[1];if(M===void 0)throw new Error("A matching path variable should not be undefined");I.add(M)}T=Object.fromEntries(Object.entries(T).filter(([z])=>I.has(z)))}let F=ba(k,S);if(My({routeId:a.current,pathVariables:s.current},{routeId:g,pathVariables:T})){if(((E=N.history.state)===null||E===void 0?void 0:E.hash)!==S&&!t){let I=o[g];I&&Cu(g,I,{currentRoutePath:I.path,pathVariables:T,hash:S})}ku(F,w);return}if(k){if(!t){let I=o[a.current];Cu(g,k,{currentRoutePath:I?.path,hash:S,pathVariables:T})}Ti(()=>f(g,F,T,w))}},[o,t,f]),p=Af(o),m=a.current,y=s.current,x=h.useMemo(()=>({navigate:d,getRoute:p,currentRouteId:m,currentPathVariables:y,routes:o}),[d,p,m,y,o]),v=o[a.current];if(!v)throw new Error(`Router cannot find route for ${a.current}`);let b=v.path&&y?Fy(v.path,y):v.path;return h.createElement(Ly,{api:x},h.createElement(Sy,{notFoundPage:i,defaultPageStyle:e,forceUpdateKey:l},h.createElement(h.Fragment,{key:b},Of(v.page,e))))}function By(e,t){let r=t?{behavior:"smooth",block:"start",inline:"nearest"}:void 0;e.scrollIntoView(r)}var Hy=h.createContext(void 0);function rn(){var e;let t=tn(),r=P(Hy),n=r??t.currentRouteId;if(!n)return;let i=(e=t.getRoute)===null||e===void 0?void 0:e.call(t,n);if(i)return{...i,id:n,pathVariables:r?void 0:t.currentPathVariables}}function Vf(e,t=!0){let{getRoute:r}=tn();h.useEffect(()=>{if(!(!r||!t))for(let n of e){let i=r(n);i?.page&&wa(i.page)}},[e,r,t])}function wa(e){e&&!h.isValidElement(e)&&Lf(e)&&e.preload()}var _u=new Set;function Ca(e,...t){_u.has(e)||(_u.add(e),console.warn(e,...t))}function zy(e,t,r){let n=r?`, use ${r} instead`:"",i=`Deprecation warning: ${e} will be removed in version ${t}${n}.`;Ca(i)}var Df=class{constructor(){this.observers=new Set,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 r=this.transactions[t]||e;r.value=e.value,this.transactions[t]=r}else this.callObservers(e)}finishTransaction(e){let t=this.transactions[e];return delete this.transactions[e],this.callObservers(t,e)}callObservers(e,t){let r=[];return new Set(this.observers).forEach(n=>{typeof n=="function"?n(e,t):(n.update(e,t),r.push(n.finish))}),r}},ce=(()=>{function e(t){return zy("Animatable()","2.0.0","the new animation API (https://www.framer.com/api/animation/)"),He(t)?t:new $y(t)}return e.transaction=t=>{let r=Math.random(),n=new Set;t((a,s)=>{a.set(s,r),n.add(a)},r);let o=[];n.forEach(a=>{o.push(...a.finishTransaction(r))}),o.forEach(a=>{a(r)})},e.getNumber=(t,r=0)=>e.get(t,r),e.get=(t,r)=>t==null?r:He(t)?t.get():t,e.objectToValues=t=>{if(!t)return t;let r={};for(let n in t){let i=t[n];He(i)?r[n]=i.get():r[n]=i}return r},e})(),Pu="onUpdate",Iu="finishTransaction";function He(e){return e!==null&&typeof e=="object"&&Pu in e&&e[Pu]instanceof Function&&Iu in e&&e[Iu]instanceof Function}function Ny(e,t){return{interpolate(r,n){let i=r.get(),o=n.get(),a=ce(i);return s=>{let l=t.interpolate(i,o)(s);return a.set(l),a}},difference(r,n){let i=r.get();return t.difference(i,n.get())}}}var $y=class{constructor(e){this.value=e,this.observers=new Df}static interpolationFor(e,t){if(He(e))return Ny(e,t)}get(){return this.value}set(e,t){let r=this.value;He(e)&&(e=e.get()),this.value=e;let n={value:e,oldValue:r};this.observers.notify(n,t)}finishTransaction(e){return this.observers.finishTransaction(e)}onUpdate(e){return this.observers.add(e)}},Fu=e=>e instanceof Bn;function jn(e,t){let r=Math.round(Math.abs(t)),n=Math.pow(10,r);return Math.round(e*n)/n}function Mu(e,t){return t===0?Math.round(e):(t-=t|0,t<0&&(t=1-t),Math.round(e-t)+t)}function Lt(e,t){return{x:e,y:t}}(e=>{e.add=(...r)=>r.reduce((n,i)=>({x:n.x+i.x,y:n.y+i.y}),{x:0,y:0}),e.subtract=(r,n)=>({x:r.x-n.x,y:r.y-n.y}),e.multiply=(r,n)=>({x:r.x*n,y:r.y*n}),e.divide=(r,n)=>({x:r.x/n,y:r.y/n}),e.absolute=r=>({x:Math.abs(r.x),y:Math.abs(r.y)}),e.reverse=r=>({x:r.x*-1,y:r.y*-1}),e.pixelAligned=(r,n={x:0,y:0})=>({x:Mu(r.x,n.x),y:Mu(r.y,n.y)}),e.distance=(r,n)=>{let i=Math.abs(r.x-n.x),o=Math.abs(r.y-n.y);return Math.sqrt(i*i+o*o)},e.angle=(r,n)=>Math.atan2(n.y-r.y,n.x-r.x)*180/Math.PI-90,e.isEqual=(r,n)=>r.x===n.x&&r.y===n.y,e.rotationNormalizer=()=>{let r;return n=>{typeof r!="number"&&(r=n);let i=r-n,o=Math.abs(i)+180,a=Math.floor(o/360);return i<180&&(n-=a*360),i>180&&(n+=a*360),r=n,n}};function t(r,n){return{x:(r.x+n.x)/2,y:(r.y+n.y)/2}}e.center=t})(Lt||(Lt={}));var HE=Number.MIN_VALUE;var zE={tension:500,friction:10,tolerance:1/1e4,velocity:0};var Uy=he(dy(),1),ei={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 pt(e,t,r,n=!1){let[i,o]=t,[a,s]=r,l=o-i;if(l===0)return(s+a)/2;let c=s-a;if(c===0)return a;let u=a+(e-i)/l*c;if(n===!0)if(as)return s}else{if(u>a)return a;if(u.5?f/(2-l-c):f/(l+c),l){case o:u=(a-s)/f+(a1&&(r-=1),r<1/6?e+(t-e)*6*r:r<1/2?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function Ky(e,t,r){let n,i,o;if(e=Te(e,360),t=Te(t*100,100),r=Te(r*100,100),t===0)n=i=o=r;else{let a=r<.5?r*(1+t):r+t-r*t,s=2*r-a;n=jo(s,a,e+1/3),i=jo(s,a,e),o=jo(s,a,e-1/3)}return{r:n*255,g:i*255,b:o*255}}function Au(e,t,r){e=Te(e,255),t=Te(t,255),r=Te(r,255);let n=Math.max(e,t,r),i=Math.min(e,t,r),o=n-i,a,s=n===0?0:o/n,l=n;if(n===i)a=0;else{switch(n){case e:a=(t-r)/o+(t{function e(n,i,o,a){if(typeof n=="string"){let l=Du.get(n);return l||(l=t(n),l===void 0?{...e("black"),isValid:!1}:(Du.set(n,l),l))}let s=t(n,i,o,a);return s!==void 0?s:{...e("black"),isValid:!1}}function t(n,i,o,a){if(n==="")return;let s=Qy(n,i,o,a);if(s){let l={r:s.r,g:s.g,b:s.b,a:s.a,h:s.h,s:s.s,l:s.l,initialValue:typeof n=="string"&&s.format!=="hsv"?n:void 0,roundA:Math.round(100*s.a)/100,format:s.format,mix:e.mix,toValue:()=>e.toRgbString(l)};return l}else return}let r={isRGB(n){return n==="rgb"||n==="rgba"},isHSL(n){return n==="hsl"||n==="hsla"}};return e.inspect=(n,i)=>n.format==="hsl"?`<${n.constructor.name} h:${n.h} s:${n.s} l:${n.l} a:${n.a}>`:n.format==="hex"||n.format==="name"?`<${n.constructor.name} "${i}">`:`<${n.constructor.name} r:${n.r} g:${n.g} b:${n.b} a:${n.a}>`,e.isColor=n=>typeof n=="string"?e.isColorString(n):e.isColorObject(n),e.isColorString=n=>typeof n=="string"?Ea(n)!==!1:!1,e.isColorObject=n=>n&&typeof n!="string"&&typeof n.r=="number"&&typeof n.g=="number"&&typeof n.b=="number"&&typeof n.h=="number"&&typeof n.s=="number"&&typeof n.l=="number"&&typeof n.a=="number"&&typeof n.roundA=="number"&&typeof n.format=="string",e.toString=n=>e.toRgbString(n),e.toHex=(n,i=!1)=>Ou(n.r,n.g,n.b,i),e.toHexString=(n,i=!1)=>`#${e.toHex(n,i)}`,e.toRgbString=n=>n.a===1?"rgb("+Math.round(n.r)+", "+Math.round(n.g)+", "+Math.round(n.b)+")":"rgba("+Math.round(n.r)+", "+Math.round(n.g)+", "+Math.round(n.b)+", "+n.roundA+")",e.toHusl=n=>({...Gy(n.r,n.g,n.b),a:n.roundA}),e.toHslString=n=>{let i=e.toHsl(n),o=Math.round(i.h),a=Math.round(i.s*100),s=Math.round(i.l*100);return n.a===1?"hsl("+o+", "+a+"%, "+s+"%)":"hsla("+o+", "+a+"%, "+s+"%, "+n.roundA+")"},e.toHsv=n=>{let i=Au(n.r,n.g,n.b);return{h:i.h*360,s:i.s,v:i.v,a:n.a}},e.toHsvString=n=>{let i=Au(n.r,n.g,n.b),o=Math.round(i.h*360),a=Math.round(i.s*100),s=Math.round(i.v*100);return n.a===1?"hsv("+o+", "+a+"%, "+s+"%)":"hsva("+o+", "+a+"%, "+s+"%, "+n.roundA+")"},e.toName=n=>{if(n.a===0)return"transparent";if(n.a<1)return!1;let i=Ou(n.r,n.g,n.b,!0);for(let o of Object.keys(ei))if(ei[o]===i)return o;return!1},e.toHsl=n=>({h:Math.round(n.h),s:n.s,l:n.l,a:n.a}),e.toRgb=n=>({r:Math.round(n.r),g:Math.round(n.g),b:Math.round(n.b),a:n.a}),e.brighten=(n,i=10)=>{let o=e.toRgb(n);return o.r=Math.max(0,Math.min(255,o.r-Math.round(255*-(i/100)))),o.g=Math.max(0,Math.min(255,o.g-Math.round(255*-(i/100)))),o.b=Math.max(0,Math.min(255,o.b-Math.round(255*-(i/100)))),e(o)},e.lighten=(n,i=10)=>{let o=e.toHsl(n);return o.l+=i/100,o.l=Math.min(1,Math.max(0,o.l)),e(o)},e.darken=(n,i=10)=>{let o=e.toHsl(n);return o.l-=i/100,o.l=Math.min(1,Math.max(0,o.l)),e(o)},e.saturate=(n,i=10)=>{let o=e.toHsl(n);return o.s+=i/100,o.s=Math.min(1,Math.max(0,o.s)),e(o)},e.desaturate=(n,i=10)=>{let o=e.toHsl(n);return o.s-=i/100,o.s=Math.min(1,Math.max(0,o.s)),e(o)},e.grayscale=n=>e.desaturate(n,100),e.hueRotate=(n,i)=>{let o=e.toHsl(n);return o.h+=i,o.h=o.h>360?o.h-360:o.h,e(o)},e.alpha=(n,i=1)=>e({r:n.r,g:n.g,b:n.b,a:i}),e.transparent=n=>e.alpha(n,0),e.multiplyAlpha=(n,i=1)=>e({r:n.r,g:n.g,b:n.b,a:n.a*i}),e.interpolate=(n,i,o="rgb")=>{if(!e.isColorObject(n)||!e.isColorObject(i))throw new TypeError("Both arguments for Color.interpolate must be Color objects");return a=>e.mixAsColor(n,i,a,!1,o)},e.mix=(n,i,{model:o="rgb"}={})=>{let a=typeof n=="string"?e(n):n,s=e.interpolate(a,i,o);return l=>e.toRgbString(s(l))},e.mixAsColor=(n,i,o=.5,a=!1,s="rgb")=>{let l=null;if(r.isRGB(s))l=e({r:pt(o,[0,1],[n.r,i.r],a),g:pt(o,[0,1],[n.g,i.g],a),b:pt(o,[0,1],[n.b,i.b],a),a:pt(o,[0,1],[n.a,i.a],a)});else{let c,u;r.isHSL(s)?(c=e.toHsl(n),u=e.toHsl(i)):(c=e.toHusl(n),u=e.toHusl(i)),c.s===0?c.h=u.h:u.s===0&&(u.h=c.h);let f=c.h,d=u.h,p=d-f;p>180?p=d-360-f:p<-180&&(p=d+360-f);let m={h:pt(o,[0,1],[f,f+p],a),s:pt(o,[0,1],[c.s,u.s],a),l:pt(o,[0,1],[c.l,u.l],a),a:pt(o,[0,1],[n.a,i.a],a)};r.isHSL(s)?l=e(m):l=e(Xy(m.h,m.s,m.l,m.a))}return l},e.random=(n=1)=>{function i(){return Math.floor(Math.random()*255)}return e("rgba("+i()+", "+i()+", "+i()+", "+n+")")},e.grey=(n=.5,i=1)=>(n=Math.floor(n*255),e("rgba("+n+", "+n+", "+n+", "+i+")")),e.gray=e.grey,e.rgbToHsl=(n,i,o)=>Ta(n,i,o),e.isValidColorProperty=(n,i)=>!!((n.toLowerCase().slice(-5)==="color"||n==="fill"||n==="stroke")&&typeof i=="string"&&e.isColorString(i)),e.difference=(n,i)=>{let o=(n.r+i.r)/2,a=n.r-i.r,s=n.g-i.g,l=n.b-i.b,c=Math.pow(a,2),u=Math.pow(s,2),f=Math.pow(l,2);return Math.sqrt(2*c+4*u+3*f+o*(c-f)/256)},e.equal=(n,i,o=.1)=>!(Math.abs(n.r-i.r)>=o||Math.abs(n.g-i.g)>=o||Math.abs(n.b-i.b)>=o||Math.abs(n.a-i.a)*256>=o),e})();function Qy(e,t,r,n=1){let i;return typeof e=="number"&&!Number.isNaN(e)&&typeof t=="number"&&!Number.isNaN(t)&&typeof r=="number"&&!Number.isNaN(r)?i=ca({r:e,g:t,b:r,a:n}):typeof e=="string"?i=e0(e):typeof e=="object"&&(e.hasOwnProperty("r")&&e.hasOwnProperty("g")&&e.hasOwnProperty("b")?i=ca(e):i=Bf(e)),i}function e0(e){let t=Ea(e);if(t)return t.format==="hsl"?Bf(t):t.format==="hsv"?t0(t):ca(t)}function t0(e){let t=qy(e.h,e.s,e.v);return{...Ta(t.r,t.g,t.b),...t,format:"rgb",a:e.a!==void 0?Hf(e.a):1}}function ca(e){let t=Yy(e.r,e.g,e.b);return{...Ta(t.r,t.g,t.b),...t,format:"rgb",a:e.a!==void 0?Hf(e.a):1}}function Bf(e){let t,r,n,i={r:0,g:0,b:0},o={h:0,s:0,l:0};return t=ir(e.h)?e.h:0,t=(t+360)%360,r=ir(e.s)?e.s:1,typeof e.s=="string"&&(r=la(e.s)),n=ir(e.l)?e.l:.5,typeof e.l=="string"&&(n=la(e.l)),i=Ky(t,r,n),o={h:t,s:r,l:n},{...i,...o,a:e.a===void 0?1:e.a,format:"hsl"}}function Hf(e){return e=parseFloat(e),e<0&&(e=0),(isNaN(e)||e>1)&&(e=1),e}var NE={delta:1/60,maxValues:1e4};var r0={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:""},setTimeout:()=>0,clearTimeout:()=>{},setInterval:()=>0,clearInterval:()=>{},requestAnimationFrame:()=>0,cancelAnimationFrame:()=>{},getSelection:()=>null,matchMedia:e=>({matches:!1,media:e,onchange:()=>{},addEventListener:()=>{},removeEventListener:()=>{},addListener:()=>{},removeListener:()=>{},dispatchEvent:()=>!1}),innerHeight:0,SVGSVGElement:{}},Oe=typeof N>"u"?r0:N,n0=e=>{setTimeout(e,1/60)},i0=Oe.requestAnimationFrame||n0,Bu=e=>i0(e),o0=he(hy(),1),{EventEmitter:a0}=o0.default,s0=class{constructor(){this._emitter=new a0}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,r,n,i){if(n){for(let o of this._emitter.eventNames())if(t===this._emitter.listeners(o))return}r===!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 r=0;for(let n of this._emitter.eventNames())r+=this._emitter.listeners(n).length;return r}}emit(e,...t){this._emitter.emit(e,...t)}},$r=1/60,l0=class extends s0{constructor(e=!1){super(),this._started=!1,this._frame=0,this._frameTasks=[],this.tick=()=>{this._started&&(Bu(this.tick),this.emit("update",this._frame,$r),this.emit("render",this._frame,$r),this._processFrameTasks(),this._frame++)},e&&this.start()}addFrameTask(e){this._frameTasks.push(e)}_processFrameTasks(){var e;let t=this._frameTasks,r=t.length;if(r!==0){for(let n=0;n(e.canvas="CANVAS",e.export="EXPORT",e.thumbnail="THUMBNAIL",e.preview="PREVIEW",e))(Z||{}),ti={imageBaseURL:"",target:"PREVIEW",zoom:1};(e=>{function t(){return ti.target}e.current=t;function r(){let n=ti.target;return n==="CANVAS"||n==="EXPORT"}e.hasRestrictions=r})(Z||(Z={}));var Gn=e=>({correct:(t,{delta:r,treeScale:n})=>{if(typeof t=="string"&&(t=parseFloat(t)),t===0)return"0px";let i=t;return r&&n&&(i=Math.round(t/r[e].scale/n[e]),i=Math.max(i,1)),i+"px"}});co({borderTopWidth:Gn("y"),borderLeftWidth:Gn("x"),borderRightWidth:Gn("x"),borderBottomWidth:Gn("y")});function ve(e,...t){var r,n;if(e)return;let i=Error("Assertion Error"+(t.length>0?": "+t.join(" "):""));if(i.stack)try{let o=i.stack.split(` `);(r=o[1])!=null&&r.includes("assert")?(o.splice(1,1),i.stack=o.join(` `)):(n=o[0])!=null&&n.includes("assert")&&(o.splice(0,1),i.stack=o.join(` `))}catch{}throw i}function Hu(e,t){throw t||new Error(e?`Unexpected value: ${e}`:"Application entered invalid state")}var ar=h.createContext({getLayoutId:e=>null,persistLayoutIdCache:()=>{},top:!1,enabled:!0});function c0({children:e}){if(P(ar).top)return h.createElement(h.Fragment,null,e);let r=L({byId:{},byName:{},byLastId:{},byPossibleId:{},byLastName:{},byLayoutId:{},count:{byId:{},byName:{}}}),n=L({byId:{},byName:{},byLastId:{},byPossibleId:{},byLastName:{},byLayoutId:{}}),i=L(new Set).current,o=ae(({id:l,name:c,duplicatedFrom:u})=>{if(!l)return null;let f=c?"byName":"byId",d=r.current[f][l];if(d)return d;let p=c||l;if(!u&&!i.has(p)&&(!r.current.byLayoutId[p]||r.current.byLayoutId[p]===p))return r.current.count[f][p]===void 0&&(r.current.count[f][p]=0,r.current.byLayoutId[p]=p,n.current[f][l]=p),i.add(p),p;let m;if(u?.length)for(let w=u.length-1;w>=0;w--){let C=u[w];ve(!!C,"duplicatedId must be defined");let E=r.current[f][C],k=r.current.byLastId[C];if(k&&!m){let D=r.current.byLayoutId[k],z=!D||D===c;k&&!i.has(k)&&(!c||z)&&(m=[k,C])}let F=r.current.byLayoutId[E],I=!F||F===c;if(E&&!i.has(E)&&(!c||I))return n.current[f][l]=E,n.current.byLastId[C]=E,i.add(E),E}let y=r.current.byLastId[l];if(y&&!i.has(y))return i.add(y),n.current.byId[l]=y,y;if(m){let[w,C]=m;return n.current[f][l]=w,n.current.byLastId[C]=w,i.add(w),w}let x=r.current.byPossibleId[l];if(x&&!i.has(x))return i.add(x),n.current.byId[l]=x,x;let v=u?.[0],b=c||v||l,g=r.current.count[f][b]+1||0,{layoutId:S,value:T}=u0(b,g,i);if(r.current.count[f][b]=T,n.current[f][l]=S,u?.length&&!c){let w=u[u.length-1];if(w&&(n.current.byLastId[w]=S),u.length>1)for(let C=0;C{r.current={byId:{...r.current.byId,...n.current.byId},byLastId:{...r.current.byLastId,...n.current.byLastId},byPossibleId:{...r.current.byPossibleId,...n.current.byPossibleId},byName:{...r.current.byName,...n.current.byName},byLastName:{...r.current.byLastName,...n.current.byLastName},byLayoutId:{...r.current.byLayoutId,...n.current.byLayoutId},count:{...r.current.count,byName:{}}},n.current={byId:{},byName:{},byLastId:{},byPossibleId:{},byLastName:{},byLayoutId:{}},i.clear()},[]),s=L({getLayoutId:o,persistLayoutIdCache:a,top:!0,enabled:!0}).current;return h.createElement(ar.Provider,{value:s},e)}function u0(e,t,r){let n=t,i=n?`${e}-${n}`:e;for(;r.has(i);)n++,i=`${e}-${n}`;return{layoutId:i,value:n}}function f0({enabled:e=!0,...t}){let r=P(ar),n=ee(()=>({...r,enabled:e}),[e]);return h.createElement(ar.Provider,{...t,value:n})}function Ze(e){let t=L(null);return t.current===null&&(t.current=e()),t.current}var d0={background:void 0,display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",lineHeight:"1.4em",textOverflow:"ellipsis",overflow:"hidden",minHeight:0,width:"100%",height:"100%"},h0={...d0,border:"1px solid rgba(149, 149, 149, 0.15)",borderRadius:6,fontSize:"12px",backgroundColor:"rgba(149, 149, 149, 0.1)",color:"#a5a5a5"},Nf={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",maxWidth:"100%",flexShrink:0,padding:"0 10px"},p0={...Nf,fontWeight:500},m0={...Nf,whiteSpace:"pre",maxHeight:"calc(50% - calc(20px * var(--framerInternalCanvas-canvasPlaceholderContentScaleFactor, 1)))",WebkitMaskImage:"linear-gradient(to bottom, black 80%, transparent 100%)"};function XE(e){let{error:t,file:r}=e,n=r?`Error in ${v0(r)}`:"Error",i=t instanceof Error?t.message:""+t;return h.createElement("div",{style:h0},h.createElement("div",{className:"text",style:p0},n),i&&h.createElement("div",{className:"text",style:m0},i))}function v0(e){return e.startsWith("./")?e.replace("./",""):e}var YE=992-5;function V(e){return typeof e=="number"&&isFinite(e)}function g0(e){return!e||!Object.keys(e).length&&e.constructor===Object}function Xr(e){return typeof e!="string"&&typeof e!="number"}function Yr(e){return e!==null&&typeof e<"u"&&typeof e!="boolean"&&!g0(e)}var ua;(e=>{function t(i,o){return i===o?!0:!i||!o?!1:i.x===o.x&&i.y===o.y&&i.width===o.width&&i.height===o.height}e.equals=t,e.atOrigin=i=>({...i,x:0,y:0}),e.fromTwoPoints=(i,o)=>({x:Math.min(i.x,o.x),y:Math.min(i.y,o.y),width:Math.abs(i.x-o.x),height:Math.abs(i.y-o.y)}),e.fromRect=i=>({x:i.left,y:i.top,width:i.right-i.left,height:i.bottom-i.top}),e.multiply=(i,o)=>({x:i.x*o,y:i.y*o,width:i.width*o,height:i.height*o}),e.divide=(i,o)=>(0,e.multiply)(i,1/o),e.offset=(i,o)=>{let a=typeof o.x=="number"?o.x:0,s=typeof o.y=="number"?o.y:0;return{...i,x:i.x+a,y:i.y+s}};function r(i,o){if(o===0)return i;let a=2*o;return{x:i.x-o,y:i.y-o,width:i.width+a,height:i.height+a}}e.inflate=r,e.pixelAligned=i=>{let o=Math.round(i.x),a=Math.round(i.y),s=Math.round(i.x+i.width),l=Math.round(i.y+i.height),c=Math.max(s-o,0),u=Math.max(l-a,0);return{x:o,y:a,width:c,height:u}},e.halfPixelAligned=i=>{let o=Math.round(i.x*2)/2,a=Math.round(i.y*2)/2,s=Math.round((i.x+i.width)*2)/2,l=Math.round((i.y+i.height)*2)/2,c=Math.max(s-o,1),u=Math.max(l-a,1);return{x:o,y:a,width:c,height:u}},e.round=(i,o=0)=>{let a=jn(i.x,o),s=jn(i.y,o),l=jn(i.width,o),c=jn(i.height,o);return{x:a,y:s,width:l,height:c}},e.roundToOutside=i=>{let o=Math.floor(i.x),a=Math.floor(i.y),s=Math.ceil(i.x+i.width),l=Math.ceil(i.y+i.height),c=Math.max(s-o,0),u=Math.max(l-a,0);return{x:o,y:a,width:c,height:u}},e.minX=i=>i.x,e.maxX=i=>i.x+i.width,e.minY=i=>i.y,e.maxY=i=>i.y+i.height,e.positions=i=>({minX:i.x,midX:i.x+i.width/2,maxX:(0,e.maxX)(i),minY:i.y,midY:i.y+i.height/2,maxY:(0,e.maxY)(i)}),e.center=i=>({x:i.x+i.width/2,y:i.y+i.height/2}),e.fromPoints=i=>{let o=i.map(f=>f.x),a=i.map(f=>f.y),s=Math.min(...o),l=Math.min(...a),c=Math.max(...o)-s,u=Math.max(...a)-l;return{x:s,y:l,width:c,height:u}},e.merge=(...i)=>{let o={x:Math.min(...i.map(e.minX)),y:Math.min(...i.map(e.minY))},a={x:Math.max(...i.map(e.maxX)),y:Math.max(...i.map(e.maxY))};return(0,e.fromTwoPoints)(o,a)},e.intersection=(i,o)=>{let a=Math.max(i.x,o.x),s=Math.min(i.x+i.width,o.x+o.width),l=Math.max(i.y,o.y),c=Math.min(i.y+i.height,o.y+o.height);return{x:a,y:l,width:s-a,height:c-l}},e.points=i=>[{x:(0,e.minX)(i),y:(0,e.minY)(i)},{x:(0,e.minX)(i),y:(0,e.maxY)(i)},{x:(0,e.maxX)(i),y:(0,e.minY)(i)},{x:(0,e.maxX)(i),y:(0,e.maxY)(i)}],e.transform=(i,o)=>{let{x:a,y:s}=o.transformPoint({x:i.x,y:i.y}),{x:l,y:c}=o.transformPoint({x:i.x+i.width,y:i.y}),{x:u,y:f}=o.transformPoint({x:i.x+i.width,y:i.y+i.height}),{x:d,y:p}=o.transformPoint({x:i.x,y:i.y+i.height}),m=Math.min(a,l,u,d),y=Math.max(a,l,u,d)-m,x=Math.min(s,c,f,p),v=Math.max(s,c,f,p)-x;return{x:m,y:x,width:y,height:v}},e.containsPoint=(i,o)=>!(o.x<(0,e.minX)(i)||o.x>(0,e.maxX)(i)||o.y<(0,e.minY)(i)||o.y>(0,e.maxY)(i)||isNaN(i.x)||isNaN(i.y)),e.containsRect=(i,o)=>{for(let a of(0,e.points)(o))if(!(0,e.containsPoint)(i,a))return!1;return!0},e.toCSS=i=>({display:"block",transform:`translate(${i.x}px, ${i.y}px)`,width:`${i.width}px`,height:`${i.height}px`}),e.inset=(i,o)=>({x:i.x+o,y:i.y+o,width:Math.max(0,i.width-2*o),height:Math.max(0,i.height-2*o)}),e.intersects=(i,o)=>!(o.x>=(0,e.maxX)(i)||(0,e.maxX)(o)<=i.x||o.y>=(0,e.maxY)(i)||(0,e.maxY)(o)<=i.y),e.overlapHorizontally=(i,o)=>{let a=e.maxX(i),s=e.maxX(o);return a>o.x&&s>i.x},e.overlapVertically=(i,o)=>{let a=e.maxY(i),s=e.maxY(o);return a>o.y&&s>i.y},e.doesNotIntersect=(i,o)=>o.find(a=>e.intersects(a,i))===void 0,e.isEqual=(i,o)=>{if(i&&o){let{x:a,y:s,width:l,height:c}=i;return o.x===a&&o.y===s&&o.width===l&&o.height===c}else return i===o},e.cornerPoints=i=>{let o=i.x,a=i.x+i.width,s=i.y,l=i.y+i.height;return[{x:o,y:s},{x:a,y:s},{x:a,y:l},{x:o,y:l}]},e.midPoints=i=>{let o=i.x,a=i.x+i.width/2,s=i.x+i.width,l=i.y,c=i.y+i.height/2,u=i.y+i.height;return[{x:a,y:l},{x:s,y:c},{x:a,y:u},{x:o,y:c}]},e.pointDistance=(i,o)=>{let a=0,s=0;return o.xe.maxX(i)&&(a=o.x-e.maxX(i)),o.ye.maxY(i)&&(s=o.y-e.maxY(i)),Lt.distance({x:a,y:s},{x:0,y:0})};let n={x:0,y:0,width:0,height:0};e.fromAny=(i,o=n)=>({x:i.x||o.x,y:i.y||o.y,width:i.width||o.width,height:i.height||o.height})})(ua||(ua={}));var ri;(e=>{e.quickfix=t=>((t.widthType===2||t.heightType===2)&&(t.aspectRatio=null),V(t.aspectRatio)&&(t.left&&t.right&&(t.widthType=0),t.top&&t.bottom&&(t.heightType=0),t.left&&t.right&&t.top&&t.bottom&&(t.bottom=!1),t.widthType!==0&&t.heightType!==0&&(t.heightType=0)),t.left&&t.right&&((t.fixedSize||t.widthType===2||V(t.maxWidth))&&(t.right=!1),t.widthType=0),t.top&&t.bottom&&((t.fixedSize||t.heightType===2||V(t.maxHeight))&&(t.bottom=!1),t.heightType=0),t)})(ri||(ri={}));function ni(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 fa;(e=>{e.fromProperties=t=>{let{left:r,right:n,top:i,bottom:o,width:a,height:s,centerX:l,centerY:c,aspectRatio:u,autoSize:f}=t,d=ri.quickfix({left:V(r)||He(r),right:V(n)||He(n),top:V(i)||He(i),bottom:V(o)||He(o),widthType:ni(a),heightType:ni(s),aspectRatio:u||null,fixedSize:f===!0}),p=null,m=null,y=0,x=0;if(d.widthType!==0&&typeof a=="string"){let g=parseFloat(a);a.endsWith("fr")?(y=3,p=g):a==="auto"?y=2:(y=1,p=g/100)}else a!==void 0&&typeof a!="string"&&(p=ce.getNumber(a));if(d.heightType!==0&&typeof s=="string"){let g=parseFloat(s);s.endsWith("fr")?(x=3,m=g):s==="auto"?x=2:(x=1,m=parseFloat(s)/100)}else s!==void 0&&typeof s!="string"&&(m=ce.getNumber(s));let v=.5,b=.5;return l&&(v=parseFloat(l)/100),c&&(b=parseFloat(c)/100),{left:d.left?ce.getNumber(r):null,right:d.right?ce.getNumber(n):null,top:d.top?ce.getNumber(i):null,bottom:d.bottom?ce.getNumber(o):null,widthType:y,heightType:x,width:p,height:m,aspectRatio:d.aspectRatio||null,centerAnchorX:v,centerAnchorY:b}},e.toSize=(t,r,n,i)=>{let o=null,a=null,s=r?.sizing?ce.getNumber(r?.sizing.width):null,l=r?.sizing?ce.getNumber(r?.sizing.height):null,c=zu(t.left,t.right);if(s&&V(c))o=s-c;else if(n&&t.widthType===2)o=n.width;else if(V(t.width))switch(t.widthType){case 0:o=t.width;break;case 3:o=i?i.freeSpaceInParent.width/i.freeSpaceUnitDivisor.width*t.width:null;break;case 1:case 4:s&&(o=s*t.width);break;case 2:break;default:Hu(t.widthType)}let u=zu(t.top,t.bottom);if(l&&V(u))a=l-u;else if(n&&t.heightType===2)a=n.height;else if(V(t.height))switch(t.heightType){case 0:a=t.height;break;case 3:a=i?i.freeSpaceInParent.height/i.freeSpaceUnitDivisor.height*t.height:null;break;case 1:case 4:l&&(a=l*t.height);break;case 2:break;default:Hu(t.heightType)}return w0(o,a,t,{height:l??0,width:s??0},r?.viewport)},e.toRect=(t,r=null,n=null,i=!1,o=null)=>{var a;let s=t.left||0,l=t.top||0,{width:c,height:u}=e.toSize(t,r,n,o),f=(a=r?.positioning)!=null?a:null,d=f?ce.getNumber(f.width):null,p=f?ce.getNumber(f.height):null;t.left!==null?s=t.left:d&&t.right!==null?s=d-t.right-c:d&&(s=t.centerAnchorX*d-c/2),t.top!==null?l=t.top:p&&t.bottom!==null?l=p-t.bottom-u:p&&(l=t.centerAnchorY*p-u/2);let m={x:s,y:l,width:c,height:u};return i?ua.pixelAligned(m):m}})(fa||(fa={}));var y0=200,x0=200;function ii(e,t,r,n){if(typeof t=="string"){if(t.endsWith("%")&&r)switch(e){case"maxWidth":case"minWidth":return parseFloat(t)/100*r.width;case"maxHeight":case"minHeight":return parseFloat(t)/100*r.height;default:break}if(t.endsWith("vh")&&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}return parseFloat(t)}return t}function b0(e,t,r,n){return t.minHeight&&(e=Math.max(ii("minHeight",t.minHeight,r,n),e)),t.maxHeight&&(e=Math.min(ii("maxHeight",t.maxHeight,r,n),e)),e}function S0(e,t,r,n){return t.minWidth&&(e=Math.max(ii("minWidth",t.minWidth,r,n),e)),t.maxWidth&&(e=Math.min(ii("maxWidth",t.maxWidth,r,n),e)),e}function w0(e,t,r,n,i){let o=S0(V(e)?e:y0,r,n,i),a=b0(V(t)?t:x0,r,n,i);return V(r.aspectRatio)&&r.aspectRatio>0&&(V(r.left)&&V(r.right)?a=o/r.aspectRatio:V(r.top)&&V(r.bottom)?o=a*r.aspectRatio:r.widthType!==0?a=o/r.aspectRatio:o=a*r.aspectRatio),{width:o,height:a}}function zu(e,t){return!V(e)||!V(t)?null:e+t}function C0(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 nn(e){return!e._constraints||C0(e)?!1:e._constraints.enabled}function T0(e){let{size:t}=e,{width:r,height:n}=e;return V(t)&&(r===void 0&&(r=t),n===void 0&&(n=t)),V(r)&&V(n)?{width:r,height:n}:null}function E0(e){let t=T0(e);if(t===null)return null;let{left:r,top:n}=e;return V(r)&&V(n)?{x:r,y:n,...t}:null}function sr(e,t,r=!0){if(e.positionFixed||e.positionAbsolute)return null;let n=t===1||t===2;if(!nn(e)||n)return E0(e);let i=R0(e),o=k0(t),a=o?{sizing:o,positioning:o,viewport:null}:null;return fa.toRect(i,a,null,r,null)}function R0(e){let{left:t,right:r,top:n,bottom:i,center:o,_constraints:a,size:s}=e,{width:l,height:c}=e;l===void 0&&(l=s),c===void 0&&(c=s);let{aspectRatio:u,autoSize:f}=a,d=ri.quickfix({left:V(t),right:V(r),top:V(n),bottom:V(i),widthType:ni(l),heightType:ni(c),aspectRatio:u||null,fixedSize:f===!0}),p=null,m=null,y=0,x=0;if(d.widthType!==0&&typeof l=="string"){let g=parseFloat(l);l.endsWith("fr")?(y=3,p=g):l==="auto"?y=2:(y=1,p=g/100)}else l!==void 0&&typeof l!="string"&&(p=l);if(d.heightType!==0&&typeof c=="string"){let g=parseFloat(c);c.endsWith("fr")?(x=3,m=g):c==="auto"?x=2:(x=1,m=parseFloat(c)/100)}else c!==void 0&&typeof c!="string"&&(m=c);let v=.5,b=.5;return(o===!0||o==="x")&&(d.left=!1,typeof t=="string"&&(v=parseFloat(t)/100)),(o===!0||o==="y")&&(d.top=!1,typeof n=="string"&&(b=parseFloat(n)/100)),{left:d.left?t:null,right:d.right?r:null,top:d.top?n:null,bottom:d.bottom?i:null,widthType:y,heightType:x,width:p,height:m,aspectRatio:d.aspectRatio||null,centerAnchorX:v,centerAnchorY:b,minHeight:e.minHeight,maxHeight:e.maxHeight,minWidth:e.minWidth,maxWidth:e.maxWidth}}var Ra=h.createContext({parentSize:0});function k0(e){return e===0||e===1||e===2?null:e}function lr(){return h.useContext(Ra).parentSize}function $f(e){return typeof e=="object"}var _0=e=>{let t=lr(),{parentSize:r,children:n}=e,i=h.useMemo(()=>({parentSize:r}),[P0(r),I0(r)]);return t===1?n?h.createElement(h.Fragment,null,n):null:h.createElement(Ra.Provider,{value:i},n)};function P0(e){return $f(e)?e.width:e}function I0(e){return $f(e)?e.height:e}var ZE=Ra.Consumer;function F0(e,t){return h.createElement(_0,{parentSize:t},e)}function M0(e){let t=lr();return sr(e,t,!0)}var L0=(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.Link="link",e.Date="date",e.Object="object",e.Font="font",e.PageScope="pagescope",e))(L0||{}),Xo;function O0(){if(Xo!==void 0)return Xo;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),Xo=t,t}var Ht="flexbox-gap-not-supported",Nu=!1;function JE(){Nu||(Nu=!0,!O0()&&document.body.classList.add(Ht))}var A0=` [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); } `,V0=` [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); } `,D0=` [data-framer-component-type="DeprecatedRichText"] span[data-text-fill] { display: inline-block; background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; } `,B0=` [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)); } `,H0=` [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))); } `,z0=` a[data-framer-page-link-current], a[data-framer-page-link-current] span: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: 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))); } `,N0=` a[data-framer-page-link-current]:hover, a[data-framer-page-link-current]:hover span: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: 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)))); } `,$0=` [data-framer-component-type="DeprecatedRichText"] strong { font-weight: bolder; } `,U0=` [data-framer-component-type="DeprecatedRichText"] em { font-style: italic; } `,W0=` [data-framer-component-type="DeprecatedRichText"] .framer-image { display: block; max-width: 100%; height: auto; } `,j0=` [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; } `,G0=` [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; } `,X0=` [data-framer-component-type="DeprecatedRichText"] ul, [data-framer-component-type="DeprecatedRichText"] ol { display: table; width: 100%; padding-left: 0; margin: 0; } `,Y0=` [data-framer-component-type="DeprecatedRichText"] li { display: table-row; counter-increment: list-item; list-style: none; } `,K0=` [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; } `,q0=` [data-framer-component-type="DeprecatedRichText"] ul > li::before { display: table-cell; width: 2.25ch; box-sizing: border-box; padding-right: 0.75ch; content: "\u2022"; } `,Z0=['[data-framer-component-type="DeprecatedRichText"] { cursor: inherit; }',G0,j0,A0,V0,D0,B0,H0,z0,N0,$0,U0,W0,X0,Y0,K0,q0],J0=[` 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-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); } `,` strong.framer-text { font-weight: bolder; } `,` em.framer-text { font-style: italic; } `,` code.framer-text { padding: 2px; border-radius: 4px; background-color: rgba(0, 0, 0, .08); } `,` code.framer-text, code.framer-text .framer-text:not([data-text-fill]) { font-family: "Courier New", monospace; } `,` 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), .framer-image.framer-text:not(:first-child) { margin-top: 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-line-height, 1.3em)) / 2)); margin: min(0em, calc(calc(1.3em - var(--framer-line-height, 1.3em)) / -2)); } `,` a.framer-text, a.framer-text span.framer-text: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)); cursor: var(--framer-custom-cursors, pointer); } `,` a.framer-text:hover, a.framer-text:hover span.framer-text: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))); } `,` a.framer-text[data-framer-page-link-current], a.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: 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))); } `,` 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]) { 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)))); } `,` .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; } `,` 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-right: 0.75ch; content: counter(list-item) "."; white-space: nowrap; } `,` ul.framer-text > li.framer-text::before { display: table-cell; width: 2.25ch; box-sizing: border-box; padding-right: 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%; } } `],Q0=new Set,Yo;function Uf(e,t,r=Q0){if(!(!e||r.has(e)||typeof document>"u")){if(r.add(e),!t){if(!Yo){let n=document.createElement("style");if(n.setAttribute("type","text/css"),n.setAttribute("data-framer-css","true"),!document.head){console.warn("not injecting CSS: the document is missing a element");return}if(document.head.appendChild(n),n.sheet)Yo=n.sheet;else{console.warn("not injecting CSS: injected