import{a as Ju,b as Fe,c as _}from"./chunk-RIUMFBNJ.mjs";var St={};Ju(St,{Children:()=>ar,Component:()=>Ee,Fragment:()=>lr,Profiler:()=>fT,PureComponent:()=>dT,StrictMode:()=>hT,Suspense:()=>os,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:()=>pT,cloneElement:()=>Mr,createContext:()=>Se,createElement:()=>el,createFactory:()=>mT,createRef:()=>Zi,default:()=>w,forwardRef:()=>De,isValidElement:()=>Yt,lazy:()=>gT,memo:()=>vT,startTransition:()=>cr,unstable_act:()=>yT,useCallback:()=>oe,useContext:()=>D,useDebugValue:()=>bT,useDeferredValue:()=>xT,useEffect:()=>$,useId:()=>hi,useImperativeHandle:()=>wT,useInsertionEffect:()=>it,useLayoutEffect:()=>ot,useMemo:()=>se,useReducer:()=>ST,useRef:()=>A,useState:()=>Xe,useSyncExternalStore:()=>Sg,useTransition:()=>kT,version:()=>CT});var w={},is=Symbol.for("react.element"),KC=Symbol.for("react.portal"),QC=Symbol.for("react.fragment"),ZC=Symbol.for("react.strict_mode"),JC=Symbol.for("react.profiler"),eT=Symbol.for("react.provider"),tT=Symbol.for("react.context"),nT=Symbol.for("react.forward_ref"),rT=Symbol.for("react.suspense"),iT=Symbol.for("react.memo"),oT=Symbol.for("react.lazy"),dg=Symbol.iterator;function sT(e){return e===null||typeof e!="object"?null:(e=dg&&e[dg]||e["@@iterator"],typeof e=="function"?e:null)}var mg={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},gg=Object.assign,vg={};function Qi(e,t,n){this.props=e,this.context=t,this.refs=vg,this.updater=n||mg}Qi.prototype.isReactComponent={};Qi.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")};Qi.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function yg(){}yg.prototype=Qi.prototype;function tf(e,t,n){this.props=e,this.context=t,this.refs=vg,this.updater=n||mg}var nf=tf.prototype=new yg;nf.constructor=tf;gg(nf,Qi.prototype);nf.isPureReactComponent=!0;var hg=Array.isArray,bg=Object.prototype.hasOwnProperty,rf={current:null},xg={key:!0,ref:!0,__self:!0,__source:!0};function wg(e,t,n){var r,i={},o=null,s=null;if(t!=null)for(r in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(o=""+t.key),t)bg.call(t,r)&&!xg.hasOwnProperty(r)&&(i[r]=t[r]);var a=arguments.length-2;if(a===1)i.children=n;else if(1t in e?Df(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,hn=(e,t)=>function(){return t||(0,e[jv(e)[0]])((t={exports:{}}).exports,t),t.exports},VT=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of jv(t))!DT.call(e,i)&&i!==n&&Df(e,i,{get:()=>t[i],enumerable:!(r=LT(t,i))||r.enumerable});return e},qn=(e,t,n)=>(n=e!=null?OT(MT(e)):{},VT(t||!e||!e.__esModule?Df(n,"default",{value:e,enumerable:!0}):n,e)),C=(e,t,n)=>(AT(e,typeof t!="symbol"?t+"":t,n),n),Af=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)},ce=(e,t,n)=>(Af(e,t,"read from private field"),n?n.call(e):t.get(e)),Zt=(e,t,n)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,n)},Vf=(e,t,n,r)=>(Af(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),Bt=(e,t,n)=>(Af(e,t,"access private method"),n),zT=hn({"../../../node_modules/@emotion/memoize/dist/memoize.browser.cjs.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});function t(n){var r={};return function(i){return r[i]===void 0&&(r[i]=n(i)),r[i]}}e.default=t}}),BT=hn({"../../../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 n=t(zT()),r=/^((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|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|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=n(function(o){return r.test(o)||o.charCodeAt(0)===111&&o.charCodeAt(1)===110&&o.charCodeAt(2)<91});e.default=i}}),dr=Se({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),bs=Se({}),co=Se(null),pl=typeof _<"u",wi=pl?ot:$,ml=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),$T="framerAppearId",zf="data-"+ml($T),gl={skipAnimations:!1,useManualTiming:!1},vl=Se({}),ms=Se({}),pt=e=>e,xs=pt,Kt=pt,Wv=Se({strict:!1});function NT(e){let t=new Set,n=new Set,r=!1,i=!1,o=new WeakSet,s={delta:0,timestamp:0,isProcessing:!1};function a(c){o.has(c)&&(l.schedule(c),e()),c(s)}let l={schedule:(c,u=!1,f=!1)=>{let p=f&&r?t:n;return u&&o.add(c),p.has(c)||p.add(c),c},cancel:c=>{n.delete(c),o.delete(c)},process:c=>{if(s=c,r){i=!0;return}r=!0,[t,n]=[n,t],n.clear(),t.forEach(a),r=!1,i&&(i=!1,l.process(c))}};return l}var as=["read","resolveKeyframes","update","preRender","render","postRender"],HT=40;function Uv(e,t){let n=!1,r=!0,i={delta:0,timestamp:0,isProcessing:!1},o=()=>n=!0,s=as.reduce((h,m)=>(h[m]=NT(o),h),{}),{read:a,resolveKeyframes:l,update:c,preRender:u,render:f,postRender:d}=s,p=()=>{let h=gl.useManualTiming?i.timestamp:performance.now();n=!1,i.delta=r?1e3/60:Math.max(Math.min(h-i.timestamp,HT),1),i.timestamp=h,i.isProcessing=!0,a.process(i),l.process(i),c.process(i),u.process(i),f.process(i),d.process(i),i.isProcessing=!1,n&&t&&(r=!1,e(p))},g=()=>{n=!0,r=!0,i.isProcessing||e(p)};return{schedule:as.reduce((h,m)=>{let v=s[m];return h[m]=(x,T=!1,S=!1)=>(n||g(),v.schedule(x,T,S)),h},{}),cancel:h=>{for(let m=0;m{f&&f.update(n,l)});let p=n[zf],g=A(!!p&&!_.MotionHandoffIsComplete&&((o=_.MotionHasOptimisedAnimation)===null||o===void 0?void 0:o.call(_,p)));return wi(()=>{f&&(f.updateFeatures(),Bf.render(f.render),g.current&&f.animationState&&f.animationState.animateChanges())}),$(()=>{f&&(!g.current&&f.animationState&&f.animationState.animateChanges(),g.current=!1,Cg||(Cg=!0,queueMicrotask(WT)))}),f}function WT(){_.MotionHandoffIsComplete=!0}function UT(e,t,n,r){let{layoutId:i,layout:o,drag:s,dragConstraints:a,layoutScroll:l,layoutRoot:c}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:Gv(e.parent)),e.projection.setOptions({layoutId:i,layout:o,alwaysMeasureLayout:!!s||a&&eo(a),visualElement:e,animationType:typeof o=="string"?o:"both",initialPromotionConfig:r,layoutScroll:l,layoutRoot:c})}function Gv(e){if(e)return e.options.allowProjection!==!1?e.projection:Gv(e.parent)}function GT(e,t,n){return oe(r=>{r&&e.mount&&e.mount(r),t&&(r?t.mount(r):t.unmount()),n&&(typeof n=="function"?n(r):eo(n)&&(n.current=r))},[t])}function gs(e){return typeof e=="string"||Array.isArray(e)}function vs(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}var $f=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Nf=["initial",...$f];function yl(e){return vs(e.animate)||Nf.some(t=>gs(e[t]))}function qv(e){return!!(yl(e)||e.variants)}function qT(e,t){if(yl(e)){let{initial:n,animate:r}=e;return{initial:n===!1||gs(n)?n:void 0,animate:gs(r)?r:void 0}}return e.inherit!==!1?t:{}}function XT(e){let{initial:t,animate:n}=qT(e,D(bs));return se(()=>({initial:t,animate:n}),[Tg(t),Tg(n)])}function Tg(e){return Array.isArray(e)?e.join(" "):e}var Eg={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"]},oo={};for(let e in Eg)oo[e]={isEnabled:t=>Eg[e].some(n=>!!t[n])};function YT(e){for(let t in e)oo[t]={...oo[t],...e[t]}}var Hf=Symbol.for("motionComponentSymbol");function Xv({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:r,Component:i}){e&&YT(e);function o(a,l){let c,u={...D(dr),...a,layoutId:KT(a)},{isStatic:f}=u,d=XT(a),p=r(a,f);if(!f&&pl){QT(u,e);let g=ZT(u);c=g.MeasureLayout,d.visualElement=jT(i,p,u,t,g.ProjectionNode)}return ue(bs.Provider,{value:d,children:[c&&d.visualElement?k(c,{visualElement:d.visualElement,...u}):null,n(i,a,GT(p,d.visualElement,l),p,f,d.visualElement)]})}let s=De(o);return s[Hf]=i,s}function KT({layoutId:e}){let t=D(ms).id;return t&&e!==void 0?t+"-"+e:e}function QT(e,t){let n=D(Wv).strict}function ZT(e){let{drag:t,layout:n}=oo;if(!t&&!n)return{};let r={...t,...n};return{MeasureLayout:t?.isEnabled(e)||n?.isEnabled(e)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}var al={};function jf(e){Object.assign(al,e)}var He=e=>!!(e&&e.getVelocity),hr=(e,t,n)=>n>t?t:nMath.round(e*1e5)/1e5,Wf=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,JT=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,eE=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu;function ws(e){return typeof e=="string"}function tE(e){return e==null}var Ss=e=>({test:t=>ws(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Dr=Ss("deg"),jn=Ss("%"),G=Ss("px"),nE=Ss("vh"),rE=Ss("vw"),Rg={...jn,parse:e=>jn.parse(e)/100,transform:e=>jn.transform(e*100)},ks=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Vr=new Set(ks),Yv=(e,t)=>t&&typeof e=="number"?t.transform(e):e,uo={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},fs={...uo,transform:e=>hr(0,1,e)},tl={...uo,default:1},Pg={...uo,transform:Math.round},Uf={borderWidth:G,borderTopWidth:G,borderRightWidth:G,borderBottomWidth:G,borderLeftWidth:G,borderRadius:G,radius:G,borderTopLeftRadius:G,borderTopRightRadius:G,borderBottomRightRadius:G,borderBottomLeftRadius:G,width:G,maxWidth:G,height:G,maxHeight:G,size:G,top:G,right:G,bottom:G,left:G,padding:G,paddingTop:G,paddingRight:G,paddingBottom:G,paddingLeft:G,margin:G,marginTop:G,marginRight:G,marginBottom:G,marginLeft:G,rotate:Dr,rotateX:Dr,rotateY:Dr,rotateZ:Dr,scale:tl,scaleX:tl,scaleY:tl,scaleZ:tl,skew:Dr,skewX:Dr,skewY:Dr,distance:G,translateX:G,translateY:G,translateZ:G,x:G,y:G,z:G,perspective:G,transformPerspective:G,opacity:fs,originX:Rg,originY:Rg,originZ:G,zIndex:Pg,backgroundPositionX:G,backgroundPositionY:G,fillOpacity:fs,strokeOpacity:fs,numOctaves:Pg},iE={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},oE=ks.length;function Kv(e,t,n){let r="",i=!0;for(let o=0;o!so(e);function Zv(e){e&&(Qv=t=>t.startsWith("on")?!so(t):e(t))}try{Zv(BT().default)}catch{}function Jv(e,t,n){let r={};for(let i in e)i==="values"&&typeof e.values=="object"||(Qv(i)||n===!0&&so(i)||!t&&!so(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}var vf=e=>Array.isArray(e),aE=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),lE=e=>vf(e)?e[e.length-1]||0:e;function kt(e){let t=He(e)?e.get():e;return aE(t)?t.toValue():t}function Fg(e){let t=[{},{}];return e?.values.forEach((n,r)=>{t[0][r]=n.get(),t[1][r]=n.getVelocity()}),t}function Gf(e,t,n,r){if(typeof t=="function"){let[i,o]=Fg(r);t=t(n!==void 0?n:e.custom,i,o)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){let[i,o]=Fg(r);t=t(n!==void 0?n:e.custom,i,o)}return t}function mr(e){let t=A(null);return t.current===null&&(t.current=e()),t.current}var ey=new Set(["opacity","clipPath","filter","transform"]);function ty(e){if(Vr.has(e))return"transform";if(ey.has(e))return ml(e)}function bl(e,t){e.indexOf(t)===-1&&e.push(t)}function Cs(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function cE([...e],t,n){let r=t<0?e.length+t:t;if(r>=0&&rr(i,c,l)),l}var xl=e=>(t,n)=>{let r=D(bs),i=D(co),o=()=>uE(e,t,r,i,n);return n?o():mr(o)};function fE(e,t){let n=ty(t);n&&bl(e,n)}function _g(e,t,n){let r=Array.isArray(t)?t:[t];for(let i=0;i{for(let m in b){let v=b[m];if(Array.isArray(v)){let x=g?v.length-1:0;v=v[x]}v!==null&&(s[m]=v)}for(let m in h)s[m]=h[m]}),l&&(f&&u!==!1&&!vs(f)&&_g(e,f,b=>{for(let h in b)fE(a,h)}),a.length&&(s.willChange=a.join(","))),s}var{schedule:Z,cancel:Qt,state:Je,steps:il}=Uv(typeof requestAnimationFrame<"u"?requestAnimationFrame:pt,!0),ny=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;function wl(e,t="page"){return{point:{x:e[`${t}X`],y:e[`${t}Y`]}}}var ry=e=>t=>ny(t)&&e(t,wl(t));function ur(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}function Wn(e,t,n,r){return ur(e,t,ry(n),r)}var hE=(e,t)=>n=>t(e(n)),Un=(...e)=>e.reduce(hE);function iy(e){let t=null;return()=>{let n=()=>{t=null};return t===null?(t=e,n):!1}}var Ig=iy("dragHorizontal"),Og=iy("dragVertical");function oy(e){let t=!1;if(e==="y")t=Og();else if(e==="x")t=Ig();else{let n=Ig(),r=Og();n&&r?t=()=>{n(),r()}:(n&&n(),r&&r())}return t}function qf(){let e=oy(!0);return e?(e(),!1):!0}var Xf=(e,t)=>n=>!!(ws(n)&&eE.test(n)&&n.startsWith(e)||t&&!tE(n)&&Object.prototype.hasOwnProperty.call(n,t)),sy=(e,t,n)=>r=>{if(!ws(r))return r;let[i,o,s,a]=r.match(Wf);return{[e]:parseFloat(i),[t]:parseFloat(o),[n]:parseFloat(s),alpha:a!==void 0?parseFloat(a):1}},pE=e=>hr(0,255,e),sf={...uo,transform:e=>Math.round(pE(e))},vi={test:Xf("rgb","red"),parse:sy("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+sf.transform(e)+", "+sf.transform(t)+", "+sf.transform(n)+", "+us(fs.transform(r))+")"};function mE(e){let t="",n="",r="",i="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}var yf={test:Xf("#"),parse:mE,transform:vi.transform},to={test:Xf("hsl","hue"),parse:sy("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+jn.transform(us(t))+", "+jn.transform(us(n))+", "+us(fs.transform(r))+")"},ht={test:e=>vi.test(e)||yf.test(e)||to.test(e),parse:e=>vi.test(e)?vi.parse(e):to.test(e)?to.parse(e):yf.parse(e),transform:e=>ws(e)?e:e.hasOwnProperty("red")?vi.transform(e):to.transform(e)};function gE(e){var t,n;return isNaN(e)&&ws(e)&&(((t=e.match(Wf))===null||t===void 0?void 0:t.length)||0)+(((n=e.match(JT))===null||n===void 0?void 0:n.length)||0)>0}var ay="number",ly="color",vE="var",yE="var(",Lg="${}",bE=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function ys(e){let t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[],o=0,a=t.replace(bE,l=>(ht.test(l)?(r.color.push(o),i.push(ly),n.push(ht.parse(l))):l.startsWith(yE)?(r.var.push(o),i.push(vE),n.push(l)):(r.number.push(o),i.push(ay),n.push(parseFloat(l))),++o,Lg)).split(Lg);return{values:n,split:a,indexes:r,types:i}}function cy(e){return ys(e).values}function uy(e){let{split:t,types:n}=ys(e),r=t.length;return i=>{let o="";for(let s=0;stypeof e=="number"?0:e;function wE(e){let t=cy(e);return uy(e)(t.map(xE))}var pr={test:gE,parse:cy,createTransformer:uy,getAnimatableNone:wE},Pn=e=>e*1e3,Gn=e=>e/1e3;function fy(e,t){return t?e*(1e3/t):0}var SE=5;function dy(e,t,n){let r=Math.max(t-SE,0);return fy(n-e(r),t-r)}var af=.001,kE=.01,Mg=10,CE=.05,TE=1;function EE({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let i,o;xs(e<=Pn(Mg),"Spring duration must be 10 seconds or less");let s=1-t;s=hr(CE,TE,s),e=hr(kE,Mg,Gn(e)),s<1?(i=c=>{let u=c*s,f=u*e,d=u-n,p=bf(c,s),g=Math.exp(-f);return af-d/p*g},o=c=>{let f=c*s*e,d=f*n+n,p=Math.pow(s,2)*Math.pow(c,2)*e,g=Math.exp(-f),y=bf(Math.pow(c,2),s);return(-i(c)+af>0?-1:1)*((d-p)*g)/y}):(i=c=>{let u=Math.exp(-c*e),f=(c-n)*e+1;return-af+u*f},o=c=>{let u=Math.exp(-c*e),f=(n-c)*(e*e);return u*f});let a=5/e,l=PE(i,o,a);if(e=Pn(e),isNaN(l))return{stiffness:100,damping:10,duration:e};{let c=Math.pow(l,2)*r;return{stiffness:c,damping:s*2*Math.sqrt(r*c),duration:e}}}var RE=12;function PE(e,t,n){let r=n;for(let i=1;ie[n]!==void 0)}function IE(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!Dg(e,_E)&&Dg(e,FE)){let n=EE(e);t={...t,...n,mass:1},t.isResolvedFromDuration=!0}return t}function Ts({keyframes:e,restDelta:t,restSpeed:n,...r}){let i=e[0],o=e[e.length-1],s={done:!1,value:i},{stiffness:a,damping:l,mass:c,duration:u,velocity:f,isResolvedFromDuration:d}=IE({...r,velocity:-Gn(r.velocity||0)}),p=f||0,g=l/(2*Math.sqrt(a*c)),y=o-i,b=Gn(Math.sqrt(a/c)),h=Math.abs(y)<5;n||(n=h?.01:2),t||(t=h?.005:.5);let m;if(g<1){let v=bf(b,g);m=x=>{let T=Math.exp(-g*b*x);return o-T*((p+g*b*y)/v*Math.sin(v*x)+y*Math.cos(v*x))}}else if(g===1)m=v=>o-Math.exp(-b*v)*(y+(p+b*y)*v);else{let v=b*Math.sqrt(g*g-1);m=x=>{let T=Math.exp(-g*b*x),S=Math.min(v*x,300);return o-T*((p+g*b*y)*Math.sinh(S)+v*y*Math.cosh(S))/v}}return{calculatedDuration:d&&u||null,next:v=>{let x=m(v);if(d)s.done=v>=u;else{let T=0;g<1&&(T=v===0?Pn(p):dy(m,v,x));let S=Math.abs(T)<=n,E=Math.abs(o-x)<=t;s.done=S&&E}return s.value=s.done?o:x,s}}}var hy=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,OE=1e-7,LE=12;function ME(e,t,n,r,i){let o,s,a=0;do s=t+(n-t)/2,o=hy(s,r,i)-e,o>0?n=s:t=s;while(Math.abs(o)>OE&&++aME(o,0,1,e,n);return o=>o===0||o===1?o:hy(i(o),t,r)}var py=fo(.42,0,1,1),my=fo(0,0,.58,1),Yf=fo(.42,0,.58,1),Kf=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Qf=e=>t=>1-e(1-t),Sl=e=>1-Math.sin(Math.acos(e)),Zf=Qf(Sl),gy=Kf(Sl),Jf=fo(.33,1.53,.69,.99),kl=Qf(Jf),vy=Kf(kl),yy=e=>(e*=2)<1?.5*kl(e):.5*(2-Math.pow(2,-10*(e-1))),xi=(e,t,n)=>{let r=t-e;return r===0?1:(n-e)/r},_e=(e,t,n)=>e+(t-e)*n;function lf(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function DE({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,o=0,s=0;if(!t)i=o=s=n;else{let a=n<.5?n*(1+t):n+t-n*t,l=2*n-a;i=lf(l,a,e+1/3),o=lf(l,a,e),s=lf(l,a,e-1/3)}return{red:Math.round(i*255),green:Math.round(o*255),blue:Math.round(s*255),alpha:r}}function ll(e,t){return n=>n>0?t:e}var cf=(e,t,n)=>{let r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},AE=[yf,vi,to],VE=e=>AE.find(t=>t.test(e));function Ag(e){let t=VE(e);if(xs(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`),!t)return!1;let n=t.parse(e);return t===to&&(n=DE(n)),n}var Vg=(e,t)=>{let n=Ag(e),r=Ag(t);if(!n||!r)return ll(e,t);let i={...n};return o=>(i.red=cf(n.red,r.red,o),i.green=cf(n.green,r.green,o),i.blue=cf(n.blue,r.blue,o),i.alpha=_e(n.alpha,r.alpha,o),vi.transform(i))},by=e=>t=>typeof t=="string"&&t.startsWith(e),xy=by("--"),zE=by("var(--"),ed=e=>zE(e)?BE.test(e.split("/*")[0].trim()):!1,BE=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,xf=new Set(["none","hidden"]);function $E(e,t){return xf.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function NE(e,t){return n=>_e(e,t,n)}function td(e){return typeof e=="number"?NE:typeof e=="string"?ed(e)?ll:ht.test(e)?Vg:WE:Array.isArray(e)?wy:typeof e=="object"?ht.test(e)?Vg:HE:ll}function wy(e,t){let n=[...e],r=n.length,i=e.map((o,s)=>td(o)(o,t[s]));return o=>{for(let s=0;s{for(let o in r)n[o]=r[o](i);return n}}function jE(e,t){var n;let r=[],i={color:0,var:0,number:0};for(let o=0;o{let n=pr.createTransformer(t),r=ys(e),i=ys(t);return r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length?xf.has(e)&&!i.values.length||xf.has(t)&&!r.values.length?$E(e,t):Un(wy(jE(r,i),i.values),n):(xs(!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.`),ll(e,t))};function nd(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?_e(e,t,n):td(e)(e,t)}function UE(e,t,n){let r=[],i=n||nd,o=e.length-1;for(let s=0;st[0];if(o===2&&e[0]===e[1])return()=>t[1];e[0]>e[o-1]&&(e=[...e].reverse(),t=[...t].reverse());let s=UE(t,r,i),a=s.length,l=c=>{let u=0;if(a>1)for(;ul(hr(e[0],e[o-1],c)):l}var GE=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),zg=e=>e===uo||e===G,Bg=(e,t)=>parseFloat(e.split(", ")[t]),$g=(e,t)=>(n,{transform:r})=>{if(r==="none"||!r)return 0;let i=r.match(/^matrix3d\((.+)\)$/u);if(i)return Bg(i[1],t);{let o=r.match(/^matrix\((.+)\)$/u);return o?Bg(o[1],e):0}},qE=new Set(["x","y","z"]),XE=ks.filter(e=>!qE.has(e));function YE(e){let t=[];return XE.forEach(n=>{let r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}var ao={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:$g(4,13),y:$g(5,14)};ao.translateX=ao.x;ao.translateY=ao.y;var yi=new Set,wf=!1,Sf=!1;function Sy(){if(Sf){let e=Array.from(yi).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{let i=YE(r);i.length&&(n.set(r,i),r.render())}),e.forEach(r=>r.measureInitialState()),t.forEach(r=>{r.render();let i=n.get(r);i&&i.forEach(([o,s])=>{var a;(a=r.getValue(o))===null||a===void 0||a.set(s)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&_.scrollTo(0,r.suspendedScrollY)})}Sf=!1,wf=!1,yi.forEach(e=>e.complete()),yi.clear()}function ky(){yi.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Sf=!0)})}function KE(){ky(),Sy()}var rd=class{constructor(e,t,n,r,i,o=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=n,this.motionValue=r,this.element=i,this.isAsync=o}scheduleResolve(){this.isScheduled=!0,this.isAsync?(yi.add(this),wf||(wf=!0,Z.read(ky),Z.resolveKeyframes(Sy))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:n,motionValue:r}=this;for(let i=0;ia!==void 0&&Rl,g=R=>a===void 0?l:l===void 0||Math.abs(a-R)-y*Math.exp(-R/r),v=R=>h+m(R),x=R=>{let M=m(R),I=v(R);d.done=Math.abs(M)<=c,d.value=d.done?h:I},T,S,E=R=>{p(d.value)&&(T=R,S=Ts({keyframes:[d.value,g(d.value)],velocity:dy(v,R,d.value),damping:i,stiffness:o,restDelta:c,restSpeed:u}))};return E(0),{calculatedDuration:null,next:R=>{let M=!1;return!S&&T===void 0&&(M=!0,x(R),E(R)),T!==void 0&&R>=T?S.next(R-T):(!M&&x(R),d)}}}var Cy=e=>Array.isArray(e)&&typeof e[0]!="number",Hg={linear:pt,easeIn:py,easeInOut:Yf,easeOut:my,circIn:Sl,circInOut:gy,circOut:Zf,backIn:kl,backInOut:vy,backOut:Jf,anticipate:yy},kf=e=>{if(Array.isArray(e)){Kt(e.length===4,"Cubic bezier arrays must contain four numerical values.");let[t,n,r,i]=e;return fo(t,n,r,i)}else if(typeof e=="string")return Kt(Hg[e]!==void 0,`Invalid easing type '${e}'`),Hg[e];return e};function Ty(e,t){let n=e[e.length-1];for(let r=1;r<=t;r++){let i=xi(0,t,r);e.push(_e(n,1,i))}}function Ey(e){let t=[0];return Ty(t,e.length-1),t}function QE(e,t){return e.map(n=>n*t)}function ZE(e,t){return e.map(()=>t||Yf).splice(0,e.length-1)}function cl({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){let i=Cy(r)?r.map(kf):kf(r),o={done:!1,value:t[0]},s=QE(n&&n.length===t.length?n:Ey(t),e),a=Es(s,t,{ease:Array.isArray(i)?i:ZE(t,i)});return{calculatedDuration:e,next:l=>(o.value=a(l),o.done=l>=e,o)}}var ol;function JE(){ol=void 0}var fr={now:()=>(ol===void 0&&fr.set(Je.isProcessing||gl.useManualTiming?Je.timestamp:performance.now()),ol),set:e=>{ol=e,queueMicrotask(JE)}},ul={current:!1},jg=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(pr.test(e)||e==="0")&&!e.startsWith("url("));function eR(e){let t=e[0];if(e.length===1)return!0;for(let n=0;ne!==null;function Cl(e,{repeat:t,repeatType:n="loop"},r){let i=e.filter(nR),o=t&&n!=="loop"&&t%2===1?0:i.length-1;return!o||r===void 0?i[o]:r}var rR=40,Ry=class{constructor({autoplay:e=!0,delay:t=0,type:n="keyframes",repeat:r=0,repeatDelay:i=0,repeatType:o="loop",...s}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=fr.now(),this.options={autoplay:e,delay:t,type:n,repeat:r,repeatDelay:i,repeatType:o,...s},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt?this.resolvedAt-this.createdAt>rR?this.resolvedAt:this.createdAt:this.createdAt}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&KE(),this._resolved}onKeyframesResolved(e,t){this.resolvedAt=fr.now(),this.hasAttemptedResolve=!0;let{name:n,type:r,velocity:i,delay:o,onComplete:s,onUpdate:a,isGenerator:l}=this.options;if(!l&&!tR(e,n,r,i))if(ul.current||!o){a?.(Cl(e,this.options,t)),s?.(),this.resolveFinishedPromise();return}else this.options.duration=0;let c=this.initPlayback(e,t);c!==!1&&(this._resolved={keyframes:e,finalKeyframe:t,...c},this.onPostResolved())}onPostResolved(){}then(e,t){return this.currentFinishedPromise.then(e,t)}updateFinishedPromise(){this.currentFinishedPromise=new Promise(e=>{this.resolveFinishedPromise=e})}},Cf=2e4;function Py(e){let t=0,n=50,r=e.next(t);for(;!r.done&&t=Cf?1/0:t}var iR=e=>{let t=({timestamp:n})=>e(n);return{start:()=>Z.update(t,!0),stop:()=>Qt(t),now:()=>Je.isProcessing?Je.timestamp:fr.now()}},oR={decay:Ng,inertia:Ng,tween:cl,keyframes:cl,spring:Ts},sR=e=>e/100,Tl=class extends Ry{constructor(e){super(e),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.teardown();let{onStop:a}=this.options;a&&a()};let{name:t,motionValue:n,element:r,keyframes:i}=this.options,o=r?.KeyframeResolver||rd,s=(a,l)=>this.onKeyframesResolved(a,l);this.resolver=new o(i,s,t,n,r),this.resolver.scheduleResolve()}initPlayback(e){let{type:t="keyframes",repeat:n=0,repeatDelay:r=0,repeatType:i,velocity:o=0}=this.options,s=oR[t]||cl,a,l;s!==cl&&typeof e[0]!="number"&&(a=Un(sR,nd(e[0],e[1])),e=[0,100]);let c=s({...this.options,keyframes:e});i==="mirror"&&(l=s({...this.options,keyframes:[...e].reverse(),velocity:-o})),c.calculatedDuration===null&&(c.calculatedDuration=Py(c));let{calculatedDuration:u}=c,f=u+r,d=f*(n+1)-r;return{generator:c,mirroredGenerator:l,mapPercentToKeyframes:a,calculatedDuration:u,resolvedDuration:f,totalDuration:d}}onPostResolved(){let{autoplay:e=!0}=this.options;this.play(),this.pendingPlayState==="paused"||!e?this.pause():this.state=this.pendingPlayState}tick(e,t=!1){let{resolved:n}=this;if(!n){let{keyframes:E}=this.options;return{done:!0,value:E[E.length-1]}}let{finalKeyframe:r,generator:i,mirroredGenerator:o,mapPercentToKeyframes:s,keyframes:a,calculatedDuration:l,totalDuration:c,resolvedDuration:u}=n;if(this.startTime===null)return i.next(0);let{delay:f,repeat:d,repeatType:p,repeatDelay:g,onUpdate:y}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-c/this.speed,this.startTime)),t?this.currentTime=e:this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=Math.round(e-this.startTime)*this.speed;let b=this.currentTime-f*(this.speed>=0?1:-1),h=this.speed>=0?b<0:b>c;this.currentTime=Math.max(b,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=c);let m=this.currentTime,v=i;if(d){let E=Math.min(this.currentTime,c)/u,R=Math.floor(E),M=E%1;!M&&E>=1&&(M=1),M===1&&R--,R=Math.min(R,d+1),!!(R%2)&&(p==="reverse"?(M=1-M,g&&(M-=g/u)):p==="mirror"&&(v=o)),m=hr(0,1,M)*u}let x=h?{done:!1,value:a[0]}:v.next(m);s&&(x.value=s(x.value));let{done:T}=x;!h&&l!==null&&(T=this.speed>=0?this.currentTime>=c:this.currentTime<=0);let S=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&T);return S&&r!==void 0&&(x.value=Cl(a,this.options,r)),y&&y(x.value),S&&this.finish(),x}get duration(){let{resolved:e}=this;return e?Gn(e.calculatedDuration):0}get time(){return Gn(this.currentTime)}set time(e){e=Pn(e),this.currentTime=e,this.holdTime!==null||this.speed===0?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.speed)}get speed(){return this.playbackSpeed}set speed(e){let t=this.playbackSpeed!==e;this.playbackSpeed=e,t&&(this.time=Gn(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;let{driver:e=iR,onPlay:t,startTime:n}=this.options;this.driver||(this.driver=e(i=>this.tick(i))),t&&t();let r=this.driver.now();this.holdTime!==null?this.startTime=r-this.holdTime:this.startTime?this.state==="finished"&&(this.startTime=r):this.startTime=n??this.calcStartTime(),this.state==="finished"&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var e;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=(e=this.currentTime)!==null&&e!==void 0?e:0}complete(){this.state!=="running"&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";let{onComplete:e}=this.options;e&&e()}cancel(){this.cancelTime!==null&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}};function Fy(e){return new Tl(e)}var _y=e=>/^0[^.\s]+$/u.test(e);function aR(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||_y(e):!0}var Iy=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),lR=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function cR(e){let t=lR.exec(e);if(!t)return[,];let[,n,r,i]=t;return[`--${n??r}`,i]}var uR=4;function Oy(e,t,n=1){Kt(n<=uR,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);let[r,i]=cR(e);if(!r)return;let o=_.getComputedStyle(t).getPropertyValue(r);if(o){let s=o.trim();return Iy(s)?parseFloat(s):s}return ed(i)?Oy(i,t,n+1):i}var Ly=e=>t=>t.test(e),fR={test:e=>e==="auto",parse:e=>e},My=[uo,G,jn,Dr,rE,nE,fR],Wg=e=>My.find(Ly(e)),dR=new Set(["brightness","contrast","saturate","opacity"]);function hR(e){let[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;let[r]=n.match(Wf)||[];if(!r)return e;let i=n.replace(r,""),o=dR.has(t)?1:0;return r!==n&&(o*=100),t+"("+o+i+")"}var pR=/\b([a-z-]*)\(.*?\)/gu,Tf={...pr,getAnimatableNone:e=>{let t=e.match(pR);return t?t.map(hR).join(" "):e}},mR={...Uf,color:ht,backgroundColor:ht,outlineColor:ht,fill:ht,stroke:ht,borderColor:ht,borderTopColor:ht,borderRightColor:ht,borderBottomColor:ht,borderLeftColor:ht,filter:Tf,WebkitFilter:Tf},id=e=>mR[e];function Dy(e,t){let n=id(e);return n!==Tf&&(n=pr),n.getAnimatableNone?n.getAnimatableNone(t):void 0}var gR=new Set(["auto","none","0"]);function vR(e,t,n){let r=0,i;for(;r{t.getValue(a).set(l)}),this.resolveNoneKeyframes()}};function Vy(e){let t;return()=>(t===void 0&&(t=e()),t)}var zy=e=>Array.isArray(e)&&typeof e[0]=="number";function By(e){return!!(!e||typeof e=="string"&&e in od||zy(e)||Array.isArray(e)&&e.every(By))}var ls=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,od={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:ls([0,.65,.55,1]),circOut:ls([.55,0,1,.45]),backIn:ls([.31,.01,.66,-.59]),backOut:ls([.33,1.53,.69,.99])};function yR(e){return $y(e)||od.easeOut}function $y(e){if(e)return zy(e)?ls(e):Array.isArray(e)?e.map(yR):od[e]}function bR(e,t,n,{delay:r=0,duration:i=300,repeat:o=0,repeatType:s="loop",ease:a,times:l}={}){let c={[t]:n};l&&(c.offset=l);let u=$y(a);return Array.isArray(u)&&(c.easing=u),e.animate(c,{delay:r,duration:i,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:o+1,direction:s==="reverse"?"alternate":"normal"})}var xR=Vy(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),fl=10,wR=2e4;function SR(e){return e.type==="spring"||!By(e.ease)}function kR(e,t){let n=new Tl({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0}),r={done:!1,value:e[0]},i=[],o=0;for(;!r.done&&othis.onKeyframesResolved(o,s),t,n,r),this.resolver.scheduleResolve()}initPlayback(e,t){var n;let{duration:r=300,times:i,ease:o,type:s,motionValue:a,name:l,startTime:c}=this.options;if(!(!((n=a.owner)===null||n===void 0)&&n.current))return!1;if(SR(this.options)){let{onComplete:f,onUpdate:d,motionValue:p,element:g,...y}=this.options,b=kR(e,y);e=b.keyframes,e.length===1&&(e[1]=e[0]),r=b.duration,i=b.times,o=b.ease,s="keyframes"}let u=bR(a.owner.current,l,e,{...this.options,duration:r,times:i,ease:o});return u.startTime=c??this.calcStartTime(),this.pendingTimeline?(u.timeline=this.pendingTimeline,this.pendingTimeline=void 0):u.onfinish=()=>{let{onComplete:f}=this.options;a.set(Cl(e,this.options,t)),f&&f(),this.cancel(),this.resolveFinishedPromise()},{animation:u,duration:r,times:i,type:s,ease:o,keyframes:e}}get duration(){let{resolved:e}=this;if(!e)return 0;let{duration:t}=e;return Gn(t)}get time(){let{resolved:e}=this;if(!e)return 0;let{animation:t}=e;return Gn(t.currentTime||0)}set time(e){let{resolved:t}=this;if(!t)return;let{animation:n}=t;n.currentTime=Pn(e)}get speed(){let{resolved:e}=this;if(!e)return 1;let{animation:t}=e;return t.playbackRate}set speed(e){let{resolved:t}=this;if(!t)return;let{animation:n}=t;n.playbackRate=e}get state(){let{resolved:e}=this;if(!e)return"idle";let{animation:t}=e;return t.playState}get startTime(){let{resolved:e}=this;if(!e)return null;let{animation:t}=e;return t.startTime}attachTimeline(e){if(!this._resolved)this.pendingTimeline=e;else{let{resolved:t}=this;if(!t)return pt;let{animation:n}=t;n.timeline=e,n.onfinish=null}return pt}play(){if(this.isStopped)return;let{resolved:e}=this;if(!e)return;let{animation:t}=e;t.playState==="finished"&&this.updateFinishedPromise(),t.play()}pause(){let{resolved:e}=this;if(!e)return;let{animation:t}=e;t.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.resolveFinishedPromise(),this.updateFinishedPromise();let{resolved:e}=this;if(!e)return;let{animation:t,keyframes:n,duration:r,type:i,ease:o,times:s}=e;if(t.playState==="idle"||t.playState==="finished")return;if(this.time){let{motionValue:l,onUpdate:c,onComplete:u,element:f,...d}=this.options,p=new Tl({...d,keyframes:n,duration:r,type:i,ease:o,times:s,isGenerator:!0}),g=Pn(this.time);l.setWithVelocity(p.sample(g-fl).value,p.sample(g).value,fl)}let{onStop:a}=this.options;a&&a(),this.cancel()}complete(){let{resolved:e}=this;e&&e.animation.finish()}cancel(){let{resolved:e}=this;e&&e.animation.cancel()}static supports(e){let{motionValue:t,name:n,repeatDelay:r,repeatType:i,damping:o,type:s}=e;return xR()&&n&&ey.has(n)&&t&&t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate&&!r&&i!=="mirror"&&o!==0&&s!=="inertia"}},sd=class{constructor(){this.subscriptions=[]}add(e){return bl(this.subscriptions,e),()=>Cs(this.subscriptions,e)}notify(e,t,n){let r=this.subscriptions.length;if(r)if(r===1)this.subscriptions[0](e,t,n);else for(let i=0;i!isNaN(parseFloat(e)),ds={current:void 0},Rs=class{constructor(e,t={}){this.version="11.3.31",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(n,r=!0)=>{let i=fr.now();this.updatedAt!==i&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(n),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),r&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=fr.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=CR(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new sd);let n=this.events[e].add(t);return e==="change"?()=>{n(),Z.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e,t=!0){!t||!this.passiveEffect?this.updateAndNotify(e,t):this.passiveEffect(e,this.updateAndNotify)}setWithVelocity(e,t,n){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-n}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return ds.current&&ds.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let e=fr.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>Ug)return 0;let t=Math.min(this.updatedAt-this.prevUpdatedAt,Ug);return fy(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}};function Ar(e,t){return new Rs(e,t)}function El(e,t,n){let r=e.getProps();return Gf(r,t,n!==void 0?n:r.custom,e)}var TR={type:"spring",stiffness:500,damping:25,restSpeed:10},ER=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),RR={type:"keyframes",duration:.8},PR={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},FR=(e,{keyframes:t})=>t.length>2?RR:Vr.has(e)?e.startsWith("scale")?ER(t[1]):TR:PR;function _R({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:o,repeatType:s,repeatDelay:a,from:l,elapsed:c,...u}){return!!Object.keys(u).length}function ad(e,t){return e[t]||e.default||e}function IR(e,t){let n,r=()=>{let{currentTime:i}=t,s=(i===null?0:i.value)/100;n!==s&&e(s),n=s};return Z.update(r,!0),()=>Qt(r)}var OR=Vy(()=>_.ScrollTimeline!==void 0),ld=class{constructor(e){this.stop=()=>this.runAll("stop"),this.animations=e.filter(Boolean)}then(e,t){return Promise.all(this.animations).then(e).catch(t)}getAll(e){return this.animations[0][e]}setAll(e,t){for(let n=0;n{if(OR()&&n.attachTimeline)n.attachTimeline(e);else return n.pause(),IR(r=>{n.time=n.duration*r},e)});return()=>{t.forEach((n,r)=>{n&&n(),this.animations[r].stop()})}}get time(){return this.getAll("time")}set time(e){this.setAll("time",e)}get speed(){return this.getAll("speed")}set speed(e){this.setAll("speed",e)}get startTime(){return this.getAll("startTime")}get duration(){let e=0;for(let t=0;tt[e]())}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}},cd=(e,t,n,r={},i,o,s)=>a=>{let l=ad(r,e)||{},c=l.delay||r.delay||0,{elapsed:u=0}=r;u=u-Pn(c);let f={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...l,delay:-u,onUpdate:p=>{t.set(p),l.onUpdate&&l.onUpdate(p)},onComplete:()=>{a(),l.onComplete&&l.onComplete(),s&&s()},onStop:s,name:e,motionValue:t,element:o?void 0:i};_R(l)||(f={...f,...FR(e,f)}),f.duration&&(f.duration=Pn(f.duration)),f.repeatDelay&&(f.repeatDelay=Pn(f.repeatDelay)),f.from!==void 0&&(f.keyframes[0]=f.from);let d=!1;if((f.type===!1||f.duration===0&&!f.repeatDelay)&&(f.duration=0,f.delay===0&&(d=!0)),(ul.current||gl.skipAnimations)&&(d=!0,f.duration=0,f.delay=0),d&&!o&&t.get()!==void 0){let p=Cl(f.keyframes,l);if(p!==void 0)return Z.update(()=>{f.onUpdate(p),f.onComplete()}),new ld([])}return!o&&Ef.supports(f)?new Ef(f):new Tl(f)};function LR(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Ar(n))}function ud(e,t){let n=El(e,t),{transitionEnd:r={},transition:i={},...o}=n||{};o={...o,...r};for(let s in o){let a=lE(o[s]);LR(e,s,a)}}function Ny(e){return e.props[zf]}var MR=class extends Rs{constructor(){super(...arguments),this.output=[],this.counts=new Map}add(e){let t=ty(e);if(!t)return;let n=this.counts.get(t)||0;this.counts.set(t,n+1),n===0&&(this.output.push(t),this.update());let r=!1;return()=>{if(r)return;r=!0;let i=this.counts.get(t)-1;this.counts.set(t,i),i===0&&(Cs(this.output,t),this.update())}}update(){this.set(this.output.length?this.output.join(", "):"auto")}};function DR(e){return!!(He(e)&&e.add)}function Rf(e,t){var n;if(!e.applyWillChange)return;let r=e.getValue("willChange");if(!r&&!(!((n=e.props.style)===null||n===void 0)&&n.willChange)&&(r=new MR("auto"),e.addValue("willChange",r)),DR(r))return r.add(t)}function AR({protectedKeys:e,needsAnimating:t},n){let r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function fd(e,t,{delay:n=0,transitionOverride:r,type:i}={}){var o;let{transition:s=e.getDefaultTransition(),transitionEnd:a,...l}=t;r&&(s=r);let c=[],u=i&&e.animationState&&e.animationState.getState()[i];for(let f in l){let d=e.getValue(f,(o=e.latestValues[f])!==null&&o!==void 0?o:null),p=l[f];if(p===void 0||u&&AR(u,f))continue;let g={delay:n,...ad(s||{},f)},y=!1;if(_.MotionHandoffAnimation){let h=Ny(e);if(h){let m=_.MotionHandoffAnimation(h,f,Z);m!==null&&(g.startTime=m,y=!0)}}d.start(cd(f,d,p,e.shouldReduceMotion&&Vr.has(f)?{type:!1}:g,e,y,Rf(e,f)));let b=d.animation;b&&c.push(b)}return a&&Promise.all(c).then(()=>{Z.update(()=>{a&&ud(e,a)})}),c}function Pf(e,t,n={}){var r;let i=El(e,t,n.type==="exit"?(r=e.presenceContext)===null||r===void 0?void 0:r.custom:void 0),{transition:o=e.getDefaultTransition()||{}}=i||{};n.transitionOverride&&(o=n.transitionOverride);let s=i?()=>Promise.all(fd(e,i,n)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(c=0)=>{let{delayChildren:u=0,staggerChildren:f,staggerDirection:d}=o;return VR(e,t,u+c,f,d,n)}:()=>Promise.resolve(),{when:l}=o;if(l){let[c,u]=l==="beforeChildren"?[s,a]:[a,s];return c().then(()=>u())}else return Promise.all([s(),a(n.delay)])}function VR(e,t,n=0,r=0,i=1,o){let s=[],a=(e.variantChildren.size-1)*r,l=i===1?(c=0)=>c*r:(c=0)=>a-c*r;return Array.from(e.variantChildren).sort(zR).forEach((c,u)=>{c.notify("AnimationStart",t),s.push(Pf(c,t,{...o,delay:n+l(u)}).then(()=>c.notify("AnimationComplete",t)))}),Promise.all(s)}function zR(e,t){return e.sortNodePosition(t)}function dd(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){let i=t.map(o=>Pf(e,o,n));r=Promise.all(i)}else if(typeof t=="string")r=Pf(e,t,n);else{let i=typeof t=="function"?El(e,t,n.custom):t;r=Promise.all(fd(e,i,n))}return r.then(()=>{e.notify("AnimationComplete",t)})}function Hy(e,t){if(!Array.isArray(t))return!1;let n=t.length;if(n!==e.length)return!1;for(let r=0;rPromise.all(t.map(({animation:n,options:r})=>dd(e,n,r)))}function HR(e){let t=NR(e),n=Gg(),r=!0,i=l=>(c,u)=>{var f;let d=El(e,u,l==="exit"?(f=e.presenceContext)===null||f===void 0?void 0:f.custom:void 0);if(d){let{transition:p,transitionEnd:g,...y}=d;c={...c,...y,...g}}return c};function o(l){t=l(e)}function s(l){let c=e.getProps(),u=e.getVariantContext(!0)||{},f=[],d=new Set,p={},g=1/0;for(let b=0;b<$R;b++){let h=BR[b],m=n[h],v=c[h]!==void 0?c[h]:u[h],x=gs(v),T=h===l?m.isActive:null;T===!1&&(g=b);let S=v===u[h]&&v!==c[h]&&x;if(S&&r&&e.manuallyAnimateOnMount&&(S=!1),m.protectedKeys={...p},!m.isActive&&T===null||!v&&!m.prevProp||vs(v)||typeof v=="boolean")continue;let R=jR(m.prevProp,v)||h===l&&m.isActive&&!S&&x||b>g&&x,M=!1,I=Array.isArray(v)?v:[v],Q=I.reduce(i(h),{});T===!1&&(Q={});let{prevResolvedValues:B={}}=m,fe={...B,...Q},ie=q=>{R=!0,d.has(q)&&(M=!0,d.delete(q)),m.needsAnimating[q]=!0;let W=e.getValue(q);W&&(W.liveStyle=!1)};for(let q in fe){let W=Q[q],ee=B[q];if(p.hasOwnProperty(q))continue;let te=!1;vf(W)&&vf(ee)?te=!Hy(W,ee):te=W!==ee,te?W!=null?ie(q):d.add(q):W!==void 0&&d.has(q)?ie(q):m.protectedKeys[q]=!0}m.prevProp=v,m.prevResolvedValues=Q,m.isActive&&(p={...p,...Q}),r&&e.blockInitialAnimation&&(R=!1),R&&(!S||M)&&f.push(...I.map(q=>({animation:q,options:{type:h}})))}if(d.size){let b={};d.forEach(h=>{let m=e.getBaseTarget(h),v=e.getValue(h);v&&(v.liveStyle=!0),b[h]=m??null}),f.push({animation:b})}let y=!!f.length;return r&&(c.initial===!1||c.initial===c.animate)&&!e.manuallyAnimateOnMount&&(y=!1),r=!1,y?t(f):Promise.resolve()}function a(l,c){var u;if(n[l].isActive===c)return Promise.resolve();(u=e.variantChildren)===null||u===void 0||u.forEach(d=>{var p;return(p=d.animationState)===null||p===void 0?void 0:p.setActive(l,c)}),n[l].isActive=c;let f=s(l);for(let d in n)n[d].protectedKeys={};return f}return{animateChanges:s,setActive:a,setAnimateFunction:o,getState:()=>n,reset:()=>{n=Gg(),r=!0}}}function jR(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!Hy(t,e):!1}function pi(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Gg(){return{animate:pi(!0),whileInView:pi(),whileHover:pi(),whileTap:pi(),whileDrag:pi(),whileFocus:pi(),exit:pi()}}var zr=class{constructor(e){this.isMounted=!1,this.node=e}update(){}},WR=class extends zr{constructor(e){super(e),e.animationState||(e.animationState=HR(e))}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();vs(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){var e;this.node.animationState.reset(),(e=this.unmountControls)===null||e===void 0||e.call(this)}},UR=0,GR=class extends zr{constructor(){super(...arguments),this.id=UR++}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===n)return;let r=this.node.animationState.setActive("exit",!e);t&&!e&&r.then(()=>t(this.id))}mount(){let{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}},Rl={animation:{Feature:WR},exit:{Feature:GR}},Ff=(e,t)=>Math.abs(e-t);function jy(e,t){let n=Ff(e.x,t.x),r=Ff(e.y,t.y);return Math.sqrt(n**2+r**2)}var Wy=1e-4,qR=1-Wy,XR=1+Wy,Uy=.01,YR=0-Uy,KR=0+Uy;function zt(e){return e.max-e.min}function QR(e,t,n){return Math.abs(e-t)<=n}function qg(e,t,n,r=.5){e.origin=r,e.originPoint=_e(t.min,t.max,e.origin),e.scale=zt(n)/zt(t),e.translate=_e(n.min,n.max,e.origin)-e.originPoint,(e.scale>=qR&&e.scale<=XR||isNaN(e.scale))&&(e.scale=1),(e.translate>=YR&&e.translate<=KR||isNaN(e.translate))&&(e.translate=0)}function hs(e,t,n,r){qg(e.x,t.x,n.x,r?r.originX:void 0),qg(e.y,t.y,n.y,r?r.originY:void 0)}function Xg(e,t,n){e.min=n.min+t.min,e.max=e.min+zt(t)}function ZR(e,t,n){Xg(e.x,t.x,n.x),Xg(e.y,t.y,n.y)}function Yg(e,t,n){e.min=t.min-n.min,e.max=e.min+zt(t)}function ps(e,t,n){Yg(e.x,t.x,n.x),Yg(e.y,t.y,n.y)}var Kg=()=>({translate:0,scale:1,origin:0,originPoint:0}),no=()=>({x:Kg(),y:Kg()}),Qg=()=>({min:0,max:0}),Ne=()=>({x:Qg(),y:Qg()});function Gy(){let e=D(co);if(e===null)return[!0,null];let{isPresent:t,onExitComplete:n,register:r}=e,i=hi();$(()=>r(i),[]);let o=oe(()=>n&&n(i),[i,n]);return!t&&n?[!1,o]:[!0]}var JR=(e,t)=>e.depth-t.depth,qy=class{constructor(){this.children=[],this.isDirty=!1}add(e){bl(this.children,e),this.isDirty=!0}remove(e){Cs(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(JR),this.isDirty=!1,this.children.forEach(e)}};function Xy(e,t){let n=fr.now(),r=({timestamp:i})=>{let o=i-n;o>=t&&(Qt(r),e(o-t))};return Z.read(r,!0),()=>Qt(r)}var lo=new WeakMap,dl={current:null},hd={current:!1};function Yy(){if(hd.current=!0,!!pl)if(_.matchMedia){let e=_.matchMedia("(prefers-reduced-motion)"),t=()=>dl.current=e.matches;e.addListener(t),t()}else dl.current=!1}function eP(e,t,n){for(let r in t){let i=t[r],o=n[r];if(He(i))e.addValue(r,i);else if(He(o))e.addValue(r,Ar(i,{owner:e}));else if(o!==i)if(e.hasValue(r)){let s=e.getValue(r);s.liveStyle===!0?s.jump(i):s.hasAnimated||s.set(i)}else{let s=e.getStaticValue(r);e.addValue(r,Ar(s!==void 0?s:i,{owner:e}))}}for(let r in n)t[r]===void 0&&e.removeValue(r);return t}var tP=[...My,ht,pr],nP=e=>tP.find(Ly(e)),Zg=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],rP=Nf.length,Ky=class{scrapeMotionValuesFromProps(e,t,n){return{}}constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:r,blockInitialAnimation:i,visualState:o},s={}){this.applyWillChange=!1,this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=rd,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.isRenderScheduled=!1,this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.isRenderScheduled=!1,this.scheduleRender=()=>{this.isRenderScheduled||(this.isRenderScheduled=!0,Z.render(this.render,!1,!0))};let{latestValues:a,renderState:l}=o;this.latestValues=a,this.baseTarget={...a},this.initialValues=t.initial?{...a}:{},this.renderState=l,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.options=s,this.blockInitialAnimation=!!i,this.isControllingVariants=yl(t),this.isVariantNode=qv(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);let{willChange:c,...u}=this.scrapeMotionValuesFromProps(t,{},this);for(let f in u){let d=u[f];a[f]!==void 0&&He(d)&&d.set(a[f],!1)}}mount(e){this.current=e,lo.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((t,n)=>this.bindToMotionValue(n,t)),hd.current||Yy(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:dl.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){lo.delete(this.current),this.projection&&this.projection.unmount(),Qt(this.notifyUpdate),Qt(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(let e in this.events)this.events[e].clear();for(let e in this.features){let t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}bindToMotionValue(e,t){this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)();let n=Vr.has(e),r=t.on("change",s=>{this.latestValues[e]=s,this.props.onUpdate&&Z.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0)}),i=t.on("renderRequest",this.scheduleRender),o;_.MotionCheckAppearSync&&(o=_.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{r(),i(),o&&o(),t.owner&&t.stop()})}sortNodePosition(e){return!this.current||!this.sortInstanceNodePosition||this.type!==e.type?0:this.sortInstanceNodePosition(this.current,e.current)}updateFeatures(){let e="animation";for(e in oo){let t=oo[e];if(!t)continue;let{isEnabled:n,Feature:r}=t;if(!this.features[e]&&r&&n(this.props)&&(this.features[e]=new r(this)),this.features[e]){let i=this.features[e];i.isMounted?i.update():(i.mount(),i.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Ne()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let n=0;nt.variantChildren.delete(e)}addValue(e,t){let n=this.values.get(e);t!==n&&(n&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return n===void 0&&t!==void 0&&(n=Ar(t===null?void 0:t,{owner:this}),this.addValue(e,n)),n}readValue(e,t){var n;let r=this.latestValues[e]!==void 0||!this.current?this.latestValues[e]:(n=this.getBaseTargetFromProps(this.props,e))!==null&&n!==void 0?n:this.readValueFromInstance(this.current,e,this.options);return r!=null&&(typeof r=="string"&&(Iy(r)||_y(r))?r=parseFloat(r):!nP(r)&&pr.test(t)&&(r=Dy(e,t)),this.setBaseTarget(e,He(r)?r.get():r)),He(r)?r.get():r}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){var t;let{initial:n}=this.props,r;if(typeof n=="string"||typeof n=="object"){let o=Gf(this.props,n,(t=this.presenceContext)===null||t===void 0?void 0:t.custom);o&&(r=o[e])}if(n&&r!==void 0)return r;let i=this.getBaseTargetFromProps(this.props,e);return i!==void 0&&!He(i)?i:this.initialValues[e]!==void 0&&r===void 0?void 0:this.baseTarget[e]}on(e,t){return this.events[e]||(this.events[e]=new sd),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}};function Qy(e){function t(r,i={}){return Xv(e(r,i))}if(typeof Proxy>"u")return t;let n=new Map;return new Proxy(t,{get:(r,i)=>(n.has(i)||n.set(i,t(i)),n.get(i))})}var iP=["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 pd(e){return typeof e!="string"||e.includes("-")?!1:!!(iP.indexOf(e)>-1||/[A-Z]/u.test(e))}function Zy(e,{layout:t,layoutId:n}){return Vr.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!al[e]||e==="opacity")}function md(e,t,n){let{style:r,vars:i,transformOrigin:o}=e,s=!1,a=!1;for(let l in t){let c=t[l];if(Vr.has(l)){s=!0;continue}else if(xy(l)){i[l]=c;continue}else{let u=Yv(c,Uf[l]);l.startsWith("origin")?(a=!0,o[l]=u):r[l]=u}}if(t.transform||(s||n?r.transform=Kv(t,e.transform,n):r.transform&&(r.transform="none")),a){let{originX:l="50%",originY:c="50%",originZ:u=0}=o;r.transformOrigin=`${l} ${c} ${u}`}}var gd=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Jy(e,t,n){for(let r in t)!He(t[r])&&!Zy(r,n)&&(e[r]=t[r])}function oP({transformTemplate:e},t){return se(()=>{let n=gd();return md(n,t,e),Object.assign({},n.vars,n.style)},[t])}function sP(e,t){let n=e.style||{},r={};return Jy(r,n,e),Object.assign(r,oP(e,t)),r}function aP(e,t){let n={},r=sP(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}function Jg(e,t,n){return typeof e=="string"?e:G.transform(t+n*e)}function lP(e,t,n){let r=Jg(t,e.x,e.width),i=Jg(n,e.y,e.height);return`${r} ${i}`}var cP={offset:"stroke-dashoffset",array:"stroke-dasharray"},uP={offset:"strokeDashoffset",array:"strokeDasharray"};function fP(e,t,n=1,r=0,i=!0){e.pathLength=1;let o=i?cP:uP;e[o.offset]=G.transform(-r);let s=G.transform(t),a=G.transform(n);e[o.array]=`${s} ${a}`}function vd(e,{attrX:t,attrY:n,attrScale:r,originX:i,originY:o,pathLength:s,pathSpacing:a=1,pathOffset:l=0,...c},u,f){if(md(e,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:g}=e;d.transform&&(g&&(p.transform=d.transform),delete d.transform),g&&(i!==void 0||o!==void 0||p.transform)&&(p.transformOrigin=lP(g,i!==void 0?i:.5,o!==void 0?o:.5)),t!==void 0&&(d.x=t),n!==void 0&&(d.y=n),r!==void 0&&(d.scale=r),s!==void 0&&fP(d,s,a,l,!1)}var e0=()=>({...gd(),attrs:{}}),yd=e=>typeof e=="string"&&e.toLowerCase()==="svg";function dP(e,t,n,r){let i=se(()=>{let o=e0();return vd(o,t,yd(r),e.transformTemplate),{...o.attrs,style:{...o.style}}},[t]);if(e.style){let o={};Jy(o,e.style,e),i.style={...o,...i.style}}return i}function hP(e=!1){return(n,r,i,{latestValues:o},s)=>{let l=(pd(n)?dP:aP)(r,o,s,n),c=Jv(r,typeof n=="string",e),u=n!==lr?{...c,...l,ref:i}:{},{children:f}=r,d=se(()=>He(f)?f.get():f,[f]);return el(n,{...u,children:d})}}function t0(e,{style:t,vars:n},r,i){Object.assign(e.style,t,i&&i.getProjectionStyles(r));for(let o in n)e.style.setProperty(o,n[o])}var n0=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 r0(e,t,n,r){t0(e,t,void 0,r);for(let i in t.attrs)e.setAttribute(n0.has(i)?i:ml(i),t.attrs[i])}function bd(e,t,n){var r;let{style:i}=e,o={};for(let s in i)(He(i[s])||t.style&&He(t.style[s])||Zy(s,e)||((r=n?.getValue(s))===null||r===void 0?void 0:r.liveStyle)!==void 0)&&(o[s]=i[s]);return n&&i&&typeof i.willChange=="string"&&(n.applyWillChange=!1),o}function i0(e,t,n){let r=bd(e,t,n);for(let i in e)if(He(e[i])||He(t[i])){let o=ks.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;r[o]=e[i]}return r}var pP={useVisualState:xl({scrapeMotionValuesFromProps:i0,createRenderState:e0,onMount:(e,t,{renderState:n,latestValues:r})=>{Z.read(()=>{try{n.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{n.dimensions={x:0,y:0,width:0,height:0}}}),Z.render(()=>{vd(n,r,yd(t.tagName),e.transformTemplate),r0(t,n)})}})},mP={useVisualState:xl({applyWillChange:!0,scrapeMotionValuesFromProps:bd,createRenderState:gd})};function o0(e,{forwardMotionProps:t=!1},n,r){return{...pd(e)?pP:mP,preloadedFeatures:n,useRender:hP(t),createVisualElement:r,Component:e}}function ev(e,t){let n=t?"pointerenter":"pointerleave",r=t?"onHoverStart":"onHoverEnd",i=(o,s)=>{if(o.pointerType==="touch"||qf())return;let a=e.getProps();e.animationState&&a.whileHover&&e.animationState.setActive("whileHover",t);let l=a[r];l&&Z.postRender(()=>l(o,s))};return Wn(e.current,n,i,{passive:!e.getProps()[r]})}var gP=class extends zr{mount(){this.unmount=Un(ev(this.node,!0),ev(this.node,!1))}unmount(){}},vP=class extends zr{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch{e=!0}!e||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Un(ur(this.node.current,"focus",()=>this.onFocus()),ur(this.node.current,"blur",()=>this.onBlur()))}unmount(){}},s0=(e,t)=>t?e===t?!0:s0(e,t.parentElement):!1;function uf(e,t){if(!t)return;let n=new PointerEvent("pointer"+e);t(n,wl(n))}var yP=class extends zr{constructor(){super(...arguments),this.removeStartListeners=pt,this.removeEndListeners=pt,this.removeAccessibleListeners=pt,this.startPointerPress=(e,t)=>{if(this.isPressing)return;this.removeEndListeners();let n=this.node.getProps(),i=Wn(_,"pointerup",(s,a)=>{if(!this.checkPressEnd())return;let{onTap:l,onTapCancel:c,globalTapTarget:u}=this.node.getProps(),f=!u&&!s0(this.node.current,s.target)?c:l;f&&Z.update(()=>f(s,a))},{passive:!(n.onTap||n.onPointerUp)}),o=Wn(_,"pointercancel",(s,a)=>this.cancelPress(s,a),{passive:!(n.onTapCancel||n.onPointerCancel)});this.removeEndListeners=Un(i,o),this.startPress(e,t)},this.startAccessiblePress=()=>{let e=i=>{if(i.key!=="Enter"||this.isPressing)return;let o=s=>{s.key!=="Enter"||!this.checkPressEnd()||uf("up",(a,l)=>{let{onTap:c}=this.node.getProps();c&&Z.postRender(()=>c(a,l))})};this.removeEndListeners(),this.removeEndListeners=ur(this.node.current,"keyup",o),uf("down",(s,a)=>{this.startPress(s,a)})},t=ur(this.node.current,"keydown",e),n=()=>{this.isPressing&&uf("cancel",(i,o)=>this.cancelPress(i,o))},r=ur(this.node.current,"blur",n);this.removeAccessibleListeners=Un(t,r)}}startPress(e,t){this.isPressing=!0;let{onTapStart:n,whileTap:r}=this.node.getProps();r&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),n&&Z.postRender(()=>n(e,t))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!qf()}cancelPress(e,t){if(!this.checkPressEnd())return;let{onTapCancel:n}=this.node.getProps();n&&Z.postRender(()=>n(e,t))}mount(){let e=this.node.getProps(),t=Wn(e.globalTapTarget?_:this.node.current,"pointerdown",this.startPointerPress,{passive:!(e.onTapStart||e.onPointerStart)}),n=ur(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=Un(t,n)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}},_f=new WeakMap,ff=new WeakMap,bP=e=>{let t=_f.get(e.target);t&&t(e)},xP=e=>{e.forEach(bP)};function wP({root:e,...t}){let n=e||document;ff.has(n)||ff.set(n,{});let r=ff.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(xP,{root:e,...t})),r[i]}function SP(e,t,n){let r=wP(t);return _f.set(e,n),r.observe(e),()=>{_f.delete(e),r.unobserve(e)}}var kP={some:0,all:1},CP=class extends zr{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:e={}}=this.node.getProps(),{root:t,margin:n,amount:r="some",once:i}=e,o={root:t?t.current:void 0,rootMargin:n,threshold:typeof r=="number"?r:kP[r]},s=a=>{let{isIntersecting:l}=a;if(this.isInView===l||(this.isInView=l,i&&!l&&this.hasEnteredView))return;l&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",l);let{onViewportEnter:c,onViewportLeave:u}=this.node.getProps(),f=l?c:u;f&&f(a)};return SP(this.node.current,o,s)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;let{props:e,prevProps:t}=this.node;["amount","margin","root"].some(TP(e,t))&&this.startObserver()}unmount(){}};function TP({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}var a0={inView:{Feature:CP},tap:{Feature:yP},focus:{Feature:vP},hover:{Feature:gP}},l0=class{constructor(e,t,{transformPagePoint:n,contextWindow:r,dragSnapToOrigin:i=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=_,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let u=hf(this.lastMoveEventInfo,this.history),f=this.startEvent!==null,d=jy(u.offset,{x:0,y:0})>=3;if(!f&&!d)return;let{point:p}=u,{timestamp:g}=Je;this.history.push({...p,timestamp:g});let{onStart:y,onMove:b}=this.handlers;f||(y&&y(this.lastMoveEvent,u),this.startEvent=this.lastMoveEvent),b&&b(this.lastMoveEvent,u)},this.handlePointerMove=(u,f)=>{this.lastMoveEvent=u,this.lastMoveEventInfo=df(f,this.transformPagePoint),Z.update(this.updatePoint,!0)},this.handlePointerUp=(u,f)=>{this.end();let{onEnd:d,onSessionEnd:p,resumeAnimation:g}=this.handlers;if(this.dragSnapToOrigin&&g&&g(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let y=hf(u.type==="pointercancel"?this.lastMoveEventInfo:df(f,this.transformPagePoint),this.history);this.startEvent&&d&&d(u,y),p&&p(u,y)},!ny(e))return;this.dragSnapToOrigin=i,this.handlers=t,this.transformPagePoint=n,this.contextWindow=r||_;let o=wl(e),s=df(o,this.transformPagePoint),{point:a}=s,{timestamp:l}=Je;this.history=[{...a,timestamp:l}];let{onSessionStart:c}=t;c&&c(e,hf(s,this.history)),this.removeListeners=Un(Wn(this.contextWindow,"pointermove",this.handlePointerMove),Wn(this.contextWindow,"pointerup",this.handlePointerUp),Wn(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),Qt(this.updatePoint)}};function df(e,t){return t?{point:t(e.point)}:e}function tv(e,t){return{x:e.x-t.x,y:e.y-t.y}}function hf({point:e},t){return{point:e,delta:tv(e,c0(t)),offset:tv(e,EP(t)),velocity:RP(t,.1)}}function EP(e){return e[0]}function c0(e){return e[e.length-1]}function RP(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null,i=c0(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>Pn(t)));)n--;if(!r)return{x:0,y:0};let o=Gn(i.timestamp-r.timestamp);if(o===0)return{x:0,y:0};let s={x:(i.x-r.x)/o,y:(i.y-r.y)/o};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}function PP(e,{min:t,max:n},r){return t!==void 0&&en&&(e=r?_e(n,e,r.max):Math.min(e,n)),e}function nv(e,t,n){return{min:t!==void 0?e.min+t:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function FP(e,{top:t,left:n,bottom:r,right:i}){return{x:nv(e.x,n,i),y:nv(e.y,t,r)}}function rv(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.minr?n=xi(t.min,t.max-r,e.min):r>i&&(n=xi(e.min,e.max-i,t.min)),hr(0,1,n)}function OP(e,t){let n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}var If=.35;function LP(e=If){return e===!1?e=0:e===!0&&(e=If),{x:iv(e,"left","right"),y:iv(e,"top","bottom")}}function iv(e,t,n){return{min:ov(e,t),max:ov(e,n)}}function ov(e,t){return typeof e=="number"?e:e[t]||0}function dn(e){return[e("x"),e("y")]}function u0({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function MP({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function DP(e,t){if(!t)return e;let n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function pf(e){return e===void 0||e===1}function Of({scale:e,scaleX:t,scaleY:n}){return!pf(e)||!pf(t)||!pf(n)}function mi(e){return Of(e)||f0(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function f0(e){return sv(e.x)||sv(e.y)}function sv(e){return e&&e!=="0%"}function hl(e,t,n){let r=e-n,i=t*r;return n+i}function av(e,t,n,r,i){return i!==void 0&&(e=hl(e,i,r)),hl(e,n,r)+t}function Lf(e,t=0,n=1,r,i){e.min=av(e.min,t,n,r,i),e.max=av(e.max,t,n,r,i)}function d0(e,{x:t,y:n}){Lf(e.x,t.translate,t.scale,t.originPoint),Lf(e.y,n.translate,n.scale,n.originPoint)}var lv=.999999999999,cv=1.0000000000001;function AP(e,t,n,r=!1){let i=n.length;if(!i)return;t.x=t.y=1;let o,s;for(let a=0;alv&&(t.x=1),t.ylv&&(t.y=1)}function ro(e,t){e.min=e.min+t,e.max=e.max+t}function uv(e,t,n,r,i=.5){let o=_e(e.min,e.max,i);Lf(e,t,n,o,r)}function io(e,t){uv(e.x,t.x,t.scaleX,t.scale,t.originX),uv(e.y,t.y,t.scaleY,t.scale,t.originY)}function h0(e,t){return u0(DP(e.getBoundingClientRect(),t))}function VP(e,t,n){let r=h0(e,n),{scroll:i}=t;return i&&(ro(r.x,i.offset.x),ro(r.y,i.offset.y)),r}var p0=({current:e})=>e?e.ownerDocument.defaultView:null,zP=new WeakMap,BP=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=Ne(),this.visualElement=e}start(e,{snapToCursor:t=!1}={}){let{presenceContext:n}=this.visualElement;if(n&&n.isPresent===!1)return;let r=c=>{let{dragSnapToOrigin:u}=this.getProps();u?this.pauseAnimation():this.stopAnimation(),t&&this.snapToCursor(wl(c,"page").point)},i=(c,u)=>{var f;let{drag:d,dragPropagation:p,onDragStart:g}=this.getProps();if(d&&!p&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=oy(d),!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),dn(b=>{let h=this.getAxisMotionValue(b).get()||0;if(jn.test(h)){let{projection:m}=this.visualElement;if(m&&m.layout){let v=m.layout.layoutBox[b];v&&(h=zt(v)*(parseFloat(h)/100))}}this.originPoint[b]=h}),g&&Z.postRender(()=>g(c,u)),(f=this.removeWillChange)===null||f===void 0||f.call(this),this.removeWillChange=Rf(this.visualElement,"transform");let{animationState:y}=this.visualElement;y&&y.setActive("whileDrag",!0)},o=(c,u)=>{let{dragPropagation:f,dragDirectionLock:d,onDirectionLock:p,onDrag:g}=this.getProps();if(!f&&!this.openGlobalLock)return;let{offset:y}=u;if(d&&this.currentDirection===null){this.currentDirection=$P(y),this.currentDirection!==null&&p&&p(this.currentDirection);return}this.updateAxis("x",u.point,y),this.updateAxis("y",u.point,y),this.visualElement.render(),g&&g(c,u)},s=(c,u)=>this.stop(c,u),a=()=>dn(c=>{var u;return this.getAnimationState(c)==="paused"&&((u=this.getAxisMotionValue(c).animation)===null||u===void 0?void 0:u.play())}),{dragSnapToOrigin:l}=this.getProps();this.panSession=new l0(e,{onSessionStart:r,onStart:i,onMove:o,onSessionEnd:s,resumeAnimation:a},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:l,contextWindow:p0(this.visualElement)})}stop(e,t){var n;(n=this.removeWillChange)===null||n===void 0||n.call(this);let r=this.isDragging;if(this.cancel(),!r)return;let{velocity:i}=t;this.startAnimation(i);let{onDragEnd:o}=this.getProps();o&&Z.postRender(()=>o(e,t))}cancel(){this.isDragging=!1;let{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:n}=this.getProps();!n&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),t&&t.setActive("whileDrag",!1)}updateAxis(e,t,n){let{drag:r}=this.getProps();if(!n||!nl(e,r,this.currentDirection))return;let i=this.getAxisMotionValue(e),o=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(o=PP(o,this.constraints[e],this.elastic[e])),i.set(o)}resolveConstraints(){var e;let{dragConstraints:t,dragElastic:n}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(e=this.visualElement.projection)===null||e===void 0?void 0:e.layout,i=this.constraints;t&&eo(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&r?this.constraints=FP(r.layoutBox,t):this.constraints=!1,this.elastic=LP(n),i!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&dn(o=>{this.constraints!==!1&&this.getAxisMotionValue(o)&&(this.constraints[o]=OP(r.layoutBox[o],this.constraints[o]))})}resolveRefConstraints(){let{dragConstraints:e,onMeasureDragConstraints:t}=this.getProps();if(!e||!eo(e))return!1;let n=e.current;Kt(n!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:r}=this.visualElement;if(!r||!r.layout)return!1;let i=VP(n,r.root,this.visualElement.getTransformPagePoint()),o=_P(r.layout.layoutBox,i);if(t){let s=t(MP(o));this.hasMutatedConstraints=!!s,s&&(o=u0(s))}return o}startAnimation(e){let{drag:t,dragMomentum:n,dragElastic:r,dragTransition:i,dragSnapToOrigin:o,onDragTransitionEnd:s}=this.getProps(),a=this.constraints||{},l=dn(c=>{if(!nl(c,t,this.currentDirection))return;let u=a&&a[c]||{};o&&(u={min:0,max:0});let f=r?200:1e6,d=r?40:1e7,p={type:"inertia",velocity:n?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(s)}startAxisValueAnimation(e,t){let n=this.getAxisMotionValue(e);return n.start(cd(e,n,0,t,this.visualElement,!1,Rf(this.visualElement,e)))}stopAnimation(){dn(e=>this.getAxisMotionValue(e).stop())}pauseAnimation(){dn(e=>{var t;return(t=this.getAxisMotionValue(e).animation)===null||t===void 0?void 0:t.pause()})}getAnimationState(e){var t;return(t=this.getAxisMotionValue(e).animation)===null||t===void 0?void 0:t.state}getAxisMotionValue(e){let t=`_drag${e.toUpperCase()}`,n=this.visualElement.getProps(),r=n[t];return r||this.visualElement.getValue(e,(n.initial?n.initial[e]:void 0)||0)}snapToCursor(e){dn(t=>{let{drag:n}=this.getProps();if(!nl(t,n,this.currentDirection))return;let{projection:r}=this.visualElement,i=this.getAxisMotionValue(t);if(r&&r.layout){let{min:o,max:s}=r.layout.layoutBox[t];i.set(e[t]-_e(o,s,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!eo(t)||!n||!this.constraints)return;this.stopAnimation();let r={x:0,y:0};dn(o=>{let s=this.getAxisMotionValue(o);if(s&&this.constraints!==!1){let a=s.get();r[o]=IP({min:a,max:a},this.constraints[o])}});let{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),dn(o=>{if(!nl(o,e,null))return;let s=this.getAxisMotionValue(o),{min:a,max:l}=this.constraints[o];s.set(_e(a,l,r[o]))})}addListeners(){if(!this.visualElement.current)return;zP.set(this.visualElement,this);let e=this.visualElement.current,t=Wn(e,"pointerdown",a=>{let{drag:l,dragListener:c=!0}=this.getProps();l&&c&&this.start(a)}),n=()=>{let{dragConstraints:a}=this.getProps();eo(a)&&a.current&&(this.constraints=this.resolveRefConstraints())},{projection:r}=this.visualElement,i=r.addEventListener("measure",n);r&&!r.layout&&(r.root&&r.root.updateScroll(),r.updateLayout()),Z.read(n);let o=ur(_,"resize",()=>this.scalePositionWithinConstraints()),s=r.addEventListener("didUpdate",({delta:a,hasLayoutChanged:l})=>{this.isDragging&&l&&(dn(c=>{let u=this.getAxisMotionValue(c);u&&(this.originPoint[c]+=a[c].translate,u.set(u.get()+a[c].translate))}),this.visualElement.render())});return()=>{o(),t(),i(),s&&s()}}getProps(){let e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:r=!1,dragConstraints:i=!1,dragElastic:o=If,dragMomentum:s=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:r,dragConstraints:i,dragElastic:o,dragMomentum:s}}};function nl(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function $P(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}var NP=class extends zr{constructor(e){super(e),this.removeGroupControls=pt,this.removeListeners=pt,this.controls=new BP(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||pt}unmount(){this.removeGroupControls(),this.removeListeners()}},fv=e=>(t,n)=>{e&&Z.postRender(()=>e(t,n))},HP=class extends zr{constructor(){super(...arguments),this.removePointerDownListener=pt}onPointerDown(e){this.session=new l0(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:p0(this.node)})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:r}=this.node.getProps();return{onSessionStart:fv(e),onStart:fv(t),onMove:n,onEnd:(i,o)=>{delete this.session,r&&Z.postRender(()=>r(i,o))}}}mount(){this.removePointerDownListener=Wn(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}},sl={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function dv(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var ss={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(G.test(e))e=parseFloat(e);else return e;let n=dv(e,t.target.x),r=dv(e,t.target.y);return`${n}% ${r}%`}},jP={correct:(e,{treeScale:t,projectionDelta:n})=>{let r=e,i=pr.parse(e);if(i.length>5)return r;let o=pr.createTransformer(e),s=typeof i[0]!="number"?1:0,a=n.x.scale*t.x,l=n.y.scale*t.y;i[0+s]/=a,i[1+s]/=l;let c=_e(a,l,.5);return typeof i[2+s]=="number"&&(i[2+s]/=c),typeof i[3+s]=="number"&&(i[3+s]/=c),o(i)}},WP=class extends Ee{componentDidMount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:r}=this.props,{projection:i}=e;jf(UP),i&&(t.group&&t.group.add(i),n&&n.register&&r&&n.register(i),i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,onExitComplete:()=>this.safeToRemove()})),sl.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:t,visualElement:n,drag:r,isPresent:i}=this.props,o=n.projection;return o&&(o.isPresent=i,r||e.layoutDependency!==t||t===void 0?o.willUpdate():this.safeToRemove(),e.isPresent!==i&&(i?o.promote():o.relegate()||Z.postRender(()=>{let s=o.getStack();(!s||!s.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){let{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),Bf.postRender(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:n}=this.props,{projection:r}=e;r&&(r.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(r),n&&n.deregister&&n.deregister(r))}safeToRemove(){let{safeToRemove:e}=this.props;e&&e()}render(){return null}};function m0(e){let[t,n]=Gy(),r=D(ms);return k(WP,{...e,layoutGroup:r,switchLayoutGroup:D(vl),isPresent:t,safeToRemove:n})}var UP={borderRadius:{...ss,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:ss,borderTopRightRadius:ss,borderBottomLeftRadius:ss,borderBottomRightRadius:ss,boxShadow:jP},g0=["TopLeft","TopRight","BottomLeft","BottomRight"],GP=g0.length,hv=e=>typeof e=="string"?parseFloat(e):e,pv=e=>typeof e=="number"||G.test(e);function qP(e,t,n,r,i,o){i?(e.opacity=_e(0,n.opacity!==void 0?n.opacity:1,XP(r)),e.opacityExit=_e(t.opacity!==void 0?t.opacity:1,0,YP(r))):o&&(e.opacity=_e(t.opacity!==void 0?t.opacity:1,n.opacity!==void 0?n.opacity:1,r));for(let s=0;srt?1:n(xi(e,t,r))}function gv(e,t){e.min=t.min,e.max=t.max}function fn(e,t){gv(e.x,t.x),gv(e.y,t.y)}function vv(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function yv(e,t,n,r,i){return e-=t,e=hl(e,1/n,r),i!==void 0&&(e=hl(e,1/i,r)),e}function KP(e,t=0,n=1,r=.5,i,o=e,s=e){if(jn.test(t)&&(t=parseFloat(t),t=_e(s.min,s.max,t/100)-s.min),typeof t!="number")return;let a=_e(o.min,o.max,r);e===o&&(a-=t),e.min=yv(e.min,t,n,a,i),e.max=yv(e.max,t,n,a,i)}function bv(e,t,[n,r,i],o,s){KP(e,t[n],t[r],t[i],t.scale,o,s)}var QP=["x","scaleX","originX"],ZP=["y","scaleY","originY"];function xv(e,t,n,r){bv(e.x,t,QP,n?n.x:void 0,r?r.x:void 0),bv(e.y,t,ZP,n?n.y:void 0,r?r.y:void 0)}function wv(e){return e.translate===0&&e.scale===1}function y0(e){return wv(e.x)&&wv(e.y)}function Sv(e,t){return e.min===t.min&&e.max===t.max}function JP(e,t){return Sv(e.x,t.x)&&Sv(e.y,t.y)}function kv(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function b0(e,t){return kv(e.x,t.x)&&kv(e.y,t.y)}function Cv(e){return zt(e.x)/zt(e.y)}function Tv(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}var eF=class{constructor(){this.members=[]}add(e){bl(this.members,e),e.scheduleRender()}remove(e){if(Cs(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){let t=this.members[this.members.length-1];t&&this.promote(t)}}relegate(e){let t=this.members.findIndex(r=>e===r);if(t===0)return!1;let n;for(let r=t;r>=0;r--){let i=this.members[r];if(i.isPresent!==!1){n=i;break}}return n?(this.promote(n),!0):!1}promote(e,t){let n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.instance&&n.scheduleRender(),e.scheduleRender(),e.resumeFrom=n,t&&(e.resumeFrom.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);let{crossfade:r}=e.options;r===!1&&n.hide()}}exitAnimationComplete(){this.members.forEach(e=>{let{options:t,resumingFrom:n}=e;t.onExitComplete&&t.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}};function tF(e,t,n){let r="",i=e.x.translate/t.x,o=e.y.translate/t.y,s=n?.z||0;if((i||o||s)&&(r=`translate3d(${i}px, ${o}px, ${s}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){let{transformPerspective:c,rotate:u,rotateX:f,rotateY:d,skewX:p,skewY:g}=n;c&&(r=`perspective(${c}px) ${r}`),u&&(r+=`rotate(${u}deg) `),f&&(r+=`rotateX(${f}deg) `),d&&(r+=`rotateY(${d}deg) `),p&&(r+=`skewX(${p}deg) `),g&&(r+=`skewY(${g}deg) `)}let a=e.x.scale*t.x,l=e.y.scale*t.y;return(a!==1||l!==1)&&(r+=`scale(${a}, ${l})`),r||"none"}function x0(e){return e instanceof SVGElement&&e.tagName!=="svg"}function xd(e,t,n){let r=He(e)?e:Ar(e);return r.start(cd("",r,t,n)),r.animation}var gi={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},cs=typeof _<"u"&&_.MotionDebug!==void 0,mf=["","X","Y","Z"],nF={visibility:"hidden"},Ev=1e3,rF=0;function gf(e,t,n,r){let{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function w0(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:t}=e.options;if(!t)return;let n=Ny(t);if(_.MotionHasOptimisedAnimation(n,"transform")){let{layout:i,layoutId:o}=e.options;_.MotionCancelOptimisedAnimation(n,"transform",Z,!(i||o))}let{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&w0(r)}function S0({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(s={},a=t?.()){this.id=rF++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,cs&&(gi.totalNodes=gi.resolvedTargetDeltas=gi.recalculatedProjection=0),this.nodes.forEach(sF),this.nodes.forEach(fF),this.nodes.forEach(dF),this.nodes.forEach(aF),cs&&_.MotionDebug.record(gi)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=s,this.root=a?a.root||a:this,this.path=a?[...a.path,a]:[],this.parent=a,this.depth=a?a.depth+1:0;for(let l=0;lthis.root.updateBlockedByResize=!1;e(s,()=>{this.root.updateBlockedByResize=!0,f&&f(),f=Xy(d,250),sl.hasAnimatedSinceResize&&(sl.hasAnimatedSinceResize=!1,this.nodes.forEach(Pv))})}l&&this.root.registerSharedNode(l,this),this.options.animate!==!1&&u&&(l||c)&&this.addEventListener("didUpdate",({delta:f,hasLayoutChanged:d,hasRelativeTargetChanged:p,layout:g})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let y=this.options.transition||u.getDefaultTransition()||vF,{onLayoutAnimationStart:b,onLayoutAnimationComplete:h}=u.getProps(),m=!this.targetLayout||!b0(this.targetLayout,g)||p,v=!d&&p;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||v||d&&(m||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(f,v);let x={...ad(y,"layout"),onPlay:b,onComplete:h};(u.shouldReduceMotion||this.options.layoutRoot)&&(x.delay=0,x.type=!1),this.startAnimation(x)}else d||Pv(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=g})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let s=this.getStack();s&&s.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,Qt(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(hF),this.animationId++)}getTransformTemplate(){let{visualElement:s}=this.options;return s&&s.getProps().transformTemplate}willUpdate(s=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(_.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&w0(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let u=0;u{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let l=0;l{let T=x/1e3;Fv(f.x,s.x,T),Fv(f.y,s.y,T),this.setTargetDelta(f),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(ps(d,this.layout.layoutBox,this.relativeParent.layout.layoutBox),mF(this.relativeTarget,this.relativeTargetOrigin,d,T),v&&JP(this.relativeTarget,v)&&(this.isProjectionDirty=!1),v||(v=Ne()),fn(v,this.relativeTarget)),y&&(this.animationValues=u,qP(u,c,this.latestValues,T,m,h)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=T},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(s){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(Qt(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Z.update(()=>{sl.hasAnimatedSinceResize=!0,this.currentAnimation=xd(0,Ev,{...s,onUpdate:a=>{this.mixTargetDelta(a),s.onUpdate&&s.onUpdate(a)},onComplete:()=>{s.onComplete&&s.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let s=this.getStack();s&&s.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(Ev),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let s=this.getLead(),{targetWithTransforms:a,target:l,layout:c,latestValues:u}=s;if(!(!a||!l||!c)){if(this!==s&&this.layout&&c&&k0(this.options.animationType,this.layout.layoutBox,c.layoutBox)){l=this.target||Ne();let f=zt(this.layout.layoutBox.x);l.x.min=s.target.x.min,l.x.max=l.x.min+f;let d=zt(this.layout.layoutBox.y);l.y.min=s.target.y.min,l.y.max=l.y.min+d}fn(a,l),io(a,u),hs(this.projectionDeltaWithTransform,this.layoutCorrected,a,u)}}registerSharedNode(s,a){this.sharedNodes.has(s)||this.sharedNodes.set(s,new eF),this.sharedNodes.get(s).add(a);let c=a.options.initialPromotionConfig;a.promote({transition:c?c.transition:void 0,preserveFollowOpacity:c&&c.shouldPreserveFollowOpacity?c.shouldPreserveFollowOpacity(a):void 0})}isLead(){let s=this.getStack();return s?s.lead===this:!0}getLead(){var s;let{layoutId:a}=this.options;return a?((s=this.getStack())===null||s===void 0?void 0:s.lead)||this:this}getPrevLead(){var s;let{layoutId:a}=this.options;return a?(s=this.getStack())===null||s===void 0?void 0:s.prevLead:void 0}getStack(){let{layoutId:s}=this.options;if(s)return this.root.sharedNodes.get(s)}promote({needsReset:s,transition:a,preserveFollowOpacity:l}={}){let c=this.getStack();c&&c.promote(this,l),s&&(this.projectionDelta=void 0,this.needsReset=!0),a&&this.setOptions({transition:a})}relegate(){let s=this.getStack();return s?s.relegate(this):!1}resetSkewAndRotation(){let{visualElement:s}=this.options;if(!s)return;let a=!1,{latestValues:l}=s;if((l.z||l.rotate||l.rotateX||l.rotateY||l.rotateZ||l.skewX||l.skewY)&&(a=!0),!a)return;let c={};l.z&&gf("z",s,c,this.animationValues);for(let u=0;u{var a;return(a=s.currentAnimation)===null||a===void 0?void 0:a.stop()}),this.root.nodes.forEach(Rv),this.root.sharedNodes.clear()}}}function iF(e){e.updateLayout()}function oF(e){var t;let n=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){let{layoutBox:r,measuredBox:i}=e.layout,{animationType:o}=e.options,s=n.source!==e.layout.source;o==="size"?dn(f=>{let d=s?n.measuredBox[f]:n.layoutBox[f],p=zt(d);d.min=r[f].min,d.max=d.min+p}):k0(o,n.layoutBox,r)&&dn(f=>{let d=s?n.measuredBox[f]:n.layoutBox[f],p=zt(r[f]);d.max=d.min+p,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[f].max=e.relativeTarget[f].min+p)});let a=no();hs(a,r,n.layoutBox);let l=no();s?hs(l,e.applyTransform(i,!0),n.measuredBox):hs(l,r,n.layoutBox);let c=!y0(a),u=!1;if(!e.resumeFrom){let f=e.getClosestProjectingParent();if(f&&!f.resumeFrom){let{snapshot:d,layout:p}=f;if(d&&p){let g=Ne();ps(g,n.layoutBox,d.layoutBox);let y=Ne();ps(y,r,p.layoutBox),b0(g,y)||(u=!0),f.options.layoutRoot&&(e.relativeTarget=y,e.relativeTargetOrigin=g,e.relativeParent=f)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:n,delta:l,layoutDelta:a,hasLayoutChanged:c,hasRelativeTargetChanged:u})}else if(e.isLead()){let{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function sF(e){cs&&gi.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function aF(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function lF(e){e.clearSnapshot()}function Rv(e){e.clearMeasurements()}function cF(e){e.isLayoutDirty=!1}function uF(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Pv(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function fF(e){e.resolveTargetDelta()}function dF(e){e.calcProjection()}function hF(e){e.resetSkewAndRotation()}function pF(e){e.removeLeadSnapshot()}function Fv(e,t,n){e.translate=_e(t.translate,0,n),e.scale=_e(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function _v(e,t,n,r){e.min=_e(t.min,n.min,r),e.max=_e(t.max,n.max,r)}function mF(e,t,n,r){_v(e.x,t.x,n.x,r),_v(e.y,t.y,n.y,r)}function gF(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}var vF={duration:.45,ease:[.4,0,.1,1]},Iv=e=>typeof Fe<"u"&&Fe.userAgent&&Fe.userAgent.toLowerCase().includes(e),Ov=Iv("applewebkit/")&&!Iv("chrome/")?Math.round:pt;function Lv(e){e.min=Ov(e.min),e.max=Ov(e.max)}function yF(e){Lv(e.x),Lv(e.y)}function k0(e,t,n){return e==="position"||e==="preserve-aspect"&&!QR(Cv(t),Cv(n),.2)}function bF(e){var t;return e!==e.root&&((t=e.scroll)===null||t===void 0?void 0:t.wasRoot)}var xF=S0({attachResizeListener:(e,t)=>ur(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),bi={current:void 0},C0=S0({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!bi.current){let e=new xF({});e.mount(_),e.setOptions({layoutScroll:!0}),bi.current=e}return bi.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>_.getComputedStyle(e).position==="fixed"}),T0={pan:{Feature:HP},drag:{Feature:NP,ProjectionNode:C0,MeasureLayout:m0}},E0=class extends Ky{constructor(){super(...arguments),this.KeyframeResolver=Ay}sortInstanceNodePosition(e,t){return e.compareDocumentPosition(t)&2?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}};function wF(e){return _.getComputedStyle(e)}var R0=class extends E0{constructor(){super(...arguments),this.type="html",this.applyWillChange=!0,this.renderInstance=t0}readValueFromInstance(e,t){if(Vr.has(t)){let n=id(t);return n&&n.default||0}else{let n=wF(e),r=(xy(t)?n.getPropertyValue(t):n[t])||0;return typeof r=="string"?r.trim():r}}measureInstanceViewportBox(e,{transformPagePoint:t}){return h0(e,t)}build(e,t,n){md(e,t,n.transformTemplate)}scrapeMotionValuesFromProps(e,t,n){return bd(e,t,n)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;He(e)&&(this.childSubscription=e.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}},P0=class extends E0{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Ne}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(Vr.has(t)){let n=id(t);return n&&n.default||0}return t=n0.has(t)?t:ml(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,n){return i0(e,t,n)}build(e,t,n){vd(e,t,this.isSVGTag,n.transformTemplate)}renderInstance(e,t,n,r){r0(e,t,n,r)}mount(e){this.isSVGTag=yd(e.tagName),super.mount(e)}},wd=(e,t)=>pd(e)?new P0(t):new R0(t,{allowProjection:e!==lr}),F0={layout:{ProjectionNode:C0,MeasureLayout:m0}},SF={...Rl,...a0,...T0,...F0},pn=Qy((e,t)=>o0(e,t,SF,wd));var kF=Qy(o0),CF=class extends Ee{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){let n=this.props.sizeRef.current;n.height=t.offsetHeight||0,n.width=t.offsetWidth||0,n.top=t.offsetTop,n.left=t.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}};function TF({children:e,isPresent:t}){let n=hi(),r=A(null),i=A({width:0,height:0,top:0,left:0}),{nonce:o}=D(dr);return it(()=>{let{width:s,height:a,top:l,left:c}=i.current;if(t||!r.current||!s||!a)return;r.current.dataset.motionPopId=n;let u=document.createElement("style");return o&&(u.nonce=o),document.head.appendChild(u),u.sheet&&u.sheet.insertRule(` [data-motion-pop-id="${n}"] { position: absolute !important; width: ${s}px !important; height: ${a}px !important; top: ${l}px !important; left: ${c}px !important; } `),()=>{document.head.removeChild(u)}},[t]),k(CF,{isPresent:t,childRef:r,sizeRef:i,children:Mr(e,{ref:r})})}var EF=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:i,presenceAffectsLayout:o,mode:s})=>{let a=mr(RF),l=hi(),c=se(()=>({id:l,initial:t,isPresent:n,custom:i,onExitComplete:u=>{a.set(u,!0);for(let f of a.values())if(!f)return;r&&r()},register:u=>(a.set(u,!1),()=>a.delete(u))}),o?[Math.random()]:[n]);return se(()=>{a.forEach((u,f)=>a.set(f,!1))},[n]),$(()=>{!n&&!a.size&&r&&r()},[n]),s==="popLayout"&&(e=k(TF,{isPresent:n,children:e})),k(co.Provider,{value:c,children:e})};function RF(){return new Map}var rl=e=>e.key||"";function Mv(e){let t=[];return ar.forEach(e,n=>{Yt(n)&&t.push(n)}),t}var Sd=({children:e,exitBeforeEnter:t,custom:n,initial:r=!0,onExitComplete:i,presenceAffectsLayout:o=!0,mode:s="sync"})=>{Kt(!t,"Replace exitBeforeEnter with mode='wait'");let a=se(()=>Mv(e),[e]),l=a.map(rl),c=A(!0),u=A(a),f=mr(()=>new Map),[d,p]=Xe(a),[g,y]=Xe(a);wi(()=>{c.current=!1,u.current=a;for(let m=0;m{let v=rl(m),x=a===g||l.includes(v),T=()=>{if(f.has(v))f.set(v,!0);else return;let S=!0;f.forEach(E=>{E||(S=!1)}),S&&(h?.(),y(u.current),i&&i())};return k(EF,{isPresent:x,initial:!c.current||r?void 0:!1,custom:x?void 0:n,presenceAffectsLayout:o,mode:s,onExitComplete:x?void 0:T,children:m},v)})})};function _0({children:e,isValidProp:t,...n}){t&&Zv(t),n={...D(dr),...n},n.isStatic=mr(()=>n.isStatic);let r=se(()=>n,[JSON.stringify(n.transition),n.transformPagePoint,n.reducedMotion]);return k(dr.Provider,{value:r,children:e})}var I0=Se(null);function PF(){let e=A(!1);return wi(()=>(e.current=!0,()=>{e.current=!1}),[]),e}function kd(){let e=PF(),[t,n]=Xe(0),r=oe(()=>{e.current&&n(t+1)},[t]);return[oe(()=>Z.postRender(r),[r]),t]}var FF=e=>!e.isLayoutDirty&&e.willUpdate(!1);function Dv(){let e=new Set,t=new WeakMap,n=()=>e.forEach(FF);return{add:r=>{e.add(r),t.set(r,r.addEventListener("willUpdate",n))},remove:r=>{e.delete(r);let i=t.get(r);i&&(i(),t.delete(r)),n()},dirty:n}}var O0=e=>e===!0,_F=e=>O0(e===!0)||e==="id",L0=({children:e,id:t,inherit:n=!0})=>{let r=D(ms),i=D(I0),[o,s]=kd(),a=A(null),l=r.id||i;a.current===null&&(_F(n)&&l&&(t=t?l+"-"+t:l),a.current={id:t,group:O0(n)&&r.group||Dv()});let c=se(()=>({...a.current,forceRender:o}),[s]);return k(ms.Provider,{value:c,children:e})};function Si(e){let t=mr(()=>Ar(e)),{isStatic:n}=D(dr);if(n){let[,r]=Xe(e);$(()=>t.on("change",r),[])}return t}var IF=e=>e&&typeof e=="object"&&e.mix,OF=e=>IF(e)?e.mix:void 0;function M0(...e){let t=!Array.isArray(e[0]),n=t?0:-1,r=e[0+n],i=e[1+n],o=e[2+n],s=e[3+n],a=Es(i,o,{mixer:OF(o[0]),...s});return t?a(r):a}function D0(e,t){let n=Si(t()),r=()=>n.set(t());return r(),wi(()=>{let i=()=>Z.preRender(r,!1,!0),o=e.map(s=>s.on("change",i));return()=>{o.forEach(s=>s()),Qt(r)}}),n}function LF(e){ds.current=[],e();let t=D0(ds.current,e);return ds.current=void 0,t}function Pl(e,t,n,r){if(typeof e=="function")return LF(e);let i=typeof t=="function"?t:M0(t,n,r);return Array.isArray(e)?Av(e,i):Av([e],([o])=>i(o))}function Av(e,t){let n=mr(()=>[]);return D0(e,()=>{n.length=0;let r=e.length;for(let i=0;iu.value===t);if(i===-1)return e;let o=r>0?1:-1,s=e[i+o];if(!s)return e;let a=e[i],l=s.layout,c=_e(l.min,l.max,.5);return o===1&&a.layout.max+n>c||o===-1&&a.layout.min+npn(t)),l=[],c=A(!1);Kt(!!i,"Reorder.Group must be provided a values prop");let u={axis:n,registerItem:(f,d)=>{let p=l.findIndex(g=>f===g.value);p!==-1?l[p].layout=d[n]:l.push({value:f,layout:d[n]}),l.sort(VF)},updateOrder:(f,d,p)=>{if(c.current)return;let g=MF(l,f,d,p);l!==g&&(c.current=!0,r(g.map(AF).filter(y=>i.indexOf(y)!==-1)))}};return $(()=>{c.current=!1}),k(a,{...o,ref:s,ignoreStrict:!0,children:k(A0.Provider,{value:u,children:e})})}var FB=De(DF);function AF(e){return e.value}function VF(e,t){return e.layout.min-t.layout.min}function Vv(e,t=0){return He(e)?e:Si(t)}function zF({children:e,style:t={},value:n,as:r="li",onDrag:i,layout:o=!0,...s},a){let l=mr(()=>pn(r)),c=D(A0),u={x:Vv(t.x),y:Vv(t.y)},f=Pl([u.x,u.y],([y,b])=>y||b?1:"unset");Kt(!!c,"Reorder.Item must be a child of Reorder.Group");let{axis:d,registerItem:p,updateOrder:g}=c;return k(l,{drag:d,...s,dragSnapToOrigin:!0,style:{...t,x:u.x,y:u.y,zIndex:f},layout:o,onDrag:(y,b)=>{let{velocity:h}=b;h[d]&&g(n,u[d].get(),h[d]),i&&i(y,b)},onLayoutMeasure:y=>p(n,y),ref:a,ignoreStrict:!0,children:e})}var OB=De(zF);var BF={renderer:wd,...Rl},V0={renderer:wd,...Rl,...a0},$F={...V0,...T0,...F0};function zv(e){return typeof e=="number"?e:parseFloat(e)}function Cd(e,t={}){let{isStatic:n}=D(dr),r=A(null),i=Si(He(e)?zv(e.get()):e),o=A(i.get()),s=A(()=>{}),a=()=>{let c=r.current;c&&c.time===0&&c.sample(Je.delta),l(),r.current=Fy({keyframes:[i.get(),o.current],velocity:i.getVelocity(),type:"spring",restDelta:.001,restSpeed:.01,...t,onUpdate:s.current})},l=()=>{r.current&&r.current.stop()};return it(()=>i.attach((c,u)=>n?u(c):(o.current=c,s.current=u,Z.update(a),i.get()),l),[JSON.stringify(t)]),wi(()=>{if(He(e))return e.on("change",c=>i.set(zv(c)))},[i]),i}function Td(e,t,n){var r;if(typeof e=="string"){let i=document;t&&(Kt(!!t.current,"Scope provided, but no element detected."),i=t.current),n?((r=n[e])!==null&&r!==void 0||(n[e]=i.querySelectorAll(e)),e=n[e]):e=i.querySelectorAll(e)}else e instanceof Element&&(e=[e]);return Array.from(e||[])}function z0(){!hd.current&&Yy();let[e]=Xe(dl.current);return e}function B0(){let e=z0(),{reducedMotion:t}=D(dr);return t==="never"?!1:t==="always"?!0:e}function NF(e){e.values.forEach(t=>t.stop())}function Mf(e,t){[...t].reverse().forEach(r=>{let i=e.getVariant(r);i&&ud(e,i),e.variantChildren&&e.variantChildren.forEach(o=>{Mf(o,t)})})}function HF(e,t){if(Array.isArray(t))return Mf(e,t);if(typeof t=="string")return Mf(e,[t]);ud(e,t)}function $0(){let e=!1,t=new Set,n={subscribe(r){return t.add(r),()=>void t.delete(r)},start(r,i){Kt(e,"controls.start() should only be called after a component has mounted. Consider calling within a useEffect hook.");let o=[];return t.forEach(s=>{o.push(dd(s,r,{transitionOverride:i}))}),Promise.all(o)},set(r){return Kt(e,"controls.set() should only be called after a component has mounted. Consider calling within a useEffect hook."),t.forEach(i=>{HF(i,r)})},stop(){t.forEach(r=>{NF(r)})},mount(){return e=!0,()=>{e=!1,n.stop()}}};return n}var N0=(e,t,n)=>{let r=t-e;return((n-e)%r+r)%r+e};function jF(e){return typeof e=="object"&&!Array.isArray(e)}function WF(e){let t={presenceContext:null,props:{},visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{}}},n=x0(e)?new P0(t):new R0(t);n.mount(e),lo.set(e,n)}function UF(e,t=100){let n=Ts({keyframes:[0,t],...e}),r=Math.min(Py(n),Cf);return{type:"keyframes",ease:i=>n.next(r*i).value/t,duration:Gn(r)}}function Bv(e,t,n,r){var i;return typeof t=="number"?t:t.startsWith("-")||t.startsWith("+")?Math.max(0,e+parseFloat(t)):t==="<"?n:(i=r.get(t))!==null&&i!==void 0?i:e}function GF(e,t){return Cy(e)?e[N0(0,e.length,t)]:e}function qF(e,t,n){for(let r=0;rt&&i.at{let R=ZF(v),{delay:M=0,times:I=Ey(R),type:Q="keyframes",...B}=x,{ease:fe=t.ease||"easeOut",duration:ie}=x,q=typeof M=="function"?M(S,E):M,W=R.length;if(W<=2&&Q==="spring"){let U=100;if(W===2&&t_(R)){let he=R[1]-R[0];U=Math.abs(he)}let ge={...B};ie!==void 0&&(ge.duration=Pn(ie));let ae=UF(ge,U);fe=ae.ease,ie=ae.duration}ie??(ie=i);let ee=u+q,te=ee+ie;I.length===1&&I[0]===0&&(I[1]=1);let de=I.length-R.length;de>0&&Ty(I,de),R.length===1&&R.unshift(null),XF(T,R,fe,I,ee,te),h=Math.max(q+ie,h),f=Math.max(te,f)};if(He(g)){let v=$v(g,s);m(y,b,Nv("default",v))}else{let v=Td(g,r,a),x=v.length;for(let T=0;T{for(let g in d){let y=d[g];y.sort(YF);let b=[],h=[],m=[];for(let x=0;xtypeof e=="number",t_=e=>e.every(e_);function H0(e,t,n,r){let i=Td(e,r),o=i.length;Kt(!!o,"No valid element provided.");let s=[];for(let a=0;aArray.isArray(e)&&Array.isArray(e[0]);function r_(e,t,n){let r=[];return QF(e,t,n).forEach(({keyframes:o,transition:s},a)=>{let l;He(a)?l=xd(a,o.default,s.default):l=H0(a,o,s),r.push(l)}),new ld(r)}var j0=e=>{function t(n,r,i){let o;return n_(n)?o=r_(n,r,e):jF(r)?o=H0(n,r,i,e):o=xd(n,r,i),e&&e.animations.push(o),o}return t},ki=j0();function W0(){let e=mr($0);return wi(e.mount,[]),e}var U0=W0;var i_={some:0,all:1};function Ed(e,t,{root:n,margin:r,amount:i="some"}={}){let o=Td(e),s=new WeakMap,a=c=>{c.forEach(u=>{let f=s.get(u.target);if(u.isIntersecting!==!!f)if(u.isIntersecting){let d=t(u);typeof d=="function"?s.set(u.target,d):l.unobserve(u.target)}else f&&(f(u),s.delete(u.target))})},l=new IntersectionObserver(a,{root:n,rootMargin:r,threshold:typeof i=="number"?i:i_[i]});return o.forEach(c=>l.observe(c)),()=>l.disconnect()}function Rd(e){return e!==null&&typeof e=="object"&&Hf in e}function G0(e){if(Rd(e))return e[Hf]}function Pd(){return o_}function o_(e){bi.current&&(bi.current.isUpdating=!1,bi.current.blockUpdate(),e&&e())}function q0(){let[e,t]=kd(),n=Pd(),r=A();return $(()=>{Z.postRender(()=>Z.postRender(()=>{t===r.current&&(ul.current=!1)}))},[t]),i=>{n(()=>{ul.current=!0,e(),i(),r.current=t+1})}}function X0(){return oe(()=>{let t=bi.current;t&&t.resetTree()},[])}var Hv=()=>({});var GB=xl({scrapeMotionValuesFromProps:Hv,createRenderState:Hv});function s_(e,t){if(e==="first")return 0;{let n=t-1;return e==="last"?n:n/2}}function Fd(e=.1,{startDelay:t=0,from:n=0,ease:r}={}){return(i,o)=>{let s=typeof n=="number"?n:s_(n,o),a=Math.abs(s-i),l=e*a;if(r){let c=o*e;l=kf(r)(l/c)*c}return t+l}}var a_=as.reduce((e,t)=>(e[t]=n=>Qt(n),e),{});var H2={};Ju(H2,{__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:()=>_2,createPortal:()=>I2,createRoot:()=>O2,default:()=>fS,findDOMNode:()=>L2,flushSync:()=>M2,hydrate:()=>D2,hydrateRoot:()=>A2,render:()=>V2,unmountComponentAtNode:()=>z2,unstable_batchedUpdates:()=>B2,unstable_renderSubtreeIntoContainer:()=>$2,version:()=>N2});var Ml={};Ju(Ml,{default:()=>X,unstable_IdlePriority:()=>u_,unstable_ImmediatePriority:()=>f_,unstable_LowPriority:()=>d_,unstable_NormalPriority:()=>h_,unstable_Profiling:()=>p_,unstable_UserBlockingPriority:()=>m_,unstable_cancelCallback:()=>g_,unstable_continueExecution:()=>v_,unstable_forceFrameRate:()=>y_,unstable_getCurrentPriorityLevel:()=>b_,unstable_getFirstCallbackNode:()=>x_,unstable_next:()=>w_,unstable_now:()=>c_,unstable_pauseExecution:()=>S_,unstable_requestPaint:()=>k_,unstable_runWithPriority:()=>C_,unstable_scheduleCallback:()=>T_,unstable_shouldYield:()=>E_,unstable_wrapCallback:()=>R_});var X={};function Ld(e,t){var n=e.length;e.push(t);e:for(;0>>1,i=e[r];if(!(0>>1;rFl(a,n))lFl(c,a)?(e[r]=c,e[l]=n,r=l):(e[r]=a,e[s]=n,r=s);else{if(!(lFl(c,n)))break e;e[r]=c,e[l]=n,r=l}}}return t}function Fl(e,t){var n=e.sortIndex-t.sortIndex;return n!==0?n:e.id-t.id}typeof performance=="object"&&typeof performance.now=="function"?(Y0=performance,X.unstable_now=function(){return Y0.now()}):(_d=Date,K0=_d.now(),X.unstable_now=function(){return _d.now()-K0});var Y0,_d,K0,Xn=[],Br=[],l_=1,mn=null,Ct=3,Ol=!1,Ci=!1,Fs=!1,J0=typeof setTimeout=="function"?setTimeout:null,eb=typeof clearTimeout=="function"?clearTimeout:null,Q0=typeof setImmediate<"u"?setImmediate:null;typeof Fe<"u"&&Fe.scheduling!==void 0&&Fe.scheduling.isInputPending!==void 0&&Fe.scheduling.isInputPending.bind(Fe.scheduling);function Md(e){for(var t=Fn(Br);t!==null;){if(t.callback===null)Il(Br);else{if(!(t.startTime<=e))break;Il(Br),t.sortIndex=t.expirationTime,Ld(Xn,t)}t=Fn(Br)}}function Dd(e){if(Fs=!1,Md(e),!Ci)if(Fn(Xn)!==null)Ci=!0,Vd(Ad);else{var t=Fn(Br);t!==null&&zd(Dd,t.startTime-e)}}function Ad(e,t){Ci=!1,Fs&&(Fs=!1,eb(_s),_s=-1),Ol=!0;var n=Ct;try{for(Md(t),mn=Fn(Xn);mn!==null&&(!(mn.expirationTime>t)||e&&!rb());){var r=mn.callback;if(typeof r=="function"){mn.callback=null,Ct=mn.priorityLevel;var i=r(mn.expirationTime<=t);t=X.unstable_now(),typeof i=="function"?mn.callback=i:mn===Fn(Xn)&&Il(Xn),Md(t)}else Il(Xn);mn=Fn(Xn)}if(mn!==null)var o=!0;else{var s=Fn(Br);s!==null&&zd(Dd,s.startTime-t),o=!1}return o}finally{mn=null,Ct=n,Ol=!1}}var Ll=!1,_l=null,_s=-1,tb=5,nb=-1;function rb(){return!(X.unstable_now()-nbe||125r?(e.sortIndex=n,Ld(Br,e),Fn(Xn)===null&&e===Fn(Br)&&(Fs?(eb(_s),_s=-1):Fs=!0,zd(Dd,n-r))):(e.sortIndex=i,Ld(Xn,e),Ci||Ol||(Ci=!0,Vd(Ad))),e};X.unstable_shouldYield=rb;X.unstable_wrapCallback=function(e){var t=Ct;return function(){var n=Ct;Ct=t;try{return e.apply(this,arguments)}finally{Ct=n}}};var c_=X.unstable_now,u_=X.unstable_IdlePriority,f_=X.unstable_ImmediatePriority,d_=X.unstable_LowPriority,h_=X.unstable_NormalPriority,p_=X.unstable_Profiling,m_=X.unstable_UserBlockingPriority,g_=X.unstable_cancelCallback,v_=X.unstable_continueExecution,y_=X.unstable_forceFrameRate,b_=X.unstable_getCurrentPriorityLevel,x_=X.unstable_getFirstCallbackNode,w_=X.unstable_next,S_=X.unstable_pauseExecution,k_=X.unstable_requestPaint,C_=X.unstable_runWithPriority,T_=X.unstable_scheduleCallback,E_=X.unstable_shouldYield,R_=X.unstable_wrapCallback;var P_="default"in St?w:St,F_="default"in Ml?X:Ml,rn={},ux=P_,nn=F_;function O(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof _.document>"u"||typeof _.document.createElement>"u"),ah=Object.prototype.hasOwnProperty,__=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,ib={},ob={};function I_(e){return ah.call(ob,e)?!0:ah.call(ib,e)?!1:__.test(e)?ob[e]=!0:(ib[e]=!0,!1)}function O_(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function L_(e,t,n,r){if(t===null||typeof t>"u"||O_(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Mt(e,t,n,r,i,o,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=s}var vt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){vt[e]=new Mt(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];vt[t]=new Mt(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){vt[e]=new Mt(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){vt[e]=new Mt(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){vt[e]=new Mt(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){vt[e]=new Mt(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){vt[e]=new Mt(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){vt[e]=new Mt(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){vt[e]=new Mt(e,5,!1,e.toLowerCase(),null,!1,!1)});var Zh=/[\-:]([a-z])/g;function Jh(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Zh,Jh);vt[t]=new Mt(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Zh,Jh);vt[t]=new Mt(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Zh,Jh);vt[t]=new Mt(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){vt[e]=new Mt(e,1,!1,e.toLowerCase(),null,!1,!1)});vt.xlinkHref=new Mt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){vt[e]=new Mt(e,1,!1,e.toLowerCase(),null,!0,!0)});function ep(e,t,n,r){var i=vt.hasOwnProperty(t)?vt[t]:null;(i!==null?i.type!==0:r||!(2a||i[s]!==o[a]){var l=` `+i[s].replace(" at new "," at ");return e.displayName&&l.includes("")&&(l=l.replace("",e.displayName)),l}while(1<=s&&0<=a);break}}}finally{$d=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Bs(e):""}function M_(e){switch(e.tag){case 5:return Bs(e.type);case 16:return Bs("Lazy");case 13:return Bs("Suspense");case 19:return Bs("SuspenseList");case 0:case 2:case 15:return e=Nd(e.type,!1),e;case 11:return e=Nd(e.type.render,!1),e;case 1:return e=Nd(e.type,!0),e;default:return""}}function fh(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case go:return"Fragment";case mo:return"Portal";case lh:return"Profiler";case tp:return"StrictMode";case ch:return"Suspense";case uh:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case hx:return(e.displayName||"Context")+".Consumer";case dx:return(e._context.displayName||"Context")+".Provider";case np:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case rp:return t=e.displayName||null,t!==null?t:fh(e.type)||"Memo";case Nr:t=e._payload,e=e._init;try{return fh(e(t))}catch{}}return null}function D_(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return fh(t);case 8:return t===tp?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function ti(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function mx(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function A_(e){var t=mx(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(s){r=""+s,o.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Al(e){e._valueTracker||(e._valueTracker=A_(e))}function gx(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=mx(e)?e.checked?"true":"false":e.value),e=r,e!==n&&(t.setValue(e),!0)}function uc(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function dh(e,t){var n=t.checked;return ze({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function ab(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=ti(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function vx(e,t){t=t.checked,t!=null&&ep(e,"checked",t,!1)}function hh(e,t){vx(e,t);var n=ti(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?ph(e,t.type,n):t.hasOwnProperty("defaultValue")&&ph(e,t.type,ti(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function lb(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function ph(e,t,n){t==="number"&&uc(e.ownerDocument)===e||(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var $s=Array.isArray;function Ro(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=Vl.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Js(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var js={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},V_=["Webkit","ms","Moz","O"];Object.keys(js).forEach(function(e){V_.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),js[t]=js[e]})});function wx(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||js.hasOwnProperty(e)&&js[e]?(""+t).trim():t+"px"}function Sx(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=wx(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var z_=ze({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function vh(e,t){if(t){if(z_[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(O(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(O(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(O(61))}if(t.style!=null&&typeof t.style!="object")throw Error(O(62))}}function yh(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var bh=null;function ip(e){return e=e.target||e.srcElement||_,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var xh=null,Po=null,Fo=null;function fb(e){if(e=va(e)){if(typeof xh!="function")throw Error(O(280));var t=e.stateNode;t&&(t=zc(t),xh(e.stateNode,e.type,t))}}function kx(e){Po?Fo?Fo.push(e):Fo=[e]:Po=e}function Cx(){if(Po){var e=Po,t=Fo;if(Fo=Po=null,fb(e),t)for(e=0;e>>=0,e===0?32:31-(Y_(e)/K_|0)|0}var zl=64,Bl=4194304;function Ns(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function pc(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,s=268435455&n;if(s!==0){var a=s&~i;a!==0?r=Ns(a):(o&=s,o!==0&&(r=Ns(o)))}else s=n&~i,s!==0?r=Ns(s):o!==0&&(r=Ns(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,o=t&-t,i>=o||i===16&&(4194240&o)!==0))return t;if(4&r&&(r|=16&n),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function ma(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Mn(t),e[t]=n}function eI(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=Us),xb=String.fromCharCode(32),wb=!1;function Wx(e,t){switch(e){case"keyup":return PI.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ux(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var vo=!1;function _I(e,t){switch(e){case"compositionend":return Ux(t);case"keypress":return t.which!==32?null:(wb=!0,xb);case"textInput":return e=t.data,e===xb&&wb?null:e;default:return null}}function II(e,t){if(vo)return e==="compositionend"||!dp&&Wx(e,t)?(e=Hx(),tc=cp=Ur=null,vo=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Cb(n)}}function Yx(e,t){return!(!e||!t)&&(e===t||(!e||e.nodeType!==3)&&(t&&t.nodeType===3?Yx(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function Kx(){for(var e=_,t=uc();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(!n)break;e=t.contentWindow,t=uc(e.document)}return t}function hp(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function $I(e){var t=Kx(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Yx(n.ownerDocument.documentElement,n)){if(r!==null&&hp(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||_,e.getSelection){e=e.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=Tb(n,o);var s=Tb(n,r);i&&s&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,yo=null,Eh=null,qs=null,Rh=!1;function Eb(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Rh||yo==null||yo!==uc(r)||(r=yo,"selectionStart"in r&&hp(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||_).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),qs&&oa(qs,r)||(qs=r,r=vc(Eh,"onSelect"),0wo||(e.current=Lh[wo],Lh[wo]=null,wo--)}function Re(e,t){wo++,Lh[wo]=e.current,e.current=t}var ni={},Pt=ii(ni),Ht=ii(!1),Oi=ni;function Mo(e,t){var n=e.type.contextTypes;if(!n)return ni;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i,o={};for(i in n)o[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function jt(e){return e=e.childContextTypes,e!=null}function bc(){Oe(Ht),Oe(Pt)}function Db(e,t,n){if(Pt.current!==ni)throw Error(O(168));Re(Pt,t),Re(Ht,n)}function ow(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(O(108,D_(e)||"Unknown",i));return ze({},n,r)}function xc(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ni,Oi=Pt.current,Re(Pt,e),Re(Ht,Ht.current),!0}function Ab(e,t,n){var r=e.stateNode;if(!r)throw Error(O(169));n?(e=ow(e,t,Oi),r.__reactInternalMemoizedMergedChildContext=e,Oe(Ht),Oe(Pt),Re(Pt,e)):Oe(Ht),Re(Ht,n)}var vr=null,Bc=!1,Zd=!1;function sw(e){vr===null?vr=[e]:vr.push(e)}function KI(e){Bc=!0,sw(e)}function oi(){if(!Zd&&vr!==null){Zd=!0;var e=0,t=ke;try{var n=vr;for(ke=1;e>=s,i-=s,yr=1<<32-Mn(t)+i|n<R?(M=E,E=null):M=E.sibling;var I=d(h,E,v[R],x);if(I===null){E===null&&(E=M);break}e&&E&&I.alternate===null&&t(h,E),m=o(I,m,R),S===null?T=I:S.sibling=I,S=I,E=M}if(R===v.length)return n(h,E),Le&&Ti(h,R),T;if(E===null){for(;RR?(M=E,E=null):M=E.sibling;var Q=d(h,E,I.value,x);if(Q===null){E===null&&(E=M);break}e&&E&&Q.alternate===null&&t(h,E),m=o(Q,m,R),S===null?T=Q:S.sibling=Q,S=Q,E=M}if(I.done)return n(h,E),Le&&Ti(h,R),T;if(E===null){for(;!I.done;R++,I=v.next())I=f(h,I.value,x),I!==null&&(m=o(I,m,R),S===null?T=I:S.sibling=I,S=I);return Le&&Ti(h,R),T}for(E=r(h,E);!I.done;R++,I=v.next())I=p(E,h,R,I.value,x),I!==null&&(e&&I.alternate!==null&&E.delete(I.key===null?R:I.key),m=o(I,m,R),S===null?T=I:S.sibling=I,S=I);return e&&E.forEach(function(B){return t(h,B)}),Le&&Ti(h,R),T}function b(h,m,v,x){if(typeof v=="object"&&v!==null&&v.type===go&&v.key===null&&(v=v.props.children),typeof v=="object"&&v!==null){switch(v.$$typeof){case Dl:e:{for(var T=v.key,S=m;S!==null;){if(S.key===T){if(T=v.type,T===go){if(S.tag===7){n(h,S.sibling),m=i(S,v.props.children),m.return=h,h=m;break e}}else if(S.elementType===T||typeof T=="object"&&T!==null&&T.$$typeof===Nr&&jb(T)===S.type){n(h,S.sibling),m=i(S,v.props),m.ref=Ds(h,S,v),m.return=h,h=m;break e}n(h,S);break}t(h,S),S=S.sibling}v.type===go?(m=Ii(v.props.children,h.mode,x,v.key),m.return=h,h=m):(x=cc(v.type,v.key,v.props,null,h.mode,x),x.ref=Ds(h,m,v),x.return=h,h=x)}return s(h);case mo:e:{for(S=v.key;m!==null;){if(m.key===S){if(m.tag===4&&m.stateNode.containerInfo===v.containerInfo&&m.stateNode.implementation===v.implementation){n(h,m.sibling),m=i(m,v.children||[]),m.return=h,h=m;break e}n(h,m);break}t(h,m),m=m.sibling}m=sh(v,h.mode,x),m.return=h,h=m}return s(h);case Nr:return S=v._init,b(h,m,S(v._payload),x)}if($s(v))return g(h,m,v,x);if(Is(v))return y(h,m,v,x);Kl(h,v)}return typeof v=="string"&&v!==""||typeof v=="number"?(v=""+v,m!==null&&m.tag===6?(n(h,m.sibling),m=i(m,v),m.return=h,h=m):(n(h,m),m=oh(v,h.mode,x),m.return=h,h=m),s(h)):n(h,m)}return b}var Ao=pw(!0),mw=pw(!1),ya={},Jn=ii(ya),ca=ii(ya),ua=ii(ya);function Fi(e){if(e===ya)throw Error(O(174));return e}function Sp(e,t){switch(Re(ua,t),Re(ca,e),Re(Jn,ya),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:gh(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=gh(t,e)}Oe(Jn),Re(Jn,t)}function Vo(){Oe(Jn),Oe(ca),Oe(ua)}function gw(e){Fi(ua.current);var t=Fi(Jn.current),n=gh(t,e.type);t!==n&&(Re(ca,e),Re(Jn,n))}function kp(e){ca.current===e&&(Oe(Jn),Oe(ca))}var Ae=ii(0);function Ec(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(128&t.flags)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Jd=[];function Cp(){for(var e=0;en?n:4,e(!0);var r=eh.transition;eh.transition={};try{e(!1),t()}finally{ke=n,eh.transition=r}}function Ow(){return wn().memoizedState}function e2(e,t,n){var r=Jr(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Lw(e))Mw(t,n);else if(n=uw(e,t,n,r),n!==null){var i=Lt();Dn(n,e,r,i),Dw(n,t,r)}}function t2(e,t,n){var r=Jr(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Lw(e))Mw(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var s=t.lastRenderedState,a=o(s,n);if(i.hasEagerState=!0,i.eagerState=a,An(a,s)){var l=t.interleaved;l===null?(i.next=i,xp(t)):(i.next=l.next,l.next=i),t.interleaved=i;return}}catch{}n=uw(e,t,i,r),n!==null&&(i=Lt(),Dn(n,e,r,i),Dw(n,t,r))}}function Lw(e){var t=e.alternate;return e===Ve||t!==null&&t===Ve}function Mw(e,t){Xs=Rc=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Dw(e,t,n){if(4194240&n){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,sp(e,n)}}var Pc={readContext:xn,useCallback:Tt,useContext:Tt,useEffect:Tt,useImperativeHandle:Tt,useInsertionEffect:Tt,useLayoutEffect:Tt,useMemo:Tt,useReducer:Tt,useRef:Tt,useState:Tt,useDebugValue:Tt,useDeferredValue:Tt,useTransition:Tt,useMutableSource:Tt,useSyncExternalStore:Tt,useId:Tt,unstable_isNewReconciler:!1},n2={readContext:xn,useCallback:function(e,t){return Kn().memoizedState=[e,t===void 0?null:t],e},useContext:xn,useEffect:Ub,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,oc(4194308,4,Rw.bind(null,t,e),n)},useLayoutEffect:function(e,t){return oc(4194308,4,e,t)},useInsertionEffect:function(e,t){return oc(4,2,e,t)},useMemo:function(e,t){var n=Kn();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Kn();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=e2.bind(null,Ve,e),[r.memoizedState,e]},useRef:function(e){var t=Kn();return e={current:e},t.memoizedState=e},useState:Wb,useDebugValue:Fp,useDeferredValue:function(e){return Kn().memoizedState=e},useTransition:function(){var e=Wb(!1),t=e[0];return e=JI.bind(null,e[1]),Kn().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Ve,i=Kn();if(Le){if(n===void 0)throw Error(O(407));n=n()}else{if(n=t(),at===null)throw Error(O(349));30&Mi||bw(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,Ub(ww.bind(null,r,o,e),[e]),r.flags|=2048,ha(9,xw.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=Kn(),t=at.identifierPrefix;if(Le){var n=br,r=yr;n=(r&~(1<<32-Mn(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=fa++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),n==="select"&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[Qn]=t,e[la]=r,Ww(e,t,!1,!1),t.stateNode=e;e:{switch(s=yh(n,r),n){case"dialog":Ie("cancel",e),Ie("close",e),i=r;break;case"iframe":case"object":case"embed":Ie("load",e),i=r;break;case"video":case"audio":for(i=0;iBo&&(t.flags|=128,r=!0,As(o,!1),t.lanes=4194304)}else{if(!r)if(e=Ec(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),As(o,!0),o.tail===null&&o.tailMode==="hidden"&&!s.alternate&&!Le)return Et(t),null}else 2*qe()-o.renderingStartTime>Bo&&n!==1073741824&&(t.flags|=128,r=!0,As(o,!1),t.lanes=4194304);o.isBackwards?(s.sibling=t.child,t.child=s):(n=o.last,n!==null?n.sibling=s:t.child=s,o.last=s)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=qe(),t.sibling=null,n=Ae.current,Re(Ae,r?1&n|2:1&n),t):(Et(t),null);case 22:case 23:return Dp(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&1&t.mode?1073741824&Jt&&(Et(t),6&t.subtreeFlags&&(t.flags|=8192)):Et(t),null;case 24:return null;case 25:return null}throw Error(O(156,t.tag))}function u2(e,t){switch(mp(t),t.tag){case 1:return jt(t.type)&&bc(),e=t.flags,65536&e?(t.flags=-65537&e|128,t):null;case 3:return Vo(),Oe(Ht),Oe(Pt),Cp(),e=t.flags,65536&e&&!(128&e)?(t.flags=-65537&e|128,t):null;case 5:return kp(t),null;case 13:if(Oe(Ae),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(O(340));Do()}return e=t.flags,65536&e?(t.flags=-65537&e|128,t):null;case 19:return Oe(Ae),null;case 4:return Vo(),null;case 10:return bp(t.type._context),null;case 22:case 23:return Dp(),null;case 24:return null;default:return null}}var Zl=!1,Rt=!1,f2=typeof WeakSet=="function"?WeakSet:Set,z=null;function To(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){je(e,t,r)}else n.current=null}function qw(e,t,n){try{n()}catch(r){je(e,t,r)}}var ex=!1;function d2(e,t){if(Ph=mc,e=Kx(),hp(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||_;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var s=0,a=-1,l=-1,c=0,u=0,f=e,d=null;t:for(;;){for(var p;f!==n||i!==0&&f.nodeType!==3||(a=s+i),f!==o||r!==0&&f.nodeType!==3||(l=s+r),f.nodeType===3&&(s+=f.nodeValue.length),(p=f.firstChild)!==null;)d=f,f=p;for(;;){if(f===e)break t;if(d===n&&++c===i&&(a=s),d===o&&++u===r&&(l=s),(p=f.nextSibling)!==null)break;f=d,d=f.parentNode}f=p}n=a===-1||l===-1?null:{start:a,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(Fh={focusedElem:e,selectionRange:n},mc=!1,z=t;z!==null;)if(t=z,e=t.child,(1028&t.subtreeFlags)!==0&&e!==null)e.return=t,z=e;else for(;z!==null;){t=z;try{var g=t.alternate;if(1024&t.flags)switch(t.tag){case 0:case 11:case 15:break;case 1:if(g!==null){var y=g.memoizedProps,b=g.memoizedState,h=t.stateNode,m=h.getSnapshotBeforeUpdate(t.elementType===t.type?y:In(t.type,y),b);h.__reactInternalSnapshotBeforeUpdate=m}break;case 3:var v=t.stateNode.containerInfo;v.nodeType===1?v.textContent="":v.nodeType===9&&v.documentElement&&v.removeChild(v.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(O(163))}}catch(x){je(t,t.return,x)}if(e=t.sibling,e!==null){e.return=t.return,z=e;break}z=t.return}return g=ex,ex=!1,g}function Ys(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,o!==void 0&&qw(t,n,o)}i=i.next}while(i!==r)}}function Hc(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Uh(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function Xw(e){var t=e.alternate;t!==null&&(e.alternate=null,Xw(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Qn],delete t[la],delete t[Oh],delete t[XI],delete t[YI])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Yw(e){return e.tag===5||e.tag===3||e.tag===4}function tx(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Yw(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(2&e.flags||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function Gh(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=yc));else if(r!==4&&(e=e.child,e!==null))for(Gh(e,t,n),e=e.sibling;e!==null;)Gh(e,t,n),e=e.sibling}function qh(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(qh(e,t,n),e=e.sibling;e!==null;)qh(e,t,n),e=e.sibling}var mt=null,On=!1;function $r(e,t,n){for(n=n.child;n!==null;)Kw(e,t,n),n=n.sibling}function Kw(e,t,n){if(Zn&&typeof Zn.onCommitFiberUnmount=="function")try{Zn.onCommitFiberUnmount(Mc,n)}catch{}switch(n.tag){case 5:Rt||To(n,t);case 6:var r=mt,i=On;mt=null,$r(e,t,n),mt=r,On=i,mt!==null&&(On?(e=mt,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):mt.removeChild(n.stateNode));break;case 18:mt!==null&&(On?(e=mt,n=n.stateNode,e.nodeType===8?Qd(e.parentNode,n):e.nodeType===1&&Qd(e,n),ra(e)):Qd(mt,n.stateNode));break;case 4:r=mt,i=On,mt=n.stateNode.containerInfo,On=!0,$r(e,t,n),mt=r,On=i;break;case 0:case 11:case 14:case 15:if(!Rt&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,s=o.destroy;o=o.tag,s!==void 0&&(2&o||4&o)&&qw(n,t,s),i=i.next}while(i!==r)}$r(e,t,n);break;case 1:if(!Rt&&(To(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){je(n,t,a)}$r(e,t,n);break;case 21:$r(e,t,n);break;case 22:1&n.mode?(Rt=(r=Rt)||n.memoizedState!==null,$r(e,t,n),Rt=r):$r(e,t,n);break;default:$r(e,t,n)}}function nx(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new f2),t.forEach(function(r){var i=w2.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function _n(e,t){var n=t.deletions;if(n!==null)for(var r=0;ri&&(i=s),r&=~o}if(r=i,r=qe()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*p2(r/1960))-r,10e?16:e,Gr===null)var r=!1;else{if(e=Gr,Gr=null,Ic=0,6&ve)throw Error(O(331));var i=ve;for(ve|=4,z=e.current;z!==null;){var o=z,s=o.child;if(16&z.flags){var a=o.deletions;if(a!==null){for(var l=0;lqe()-Lp?_i(e,0):Op|=n),Wt(e,t)}function iS(e,t){t===0&&(1&e.mode?(t=Bl,Bl<<=1,!(130023424&Bl)&&(Bl=4194304)):t=1);var n=Lt();e=kr(e,t),e!==null&&(ma(e,t,n),Wt(e,n))}function x2(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),iS(e,n)}function w2(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(O(314))}r!==null&&r.delete(t),iS(e,n)}var oS;oS=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Ht.current)Nt=!0;else{if(!(e.lanes&n)&&!(128&t.flags))return Nt=!1,l2(e,t,n);Nt=(131072&e.flags)!==0}else Nt=!1,Le&&1048576&t.flags&&aw(t,Sc,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;sc(e,t),e=t.pendingProps;var i=Mo(t,Pt.current);Io(t,n),i=Ep(null,t,r,e,i,n);var o=Rp();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,jt(r)?(o=!0,xc(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,wp(t),i.updater=$c,t.stateNode=i,i._reactInternals=t,zh(t,r,e,n),t=Nh(null,t,r,!0,o,n)):(t.tag=0,Le&&o&&pp(t),Ot(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(sc(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=k2(r),e=In(r,e),i){case 0:t=$h(null,t,r,e,n);break e;case 1:t=Qb(null,t,r,e,n);break e;case 11:t=Yb(null,t,r,e,n);break e;case 14:t=Kb(null,t,r,In(r.type,e),n);break e}throw Error(O(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:In(r,i),$h(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:In(r,i),Qb(e,t,r,i,n);case 3:e:{if(Nw(t),e===null)throw Error(O(387));r=t.pendingProps,o=t.memoizedState,i=o.element,fw(e,t),Tc(t,r,null,n);var s=t.memoizedState;if(r=s.element,o.isDehydrated){if(o={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=o,t.memoizedState=o,256&t.flags){i=zo(Error(O(423)),t),t=Zb(e,t,r,n,i);break e}if(r!==i){i=zo(Error(O(424)),t),t=Zb(e,t,r,n,i);break e}for(en=Kr(t.stateNode.containerInfo.firstChild),tn=t,Le=!0,Ln=null,n=mw(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(Do(),r===i){t=Cr(e,t,n);break e}Ot(e,t,r,n)}t=t.child}return t;case 5:return gw(t),e===null&&Dh(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,s=i.children,_h(r,i)?s=null:o!==null&&_h(r,o)&&(t.flags|=32),$w(e,t),Ot(e,t,s,n),t.child;case 6:return e===null&&Dh(t),null;case 13:return Hw(e,t,n);case 4:return Sp(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Ao(t,null,r,n):Ot(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:In(r,i),Yb(e,t,r,i,n);case 7:return Ot(e,t,t.pendingProps,n),t.child;case 8:return Ot(e,t,t.pendingProps.children,n),t.child;case 12:return Ot(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,s=i.value,Re(kc,r._currentValue),r._currentValue=s,o!==null)if(An(o.value,s)){if(o.children===i.children&&!Ht.current){t=Cr(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var a=o.dependencies;if(a!==null){s=o.child;for(var l=a.firstContext;l!==null;){if(l.context===r){if(o.tag===1){l=xr(-1,n&-n),l.tag=2;var c=o.updateQueue;if(c!==null){c=c.shared;var u=c.pending;u===null?l.next=l:(l.next=u.next,u.next=l),c.pending=l}}o.lanes|=n,l=o.alternate,l!==null&&(l.lanes|=n),Ah(o.return,n,t),a.lanes|=n;break}l=l.next}}else if(o.tag===10)s=o.type===t.type?null:o.child;else if(o.tag===18){if(s=o.return,s===null)throw Error(O(341));s.lanes|=n,a=s.alternate,a!==null&&(a.lanes|=n),Ah(s,n,t),s=o.sibling}else s=o.child;if(s!==null)s.return=o;else for(s=o;s!==null;){if(s===t){s=null;break}if(o=s.sibling,o!==null){o.return=s.return,s=o;break}s=s.return}o=s}Ot(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,Io(t,n),i=xn(i),r=r(i),t.flags|=1,Ot(e,t,r,n),t.child;case 14:return r=t.type,i=In(r,t.pendingProps),i=In(r.type,i),Kb(e,t,r,i,n);case 15:return zw(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:In(r,i),sc(e,t),t.tag=1,jt(r)?(e=!0,xc(t)):e=!1,Io(t,n),hw(t,r,i),zh(t,r,i,n),Nh(null,t,r,!0,e,n);case 19:return jw(e,t,n);case 22:return Bw(e,t,n)}throw Error(O(156,t.tag))};function sS(e,t){return Ix(e,t)}function S2(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function yn(e,t,n,r){return new S2(e,t,n,r)}function Vp(e){return e=e.prototype,!(!e||!e.isReactComponent)}function k2(e){if(typeof e=="function")return Vp(e)?1:0;if(e!=null){if(e=e.$$typeof,e===np)return 11;if(e===rp)return 14}return 2}function ei(e,t){var n=e.alternate;return n===null?(n=yn(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function cc(e,t,n,r,i,o){var s=2;if(r=e,typeof e=="function")Vp(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case go:return Ii(n.children,i,o,t);case tp:s=8,i|=8;break;case lh:return e=yn(12,n,t,2|i),e.elementType=lh,e.lanes=o,e;case ch:return e=yn(13,n,t,i),e.elementType=ch,e.lanes=o,e;case uh:return e=yn(19,n,t,i),e.elementType=uh,e.lanes=o,e;case px:return Wc(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case dx:s=10;break e;case hx:s=9;break e;case np:s=11;break e;case rp:s=14;break e;case Nr:s=16,r=null;break e}throw Error(O(130,e==null?e:typeof e,""))}return t=yn(s,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function Ii(e,t,n,r){return e=yn(7,e,r,t),e.lanes=n,e}function Wc(e,t,n,r){return e=yn(22,e,r,t),e.elementType=px,e.lanes=n,e.stateNode={isHidden:!1},e}function oh(e,t,n){return e=yn(6,e,null,t),e.lanes=n,e}function sh(e,t,n){return t=yn(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function C2(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=jd(0),this.expirationTimes=jd(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=jd(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function zp(e,t,n,r,i,o,s,a,l){return e=new C2(e,t,n,a,l),t===1?(t=1,o===!0&&(t|=8)):t=0,o=yn(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},wp(o),e}function T2(e,t,n){var r=3.04045?Math.pow((n+.055)/1.055,2.4):n/12.92}static yToL(n){return n<=t.epsilon?n/t.refY*t.kappa:116*Math.pow(n/t.refY,1/3)-16}static lToY(n){return n<=8?t.refY*n/t.kappa:t.refY*Math.pow((n+16)/116,3)}static rgbChannelToHex(n){let r=Math.round(n*255),i=r%16,o=(r-i)/16|0;return t.hexChars.charAt(o)+t.hexChars.charAt(i)}static hexToRgbChannel(n,r){let i=t.hexChars.indexOf(n.charAt(r)),o=t.hexChars.indexOf(n.charAt(r+1));return(i*16+o)/255}static distanceFromOriginAngle(n,r,i){let o=r/(Math.sin(i)-n*Math.cos(i));return o<0?1/0:o}static distanceFromOrigin(n,r){return Math.abs(r)/Math.sqrt(Math.pow(n,2)+1)}static min6(n,r,i,o,s,a){return Math.min(n,Math.min(r,Math.min(i,Math.min(o,Math.min(s,a)))))}rgbToHex(){this.hex="#",this.hex+=t.rgbChannelToHex(this.rgb_r),this.hex+=t.rgbChannelToHex(this.rgb_g),this.hex+=t.rgbChannelToHex(this.rgb_b)}hexToRgb(){this.hex=this.hex.toLowerCase(),this.rgb_r=t.hexToRgbChannel(this.hex,1),this.rgb_g=t.hexToRgbChannel(this.hex,3),this.rgb_b=t.hexToRgbChannel(this.hex,5)}xyzToRgb(){this.rgb_r=t.fromLinear(t.m_r0*this.xyz_x+t.m_r1*this.xyz_y+t.m_r2*this.xyz_z),this.rgb_g=t.fromLinear(t.m_g0*this.xyz_x+t.m_g1*this.xyz_y+t.m_g2*this.xyz_z),this.rgb_b=t.fromLinear(t.m_b0*this.xyz_x+t.m_b1*this.xyz_y+t.m_b2*this.xyz_z)}rgbToXyz(){let n=t.toLinear(this.rgb_r),r=t.toLinear(this.rgb_g),i=t.toLinear(this.rgb_b);this.xyz_x=.41239079926595*n+.35758433938387*r+.18048078840183*i,this.xyz_y=.21263900587151*n+.71516867876775*r+.072192315360733*i,this.xyz_z=.019330818715591*n+.11919477979462*r+.95053215224966*i}xyzToLuv(){let n=this.xyz_x+15*this.xyz_y+3*this.xyz_z,r=4*this.xyz_x,i=9*this.xyz_y;n!==0?(r/=n,i/=n):(r=NaN,i=NaN),this.luv_l=t.yToL(this.xyz_y),this.luv_l===0?(this.luv_u=0,this.luv_v=0):(this.luv_u=13*this.luv_l*(r-t.refU),this.luv_v=13*this.luv_l*(i-t.refV))}luvToXyz(){if(this.luv_l===0){this.xyz_x=0,this.xyz_y=0,this.xyz_z=0;return}let n=this.luv_u/(13*this.luv_l)+t.refU,r=this.luv_v/(13*this.luv_l)+t.refV;this.xyz_y=t.lToY(this.luv_l),this.xyz_x=0-9*this.xyz_y*n/((n-4)*r-n*r),this.xyz_z=(9*this.xyz_y-15*r*this.xyz_y-r*this.xyz_x)/(3*r)}luvToLch(){if(this.lch_l=this.luv_l,this.lch_c=Math.sqrt(this.luv_u*this.luv_u+this.luv_v*this.luv_v),this.lch_c<1e-8)this.lch_h=0;else{let n=Math.atan2(this.luv_v,this.luv_u);this.lch_h=n*180/Math.PI,this.lch_h<0&&(this.lch_h=360+this.lch_h)}}lchToLuv(){let n=this.lch_h/180*Math.PI;this.luv_l=this.lch_l,this.luv_u=Math.cos(n)*this.lch_c,this.luv_v=Math.sin(n)*this.lch_c}calculateBoundingLines(n){let r=Math.pow(n+16,3)/1560896,i=r>t.epsilon?r:n/t.kappa,o=i*(284517*t.m_r0-94839*t.m_r2),s=i*(838422*t.m_r2+769860*t.m_r1+731718*t.m_r0),a=i*(632260*t.m_r2-126452*t.m_r1),l=i*(284517*t.m_g0-94839*t.m_g2),c=i*(838422*t.m_g2+769860*t.m_g1+731718*t.m_g0),u=i*(632260*t.m_g2-126452*t.m_g1),f=i*(284517*t.m_b0-94839*t.m_b2),d=i*(838422*t.m_b2+769860*t.m_b1+731718*t.m_b0),p=i*(632260*t.m_b2-126452*t.m_b1);this.r0s=o/a,this.r0i=s*n/a,this.r1s=o/(a+126452),this.r1i=(s-769860)*n/(a+126452),this.g0s=l/u,this.g0i=c*n/u,this.g1s=l/(u+126452),this.g1i=(c-769860)*n/(u+126452),this.b0s=f/p,this.b0i=d*n/p,this.b1s=f/(p+126452),this.b1i=(d-769860)*n/(p+126452)}calcMaxChromaHpluv(){let n=t.distanceFromOrigin(this.r0s,this.r0i),r=t.distanceFromOrigin(this.r1s,this.r1i),i=t.distanceFromOrigin(this.g0s,this.g0i),o=t.distanceFromOrigin(this.g1s,this.g1i),s=t.distanceFromOrigin(this.b0s,this.b0i),a=t.distanceFromOrigin(this.b1s,this.b1i);return t.min6(n,r,i,o,s,a)}calcMaxChromaHsluv(n){let r=n/360*Math.PI*2,i=t.distanceFromOriginAngle(this.r0s,this.r0i,r),o=t.distanceFromOriginAngle(this.r1s,this.r1i,r),s=t.distanceFromOriginAngle(this.g0s,this.g0i,r),a=t.distanceFromOriginAngle(this.g1s,this.g1i,r),l=t.distanceFromOriginAngle(this.b0s,this.b0i,r),c=t.distanceFromOriginAngle(this.b1s,this.b1i,r);return t.min6(i,o,s,a,l,c)}hsluvToLch(){if(this.hsluv_l>99.9999999)this.lch_l=100,this.lch_c=0;else if(this.hsluv_l<1e-8)this.lch_l=0,this.lch_c=0;else{this.lch_l=this.hsluv_l,this.calculateBoundingLines(this.hsluv_l);let n=this.calcMaxChromaHsluv(this.hsluv_h);this.lch_c=n/100*this.hsluv_s}this.lch_h=this.hsluv_h}lchToHsluv(){if(this.lch_l>99.9999999)this.hsluv_s=0,this.hsluv_l=100;else if(this.lch_l<1e-8)this.hsluv_s=0,this.hsluv_l=0;else{this.calculateBoundingLines(this.lch_l);let n=this.calcMaxChromaHsluv(this.lch_h);this.hsluv_s=this.lch_c/n*100,this.hsluv_l=this.lch_l}this.hsluv_h=this.lch_h}hpluvToLch(){if(this.hpluv_l>99.9999999)this.lch_l=100,this.lch_c=0;else if(this.hpluv_l<1e-8)this.lch_l=0,this.lch_c=0;else{this.lch_l=this.hpluv_l,this.calculateBoundingLines(this.hpluv_l);let n=this.calcMaxChromaHpluv();this.lch_c=n/100*this.hpluv_p}this.lch_h=this.hpluv_h}lchToHpluv(){if(this.lch_l>99.9999999)this.hpluv_p=0,this.hpluv_l=100;else if(this.lch_l<1e-8)this.hpluv_p=0,this.hpluv_l=0;else{this.calculateBoundingLines(this.lch_l);let n=this.calcMaxChromaHpluv();this.hpluv_p=this.lch_c/n*100,this.hpluv_l=this.lch_l}this.hpluv_h=this.lch_h}hsluvToRgb(){this.hsluvToLch(),this.lchToLuv(),this.luvToXyz(),this.xyzToRgb()}hpluvToRgb(){this.hpluvToLch(),this.lchToLuv(),this.luvToXyz(),this.xyzToRgb()}hsluvToHex(){this.hsluvToRgb(),this.rgbToHex()}hpluvToHex(){this.hpluvToRgb(),this.rgbToHex()}rgbToHsluv(){this.rgbToXyz(),this.xyzToLuv(),this.luvToLch(),this.lchToHpluv(),this.lchToHsluv()}rgbToHpluv(){this.rgbToXyz(),this.xyzToLuv(),this.luvToLch(),this.lchToHpluv(),this.lchToHpluv()}hexToHsluv(){this.hexToRgb(),this.rgbToHsluv()}hexToHpluv(){this.hexToRgb(),this.rgbToHpluv()}};e.Hsluv=t,t.hexChars="0123456789abcdef",t.refY=1,t.refU=.19783000664283,t.refV=.46831999493879,t.kappa=903.2962962,t.epsilon=.0088564516,t.m_r0=3.240969941904521,t.m_r1=-1.537383177570093,t.m_r2=-.498610760293,t.m_g0=-.96924363628087,t.m_g1=1.87596750150772,t.m_g2=.041555057407175,t.m_b0=.055630079696993,t.m_b1=-.20397695888897,t.m_b2=1.056971514242878}}),W2=hn({"../../../node_modules/eventemitter3/index.js"(e,t){"use strict";var n=Object.prototype.hasOwnProperty,r="~";function i(){}Object.create&&(i.prototype=Object.create(null),new i().__proto__||(r=!1));function o(c,u,f){this.fn=c,this.context=u,this.once=f||!1}function s(c,u,f,d,p){if(typeof f!="function")throw new TypeError("The listener must be a function");var g=new o(f,d||c,p),y=r?r+u:u;return c._events[y]?c._events[y].fn?c._events[y]=[c._events[y],g]:c._events[y].push(g):(c._events[y]=g,c._eventsCount++),c}function a(c,u){--c._eventsCount===0?c._events=new i:delete c._events[u]}function l(){this._events=new i,this._eventsCount=0}l.prototype.eventNames=function(){var u=[],f,d;if(this._eventsCount===0)return u;for(d in f=this._events)n.call(f,d)&&u.push(r?d.slice(1):d);return Object.getOwnPropertySymbols?u.concat(Object.getOwnPropertySymbols(f)):u},l.prototype.listeners=function(u){var f=r?r+u:u,d=this._events[f];if(!d)return[];if(d.fn)return[d.fn];for(var p=0,g=d.length,y=new Array(g);p1)for(var v=1;v0})},o=function(){return r.some(function(P){return P.skippedTargets.length>0})},s="ResizeObserver loop completed with undelivered notifications.",a=function(){var P;typeof ErrorEvent=="function"?P=new ErrorEvent("error",{message:s}):(P=document.createEvent("Event"),P.initEvent("error",!1,!1),P.message=s),_.dispatchEvent(P)},l;(function(P){P.BORDER_BOX="border-box",P.CONTENT_BOX="content-box",P.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(l||(l={}));var c=function(P){return Object.freeze(P)},u=function(){function P(F,L){this.inlineSize=F,this.blockSize=L,c(this)}return P}(),f=function(){function P(F,L,N,me){return this.x=F,this.y=L,this.width=N,this.height=me,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,c(this)}return P.prototype.toJSON=function(){var F=this,L=F.x,N=F.y,me=F.top,_t=F.right,dt=F.bottom,Ue=F.left,sr=F.width,Xt=F.height;return{x:L,y:N,top:me,right:_t,bottom:dt,left:Ue,width:sr,height:Xt}},P.fromRect=function(F){return new P(F.x,F.y,F.width,F.height)},P}(),d=function(P){return P instanceof SVGElement&&"getBBox"in P},p=function(P){if(d(P)){var F=P.getBBox(),L=F.width,N=F.height;return!L&&!N}var me=P,_t=me.offsetWidth,dt=me.offsetHeight;return!(_t||dt||P.getClientRects().length)},g=function(P){var F,L;if(P instanceof Element)return!0;var N=(L=(F=P)===null||F===void 0?void 0:F.ownerDocument)===null||L===void 0?void 0:L.defaultView;return!!(N&&P instanceof N.Element)},y=function(P){switch(P.tagName){case"INPUT":if(P.type!=="image")break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1},b=typeof _<"u"?_:{},h=new WeakMap,m=/auto|scroll/,v=/^tb|vertical/,x=/msie|trident/i.test(b.navigator&&b.navigator.userAgent),T=function(P){return parseFloat(P||"0")},S=function(P,F,L){return P===void 0&&(P=0),F===void 0&&(F=0),L===void 0&&(L=!1),new u((L?F:P)||0,(L?P:F)||0)},E=c({devicePixelContentBoxSize:S(),borderBoxSize:S(),contentBoxSize:S(),contentRect:new f(0,0,0,0)}),R=function(P,F){if(F===void 0&&(F=!1),h.has(P)&&!F)return h.get(P);if(p(P))return h.set(P,E),E;var L=getComputedStyle(P),N=d(P)&&P.ownerSVGElement&&P.getBBox(),me=!x&&L.boxSizing==="border-box",_t=v.test(L.writingMode||""),dt=!N&&m.test(L.overflowY||""),Ue=!N&&m.test(L.overflowX||""),sr=N?0:T(L.paddingTop),Xt=N?0:T(L.paddingRight),di=N?0:T(L.paddingBottom),Ki=N?0:T(L.paddingLeft),HC=N?0:T(L.borderTopWidth),jC=N?0:T(L.borderRightWidth),WC=N?0:T(L.borderBottomWidth),UC=N?0:T(L.borderLeftWidth),ag=Ki+Xt,lg=sr+di,Qu=UC+jC,Zu=HC+WC,cg=Ue?P.offsetHeight-Zu-P.clientHeight:0,ug=dt?P.offsetWidth-Qu-P.clientWidth:0,GC=me?ag+Qu:0,qC=me?lg+Zu:0,Ya=N?N.width:T(L.width)-GC-ug,Ka=N?N.height:T(L.height)-qC-cg,XC=Ya+ag+ug+Qu,YC=Ka+lg+cg+Zu,fg=c({devicePixelContentBoxSize:S(Math.round(Ya*devicePixelRatio),Math.round(Ka*devicePixelRatio),_t),borderBoxSize:S(XC,YC,_t),contentBoxSize:S(Ya,Ka,_t),contentRect:new f(Ki,sr,Ya,Ka)});return h.set(P,fg),fg},M=function(P,F,L){var N=R(P,L),me=N.borderBoxSize,_t=N.contentBoxSize,dt=N.devicePixelContentBoxSize;switch(F){case l.DEVICE_PIXEL_CONTENT_BOX:return dt;case l.BORDER_BOX:return me;default:return _t}},I=function(){function P(F){var L=R(F);this.target=F,this.contentRect=L.contentRect,this.borderBoxSize=c([L.borderBoxSize]),this.contentBoxSize=c([L.contentBoxSize]),this.devicePixelContentBoxSize=c([L.devicePixelContentBoxSize])}return P}(),Q=function(P){if(p(P))return 1/0;for(var F=0,L=P.parentNode;L;)F+=1,L=L.parentNode;return F},B=function(){var P=1/0,F=[];r.forEach(function(dt){if(dt.activeTargets.length!==0){var Ue=[];dt.activeTargets.forEach(function(Xt){var di=new I(Xt.target),Ki=Q(Xt.target);Ue.push(di),Xt.lastReportedSize=M(Xt.target,Xt.observedBox),KiP?L.activeTargets.push(me):L.skippedTargets.push(me))})})},ie=function(){var P=0;for(fe(P);i();)P=B(),fe(P);return o()&&a(),P>0},q,W=[],ee=function(){return W.splice(0).forEach(function(P){return P()})},te=function(P){if(!q){var F=0,L=document.createTextNode(""),N={characterData:!0};new MutationObserver(function(){return ee()}).observe(L,N),q=function(){L.textContent=""+(F?F--:F++)}}W.push(P),q()},de=function(P){te(function(){requestAnimationFrame(P)})},U=0,ge=function(){return!!U},ae=250,he={attributes:!0,characterData:!0,childList:!0,subtree:!0},J=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],ut=function(P){return P===void 0&&(P=0),Date.now()+P},Me=!1,ft=function(){function P(){var F=this;this.stopped=!0,this.listener=function(){return F.schedule()}}return P.prototype.run=function(F){var L=this;if(F===void 0&&(F=ae),!Me){Me=!0;var N=ut(F);de(function(){var me=!1;try{me=ie()}finally{if(Me=!1,F=N-ut(),!ge())return;me?L.run(1e3):F>0?L.run(F):L.start()}})}},P.prototype.schedule=function(){this.stop(),this.run()},P.prototype.observe=function(){var F=this,L=function(){return F.observer&&F.observer.observe(document.body,he)};document.body?L():b.addEventListener("DOMContentLoaded",L)},P.prototype.start=function(){var F=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),J.forEach(function(L){return b.addEventListener(L,F.listener,!0)}))},P.prototype.stop=function(){var F=this;this.stopped||(this.observer&&this.observer.disconnect(),J.forEach(function(L){return b.removeEventListener(L,F.listener,!0)}),this.stopped=!0)},P}(),we=new ft,qt=function(P){!U&&P>0&&we.start(),U+=P,!U&&we.stop()},En=function(P){return!d(P)&&!y(P)&&getComputedStyle(P).display==="inline"},Rn=function(){function P(F,L){this.target=F,this.observedBox=L||l.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return P.prototype.isActive=function(){var F=M(this.target,this.observedBox,!0);return En(this.target)&&(this.lastReportedSize=F),this.lastReportedSize.inlineSize!==F.inlineSize||this.lastReportedSize.blockSize!==F.blockSize},P}(),pe=function(){function P(F,L){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=F,this.callback=L}return P}(),Hn=new WeakMap,rt=function(P,F){for(var L=0;L=0&&(_t&&r.splice(r.indexOf(N),1),N.observationTargets.splice(me,1),qt(-1))},P.disconnect=function(F){var L=this,N=Hn.get(F);N.observationTargets.slice().forEach(function(me){return L.unobserve(F,me.target)}),N.activeTargets.splice(0,N.activeTargets.length)},P}(),Xa=function(){function P(F){if(arguments.length===0)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if(typeof F!="function")throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");un.connect(this,F)}return P.prototype.observe=function(F,L){if(arguments.length===0)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!g(F))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");un.observe(this,F,L)},P.prototype.unobserve=function(F){if(arguments.length===0)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!g(F))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");un.unobserve(this,F)},P.prototype.disconnect=function(){un.disconnect(this)},P.toString=function(){return"function ResizeObserver () { [polyfill code] }"},P}();n.ResizeObserver=Xa,n.ResizeObserverEntry=I,n.ResizeObserverSize=u,Object.defineProperty(n,"__esModule",{value:!0})})}}),U2=hn({"../../../node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.production.min.js"(e){"use strict";var t=typeof Symbol=="function"&&Symbol.for,n=t?Symbol.for("react.element"):60103,r=t?Symbol.for("react.portal"):60106,i=t?Symbol.for("react.fragment"):60107,o=t?Symbol.for("react.strict_mode"):60108,s=t?Symbol.for("react.profiler"):60114,a=t?Symbol.for("react.provider"):60109,l=t?Symbol.for("react.context"):60110,c=t?Symbol.for("react.async_mode"):60111,u=t?Symbol.for("react.concurrent_mode"):60111,f=t?Symbol.for("react.forward_ref"):60112,d=t?Symbol.for("react.suspense"):60113,p=t?Symbol.for("react.suspense_list"):60120,g=t?Symbol.for("react.memo"):60115,y=t?Symbol.for("react.lazy"):60116,b=t?Symbol.for("react.block"):60121,h=t?Symbol.for("react.fundamental"):60117,m=t?Symbol.for("react.responder"):60118,v=t?Symbol.for("react.scope"):60119;function x(S){if(typeof S=="object"&&S!==null){var E=S.$$typeof;switch(E){case n:switch(S=S.type,S){case c:case u:case i:case s:case o:case d:return S;default:switch(S=S&&S.$$typeof,S){case l:case f:case y:case g:case a:return S;default:return E}}case r:return E}}}function T(S){return x(S)===u}e.AsyncMode=c,e.ConcurrentMode=u,e.ContextConsumer=l,e.ContextProvider=a,e.Element=n,e.ForwardRef=f,e.Fragment=i,e.Lazy=y,e.Memo=g,e.Portal=r,e.Profiler=s,e.StrictMode=o,e.Suspense=d,e.isAsyncMode=function(S){return T(S)||x(S)===c},e.isConcurrentMode=T,e.isContextConsumer=function(S){return x(S)===l},e.isContextProvider=function(S){return x(S)===a},e.isElement=function(S){return typeof S=="object"&&S!==null&&S.$$typeof===n},e.isForwardRef=function(S){return x(S)===f},e.isFragment=function(S){return x(S)===i},e.isLazy=function(S){return x(S)===y},e.isMemo=function(S){return x(S)===g},e.isPortal=function(S){return x(S)===r},e.isProfiler=function(S){return x(S)===s},e.isStrictMode=function(S){return x(S)===o},e.isSuspense=function(S){return x(S)===d},e.isValidElementType=function(S){return typeof S=="string"||typeof S=="function"||S===i||S===u||S===s||S===o||S===d||S===p||typeof S=="object"&&S!==null&&(S.$$typeof===y||S.$$typeof===g||S.$$typeof===a||S.$$typeof===l||S.$$typeof===f||S.$$typeof===h||S.$$typeof===m||S.$$typeof===v||S.$$typeof===b)},e.typeOf=x}}),G2=hn({"../../../node_modules/hoist-non-react-statics/node_modules/react-is/index.js"(e,t){"use strict";t.exports=U2()}}),zu=hn({"../../../node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js"(e,t){"use strict";var n=G2(),r={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},a={};a[n.ForwardRef]=o,a[n.Memo]=s;function l(b){return n.isMemo(b)?s:a[b.$$typeof]||r}var c=Object.defineProperty,u=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,g=Object.prototype;function y(b,h,m){if(typeof h!="string"){if(g){var v=p(h);v&&v!==g&&y(b,v,m)}var x=u(h);f&&(x=x.concat(f(h)));for(var T=l(b),S=l(h),E=0;EparseInt(h[1],10)}else u=!1;return u}function g(){return d===null&&(d=!!document.fonts),d}function y(){if(f===null){var h=document.createElement("div");try{h.style.font="condensed 100px sans-serif"}catch{}f=h.style.font!==""}return f}function b(h,m){return[h.style,h.weight,y()?h.stretch:"","100px",m].join(" ")}l.prototype.load=function(h,m){var v=this,x=h||"BESbswy",T=0,S=m||3e3,E=new Date().getTime();return new Promise(function(R,M){if(g()&&!p()){var I=new Promise(function(B,fe){function ie(){new Date().getTime()-E>=S?fe(Error(""+S+"ms timeout exceeded")):document.fonts.load(b(v,'"'+v.family+'"'),x).then(function(q){1<=q.length?B():setTimeout(ie,25)},fe)}ie()}),Q=new Promise(function(B,fe){T=setTimeout(function(){fe(Error(""+S+"ms timeout exceeded"))},S)});Promise.race([Q,I]).then(function(){clearTimeout(T),R(v)},M)}else r(function(){function B(){var J;(J=ee!=-1&&te!=-1||ee!=-1&&de!=-1||te!=-1&&de!=-1)&&((J=ee!=te&&ee!=de&&te!=de)||(c===null&&(J=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))/.exec(_.navigator.userAgent),c=!!J&&(536>parseInt(J[1],10)||parseInt(J[1],10)===536&&11>=parseInt(J[2],10))),J=c&&(ee==U&&te==U&&de==U||ee==ge&&te==ge&&de==ge||ee==ae&&te==ae&&de==ae)),J=!J),J&&(he.parentNode&&he.parentNode.removeChild(he),clearTimeout(T),R(v))}function fe(){if(new Date().getTime()-E>=S)he.parentNode&&he.parentNode.removeChild(he),M(Error(""+S+"ms timeout exceeded"));else{var J=document.hidden;(J===!0||J===void 0)&&(ee=ie.a.offsetWidth,te=q.a.offsetWidth,de=W.a.offsetWidth,B()),T=setTimeout(fe,50)}}var ie=new i(x),q=new i(x),W=new i(x),ee=-1,te=-1,de=-1,U=-1,ge=-1,ae=-1,he=document.createElement("div");he.dir="ltr",o(ie,b(v,"sans-serif")),o(q,b(v,"serif")),o(W,b(v,"monospace")),he.appendChild(ie.a),he.appendChild(q.a),he.appendChild(W.a),document.body.appendChild(he),U=ie.a.offsetWidth,ge=q.a.offsetWidth,ae=W.a.offsetWidth,fe(),a(ie,function(J){ee=J,B()}),o(ie,b(v,'"'+v.family+'",sans-serif')),a(q,function(J){te=J,B()}),o(q,b(v,'"'+v.family+'",serif')),a(W,function(J){de=J,B()}),o(W,b(v,'"'+v.family+'",monospace'))})})},typeof t=="object"?t.exports=l:(_.FontFaceObserver=l,_.FontFaceObserver.prototype.load=l.prototype.load)})()}});function fm(e,t){let n={style:t};return w.isValidElement(e)?w.cloneElement(e,n):w.createElement(e,n)}var Y2=class extends Error{},ou=class extends Error{},K2=class extends Ee{constructor(e){super(e),this.state={error:void 0,forceUpdateKey:e.forceUpdateKey}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){if(e.forceUpdateKey!==t.forceUpdateKey){let n={forceUpdateKey:e.forceUpdateKey};return t.error&&(n.error=void 0),n}return null}render(){if(this.state.error===void 0)return this.props.children;if(!(this.state.error instanceof Y2)){let n=new ou;throw n.cause=this.state.error,n}let{notFoundPage:e,defaultPageStyle:t}=this.props;if(!e)throw this.state.error;return fm(e,t)}},Q2=":([a-z]\\w*)",qi=new RegExp(Q2,"gi");function V1(e,t){return e.replace(qi,(n,r)=>{let i=t[r];return typeof i!="string"||i.length===0?n:encodeURIComponent(i)})}function z1(e,t){if(!e.startsWith("/")||!t.startsWith("/"))throw new Error("from/to paths are expected to be absolute");let[n]=dS(e),[r,i]=dS(t),o=Z2(n,r);return o===""&&(o="."),!o.startsWith(".")&&!o.startsWith("/")&&(o="./"+o),o+"/"+i}function dS(e){let t=e.lastIndexOf("/");return[e.substring(0,t+1),e.substring(t+1)]}var Hp=46,Uo=47,fi=(e,t)=>e.charCodeAt(t),hS=(e,t)=>e.lastIndexOf(t),qo=(e,t,n)=>e.slice(t,n);function Z2(e,t){if(e===t||(e="/"+mS(e),t="/"+mS(t),e===t))return"";let n=1,r=e.length,i=r-n,o=1,s=t.length-o,a=ia){if(fi(t,o+c)===Uo)return qo(t,o+c+1);if(c===0)return qo(t,o+c)}else i>a&&(fi(e,n+c)===Uo?l=c:c===0&&(l=0));let u="";for(c=n+l+1;c<=r;++c)(c===r||fi(e,c)===Uo)&&(u+=u.length===0?"..":"/..");return`${u}${qo(t,o+l)}`}var J2=!1,Yc="/",pS=e=>e===Uo;function mS(e){let t="",n=0,r=-1,i=0,o=0;for(let s=0;s<=e.length;++s){if(s2){let a=hS(t,Yc);a===-1?(t="",n=0):(t=qo(t,0,a),n=t.length-1-hS(t,Yc)),r=s,i=0;continue}else if(t.length!==0){t="",n=0,r=s,i=0;continue}}J2&&(t+=t.length>0?`${Yc}..`:"..",n=2)}else t.length>0?t+=`${Yc}${qo(e,r+1,s)}`:t=qo(e,r+1,s),n=s-r-1;r=s,i=0}else o===Hp&&i!==-1?++i:i=-1}return t}function B1(e){let t=typeof _<"u"?_.location.search:"";return t?eO(t,e):e}function eO(e,t){let n=t.indexOf("#"),r=n===-1?t:t.substring(0,n),i=n===-1?"":t.substring(n),o=r.indexOf("?");if(o===-1)return r+e+i;let s=new URLSearchParams(e),a=r.substring(o+1),l=new URLSearchParams(a);for(let[c,u]of s)l.has(c)||l.append(c,u);return r.substring(0,o+1)+l.toString()+i}function Ca(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function Ui(e){return typeof e=="string"}var tO="preload";function $1(e){return typeof e=="object"&&e!==null&&!w.isValidElement(e)&&tO in e}function lN(e){let t=w.lazy(e),n,r,i=w.forwardRef(function(s,a){return w.createElement(r??t,a?{ref:a,...s}:s)});return i.preload=()=>(n||(n=e().then(o=>(r=o.default,r))),n),i}function Bu(e,t){if(t&&e)return e.elements&&t in e.elements?e.elements[t]:t}function nO(e){return/bot|-google|google-|yandex|ia_archiver/iu.test(e)}function N1(e){if("scheduler"in _){if("yield"in scheduler)return scheduler.yield(e);if("postTask"in scheduler)return scheduler.postTask(()=>{},e)}return e?.priority==="user-blocking"?Promise.resolve():new Promise(t=>{setTimeout(t)})}async function rO(e,t){return await N1(t),e()}function Ta(e){return new Promise(t=>{setTimeout(t,100),requestAnimationFrame(()=>{rO(t,e)})})}function H1(e,t,n){ot(()=>{(async()=>{await Ta(n),e()})()},t)}var yu=()=>{};async function iO(e,t,n,r,i,o,s){var a,l,c;let u=e,f=!1,d={...o},p=Array.from(u.matchAll(qi)),g=await Promise.all(p.map(async m=>{var v;let x=m?.[0],T=m?.[1];if(!x||!T)throw new Error("Failed to replace path variables: unexpected regex match group");let S=o[T];if(!S||!Ui(S))throw new Error(`No slug found for path variable ${T}`);let E=await((v=s?.[i])===null||v===void 0?void 0:v.call(s));if(!E||!t)return S;let R=await E.getRecordIdBySlug(S,t);if(!R)return S;let M=await E.getSlugByRecordId(R,n);if(!M){f=!0;let I=await E.getSlugByRecordId(R,r);return I&&(d[T]=I),I??S}return d[T]=M,M})),y=0,b="",h=!1;for(let m=0;m`--view-transition-${e}`;function dm(e){return[parseFloat(e),e.endsWith("px")?"px":"%"]}function W1(e){let{innerWidth:t,innerHeight:n}=_,[r,i]=dm(e.x),[o,s]=dm(e.y);return{x:i==="px"?r:t*(r/100),y:s==="px"?o:n*(o/100)}}var fO={makeKeyframe:(e,t,n)=>{let r=0;return(n==="exit"&&e.angularDirection==="clockwise"&&t==="start"||n==="exit"&&e.angularDirection==="counter-clockwise"&&t==="end"||n==="enter"&&e.angularDirection==="counter-clockwise"&&t==="start"||n==="enter"&&e.angularDirection==="clockwise"&&t==="end")&&(r=e.sweepAngle/360*100),`${_r("conic-offset")}: ${r}%;`},makeStyles:(e,t)=>{let n=`var(${_r("conic-offset")})`,r=t==="exit"&&e.angularDirection==="clockwise"||t==="enter"&&e.angularDirection==="counter-clockwise",i=r?"transparent":"black",o=r?"black":"transparent",s="conic-gradient(from ";return s+=`${e.angle}deg at ${e.x} ${e.y}, `,s+=`${i} 0%, ${i} ${n}, `,s+=`${o} ${n}, ${o} 100%)`,`mask-image: ${s}; -webkit-mask-image: ${s};`},makePropertyRules:()=>` @property ${_r("conic-offset")} { syntax: ''; initial-value: 0%; inherits: false; } `},dO={makeKeyframe:(e,t)=>{let{x:n,y:r}=W1(e);return t==="start"?`clip-path: circle(0 at ${n}px ${r}px);`:`clip-path: circle(${Math.hypot(Math.max(n,_.innerWidth-n),Math.max(r,_.innerHeight-r))}px at ${n}px ${r}px);`}},hO={makeKeyframe:(e,t)=>{let{x:n,y:r}=W1(e),i=_.innerHeight-r,o=_.innerWidth-n;return t==="start"?`clip-path: inset(${r}px ${o}px ${i}px ${n}px round ${e.round}px);`:"clip-path: inset(0 round 0);"}},pO={makeKeyframe:(e,t,n)=>{let[,r]=dm(e.width),i=`0${r}`;return(t==="start"&&n==="exit"||t==="end"&&n==="enter")&&(i=e.width),`${_r("blinds-width")}: ${i};`},makeStyles:(e,t)=>{let n=`var(${_r("blinds-width")})`,r=t==="exit"?"transparent":"black",i=t==="exit"?"black":"transparent",o="repeating-linear-gradient(";return o+=e.angle+90+"deg, ",o+=`${r} 0px, ${r} ${n}, `,o+=`${i} ${n}, ${i} ${e.width})`,`mask-image: ${o}; -webkit-mask-image: ${o};`},makePropertyRules:()=>` @property ${_r("blinds-width")} { syntax: ''; initial-value: 0px; inherits: false; } `},mO={makeKeyframe:(e,t,n)=>{let r=t==="start"&&n==="exit"||t==="end"&&n==="enter"?1:0;return`${_r("wipe-offset")}: ${r};`},makeStyles:(e,t)=>{let n=`var(${_r("wipe-offset")})`,r=t==="exit"?"transparent":"black",i=t==="exit"?"black":"transparent",o="linear-gradient(";return o+=e.angle+90+"deg, ",o+=`${r} calc(calc(0% - ${e.width}) + calc(calc(100% + ${e.width}) * ${n})), `,o+=`${i} calc(calc(100% + ${e.width}) * ${n}))`,`mask-image: ${o}; -webkit-mask-image: ${o};`},makePropertyRules:()=>` @property ${_r("wipe-offset")} { syntax: ''; initial-value: 0; inherits: false; } `},gO={circle:dO,conic:fO,inset:hO,blinds:pO,wipe:mO},vO={opacity:1,x:"0px",y:"0px",scale:1,rotate:0,rotateX:0,rotateY:0,mask:void 0};function gS(e,t,n,r){var i;let o=` opacity: ${e.opacity}; transform: translate(${e.x}, ${e.y}) scale(${e.scale}) rotateX(${e.rotateX}deg) rotateY(${e.rotateY}deg) rotateZ(${e.rotate}deg); `;return e.mask&&(o+=((i=r?.makeKeyframe)===null||i===void 0?void 0:i.call(r,e.mask,t,n))||""),o}function yO(e){return e?gO[e]:void 0}function vS(e,{transition:t,...n}){var r;let i="view-transition-"+e,o={duration:"0s",easing:"linear"};if(t.type==="tween")o.duration=t.duration+"s",o.easing=`cubic-bezier(${t.ease.join(",")})`;else if(bO(t)){let{easing:c,duration:u}=uO(Ts({keyframes:[0,1],...xO(t),restDelta:.001,restSpeed:1e-4}));o.duration=u+"ms",o.easing=c}let s=yO((r=n?.mask)===null||r===void 0?void 0:r.type),a=gS(n,"start",e,s),l=gS({...vO,mask:n.mask},"end",e,s);return e==="exit"&&([a,l]=[l,a]),` ${n.mask&&s?.makePropertyRules?s.makePropertyRules(n.mask):""} @keyframes ${i} { 0% { ${a} } 100% { ${l} } } ::view-transition-${e==="enter"?"new":"old"}(root) { animation-name: ${i}; animation-duration: ${o.duration}; animation-delay: ${t.delay}s; animation-timing-function: ${o.easing}; animation-fill-mode: both; ${n.mask&&s?.makeStyles?s.makeStyles(n.mask,e):""} } `}function bO(e){return e.type==="spring"}function xO(e){return e.durationBasedSpring?{duration:e.duration,bounce:e.bounce}:{stiffness:e.stiffness,damping:e.damping,mass:e.mass}}var U1="view-transition-styles",wO={x:"0px",y:"0px",scale:1,opacity:1,rotate3d:!1,rotate:0,rotateX:0,rotateY:0,mask:void 0,transition:{type:"tween",delay:0,duration:.2,ease:[.27,0,.51,1],stiffness:400,damping:30,mass:1}};function SO({exit:e=wO,enter:t}){let n=document.createElement("style");n.id=U1;let r=` @media (prefers-reduced-motion) { ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; } } `;(e.mask||t.mask||e.opacity||t.opacity||e.transition.delay||t.transition.delay)&&(r+=` ::view-transition-old(*), ::view-transition-new(*) { mix-blend-mode: normal; } `),r+=` ::view-transition-old(*), ::view-transition-new(*) { backface-visibility: hidden; } `,r+=vS("exit",e),r+=vS("enter",t),n.textContent=r,document.head.appendChild(n)}var kO=(()=>typeof _<"u"?_.requestIdleCallback||_.setTimeout:setTimeout)();function CO(){kO(()=>{Z.render(()=>{performance.mark("framer-vt-remove");let e=document.getElementById(U1);e&&document.head.removeChild(e)})})}var yS=()=>{};function TO(){return!!document.startViewTransition}function EO(e){return new Promise(t=>{Z.render(()=>{performance.mark("framer-vt-style"),SO(e),t()})})}async function bS(e,t,n){if(!TO()){e();return}if(await EO(t),n?.aborted)return;performance.mark("framer-vt");let r=document.startViewTransition(async()=>{performance.mark("framer-vt-freeze"),!n?.aborted&&(n?.addEventListener("abort",()=>r.skipTransition()),await e())});return r.updateCallbackDone.then(()=>{performance.mark("framer-vt-unfreeze")}).catch(yS),Promise.all([r.ready,r.finished]).then(()=>{performance.mark("framer-vt-finished"),CO()}).catch(yS),r}function G1(){let e=lO(),t=A(void 0);return $(()=>{t.current&&(t.current(),t.current=void 0)}),oe((n,r,i,o,s)=>{let a=sO(n,r,e);if(a){let l=new Promise(f=>{t.current=f}),c=async()=>{i(),await l},u=async()=>(await Ta({priority:"user-blocking",signal:s}).catch(yu),bS(c,a,s));return o?u():bS(c,a)}else return i()},[e])}function q1(e){let t=`${e}-start`,n=`${e}-end`,r=A(void 0);return H1(()=>{r.current&&(r.current(),r.current=void 0)},void 0,{priority:"user-blocking"}),oe(()=>{let i=new Promise(o=>{r.current=o});return performance.mark(t),i.finally(()=>{performance.mark(n),performance.measure(e,t,n)}).catch(o=>{console.error(o)})},[e,t,n])}async function xS(e,t,{currentRoutePath:n,currentPathVariables:r,hash:i,pathVariables:o,localeId:s,preserveQueryParams:a},l=!1,c=!1){let{path:u}=t;if(u)try{let f=_m(t,{currentRoutePath:n,currentPathVariables:r,hash:i,pathVariables:o,preserveQueryParams:a}),d=X1({routeId:e,hash:i,pathVariables:o,localeId:s},f,l,c);l||await d}catch{}}function RO(e){let t="routeId";return Ca(e)&&Ui(e[t])}function PO(e,t,n=!1){performance.mark("framer-history-replace"),(n?_.history.__proto__.replaceState:_.history.replaceState).call(_.history,e,"",t)}var Kc=!0,wS=(()=>{if(typeof Fe>"u")return!1;let e=Fe.userAgent,t=e.indexOf("Chrome/"),n=+e.slice(t+7,e.indexOf(".",t));return n>101&&n<128})();async function X1(e,t,n=!1,r=!1){if(n&&await Ta({priority:"user-blocking"}),performance.mark("framer-history-push"),!r){_.history.pushState(e,"",t);return}let i=!1,o;Kc&&(o=()=>{var s;if(i=!0,wS)return;let a="Popstate called after intercept(). Please report this to the Framer team.";console.error(a),(s=_.__framer_events)===null||s===void 0||s.push(["published_site_load_recoverable_error",{message:a,userAgent:Fe.userAgent}])},_.addEventListener("popstate",o,{once:!0})),wS&&Kc?_.history.__proto__.pushState.call(_.history,e,"",t):_.history.pushState(e,"",t),Kc&&queueMicrotask(()=>{i||(Kc=!1,_.removeEventListener("popstate",o))})}function FO({disabled:e,routeId:t,initialPathVariables:n,initialLocaleId:r}){ot(()=>{e||(performance.mark("framer-history-set-initial-state"),PO({routeId:t,pathVariables:n,localeId:r},void 0,!0))},[])}function _O(e,t){let n=G1(),r=q1("framer-route-change-popstate"),i=A(void 0),o=oe(async({state:a})=>{var l,c,u,f,d,p;if(!((l=_.navigation)===null||l===void 0)&&l.transition&&((u=(c=_.navigation)===null||c===void 0?void 0:c.transition)===null||u===void 0?void 0:u.navigationType)!=="traverse"||!Ca(a))return;let{routeId:g,hash:y,pathVariables:b,localeId:h}=a;if(!Ui(g))return;r();let m=()=>{t(g,Ui(h)?h:void 0,Ui(y)?y:void 0,Ca(b)?b:void 0,!1,!0)},v=await n(e.current,g,m,!1);v?v.updateCallbackDone.then((f=i.current)===null||f===void 0?void 0:f.resolve).catch((d=i.current)===null||d===void 0?void 0:d.reject):(p=i.current)===null||p===void 0||p.resolve()},[e,r,t,n]),s=oe(a=>{a.navigationType==="traverse"&&a.intercept({async handler(){await new Promise((l,c)=>{i.current={resolve:l,reject:c}})},scroll:"after-transition"})},[]);$(()=>{var a;return _.addEventListener("popstate",o),(a=_.navigation)===null||a===void 0||a.addEventListener("navigate",s),()=>{var l;_.removeEventListener("popstate",o),(l=_.navigation)===null||l===void 0||l.removeEventListener("navigate",s)}},[o,s])}function IO(e,t,n){let r=Bu(t,e);if(!r)return;let i=Object.assign({},t?.elements,n);return r.replace(qi,(o,s)=>{var a;return String((a=i[s])!==null&&a!==void 0?a:o)})}function _m(e,{currentRoutePath:t,currentPathVariables:n,hash:r,pathVariables:i,hashVariables:o,relative:s=!0,preserveQueryParams:a}){var l;let c=t??"/";n&&(c=c.replace(qi,(g,y)=>String(n[y]||g)));let f=(l=e?.path)!==null&&l!==void 0?l:"/";i&&(f=f.replace(qi,(g,y)=>String(i[y]||g)));let d=IO(r,e,o),p=c===f&&d;return s&&(f=z1(c,f)),(a||p)&&(f=B1(f)),d&&(f=`${f}#${d}`),f}async function OO(e,t,n){if(!e.path||!t)return!1;let i=`${n.slug?`/${n.slug}`:""}${V1(e.path,t)}`;return(await fetch(i,{method:"HEAD",redirect:"manual"})).type==="opaqueredirect"?(_.location.href=_.location.origin+i,!0):!1}async function LO(e){let t=await oO(e);if(t){try{localStorage.setItem("preferredLocale",e.nextLocale.code)}catch{}try{if(!Ui(t.path))throw new Error("Expected result.path to be a string");if(t.isMissingInLocale&&await OO(e.route,t.pathVariables,e.nextLocale))return}catch{}return t}}function MO(){let e=A(Promise.resolve()),t=A(),n=oe(r=>{if(r.navigationType==="traverse")return;let i=t.current;i?.signal.addEventListener("abort",()=>{i.abort("user aborted")}),r.intercept({handler:()=>e.current})},[]);return oe((r,i,o)=>{if(!_.navigation){i();return}e.current=r,t.current=o,_.navigation.addEventListener("navigate",n),i(!0),r.catch(yu).finally(()=>{_.navigation.removeEventListener("navigate",n)})},[n])}function Rr(e,t,n){try{performance.measure(e,t,n)}catch(r){console.warn(`Could not measure ${e}`,r)}}var zn=!1;function mN(){zn=!0,performance.mark("framer-hydration-start")}var SS=!1,kS=!1,CS=!1;function DO(){let e="framer-hydration-router";it(()=>{SS||!zn||(SS=!0,performance.mark(`${e}-insertion-effect`))},[]),ot(()=>{kS||!zn||(kS=!0,performance.mark(`${e}-layout-effect`))},[]),$(()=>{CS||!zn||(CS=!0,performance.mark(`${e}-effect`))},[])}var TS=!1,ES=!1,RS=!1;function AO(){let e="framer-hydration-",t=`${e}layout-effects-end`,n=`${e}effects-end`,r=`${e}browser-render-start`,i=`${e}render-end`;return it(()=>{TS||!zn||(TS=!0,performance.mark(i),Rr(`${e}render`,`${e}start`,i),performance.mark(`${e}insertion-effects-start`))},[]),ot(()=>{ES||!zn||(ES=!0,performance.mark(`${e}layout-effects-start`),requestAnimationFrame(()=>{var o,s,a;performance.mark(r),Rr(`${e}uho`,(s=(o=performance.getEntriesByName(n)[0])===null||o===void 0?void 0:o.name)!==null&&s!==void 0?s:(a=performance.getEntriesByName(t)[0])===null||a===void 0?void 0:a.name,r)}))},[]),$(()=>{var o;if(RS||!zn)return;RS=!0;let s=`${e}effects-start`;performance.mark(s),((o=performance.getEntriesByName(r)[0])===null||o===void 0?void 0:o.name)||(Rr(`${e}commit`,t,s),performance.mark(`${e}effects-sync`))},[]),null}var PS=!1,FS=!1,_S=!1,IS=!1;function VO(){let e="framer-hydration-",t=`${e}layout-effects-end`,n=`${e}effects-end`,r=`${e}browser-render-start`,i=`${e}start`,o=`${e}insertion-effects-end`,s=`${e}first-paint`,a=`${e}browser-raf-end`;return it(()=>{PS||!zn||(PS=!0,performance.mark(o),Rr(`${e}insertion-effects`,`${e}insertion-effects-start`,o))},[]),ot(()=>{FS||!zn||(FS=!0,performance.mark(t),Rr(`${e}layout-effects`,`${e}layout-effects-start`,t),requestAnimationFrame(()=>{performance.mark(a),Rr(`${e}raf`,r,a)}))},[]),$(()=>{var l,c,u;_S||!zn||(_S=!0,performance.mark(n),Rr(`${e}effects`,(c=(l=performance.getEntriesByName(s)[0])===null||l===void 0?void 0:l.name)!==null&&c!==void 0?c:(u=performance.getEntriesByName(`${e}effects-start`)[0])===null||u===void 0?void 0:u.name,n))},[]),H1(()=>{IS||!zn||(IS=!0,performance.mark(s),Rr(`${e}time-to-first-paint`,i,s),Rr(`${e}browser-render`,a,s))},[],{priority:"user-blocking"}),null}function zO(){return AO(),null}function BO(){return VO(),null}var OS={Start:zO,End:BO},Sa=["mousedown","mouseup","touchcancel","touchend","touchstart","auxclick","dblclick","pointercancel","pointerdown","pointerup","dragend","dragstart","drop","compositionend","compositionstart","keydown","keypress","keyup","input","textInput","copy","cut","paste","click","change","contextmenu","reset"],Y1=e=>{var t,n;!((n=(t=e.target)===null||t===void 0?void 0:t.closest)===null||n===void 0)&&n.call(t,"#main")&&(e.stopPropagation(),performance.mark("framer-react-event-handling-prevented"))},K1=!1;function vN(){if(!Sa)return;K1=!0,performance.mark("framer-react-event-handling-start");let e={capture:!0};Sa.forEach(t=>document.body.addEventListener(t,Y1,e))}function $O(){return $(()=>{if(!K1||!Sa)return;let e={capture:!0};Sa.forEach(t=>document.body.removeEventListener(t,Y1,e)),Sa=void 0,performance.mark("framer-react-event-handling-end")},[]),null}var Q1=!1;function bN(){Q1=!0}function NO(){Q1=!1}function HO(e,t){if(e.routeId!==t.routeId)return!1;if(e.pathVariables===t.pathVariables)return!0;let n=e.pathVariables||{},r=t.pathVariables||{};return n.length===r.length&&Object.keys(n).every(i=>n[i]===r[i])}function Z1(e){return w.useCallback(t=>e[t],[e])}var Im=(()=>w.createContext({}))();function jO({api:e,children:t}){return k(Im.Provider,{value:e,children:t})}function Ba(){return w.useContext(Im)}function WO({routes:e,children:t}){let n=Z1(e);return k(Im.Provider,{value:{getRoute:n},children:t})}var UO=class extends Ee{constructor(){super(...arguments),this.state={error:void 0}}static getDerivedStateFromError(e){return e instanceof ou||console.error("Derived error in SuspenseErrorBoundary",e),{error:e}}componentDidCatch(e,t){var n;if(e instanceof ou)return;let r=t?.componentStack;if(console.error("Caught error in SuspenseErrorBoundary",e,r),typeof _<"u"){let i=e instanceof Error&&typeof e.stack=="string"?e.stack:null;(n=_.__framer_events)===null||n===void 0||n.push(["published_site_load_recoverable_error",{message:String(e),stack:i,componentStack:i?void 0:r}])}}render(){if(this.state.error===void 0)return this.props.children;if(this.state.error instanceof ou)throw this.state.error.cause;return k(os,{children:this.props.fallbackChildren})}},GO=(()=>typeof _<"u"?new Promise(()=>{}):null)();function qO(){if(typeof _>"u")return null;throw GO}function J1({children:e}){return k(UO,{fallbackChildren:e,children:k(os,{fallback:k(qO,{}),children:e})})}var LS="default";function XO(){let[e,t]=w.useState(0);return[e,w.useCallback(()=>t(n=>n+1),[])]}var YO=async()=>{},KO={activeLocale:null,locales:[],setLocale:YO},ek=w.createContext(KO);function QO(){return w.useContext(ek)}function MS(e,t,n){let r=e&&document.getElementById(e);if(r){tL(r,t);return}n||_.scrollTo(0,0)}function ZO(e){let t=A([]);return ot(()=>{var n;!((n=t.current)===null||n===void 0)&&n.length&&(t.current.forEach(r=>r()),t.current=[])},[e]),oe(n=>{t.current.push(n)},[])}function JO(e){let t=MO(),n=q1("framer-route-change"),r=A(void 0);return oe(async(i,o,s=!0)=>{var a;if(NO(),!e)return await o?.(),i(),n(),new Promise(p=>{p()});(a=r.current)===null||a===void 0||a.abort();let l=s?new AbortController:void 0;r.current=l;let c=l?.signal,u=n();if(!o)return r.current=void 0,i(c),u;i(c),await Ta({priority:"user-visible",signal:c}).catch(yu),await Ta({priority:"user-visible",signal:c}).catch(yu);let f,d=new Promise((p,g)=>{f=p,c?.aborted?g():c?.addEventListener("abort",g)});return t(d,o,l),u.then(()=>{f()})},[e,n,t])}function eL({defaultPageStyle:e,disableHistory:t,initialPathVariables:n,initialRoute:r,notFoundPage:i,collectionUtils:o,routes:s,initialLocaleId:a,locales:l=[],preserveQueryParams:c=!1,enableAsyncURLUpdates:u=!1}){DO(),FO({disabled:t,routeId:r,initialPathVariables:n,initialLocaleId:a});let f=G1(),[d,p]=XO(),g=ZO(d),y=JO(u),b=A(r),h=A(n),m=A(a),v=m.current,x=se(()=>{var W;return(W=l.find(({id:ee})=>v?ee===v:ee===LS))!==null&&W!==void 0?W:null},[v,l]),T=se(()=>({activeLocale:x,locales:l,setLocale:async W=>{let ee;Ui(W)?ee=W:Ca(W)&&(ee=W.id);let te=l.find(({id:ae})=>ae===LS),de=l.find(({id:ae})=>ae===ee);if(!de)return;let U=b.current,ge=s[U];if(ge)try{let ae=await LO({currentLocale:x,nextLocale:de,route:ge,routeId:U,defaultLocale:te,pathVariables:h.current,collectionUtils:o,preserveQueryParams:c});if(!ae)return;let he=h.current,J=RO(_.history.state)?_.history.state.paginationInfo:void 0,ut=ae.path;h.current=ae.pathVariables,m.current=de.id,y(()=>{f(U,U,()=>cr(p),u)},async(ft=!1)=>{if(ut)return X1({routeId:U,pathVariables:he,localeId:de.id,paginationInfo:J},ut,!1,ft)},!1)}catch{}}}),[x,o,u,p,l,c,s,y,f]),S=oe((W,ee,te,de,U=!1,ge=!1,ae)=>{let he=b.current;if(b.current=W,h.current=de,m.current=ee,g(()=>{MS(te,U,ge)}),ge){cr(p);return}y(J=>{f(he,W,()=>cr(p),u,J)},ae)},[u,p,g,y,f]);_O(b,S);let E=oe(async(W,ee,te,de)=>{var U,ge;let ae=s[W];if(te){let we=new Set,qt=(U=ae?.path)!==null&&U!==void 0?U:"/";for(let En of qt.matchAll(qi)){let Rn=En[1];if(Rn===void 0)throw new Error("A matching path variable should not be undefined");we.add(Rn)}te=Object.fromEntries(Object.entries(te).filter(([En])=>we.has(En)))}let he=Bu(ae,ee),J=h.current,ut=m.current;if(HO({routeId:b.current,pathVariables:J},{routeId:W,pathVariables:te})){MS(he,de,!1);let we=s[W];if(((ge=_.history.state)===null||ge===void 0?void 0:ge.hash)===ee||t||!we)return;let qt=xS(W,we,{currentRoutePath:we.path,currentPathVariables:J,pathVariables:te,hash:ee,localeId:ut,preserveQueryParams:c},u);return u?void 0:await qt}if(!ae)return;let Me=s[b.current];S(W,ut,he,te,de,!1,t?void 0:async(we=!1)=>xS(W,ae,{currentRoutePath:Me?.path,currentPathVariables:J,hash:ee,pathVariables:te,localeId:ut,preserveQueryParams:c},!1,we))},[s,S,t,c,u]),R=Z1(s),M=b.current,I=h.current,Q=se(()=>({navigate:E,getRoute:R,currentRouteId:M,currentPathVariables:I,routes:s,collectionUtils:o,preserveQueryParams:c}),[E,R,M,I,s,o,c]),B=s[b.current];if(!B)throw new Error(`Router cannot find route for ${b.current}`);let fe=!x||!B.includedLocales||B.includedLocales.includes(x.id),ie=B.path&&I?V1(B.path,I):B.path,q=String(v)+ie;return k(jO,{api:Q,children:k(ek.Provider,{value:T,children:ue(J1,{children:[k(K2,{notFoundPage:i,defaultPageStyle:e,forceUpdateKey:d,children:ue(lr,{children:[k(OS.Start,{}),fe?fm(B.page,e):i&&fm(i,e)]},q)}),k($O,{}),k(OS.End,{})]})})})}function tL(e,t){let n=t?{behavior:"smooth",block:"start",inline:"nearest"}:void 0;e.scrollIntoView(n)}var Qc,Wp,DS;function nL(e){if(DS!==e){Qc={};for(let[t,{path:n}]of Object.entries(e))n&&(Qc[n]={path:n,depth:rL(n),routeId:t});Wp=Object.values(Qc),Wp.sort(({depth:t},{depth:n})=>n-t),DS=e}return[Qc,Wp]}function tk(e,t,n=!0,r=[]){let[i,o]=nL(e),s,a,l=t;if(r.length>0){let d=l.split("/").find(Boolean);if(d&&(s=r.find(({slug:p})=>p===d),s&&(a=s.id,l=l.substring(s.slug.length+1))),!a){let p=r.find(({slug:g})=>g==="");p&&(a=p.id)}}let c=i[l];if(c){let d=AS(l,c.path);if(d.isMatch)return{routeId:c.routeId,localeId:a,pathVariables:d.pathVariables}}for(let{path:d,routeId:p}of o){let g=AS(l,d);if(g.isMatch)return{routeId:p,localeId:a,pathVariables:g.pathVariables}}if(!n)throw new Error("No exact match found for path");let u=i["/"];if(u)return{routeId:u.routeId,localeId:a};let f=Object.keys(e)[0];if(!f)throw new Error("Router should not have undefined routes");return{routeId:f,localeId:a}}function rL(e){let t=e.replace(/^\/|\/$/gu,"");return t===""?0:t.split("/").length}function AS(e,t){let n=[],i=iL(t).replace(qi,(c,u)=>(n.push(u),"([^/]+)")),o=new RegExp(i+"$"),s=e.match(o);if(!s)return{isMatch:!1};if(s.length===1)return{isMatch:!0};let a={},l=s.slice(1);for(let c=0;cw.createContext(void 0))();function $u(){var e;let t=Ba(),n=D(sL),r=n??t.currentRouteId;if(!r)return;let i=(e=t.getRoute)===null||e===void 0?void 0:e.call(t,r);if(i)return{...i,id:r,pathVariables:n?void 0:t.currentPathVariables}}function aL(e){var t;let n=Ba();if(e)return(t=n.getRoute)===null||t===void 0?void 0:t.call(n,e)}var Om=(()=>typeof _<"u"&&!nO(Fe.userAgent))();function lL(e,t=!0){let{getRoute:n}=Ba();$(()=>{if(!(!n||!t||!Om))for(let r of e)nk(n(r))},[e,n,t])}async function nk(e){if(!Om||!e)return;let t=e.page;if(!(!t||!$1(t))){await N1();try{await t.preload()}catch{}}}function DN(e,t){var n;let r=$u(),i=(n=aL(t))!==null&&n!==void 0?n:r;return w.useMemo(()=>i?Bu(i,e):e,[e,i])}var zS=new Set;function Ea(e,...t){zS.has(e)||(zS.add(e),console.warn(e,...t))}function cL(e,t,n){let r=n?`, use ${n} instead`:"",i=`Deprecation warning: ${e} will be removed in version ${t}${r}.`;Ea(i)}var rk=class{constructor(){C(this,"observers",new Set),C(this,"transactions",{})}add(e){this.observers.add(e);let t=!1;return()=>{t||(t=!0,this.remove(e))}}remove(e){this.observers.delete(e)}notify(e,t){if(t){let n=this.transactions[t]||e;n.value=e.value,this.transactions[t]=n}else this.callObservers(e)}finishTransaction(e){let t=this.transactions[e];return delete this.transactions[e],this.callObservers(t,e)}callObservers(e,t){let n=[];return new Set(this.observers).forEach(r=>{typeof r=="function"?r(e,t):(r.update(e,t),n.push(r.finish))}),n}},nt=(()=>{function e(t){return cL("Animatable()","2.0.0","the new animation API (https://www.framer.com/api/animation/)"),Bn(t)?t:new fL(t)}return e.transaction=t=>{let n=Math.random(),r=new Set;t((s,a)=>{s.set(a,n),r.add(s)},n);let o=[];r.forEach(s=>{o.push(...s.finishTransaction(n))}),o.forEach(s=>{s(n)})},e.getNumber=(t,n=0)=>e.get(t,n),e.get=(t,n)=>t==null?n:Bn(t)?t.get():t,e.objectToValues=t=>{if(!t)return t;let n={};for(let r in t){let i=t[r];Bn(i)?n[r]=i.get():n[r]=i}return n},e})(),BS="onUpdate",$S="finishTransaction";function Bn(e){return e!==null&&typeof e=="object"&&BS in e&&e[BS]instanceof Function&&$S in e&&e[$S]instanceof Function}function uL(e,t){return{interpolate(n,r){let i=n.get(),o=r.get(),s=nt(i);return a=>{let l=t.interpolate(i,o)(a);return s.set(l),s}},difference(n,r){let i=n.get();return t.difference(i,r.get())}}}var fL=class{constructor(e){this.value=e,C(this,"observers",new rk)}static interpolationFor(e,t){if(Bn(e))return uL(e,t)}get(){return this.value}set(e,t){let n=this.value;Bn(e)&&(e=e.get()),this.value=e;let r={value:e,oldValue:n};this.observers.notify(r,t)}finishTransaction(e){return this.observers.finishTransaction(e)}onUpdate(e){return this.observers.add(e)}};function Zc(e,t){let r=10**Math.round(Math.abs(t));return Math.round(e*r)/r}function NS(e,t){return t===0?Math.round(e):(t-=t|0,t<0&&(t=1-t),Math.round(e-t)+t)}function cn(e,t){return{x:e,y:t}}(e=>{e.add=(...i)=>i.reduce((o,s)=>({x:o.x+s.x,y:o.y+s.y}),{x:0,y:0}),e.subtract=(i,o)=>({x:i.x-o.x,y:i.y-o.y}),e.multiply=(i,o)=>({x:i.x*o,y:i.y*o}),e.divide=(i,o)=>({x:i.x/o,y:i.y/o}),e.absolute=i=>({x:Math.abs(i.x),y:Math.abs(i.y)}),e.reverse=i=>({x:i.x*-1,y:i.y*-1}),e.pixelAligned=(i,o={x:0,y:0})=>({x:NS(i.x,o.x),y:NS(i.y,o.y)}),e.distance=(i,o)=>{let s=Math.abs(i.x-o.x),a=Math.abs(i.y-o.y);return Math.sqrt(s*s+a*a)},e.angle=(i,o)=>Math.atan2(o.y-i.y,o.x-i.x)*180/Math.PI-90,e.angleFromX=(i,o)=>Math.atan2(o.y-i.y,o.x-i.x)*180/Math.PI,e.isEqual=(i,o)=>i.x===o.x&&i.y===o.y,e.rotationNormalizer=()=>{let i;return o=>{typeof i!="number"&&(i=o);let s=i-o,a=Math.abs(s)+180,l=Math.floor(a/360);return s<180&&(o-=l*360),s>180&&(o+=l*360),i=o,o}};function t(i,o){return{x:(i.x+o.x)/2,y:(i.y+o.y)/2}}e.center=t;function n(i){let o=0,s=0;i.forEach(c=>{o+=c.x,s+=c.y});let a=o/i.length,l=s/i.length;return{x:a,y:l}}e.centroid=n;function r(i){let o=e.centroid(i),s=new Map;for(let a=0;as.get(a)-s.get(l))}e.sortClockwise=r})(cn||(cn={}));var hm={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 si(e,t,n,r=!1){let[i,o]=t,[s,a]=n,l=o-i;if(l===0)return(a+s)/2;let c=a-s;if(c===0)return s;let u=s+(e-i)/l*c;if(r===!0)if(sa)return a}else{if(u>s)return s;if(uj2().Hsluv)(),Ut=new dL;function hL(e,t,n){return Ut.rgb_r=e/255,Ut.rgb_g=t/255,Ut.rgb_b=n/255,Ut.rgbToHsluv(),{h:Ut.hsluv_h,s:Ut.hsluv_s,l:Ut.hsluv_l}}function pL(e,t,n,r=1){return Ut.hsluv_h=e,Ut.hsluv_s=t,Ut.hsluv_l=n,Ut.hsluvToRgb(),{r:Ut.rgb_r*255,g:Ut.rgb_g*255,b:Ut.rgb_b*255,a:r}}function Jc(e,t,n,r){let i=Math.round(e),o=Math.round(t*100),s=Math.round(n*100);return r===void 0||r===1?"hsv("+i+", "+o+"%, "+s+"%)":"hsva("+i+", "+o+"%, "+s+"%, "+r+")"}function mL(e,t,n){return{r:Xo(e)?At(e,255)*255:0,g:Xo(t)?At(t,255)*255:0,b:Xo(n)?At(n,255)*255:0}}function HS(e,t,n,r){let i=[Gp(Math.round(e).toString(16)),Gp(Math.round(t).toString(16)),Gp(Math.round(n).toString(16))];return r&&i[0].charAt(0)===i[0].charAt(1)&&i[1].charAt(0)===i[1].charAt(1)&&i[2].charAt(0)===i[2].charAt(1)?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0):i.join("")}function Lm(e,t,n){let r,i,o=At(e,255),s=At(t,255),a=At(n,255),l=Math.max(o,s,a),c=Math.min(o,s,a),u=i=r=(l+c)/2;if(l===c)u=i=0;else{let f=l-c;switch(i=r>.5?f/(2-l-c):f/(l+c),l){case o:u=(s-a)/f+(s1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function gL(e,t,n){let r,i,o;if(e=At(e,360),t=At(t*100,100),n=At(n*100,100),t===0)r=i=o=n;else{let s=n<.5?n*(1+t):n+t-n*t,a=2*n-s;r=Up(a,s,e+1/3),i=Up(a,s,e),o=Up(a,s,e-1/3)}return{r:r*255,g:i*255,b:o*255}}function jS(e,t,n){e=At(e,255),t=At(t,255),n=At(n,255);let r=Math.max(e,t,n),i=Math.min(e,t,n),o=r-i,s,a=r===0?0:o/r,l=r;if(r===i)s=0;else{switch(r){case e:s=(t-n)/o+(t{let e="[-\\+]?\\d+%?",n="(?:"+"[-\\+]?\\d*\\.\\d+%?"+")|(?:"+e+")",r="[\\s|\\(]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")\\s*\\)?",i="[\\s|\\(]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")\\s*\\)?";return{rgb:new RegExp("rgb"+r),rgba:new RegExp("rgba"+i),hsl:new RegExp("hsl"+r),hsla:new RegExp("hsla"+i),hsv:new RegExp("hsv"+r),hsva:new RegExp("hsva"+i),hex3:/^([\da-f])([\da-f])([\da-f])$/iu,hex6:/^([\da-f]{2})([\da-f]{2})([\da-f]{2})$/iu,hex4:/^#?([\da-f])([\da-f])([\da-f])([\da-f])$/iu,hex8:/^#?([\da-f]{2})([\da-f]{2})([\da-f]{2})([\da-f]{2})$/iu}})();function Mm(e){if(e.includes("gradient(")||e.includes("var("))return!1;let t=/^[\s,#]+/u,n=e.replace(t,"").trimEnd().toLowerCase(),r=hm[n];if(r&&(n=r),n==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};let i;return(i=er.rgb.exec(n))?{r:parseInt(i[1]??""),g:parseInt(i[2]??""),b:parseInt(i[3]??""),a:1,format:"rgb"}:(i=er.rgba.exec(n))?{r:parseInt(i[1]??""),g:parseInt(i[2]??""),b:parseInt(i[3]??""),a:parseFloat(i[4]??""),format:"rgb"}:(i=er.hsl.exec(n))?{h:parseInt(i[1]??""),s:ai(i[2]??""),l:ai(i[3]??""),a:1,format:"hsl"}:(i=er.hsla.exec(n))?{h:parseInt(i[1]??""),s:ai(i[2]??""),l:ai(i[3]??""),a:parseFloat(i[4]??""),format:"hsl"}:(i=er.hsv.exec(n))?{h:parseInt(i[1]??""),s:ai(i[2]??""),v:ai(i[3]??""),a:1,format:"hsv"}:(i=er.hsva.exec(n))?{h:parseInt(i[1]??""),s:ai(i[2]??""),v:ai(i[3]??""),a:parseFloat(i[4]??""),format:"hsv"}:(i=er.hex8.exec(n))?{r:ln(i[1]??""),g:ln(i[2]??""),b:ln(i[3]??""),a:WS(i[4]??""),format:r?"name":"hex"}:(i=er.hex6.exec(n))?{r:ln(i[1]??""),g:ln(i[2]??""),b:ln(i[3]??""),a:1,format:r?"name":"hex"}:(i=er.hex4.exec(n))?{r:ln(`${i[1]}${i[1]}`),g:ln(`${i[2]}${i[2]}`),b:ln(`${i[3]}${i[3]}`),a:WS(i[4]+""+i[4]),format:r?"name":"hex"}:(i=er.hex3.exec(n))?{r:ln(`${i[1]}${i[1]}`),g:ln(`${i[2]}${i[2]}`),b:ln(`${i[3]}${i[3]}`),a:1,format:r?"name":"hex"}:!1}function ln(e){return parseInt(e,16)}function WS(e){return ln(e)/255}var US=new Map,j=(()=>{function e(o,s,a,l){if(typeof o=="string"){let u=US.get(o);return u||(u=t(o),u===void 0?{...e("black"),isValid:!1}:(US.set(o,u),u))}let c=t(o,s,a,l);return c!==void 0?c:{...e("black"),isValid:!1}}function t(o,s,a,l){if(o==="")return;let c=xL(o,s,a,l);if(c){let u={r:c.r,g:c.g,b:c.b,a:c.a,h:c.h,s:c.s,l:c.l,initialValue:typeof o=="string"&&c.format!=="hsv"?o:void 0,roundA:Math.round(100*c.a)/100,format:c.format,mix:e.mix,toValue:()=>e.toRgbString(u)};return u}else return}let n={isRGB(o){return o==="rgb"||o==="rgba"},isHSL(o){return o==="hsl"||o==="hsla"}};e.inspect=(o,s)=>o.format==="hsl"?`<${o.constructor.name} h:${o.h} s:${o.s} l:${o.l} a:${o.a}>`:o.format==="hex"||o.format==="name"?`<${o.constructor.name} "${s}">`:`<${o.constructor.name} r:${o.r} g:${o.g} b:${o.b} a:${o.a}>`,e.isColor=o=>typeof o=="string"?e.isColorString(o):e.isColorObject(o),e.isColorString=o=>typeof o=="string"?Mm(o)!==!1:!1,e.isColorObject=o=>o&&typeof o!="string"&&typeof o.r=="number"&&typeof o.g=="number"&&typeof o.b=="number"&&typeof o.h=="number"&&typeof o.s=="number"&&typeof o.l=="number"&&typeof o.a=="number"&&typeof o.roundA=="number"&&typeof o.format=="string",e.toString=o=>e.toRgbString(o),e.toHex=(o,s=!1)=>HS(o.r,o.g,o.b,s),e.toHexString=(o,s=!1)=>`#${e.toHex(o,s)}`,e.toRgbString=o=>o.a===1?"rgb("+Math.round(o.r)+", "+Math.round(o.g)+", "+Math.round(o.b)+")":"rgba("+Math.round(o.r)+", "+Math.round(o.g)+", "+Math.round(o.b)+", "+o.roundA+")",e.toHusl=o=>({...hL(o.r,o.g,o.b),a:o.roundA}),e.toHslString=o=>{let s=e.toHsl(o),a=Math.round(s.h),l=Math.round(s.s*100),c=Math.round(s.l*100);return o.a===1?"hsl("+a+", "+l+"%, "+c+"%)":"hsla("+a+", "+l+"%, "+c+"%, "+o.roundA+")"},e.toHsv=o=>{let s=jS(o.r,o.g,o.b);return{h:s.h*360,s:s.s,v:s.v,a:o.a}},e.toHsvString=o=>{let s=jS(o.r,o.g,o.b),a=Math.round(s.h*360),l=Math.round(s.s*100),c=Math.round(s.v*100);return o.a===1?"hsv("+a+", "+l+"%, "+c+"%)":"hsva("+a+", "+l+"%, "+c+"%, "+o.roundA+")"},e.toName=o=>{if(o.a===0)return"transparent";if(o.a<1)return!1;let s=HS(o.r,o.g,o.b,!0);for(let a of Object.keys(hm))if(hm[a]===s)return a;return!1},e.toHsl=o=>({h:Math.round(o.h),s:o.s,l:o.l,a:o.a}),e.toRgb=o=>({r:Math.round(o.r),g:Math.round(o.g),b:Math.round(o.b),a:o.a}),e.brighten=(o,s=10)=>{let a=e.toRgb(o);return a.r=Math.max(0,Math.min(255,a.r-Math.round(255*-(s/100)))),a.g=Math.max(0,Math.min(255,a.g-Math.round(255*-(s/100)))),a.b=Math.max(0,Math.min(255,a.b-Math.round(255*-(s/100)))),e(a)},e.lighten=(o,s=10)=>{let a=e.toHsl(o);return a.l+=s/100,a.l=Math.min(1,Math.max(0,a.l)),e(a)},e.darken=(o,s=10)=>{let a=e.toHsl(o);return a.l-=s/100,a.l=Math.min(1,Math.max(0,a.l)),e(a)},e.saturate=(o,s=10)=>{let a=e.toHsl(o);return a.s+=s/100,a.s=Math.min(1,Math.max(0,a.s)),e(a)},e.desaturate=(o,s=10)=>{let a=e.toHsl(o);return a.s-=s/100,a.s=Math.min(1,Math.max(0,a.s)),e(a)},e.grayscale=o=>e.desaturate(o,100),e.hueRotate=(o,s)=>{let a=e.toHsl(o);return a.h+=s,a.h=a.h>360?a.h-360:a.h,e(a)},e.alpha=(o,s=1)=>e({r:o.r,g:o.g,b:o.b,a:s}),e.transparent=o=>e.alpha(o,0),e.multiplyAlpha=(o,s=1)=>e({r:o.r,g:o.g,b:o.b,a:o.a*s}),e.interpolate=(o,s,a="rgb")=>{if(!e.isColorObject(o)||!e.isColorObject(s))throw new TypeError("Both arguments for Color.interpolate must be Color objects");return l=>e.mixAsColor(o,s,l,!1,a)},e.mix=(o,s,{model:a="rgb"}={})=>{let l=typeof o=="string"?e(o):o,c=e.interpolate(l,s,a);return u=>e.toRgbString(c(u))},e.mixAsColor=(o,s,a=.5,l=!1,c="rgb")=>{let u=null;if(n.isRGB(c))u=e({r:si(a,[0,1],[o.r,s.r],l),g:si(a,[0,1],[o.g,s.g],l),b:si(a,[0,1],[o.b,s.b],l),a:si(a,[0,1],[o.a,s.a],l)});else{let f,d;n.isHSL(c)?(f=e.toHsl(o),d=e.toHsl(s)):(f=e.toHusl(o),d=e.toHusl(s)),f.s===0?f.h=d.h:d.s===0&&(d.h=f.h);let p=f.h,g=d.h,y=g-p;y>180?y=g-360-p:y<-180&&(y=g+360-p);let b={h:si(a,[0,1],[p,p+y],l),s:si(a,[0,1],[f.s,d.s],l),l:si(a,[0,1],[f.l,d.l],l),a:si(a,[0,1],[o.a,s.a],l)};n.isHSL(c)?u=e(b):u=e(pL(b.h,b.s,b.l,b.a))}return u},e.random=(o=1)=>{function s(){return Math.floor(Math.random()*255)}return e("rgba("+s()+", "+s()+", "+s()+", "+o+")")},e.grey=(o=.5,s=1)=>(o=Math.floor(o*255),e("rgba("+o+", "+o+", "+o+", "+s+")")),e.gray=e.grey,e.rgbToHsl=(o,s,a)=>Lm(o,s,a),e.isValidColorProperty=(o,s)=>!!((o.toLowerCase().slice(-5)==="color"||o==="fill"||o==="stroke")&&typeof s=="string"&&e.isColorString(s)),e.difference=(o,s)=>{let a=(o.r+s.r)/2,l=o.r-s.r,c=o.g-s.g,u=o.b-s.b,f=Math.pow(l,2),d=Math.pow(c,2),p=Math.pow(u,2);return Math.sqrt(2*f+4*d+3*p+a*(f-p)/256)},e.equal=(o,s,a=.1)=>!(Math.abs(o.r-s.r)>=a||Math.abs(o.g-s.g)>=a||Math.abs(o.b-s.b)>=a||Math.abs(o.a-s.a)*256>=a);let r=Es([0,255],[0,1]);function i(o){o=r(o);let s=Math.abs(o);return s<.04045?o/12.92:(Math.sign(o)||1)*Math.pow((s+.055)/1.055,2.4)}return e.luminance=o=>{let{r:s,g:a,b:l}=e.toRgb(o);return .2126*i(s)+.7152*i(a)+.0722*i(l)},e.contrast=(o,s)=>{let a=e.luminance(o),l=e.luminance(s);return(Math.max(a,l)+.05)/(Math.min(a,l)+.05)},e})();function xL(e,t,n,r=1){let i;return typeof e=="number"&&!Number.isNaN(e)&&typeof t=="number"&&!Number.isNaN(t)&&typeof n=="number"&&!Number.isNaN(n)?i=mm({r:e,g:t,b:n,a:r}):typeof e=="string"?i=wL(e):typeof e=="object"&&(e.hasOwnProperty("r")&&e.hasOwnProperty("g")&&e.hasOwnProperty("b")?i=mm(e):i=ik(e)),i}function wL(e){let t=Mm(e);if(t)return t.format==="hsl"?ik(t):t.format==="hsv"?SL(t):mm(t)}function SL(e){let t=vL(e.h,e.s,e.v);return{...Lm(t.r,t.g,t.b),...t,format:"rgb",a:e.a!==void 0?ok(e.a):1}}function mm(e){let t=mL(e.r,e.g,e.b);return{...Lm(t.r,t.g,t.b),...t,format:"rgb",a:e.a!==void 0?ok(e.a):1}}function ik(e){let t,n,r,i={r:0,g:0,b:0},o={h:0,s:0,l:0};return t=Xo(e.h)?e.h:0,t=(t+360)%360,n=Xo(e.s)?e.s:1,typeof e.s=="string"&&(n=pm(e.s)),r=Xo(e.l)?e.l:.5,typeof e.l=="string"&&(r=pm(e.l)),i=gL(t,n,r),o={h:t,s:n,l:r},{...i,...o,a:e.a===void 0?1:e.a,format:"hsl"}}function ok(e){return e=parseFloat(e),e<0&&(e=0),(isNaN(e)||e>1)&&(e=1),e}var GS=e=>e instanceof Rs;var kL=(()=>W2().EventEmitter)(),CL=class{constructor(){C(this,"_emitter",new kL)}eventNames(){return this._emitter.eventNames()}eventListeners(){let e={};for(let t of this._emitter.eventNames())e[t]=this._emitter.listeners(t);return e}on(e,t){this.addEventListener(e,t,!1,!1,this)}off(e,t){this.removeEventListeners(e,t)}once(e,t){this.addEventListener(e,t,!0,!1,this)}unique(e,t){this.addEventListener(e,t,!1,!0,this)}addEventListener(e,t,n,r,i){if(r){for(let o of this._emitter.eventNames())if(t===this._emitter.listeners(o))return}n===!0?this._emitter.once(e,t,i):this._emitter.addListener(e,t,i)}removeEventListeners(e,t){e?this._emitter.removeListener(e,t):this.removeAllEventListeners()}removeAllEventListeners(){this._emitter.removeAllListeners()}countEventListeners(e,t){if(e)return this._emitter.listeners(e).length;{let n=0;for(let r of this._emitter.eventNames())n+=this._emitter.listeners(r).length;return n}}emit(e,...t){this._emitter.emit(e,...t)}},TL={addEventListener:()=>{},removeEventListener:()=>{},dispatchEvent:()=>!1,ResizeObserver:void 0,onpointerdown:!1,onpointermove:!1,onpointerup:!1,ontouchstart:!1,ontouchmove:!1,ontouchend:!1,onmousedown:!1,onmousemove:!1,onmouseup:!1,devicePixelRatio:1,scrollX:0,scrollY:0,location:{href:""},document:{cookie:""},setTimeout:()=>0,clearTimeout:()=>{},setInterval:()=>0,clearInterval:()=>{},requestAnimationFrame:()=>0,cancelAnimationFrame:()=>{},requestIdleCallback:()=>0,getSelection:()=>null,matchMedia:e=>({matches:!1,media:e,onchange:()=>{},addEventListener:()=>{},removeEventListener:()=>{},addListener:()=>{},removeListener:()=>{},dispatchEvent:()=>!1}),innerHeight:0,innerWidth:0,SVGSVGElement:{},open:function(e,t,n){}},Gt=typeof _>"u"?TL:_,EL=e=>{setTimeout(e,1/60)},RL=(()=>Gt.requestAnimationFrame||EL)(),qS=e=>RL(e),ba=(()=>1/60)(),PL=class extends CL{constructor(e=!1){super(),C(this,"_started",!1),C(this,"_frame",0),C(this,"_frameTasks",[]),C(this,"tick",()=>{this._started&&(qS(this.tick),this.emit("update",this._frame,ba),this.emit("render",this._frame,ba),this._processFrameTasks(),this._frame++)}),e&&this.start()}addFrameTask(e){this._frameTasks.push(e)}_processFrameTasks(){var e;let t=this._frameTasks,n=t.length;if(n!==0){for(let r=0;rgm.target,hasRestrictions:()=>{let e=gm.target;return e==="CANVAS"||e==="EXPORT"}};var eu=e=>({correct:(t,{delta:n,treeScale:r})=>{if(typeof t=="string"&&(t=parseFloat(t)),t===0)return"0px";let i=t;return n&&r&&(i=Math.round(t/n[e].scale/r[e]),i=Math.max(i,1)),i+"px"}});jf({borderTopWidth:eu("y"),borderLeftWidth:eu("x"),borderRightWidth:eu("x"),borderBottomWidth:eu("y")});function V(e,...t){var n,r;if(e)return;let i=Error("Assertion Error"+(t.length>0?": "+t.join(" "):""));if(i.stack)try{let o=i.stack.split(` `);(n=o[1])!=null&&n.includes("assert")?(o.splice(1,1),i.stack=o.join(` `)):(r=o[0])!=null&&r.includes("assert")&&(o.splice(0,1),i.stack=o.join(` `))}catch{}throw i}function Ce(e,t){throw t||new Error(e?`Unexpected value: ${e}`:"Application entered invalid state")}var Yo=w.createContext({getLayoutId:e=>null,persistLayoutIdCache:()=>{},top:!1,enabled:!0});function FL({children:e}){if(D(Yo).top)return k(Ge,{children:e});let n=A({byId:{},byName:{},byLastId:{},byPossibleId:{},byLastName:{},byLayoutId:{},count:{byId:{},byName:{}}}),r=A({byId:{},byName:{},byLastId:{},byPossibleId:{},byLastName:{},byLayoutId:{}}),i=A(new Set).current,o=oe(({id:l,name:c,duplicatedFrom:u})=>{if(!l)return null;let f=c?"byName":"byId",d=n.current[f][l];if(d)return d;let p=c||l;if(!u&&!i.has(p)&&(!n.current.byLayoutId[p]||n.current.byLayoutId[p]===p))return n.current.count[f][p]===void 0&&(n.current.count[f][p]=0,n.current.byLayoutId[p]=p,r.current[f][l]=p),i.add(p),p;let g;if(u?.length)for(let S=u.length-1;S>=0;S--){let E=u[S];V(!!E,"duplicatedId must be defined");let R=n.current[f][E],M=n.current.byLastId[E];if(M&&!g){let B=n.current.byLayoutId[M],fe=!B||B===c;M&&!i.has(M)&&(!c||fe)&&(g=[M,E])}let I=R?n.current.byLayoutId[R]:void 0,Q=!I||I===c;if(R&&!i.has(R)&&(!c||Q))return r.current[f][l]=R,r.current.byLastId[E]=R,i.add(R),R}let y=n.current.byLastId[l];if(y&&!i.has(y))return i.add(y),r.current.byId[l]=y,y;if(g){let[S,E]=g;return r.current[f][l]=S,r.current.byLastId[E]=S,i.add(S),S}let b=n.current.byPossibleId[l];if(b&&!i.has(b))return i.add(b),r.current.byId[l]=b,b;let h=u?.[0],m=c||h||l,v=(n.current.count[f][m]??-1)+1,{layoutId:x,value:T}=_L(m,v,i);if(n.current.count[f][m]=T,r.current[f][l]=x,u?.length&&!c){let S=u[u.length-1];if(S&&(r.current.byLastId[S]=x),u.length>1)for(let E=0;E{n.current={byId:{...n.current.byId,...r.current.byId},byLastId:{...n.current.byLastId,...r.current.byLastId},byPossibleId:{...n.current.byPossibleId,...r.current.byPossibleId},byName:{...n.current.byName,...r.current.byName},byLastName:{...n.current.byLastName,...r.current.byLastName},byLayoutId:{...n.current.byLayoutId,...r.current.byLayoutId},count:{...n.current.count,byName:{}}},r.current={byId:{},byName:{},byLastId:{},byPossibleId:{},byLastName:{},byLayoutId:{}},i.clear()},[]),a=A({getLayoutId:o,persistLayoutIdCache:s,top:!0,enabled:!0}).current;return k(Yo.Provider,{value:a,children:e})}function _L(e,t,n){let r=t,i=r?`${e}-${r}`:e;for(;n.has(i);)r++,i=`${e}-${r}`;return{layoutId:i,value:r}}function IL({enabled:e=!0,...t}){let n=D(Yo),r=se(()=>({...n,enabled:e}),[e]);return k(Yo.Provider,{...t,value:r})}function es(e){let t=A(null);return t.current===null&&(t.current=e()),t.current}var OL={background:void 0,display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",lineHeight:"1.4em",textOverflow:"ellipsis",overflow:"hidden",minHeight:0,width:"100%",height:"100%"},LL=(()=>({...OL,border:"1px solid rgba(149, 149, 149, 0.15)",borderRadius:6,fontSize:"12px",backgroundColor:"rgba(149, 149, 149, 0.1)",color:"#a5a5a5"}))(),ak={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",maxWidth:"100%",flexShrink:0,padding:"0 10px"},ML=(()=>({...ak,fontWeight:500}))(),DL=(()=>({...ak,whiteSpace:"pre",maxHeight:"calc(50% - calc(20px * var(--framerInternalCanvas-canvasPlaceholderContentScaleFactor, 1)))",WebkitMaskImage:"linear-gradient(to bottom, black 80%, transparent 100%)"}))();function jN(e){let{error:t,file:n}=e,r=n?`Error in ${AL(n)}`:"Error",i=t instanceof Error?t.message:""+t;return ue("div",{style:LL,children:[k("div",{className:"text",style:ML,children:r}),i&&k("div",{className:"text",style:DL,children:i})]})}function AL(e){return e.startsWith("./")?e.replace("./",""):e}function K(e){return typeof e=="number"&&isFinite(e)}function VL(e){return!e||!Object.keys(e).length&&e.constructor===Object}function su(e){return typeof e!="string"&&typeof e!="number"}function au(e){return e!==null&&typeof e<"u"&&typeof e!="boolean"&&!VL(e)}function zL(e){return e*(Math.PI/180)}var kn=(()=>{function e(t,n){return{a:t,b:n}}return e.offset=(t,n)=>{let r=cn.angleFromX(t.a,t.b),i=zL(r),o=n*Math.sin(i),s=n*Math.cos(i);return e({x:t.a.x+o,y:t.a.y-s},{x:t.b.x+o,y:t.b.y-s})},e.intersection=(t,n,r)=>{let i=t.a.x,o=t.a.y,s=t.b.x,a=t.b.y,l=n.a.x,c=n.a.y,u=n.b.x,f=n.b.y,d=(u-l)*(c-o)-(f-c)*(l-i),p=(u-l)*(a-o)-(f-c)*(s-i),g=(s-i)*(c-o)-(a-o)*(l-i);if(d===0&&p===0||p===0)return null;let y=d/p,b=g/p;return r&&(y<0||y>1||b<0||b>1)?null:{x:i+y*(s-i),y:o+y*(a-o)}},e.intersectionAngle=(t,n)=>{let r=t.b.x-t.a.x,i=t.b.y-t.a.y,o=n.b.x-n.a.x,s=n.b.y-n.a.y;return Math.atan2(r*s-i*o,r*o+i*s)*(180/Math.PI)},e.isOrthogonal=t=>t.a.x===t.b.x||t.a.y===t.b.y,e.perpendicular=(t,n)=>{let r=t.a.x-t.b.x,i=t.a.y-t.b.y,o=cn(n.x-i,n.y+r);return e(o,n)},e.projectPoint=(t,n)=>{let r=e.perpendicular(t,n);return e.intersection(t,r)},e.pointAtPercentDistance=(t,n)=>{let r=e.distance(t),i=n*r/r;return{x:i*t.b.x+(1-i)*t.a.x,y:i*t.b.y+(1-i)*t.a.y}},e.distance=t=>cn.distance(t.a,t.b),e})(),Y={equals:function(e,t){return e===t?!0:!e||!t?!1:e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height},atOrigin:e=>({...e,x:0,y:0}),fromTwoPoints:(e,t)=>({x:Math.min(e.x,t.x),y:Math.min(e.y,t.y),width:Math.abs(e.x-t.x),height:Math.abs(e.y-t.y)}),fromRect:e=>({x:e.left,y:e.top,width:e.right-e.left,height:e.bottom-e.top}),multiply:(e,t)=>({x:e.x*t,y:e.y*t,width:e.width*t,height:e.height*t}),divide:(e,t)=>Y.multiply(e,1/t),offset:(e,t)=>{let n=typeof t.x=="number"?t.x:0,r=typeof t.y=="number"?t.y:0;return{...e,x:e.x+n,y:e.y+r}},inflate:(e,t)=>{if(t===0)return e;let n=2*t;return{x:e.x-t,y:e.y-t,width:e.width+n,height:e.height+n}},pixelAligned:e=>{let t=Math.round(e.x),n=Math.round(e.y),r=Math.round(e.x+e.width),i=Math.round(e.y+e.height),o=Math.max(r-t,0),s=Math.max(i-n,0);return{x:t,y:n,width:o,height:s}},halfPixelAligned:e=>{let t=Math.round(e.x*2)/2,n=Math.round(e.y*2)/2,r=Math.round((e.x+e.width)*2)/2,i=Math.round((e.y+e.height)*2)/2,o=Math.max(r-t,1),s=Math.max(i-n,1);return{x:t,y:n,width:o,height:s}},round:(e,t=0)=>{let n=Zc(e.x,t),r=Zc(e.y,t),i=Zc(e.width,t),o=Zc(e.height,t);return{x:n,y:r,width:i,height:o}},roundToOutside:e=>{let t=Math.floor(e.x),n=Math.floor(e.y),r=Math.ceil(e.x+e.width),i=Math.ceil(e.y+e.height),o=Math.max(r-t,0),s=Math.max(i-n,0);return{x:t,y:n,width:o,height:s}},minX:e=>e.x,maxX:e=>e.x+e.width,minY:e=>e.y,maxY:e=>e.y+e.height,positions:e=>({minX:e.x,midX:e.x+e.width/2,maxX:Y.maxX(e),minY:e.y,midY:e.y+e.height/2,maxY:Y.maxY(e)}),center:e=>({x:e.x+e.width/2,y:e.y+e.height/2}),boundingRectFromPoints:e=>{let t=1/0,n=-1/0,r=1/0,i=-1/0;for(let o=0;o{let[t,n,r,i]=e,{x:o,y:s}=t,a=cn.distance(t,n),l=cn.distance(t,i);return{x:o,y:s,width:a,height:l}},merge:(...e)=>{let t={x:Math.min(...e.map(Y.minX)),y:Math.min(...e.map(Y.minY))},n={x:Math.max(...e.map(Y.maxX)),y:Math.max(...e.map(Y.maxY))};return Y.fromTwoPoints(t,n)},intersection:(e,t)=>{let n=Math.max(e.x,t.x),r=Math.min(e.x+e.width,t.x+t.width),i=Math.max(e.y,t.y),o=Math.min(e.y+e.height,t.y+t.height);return{x:n,y:i,width:r-n,height:o-i}},points:e=>[{x:Y.minX(e),y:Y.minY(e)},{x:Y.minX(e),y:Y.maxY(e)},{x:Y.maxX(e),y:Y.minY(e)},{x:Y.maxX(e),y:Y.maxY(e)}],pointsAtOrigin:e=>[{x:0,y:0},{x:e.width,y:0},{x:e.width,y:e.height},{x:0,y:e.height}],transform:(e,t)=>{let{x:n,y:r}=t.transformPoint({x:e.x,y:e.y}),{x:i,y:o}=t.transformPoint({x:e.x+e.width,y:e.y}),{x:s,y:a}=t.transformPoint({x:e.x+e.width,y:e.y+e.height}),{x:l,y:c}=t.transformPoint({x:e.x,y:e.y+e.height}),u=Math.min(n,i,s,l),f=Math.max(n,i,s,l)-u,d=Math.min(r,o,a,c),p=Math.max(r,o,a,c)-d;return{x:u,y:d,width:f,height:p}},containsPoint:(e,t)=>!(t.xY.maxX(e)||t.yY.maxY(e)||isNaN(e.x)||isNaN(e.y)),containsRect:(e,t)=>{for(let n of Y.points(t))if(!Y.containsPoint(e,n))return!1;return!0},toCSS:e=>({display:"block",transform:`translate(${e.x}px, ${e.y}px)`,width:`${e.width}px`,height:`${e.height}px`}),inset:(e,t)=>({x:e.x+t,y:e.y+t,width:Math.max(0,e.width-2*t),height:Math.max(0,e.height-2*t)}),intersects:(e,t)=>!(t.x>=Y.maxX(e)||Y.maxX(t)<=e.x||t.y>=Y.maxY(e)||Y.maxY(t)<=e.y),overlapHorizontally:(e,t)=>{let n=Y.maxX(e),r=Y.maxX(t);return n>t.x&&r>e.x},overlapVertically:(e,t)=>{let n=Y.maxY(e),r=Y.maxY(t);return n>t.y&&r>e.y},doesNotIntersect:(e,t)=>t.find(n=>Y.intersects(n,e))===void 0,isEqual:(e,t)=>Y.equals(e,t),cornerPoints:e=>{let t=e.x,n=e.x+e.width,r=e.y,i=e.y+e.height;return[{x:t,y:r},{x:n,y:r},{x:n,y:i},{x:t,y:i}]},midPoints:e=>{let t=e.x,n=e.x+e.width/2,r=e.x+e.width,i=e.y,o=e.y+e.height/2,s=e.y+e.height;return[{x:n,y:i},{x:r,y:o},{x:n,y:s},{x:t,y:o}]},pointDistance:(e,t)=>{let n=0,r=0;return t.xY.maxX(e)&&(n=t.x-Y.maxX(e)),t.yY.maxY(e)&&(r=t.y-Y.maxY(e)),cn.distance({x:n,y:r},{x:0,y:0})},fromAny:(e,t={x:0,y:0,width:0,height:0})=>({x:e.x||t.x,y:e.y||t.y,width:e.width||t.width,height:e.height||t.height}),delta:(e,t)=>{let n={x:Y.minX(e),y:Y.minY(e)},r={x:Y.minX(t),y:Y.minY(t)};return{x:n.x-r.x,y:n.y-r.y}},withMinSize:(e,t)=>{let{width:n,height:r}=t,i=e.width-n,o=e.height-r;return{width:Math.max(e.width,n),height:Math.max(e.height,r),x:e.width{let n=Y.minX(e),r=Y.minY(e),i=Y.maxX(e),o=Y.maxY(e);for(let s of t)if(s.xi||s.yo)return!0;return!1},edges:e=>{let[t,n,r,i]=Y.cornerPoints(e);return[kn(t,n),kn(n,r),kn(r,i),kn(i,t)]},rebaseRectOnto:(e,t,n,r)=>{let i={...e};switch(n){case"bottom":case"top":switch(r){case"start":i.x=t.x;break;case"center":i.x=t.x+t.width/2-e.width/2;break;case"end":i.x=t.x+t.width-e.width;break;default:Ce(r)}break;case"left":i.x=t.x-e.width;break;case"right":i.x=t.x+t.width;break;default:Ce(n)}switch(n){case"left":case"right":switch(r){case"start":i.y=t.y;break;case"center":i.y=t.y+t.height/2-e.height/2;break;case"end":i.y=t.y+t.height-e.height;break;default:Ce(r)}break;case"top":i.y=t.y-e.height;break;case"bottom":i.y=t.y+t.height;break;default:Ce(n)}return i}};var lk={quickfix:e=>((e.widthType===2||e.heightType===2)&&(e.aspectRatio=null),K(e.aspectRatio)&&(e.left&&e.right&&(e.widthType=0),e.top&&e.bottom&&(e.heightType=0),e.left&&e.right&&e.top&&e.bottom&&(e.bottom=!1),e.widthType!==0&&e.heightType!==0&&(e.heightType=0)),e.left&&e.right&&((e.fixedSize||e.widthType===2||K(e.maxWidth))&&(e.right=!1),e.widthType=0),e.top&&e.bottom&&((e.fixedSize||e.heightType===2||K(e.maxHeight))&&(e.bottom=!1),e.heightType=0),e)};function bu(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 ck={fromProperties:e=>{let{left:t,right:n,top:r,bottom:i,width:o,height:s,centerX:a,centerY:l,aspectRatio:c,autoSize:u}=e,f=lk.quickfix({left:K(t)||Bn(t),right:K(n)||Bn(n),top:K(r)||Bn(r),bottom:K(i)||Bn(i),widthType:bu(o),heightType:bu(s),aspectRatio:c||null,fixedSize:u===!0}),d=null,p=null,g=0,y=0;if(f.widthType!==0&&typeof o=="string"){let m=parseFloat(o);o.endsWith("fr")?(g=3,d=m):o==="auto"?g=2:(g=1,d=m/100)}else o!==void 0&&typeof o!="string"&&(d=nt.getNumber(o));if(f.heightType!==0&&typeof s=="string"){let m=parseFloat(s);s.endsWith("fr")?(y=3,p=m):s==="auto"?y=2:(y=1,p=parseFloat(s)/100)}else s!==void 0&&typeof s!="string"&&(p=nt.getNumber(s));let b=.5,h=.5;return a&&(b=parseFloat(a)/100),l&&(h=parseFloat(l)/100),{left:f.left?nt.getNumber(t):null,right:f.right?nt.getNumber(n):null,top:f.top?nt.getNumber(r):null,bottom:f.bottom?nt.getNumber(i):null,widthType:g,heightType:y,width:d,height:p,aspectRatio:f.aspectRatio||null,centerAnchorX:b,centerAnchorY:h}},toSize:(e,t,n,r)=>{let i=null,o=null,s=t?.sizing?nt.getNumber(t?.sizing.width):null,a=t?.sizing?nt.getNumber(t?.sizing.height):null,l=XS(e.left,e.right);if(s&&K(l))i=s-l;else if(n&&e.widthType===2)i=n.width;else if(K(e.width))switch(e.widthType){case 0:i=e.width;break;case 3:i=r?r.freeSpaceInParent.width/r.freeSpaceUnitDivisor.width*e.width:null;break;case 1:case 4:s&&(i=s*e.width);break;case 2:break;default:Ce(e.widthType)}let c=XS(e.top,e.bottom);if(a&&K(c))o=a-c;else if(n&&e.heightType===2)o=n.height;else if(K(e.height))switch(e.heightType){case 0:o=e.height;break;case 3:o=r?r.freeSpaceInParent.height/r.freeSpaceUnitDivisor.height*e.height:null;break;case 1:case 4:a&&(o=a*e.height);break;case 2:break;default:Ce(e.heightType)}return jL(i,o,e,{height:a??0,width:s??0},t?.viewport)},toRect:(e,t=null,n=null,r=!1,i=null)=>{let o=e.left||0,s=e.top||0,{width:a,height:l}=ck.toSize(e,t,n,i),c=t?.positioning??null,u=c?nt.getNumber(c.width):null,f=c?nt.getNumber(c.height):null;e.left!==null?o=e.left:u&&e.right!==null?o=u-e.right-a:u&&(o=e.centerAnchorX*u-a/2),e.top!==null?s=e.top:f&&e.bottom!==null?s=f-e.bottom-l:f&&(s=e.centerAnchorY*f-l/2);let d={x:o,y:s,width:a,height:l};return r?Y.pixelAligned(d):d}},BL=200,$L=200;function xu(e,t,n,r){if(typeof t=="string"){if(t.endsWith("%")&&n)switch(e){case"maxWidth":case"minWidth":return parseFloat(t)/100*n.width;case"maxHeight":case"minHeight":return parseFloat(t)/100*n.height;default:break}if(t.endsWith("vh")&&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}return parseFloat(t)}return t}function NL(e,t,n,r){return t.minHeight&&(e=Math.max(xu("minHeight",t.minHeight,n,r),e)),t.maxHeight&&(e=Math.min(xu("maxHeight",t.maxHeight,n,r),e)),e}function HL(e,t,n,r){return t.minWidth&&(e=Math.max(xu("minWidth",t.minWidth,n,r),e)),t.maxWidth&&(e=Math.min(xu("maxWidth",t.maxWidth,n,r),e)),e}function jL(e,t,n,r,i){let o=HL(K(e)?e:BL,n,r,i),s=NL(K(t)?t:$L,n,r,i);return K(n.aspectRatio)&&n.aspectRatio>0&&(K(n.left)&&K(n.right)?s=o/n.aspectRatio:K(n.top)&&K(n.bottom)?o=s*n.aspectRatio:n.widthType!==0?s=o/n.aspectRatio:o=s*n.aspectRatio),{width:o,height:s}}function XS(e,t){return!K(e)||!K(t)?null:e+t}function WL(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 $a(e){return!e._constraints||WL(e)?!1:e._constraints.enabled}function UL(e){let{size:t}=e,{width:n,height:r}=e;return K(t)&&(n===void 0&&(n=t),r===void 0&&(r=t)),K(n)&&K(r)?{width:n,height:r}:null}function GL(e){let t=UL(e);if(t===null)return null;let{left:n,top:r}=e;return K(n)&&K(r)?{x:n,y:r,...t}:null}function Ra(e,t,n=!0){if(e.positionFixed||e.positionAbsolute)return null;let r=t===1||t===2;if(!$a(e)||r)return GL(e);let i=qL(e),o=XL(t),s=o?{sizing:o,positioning:o,viewport:null}:null;return ck.toRect(i,s,null,n,null)}function qL(e){let{left:t,right:n,top:r,bottom:i,center:o,_constraints:s,size:a}=e,{width:l,height:c}=e;l===void 0&&(l=a),c===void 0&&(c=a);let{aspectRatio:u,autoSize:f}=s,d=lk.quickfix({left:K(t),right:K(n),top:K(r),bottom:K(i),widthType:bu(l),heightType:bu(c),aspectRatio:u||null,fixedSize:f===!0}),p=null,g=null,y=0,b=0;if(d.widthType!==0&&typeof l=="string"){let v=parseFloat(l);l.endsWith("fr")?(y=3,p=v):l==="auto"?y=2:(y=1,p=v/100)}else l!==void 0&&typeof l!="string"&&(p=l);if(d.heightType!==0&&typeof c=="string"){let v=parseFloat(c);c.endsWith("fr")?(b=3,g=v):c==="auto"?b=2:(b=1,g=parseFloat(c)/100)}else c!==void 0&&typeof c!="string"&&(g=c);let h=.5,m=.5;return(o===!0||o==="x")&&(d.left=!1,typeof t=="string"&&(h=parseFloat(t)/100)),(o===!0||o==="y")&&(d.top=!1,typeof r=="string"&&(m=parseFloat(r)/100)),{left:d.left?t:null,right:d.right?n:null,top:d.top?r:null,bottom:d.bottom?i:null,widthType:y,heightType:b,width:p,height:g,aspectRatio:d.aspectRatio||null,centerAnchorX:h,centerAnchorY:m,minHeight:e.minHeight,maxHeight:e.maxHeight,minWidth:e.minWidth,maxWidth:e.maxWidth}}var uk=w.createContext({parentSize:0});function XL(e){return e===0||e===1||e===2?null:e}function Na(){return w.useContext(uk).parentSize}function fk(e){return typeof e=="object"}var YL=e=>{let t=Na(),{parentSize:n,children:r}=e,i=w.useMemo(()=>({parentSize:n}),[KL(n),QL(n)]);return t===1?r?k(Ge,{children:r}):null:k(uk.Provider,{value:i,children:r})};function KL(e){return fk(e)?e.width:e}function QL(e){return fk(e)?e.height:e}function ZL(e,t){return k(YL,{parentSize:t,children:e})}function JL(e){let t=Na();return Ra(e,t,!0)}function dk({width:e,height:t}){return e==="auto"||e==="min-content"||t==="auto"||t==="min-content"}var eM=(e=>(e.Boolean="boolean",e.Number="number",e.String="string",e.RichText="richtext",e.FusedNumber="fusednumber",e.Enum="enum",e.SegmentedEnum="segmentedenum",e.Color="color",e.Image="image",e.ResponsiveImage="responsiveimage",e.File="file",e.ComponentInstance="componentinstance",e.Array="array",e.EventHandler="eventhandler",e.Transition="transition",e.BoxShadow="boxshadow",e.Link="link",e.Date="date",e.Object="object",e.Font="font",e.PageScope="pagescope",e.ScrollSectionRef="scrollsectionref",e.CustomCursor="customcursor",e.Border="border",e.Cursor="cursor",e.Padding="padding",e.BorderRadius="borderradius",e.CollectionReference="collectionreference",e.MultiCollectionReference="multicollectionreference",e))(eM||{}),qp;function tM(){if(qp!==void 0)return qp;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),qp=t,t}var Xi="flexbox-gap-not-supported",YS=!1;function XN(){YS||(YS=!0,!tM()&&document.body.classList.add(Xi))}var nM=` [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); } `,rM=` [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); } `,iM=` [data-framer-component-type="DeprecatedRichText"] span[data-text-fill] { display: inline-block; background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; } `,oM=` [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)); } `,sM=` [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))); } `,aM=` 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))); } `,lM=` 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)))); } `,cM=` [data-framer-component-type="DeprecatedRichText"] strong { font-weight: bolder; } `,uM=` [data-framer-component-type="DeprecatedRichText"] em { font-style: italic; } `,fM=` [data-framer-component-type="DeprecatedRichText"] .framer-image { display: block; max-width: 100%; height: auto; } `,dM=` [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; } `,hM=` [data-framer-component-type="DeprecatedRichText"] .text-styles-preset-reset { --framer-font-family: Inter, Inter Placeholder, sans-serif; --framer-font-style: normal; --framer-font-weight: 500; --framer-text-color: #000; --framer-font-size: 16px; --framer-letter-spacing: 0; --framer-text-transform: none; --framer-text-decoration: none; --framer-line-height: 1.2em; --framer-text-alignment: start; --framer-font-open-type-features: normal; } `,pM=` [data-framer-component-type="DeprecatedRichText"] ul, [data-framer-component-type="DeprecatedRichText"] ol { display: table; width: 100%; padding-left: 0; margin: 0; } `,mM=` [data-framer-component-type="DeprecatedRichText"] li { display: table-row; counter-increment: list-item; list-style: none; } `,gM=` [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; } `,vM=` [data-framer-component-type="DeprecatedRichText"] ul > li::before { display: table-cell; width: 2.25ch; box-sizing: border-box; padding-right: 0.75ch; content: "\u2022"; } `,yM=['[data-framer-component-type="DeprecatedRichText"] { cursor: inherit; }',hM,dM,nM,rM,iM,oM,sM,aM,lM,cM,uM,fM,pM,mM,gM,vM],bM=[` p.framer-text, div.framer-text, h1.framer-text, h2.framer-text, h3.framer-text, h4.framer-text, h5.framer-text, h6.framer-text, ol.framer-text, ul.framer-text { margin: 0; padding: 0; } `,` p.framer-text, div.framer-text, h1.framer-text, h2.framer-text, h3.framer-text, h4.framer-text, h5.framer-text, h6.framer-text, li.framer-text, ol.framer-text, ul.framer-text, span.framer-text:not([data-text-fill]) { font-family: var(--framer-blockquote-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif)); font-style: var(--framer-blockquote-font-style, var(--framer-font-style, normal)); font-weight: var(--framer-blockquote-font-weight, var(--framer-font-weight, 400)); color: var(--framer-blockquote-text-color, var(--framer-text-color, #000)); font-size: calc(var(--framer-blockquote-font-size, var(--framer-font-size, 16px)) * var(--framer-font-size-scale, 1)); letter-spacing: var(--framer-blockquote-letter-spacing, var(--framer-letter-spacing, 0)); text-transform: var(--framer-blockquote-text-transform, var(--framer-text-transform, none)); text-decoration: var(--framer-blockquote-text-decoration, var(--framer-text-decoration, none)); line-height: var(--framer-blockquote-line-height, var(--framer-line-height, 1.2em)); text-align: var(--framer-blockquote-text-alignment, var(--framer-text-alignment, start)); -webkit-text-stroke-width: var(--framer-text-stroke-width, initial); -webkit-text-stroke-color: var(--framer-text-stroke-color, initial); -moz-font-feature-settings: var(--framer-font-open-type-features, initial); -webkit-font-feature-settings: var(--framer-font-open-type-features, initial); font-feature-settings: var(--framer-font-open-type-features, initial); text-wrap: var(--framer-text-wrap-override, var(--framer-text-wrap)); } `,` .framer-fit-text .framer-text { white-space: nowrap; white-space-collapse: preserve; } `,` strong.framer-text { font-family: var(--framer-blockquote-font-family-bold, var(--framer-font-family-bold)); font-style: var(--framer-blockquote-font-style-bold, var(--framer-font-style-bold)); font-weight: var(--framer-blockquote-font-weight-bold, var(--framer-font-weight-bold, bolder)); } `,` em.framer-text { font-family: var(--framer-blockquote-font-family-italic, var(--framer-font-family-italic)); font-style: var(--framer-blockquote-font-style-italic, var(--framer-font-style-italic, italic)); font-weight: var(--framer-blockquote-font-weight-italic, var(--framer-font-weight-italic)); } `,` em.framer-text > strong.framer-text { font-family: var(--framer-blockquote-font-family-bold-italic, var(--framer-font-family-bold-italic)); font-style: var(--framer-blockquote-font-style-bold-italic, var(--framer-font-style-bold-italic, italic)); font-weight: var(--framer-blockquote-font-weight-bold-italic, var(--framer-font-weight-bold-italic, bolder)); } `,` p.framer-text:not(:first-child), div.framer-text:not(:first-child), h1.framer-text:not(:first-child), h2.framer-text:not(:first-child), h3.framer-text:not(:first-child), h4.framer-text:not(:first-child), h5.framer-text:not(:first-child), h6.framer-text:not(:first-child), ol.framer-text:not(:first-child), ul.framer-text:not(:first-child), blockquote.framer-text:not(:first-child), .framer-image.framer-text:not(:first-child) { margin-top: var(--framer-blockquote-paragraph-spacing, var(--framer-paragraph-spacing, 0)); } `,` li.framer-text > ul.framer-text:nth-child(2), li.framer-text > ol.framer-text:nth-child(2) { margin-top: 0; } `,` .framer-text[data-text-fill] { display: inline-block; background-clip: text; -webkit-background-clip: text; /* make this a transparent color if you want to visualise the clipping */ -webkit-text-fill-color: transparent; padding: max(0em, calc(calc(1.3em - var(--framer-blockquote-line-height, var(--framer-line-height, 1.3em))) / 2)); margin: min(0em, calc(calc(1.3em - var(--framer-blockquote-line-height, var(--framer-line-height, 1.3em))) / -2)); } `,` code.framer-text, code.framer-text span.framer-text:not([data-text-fill]) { font-family: var(--framer-blockquote-font-family, var(--framer-code-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif))); font-style: var(--framer-blockquote-font-style, var(--framer-code-font-style, var(--framer-font-style, normal))); font-weight: var(--framer-blockquote-font-weight, var(--framer-code-font-weight, var(--framer-font-weight, 400))); color: var(--framer-blockquote-text-color, var(--framer-code-text-color, var(--framer-text-color, #000))); font-size: calc(var(--framer-blockquote-font-size, var(--framer-font-size, 16px)) * var(--framer-font-size-scale, 1)); letter-spacing: var(--framer-blockquote-letter-spacing, var(--framer-letter-spacing, 0)); line-height: var(--framer-blockquote-line-height, var(--framer-line-height, 1.2em)); } `,` blockquote.framer-text { margin-block-start: initial; margin-block-end: initial; margin-inline-start: initial; margin-inline-end: initial; unicode-bidi: initial; } `,` a.framer-text, a.framer-text span.framer-text:not([data-text-fill]) { font-family: var(--framer-blockquote-font-family, var(--framer-link-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif))); font-style: var(--framer-blockquote-font-style, var(--framer-link-font-style, var(--framer-font-style, normal))); font-weight: var(--framer-blockquote-font-weight, var(--framer-link-font-weight, var(--framer-font-weight, 400))); color: var(--framer-blockquote-text-color, var(--framer-link-text-color, var(--framer-text-color, #000))); font-size: calc(var(--framer-blockquote-font-size, var(--framer-font-size, 16px)) * var(--framer-font-size-scale, 1)); text-transform: var(--framer-blockquote-text-transform, var(--framer-link-text-transform, var(--framer-text-transform, none))); text-decoration: var(--framer-blockquote-text-decoration, var(--framer-link-text-decoration, var(--framer-text-decoration, none))); /* Cursor inherit to overwrite the user agent stylesheet on rich text links. */ cursor: var(--framer-custom-cursors, pointer); } `,` code.framer-text a.framer-text, code.framer-text a.framer-text span.framer-text:not([data-text-fill]) { font-family: var(--framer-blockquote-font-family, var(--framer-code-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif))); font-style: var(--framer-blockquote-font-style, var(--framer-code-font-style, var(--framer-font-style, normal))); font-weight: var(--framer-blockquote-font-weight, var(--framer-code-font-weight, var(--framer-font-weight, 400))); color: var(--framer-blockquote-text-color, var(--framer-link-text-color, var(--framer-code-text-color, var(--framer-text-color, #000)))); font-size: calc(var(--framer-blockquote-font-size, var(--framer-font-size, 16px)) * var(--framer-font-size-scale, 1)); } `,` a.framer-text:hover, a.framer-text:hover span.framer-text:not([data-text-fill]) { font-family: var(--framer-link-hover-font-family, var(--framer-blockquote-font-family, var(--framer-link-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif)))); font-style: var(--framer-link-hover-font-style, var(--framer-blockquote-font-style, var(--framer-link-font-style, var(--framer-font-style, normal)))); font-weight: var(--framer-link-hover-font-weight, var(--framer-blockquote-font-weight, var(--framer-link-font-weight, var(--framer-font-weight, 400)))); color: var(--framer-link-hover-text-color, var(--framer-blockquote-text-color, var(--framer-link-text-color, var(--framer-text-color, #000)))); font-size: calc(var(--framer-link-hover-font-size, var(--framer-blockquote-font-size, var(--framer-font-size, 16px))) * var(--framer-font-size-scale, 1)); text-transform: var(--framer-link-hover-text-transform, var(--framer-blockquote-text-transform, var(--framer-link-text-transform, var(--framer-text-transform, none)))); text-decoration: var(--framer-link-hover-text-decoration, var(--framer-blockquote-text-decoration, var(--framer-link-text-decoration, var(--framer-text-decoration, none)))); } `,` code.framer-text a.framer-text:hover, code.framer-text a.framer-text:hover span.framer-text:not([data-text-fill]) { font-family: var(--framer-blockquote-font-family, var(--framer-code-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif))); font-style: var(--framer-blockquote-font-style, var(--framer-code-font-style, var(--framer-font-style, normal))); font-weight: var(--framer-blockquote-font-weight, var(--framer-code-font-weight, var(--framer-font-weight, 400))); color: var(--framer-link-hover-text-color, var(--framer-blockquote-text-color, var(--framer-link-text-color, var(--framer-code-text-color, var(--framer-text-color, #000))))); font-size: calc(var(--framer-link-hover-font-size, var(--framer-blockquote-font-size, var(--framer-link-font-size, var(--framer-font-size, 16px)))) * var(--framer-font-size-scale, 1)); } `,` a.framer-text[data-framer-page-link-current], a.framer-text[data-framer-page-link-current] span.framer-text:not([data-text-fill]) { font-family: var(--framer-link-current-font-family, var(--framer-link-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif))); font-style: var(--framer-link-current-font-style, var(--framer-link-font-style, var(--framer-font-style, normal))); font-weight: var(--framer-link-current-font-weight, var(--framer-link-font-weight, var(--framer-font-weight, 400))); color: var(--framer-link-current-text-color, var(--framer-link-text-color, var(--framer-text-color, #000))); font-size: calc(var(--framer-link-current-font-size, var(--framer-link-font-size, var(--framer-font-size, 16px))) * var(--framer-font-size-scale, 1)); text-transform: var(--framer-link-current-text-transform, var(--framer-link-text-transform, var(--framer-text-transform, none))); text-decoration: var(--framer-link-current-text-decoration, var(--framer-link-text-decoration, var(--framer-text-decoration, none))); } `,` code.framer-text a.framer-text[data-framer-page-link-current], code.framer-text a.framer-text[data-framer-page-link-current] span.framer-text:not([data-text-fill]) { font-family: var(--framer-code-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif)); font-style: var(--framer-code-font-style, var(--framer-font-style, normal)); font-weight: var(--framer-code-font-weight, var(--framer-font-weight, 400)); color: var(--framer-link-current-text-color, var(--framer-link-text-color, var(--framer-code-text-color, var(--framer-text-color, #000)))); font-size: calc(var(--framer-link-current-font-size, var(--framer-link-font-size, var(--framer-font-size, 16px))) * var(--framer-font-size-scale, 1)); } `,` a.framer-text[data-framer-page-link-current]:hover, a.framer-text[data-framer-page-link-current]:hover span.framer-text:not([data-text-fill]) { font-family: var(--framer-link-hover-font-family, var(--framer-link-current-font-family, var(--framer-link-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif)))); font-style: var(--framer-link-hover-font-style, var(--framer-link-current-font-style, var(--framer-link-font-style, var(--framer-font-style, normal)))); font-weight: var(--framer-link-hover-font-weight, var(--framer-link-current-font-weight, var(--framer-link-font-weight, var(--framer-font-weight, 400)))); color: var(--framer-link-hover-text-color, var(--framer-link-current-text-color, var(--framer-link-text-color, var(--framer-text-color, #000)))); font-size: calc(var(--framer-link-hover-font-size, var(--framer-link-current-font-size, var(--framer-link-font-size, var(--framer-font-size, 16px)))) * var(--framer-font-size-scale, 1)); text-transform: var(--framer-link-hover-text-transform, var(--framer-link-current-text-transform, var(--framer-link-text-transform, var(--framer-text-transform, none)))); text-decoration: var(--framer-link-hover-text-decoration, var(--framer-link-current-text-decoration, var(--framer-link-text-decoration, var(--framer-text-decoration, none)))); } `,` code.framer-text a.framer-text[data-framer-page-link-current]:hover, code.framer-text a.framer-text[data-framer-page-link-current]:hover span.framer-text:not([data-text-fill]) { font-family: var(--framer-code-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif)); font-style: var(--framer-code-font-style, var(--framer-font-style, normal)); font-weight: var(--framer-code-font-weight, var(--framer-font-weight, 400)); color: var(--framer-link-hover-text-color, var(--framer-link-current-text-color, var(--framer-link-text-color, var(--framer-code-text-color, var(--framer-text-color, #000))))); font-size: calc(var(--framer-link-hover-font-size, var(--framer-link-current-font-size, var(--framer-link-font-size, var(--framer-font-size, 16px)))) * var(--framer-font-size-scale, 1)); } `,` .framer-image.framer-text { display: block; max-width: 100%; height: auto; } `,` .text-styles-preset-reset.framer-text { --framer-font-family: Inter, Inter Placeholder, sans-serif; --framer-font-style: normal; --framer-font-weight: 500; --framer-text-color: #000; --framer-font-size: 16px; --framer-letter-spacing: 0; --framer-text-transform: none; --framer-text-decoration: none; --framer-line-height: 1.2em; --framer-text-alignment: start; --framer-font-open-type-features: normal; } `,` ol.framer-text { --list-style-type: decimal; } `,` ul.framer-text, ol.framer-text { display: table; width: 100%; } `,` li.framer-text { display: table-row; counter-increment: list-item; list-style: none; } `,` ol.framer-text > li.framer-text::before { display: table-cell; width: 2.25ch; box-sizing: border-box; padding-inline-end: 0.75ch; content: counter(list-item, var(--list-style-type)) "."; white-space: nowrap; } `,` ul.framer-text > li.framer-text::before { display: table-cell; width: 2.25ch; box-sizing: border-box; padding-inline-end: 0.75ch; content: "\u2022"; } `,` .framer-text-module[style*="aspect-ratio"] > :first-child { width: 100%; } `,` @supports not (aspect-ratio: 1) { .framer-text-module[style*="aspect-ratio"] { position: relative; } } `,` @supports not (aspect-ratio: 1) { .framer-text-module[style*="aspect-ratio"]::before { content: ""; display: block; padding-bottom: calc(100% / calc(var(--aspect-ratio))); } } `,` @supports not (aspect-ratio: 1) { .framer-text-module[style*="aspect-ratio"] > :first-child { position: absolute; top: 0; left: 0; height: 100%; } } `],xM=new Set,Xp;function hk(e,t,n=xM){if(!(!e||n.has(e)||typeof document>"u")){if(n.add(e),!t){if(!Xp){let r=document.createElement("style");if(r.setAttribute("type","text/css"),r.setAttribute("data-framer-css","true"),!document.head){console.warn("not injecting CSS: the document is missing a element");return}if(document.head.appendChild(r),r.sheet)Xp=r.sheet;else{console.warn("not injecting CSS: injected