Files
TD_Portfolio/Social_Media/scripts/chunk-ZLFJQ64H.mjs
T
Tomas Dvorak 882f91ebf6 first commit
2025-01-04 11:45:15 +01:00

596 lines
365 KiB
JavaScript

import{a as Qd,b as fr,c as N}from"./chunk-ELYU6EKT.mjs";var Me={};Qd(Me,{Children:()=>hr,Component:()=>ne,Fragment:()=>hn,Profiler:()=>vh,PureComponent:()=>ts,StrictMode:()=>gh,Suspense:()=>yh,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:()=>xh,cloneElement:()=>Ct,createContext:()=>ie,createElement:()=>q,createFactory:()=>bh,createRef:()=>rs,default:()=>h,forwardRef:()=>ye,isValidElement:()=>Ut,lazy:()=>Sh,memo:()=>wh,startTransition:()=>Ti,unstable_act:()=>Ch,useCallback:()=>ae,useContext:()=>P,useDebugValue:()=>Th,useDeferredValue:()=>Eh,useEffect:()=>A,useId:()=>Tt,useImperativeHandle:()=>Rh,useInsertionEffect:()=>Et,useLayoutEffect:()=>pr,useMemo:()=>ee,useReducer:()=>kh,useRef:()=>L,useState:()=>Re,useSyncExternalStore:()=>_h,useTransition:()=>Ph,version:()=>Ih});var h={},dr=Symbol.for("react.element"),th=Symbol.for("react.portal"),rh=Symbol.for("react.fragment"),nh=Symbol.for("react.strict_mode"),ih=Symbol.for("react.profiler"),oh=Symbol.for("react.provider"),ah=Symbol.for("react.context"),sh=Symbol.for("react.forward_ref"),lh=Symbol.for("react.suspense"),ch=Symbol.for("react.memo"),uh=Symbol.for("react.lazy"),ja=Symbol.iterator;function fh(e){return e===null||typeof e!="object"?null:(e=ja&&e[ja]||e["@@iterator"],typeof e=="function"?e:null)}var Ya={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Ka=Object.assign,qa={};function $t(e,t,r){this.props=e,this.context=t,this.refs=qa,this.updater=r||Ya}$t.prototype.isReactComponent={};$t.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};$t.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Za(){}Za.prototype=$t.prototype;function bi(e,t,r){this.props=e,this.context=t,this.refs=qa,this.updater=r||Ya}var Si=bi.prototype=new Za;Si.constructor=bi;Ka(Si,$t.prototype);Si.isPureReactComponent=!0;var Ga=Array.isArray,Ja=Object.prototype.hasOwnProperty,wi={current:null},Qa={key:!0,ref:!0,__self:!0,__source:!0};function es(e,t,r){var n,i={},o=null,a=null;if(t!=null)for(n in t.ref!==void 0&&(a=t.ref),t.key!==void 0&&(o=""+t.key),t)Ja.call(t,n)&&!Qa.hasOwnProperty(n)&&(i[n]=t[n]);var s=arguments.length-2;if(s===1)i.children=r;else if(1<s){for(var l=Array(s),c=0;c<s;c++)l[c]=arguments[c+2];i.children=l}if(e&&e.defaultProps)for(n in s=e.defaultProps,s)i[n]===void 0&&(i[n]=s[n]);return{$$typeof:dr,type:e,key:o,ref:a,props:i,_owner:wi.current}}function dh(e,t){return{$$typeof:dr,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Ci(e){return typeof e=="object"&&e!==null&&e.$$typeof===dr}function hh(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(r){return t[r]})}var Xa=/\/+/g;function xi(e,t){return typeof e=="object"&&e!==null&&e.key!=null?hh(""+e.key):t.toString(36)}function fn(e,t,r,n,i){var o=typeof e;o!=="undefined"&&o!=="boolean"||(e=null);var a=!1;if(e===null)a=!0;else switch(o){case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case dr:case th:a=!0}}if(a)return a=e,i=i(a),e=n===""?"."+xi(a,0):n,Ga(i)?(r="",e!=null&&(r=e.replace(Xa,"$&/")+"/"),fn(i,t,r,"",function(c){return c})):i!=null&&(Ci(i)&&(i=dh(i,r+(!i.key||a&&a.key===i.key?"":(""+i.key).replace(Xa,"$&/")+"/")+e)),t.push(i)),1;if(a=0,n=n===""?".":n+":",Ga(e))for(var s=0;s<e.length;s++){o=e[s];var l=n+xi(o,s);a+=fn(o,t,r,l,i)}else if(l=fh(e),typeof l=="function")for(e=l.call(e),s=0;!(o=e.next()).done;)o=o.value,l=n+xi(o,s++),a+=fn(o,t,r,l,i);else if(o==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return a}function un(e,t,r){if(e==null)return e;var n=[],i=0;return fn(e,n,"","",function(o){return t.call(r,o,i++)}),n}function ph(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(r){e._status!==0&&e._status!==-1||(e._status=1,e._result=r)},function(r){e._status!==0&&e._status!==-1||(e._status=2,e._result=r)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var Ce={current:null},dn={transition:null},mh={ReactCurrentDispatcher:Ce,ReactCurrentBatchConfig:dn,ReactCurrentOwner:wi};h.Children={map:un,forEach:function(e,t,r){un(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return un(e,function(){t++}),t},toArray:function(e){return un(e,function(t){return t})||[]},only:function(e){if(!Ci(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};h.Component=$t;h.Fragment=rh;h.Profiler=ih;h.PureComponent=bi;h.StrictMode=nh;h.Suspense=lh;h.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=mh;h.cloneElement=function(e,t,r){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var n=Ka({},e.props),i=e.key,o=e.ref,a=e._owner;if(t!=null){if(t.ref!==void 0&&(o=t.ref,a=wi.current),t.key!==void 0&&(i=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(l in t)Ja.call(t,l)&&!Qa.hasOwnProperty(l)&&(n[l]=t[l]===void 0&&s!==void 0?s[l]:t[l])}var l=arguments.length-2;if(l===1)n.children=r;else if(1<l){s=Array(l);for(var c=0;c<l;c++)s[c]=arguments[c+2];n.children=s}return{$$typeof:dr,type:e.type,key:i,ref:o,props:n,_owner:a}};h.createContext=function(e){return e={$$typeof:ah,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:oh,_context:e},e.Consumer=e};h.createElement=es;h.createFactory=function(e){var t=es.bind(null,e);return t.type=e,t};h.createRef=function(){return{current:null}};h.forwardRef=function(e){return{$$typeof:sh,render:e}};h.isValidElement=Ci;h.lazy=function(e){return{$$typeof:uh,_payload:{_status:-1,_result:e},_init:ph}};h.memo=function(e,t){return{$$typeof:ch,type:e,compare:t===void 0?null:t}};h.startTransition=function(e){var t=dn.transition;dn.transition={};try{e()}finally{dn.transition=t}};h.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")};h.useCallback=function(e,t){return Ce.current.useCallback(e,t)};h.useContext=function(e){return Ce.current.useContext(e)};h.useDebugValue=function(){};h.useDeferredValue=function(e){return Ce.current.useDeferredValue(e)};h.useEffect=function(e,t){return Ce.current.useEffect(e,t)};h.useId=function(){return Ce.current.useId()};h.useImperativeHandle=function(e,t,r){return Ce.current.useImperativeHandle(e,t,r)};h.useInsertionEffect=function(e,t){return Ce.current.useInsertionEffect(e,t)};h.useLayoutEffect=function(e,t){return Ce.current.useLayoutEffect(e,t)};h.useMemo=function(e,t){return Ce.current.useMemo(e,t)};h.useReducer=function(e,t,r){return Ce.current.useReducer(e,t,r)};h.useRef=function(e){return Ce.current.useRef(e)};h.useState=function(e){return Ce.current.useState(e)};h.useSyncExternalStore=function(e,t,r){return Ce.current.useSyncExternalStore(e,t,r)};h.useTransition=function(){return Ce.current.useTransition()};h.version="18.1.0";var hr=h.Children,ne=h.Component,hn=h.Fragment,vh=h.Profiler,ts=h.PureComponent,gh=h.StrictMode,yh=h.Suspense,xh=h.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Ct=h.cloneElement,ie=h.createContext,q=h.createElement,bh=h.createFactory,rs=h.createRef,ye=h.forwardRef,Ut=h.isValidElement,Sh=h.lazy,wh=h.memo,Ti=h.startTransition,Ch=h.unstable_act,ae=h.useCallback,P=h.useContext,Th=h.useDebugValue,Eh=h.useDeferredValue,A=h.useEffect,Tt=h.useId,Rh=h.useImperativeHandle,Et=h.useInsertionEffect,pr=h.useLayoutEffect,ee=h.useMemo,kh=h.useReducer,L=h.useRef,Re=h.useState,_h=h.useSyncExternalStore,Ph=h.useTransition,Ih=h.version;var Fh=Object.create,yl=Object.defineProperty,Mh=Object.getOwnPropertyDescriptor,xl=Object.getOwnPropertyNames,Lh=Object.getPrototypeOf,Oh=Object.prototype.hasOwnProperty,Ge=(e,t)=>function(){return t||(0,e[xl(e)[0]])((t={exports:{}}).exports,t),t.exports},Ah=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of xl(t))!Oh.call(e,i)&&i!==r&&yl(e,i,{get:()=>t[i],enumerable:!(n=Mh(t,i))||n.enumerable});return e},he=(e,t,r)=>(r=e!=null?Fh(Lh(e)):{},Ah(t||!e||!e.__esModule?yl(r,"default",{value:e,enumerable:!0}):r,e)),bl=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)},_e=(e,t,r)=>(bl(e,t,"read from private field"),r?r.call(e):t.get(e)),Mr=(e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)},oo=(e,t,r,n)=>(bl(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r),Vh=Ge({"../../../node_modules/@emotion/memoize/dist/memoize.browser.cjs.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});function t(r){var n={};return function(i){return n[i]===void 0&&(n[i]=r(i)),n[i]}}e.default=t}}),Dh=Ge({"../../../node_modules/@emotion/is-prop-valid/dist/is-prop-valid.browser.cjs.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});function t(o){return o&&typeof o=="object"&&"default"in o?o.default:o}var r=t(Vh()),n=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,i=r(function(o){return n.test(o)||o.charCodeAt(0)===111&&o.charCodeAt(1)===110&&o.charCodeAt(2)<91});e.default=i}}),ct=ie({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),Lr=ie({}),qt=ie(null),Or=typeof document<"u",ut=Or?pr:A,Rr=ie({}),kn=ie({}),Sl=ie({strict:!1});function Bh(e,t,r,n){let{visualElement:i}=P(Lr),o=P(Sl),a=P(qt),s=P(ct).reducedMotion,l=L();n=n||o.renderer,!l.current&&n&&(l.current=n(e,{visualState:t,parent:i,props:r,presenceContext:a,blockInitialAnimation:a?a.initial===!1:!1,reducedMotionConfig:s}));let c=l.current;return Et(()=>{c&&c.update(r,a)}),ut(()=>{c&&c.render()}),A(()=>{c&&c.updateFeatures()}),(N.HandoffAppearAnimations?ut:A)(()=>{c&&c.animationState&&c.animationState.animateChanges()}),c}function jt(e){return typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function Hh(e,t,r){return ae(n=>{n&&e.mount&&e.mount(n),t&&(n?t.mount(n):t.unmount()),r&&(typeof r=="function"?r(n):jt(r)&&(r.current=n))},[t])}function kr(e){return typeof e=="string"||Array.isArray(e)}function _n(e){return typeof e=="object"&&typeof e.start=="function"}var ao=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],so=["initial",...ao];function Pn(e){return _n(e.animate)||so.some(t=>kr(e[t]))}function wl(e){return Boolean(Pn(e)||e.variants)}function zh(e,t){if(Pn(e)){let{initial:r,animate:n}=e;return{initial:r===!1||kr(r)?r:void 0,animate:kr(n)?n:void 0}}return e.inherit!==!1?t:{}}function Nh(e){let{initial:t,animate:r}=zh(e,P(Lr));return ee(()=>({initial:t,animate:r}),[ns(t),ns(r)])}function ns(e){return Array.isArray(e)?e.join(" "):e}var is={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},_r={};for(let e in is)_r[e]={isEnabled:t=>is[e].some(r=>!!t[r])};function $h(e){for(let t in e)_r[t]={..._r[t],...e[t]}}function Xe(e){let t=L(null);return t.current===null&&(t.current=e()),t.current}var xr={hasAnimatedSinceResize:!0,hasEverUpdated:!1},Uh=1;function Wh(){return Xe(()=>{if(xr.hasEverUpdated)return Uh++})}var lo=Symbol.for("motionComponentSymbol");function Cl({preloadedFeatures:e,createVisualElement:t,useRender:r,useVisualState:n,Component:i}){e&&$h(e);function o(s,l){let c,u={...P(ct),...s,layoutId:jh(s)},{isStatic:f}=u,d=Nh(s),p=f?void 0:Wh(),m=n(s,f);if(!f&&Or){d.visualElement=Bh(i,m,u,t);let y=P(kn),x=P(Sl).strict;d.visualElement&&(c=d.visualElement.loadFeatures(u,x,e,p,y))}return q(Lr.Provider,{value:d},c&&d.visualElement?q(c,{visualElement:d.visualElement,...u}):null,r(i,s,p,Hh(m,d.visualElement,l),m,f,d.visualElement))}let a=ye(o);return a[lo]=i,a}function jh({layoutId:e}){let t=P(Rr).id;return t&&e!==void 0?t+"-"+e:e}var bn={};function co(e){Object.assign(bn,e)}var fe=e=>Boolean(e&&e.getVelocity),In=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Ft=new Set(In),Gh={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Xh=In.length;function Tl(e,{enableHardwareAcceleration:t=!0,allowTransformNone:r=!0},n,i){let o="";for(let a=0;a<Xh;a++){let s=In[a];if(e[s]!==void 0){let l=Gh[s]||s;o+=`${l}(${e[s]}) `}}return t&&!e.z&&(o+="translateZ(0)"),o=o.trim(),i?o=i(e,n?"":o):r&&n&&(o="none"),o}var ft=(e,t,r)=>Math.min(Math.max(r,e),t),br=e=>Math.round(e*1e5)/1e5,Pr=/(-)?([\d]*\.?[\d])+/g,Bi=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,Yh=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function Ar(e){return typeof e=="string"}var Vr=e=>({test:t=>Ar(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),at=Vr("deg"),$e=Vr("%"),O=Vr("px"),Kh=Vr("vh"),qh=Vr("vw"),os={...$e,parse:e=>$e.parse(e)/100,transform:e=>$e.transform(e*100)},Zh=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","ignoreStrict","viewport"]);function Yt(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||Zh.has(e)}var El=e=>!Yt(e);function Rl(e){e&&(El=t=>t.startsWith("on")?!Yt(t):e(t))}try{Rl(Dh().default)}catch{}function kl(e,t,r){let n={};for(let i in e)i==="values"&&typeof e.values=="object"||(El(i)||r===!0&&Yt(i)||!t&&!Yt(i)||e.draggable&&i.startsWith("onDrag"))&&(n[i]=e[i]);return n}var Sn=e=>Array.isArray(e),Jh=e=>Boolean(e&&typeof e=="object"&&e.mix&&e.toValue),Qh=e=>Sn(e)?e[e.length-1]||0:e;function be(e){let t=fe(e)?e.get():e;return Jh(t)?t.toValue():t}function uo(e,t,r,n={},i={}){return typeof t=="function"&&(t=t(r!==void 0?r:e.custom,n,i)),typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"&&(t=t(r!==void 0?r:e.custom,n,i)),t}function ep({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:r},n,i,o){let a={latestValues:tp(n,i,o,e),renderState:t()};return r&&(a.mount=s=>r(n,s,a)),a}var Fn=e=>(t,r)=>{let n=P(Lr),i=P(qt),o=()=>ep(e,t,n,i);return r?o():Xe(o)};function tp(e,t,r,n){let i={},o=n(e,{});for(let d in o)i[d]=be(o[d]);let{initial:a,animate:s}=e,l=Pn(e),c=wl(e);t&&c&&!l&&e.inherit!==!1&&(a===void 0&&(a=t.initial),s===void 0&&(s=t.animate));let u=r?r.initial===!1:!1;u=u||a===!1;let f=u?s:a;return f&&typeof f!="boolean"&&!_n(f)&&(Array.isArray(f)?f:[f]).forEach(p=>{let m=uo(e,p);if(!m)return;let{transitionEnd:y,transition:x,...v}=m;for(let b in v){let g=v[b];if(Array.isArray(g)){let S=u?g.length-1:0;g=g[S]}g!==null&&(i[b]=g)}for(let b in y)i[b]=y[b]}),i}var _l=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;function Mn(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}var Pl=e=>t=>_l(t)&&e(t,Mn(t));function Qe(e,t,r,n={passive:!0}){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r)}function Ue(e,t,r,n){return Qe(e,t,Pl(r),n)}var rp=(e,t)=>r=>t(e(r)),et=(...e)=>e.reduce(rp);function Il(e){let t=null;return()=>{let r=()=>{t=null};return t===null?(t=e,r):!1}}var as=Il("dragHorizontal"),ss=Il("dragVertical");function Fl(e){let t=!1;if(e==="y")t=ss();else if(e==="x")t=as();else{let r=as(),n=ss();r&&n?t=()=>{r(),n()}:(r&&r(),n&&n())}return t}function fo(){let e=Fl(!0);return e?(e(),!1):!0}var ue={delta:0,timestamp:0,isProcessing:!1};function np(e){let t=[],r=[],n=0,i=!1,o=!1,a=new WeakSet,s={schedule:(l,c=!1,u=!1)=>{let f=u&&i,d=f?t:r;return c&&a.add(l),d.indexOf(l)===-1&&(d.push(l),f&&i&&(n=t.length)),l},cancel:l=>{let c=r.indexOf(l);c!==-1&&r.splice(c,1),a.delete(l)},process:l=>{if(i){o=!0;return}if(i=!0,[t,r]=[r,t],r.length=0,n=t.length,n)for(let c=0;c<n;c++){let u=t[c];u(l),a.has(u)&&(s.schedule(u),e())}i=!1,o&&(o=!1,s.process(l))}};return s}var ip=40,Hi=!0,Ir=!1,Dr=["read","update","preRender","render","postRender"],Ln=Dr.reduce((e,t)=>(e[t]=np(()=>Ir=!0),e),{}),W=Dr.reduce((e,t)=>{let r=Ln[t];return e[t]=(n,i=!1,o=!1)=>(Ir||ap(),r.schedule(n,i,o)),e},{}),De=Dr.reduce((e,t)=>(e[t]=Ln[t].cancel,e),{}),Ei=Dr.reduce((e,t)=>(e[t]=()=>Ln[t].process(ue),e),{}),op=e=>Ln[e].process(ue),Ml=e=>{Ir=!1,ue.delta=Hi?1e3/60:Math.max(Math.min(e-ue.timestamp,ip),1),ue.timestamp=e,ue.isProcessing=!0,Dr.forEach(op),ue.isProcessing=!1,Ir&&(Hi=!1,requestAnimationFrame(Ml))},ap=()=>{Ir=!0,Hi=!0,ue.isProcessing||requestAnimationFrame(Ml)},ho=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),sp="framerAppearId",Ll="data-"+ho(sp),de=e=>e,Br=de,ge=de,Ol=(e,t,r)=>(((1-3*r+3*t)*e+(3*r-6*t))*e+3*t)*e,lp=1e-7,cp=12;function up(e,t,r,n,i){let o,a,s=0;do a=t+(r-t)/2,o=Ol(a,n,i)-e,o>0?r=a:t=a;while(Math.abs(o)>lp&&++s<cp);return a}function Zt(e,t,r,n){if(e===t&&r===n)return de;let i=o=>up(o,0,1,e,r);return o=>o===0||o===1?o:Ol(i(o),t,n)}var Al=Zt(.42,0,1,1),Vl=Zt(0,0,.58,1),po=Zt(.42,0,.58,1),mo=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,vo=e=>t=>1-e(1-t),go=e=>1-Math.sin(Math.acos(e)),On=vo(go),Dl=mo(On),yo=Zt(.33,1.53,.69,.99),An=vo(yo),Bl=mo(An),Hl=e=>(e*=2)<1?.5*An(e):.5*(2-Math.pow(2,-10*(e-1))),Mt={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Sr={...Mt,transform:e=>ft(0,1,e)},pn={...Mt,default:1},xo=(e,t)=>r=>Boolean(Ar(r)&&Yh.test(r)&&r.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(r,t)),zl=(e,t,r)=>n=>{if(!Ar(n))return n;let[i,o,a,s]=n.match(Pr);return{[e]:parseFloat(i),[t]:parseFloat(o),[r]:parseFloat(a),alpha:s!==void 0?parseFloat(s):1}},fp=e=>ft(0,255,e),Ri={...Mt,transform:e=>Math.round(fp(e))},Pt={test:xo("rgb","red"),parse:zl("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:n=1})=>"rgba("+Ri.transform(e)+", "+Ri.transform(t)+", "+Ri.transform(r)+", "+br(Sr.transform(n))+")"};function dp(e){let t="",r="",n="",i="";return e.length>5?(t=e.substring(1,3),r=e.substring(3,5),n=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),r=e.substring(2,3),n=e.substring(3,4),i=e.substring(4,5),t+=t,r+=r,n+=n,i+=i),{red:parseInt(t,16),green:parseInt(r,16),blue:parseInt(n,16),alpha:i?parseInt(i,16)/255:1}}var zi={test:xo("#"),parse:dp,transform:Pt.transform},Gt={test:xo("hsl","hue"),parse:zl("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:n=1})=>"hsla("+Math.round(e)+", "+$e.transform(br(t))+", "+$e.transform(br(r))+", "+br(Sr.transform(n))+")"},xe={test:e=>Pt.test(e)||zi.test(e)||Gt.test(e),parse:e=>Pt.test(e)?Pt.parse(e):Gt.test(e)?Gt.parse(e):zi.parse(e),transform:e=>Ar(e)?e:e.hasOwnProperty("red")?Pt.transform(e):Gt.transform(e)},Q=(e,t,r)=>-r*e+r*t+e,Nl="${c}",$l="${n}";function hp(e){var t,r;return isNaN(e)&&Ar(e)&&(((t=e.match(Pr))===null||t===void 0?void 0:t.length)||0)+(((r=e.match(Bi))===null||r===void 0?void 0:r.length)||0)>0}function wn(e){typeof e=="number"&&(e=`${e}`);let t=[],r=0,n=0,i=e.match(Bi);i&&(r=i.length,e=e.replace(Bi,Nl),t.push(...i.map(xe.parse)));let o=e.match(Pr);return o&&(n=o.length,e=e.replace(Pr,$l),t.push(...o.map(Mt.parse))),{values:t,numColors:r,numNumbers:n,tokenised:e}}function Ul(e){return wn(e).values}function Wl(e){let{values:t,numColors:r,tokenised:n}=wn(e),i=t.length;return o=>{let a=n;for(let s=0;s<i;s++)a=a.replace(s<r?Nl:$l,s<r?xe.transform(o[s]):br(o[s]));return a}}var pp=e=>typeof e=="number"?0:e;function mp(e){let t=Ul(e);return Wl(e)(t.map(pp))}var je={test:hp,parse:Ul,createTransformer:Wl,getAnimatableNone:mp},dt=(e,t,r)=>{let n=t-e;return n===0?1:(r-e)/n};function ki(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+(t-e)*6*r:r<1/2?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function vp({hue:e,saturation:t,lightness:r,alpha:n}){e/=360,t/=100,r/=100;let i=0,o=0,a=0;if(!t)i=o=a=r;else{let s=r<.5?r*(1+t):r+t-r*t,l=2*r-s;i=ki(l,s,e+1/3),o=ki(l,s,e),a=ki(l,s,e-1/3)}return{red:Math.round(i*255),green:Math.round(o*255),blue:Math.round(a*255),alpha:n}}var _i=(e,t,r)=>{let n=e*e;return Math.sqrt(Math.max(0,r*(t*t-n)+n))},gp=[zi,Pt,Gt],yp=e=>gp.find(t=>t.test(e));function ls(e){let t=yp(e);ge(Boolean(t),`'${e}' is not an animatable color. Use the equivalent color code instead.`);let r=t.parse(e);return t===Gt&&(r=vp(r)),r}var jl=(e,t)=>{let r=ls(e),n=ls(t),i={...r};return o=>(i.red=_i(r.red,n.red,o),i.green=_i(r.green,n.green,o),i.blue=_i(r.blue,n.blue,o),i.alpha=Q(r.alpha,n.alpha,o),Pt.transform(i))};function Gl(e,t){return typeof e=="number"?r=>Q(e,t,r):xe.test(e)?jl(e,t):Yl(e,t)}var Xl=(e,t)=>{let r=[...e],n=r.length,i=e.map((o,a)=>Gl(o,t[a]));return o=>{for(let a=0;a<n;a++)r[a]=i[a](o);return r}},xp=(e,t)=>{let r={...e,...t},n={};for(let i in r)e[i]!==void 0&&t[i]!==void 0&&(n[i]=Gl(e[i],t[i]));return i=>{for(let o in n)r[o]=n[o](i);return r}},Yl=(e,t)=>{let r=je.createTransformer(t),n=wn(e),i=wn(t);return n.numColors===i.numColors&&n.numNumbers>=i.numNumbers?et(Xl(n.values,i.values),r):(Br(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),a=>`${a>0?t:e}`)},cs=(e,t)=>r=>Q(e,t,r);function bp(e){return typeof e=="number"?cs:typeof e=="string"?xe.test(e)?jl:Yl:Array.isArray(e)?Xl:typeof e=="object"?xp:cs}function Sp(e,t,r){let n=[],i=r||bp(e[0]),o=e.length-1;for(let a=0;a<o;a++){let s=i(e[a],e[a+1]);if(t){let l=Array.isArray(t)?t[a]||de:t;s=et(l,s)}n.push(s)}return n}function Hr(e,t,{clamp:r=!0,ease:n,mixer:i}={}){let o=e.length;if(ge(o===t.length,"Both input and output ranges must be the same length"),o===1)return()=>t[0];e[0]>e[o-1]&&(e=[...e].reverse(),t=[...t].reverse());let a=Sp(t,n,i),s=a.length,l=c=>{let u=0;if(s>1)for(;u<e.length-2&&!(c<e[u+1]);u++);let f=dt(e[u],e[u+1],c);return a[u](f)};return r?c=>l(ft(e[0],e[o-1],c)):l}var tt=e=>e*1e3,We=e=>e/1e3;function bo(e,t){return t?e*(1e3/t):0}var wp=5;function Kl(e,t,r){let n=Math.max(t-wp,0);return bo(r-e(n),t-n)}var Pi=.001,Cp=.01,us=10,Tp=.05,Ep=1;function Rp({duration:e=800,bounce:t=.25,velocity:r=0,mass:n=1}){let i,o;Br(e<=tt(us),"Spring duration must be 10 seconds or less");let a=1-t;a=ft(Tp,Ep,a),e=ft(Cp,us,We(e)),a<1?(i=c=>{let u=c*a,f=u*e,d=u-r,p=Ni(c,a),m=Math.exp(-f);return Pi-d/p*m},o=c=>{let f=c*a*e,d=f*r+r,p=Math.pow(a,2)*Math.pow(c,2)*e,m=Math.exp(-f),y=Ni(Math.pow(c,2),a);return(-i(c)+Pi>0?-1:1)*((d-p)*m)/y}):(i=c=>{let u=Math.exp(-c*e),f=(c-r)*e+1;return-Pi+u*f},o=c=>{let u=Math.exp(-c*e),f=(r-c)*(e*e);return u*f});let s=5/e,l=_p(i,o,s);if(e=tt(e),isNaN(l))return{stiffness:100,damping:10,duration:e};{let c=Math.pow(l,2)*n;return{stiffness:c,damping:a*2*Math.sqrt(n*c),duration:e}}}var kp=12;function _p(e,t,r){let n=r;for(let i=1;i<kp;i++)n=n-e(n)/t(n);return n}function Ni(e,t){return e*Math.sqrt(1-t*t)}var Pp=["duration","bounce"],Ip=["stiffness","damping","mass"];function fs(e,t){return t.some(r=>e[r]!==void 0)}function Fp(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!fs(e,Ip)&&fs(e,Pp)){let r=Rp(e);t={...t,...r,velocity:0,mass:1},t.isResolvedFromDuration=!0}return t}function Vn({keyframes:e,restDelta:t,restSpeed:r,...n}){let i=e[0],o=e[e.length-1],a={done:!1,value:i},{stiffness:s,damping:l,mass:c,velocity:u,duration:f,isResolvedFromDuration:d}=Fp(n),p=u?-We(u):0,m=l/(2*Math.sqrt(s*c)),y=o-i,x=We(Math.sqrt(s/c)),v=Math.abs(y)<5;r||(r=v?.01:2),t||(t=v?.005:.5);let b;if(m<1){let g=Ni(x,m);b=S=>{let T=Math.exp(-m*x*S);return o-T*((p+m*x*y)/g*Math.sin(g*S)+y*Math.cos(g*S))}}else if(m===1)b=g=>o-Math.exp(-x*g)*(y+(p+x*y)*g);else{let g=x*Math.sqrt(m*m-1);b=S=>{let T=Math.exp(-m*x*S),w=Math.min(g*S,300);return o-T*((p+m*x*y)*Math.sinh(w)+g*y*Math.cosh(w))/g}}return{calculatedDuration:d&&f||null,next:g=>{let S=b(g);if(d)a.done=g>=f;else{let T=p;g!==0&&(m<1?T=Kl(b,g,S):T=0);let w=Math.abs(T)<=r,C=Math.abs(o-S)<=t;a.done=w&&C}return a.value=a.done?o:S,a}}}var ql=e=>Array.isArray(e)&&typeof e[0]!="number",ds={linear:de,easeIn:Al,easeInOut:po,easeOut:Vl,circIn:go,circInOut:Dl,circOut:On,backIn:An,backInOut:Bl,backOut:yo,anticipate:Hl},hs=e=>{if(Array.isArray(e)){ge(e.length===4,"Cubic bezier arrays must contain four numerical values.");let[t,r,n,i]=e;return Zt(t,r,n,i)}else if(typeof e=="string")return ge(ds[e]!==void 0,`Invalid easing type '${e}'`),ds[e];return e};function Zl(e,t){let r=e[e.length-1];for(let n=1;n<=t;n++){let i=dt(0,t,n);e.push(Q(r,1,i))}}function So(e){let t=[0];return Zl(t,e.length-1),t}function Mp(e,t){return e.map(r=>r*t)}function Lp(e,t){return e.map(()=>t||po).splice(0,e.length-1)}function Cn({duration:e=300,keyframes:t,times:r,ease:n="easeInOut"}){let i=ql(n)?n.map(hs):hs(n),o={done:!1,value:t[0]},a=Mp(r&&r.length===t.length?r:So(t),e),s=Hr(a,t,{ease:Array.isArray(i)?i:Lp(t,i)});return{calculatedDuration:e,next:l=>(o.value=s(l),o.done=l>=e,o)}}function ps({keyframes:e,velocity:t=0,power:r=.8,timeConstant:n=325,bounceDamping:i=10,bounceStiffness:o=500,modifyTarget:a,min:s,max:l,restDelta:c=.5,restSpeed:u}){let f=e[0],d={done:!1,value:f},p=E=>s!==void 0&&E<s||l!==void 0&&E>l,m=E=>s===void 0?l:l===void 0||Math.abs(s-E)<Math.abs(l-E)?s:l,y=r*t,x=f+y,v=a===void 0?x:a(x);v!==x&&(y=v-f);let b=E=>-y*Math.exp(-E/n),g=E=>v+b(E),S=E=>{let k=b(E),F=g(E);d.done=Math.abs(k)<=c,d.value=d.done?v:F},T,w,C=E=>{p(d.value)&&(T=E,w=Vn({keyframes:[d.value,m(d.value)],velocity:Kl(g,E,d.value),damping:i,stiffness:o,restDelta:c,restSpeed:u}))};return C(0),{calculatedDuration:null,next:E=>{let k=!1;return!w&&T===void 0&&(k=!0,S(E),C(E)),T!==void 0&&E>T?w.next(E-T):(!k&&S(E),d)}}}var Op=e=>{let t=({timestamp:r})=>e(r);return{start:()=>W.update(t,!0),stop:()=>De.update(t),now:()=>ue.isProcessing?ue.timestamp:performance.now()}},$i=2e4;function Ui(e){let t=0,r=50,n=e.next(t);for(;!n.done&&t<$i;)t+=r,n=e.next(t);return t>=$i?1/0:t}var Ap={decay:ps,inertia:ps,tween:Cn,keyframes:Cn,spring:Vn};function Kt({autoplay:e=!0,delay:t=0,driver:r=Op,keyframes:n,type:i="keyframes",repeat:o=0,repeatDelay:a=0,repeatType:s="loop",onPlay:l,onStop:c,onComplete:u,onUpdate:f,...d}){let p=1,m=!1,y,x,v=()=>{y&&y(),x=new Promise(B=>{y=B})};v();let b,g=Ap[i]||Cn,S;g!==Cn&&typeof n[0]!="number"&&(S=Hr([0,100],n,{clamp:!1}),n=[0,100]);let T=g({...d,keyframes:n}),w;s==="mirror"&&(w=g({...d,keyframes:[...n].reverse(),velocity:-(d.velocity||0)}));let C="idle",E=null,k=null,F=null;T.calculatedDuration===null&&o&&(T.calculatedDuration=Ui(T));let{calculatedDuration:I}=T,D=1/0,z=1/0;I!==null&&(D=I+a,z=D*(o+1)-a);let M=0,_=B=>{if(k===null)return;p>0&&(k=Math.min(k,B)),E!==null?M=E:M=(B-k)*p;let re=M-t,Y=re<0;M=Math.max(re,0),C==="finished"&&E===null&&(M=z);let G=M,K=T;if(o){let ot=M/D,ze=Math.floor(ot),Fe=ot%1;!Fe&&ot>=1&&(Fe=1),Fe===1&&ze--,ze=Math.min(ze,o+1);let ln=Boolean(ze%2);ln&&(s==="reverse"?(Fe=1-Fe,a&&(Fe-=a/D)):s==="mirror"&&(K=w));let bt=ft(0,1,Fe);M>z&&(bt=s==="reverse"&&ln?1:0),G=bt*D}let Ae=Y?{done:!1,value:n[0]}:K.next(G);S&&(Ae.value=S(Ae.value));let{done:Se}=Ae;!Y&&I!==null&&(Se=M>=z);let we=E===null&&(C==="finished"||C==="running"&&Se||p<0&&M<=0);return f&&f(Ae.value),we&&j(),Ae},$=()=>{b&&b.stop(),b=void 0},R=()=>{C="idle",$(),v(),k=F=null},j=()=>{C="finished",u&&u(),$(),v()},J=()=>{if(m)return;b||(b=r(_));let B=b.now();l&&l(),E!==null?k=B-E:(!k||C==="finished")&&(k=B),F=k,E=null,C="running",b.start()};e&&J();let U={then(B,re){return x.then(B,re)},get time(){return We(M)},set time(B){B=tt(B),M=B,E!==null||!b||p===0?E=B:k=b.now()-B/p},get duration(){let B=T.calculatedDuration===null?Ui(T):T.calculatedDuration;return We(B)},get speed(){return p},set speed(B){B===p||!b||(p=B,U.time=We(M))},get state(){return C},play:J,pause:()=>{C="paused",E=M},stop:()=>{m=!0,C!=="idle"&&(C="idle",c&&c(),R())},cancel:()=>{F!==null&&_(F),R()},complete:()=>{C="finished"},sample:B=>(k=0,_(B))};return U}function wo(e,t){e.indexOf(t)===-1&&e.push(t)}function Dn(e,t){let r=e.indexOf(t);r>-1&&e.splice(r,1)}function Vp([...e],t,r){let n=t<0?e.length+t:t;if(n>=0&&n<e.length){let i=r<0?e.length+r:r,[o]=e.splice(t,1);e.splice(i,0,o)}return e}var Co=class{constructor(){this.subscriptions=[]}add(e){return wo(this.subscriptions,e),()=>Dn(this.subscriptions,e)}notify(e,t,r){let n=this.subscriptions.length;if(n)if(n===1)this.subscriptions[0](e,t,r);else for(let i=0;i<n;i++){let o=this.subscriptions[i];o&&o(e,t,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}},Dp=e=>!isNaN(parseFloat(e)),Bn=class{constructor(e,t={}){this.version="10.11.6",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(r,n=!0)=>{this.prev=this.current,this.current=r;let{delta:i,timestamp:o}=ue;this.lastUpdated!==o&&(this.timeDelta=i,this.lastUpdated=o,W.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.events.change&&this.events.change.notify(this.current),this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()),n&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.scheduleVelocityCheck=()=>W.postRender(this.velocityCheck),this.velocityCheck=({timestamp:r})=>{r!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=e,this.canTrackVelocity=Dp(this.current),this.owner=t.owner}onChange(e){return this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new Co);let r=this.events[e].add(t);return e==="change"?()=>{r(),W.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e,t=!0){!t||!this.passiveEffect?this.updateAndNotify(e,t):this.passiveEffect(e,this.updateAndNotify)}setWithVelocity(e,t,r){this.set(t),this.prev=e,this.timeDelta=r}jump(e){this.updateAndNotify(e),this.prev=e,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?bo(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}};function le(e,t){return new Bn(e,t)}var Bp=e=>/^\-?\d*\.?\d+$/.test(e),Hp=e=>/^0[^.\s]+$/.test(e),zp=new Set(["brightness","contrast","saturate","opacity"]);function Np(e){let[t,r]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;let[n]=r.match(Pr)||[];if(!n)return e;let i=r.replace(n,""),o=zp.has(t)?1:0;return n!==r&&(o*=100),t+"("+o+i+")"}var $p=/([a-z-]*)\(.*?\)/g,Wi={...je,getAnimatableNone:e=>{let t=e.match($p);return t?t.map(Np).join(" "):e}},ms={...Mt,transform:Math.round},Jl={borderWidth:O,borderTopWidth:O,borderRightWidth:O,borderBottomWidth:O,borderLeftWidth:O,borderRadius:O,radius:O,borderTopLeftRadius:O,borderTopRightRadius:O,borderBottomRightRadius:O,borderBottomLeftRadius:O,width:O,maxWidth:O,height:O,maxHeight:O,size:O,top:O,right:O,bottom:O,left:O,padding:O,paddingTop:O,paddingRight:O,paddingBottom:O,paddingLeft:O,margin:O,marginTop:O,marginRight:O,marginBottom:O,marginLeft:O,rotate:at,rotateX:at,rotateY:at,rotateZ:at,scale:pn,scaleX:pn,scaleY:pn,scaleZ:pn,skew:at,skewX:at,skewY:at,distance:O,translateX:O,translateY:O,translateZ:O,x:O,y:O,z:O,perspective:O,transformPerspective:O,opacity:Sr,originX:os,originY:os,originZ:O,zIndex:ms,fillOpacity:Sr,strokeOpacity:Sr,numOctaves:ms},Up={...Jl,color:xe,backgroundColor:xe,outlineColor:xe,fill:xe,stroke:xe,borderColor:xe,borderTopColor:xe,borderRightColor:xe,borderBottomColor:xe,borderLeftColor:xe,filter:Wi,WebkitFilter:Wi},To=e=>Up[e];function Eo(e,t){let r=To(e);return r!==Wi&&(r=je),r.getAnimatableNone?r.getAnimatableNone(t):void 0}var Ql=e=>t=>t.test(e),Wp={test:e=>e==="auto",parse:e=>e},ec=[Mt,O,$e,at,qh,Kh,Wp],mr=e=>ec.find(Ql(e)),jp=[...ec,xe,je],Gp=e=>jp.find(Ql(e));function Xp(e){let t={};return e.values.forEach((r,n)=>t[n]=r.get()),t}function Yp(e){let t={};return e.values.forEach((r,n)=>t[n]=r.getVelocity()),t}function Hn(e,t,r){let n=e.getProps();return uo(n,t,r!==void 0?r:n.custom,Xp(e),Yp(e))}function Kp(e,t,r){e.hasValue(t)?e.getValue(t).set(r):e.addValue(t,le(r))}function Ro(e,t){let r=Hn(e,t),{transitionEnd:n={},transition:i={},...o}=r?e.makeTargetAnimatable(r,!1):{};o={...o,...n};for(let a in o){let s=Qh(o[a]);Kp(e,a,s)}}function ji(e,t){[...t].reverse().forEach(n=>{let i=e.getVariant(n);i&&Ro(e,i),e.variantChildren&&e.variantChildren.forEach(o=>{ji(o,t)})})}function qp(e,t){if(Array.isArray(t))return ji(e,t);if(typeof t=="string")return ji(e,[t]);Ro(e,t)}function tc(e,t,r){var n,i;let o=Object.keys(t).filter(s=>!e.hasValue(s)),a=o.length;if(a)for(let s=0;s<a;s++){let l=o[s],c=t[l],u=null;Array.isArray(c)&&(u=c[0]),u===null&&(u=(i=(n=r[l])!==null&&n!==void 0?n:e.readValue(l))!==null&&i!==void 0?i:t[l]),u!=null&&(typeof u=="string"&&(Bp(u)||Hp(u))?u=parseFloat(u):!Gp(u)&&je.test(c)&&(u=Eo(l,c)),e.addValue(l,le(u,{owner:e})),r[l]===void 0&&(r[l]=u),u!==null&&e.setBaseTarget(l,u))}}function Zp(e,t){return t?(t[e]||t.default||t).from:void 0}function Jp(e,t,r){let n={};for(let i in e){let o=Zp(i,t);if(o!==void 0)n[i]=o;else{let a=r.getValue(i);a&&(n[i]=a.get())}}return n}var Gi={current:!1},rc=e=>Array.isArray(e)&&typeof e[0]=="number";function nc(e){return Boolean(!e||typeof e=="string"&&ic[e]||rc(e)||Array.isArray(e)&&e.every(nc))}var yr=([e,t,r,n])=>`cubic-bezier(${e}, ${t}, ${r}, ${n})`,ic={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:yr([0,.65,.55,1]),circOut:yr([.55,0,1,.45]),backIn:yr([.31,.01,.66,-.59]),backOut:yr([.33,1.53,.69,.99])};function oc(e){if(e)return rc(e)?yr(e):Array.isArray(e)?e.map(oc):ic[e]}function Qp(e,t,r,{delay:n=0,duration:i,repeat:o=0,repeatType:a="loop",ease:s,times:l}={}){let c={[t]:r};l&&(c.offset=l);let u=oc(s);return Array.isArray(u)&&(c.easing=u),e.animate(c,{delay:n,duration:i,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:o+1,direction:a==="reverse"?"alternate":"normal"})}var vs={waapi:()=>Object.hasOwnProperty.call(Element.prototype,"animate")},Ii={},ac={};for(let e in vs)ac[e]=()=>(Ii[e]===void 0&&(Ii[e]=vs[e]()),Ii[e]);function em(e,{repeat:t,repeatType:r="loop"}){let n=t&&r!=="loop"&&t%2===1?0:e.length-1;return e[n]}var tm=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),mn=10,rm=2e4,nm=(e,t)=>t.type==="spring"||e==="backgroundColor"||!nc(t.ease);function im(e,t,{onUpdate:r,onComplete:n,...i}){if(!(ac.waapi()&&tm.has(t)&&!i.repeatDelay&&i.repeatType!=="mirror"&&i.damping!==0&&i.type!=="inertia"))return!1;let a=!1,s,l,c=()=>{l=new Promise(v=>{s=v})};c();let{keyframes:u,duration:f=300,ease:d,times:p}=i;if(nm(t,i)){let v=Kt({...i,repeat:0,delay:0}),b={done:!1,value:u[0]},g=[],S=0;for(;!b.done&&S<rm;)b=v.sample(S),g.push(b.value),S+=mn;p=void 0,u=g,f=S-mn,d="linear"}let m=Qp(e.owner.current,t,u,{...i,duration:f,ease:d,times:p}),y=()=>m.cancel(),x=()=>{W.update(y),s(),c()};return m.onfinish=()=>{e.set(em(u,i)),n&&n(),x()},{then(v,b){return l.then(v,b)},get time(){return We(m.currentTime||0)},set time(v){m.currentTime=tt(v)},get speed(){return m.playbackRate},set speed(v){m.playbackRate=v},get duration(){return We(f)},play:()=>{a||(m.play(),De.update(y))},pause:()=>m.pause(),stop:()=>{if(a=!0,m.playState==="idle")return;let{currentTime:v}=m;if(v){let b=Kt({...i,autoplay:!1});e.setWithVelocity(b.sample(v-mn).value,b.sample(v).value,mn)}x()},complete:()=>m.finish(),cancel:x}}function om({keyframes:e,delay:t,onUpdate:r,onComplete:n}){let i=()=>(r&&r(e[e.length-1]),n&&n(),{time:0,speed:1,duration:0,play:de,pause:de,stop:de,then:o=>(o(),Promise.resolve()),cancel:de,complete:de});return t?Kt({keyframes:[0,1],duration:0,delay:t,onComplete:i}):i()}var am={type:"spring",stiffness:500,damping:25,restSpeed:10},sm=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),lm={type:"keyframes",duration:.8},cm={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},um=(e,{keyframes:t})=>t.length>2?lm:Ft.has(e)?e.startsWith("scale")?sm(t[1]):am:cm,Xi=(e,t)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&je.test(t)&&!t.startsWith("url("));function fm({when:e,delay:t,delayChildren:r,staggerChildren:n,staggerDirection:i,repeat:o,repeatType:a,repeatDelay:s,from:l,elapsed:c,...u}){return!!Object.keys(u).length}function gs(e){return e===0||typeof e=="string"&&parseFloat(e)===0&&e.indexOf(" ")===-1}function ys(e){return typeof e=="number"?0:Eo("",e)}function sc(e,t){return e[t]||e.default||e}function dm(e,[...t]){for(let r=0;r<t.length;r++)t[r]===null&&(t[r]=r===0?e:t[r-1]);return t}function hm(e,t,r,n){let i=Xi(t,r),o=n.from!==void 0?n.from:e.get();return o==="none"&&i&&typeof r=="string"?o=Eo(t,r):gs(o)&&typeof r=="string"?o=ys(r):!Array.isArray(r)&&gs(r)&&typeof o=="string"&&(r=ys(o)),Array.isArray(r)?dm(o,r):[o,r]}var ko=(e,t,r,n={})=>i=>{let o=sc(n,e)||{},a=o.delay||n.delay||0,{elapsed:s=0}=n;s=s-tt(a);let l=hm(t,e,r,o),c=l[0],u=l[l.length-1],f=Xi(e,c),d=Xi(e,u);Br(f===d,`You are trying to animate ${e} from "${c}" to "${u}". ${c} is not an animatable value - to enable this animation set ${c} to a value animatable to ${u} via the \`style\` property.`);let p={keyframes:l,velocity:t.getVelocity(),ease:"easeOut",...o,delay:-s,onUpdate:m=>{t.set(m),o.onUpdate&&o.onUpdate(m)},onComplete:()=>{i(),o.onComplete&&o.onComplete()}};if(fm(o)||(p={...p,...um(e,p)}),p.duration&&(p.duration=tt(p.duration)),p.repeatDelay&&(p.repeatDelay=tt(p.repeatDelay)),!f||!d||Gi.current||o.type===!1)return om(p);if(t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate){let m=im(t,e,p);if(m)return m}return Kt(p)};function Tn(e){return Boolean(fe(e)&&e.add)}function pm({protectedKeys:e,needsAnimating:t},r){let n=e.hasOwnProperty(r)&&t[r]!==!0;return t[r]=!1,n}function _o(e,t,{delay:r=0,transitionOverride:n,type:i}={}){let{transition:o=e.getDefaultTransition(),transitionEnd:a,...s}=e.makeTargetAnimatable(t),l=e.getValue("willChange");n&&(o=n);let c=[],u=i&&e.animationState&&e.animationState.getState()[i];for(let f in s){let d=e.getValue(f),p=s[f];if(!d||p===void 0||u&&pm(u,f))continue;let m={delay:r,elapsed:0,...o};if(N.HandoffAppearAnimations&&!d.hasAnimated){let x=e.getProps()[Ll];x&&(m.elapsed=N.HandoffAppearAnimations(x,f,d,W))}d.start(ko(f,d,p,e.shouldReduceMotion&&Ft.has(f)?{type:!1}:m));let y=d.animation;Tn(l)&&(l.add(f),y.then(()=>l.remove(f))),c.push(y)}return a&&Promise.all(c).then(()=>{a&&Ro(e,a)}),c}function Yi(e,t,r={}){let n=Hn(e,t,r.custom),{transition:i=e.getDefaultTransition()||{}}=n||{};r.transitionOverride&&(i=r.transitionOverride);let o=n?()=>Promise.all(_o(e,n,r)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(l=0)=>{let{delayChildren:c=0,staggerChildren:u,staggerDirection:f}=i;return mm(e,t,c+l,u,f,r)}:()=>Promise.resolve(),{when:s}=i;if(s){let[l,c]=s==="beforeChildren"?[o,a]:[a,o];return l().then(()=>c())}else return Promise.all([o(),a(r.delay)])}function mm(e,t,r=0,n=0,i=1,o){let a=[],s=(e.variantChildren.size-1)*n,l=i===1?(c=0)=>c*n:(c=0)=>s-c*n;return Array.from(e.variantChildren).sort(vm).forEach((c,u)=>{c.notify("AnimationStart",t),a.push(Yi(c,t,{...o,delay:r+l(u)}).then(()=>c.notify("AnimationComplete",t)))}),Promise.all(a)}function vm(e,t){return e.sortNodePosition(t)}function Po(e,t,r={}){e.notify("AnimationStart",t);let n;if(Array.isArray(t)){let i=t.map(o=>Yi(e,o,r));n=Promise.all(i)}else if(typeof t=="string")n=Yi(e,t,r);else{let i=typeof t=="function"?Hn(e,t,r.custom):t;n=Promise.all(_o(e,i,r))}return n.then(()=>e.notify("AnimationComplete",t))}function lc(e,t){if(!Array.isArray(t))return!1;let r=t.length;if(r!==e.length)return!1;for(let n=0;n<r;n++)if(t[n]!==e[n])return!1;return!0}var gm=[...ao].reverse(),ym=ao.length;function xm(e){return t=>Promise.all(t.map(({animation:r,options:n})=>Po(e,r,n)))}function bm(e){let t=xm(e),r=wm(),n=!0,i=(l,c)=>{let u=Hn(e,c);if(u){let{transition:f,transitionEnd:d,...p}=u;l={...l,...p,...d}}return l};function o(l){t=l(e)}function a(l,c){let u=e.getProps(),f=e.getVariantContext(!0)||{},d=[],p=new Set,m={},y=1/0;for(let v=0;v<ym;v++){let b=gm[v],g=r[b],S=u[b]!==void 0?u[b]:f[b],T=kr(S),w=b===c?g.isActive:null;w===!1&&(y=v);let C=S===f[b]&&S!==u[b]&&T;if(C&&n&&e.manuallyAnimateOnMount&&(C=!1),g.protectedKeys={...m},!g.isActive&&w===null||!S&&!g.prevProp||_n(S)||typeof S=="boolean")continue;let E=Sm(g.prevProp,S),k=E||b===c&&g.isActive&&!C&&T||v>y&&T,F=Array.isArray(S)?S:[S],I=F.reduce(i,{});w===!1&&(I={});let{prevResolvedValues:D={}}=g,z={...D,...I},M=_=>{k=!0,p.delete(_),g.needsAnimating[_]=!0};for(let _ in z){let $=I[_],R=D[_];m.hasOwnProperty(_)||($!==R?Sn($)&&Sn(R)?!lc($,R)||E?M(_):g.protectedKeys[_]=!0:$!==void 0?M(_):p.add(_):$!==void 0&&p.has(_)?M(_):g.protectedKeys[_]=!0)}g.prevProp=S,g.prevResolvedValues=I,g.isActive&&(m={...m,...I}),n&&e.blockInitialAnimation&&(k=!1),k&&!C&&d.push(...F.map(_=>({animation:_,options:{type:b,...l}})))}if(p.size){let v={};p.forEach(b=>{let g=e.getBaseTarget(b);g!==void 0&&(v[b]=g)}),d.push({animation:v})}let x=Boolean(d.length);return n&&u.initial===!1&&!e.manuallyAnimateOnMount&&(x=!1),n=!1,x?t(d):Promise.resolve()}function s(l,c,u){var f;if(r[l].isActive===c)return Promise.resolve();(f=e.variantChildren)===null||f===void 0||f.forEach(p=>{var m;return(m=p.animationState)===null||m===void 0?void 0:m.setActive(l,c)}),r[l].isActive=c;let d=a(u,l);for(let p in r)r[p].protectedKeys={};return d}return{animateChanges:a,setActive:s,setAnimateFunction:o,getState:()=>r}}function Sm(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!lc(t,e):!1}function Rt(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function wm(){return{animate:Rt(!0),whileInView:Rt(),whileHover:Rt(),whileTap:Rt(),whileDrag:Rt(),whileFocus:Rt(),exit:Rt()}}var ht=class{constructor(e){this.isMounted=!1,this.node=e}update(){}},Cm=class extends ht{constructor(e){super(e),e.animationState||(e.animationState=bm(e))}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();this.unmount(),_n(e)&&(this.unmount=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){}},Tm=0,Em=class extends ht{constructor(){super(...arguments),this.id=Tm++}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:t,custom:r}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===n)return;let i=this.node.animationState.setActive("exit",!e,{custom:r??this.node.getProps().custom});t&&!e&&i.then(()=>t(this.id))}mount(){let{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}},Io={animation:{Feature:Cm},exit:{Feature:Em}},Ki=(e,t)=>Math.abs(e-t);function cc(e,t){let r=Ki(e.x,t.x),n=Ki(e.y,t.y);return Math.sqrt(r**2+n**2)}function ke(e){return e.max-e.min}function qi(e,t=0,r=.01){return Math.abs(e-t)<=r}function xs(e,t,r,n=.5){e.origin=n,e.originPoint=Q(t.min,t.max,e.origin),e.scale=ke(r)/ke(t),(qi(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=Q(r.min,r.max,e.origin)-e.originPoint,(qi(e.translate)||isNaN(e.translate))&&(e.translate=0)}function wr(e,t,r,n){xs(e.x,t.x,r.x,n?n.originX:void 0),xs(e.y,t.y,r.y,n?n.originY:void 0)}function bs(e,t,r){e.min=r.min+t.min,e.max=e.min+ke(t)}function Rm(e,t,r){bs(e.x,t.x,r.x),bs(e.y,t.y,r.y)}function Ss(e,t,r){e.min=t.min-r.min,e.max=e.min+ke(t)}function Cr(e,t,r){Ss(e.x,t.x,r.x),Ss(e.y,t.y,r.y)}var ws=()=>({translate:0,scale:1,origin:0,originPoint:0}),Tr=()=>({x:ws(),y:ws()}),Cs=()=>({min:0,max:0}),se=()=>({x:Cs(),y:Cs()});function uc(){let e=P(qt);if(e===null)return[!0,null];let{isPresent:t,onExitComplete:r,register:n}=e,i=Tt();return A(()=>n(i),[]),!t&&r?[!1,()=>r&&r(i)]:[!0]}var km=(e,t)=>e.depth-t.depth,fc=class{constructor(){this.children=[],this.isDirty=!1}add(e){wo(this.children,e),this.isDirty=!0}remove(e){Dn(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(km),this.isDirty=!1,this.children.forEach(e)}};function dc(e,t){let r=performance.now(),n=({timestamp:i})=>{let o=i-r;o>=t&&(De.read(n),e(o-t))};return W.read(n,!0),()=>De.read(n)}var En={current:null},Fo={current:!1};function hc(){if(Fo.current=!0,!!Or)if(N.matchMedia){let e=N.matchMedia("(prefers-reduced-motion)"),t=()=>En.current=e.matches;e.addListener(t),t()}else En.current=!1}function _m(e,t,r){let{willChange:n}=t;for(let i in t){let o=t[i],a=r[i];if(fe(o))e.addValue(i,o),Tn(n)&&n.add(i);else if(fe(a))e.addValue(i,le(o,{owner:e})),Tn(n)&&n.remove(i);else if(a!==o)if(e.hasValue(i)){let s=e.getValue(i);!s.hasAnimated&&s.set(o)}else{let s=e.getStaticValue(i);e.addValue(i,le(s!==void 0?s:o,{owner:e}))}}for(let i in r)t[i]===void 0&&e.removeValue(i);return t}var Fr=new WeakMap,pc=Object.keys(_r),Pm=pc.length,Ts=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],Im=so.length,mc=class{constructor({parent:e,props:t,presenceContext:r,reducedMotionConfig:n,visualState:i},o={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>W.render(this.render,!1,!0);let{latestValues:a,renderState:s}=i;this.latestValues=a,this.baseTarget={...a},this.initialValues=t.initial?{...a}:{},this.renderState=s,this.parent=e,this.props=t,this.presenceContext=r,this.depth=e?e.depth+1:0,this.reducedMotionConfig=n,this.options=o,this.isControllingVariants=Pn(t),this.isVariantNode=wl(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(e&&e.current);let{willChange:l,...c}=this.scrapeMotionValuesFromProps(t,{});for(let u in c){let f=c[u];a[u]!==void 0&&fe(f)&&(f.set(a[u],!1),Tn(l)&&l.add(u))}}scrapeMotionValuesFromProps(e,t){return{}}mount(e){this.current=e,Fr.set(e,this),this.projection&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((t,r)=>this.bindToMotionValue(r,t)),Fo.current||hc(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:En.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){Fr.delete(this.current),this.projection&&this.projection.unmount(),De.update(this.notifyUpdate),De.render(this.render),this.valueSubscriptions.forEach(e=>e()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(let e in this.events)this.events[e].clear();for(let e in this.features)this.features[e].unmount();this.current=null}bindToMotionValue(e,t){let r=Ft.has(e),n=t.on("change",o=>{this.latestValues[e]=o,this.props.onUpdate&&W.update(this.notifyUpdate,!1,!0),r&&this.projection&&(this.projection.isTransformDirty=!0)}),i=t.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(e,()=>{n(),i()})}sortNodePosition(e){return!this.current||!this.sortInstanceNodePosition||this.type!==e.type?0:this.sortInstanceNodePosition(this.current,e.current)}loadFeatures({children:e,...t},r,n,i,o){let a,s;for(let l=0;l<Pm;l++){let c=pc[l],{isEnabled:u,Feature:f,ProjectionNode:d,MeasureLayout:p}=_r[c];d&&(a=d),u(t)&&(!this.features[c]&&f&&(this.features[c]=new f(this)),p&&(s=p))}if(!this.projection&&a){this.projection=new a(i,this.latestValues,this.parent&&this.parent.projection);let{layoutId:l,layout:c,drag:u,dragConstraints:f,layoutScroll:d,layoutRoot:p}=t;this.projection.setOptions({layoutId:l,layout:c,alwaysMeasureLayout:Boolean(u)||f&&jt(f),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:typeof c=="string"?c:"both",initialPromotionConfig:o,layoutScroll:d,layoutRoot:p})}return s}updateFeatures(){for(let e in this.features){let t=this.features[e];t.isMounted?t.update(this.props,this.prevProps):(t.mount(),t.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):se()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}makeTargetAnimatable(e,t=!0){return this.makeTargetAnimatableFromInstance(e,this.props,t)}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let r=0;r<Ts.length;r++){let n=Ts[r];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);let i=e["on"+n];i&&(this.propEventSubscriptions[n]=this.on(n,i))}this.prevMotionValues=_m(this,this.scrapeMotionValuesFromProps(e,this.prevProps),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(e=!1){if(e)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){let r=this.parent?this.parent.getVariantContext()||{}:{};return this.props.initial!==void 0&&(r.initial=this.props.initial),r}let t={};for(let r=0;r<Im;r++){let n=so[r],i=this.props[n];(kr(i)||i===!1)&&(t[n]=i)}return t}addVariantChild(e){let t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){t!==this.values.get(e)&&(this.removeValue(e),this.bindToMotionValue(e,t)),this.values.set(e,t),this.latestValues[e]=t.get()}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let r=this.values.get(e);return r===void 0&&t!==void 0&&(r=le(t,{owner:this}),this.addValue(e,r)),r}readValue(e){return this.latestValues[e]!==void 0||!this.current?this.latestValues[e]:this.readValueFromInstance(this.current,e,this.options)}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){var t;let{initial:r}=this.props,n=typeof r=="string"||typeof r=="object"?(t=uo(this.props,r))===null||t===void 0?void 0:t[e]:void 0;if(r&&n!==void 0)return n;let i=this.getBaseTargetFromProps(this.props,e);return i!==void 0&&!fe(i)?i:this.initialValues[e]!==void 0&&n===void 0?void 0:this.baseTarget[e]}on(e,t){return this.events[e]||(this.events[e]=new Co),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}};function vc(e){function t(n,i={}){return Cl(e(n,i))}if(typeof Proxy>"u")return t;let r=new Map;return new Proxy(t,{get:(n,i)=>(r.has(i)||r.set(i,t(i)),r.get(i))})}var Fm=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function Mo(e){return typeof e!="string"||e.includes("-")?!1:!!(Fm.indexOf(e)>-1||/[A-Z]/.test(e))}function gc(e,{layout:t,layoutId:r}){return Ft.has(e)||e.startsWith("origin")||(t||r!==void 0)&&(!!bn[e]||e==="opacity")}var yc=e=>t=>typeof t=="string"&&t.startsWith(e),xc=yc("--"),Zi=yc("var(--"),Mm=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function Lo(e,t,r,n){let{style:i,vars:o,transform:a,transformOrigin:s}=e,l=!1,c=!1,u=!0;for(let f in t){let d=t[f];if(xc(f)){o[f]=d;continue}let p=Jl[f],m=Mm(d,p);if(Ft.has(f)){if(l=!0,a[f]=m,!u)continue;d!==(p.default||0)&&(u=!1)}else f.startsWith("origin")?(c=!0,s[f]=m):i[f]=m}if(t.transform||(l||n?i.transform=Tl(e.transform,r,u,n):i.transform&&(i.transform="none")),c){let{originX:f="50%",originY:d="50%",originZ:p=0}=s;i.transformOrigin=`${f} ${d} ${p}`}}var Oo=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function bc(e,t,r){for(let n in t)!fe(t[n])&&!gc(n,r)&&(e[n]=t[n])}function Lm({transformTemplate:e},t,r){return ee(()=>{let n=Oo();return Lo(n,t,{enableHardwareAcceleration:!r},e),Object.assign({},n.vars,n.style)},[t])}function Om(e,t,r){let n=e.style||{},i={};return bc(i,n,e),Object.assign(i,Lm(e,t,r)),e.transformValues?e.transformValues(i):i}function Am(e,t,r){let n={},i=Om(e,t,r);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=i,n}function Es(e,t,r){return typeof e=="string"?e:O.transform(t+r*e)}function Vm(e,t,r){let n=Es(t,e.x,e.width),i=Es(r,e.y,e.height);return`${n} ${i}`}var Dm={offset:"stroke-dashoffset",array:"stroke-dasharray"},Bm={offset:"strokeDashoffset",array:"strokeDasharray"};function Hm(e,t,r=1,n=0,i=!0){e.pathLength=1;let o=i?Dm:Bm;e[o.offset]=O.transform(-n);let a=O.transform(t),s=O.transform(r);e[o.array]=`${a} ${s}`}function Ao(e,{attrX:t,attrY:r,originX:n,originY:i,pathLength:o,pathSpacing:a=1,pathOffset:s=0,...l},c,u,f){if(Lo(e,l,c,f),u){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:d,style:p,dimensions:m}=e;d.transform&&(m&&(p.transform=d.transform),delete d.transform),m&&(n!==void 0||i!==void 0||p.transform)&&(p.transformOrigin=Vm(m,n!==void 0?n:.5,i!==void 0?i:.5)),t!==void 0&&(d.x=t),r!==void 0&&(d.y=r),o!==void 0&&Hm(d,o,a,s,!1)}var Sc=()=>({...Oo(),attrs:{}}),Vo=e=>typeof e=="string"&&e.toLowerCase()==="svg";function zm(e,t,r,n){let i=ee(()=>{let o=Sc();return Ao(o,t,{enableHardwareAcceleration:!1},Vo(n),e.transformTemplate),{...o.attrs,style:{...o.style}}},[t]);if(e.style){let o={};bc(o,e.style,e),i.style={...o,...i.style}}return i}function Nm(e=!1){return(r,n,i,o,{latestValues:a},s)=>{let c=(Mo(r)?zm:Am)(n,a,s,r),f={...kl(n,typeof r=="string",e),...c,ref:o},{children:d}=n,p=ee(()=>fe(d)?d.get():d,[d]);return i&&(f["data-projection-id"]=i),q(r,{...f,children:p})}}function wc(e,{style:t,vars:r},n,i){Object.assign(e.style,t,i&&i.getProjectionStyles(n));for(let o in r)e.style.setProperty(o,r[o])}var Cc=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function Tc(e,t,r,n){wc(e,t,void 0,n);for(let i in t.attrs)e.setAttribute(Cc.has(i)?i:ho(i),t.attrs[i])}function Do(e,t){let{style:r}=e,n={};for(let i in r)(fe(r[i])||t.style&&fe(t.style[i])||gc(i,e))&&(n[i]=r[i]);return n}function Ec(e,t){let r=Do(e,t);for(let n in e)if(fe(e[n])||fe(t[n])){let i=n==="x"||n==="y"?"attr"+n.toUpperCase():n;r[i]=e[n]}return r}var $m={useVisualState:Fn({scrapeMotionValuesFromProps:Ec,createRenderState:Sc,onMount:(e,t,{renderState:r,latestValues:n})=>{try{r.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{r.dimensions={x:0,y:0,width:0,height:0}}Ao(r,n,{enableHardwareAcceleration:!1},Vo(t.tagName),e.transformTemplate),Tc(t,r)}})},Um={useVisualState:Fn({scrapeMotionValuesFromProps:Do,createRenderState:Oo})};function Rc(e,{forwardMotionProps:t=!1},r,n){return{...Mo(e)?$m:Um,preloadedFeatures:r,useRender:Nm(t),createVisualElement:n,Component:e}}function Rs(e,t){let r="pointer"+(t?"enter":"leave"),n="onHover"+(t?"Start":"End"),i=(o,a)=>{if(o.type==="touch"||fo())return;let s=e.getProps();e.animationState&&s.whileHover&&e.animationState.setActive("whileHover",t),s[n]&&W.update(()=>s[n](o,a))};return Ue(e.current,r,i,{passive:!e.getProps()[n]})}var Wm=class extends ht{mount(){this.unmount=et(Rs(this.node,!0),Rs(this.node,!1))}unmount(){}},jm=class extends ht{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch{e=!0}!e||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=et(Qe(this.node.current,"focus",()=>this.onFocus()),Qe(this.node.current,"blur",()=>this.onBlur()))}unmount(){}},kc=(e,t)=>t?e===t?!0:kc(e,t.parentElement):!1;function Fi(e,t){if(!t)return;let r=new PointerEvent("pointer"+e);t(r,Mn(r))}var Gm=class extends ht{constructor(){super(...arguments),this.removeStartListeners=de,this.removeEndListeners=de,this.removeAccessibleListeners=de,this.startPointerPress=(e,t)=>{if(this.removeEndListeners(),this.isPressing)return;let r=this.node.getProps(),i=Ue(N,"pointerup",(a,s)=>{if(!this.checkPressEnd())return;let{onTap:l,onTapCancel:c}=this.node.getProps();W.update(()=>{kc(this.node.current,a.target)?l&&l(a,s):c&&c(a,s)})},{passive:!(r.onTap||r.onPointerUp)}),o=Ue(N,"pointercancel",(a,s)=>this.cancelPress(a,s),{passive:!(r.onTapCancel||r.onPointerCancel)});this.removeEndListeners=et(i,o),this.startPress(e,t)},this.startAccessiblePress=()=>{let e=i=>{if(i.key!=="Enter"||this.isPressing)return;let o=a=>{a.key!=="Enter"||!this.checkPressEnd()||Fi("up",(s,l)=>{let{onTap:c}=this.node.getProps();c&&W.update(()=>c(s,l))})};this.removeEndListeners(),this.removeEndListeners=Qe(this.node.current,"keyup",o),Fi("down",(a,s)=>{this.startPress(a,s)})},t=Qe(this.node.current,"keydown",e),r=()=>{this.isPressing&&Fi("cancel",(i,o)=>this.cancelPress(i,o))},n=Qe(this.node.current,"blur",r);this.removeAccessibleListeners=et(t,n)}}startPress(e,t){this.isPressing=!0;let{onTapStart:r,whileTap:n}=this.node.getProps();n&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),r&&W.update(()=>r(e,t))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!fo()}cancelPress(e,t){if(!this.checkPressEnd())return;let{onTapCancel:r}=this.node.getProps();r&&W.update(()=>r(e,t))}mount(){let e=this.node.getProps(),t=Ue(this.node.current,"pointerdown",this.startPointerPress,{passive:!(e.onTapStart||e.onPointerStart)}),r=Qe(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=et(t,r)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}},Ji=new WeakMap,Mi=new WeakMap,Xm=e=>{let t=Ji.get(e.target);t&&t(e)},Ym=e=>{e.forEach(Xm)};function Km({root:e,...t}){let r=e||document;Mi.has(r)||Mi.set(r,{});let n=Mi.get(r),i=JSON.stringify(t);return n[i]||(n[i]=new IntersectionObserver(Ym,{root:e,...t})),n[i]}function qm(e,t,r){let n=Km(t);return Ji.set(e,r),n.observe(e),()=>{Ji.delete(e),n.unobserve(e)}}var Zm={some:0,all:1},Jm=class extends ht{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:e={}}=this.node.getProps(),{root:t,margin:r,amount:n="some",once:i}=e,o={root:t?t.current:void 0,rootMargin:r,threshold:typeof n=="number"?n:Zm[n]},a=s=>{let{isIntersecting:l}=s;if(this.isInView===l||(this.isInView=l,i&&!l&&this.hasEnteredView))return;l&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",l);let{onViewportEnter:c,onViewportLeave:u}=this.node.getProps(),f=l?c:u;f&&f(s)};return qm(this.node.current,o,a)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;let{props:e,prevProps:t}=this.node;["amount","margin","root"].some(Qm(e,t))&&this.startObserver()}unmount(){}};function Qm({viewport:e={}},{viewport:t={}}={}){return r=>e[r]!==t[r]}var _c={inView:{Feature:Jm},tap:{Feature:Gm},focus:{Feature:jm},hover:{Feature:Wm}},Pc=class{constructor(e,t,{transformPagePoint:r}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let l=Oi(this.lastMoveEventInfo,this.history),c=this.startEvent!==null,u=cc(l.offset,{x:0,y:0})>=3;if(!c&&!u)return;let{point:f}=l,{timestamp:d}=ue;this.history.push({...f,timestamp:d});let{onStart:p,onMove:m}=this.handlers;c||(p&&p(this.lastMoveEvent,l),this.startEvent=this.lastMoveEvent),m&&m(this.lastMoveEvent,l)},this.handlePointerMove=(l,c)=>{this.lastMoveEvent=l,this.lastMoveEventInfo=Li(c,this.transformPagePoint),W.update(this.updatePoint,!0)},this.handlePointerUp=(l,c)=>{if(this.end(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let{onEnd:u,onSessionEnd:f}=this.handlers,d=Oi(l.type==="pointercancel"?this.lastMoveEventInfo:Li(c,this.transformPagePoint),this.history);this.startEvent&&u&&u(l,d),f&&f(l,d)},!_l(e))return;this.handlers=t,this.transformPagePoint=r;let n=Mn(e),i=Li(n,this.transformPagePoint),{point:o}=i,{timestamp:a}=ue;this.history=[{...o,timestamp:a}];let{onSessionStart:s}=t;s&&s(e,Oi(i,this.history)),this.removeListeners=et(Ue(N,"pointermove",this.handlePointerMove),Ue(N,"pointerup",this.handlePointerUp),Ue(N,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),De.update(this.updatePoint)}};function Li(e,t){return t?{point:t(e.point)}:e}function ks(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Oi({point:e},t){return{point:e,delta:ks(e,Ic(t)),offset:ks(e,ev(t)),velocity:tv(t,.1)}}function ev(e){return e[0]}function Ic(e){return e[e.length-1]}function tv(e,t){if(e.length<2)return{x:0,y:0};let r=e.length-1,n=null,i=Ic(e);for(;r>=0&&(n=e[r],!(i.timestamp-n.timestamp>tt(t)));)r--;if(!n)return{x:0,y:0};let o=We(i.timestamp-n.timestamp);if(o===0)return{x:0,y:0};let a={x:(i.x-n.x)/o,y:(i.y-n.y)/o};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function rv(e,{min:t,max:r},n){return t!==void 0&&e<t?e=n?Q(t,e,n.min):Math.max(e,t):r!==void 0&&e>r&&(e=n?Q(r,e,n.max):Math.min(e,r)),e}function _s(e,t,r){return{min:t!==void 0?e.min+t:void 0,max:r!==void 0?e.max+r-(e.max-e.min):void 0}}function nv(e,{top:t,left:r,bottom:n,right:i}){return{x:_s(e.x,r,i),y:_s(e.y,t,n)}}function Ps(e,t){let r=t.min-e.min,n=t.max-e.max;return t.max-t.min<e.max-e.min&&([r,n]=[n,r]),{min:r,max:n}}function iv(e,t){return{x:Ps(e.x,t.x),y:Ps(e.y,t.y)}}function ov(e,t){let r=.5,n=ke(e),i=ke(t);return i>n?r=dt(t.min,t.max-n,e.min):n>i&&(r=dt(e.min,e.max-i,t.min)),ft(0,1,r)}function av(e,t){let r={};return t.min!==void 0&&(r.min=t.min-e.min),t.max!==void 0&&(r.max=t.max-e.min),r}var Qi=.35;function sv(e=Qi){return e===!1?e=0:e===!0&&(e=Qi),{x:Is(e,"left","right"),y:Is(e,"top","bottom")}}function Is(e,t,r){return{min:Fs(e,t),max:Fs(e,r)}}function Fs(e,t){return typeof e=="number"?e:e[t]||0}function Ne(e){return[e("x"),e("y")]}function Fc({top:e,left:t,right:r,bottom:n}){return{x:{min:t,max:r},y:{min:e,max:n}}}function lv({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function cv(e,t){if(!t)return e;let r=t({x:e.left,y:e.top}),n=t({x:e.right,y:e.bottom});return{top:r.y,left:r.x,bottom:n.y,right:n.x}}function Ai(e){return e===void 0||e===1}function eo({scale:e,scaleX:t,scaleY:r}){return!Ai(e)||!Ai(t)||!Ai(r)}function kt(e){return eo(e)||Mc(e)||e.z||e.rotate||e.rotateX||e.rotateY}function Mc(e){return Ms(e.x)||Ms(e.y)}function Ms(e){return e&&e!=="0%"}function Rn(e,t,r){let n=e-r,i=t*n;return r+i}function Ls(e,t,r,n,i){return i!==void 0&&(e=Rn(e,i,n)),Rn(e,r,n)+t}function to(e,t=0,r=1,n,i){e.min=Ls(e.min,t,r,n,i),e.max=Ls(e.max,t,r,n,i)}function Lc(e,{x:t,y:r}){to(e.x,t.translate,t.scale,t.originPoint),to(e.y,r.translate,r.scale,r.originPoint)}function uv(e,t,r,n=!1){let i=r.length;if(!i)return;t.x=t.y=1;let o,a;for(let s=0;s<i;s++){o=r[s],a=o.projectionDelta;let l=o.instance;l&&l.style&&l.style.display==="contents"||(n&&o.options.layoutScroll&&o.scroll&&o!==o.root&&Xt(e,{x:-o.scroll.offset.x,y:-o.scroll.offset.y}),a&&(t.x*=a.x.scale,t.y*=a.y.scale,Lc(e,a)),n&&kt(o.latestValues)&&Xt(e,o.latestValues))}t.x=Os(t.x),t.y=Os(t.y)}function Os(e){return Number.isInteger(e)||e>1.0000000000001||e<.999999999999?e:1}function lt(e,t){e.min=e.min+t,e.max=e.max+t}function As(e,t,[r,n,i]){let o=t[i]!==void 0?t[i]:.5,a=Q(e.min,e.max,o);to(e,t[r],t[n],a,t.scale)}var fv=["x","scaleX","originX"],dv=["y","scaleY","originY"];function Xt(e,t){As(e.x,t,fv),As(e.y,t,dv)}function Oc(e,t){return Fc(cv(e.getBoundingClientRect(),t))}function hv(e,t,r){let n=Oc(e,r),{scroll:i}=t;return i&&(lt(n.x,i.offset.x),lt(n.y,i.offset.y)),n}var pv=new WeakMap,mv=class{constructor(e){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=se(),this.visualElement=e}start(e,{snapToCursor:t=!1}={}){let{presenceContext:r}=this.visualElement;if(r&&r.isPresent===!1)return;let n=s=>{this.stopAnimation(),t&&this.snapToCursor(Mn(s,"page").point)},i=(s,l)=>{let{drag:c,dragPropagation:u,onDragStart:f}=this.getProps();if(c&&!u&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=Fl(c),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Ne(p=>{let m=this.getAxisMotionValue(p).get()||0;if($e.test(m)){let{projection:y}=this.visualElement;if(y&&y.layout){let x=y.layout.layoutBox[p];x&&(m=ke(x)*(parseFloat(m)/100))}}this.originPoint[p]=m}),f&&W.update(()=>f(s,l));let{animationState:d}=this.visualElement;d&&d.setActive("whileDrag",!0)},o=(s,l)=>{let{dragPropagation:c,dragDirectionLock:u,onDirectionLock:f,onDrag:d}=this.getProps();if(!c&&!this.openGlobalLock)return;let{offset:p}=l;if(u&&this.currentDirection===null){this.currentDirection=vv(p),this.currentDirection!==null&&f&&f(this.currentDirection);return}this.updateAxis("x",l.point,p),this.updateAxis("y",l.point,p),this.visualElement.render(),d&&d(s,l)},a=(s,l)=>this.stop(s,l);this.panSession=new Pc(e,{onSessionStart:n,onStart:i,onMove:o,onSessionEnd:a},{transformPagePoint:this.visualElement.getTransformPagePoint()})}stop(e,t){let r=this.isDragging;if(this.cancel(),!r)return;let{velocity:n}=t;this.startAnimation(n);let{onDragEnd:i}=this.getProps();i&&W.update(()=>i(e,t))}cancel(){this.isDragging=!1;let{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:r}=this.getProps();!r&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),t&&t.setActive("whileDrag",!1)}updateAxis(e,t,r){let{drag:n}=this.getProps();if(!r||!vn(e,n,this.currentDirection))return;let i=this.getAxisMotionValue(e),o=this.originPoint[e]+r[e];this.constraints&&this.constraints[e]&&(o=rv(o,this.constraints[e],this.elastic[e])),i.set(o)}resolveConstraints(){let{dragConstraints:e,dragElastic:t}=this.getProps(),{layout:r}=this.visualElement.projection||{},n=this.constraints;e&&jt(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&r?this.constraints=nv(r.layoutBox,e):this.constraints=!1,this.elastic=sv(t),n!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&Ne(i=>{this.getAxisMotionValue(i)&&(this.constraints[i]=av(r.layoutBox[i],this.constraints[i]))})}resolveRefConstraints(){let{dragConstraints:e,onMeasureDragConstraints:t}=this.getProps();if(!e||!jt(e))return!1;let r=e.current;ge(r!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:n}=this.visualElement;if(!n||!n.layout)return!1;let i=hv(r,n.root,this.visualElement.getTransformPagePoint()),o=iv(n.layout.layoutBox,i);if(t){let a=t(lv(o));this.hasMutatedConstraints=!!a,a&&(o=Fc(a))}return o}startAnimation(e){let{drag:t,dragMomentum:r,dragElastic:n,dragTransition:i,dragSnapToOrigin:o,onDragTransitionEnd:a}=this.getProps(),s=this.constraints||{},l=Ne(c=>{if(!vn(c,t,this.currentDirection))return;let u=s&&s[c]||{};o&&(u={min:0,max:0});let f=n?200:1e6,d=n?40:1e7,p={type:"inertia",velocity:r?e[c]:0,bounceStiffness:f,bounceDamping:d,timeConstant:750,restDelta:1,restSpeed:10,...i,...u};return this.startAxisValueAnimation(c,p)});return Promise.all(l).then(a)}startAxisValueAnimation(e,t){let r=this.getAxisMotionValue(e);return r.start(ko(e,r,0,t))}stopAnimation(){Ne(e=>this.getAxisMotionValue(e).stop())}getAxisMotionValue(e){let t="_drag"+e.toUpperCase(),r=this.visualElement.getProps(),n=r[t];return n||this.visualElement.getValue(e,(r.initial?r.initial[e]:void 0)||0)}snapToCursor(e){Ne(t=>{let{drag:r}=this.getProps();if(!vn(t,r,this.currentDirection))return;let{projection:n}=this.visualElement,i=this.getAxisMotionValue(t);if(n&&n.layout){let{min:o,max:a}=n.layout.layoutBox[t];i.set(e[t]-Q(o,a,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:r}=this.visualElement;if(!jt(t)||!r||!this.constraints)return;this.stopAnimation();let n={x:0,y:0};Ne(o=>{let a=this.getAxisMotionValue(o);if(a){let s=a.get();n[o]=ov({min:s,max:s},this.constraints[o])}});let{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),Ne(o=>{if(!vn(o,e,null))return;let a=this.getAxisMotionValue(o),{min:s,max:l}=this.constraints[o];a.set(Q(s,l,n[o]))})}addListeners(){if(!this.visualElement.current)return;pv.set(this.visualElement,this);let e=this.visualElement.current,t=Ue(e,"pointerdown",s=>{let{drag:l,dragListener:c=!0}=this.getProps();l&&c&&this.start(s)}),r=()=>{let{dragConstraints:s}=this.getProps();jt(s)&&(this.constraints=this.resolveRefConstraints())},{projection:n}=this.visualElement,i=n.addEventListener("measure",r);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),r();let o=Qe(N,"resize",()=>this.scalePositionWithinConstraints()),a=n.addEventListener("didUpdate",({delta:s,hasLayoutChanged:l})=>{this.isDragging&&l&&(Ne(c=>{let u=this.getAxisMotionValue(c);u&&(this.originPoint[c]+=s[c].translate,u.set(u.get()+s[c].translate))}),this.visualElement.render())});return()=>{o(),t(),i(),a&&a()}}getProps(){let e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:r=!1,dragPropagation:n=!1,dragConstraints:i=!1,dragElastic:o=Qi,dragMomentum:a=!0}=e;return{...e,drag:t,dragDirectionLock:r,dragPropagation:n,dragConstraints:i,dragElastic:o,dragMomentum:a}}};function vn(e,t,r){return(t===!0||t===e)&&(r===null||r===e)}function vv(e,t=10){let r=null;return Math.abs(e.y)>t?r="y":Math.abs(e.x)>t&&(r="x"),r}var gv=class extends ht{constructor(e){super(e),this.removeGroupControls=de,this.removeListeners=de,this.controls=new mv(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||de}unmount(){this.removeGroupControls(),this.removeListeners()}},Vs=e=>(t,r)=>{e&&W.update(()=>e(t,r))},yv=class extends ht{constructor(){super(...arguments),this.removePointerDownListener=de}onPointerDown(e){this.session=new Pc(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint()})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:r,onPanEnd:n}=this.node.getProps();return{onSessionStart:Vs(e),onStart:Vs(t),onMove:r,onEnd:(i,o)=>{delete this.session,n&&W.update(()=>n(i,o))}}}mount(){this.removePointerDownListener=Ue(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}};function Ds(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var vr={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(O.test(e))e=parseFloat(e);else return e;let r=Ds(e,t.target.x),n=Ds(e,t.target.y);return`${r}% ${n}%`}},Ac=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function xv(e){let t=Ac.exec(e);if(!t)return[,];let[,r,n]=t;return[r,n]}var bv=4;function ro(e,t,r=1){ge(r<=bv,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);let[n,i]=xv(e);if(!n)return;let o=N.getComputedStyle(t).getPropertyValue(n);return o?o.trim():Zi(i)?ro(i,t,r+1):i}function Sv(e,{...t},r){let n=e.current;if(!(n instanceof Element))return{target:t,transitionEnd:r};r&&(r={...r}),e.values.forEach(i=>{let o=i.get();if(!Zi(o))return;let a=ro(o,n);a&&i.set(a)});for(let i in t){let o=t[i];if(!Zi(o))continue;let a=ro(o,n);a&&(t[i]=a,r||(r={}),r[i]===void 0&&(r[i]=o))}return{target:t,transitionEnd:r}}var Bs="_$css",wv={correct:(e,{treeScale:t,projectionDelta:r})=>{let n=e,i=e.includes("var("),o=[];i&&(e=e.replace(Ac,p=>(o.push(p),Bs)));let a=je.parse(e);if(a.length>5)return n;let s=je.createTransformer(e),l=typeof a[0]!="number"?1:0,c=r.x.scale*t.x,u=r.y.scale*t.y;a[0+l]/=c,a[1+l]/=u;let f=Q(c,u,.5);typeof a[2+l]=="number"&&(a[2+l]/=f),typeof a[3+l]=="number"&&(a[3+l]/=f);let d=s(a);if(i){let p=0;d=d.replace(Bs,()=>{let m=o[p];return p++,m})}return d}},Cv=class extends h.Component{componentDidMount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:r,layoutId:n}=this.props,{projection:i}=e;co(Tv),i&&(t.group&&t.group.add(i),r&&r.register&&n&&r.register(i),i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,onExitComplete:()=>this.safeToRemove()})),xr.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:t,visualElement:r,drag:n,isPresent:i}=this.props,o=r.projection;return o&&(o.isPresent=i,n||e.layoutDependency!==t||t===void 0?o.willUpdate():this.safeToRemove(),e.isPresent!==i&&(i?o.promote():o.relegate()||W.postRender(()=>{let a=o.getStack();(!a||!a.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){let{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),!e.currentAnimation&&e.isLead()&&this.safeToRemove())}componentWillUnmount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:r}=this.props,{projection:n}=e;n&&(n.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(n),r&&r.deregister&&r.deregister(n))}safeToRemove(){let{safeToRemove:e}=this.props;e&&e()}render(){return null}};function Vc(e){let[t,r]=uc(),n=P(Rr);return h.createElement(Cv,{...e,layoutGroup:n,switchLayoutGroup:P(kn),isPresent:t,safeToRemove:r})}var Tv={borderRadius:{...vr,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:vr,borderTopRightRadius:vr,borderBottomLeftRadius:vr,borderBottomRightRadius:vr,boxShadow:wv},Dc=["TopLeft","TopRight","BottomLeft","BottomRight"],Ev=Dc.length,Hs=e=>typeof e=="string"?parseFloat(e):e,zs=e=>typeof e=="number"||O.test(e);function Rv(e,t,r,n,i,o){i?(e.opacity=Q(0,r.opacity!==void 0?r.opacity:1,kv(n)),e.opacityExit=Q(t.opacity!==void 0?t.opacity:1,0,_v(n))):o&&(e.opacity=Q(t.opacity!==void 0?t.opacity:1,r.opacity!==void 0?r.opacity:1,n));for(let a=0;a<Ev;a++){let s=`border${Dc[a]}Radius`,l=Ns(t,s),c=Ns(r,s);if(l===void 0&&c===void 0)continue;l||(l=0),c||(c=0),l===0||c===0||zs(l)===zs(c)?(e[s]=Math.max(Q(Hs(l),Hs(c),n),0),($e.test(c)||$e.test(l))&&(e[s]+="%")):e[s]=c}(t.rotate||r.rotate)&&(e.rotate=Q(t.rotate||0,r.rotate||0,n))}function Ns(e,t){return e[t]!==void 0?e[t]:e.borderRadius}var kv=Bc(0,.5,On),_v=Bc(.5,.95,de);function Bc(e,t,r){return n=>n<e?0:n>t?1:r(dt(e,t,n))}function $s(e,t){e.min=t.min,e.max=t.max}function Ve(e,t){$s(e.x,t.x),$s(e.y,t.y)}function Us(e,t,r,n,i){return e-=t,e=Rn(e,1/r,n),i!==void 0&&(e=Rn(e,1/i,n)),e}function Pv(e,t=0,r=1,n=.5,i,o=e,a=e){if($e.test(t)&&(t=parseFloat(t),t=Q(a.min,a.max,t/100)-a.min),typeof t!="number")return;let s=Q(o.min,o.max,n);e===o&&(s-=t),e.min=Us(e.min,t,r,s,i),e.max=Us(e.max,t,r,s,i)}function Ws(e,t,[r,n,i],o,a){Pv(e,t[r],t[n],t[i],t.scale,o,a)}var Iv=["x","scaleX","originX"],Fv=["y","scaleY","originY"];function js(e,t,r,n){Ws(e.x,t,Iv,r?r.x:void 0,n?n.x:void 0),Ws(e.y,t,Fv,r?r.y:void 0,n?n.y:void 0)}function Gs(e){return e.translate===0&&e.scale===1}function Hc(e){return Gs(e.x)&&Gs(e.y)}function no(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}function Xs(e){return ke(e.x)/ke(e.y)}var Mv=class{constructor(){this.members=[]}add(e){wo(this.members,e),e.scheduleRender()}remove(e){if(Dn(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){let t=this.members[this.members.length-1];t&&this.promote(t)}}relegate(e){let t=this.members.findIndex(n=>e===n);if(t===0)return!1;let r;for(let n=t;n>=0;n--){let i=this.members[n];if(i.isPresent!==!1){r=i;break}}return r?(this.promote(r),!0):!1}promote(e,t){let r=this.lead;if(e!==r&&(this.prevLead=r,this.lead=e,e.show(),r)){r.instance&&r.scheduleRender(),e.scheduleRender(),e.resumeFrom=r,t&&(e.resumeFrom.preserveOpacity=!0),r.snapshot&&(e.snapshot=r.snapshot,e.snapshot.latestValues=r.animationValues||r.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);let{crossfade:n}=e.options;n===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(e=>{let{options:t,resumingFrom:r}=e;t.onExitComplete&&t.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}};function Ys(e,t,r){let n="",i=e.x.translate/t.x,o=e.y.translate/t.y;if((i||o)&&(n=`translate3d(${i}px, ${o}px, 0) `),(t.x!==1||t.y!==1)&&(n+=`scale(${1/t.x}, ${1/t.y}) `),r){let{rotate:l,rotateX:c,rotateY:u}=r;l&&(n+=`rotate(${l}deg) `),c&&(n+=`rotateX(${c}deg) `),u&&(n+=`rotateY(${u}deg) `)}let a=e.x.scale*t.x,s=e.y.scale*t.y;return(a!==1||s!==1)&&(n+=`scale(${a}, ${s})`),n||"none"}function Lv(e){N.MotionDebug&&N.MotionDebug.record(e)}function zc(e){return e instanceof SVGElement&&e.tagName!=="svg"}function Bo(e,t,r){let n=fe(e)?e:le(e);return n.start(ko("",n,t,r)),n.animation}var Ks=["","X","Y","Z"],qs=1e3,Ov=0,_t={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function Nc({attachResizeListener:e,defaultParent:t,measureScroll:r,checkIsScrollRoot:n,resetTransform:i}){return class{constructor(a,s={},l=t?.()){this.id=Ov++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.potentialNodes=new Map,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{_t.totalNodes=_t.resolvedTargetDeltas=_t.recalculatedProjection=0,this.nodes.forEach(Dv),this.nodes.forEach(Nv),this.nodes.forEach($v),this.nodes.forEach(Bv),Lv(_t)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.elementId=a,this.latestValues=s,this.root=l?l.root||l:this,this.path=l?[...l.path,l]:[],this.parent=l,this.depth=l?l.depth+1:0,a&&this.root.registerPotentialNode(a,this);for(let c=0;c<this.path.length;c++)this.path[c].shouldResetTransform=!0;this.root===this&&(this.nodes=new fc)}addEventListener(a,s){return this.eventHandlers.has(a)||this.eventHandlers.set(a,new Co),this.eventHandlers.get(a).add(s)}notifyListeners(a,...s){let l=this.eventHandlers.get(a);l&&l.notify(...s)}hasListeners(a){return this.eventHandlers.has(a)}registerPotentialNode(a,s){this.potentialNodes.set(a,s)}mount(a,s=!1){if(this.instance)return;this.isSVG=zc(a),this.instance=a;let{layoutId:l,layout:c,visualElement:u}=this.options;if(u&&!u.current&&u.mount(a),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.elementId&&this.root.potentialNodes.delete(this.elementId),s&&(c||l)&&(this.isLayoutDirty=!0),e){let f,d=()=>this.root.updateBlockedByResize=!1;e(a,()=>{this.root.updateBlockedByResize=!0,f&&f(),f=dc(d,250),xr.hasAnimatedSinceResize&&(xr.hasAnimatedSinceResize=!1,this.nodes.forEach(Js))})}l&&this.root.registerSharedNode(l,this),this.options.animate!==!1&&u&&(l||c)&&this.addEventListener("didUpdate",({delta:f,hasLayoutChanged:d,hasRelativeTargetChanged:p,layout:m})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let y=this.options.transition||u.getDefaultTransition()||Xv,{onLayoutAnimationStart:x,onLayoutAnimationComplete:v}=u.getProps(),b=!this.targetLayout||!no(this.targetLayout,m)||p,g=!d&&p;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||g||d&&(b||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(f,g);let S={...sc(y,"layout"),onPlay:x,onComplete:v};(u.shouldReduceMotion||this.options.layoutRoot)&&(S.delay=0,S.type=!1),this.startAnimation(S)}else!d&&this.animationProgress===0&&Js(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=m})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let a=this.getStack();a&&a.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,De.preRender(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(Uv),this.animationId++)}getTransformTemplate(){let{visualElement:a}=this.options;return a&&a.getProps().transformTemplate}willUpdate(a=!0){if(this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let u=0;u<this.path.length;u++){let f=this.path[u];f.shouldResetTransform=!0,f.updateScroll("snapshot"),f.options.layoutRoot&&f.willUpdate(!1)}let{layoutId:s,layout:l}=this.options;if(s===void 0&&!l)return;let c=this.getTransformTemplate();this.prevTransformTemplateValue=c?c(this.latestValues,""):void 0,this.updateSnapshot(),a&&this.notifyListeners("willUpdate")}didUpdate(){if(this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(Zs);return}this.isUpdating&&(this.isUpdating=!1,this.potentialNodes.size&&(this.potentialNodes.forEach(Yv),this.potentialNodes.clear()),this.nodes.forEach(zv),this.nodes.forEach(Av),this.nodes.forEach(Vv),this.clearAllSnapshots(),Ei.update(),Ei.preRender(),Ei.render())}clearAllSnapshots(){this.nodes.forEach(Hv),this.sharedNodes.forEach(Wv)}scheduleUpdateProjection(){W.preRender(this.updateProjection,!1,!0)}scheduleCheckAfterUnmount(){W.postRender(()=>{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<this.path.length;l++)this.path[l].updateScroll();let a=this.layout;this.layout=this.measure(!1),this.layoutCorrected=se(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:s}=this.options;s&&s.notify("LayoutMeasure",this.layout.layoutBox,a?a.layoutBox:void 0)}updateScroll(a="measure"){let s=Boolean(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===a&&(s=!1),s&&(this.scroll={animationId:this.root.animationId,phase:a,isRoot:n(this.instance),offset:r(this.instance)})}resetTransform(){if(!i)return;let a=this.isLayoutDirty||this.shouldResetTransform,s=this.projectionDelta&&!Hc(this.projectionDelta),l=this.getTransformTemplate(),c=l?l(this.latestValues,""):void 0,u=c!==this.prevTransformTemplateValue;a&&(s||kt(this.latestValues)||u)&&(i(this.instance,c),this.shouldResetTransform=!1,this.scheduleRender())}measure(a=!0){let s=this.measurePageBox(),l=this.removeElementScroll(s);return a&&(l=this.removeTransform(l)),Kv(l),{animationId:this.root.animationId,measuredBox:s,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:a}=this.options;if(!a)return se();let s=a.measureViewportBox(),{scroll:l}=this.root;return l&&(lt(s.x,l.offset.x),lt(s.y,l.offset.y)),s}removeElementScroll(a){let s=se();Ve(s,a);for(let l=0;l<this.path.length;l++){let c=this.path[l],{scroll:u,options:f}=c;if(c!==this.root&&u&&f.layoutScroll){if(u.isRoot){Ve(s,a);let{scroll:d}=this.root;d&&(lt(s.x,-d.offset.x),lt(s.y,-d.offset.y))}lt(s.x,u.offset.x),lt(s.y,u.offset.y)}}return s}applyTransform(a,s=!1){let l=se();Ve(l,a);for(let c=0;c<this.path.length;c++){let u=this.path[c];!s&&u.options.layoutScroll&&u.scroll&&u!==u.root&&Xt(l,{x:-u.scroll.offset.x,y:-u.scroll.offset.y}),kt(u.latestValues)&&Xt(l,u.latestValues)}return kt(this.latestValues)&&Xt(l,this.latestValues),l}removeTransform(a){let s=se();Ve(s,a);for(let l=0;l<this.path.length;l++){let c=this.path[l];if(!c.instance||!kt(c.latestValues))continue;eo(c.latestValues)&&c.updateSnapshot();let u=se(),f=c.measurePageBox();Ve(u,f),js(s,c.latestValues,c.snapshot?c.snapshot.layoutBox:void 0,u)}return kt(this.latestValues)&&js(s,this.latestValues),s}setTargetDelta(a){this.targetDelta=a,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(a){this.options={...this.options,...a,crossfade:a.crossfade!==void 0?a.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==ue.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(a=!1){var s;let l=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=l.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=l.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=l.isSharedProjectionDirty);let c=Boolean(this.resumingFrom)||this!==l;if(!(a||c&&this.isSharedProjectionDirty||this.isProjectionDirty||!((s=this.parent)===null||s===void 0)&&s.isProjectionDirty||this.attemptToResolveRelativeTarget))return;let{layout:f,layoutId:d}=this.options;if(!(!this.layout||!(f||d))){if(this.resolvedRelativeTargetAt=ue.timestamp,!this.targetDelta&&!this.relativeTarget){let p=this.getClosestProjectingParent();p&&p.layout?(this.relativeParent=p,this.forceRelativeParentToResolveTarget(),this.relativeTarget=se(),this.relativeTargetOrigin=se(),Cr(this.relativeTargetOrigin,this.layout.layoutBox,p.layout.layoutBox),Ve(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=se(),this.targetWithTransforms=se()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),Rm(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.layoutBox):Ve(this.target,this.layout.layoutBox),Lc(this.target,this.targetDelta)):Ve(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let p=this.getClosestProjectingParent();p&&Boolean(p.resumingFrom)===Boolean(this.resumingFrom)&&!p.options.layoutScroll&&p.target?(this.relativeParent=p,this.forceRelativeParentToResolveTarget(),this.relativeTarget=se(),this.relativeTargetOrigin=se(),Cr(this.relativeTargetOrigin,this.target,p.target),Ve(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}_t.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||eo(this.parent.latestValues)||Mc(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return Boolean((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var a;let s=this.getLead(),l=Boolean(this.resumingFrom)||this!==s,c=!0;if((this.isProjectionDirty||!((a=this.parent)===null||a===void 0)&&a.isProjectionDirty)&&(c=!1),l&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(c=!1),this.resolvedRelativeTargetAt===ue.timestamp&&(c=!1),c)return;let{layout:u,layoutId:f}=this.options;if(this.isTreeAnimating=Boolean(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(u||f))return;Ve(this.layoutCorrected,this.layout.layoutBox),uv(this.layoutCorrected,this.treeScale,this.path,l);let{target:d}=s;if(!d)return;this.projectionDelta||(this.projectionDelta=Tr(),this.projectionDeltaWithTransform=Tr());let p=this.treeScale.x,m=this.treeScale.y,y=this.projectionTransform;wr(this.projectionDelta,this.layoutCorrected,d,this.latestValues),this.projectionTransform=Ys(this.projectionDelta,this.treeScale),(this.projectionTransform!==y||this.treeScale.x!==p||this.treeScale.y!==m)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",d)),_t.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(a=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),a){let s=this.getStack();s&&s.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(a,s=!1){let l=this.snapshot,c=l?l.latestValues:{},u={...this.latestValues},f=Tr();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!s;let d=se(),p=l?l.source:void 0,m=this.layout?this.layout.source:void 0,y=p!==m,x=this.getStack(),v=!x||x.members.length<=1,b=Boolean(y&&!v&&this.options.crossfade===!0&&!this.path.some(Gv));this.animationProgress=0;let g;this.mixTargetDelta=S=>{let T=S/1e3;Qs(f.x,a.x,T),Qs(f.y,a.y,T),this.setTargetDelta(f),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Cr(d,this.layout.layoutBox,this.relativeParent.layout.layoutBox),jv(this.relativeTarget,this.relativeTargetOrigin,d,T),g&&no(this.relativeTarget,g)&&(this.isProjectionDirty=!1),g||(g=se()),Ve(g,this.relativeTarget)),y&&(this.animationValues=u,Rv(u,c,this.latestValues,T,b,v)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=T},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(a){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(De.update(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=W.update(()=>{xr.hasAnimatedSinceResize=!0,this.currentAnimation=Bo(0,qs,{...a,onUpdate:s=>{this.mixTargetDelta(s),a.onUpdate&&a.onUpdate(s)},onComplete:()=>{a.onComplete&&a.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let a=this.getStack();a&&a.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(qs),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let a=this.getLead(),{targetWithTransforms:s,target:l,layout:c,latestValues:u}=a;if(!(!s||!l||!c)){if(this!==a&&this.layout&&c&&$c(this.options.animationType,this.layout.layoutBox,c.layoutBox)){l=this.target||se();let f=ke(this.layout.layoutBox.x);l.x.min=a.target.x.min,l.x.max=l.x.min+f;let d=ke(this.layout.layoutBox.y);l.y.min=a.target.y.min,l.y.max=l.y.min+d}Ve(s,l),Xt(s,u),wr(this.projectionDeltaWithTransform,this.layoutCorrected,s,u)}}registerSharedNode(a,s){this.sharedNodes.has(a)||this.sharedNodes.set(a,new Mv),this.sharedNodes.get(a).add(s);let c=s.options.initialPromotionConfig;s.promote({transition:c?c.transition:void 0,preserveFollowOpacity:c&&c.shouldPreserveFollowOpacity?c.shouldPreserveFollowOpacity(s):void 0})}isLead(){let a=this.getStack();return a?a.lead===this:!0}getLead(){var a;let{layoutId:s}=this.options;return s?((a=this.getStack())===null||a===void 0?void 0:a.lead)||this:this}getPrevLead(){var a;let{layoutId:s}=this.options;return s?(a=this.getStack())===null||a===void 0?void 0:a.prevLead:void 0}getStack(){let{layoutId:a}=this.options;if(a)return this.root.sharedNodes.get(a)}promote({needsReset:a,transition:s,preserveFollowOpacity:l}={}){let c=this.getStack();c&&c.promote(this,l),a&&(this.projectionDelta=void 0,this.needsReset=!0),s&&this.setOptions({transition:s})}relegate(){let a=this.getStack();return a?a.relegate(this):!1}resetRotation(){let{visualElement:a}=this.options;if(!a)return;let s=!1,{latestValues:l}=a;if((l.rotate||l.rotateX||l.rotateY||l.rotateZ)&&(s=!0),!s)return;let c={};for(let u=0;u<Ks.length;u++){let f="rotate"+Ks[u];l[f]&&(c[f]=l[f],a.setStaticValue(f,0))}a.render();for(let u in c)a.setStaticValue(u,c[u]);a.scheduleRender()}getProjectionStyles(a={}){var s,l;let c={};if(!this.instance||this.isSVG)return c;if(this.isVisible)c.visibility="";else return{visibility:"hidden"};let u=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,c.opacity="",c.pointerEvents=be(a.pointerEvents)||"",c.transform=u?u(this.latestValues,""):"none",c;let f=this.getLead();if(!this.projectionDelta||!this.layout||!f.target){let y={};return this.options.layoutId&&(y.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,y.pointerEvents=be(a.pointerEvents)||""),this.hasProjected&&!kt(this.latestValues)&&(y.transform=u?u({},""):"none",this.hasProjected=!1),y}let d=f.animationValues||f.latestValues;this.applyTransformsToTarget(),c.transform=Ys(this.projectionDeltaWithTransform,this.treeScale,d),u&&(c.transform=u(d,c.transform));let{x:p,y:m}=this.projectionDelta;c.transformOrigin=`${p.origin*100}% ${m.origin*100}% 0`,f.animationValues?c.opacity=f===this?(l=(s=d.opacity)!==null&&s!==void 0?s:this.latestValues.opacity)!==null&&l!==void 0?l:1:this.preserveOpacity?this.latestValues.opacity:d.opacityExit:c.opacity=f===this?d.opacity!==void 0?d.opacity:"":d.opacityExit!==void 0?d.opacityExit:0;for(let y in bn){if(d[y]===void 0)continue;let{correct:x,applyTo:v}=bn[y],b=c.transform==="none"?d[y]:x(d[y],f);if(v){let g=v.length;for(let S=0;S<g;S++)c[v[S]]=b}else c[y]=b}return this.options.layoutId&&(c.pointerEvents=f===this?be(a.pointerEvents)||"":"none"),c}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(a=>{var s;return(s=a.currentAnimation)===null||s===void 0?void 0:s.stop()}),this.root.nodes.forEach(Zs),this.root.sharedNodes.clear()}}}function Av(e){e.updateLayout()}function Vv(e){var t;let r=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&r&&e.hasListeners("didUpdate")){let{layoutBox:n,measuredBox:i}=e.layout,{animationType:o}=e.options,a=r.source!==e.layout.source;o==="size"?Ne(f=>{let d=a?r.measuredBox[f]:r.layoutBox[f],p=ke(d);d.min=n[f].min,d.max=d.min+p}):$c(o,r.layoutBox,n)&&Ne(f=>{let d=a?r.measuredBox[f]:r.layoutBox[f],p=ke(n[f]);d.max=d.min+p,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[f].max=e.relativeTarget[f].min+p)});let s=Tr();wr(s,n,r.layoutBox);let l=Tr();a?wr(l,e.applyTransform(i,!0),r.measuredBox):wr(l,n,r.layoutBox);let c=!Hc(s),u=!1;if(!e.resumeFrom){let f=e.getClosestProjectingParent();if(f&&!f.resumeFrom){let{snapshot:d,layout:p}=f;if(d&&p){let m=se();Cr(m,r.layoutBox,d.layoutBox);let y=se();Cr(y,n,p.layoutBox),no(m,y)||(u=!0),f.options.layoutRoot&&(e.relativeTarget=y,e.relativeTargetOrigin=m,e.relativeParent=f)}}}e.notifyListeners("didUpdate",{layout:n,snapshot:r,delta:l,layoutDelta:s,hasLayoutChanged:c,hasRelativeTargetChanged:u})}else if(e.isLead()){let{onExitComplete:n}=e.options;n&&n()}e.options.transition=void 0}function Dv(e){_t.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=Boolean(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function Bv(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function Hv(e){e.clearSnapshot()}function Zs(e){e.clearMeasurements()}function zv(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Js(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0}function Nv(e){e.resolveTargetDelta()}function $v(e){e.calcProjection()}function Uv(e){e.resetRotation()}function Wv(e){e.removeLeadSnapshot()}function Qs(e,t,r){e.translate=Q(t.translate,0,r),e.scale=Q(t.scale,1,r),e.origin=t.origin,e.originPoint=t.originPoint}function el(e,t,r,n){e.min=Q(t.min,r.min,n),e.max=Q(t.max,r.max,n)}function jv(e,t,r,n){el(e.x,t.x,r.x,n),el(e.y,t.y,r.y,n)}function Gv(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}var Xv={duration:.45,ease:[.4,0,.1,1]};function Yv(e,t){let r=e.root;for(let o=e.path.length-1;o>=0;o--)if(Boolean(e.path[o].instance)){r=e.path[o];break}let i=(r&&r!==e.root?r.instance:document).querySelector(`[data-projection-id="${t}"]`);i&&e.mount(i,!0)}function tl(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function Kv(e){tl(e.x),tl(e.y)}function $c(e,t,r){return e==="position"||e==="preserve-aspect"&&!qi(Xs(t),Xs(r),.2)}var qv=Nc({attachResizeListener:(e,t)=>Qe(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),It={current:void 0},Uc=Nc({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!It.current){let e=new qv(0,{});e.mount(N),e.setOptions({layoutScroll:!0}),It.current=e}return It.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>Boolean(N.getComputedStyle(e).position==="fixed")}),Wc={pan:{Feature:yv},drag:{Feature:gv,ProjectionNode:Uc,MeasureLayout:Vc}},Zv=new Set(["width","height","top","left","right","bottom","x","y"]),jc=e=>Zv.has(e),Jv=e=>Object.keys(e).some(jc),gn=e=>e===Mt||e===O,rl=(e,t)=>parseFloat(e.split(", ")[t]),nl=(e,t)=>(r,{transform:n})=>{if(n==="none"||!n)return 0;let i=n.match(/^matrix3d\((.+)\)$/);if(i)return rl(i[1],t);{let o=n.match(/^matrix\((.+)\)$/);return o?rl(o[1],e):0}},Qv=new Set(["x","y","z"]),eg=In.filter(e=>!Qv.has(e));function tg(e){let t=[];return eg.forEach(r=>{let n=e.getValue(r);n!==void 0&&(t.push([r,n.get()]),n.set(r.startsWith("scale")?1:0))}),t.length&&e.render(),t}var il={width:({x:e},{paddingLeft:t="0",paddingRight:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),height:({y:e},{paddingTop:t="0",paddingBottom:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:nl(4,13),y:nl(5,14)},rg=(e,t,r)=>{let n=t.measureViewportBox(),i=t.current,o=getComputedStyle(i),{display:a}=o,s={};a==="none"&&t.setStaticValue("display",e.display||"block"),r.forEach(c=>{s[c]=il[c](n,o)}),t.render();let l=t.measureViewportBox();return r.forEach(c=>{let u=t.getValue(c);u&&u.jump(s[c]),e[c]=il[c](l,o)}),e},ng=(e,t,r={},n={})=>{t={...t},n={...n};let i=Object.keys(t).filter(jc),o=[],a=!1,s=[];if(i.forEach(l=>{let c=e.getValue(l);if(!e.hasValue(l))return;let u=r[l],f=mr(u),d=t[l],p;if(Sn(d)){let m=d.length,y=d[0]===null?1:0;u=d[y],f=mr(u);for(let x=y;x<m&&d[x]!==null;x++)p?ge(mr(d[x])===p,"All keyframes must be of the same type"):(p=mr(d[x]),ge(p===f||gn(f)&&gn(p),"Keyframes must be of the same dimension as the current value"))}else p=mr(d);if(f!==p)if(gn(f)&&gn(p)){let m=c.get();typeof m=="string"&&c.set(parseFloat(m)),typeof d=="string"?t[l]=parseFloat(d):Array.isArray(d)&&p===O&&(t[l]=d.map(parseFloat))}else f?.transform&&p?.transform&&(u===0||d===0)?u===0?c.set(p.transform(u)):t[l]=f.transform(d):(a||(o=tg(e),a=!0),s.push(l),n[l]=n[l]!==void 0?n[l]:t[l],c.jump(d))}),s.length){let l=s.indexOf("height")>=0?N.pageYOffset:null,c=rg(t,e,s);return o.length&&o.forEach(([u,f])=>{e.getValue(u).set(f)}),e.render(),Or&&l!==null&&N.scrollTo({top:l}),{target:c,transitionEnd:n}}else return{target:t,transitionEnd:n}};function ig(e,t,r,n){return Jv(t)?ng(e,t,r,n):{target:t,transitionEnd:n}}var og=(e,t,r,n)=>{let i=Sv(e,t,n);return t=i.target,n=i.transitionEnd,ig(e,t,r,n)},Gc=class extends mc{sortInstanceNodePosition(e,t){return e.compareDocumentPosition(t)&2?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,{vars:t,style:r}){delete t[e],delete r[e]}makeTargetAnimatableFromInstance({transition:e,transitionEnd:t,...r},{transformValues:n},i){let o=Jp(r,e||{},this);if(n&&(t&&(t=n(t)),r&&(r=n(r)),o&&(o=n(o))),i){tc(this,r,o);let a=og(this,r,o,t);t=a.transitionEnd,r=a.target}return{transition:e,transitionEnd:t,...r}}};function ag(e){return N.getComputedStyle(e)}var Xc=class extends Gc{readValueFromInstance(e,t){if(Ft.has(t)){let r=To(t);return r&&r.default||0}else{let r=ag(e),n=(xc(t)?r.getPropertyValue(t):r[t])||0;return typeof n=="string"?n.trim():n}}measureInstanceViewportBox(e,{transformPagePoint:t}){return Oc(e,t)}build(e,t,r,n){Lo(e,t,r,n.transformTemplate)}scrapeMotionValuesFromProps(e,t){return Do(e,t)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;fe(e)&&(this.childSubscription=e.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}renderInstance(e,t,r,n){wc(e,t,r,n)}},Yc=class extends Gc{constructor(){super(...arguments),this.isSVGTag=!1}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(Ft.has(t)){let r=To(t);return r&&r.default||0}return t=Cc.has(t)?t:ho(t),e.getAttribute(t)}measureInstanceViewportBox(){return se()}scrapeMotionValuesFromProps(e,t){return Ec(e,t)}build(e,t,r,n){Ao(e,t,r,this.isSVGTag,n.transformTemplate)}renderInstance(e,t,r,n){Tc(e,t,r,n)}mount(e){this.isSVGTag=Vo(e.tagName),super.mount(e)}},Kc=(e,t)=>Mo(e)?new Yc(t,{enableHardwareAcceleration:!1}):new Xc(t,{enableHardwareAcceleration:!0}),qc={layout:{ProjectionNode:Uc,MeasureLayout:Vc}},sg={...Io,..._c,...Wc,...qc},Pe=vc((e,t)=>Rc(e,t,sg,Kc));var lg=vc(Rc);function Zc(){let e=L(!1);return ut(()=>(e.current=!0,()=>{e.current=!1}),[]),e}function zn(){let e=Zc(),[t,r]=Re(0),n=ae(()=>{e.current&&r(t+1)},[t]);return[ae(()=>W.postRender(n),[n]),t]}function Jc(e){return A(()=>()=>e(),[])}var cg=class extends ne{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){let r=this.props.sizeRef.current;r.height=t.offsetHeight||0,r.width=t.offsetWidth||0,r.top=t.offsetTop,r.left=t.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}};function ug({children:e,isPresent:t}){let r=Tt(),n=L(null),i=L({width:0,height:0,top:0,left:0});return Et(()=>{let{width:o,height:a,top:s,left:l}=i.current;if(t||!n.current||!o||!a)return;n.current.dataset.motionPopId=r;let c=document.createElement("style");return document.head.appendChild(c),c.sheet&&c.sheet.insertRule(`
[data-motion-pop-id="${r}"] {
position: absolute !important;
width: ${o}px !important;
height: ${a}px !important;
top: ${s}px !important;
left: ${l}px !important;
}
`),()=>{document.head.removeChild(c)}},[t]),q(cg,{isPresent:t,childRef:n,sizeRef:i},Ct(e,{ref:n}))}var Vi=({children:e,initial:t,isPresent:r,onExitComplete:n,custom:i,presenceAffectsLayout:o,mode:a})=>{let s=Xe(fg),l=Tt(),c=ee(()=>({id:l,initial:t,isPresent:r,custom:i,onExitComplete:u=>{s.set(u,!0);for(let f of s.values())if(!f)return;n&&n()},register:u=>(s.set(u,!1),()=>s.delete(u))}),o?void 0:[r]);return ee(()=>{s.forEach((u,f)=>s.set(f,!1))},[r]),A(()=>{!r&&!s.size&&n&&n()},[r]),a==="popLayout"&&(e=q(ug,{isPresent:r},e)),q(qt.Provider,{value:c},e)};function fg(){return new Map}var Wt=e=>e.key||"";function dg(e,t){e.forEach(r=>{let n=Wt(r);t.set(n,r)})}function hg(e){let t=[];return hr.forEach(e,r=>{Ut(r)&&t.push(r)}),t}var Ho=({children:e,custom:t,initial:r=!0,onExitComplete:n,exitBeforeEnter:i,presenceAffectsLayout:o=!0,mode:a="sync"})=>{ge(!i,"Replace exitBeforeEnter with mode='wait'");let[s]=zn(),l=P(Rr).forceRender;l&&(s=l);let c=Zc(),u=hg(e),f=u,d=new Set,p=L(f),m=L(new Map).current,y=L(!0);if(ut(()=>{y.current=!1,dg(u,m),p.current=f}),Jc(()=>{y.current=!0,m.clear(),d.clear()}),y.current)return q(hn,null,f.map(g=>q(Vi,{key:Wt(g),isPresent:!0,initial:r?void 0:!1,presenceAffectsLayout:o,mode:a},g)));f=[...f];let x=p.current.map(Wt),v=u.map(Wt),b=x.length;for(let g=0;g<b;g++){let S=x[g];v.indexOf(S)===-1&&d.add(S)}return a==="wait"&&d.size&&(f=[]),d.forEach(g=>{if(v.indexOf(g)!==-1)return;let S=m.get(g);if(!S)return;let T=x.indexOf(g),w=()=>{m.delete(g),d.delete(g);let C=p.current.findIndex(E=>E.key===g);if(p.current.splice(C,1),!d.size){if(p.current=u,c.current===!1)return;s(),n&&n()}};f.splice(T,0,q(Vi,{key:Wt(S),isPresent:!1,onExitComplete:w,custom:t,presenceAffectsLayout:o,mode:a},S))}),f=f.map(g=>{let S=g.key;return d.has(S)?g:q(Vi,{key:Wt(g),isPresent:!0,presenceAffectsLayout:o,mode:a},g)}),q(hn,null,d.size?f:f.map(g=>Ct(g)))};function Qc({children:e,isValidProp:t,...r}){t&&Rl(t),r={...P(ct),...r},r.isStatic=Xe(()=>r.isStatic);let n=ee(()=>r,[JSON.stringify(r.transition),r.transformPagePoint,r.reducedMotion]);return q(ct.Provider,{value:n},e)}var eu=ie(null),pg=e=>!e.isLayoutDirty&&e.willUpdate(!1);function ol(){let e=new Set,t=new WeakMap,r=()=>e.forEach(pg);return{add:n=>{e.add(n),t.set(n,n.addEventListener("willUpdate",r))},remove:n=>{e.delete(n);let i=t.get(n);i&&(i(),t.delete(n)),r()},dirty:r}}var tu=e=>e===!0,mg=e=>tu(e===!0)||e==="id",ru=({children:e,id:t,inherit:r=!0})=>{let n=P(Rr),i=P(eu),[o,a]=zn(),s=L(null),l=n.id||i;s.current===null&&(mg(r)&&l&&(t=t?l+"-"+t:l),s.current={id:t,group:tu(r)&&n.group||ol()});let c=ee(()=>({...s.current,forceRender:o}),[a]);return q(Rr.Provider,{value:c},e)};function Jt(e){let t=Xe(()=>le(e)),{isStatic:r}=P(ct);if(r){let[,n]=Re(e);A(()=>t.on("change",n),[])}return t}var vg=e=>typeof e=="object"&&e.mix,gg=e=>vg(e)?e.mix:void 0;function zr(...e){let t=!Array.isArray(e[0]),r=t?0:-1,n=e[0+r],i=e[1+r],o=e[2+r],a=e[3+r],s=Hr(i,o,{mixer:gg(o[0]),...a});return t?s(n):s}function yg(e,t){let r=Jt(t()),n=()=>r.set(t());return n(),ut(()=>{let i=()=>W.update(n,!1,!0),o=e.map(a=>a.on("change",i));return()=>{o.forEach(a=>a()),De.update(n)}}),r}function Be(e,t,r,n){let i=typeof t=="function"?t:zr(t,r,n);return Array.isArray(e)?al(e,i):al([e],([o])=>i(o))}function al(e,t){let r=Xe(()=>[]);return yg(e,()=>{r.length=0;let n=e.length;for(let i=0;i<n;i++)r[i]=e[i].get();return t(r)})}var nu=ie(null);function xg(e,t,r,n){if(!n)return e;let i=e.findIndex(u=>u.value===t);if(i===-1)return e;let o=n>0?1:-1,a=e[i+o];if(!a)return e;let s=e[i],l=a.layout,c=Q(l.min,l.max,.5);return o===1&&s.layout.max+r>c||o===-1&&s.layout.min+r<c?Vp(e,i,i+o):e}function bg({children:e,as:t="ul",axis:r="y",onReorder:n,values:i,...o},a){let s=Xe(()=>Pe(t)),l=[],c=L(!1);ge(Boolean(i),"Reorder.Group must be provided a values prop");let u={axis:r,registerItem:(f,d)=>{d&&l.findIndex(p=>f===p.value)===-1&&(l.push({value:f,layout:d[r]}),l.sort(wg))},updateOrder:(f,d,p)=>{if(c.current)return;let m=xg(l,f,d,p);l!==m&&(c.current=!0,n(m.map(Sg).filter(y=>i.indexOf(y)!==-1)))}};return A(()=>{c.current=!1}),q(s,{...o,ref:a,ignoreStrict:!0},q(nu.Provider,{value:u},e))}var gT=ye(bg);function Sg(e){return e.value}function wg(e,t){return e.layout.min-t.layout.min}function sl(e,t=0){return fe(e)?e:Jt(t)}function Cg({children:e,style:t={},value:r,as:n="li",onDrag:i,layout:o=!0,...a},s){let l=Xe(()=>Pe(n)),c=P(nu),u={x:sl(t.x),y:sl(t.y)},f=Be([u.x,u.y],([x,v])=>x||v?1:"unset"),d=L(null);ge(Boolean(c),"Reorder.Item must be a child of Reorder.Group");let{axis:p,registerItem:m,updateOrder:y}=c;return A(()=>{m(r,d.current)},[c]),q(l,{drag:p,...a,dragSnapToOrigin:!0,style:{...t,x:u.x,y:u.y,zIndex:f},layout:o,onDrag:(x,v)=>{let{velocity:b}=v;b[p]&&y(r,u[p].get(),b[p]),i&&i(x,v)},onLayoutMeasure:x=>{d.current=x},ref:s,ignoreStrict:!0},e)}var xT=ye(Cg);var iu={renderer:Kc,...Io,..._c},Tg={...iu,...Wc,...qc};function Nn(e,t,r){var n;if(typeof e=="string"){let i=document;t&&(ge(Boolean(t.current),"Scope provided, but no element detected."),i=t.current),r?((n=r[e])!==null&&n!==void 0||(r[e]=i.querySelectorAll(e)),e=r[e]):e=i.querySelectorAll(e)}else e instanceof Element&&(e=[e]);return Array.from(e||[])}var yn=new WeakMap,st;function Eg(e,t){if(t){let{inlineSize:r,blockSize:n}=t[0];return{width:r,height:n}}else return e instanceof SVGElement&&"getBBox"in e?e.getBBox():{width:e.offsetWidth,height:e.offsetHeight}}function Rg({target:e,contentRect:t,borderBoxSize:r}){var n;(n=yn.get(e))===null||n===void 0||n.forEach(i=>{i({target:e,contentSize:t,get size(){return Eg(e,r)}})})}function kg(e){e.forEach(Rg)}function _g(){typeof ResizeObserver>"u"||(st=new ResizeObserver(kg))}function Pg(e,t){st||_g();let r=Nn(e);return r.forEach(n=>{let i=yn.get(n);i||(i=new Set,yn.set(n,i)),i.add(t),st?.observe(n)}),()=>{r.forEach(n=>{let i=yn.get(n);i?.delete(t),i?.size||st?.unobserve(n)})}}var xn=new Set,Er;function Ig(){Er=()=>{let e={width:N.innerWidth,height:N.innerHeight},t={target:N,size:e,contentSize:e};xn.forEach(r=>r(t))},N.addEventListener("resize",Er)}function Fg(e){return xn.add(e),Er||Ig(),()=>{xn.delete(e),!xn.size&&Er&&(Er=void 0)}}function Mg(e,t){return typeof e=="function"?Fg(e):Pg(e,t)}var Lg=50,ll=()=>({current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}),Og=()=>({time:0,x:ll(),y:ll()}),Ag={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};function cl(e,t,r,n){let i=r[t],{length:o,position:a}=Ag[t],s=i.current,l=r.time;i.current=e["scroll"+a],i.scrollLength=e["scroll"+o]-e["client"+o],i.offset.length=0,i.offset[0]=0,i.offset[1]=i.scrollLength,i.progress=dt(0,i.scrollLength,i.current);let c=n-l;i.velocity=c>Lg?0:bo(i.current-s,c)}function Vg(e,t,r){cl(e,"x",t,r),cl(e,"y",t,r),t.time=r}function Dg(e,t){let r={x:0,y:0},n=e;for(;n&&n!==t;)if(n instanceof HTMLElement)r.x+=n.offsetLeft,r.y+=n.offsetTop,n=n.offsetParent;else if(n instanceof SVGGraphicsElement&&"getBBox"in n){let{top:i,left:o}=n.getBBox();for(r.x+=o,r.y+=i;n&&n.tagName!=="svg";)n=n.parentNode}return r}var Bg={Enter:[[0,1],[1,1]],Exit:[[0,0],[1,0]],Any:[[1,0],[0,1]],All:[[0,0],[1,1]]},io={start:0,center:.5,end:1};function ul(e,t,r=0){let n=0;if(io[e]!==void 0&&(e=io[e]),typeof e=="string"){let i=parseFloat(e);e.endsWith("px")?n=i:e.endsWith("%")?e=i/100:e.endsWith("vw")?n=i/100*document.documentElement.clientWidth:e.endsWith("vh")?n=i/100*document.documentElement.clientHeight:e=i}return typeof e=="number"&&(n=t*e),r+n}var Hg=[0,0];function zg(e,t,r,n){let i=Array.isArray(e)?e:Hg,o=0,a=0;return typeof e=="number"?i=[e,e]:typeof e=="string"&&(e=e.trim(),e.includes(" ")?i=e.split(" "):i=[e,io[e]?e:"0"]),o=ul(i[0],r,n),a=ul(i[1],t),o-a}var Ng={x:0,y:0};function $g(e,t,r){let{offset:n=Bg.All}=r,{target:i=e,axis:o="y"}=r,a=o==="y"?"height":"width",s=i!==e?Dg(i,e):Ng,l=i===e?{width:e.scrollWidth,height:e.scrollHeight}:{width:i.clientWidth,height:i.clientHeight},c={width:e.clientWidth,height:e.clientHeight};t[o].offset.length=0;let u=!t[o].interpolate,f=n.length;for(let d=0;d<f;d++){let p=zg(n[d],c[a],l[a],s[o]);!u&&p!==t[o].interpolatorOffsets[d]&&(u=!0),t[o].offset[d]=p}u&&(t[o].interpolate=Hr(t[o].offset,So(n)),t[o].interpolatorOffsets=[...t[o].offset]),t[o].progress=t[o].interpolate(t[o].current)}function Ug(e,t=e,r){if(r.x.targetOffset=0,r.y.targetOffset=0,t!==e){let n=t;for(;n&&n!==e;)r.x.targetOffset+=n.offsetLeft,r.y.targetOffset+=n.offsetTop,n=n.offsetParent}r.x.targetLength=t===e?t.scrollWidth:t.clientWidth,r.y.targetLength=t===e?t.scrollHeight:t.clientHeight,r.x.containerLength=e.clientWidth,r.y.containerLength=e.clientHeight}function Wg(e,t,r,n={}){return{measure:()=>Ug(e,n.target,r),update:i=>{Vg(e,r,i),(n.offset||n.target)&&$g(e,r,n)},notify:()=>t(r)}}var gr=new WeakMap,fl=new WeakMap,Di=new WeakMap,dl=e=>e===document.documentElement?N:e;function Nr(e,{container:t=document.documentElement,...r}={}){let n=Di.get(t);n||(n=new Set,Di.set(t,n));let i=Og(),o=Wg(t,e,i,r);if(n.add(o),!gr.has(t)){let s=()=>{for(let d of n)d.measure()},l=()=>{for(let d of n)d.update(ue.timestamp)},c=()=>{for(let d of n)d.notify()},u=()=>{W.read(s,!1,!0),W.update(l,!1,!0),W.update(c,!1,!0)};gr.set(t,u);let f=dl(t);N.addEventListener("resize",u,{passive:!0}),t!==document.documentElement&&fl.set(t,Mg(t,u)),f.addEventListener("scroll",u,{passive:!0})}let a=gr.get(t);return W.read(a,!1,!0),()=>{var s;De.read(a);let l=Di.get(t);if(!l||(l.delete(o),l.size))return;let c=gr.get(t);gr.delete(t),c&&(dl(t).removeEventListener("scroll",c),(s=fl.get(t))===null||s===void 0||s(),N.removeEventListener("resize",c))}}function hl(e,t){Br(Boolean(!t||t.current),`You have defined a ${e} options but the provided ref is not yet hydrated, probably because it's defined higher up the tree. Try calling useScroll() in the same component as the ref, or setting its \`layoutEffect: false\` option.`)}var jg=()=>({scrollX:le(0),scrollY:le(0),scrollXProgress:le(0),scrollYProgress:le(0)});function ou({container:e,target:t,layoutEffect:r=!0,...n}={}){let i=Xe(jg);return(r?ut:A)(()=>(hl("target",t),hl("container",e),Nr(({x:a,y:s})=>{i.scrollX.set(a.current),i.scrollXProgress.set(a.progress),i.scrollY.set(s.current),i.scrollYProgress.set(s.progress)},{...n,container:e?.current||void 0,target:t?.current||void 0})),[]),i}function Gg(e){let t=L(0),{isStatic:r}=P(ct);A(()=>{if(r)return;let n=({timestamp:i,delta:o})=>{t.current||(t.current=i),e(i-t.current,o)};return W.update(n,!0),()=>De.update(n)},[e])}function au(){!Fo.current&&hc();let[e]=Re(En.current);return e}function $n(){let e=au(),{reducedMotion:t}=P(ct);return t==="never"?!1:t==="always"?!0:e}function Xg(e){e.values.forEach(t=>t.stop())}function su(){let e=!1,t=new Set,r={subscribe(n){return t.add(n),()=>void t.delete(n)},start(n,i){ge(e,"controls.start() should only be called after a component has mounted. Consider calling within a useEffect hook.");let o=[];return t.forEach(a=>{o.push(Po(a,n,{transitionOverride:i}))}),Promise.all(o)},set(n){return ge(e,"controls.set() should only be called after a component has mounted. Consider calling within a useEffect hook."),t.forEach(i=>{qp(i,n)})},stop(){t.forEach(n=>{Xg(n)})},mount(){return e=!0,()=>{e=!1,r.stop()}}};return r}var lu=(e,t,r)=>{let n=t-e;return((r-e)%n+n)%n+e},cu=class{constructor(e){this.animations=e.filter(Boolean)}then(e,t){return Promise.all(this.animations).then(e).catch(t)}getAll(e){return this.animations[0][e]}setAll(e,t){for(let r=0;r<this.animations.length;r++)this.animations[r][e]=t}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 duration(){let e=0;for(let t=0;t<this.animations.length;t++)e=Math.max(e,this.animations[t].duration);return e}runAll(e){this.animations.forEach(t=>t[e]())}play(){this.runAll("play")}pause(){this.runAll("pause")}stop(){this.runAll("stop")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}};function Yg(e){return typeof e=="object"&&!Array.isArray(e)}function Kg(e){let t={presenceContext:null,props:{},visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{}}},r=zc(e)?new Yc(t,{enableHardwareAcceleration:!1}):new Xc(t,{enableHardwareAcceleration:!0});r.mount(e),Fr.set(e,r)}function qg(e,t=100){let r=Vn({keyframes:[0,t],...e}),n=Math.min(Ui(r),$i);return{type:"keyframes",ease:i=>r.next(n*i).value/t,duration:We(n)}}function pl(e,t,r,n){var i;return typeof t=="number"?t:t.startsWith("-")||t.startsWith("+")?Math.max(0,e+parseFloat(t)):t==="<"?r:(i=n.get(t))!==null&&i!==void 0?i:e}function Zg(e,t){return ql(e)?e[lu(0,e.length,t)]:e}function Jg(e,t,r){for(let n=0;n<e.length;n++){let i=e[n];i.at>t&&i.at<r&&(Dn(e,i),n--)}}function Qg(e,t,r,n,i,o){Jg(e,i,o);for(let a=0;a<t.length;a++)e.push({value:t[a],at:Q(i,o,n[a]),easing:Zg(r,a)})}function ey(e,t){return e.at===t.at?e.value===null?1:t.value===null?-1:0:e.at-t.at}var ty="easeInOut";function ry(e,{defaultTransition:t={},...r}={},n){let i=t.duration||.3,o=new Map,a=new Map,s={},l=new Map,c=0,u=0,f=0;for(let d=0;d<e.length;d++){let p=e[d];if(typeof p=="string"){l.set(p,u);continue}else if(!Array.isArray(p)){l.set(p.name,pl(u,p.at,c,l));continue}let[m,y,x={}]=p;x.at!==void 0&&(u=pl(u,x.at,c,l));let v=0,b=(g,S,T,w=0,C=0)=>{let E=ny(g),{delay:k=0,times:F=So(E),type:I="keyframes",...D}=S,{ease:z=t.ease||"easeOut",duration:M}=S,_=typeof k=="function"?k(w,C):k,$=E.length;if($<=2&&I==="spring"){let U=100;if($===2&&ay(E)){let Y=E[1]-E[0];U=Math.abs(Y)}let B={...D};M!==void 0&&(B.duration=tt(M));let re=qg(B,U);z=re.ease,M=re.duration}M??(M=i);let R=u+_,j=R+M;F.length===1&&F[0]===0&&(F[1]=1);let J=F.length-E.length;J>0&&Zl(F,J),E.length===1&&E.unshift(null),Qg(T,E,z,F,R,j),v=Math.max(_+M,v),f=Math.max(j,f)};if(fe(m)){let g=ml(m,a);b(y,x,vl("default",g))}else{let g=Nn(m,n,s),S=g.length;for(let T=0;T<S;T++){y=y,x=x;let w=g[T],C=ml(w,a);for(let E in y)b(y[E],iy(x,E),vl(E,C),T,S)}c=u,u+=v}}return a.forEach((d,p)=>{for(let m in d){let y=d[m];y.sort(ey);let x=[],v=[],b=[];for(let S=0;S<y.length;S++){let{at:T,value:w,easing:C}=y[S];x.push(w),v.push(dt(0,f,T)),b.push(C||"easeOut")}v[0]!==0&&(v.unshift(0),x.unshift(x[0]),b.unshift(ty)),v[v.length-1]!==1&&(v.push(1),x.push(null)),o.has(p)||o.set(p,{keyframes:{},transition:{}});let g=o.get(p);g.keyframes[m]=x,g.transition[m]={...t,duration:f,ease:b,times:v,...r}}}),o}function ml(e,t){return!t.has(e)&&t.set(e,{}),t.get(e)}function vl(e,t){return t[e]||(t[e]=[]),t[e]}function ny(e){return Array.isArray(e)?e:[e]}function iy(e,t){return e[t]?{...e,...e[t]}:{...e}}var oy=e=>typeof e=="number",ay=e=>e.every(oy);function uu(e,t,r,n){let i=Nn(e,n),o=i.length;ge(Boolean(o),"No valid element provided.");let a=[];for(let s=0;s<o;s++){let l=i[s];Fr.has(l)||Kg(l);let c=Fr.get(l),u={...r};typeof u.delay=="function"&&(u.delay=u.delay(s,o)),a.push(..._o(c,{...t,transition:u},{}))}return new cu(a)}var sy=e=>Array.isArray(e)&&Array.isArray(e[0]);function ly(e,t,r){let n=[];return ry(e,t,r).forEach(({keyframes:o,transition:a},s)=>{let l;fe(s)?l=Bo(s,o.default,a.default):l=uu(s,o,a),n.push(l)}),new cu(n)}var fu=e=>{function t(r,n,i){let o;return sy(r)?o=ly(r,n,e):Yg(n)?o=uu(r,n,i,e):o=Bo(r,n,i),e&&e.animations.push(o),o}return t},zo=fu();function du(){let e=Xe(su);return ut(e.mount,[]),e}var hu=du;var cy={any:0,all:1};function pu(e,t,{root:r,margin:n,amount:i="any"}={}){let o=Nn(e),a=new WeakMap,s=c=>{c.forEach(u=>{let f=a.get(u.target);if(u.isIntersecting!==Boolean(f))if(u.isIntersecting){let d=t(u);typeof d=="function"?a.set(u.target,d):l.unobserve(u.target)}else f&&(f(u),a.delete(u.target))})},l=new IntersectionObserver(s,{root:r,rootMargin:n,threshold:typeof i=="number"?i:cy[i]});return o.forEach(c=>l.observe(c)),()=>l.disconnect()}function uy(e,{root:t,margin:r,amount:n,once:i=!1}={}){let[o,a]=Re(!1);return A(()=>{if(!e.current||i&&o)return;let s=()=>(a(!0),i?void 0:()=>a(!1)),l={root:t&&t.current||void 0,margin:r,amount:n==="some"?"any":n};return pu(e.current,s,l)},[t,e,r,i]),o}function No(e){return e!==null&&typeof e=="object"&&lo in e}function mu(e){if(No(e))return e[lo]}function $o(){return fy}function fy(e){It.current&&(It.current.isUpdating=!1,It.current.blockUpdate(),e&&e())}function vu(){let[e,t]=zn(),r=$o();return A(()=>{W.postRender(()=>W.postRender(()=>Gi.current=!1))},[t]),n=>{r(()=>{Gi.current=!0,e(),n()})}}function gu(){return ae(()=>{let t=It.current;t&&t.resetTree()},[])}var gl=()=>({});var FT=Fn({scrapeMotionValuesFromProps:gl,createRenderState:gl});var dy=Ge({"../../../node_modules/hsluv/hsluv.js"(e,t){var r=r||{};r.Geometry=function(){},r.Geometry.intersectLineLine=function(i,o){var a=(i.intercept-o.intercept)/(o.slope-i.slope),s=i.slope*a+i.intercept;return{x:a,y:s}},r.Geometry.distanceFromOrigin=function(i){return Math.sqrt(Math.pow(i.x,2)+Math.pow(i.y,2))},r.Geometry.distanceLineFromOrigin=function(i){return Math.abs(i.intercept)/Math.sqrt(Math.pow(i.slope,2)+1)},r.Geometry.perpendicularThroughPoint=function(i,o){var a=-1/i.slope,s=o.y-a*o.x;return{slope:a,intercept:s}},r.Geometry.angleFromOrigin=function(i){return Math.atan2(i.y,i.x)},r.Geometry.normalizeAngle=function(i){var o=2*Math.PI;return(i%o+o)%o},r.Geometry.lengthOfRayUntilIntersect=function(i,o){return o.intercept/(Math.sin(i)-o.slope*Math.cos(i))},r.Hsluv=function(){},r.Hsluv.getBounds=function(i){for(var o=[],a=Math.pow(i+16,3)/1560896,s=a>r.Hsluv.epsilon?a:i/r.Hsluv.kappa,l=0;l<3;)for(var c=l++,u=r.Hsluv.m[c][0],f=r.Hsluv.m[c][1],d=r.Hsluv.m[c][2],p=0;p<2;){var m=p++,y=(284517*u-94839*d)*s,x=(838422*d+769860*f+731718*u)*i*s-769860*m*i,v=(632260*d-126452*f)*s+126452*m;o.push({slope:y/v,intercept:x/v})}return o},r.Hsluv.maxSafeChromaForL=function(i){for(var o=r.Hsluv.getBounds(i),a=1/0,s=0;s<o.length;){var l=o[s];++s;var c=r.Geometry.distanceLineFromOrigin(l);a=Math.min(a,c)}return a},r.Hsluv.maxChromaForLH=function(i,o){for(var a=o/360*Math.PI*2,s=r.Hsluv.getBounds(i),l=1/0,c=0;c<s.length;){var u=s[c];++c;var f=r.Geometry.lengthOfRayUntilIntersect(a,u);f>=0&&(l=Math.min(l,f))}return l},r.Hsluv.dotProduct=function(i,o){for(var a=0,s=0,l=i.length;s<l;){var c=s++;a+=i[c]*o[c]}return a},r.Hsluv.fromLinear=function(i){return i<=.0031308?12.92*i:1.055*Math.pow(i,.4166666666666667)-.055},r.Hsluv.toLinear=function(i){return i>.04045?Math.pow((i+.055)/1.055,2.4):i/12.92},r.Hsluv.xyzToRgb=function(i){return[r.Hsluv.fromLinear(r.Hsluv.dotProduct(r.Hsluv.m[0],i)),r.Hsluv.fromLinear(r.Hsluv.dotProduct(r.Hsluv.m[1],i)),r.Hsluv.fromLinear(r.Hsluv.dotProduct(r.Hsluv.m[2],i))]},r.Hsluv.rgbToXyz=function(i){var o=[r.Hsluv.toLinear(i[0]),r.Hsluv.toLinear(i[1]),r.Hsluv.toLinear(i[2])];return[r.Hsluv.dotProduct(r.Hsluv.minv[0],o),r.Hsluv.dotProduct(r.Hsluv.minv[1],o),r.Hsluv.dotProduct(r.Hsluv.minv[2],o)]},r.Hsluv.yToL=function(i){return i<=r.Hsluv.epsilon?i/r.Hsluv.refY*r.Hsluv.kappa:116*Math.pow(i/r.Hsluv.refY,.3333333333333333)-16},r.Hsluv.lToY=function(i){return i<=8?r.Hsluv.refY*i/r.Hsluv.kappa:r.Hsluv.refY*Math.pow((i+16)/116,3)},r.Hsluv.xyzToLuv=function(i){var o=i[0],a=i[1],s=i[2],l=o+15*a+3*s,c=4*o,u=9*a;l!=0?(c/=l,u/=l):(c=NaN,u=NaN);var f=r.Hsluv.yToL(a);if(f==0)return[0,0,0];var d=13*f*(c-r.Hsluv.refU),p=13*f*(u-r.Hsluv.refV);return[f,d,p]},r.Hsluv.luvToXyz=function(i){var o=i[0],a=i[1],s=i[2];if(o==0)return[0,0,0];var l=a/(13*o)+r.Hsluv.refU,c=s/(13*o)+r.Hsluv.refV,u=r.Hsluv.lToY(o),f=0-9*u*l/((l-4)*c-l*c),d=(9*u-15*c*u-c*f)/(3*c);return[f,u,d]},r.Hsluv.luvToLch=function(i){var o=i[0],a=i[1],s=i[2],l=Math.sqrt(a*a+s*s),c;if(l<1e-8)c=0;else{var u=Math.atan2(s,a);c=u*180/Math.PI,c<0&&(c=360+c)}return[o,l,c]},r.Hsluv.lchToLuv=function(i){var o=i[0],a=i[1],s=i[2],l=s/360*2*Math.PI,c=Math.cos(l)*a,u=Math.sin(l)*a;return[o,c,u]},r.Hsluv.hsluvToLch=function(i){var o=i[0],a=i[1],s=i[2];if(s>99.9999999)return[100,0,o];if(s<1e-8)return[0,0,o];var l=r.Hsluv.maxChromaForLH(s,o),c=l/100*a;return[s,c,o]},r.Hsluv.lchToHsluv=function(i){var o=i[0],a=i[1],s=i[2];if(o>99.9999999)return[s,0,100];if(o<1e-8)return[s,0,0];var l=r.Hsluv.maxChromaForLH(o,s),c=a/l*100;return[s,c,o]},r.Hsluv.hpluvToLch=function(i){var o=i[0],a=i[1],s=i[2];if(s>99.9999999)return[100,0,o];if(s<1e-8)return[0,0,o];var l=r.Hsluv.maxSafeChromaForL(s),c=l/100*a;return[s,c,o]},r.Hsluv.lchToHpluv=function(i){var o=i[0],a=i[1],s=i[2];if(o>99.9999999)return[s,0,100];if(o<1e-8)return[s,0,0];var l=r.Hsluv.maxSafeChromaForL(o),c=a/l*100;return[s,c,o]},r.Hsluv.rgbToHex=function(i){for(var o="#",a=0;a<3;){var s=a++,l=i[s],c=Math.round(l*255),u=c%16,f=(c-u)/16|0;o+=r.Hsluv.hexChars.charAt(f)+r.Hsluv.hexChars.charAt(u)}return o},r.Hsluv.hexToRgb=function(i){i=i.toLowerCase();for(var o=[],a=0;a<3;){var s=a++,l=r.Hsluv.hexChars.indexOf(i.charAt(s*2+1)),c=r.Hsluv.hexChars.indexOf(i.charAt(s*2+2)),u=l*16+c;o.push(u/255)}return o},r.Hsluv.lchToRgb=function(i){return r.Hsluv.xyzToRgb(r.Hsluv.luvToXyz(r.Hsluv.lchToLuv(i)))},r.Hsluv.rgbToLch=function(i){return r.Hsluv.luvToLch(r.Hsluv.xyzToLuv(r.Hsluv.rgbToXyz(i)))},r.Hsluv.hsluvToRgb=function(i){return r.Hsluv.lchToRgb(r.Hsluv.hsluvToLch(i))},r.Hsluv.rgbToHsluv=function(i){return r.Hsluv.lchToHsluv(r.Hsluv.rgbToLch(i))},r.Hsluv.hpluvToRgb=function(i){return r.Hsluv.lchToRgb(r.Hsluv.hpluvToLch(i))},r.Hsluv.rgbToHpluv=function(i){return r.Hsluv.lchToHpluv(r.Hsluv.rgbToLch(i))},r.Hsluv.hsluvToHex=function(i){return r.Hsluv.rgbToHex(r.Hsluv.hsluvToRgb(i))},r.Hsluv.hpluvToHex=function(i){return r.Hsluv.rgbToHex(r.Hsluv.hpluvToRgb(i))},r.Hsluv.hexToHsluv=function(i){return r.Hsluv.rgbToHsluv(r.Hsluv.hexToRgb(i))},r.Hsluv.hexToHpluv=function(i){return r.Hsluv.rgbToHpluv(r.Hsluv.hexToRgb(i))},r.Hsluv.m=[[3.240969941904521,-1.537383177570093,-.498610760293],[-.96924363628087,1.87596750150772,.041555057407175],[.055630079696993,-.20397695888897,1.056971514242878]],r.Hsluv.minv=[[.41239079926595,.35758433938387,.18048078840183],[.21263900587151,.71516867876775,.072192315360733],[.019330818715591,.11919477979462,.95053215224966]],r.Hsluv.refY=1,r.Hsluv.refU=.19783000664283,r.Hsluv.refV=.46831999493879,r.Hsluv.kappa=903.2962962,r.Hsluv.epsilon=.0088564516,r.Hsluv.hexChars="0123456789abcdef";var n={hsluvToRgb:r.Hsluv.hsluvToRgb,rgbToHsluv:r.Hsluv.rgbToHsluv,hpluvToRgb:r.Hsluv.hpluvToRgb,rgbToHpluv:r.Hsluv.rgbToHpluv,hsluvToHex:r.Hsluv.hsluvToHex,hexToHsluv:r.Hsluv.hexToHsluv,hpluvToHex:r.Hsluv.hpluvToHex,hexToHpluv:r.Hsluv.hexToHpluv,lchToHpluv:r.Hsluv.lchToHpluv,hpluvToLch:r.Hsluv.hpluvToLch,lchToHsluv:r.Hsluv.lchToHsluv,hsluvToLch:r.Hsluv.hsluvToLch,lchToLuv:r.Hsluv.lchToLuv,luvToLch:r.Hsluv.luvToLch,xyzToLuv:r.Hsluv.xyzToLuv,luvToXyz:r.Hsluv.luvToXyz,xyzToRgb:r.Hsluv.xyzToRgb,rgbToXyz:r.Hsluv.rgbToXyz,lchToRgb:r.Hsluv.lchToRgb,rgbToLch:r.Hsluv.rgbToLch};t.exports=n}}),hy=Ge({"../../../node_modules/eventemitter3/index.js"(e,t){"use strict";var r=Object.prototype.hasOwnProperty,n="~";function i(){}Object.create&&(i.prototype=Object.create(null),new i().__proto__||(n=!1));function o(c,u,f){this.fn=c,this.context=u,this.once=f||!1}function a(c,u,f,d,p){if(typeof f!="function")throw new TypeError("The listener must be a function");var m=new o(f,d||c,p),y=n?n+u:u;return c._events[y]?c._events[y].fn?c._events[y]=[c._events[y],m]:c._events[y].push(m):(c._events[y]=m,c._eventsCount++),c}function s(c,u){--c._eventsCount===0?c._events=new i:delete c._events[u]}function l(){this._events=new i,this._eventsCount=0}l.prototype.eventNames=function(){var u=[],f,d;if(this._eventsCount===0)return u;for(d in f=this._events)r.call(f,d)&&u.push(n?d.slice(1):d);return Object.getOwnPropertySymbols?u.concat(Object.getOwnPropertySymbols(f)):u},l.prototype.listeners=function(u){var f=n?n+u:u,d=this._events[f];if(!d)return[];if(d.fn)return[d.fn];for(var p=0,m=d.length,y=new Array(m);p<m;p++)y[p]=d[p].fn;return y},l.prototype.listenerCount=function(u){var f=n?n+u:u,d=this._events[f];return d?d.fn?1:d.length:0},l.prototype.emit=function(u,f,d,p,m,y){var x=n?n+u:u;if(!this._events[x])return!1;var v=this._events[x],b=arguments.length,g,S;if(v.fn){switch(v.once&&this.removeListener(u,v.fn,void 0,!0),b){case 1:return v.fn.call(v.context),!0;case 2:return v.fn.call(v.context,f),!0;case 3:return v.fn.call(v.context,f,d),!0;case 4:return v.fn.call(v.context,f,d,p),!0;case 5:return v.fn.call(v.context,f,d,p,m),!0;case 6:return v.fn.call(v.context,f,d,p,m,y),!0}for(S=1,g=new Array(b-1);S<b;S++)g[S-1]=arguments[S];v.fn.apply(v.context,g)}else{var T=v.length,w;for(S=0;S<T;S++)switch(v[S].once&&this.removeListener(u,v[S].fn,void 0,!0),b){case 1:v[S].fn.call(v[S].context);break;case 2:v[S].fn.call(v[S].context,f);break;case 3:v[S].fn.call(v[S].context,f,d);break;case 4:v[S].fn.call(v[S].context,f,d,p);break;default:if(!g)for(w=1,g=new Array(b-1);w<b;w++)g[w-1]=arguments[w];v[S].fn.apply(v[S].context,g)}}return!0},l.prototype.on=function(u,f,d){return a(this,u,f,d,!1)},l.prototype.once=function(u,f,d){return a(this,u,f,d,!0)},l.prototype.removeListener=function(u,f,d,p){var m=n?n+u:u;if(!this._events[m])return this;if(!f)return s(this,m),this;var y=this._events[m];if(y.fn)y.fn===f&&(!p||y.once)&&(!d||y.context===d)&&s(this,m);else{for(var x=0,v=[],b=y.length;x<b;x++)(y[x].fn!==f||p&&!y[x].once||d&&y[x].context!==d)&&v.push(y[x]);v.length?this._events[m]=v.length===1?v[0]:v:s(this,m)}return this},l.prototype.removeAllListeners=function(u){var f;return u?(f=n?n+u:u,this._events[f]&&s(this,f)):(this._events=new i,this._eventsCount=0),this},l.prototype.off=l.prototype.removeListener,l.prototype.addListener=l.prototype.on,l.prefixed=n,l.EventEmitter=l,typeof t<"u"&&(t.exports=l)}}),Je=Ge({"../../../node_modules/process/browser.js"(e,t){var r=t.exports={},n,i;function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?n=setTimeout:n=o}catch{n=o}try{typeof clearTimeout=="function"?i=clearTimeout:i=a}catch{i=a}})();function s(v){if(n===setTimeout)return setTimeout(v,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(v,0);try{return n(v,0)}catch{try{return n.call(null,v,0)}catch{return n.call(this,v,0)}}}function l(v){if(i===clearTimeout)return clearTimeout(v);if((i===a||!i)&&clearTimeout)return i=clearTimeout,clearTimeout(v);try{return i(v)}catch{try{return i.call(null,v)}catch{return i.call(this,v)}}}var c=[],u=!1,f,d=-1;function p(){!u||!f||(u=!1,f.length?c=f.concat(c):d=-1,c.length&&m())}function m(){if(!u){var v=s(p);u=!0;for(var b=c.length;b;){for(f=c,c=[];++d<b;)f&&f[d].run();d=-1,b=c.length}f=null,u=!1,l(v)}}r.nextTick=function(v){var b=new Array(arguments.length-1);if(arguments.length>1)for(var g=1;g<arguments.length;g++)b[g-1]=arguments[g];c.push(new y(v,b)),c.length===1&&!u&&s(m)};function y(v,b){this.fun=v,this.array=b}y.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={};function x(){}r.on=x,r.addListener=x,r.once=x,r.off=x,r.removeListener=x,r.removeAllListeners=x,r.emit=x,r.prependListener=x,r.prependOnceListener=x,r.listeners=function(v){return[]},r.binding=function(v){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(v){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}}}),py=Ge({"../../../node_modules/react-is/cjs/react-is.production.min.js"(e){"use strict";var t=typeof Symbol=="function"&&Symbol.for,r=t?Symbol.for("react.element"):60103,n=t?Symbol.for("react.portal"):60106,i=t?Symbol.for("react.fragment"):60107,o=t?Symbol.for("react.strict_mode"):60108,a=t?Symbol.for("react.profiler"):60114,s=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,m=t?Symbol.for("react.memo"):60115,y=t?Symbol.for("react.lazy"):60116,x=t?Symbol.for("react.block"):60121,v=t?Symbol.for("react.fundamental"):60117,b=t?Symbol.for("react.responder"):60118,g=t?Symbol.for("react.scope"):60119;function S(w){if(typeof w=="object"&&w!==null){var C=w.$$typeof;switch(C){case r:switch(w=w.type,w){case c:case u:case i:case a:case o:case d:return w;default:switch(w=w&&w.$$typeof,w){case l:case f:case y:case m:case s:return w;default:return C}}case n:return C}}}function T(w){return S(w)===u}e.AsyncMode=c,e.ConcurrentMode=u,e.ContextConsumer=l,e.ContextProvider=s,e.Element=r,e.ForwardRef=f,e.Fragment=i,e.Lazy=y,e.Memo=m,e.Portal=n,e.Profiler=a,e.StrictMode=o,e.Suspense=d,e.isAsyncMode=function(w){return T(w)||S(w)===c},e.isConcurrentMode=T,e.isContextConsumer=function(w){return S(w)===l},e.isContextProvider=function(w){return S(w)===s},e.isElement=function(w){return typeof w=="object"&&w!==null&&w.$$typeof===r},e.isForwardRef=function(w){return S(w)===f},e.isFragment=function(w){return S(w)===i},e.isLazy=function(w){return S(w)===y},e.isMemo=function(w){return S(w)===m},e.isPortal=function(w){return S(w)===n},e.isProfiler=function(w){return S(w)===a},e.isStrictMode=function(w){return S(w)===o},e.isSuspense=function(w){return S(w)===d},e.isValidElementType=function(w){return typeof w=="string"||typeof w=="function"||w===i||w===u||w===a||w===o||w===d||w===p||typeof w=="object"&&w!==null&&(w.$$typeof===y||w.$$typeof===m||w.$$typeof===s||w.$$typeof===l||w.$$typeof===f||w.$$typeof===v||w.$$typeof===b||w.$$typeof===g||w.$$typeof===x)},e.typeOf=S}}),my=Ge({"../../../node_modules/react-is/index.js"(e,t){"use strict";t.exports=py()}}),li=Ge({"../../../node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js"(e,t){"use strict";var r=my(),n={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},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};s[r.ForwardRef]=o,s[r.Memo]=a;function l(x){return r.isMemo(x)?a:s[x.$$typeof]||n}var c=Object.defineProperty,u=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,m=Object.prototype;function y(x,v,b){if(typeof v!="string"){if(m){var g=p(v);g&&g!==m&&y(x,g,b)}var S=u(v);f&&(S=S.concat(f(v)));for(var T=l(x),w=l(v),C=0;C<S.length;++C){var E=S[C];if(!i[E]&&!(b&&b[E])&&!(w&&w[E])&&!(T&&T[E])){var k=d(v,E);try{c(x,E,k)}catch{}}}}return x}t.exports=y}}),vy=Ge({"../../../node_modules/fontfaceobserver/fontfaceobserver.standalone.js"(e,t){(function(){function r(v,b){document.addEventListener?v.addEventListener("scroll",b,!1):v.attachEvent("scroll",b)}function n(v){document.body?v():document.addEventListener?document.addEventListener("DOMContentLoaded",function b(){document.removeEventListener("DOMContentLoaded",b),v()}):document.attachEvent("onreadystatechange",function b(){(document.readyState=="interactive"||document.readyState=="complete")&&(document.detachEvent("onreadystatechange",b),v())})}function i(v){this.a=document.createElement("div"),this.a.setAttribute("aria-hidden","true"),this.a.appendChild(document.createTextNode(v)),this.b=document.createElement("span"),this.c=document.createElement("span"),this.h=document.createElement("span"),this.f=document.createElement("span"),this.g=-1,this.b.style.cssText="max-width:none;display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;font-size:16px;",this.c.style.cssText="max-width:none;display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;font-size:16px;",this.f.style.cssText="max-width:none;display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;font-size:16px;",this.h.style.cssText="display:inline-block;width:200%;height:200%;font-size:16px;max-width:none;",this.b.appendChild(this.h),this.c.appendChild(this.f),this.a.appendChild(this.b),this.a.appendChild(this.c)}function o(v,b){v.a.style.cssText="max-width:none;min-width:20px;min-height:20px;display:inline-block;overflow:hidden;position:absolute;width:auto;margin:0;padding:0;top:-999px;white-space:nowrap;font-synthesis:none;font:"+b+";"}function a(v){var b=v.a.offsetWidth,g=b+100;return v.f.style.width=g+"px",v.c.scrollLeft=g,v.b.scrollLeft=v.b.scrollWidth+100,v.g!==b?(v.g=b,!0):!1}function s(v,b){function g(){var T=S;a(T)&&T.a.parentNode&&b(T.g)}var S=v;r(v.b,g),r(v.c,g),a(v)}function l(v,b){var g=b||{};this.family=v,this.style=g.style||"normal",this.weight=g.weight||"normal",this.stretch=g.stretch||"normal"}var c=null,u=null,f=null,d=null;function p(){if(u===null)if(m()&&/Apple/.test(N.navigator.vendor)){var v=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))(?:\.([0-9]+))/.exec(N.navigator.userAgent);u=!!v&&603>parseInt(v[1],10)}else u=!1;return u}function m(){return d===null&&(d=!!document.fonts),d}function y(){if(f===null){var v=document.createElement("div");try{v.style.font="condensed 100px sans-serif"}catch{}f=v.style.font!==""}return f}function x(v,b){return[v.style,v.weight,y()?v.stretch:"","100px",b].join(" ")}l.prototype.load=function(v,b){var g=this,S=v||"BESbswy",T=0,w=b||3e3,C=new Date().getTime();return new Promise(function(E,k){if(m()&&!p()){var F=new Promise(function(D,z){function M(){new Date().getTime()-C>=w?z(Error(""+w+"ms timeout exceeded")):document.fonts.load(x(g,'"'+g.family+'"'),S).then(function(_){1<=_.length?D():setTimeout(M,25)},z)}M()}),I=new Promise(function(D,z){T=setTimeout(function(){z(Error(""+w+"ms timeout exceeded"))},w)});Promise.race([I,F]).then(function(){clearTimeout(T),E(g)},k)}else n(function(){function D(){var G;(G=R!=-1&&j!=-1||R!=-1&&J!=-1||j!=-1&&J!=-1)&&((G=R!=j&&R!=J&&j!=J)||(c===null&&(G=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))/.exec(N.navigator.userAgent),c=!!G&&(536>parseInt(G[1],10)||parseInt(G[1],10)===536&&11>=parseInt(G[2],10))),G=c&&(R==U&&j==U&&J==U||R==B&&j==B&&J==B||R==re&&j==re&&J==re)),G=!G),G&&(Y.parentNode&&Y.parentNode.removeChild(Y),clearTimeout(T),E(g))}function z(){if(new Date().getTime()-C>=w)Y.parentNode&&Y.parentNode.removeChild(Y),k(Error(""+w+"ms timeout exceeded"));else{var G=document.hidden;(G===!0||G===void 0)&&(R=M.a.offsetWidth,j=_.a.offsetWidth,J=$.a.offsetWidth,D()),T=setTimeout(z,50)}}var M=new i(S),_=new i(S),$=new i(S),R=-1,j=-1,J=-1,U=-1,B=-1,re=-1,Y=document.createElement("div");Y.dir="ltr",o(M,x(g,"sans-serif")),o(_,x(g,"serif")),o($,x(g,"monospace")),Y.appendChild(M.a),Y.appendChild(_.a),Y.appendChild($.a),document.body.appendChild(Y),U=M.a.offsetWidth,B=_.a.offsetWidth,re=$.a.offsetWidth,z(),s(M,function(G){R=G,D()}),o(M,x(g,'"'+g.family+'",sans-serif')),s(_,function(G){j=G,D()}),o(_,x(g,'"'+g.family+'",serif')),s($,function(G){J=G,D()}),o($,x(g,'"'+g.family+'",monospace'))})})},typeof t=="object"?t.exports=l:(N.FontFaceObserver=l,N.FontFaceObserver.prototype.load=l.prototype.load)})()}});function Mf(e,t){if(!e.startsWith("/")||!t.startsWith("/"))throw new Error("from/to paths are expected to be absolute");let[r]=yu(e),[n,i]=yu(t),o=gy(r,n);return o===""&&(o="."),!o.startsWith(".")&&!o.startsWith("/")&&(o="./"+o),o+"/"+i}function yu(e){let t=e.lastIndexOf("/");return[e.substring(0,t+1),e.substring(t+1)]}var Uo=46,tr=47,gt=(e,t)=>e.charCodeAt(t),xu=(e,t)=>e.lastIndexOf(t),nr=(e,t,r)=>e.slice(t,r);function gy(e,t){if(e===t||(e="/"+Su(e),t="/"+Su(t),e===t))return"";let r=1,n=e.length,i=n-r,o=1,a=t.length-o,s=i<a?i:a,l=-1,c=0;for(;c<s;c++){let f=gt(e,r+c);if(f!==gt(t,o+c))break;f===tr&&(l=c)}if(c===s)if(a>s){if(gt(t,o+c)===tr)return nr(t,o+c+1);if(c===0)return nr(t,o+c)}else i>s&&(gt(e,r+c)===tr?l=c:c===0&&(l=0));let u="";for(c=r+l+1;c<=n;++c)(c===n||gt(e,c)===tr)&&(u+=u.length===0?"..":"/..");return`${u}${nr(t,o+l)}`}var yy=!1,Un="/",bu=e=>e===tr;function Su(e){let t="",r=0,n=-1,i=0,o=0;for(let a=0;a<=e.length;++a){if(a<e.length)o=gt(e,a);else{if(bu(o))break;o=tr}if(bu(o)){if(!(n===a-1||i===1))if(i===2){if(t.length<2||r!==2||gt(t,t.length-1)!==Uo||gt(t,t.length-2)!==Uo){if(t.length>2){let s=xu(t,Un);s===-1?(t="",r=0):(t=nr(t,0,s),r=t.length-1-xu(t,Un)),n=a,i=0;continue}else if(t.length!==0){t="",r=0,n=a,i=0;continue}}yy&&(t+=t.length>0?`${Un}..`:"..",r=2)}else t.length>0?t+=`${Un}${nr(e,n+1,a)}`:t=nr(e,n+1,a),r=a-n-1;n=a,i=0}else o===Uo&&i!==-1?++i:i=-1}return t}function sa(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function wu(e){return typeof e=="string"}var xy="preload";function Lf(e){return typeof e=="object"&&xy in e}function _E(e){let t=h.lazy(e),r,n,i=h.forwardRef(function(a,s){return h.createElement(n??t,Object.assign(s?{ref:s}:{},a))});return i.preload=()=>(r||(r=e().then(o=>(n=o.default,n))),r),i}function ba(e,t){if(t&&e)return e.elements&&t in e.elements?e.elements[t]:t}function Of(e,t={}){let r=h.isValidElement(e)?h.cloneElement(e,{style:t}):h.createElement(e,{style:t});return Lf(r.type)?h.createElement(h.Suspense,{fallback:null},r):r}var by=class extends Error{},Sy=class extends ne{constructor(e){super(e),this.state={error:void 0,forceUpdateKey:e.forceUpdateKey}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){if(e.forceUpdateKey!==t.forceUpdateKey){let r={forceUpdateKey:e.forceUpdateKey};return t.error&&(r.error=void 0),r}return null}render(){if(this.state.error===void 0)return this.props.children;if(!(this.state.error instanceof by))throw this.state.error;let{notFoundPage:e,defaultPageStyle:t}=this.props;if(!e)throw this.state.error;return Of(e,t)}},wy=":([a-zA-Z][a-zA-Z0-9_]*)",en=new RegExp(wy,"g");function Cu(e,t,{currentRoutePath:r,hash:n,pathVariables:i}={}){let{path:o}=t;if(o)try{let a=ci(t,{currentRoutePath:r,hash:n,pathVariables:i});N.history.pushState({routeId:e,hash:n,pathVariables:i},"",a)}catch{}}function Cy({disabled:e,routeId:t,initialPathVariables:r}){h.useEffect(()=>{e||N.history.replaceState({routeId:t,pathVariables:r},"")},[])}function Ty(e){let t=h.useCallback(({state:r})=>{if(!sa(r))return;let{routeId:n,hash:i,pathVariables:o}=r;wu(n)&&e(n,wu(i)?i:void 0,sa(o)?o:void 0)},[e]);h.useEffect(()=>(N.addEventListener("popstate",t),()=>N.removeEventListener("popstate",t)),[t])}function Ey(e,t,r){let n=ba(t,e);if(!n)return;let i=Object.assign({},t?.elements,r);return n.replace(en,(o,a)=>{var s;return String((s=i[a])!==null&&s!==void 0?s:o)})}function ci(e,{currentRoutePath:t,hash:r,pathVariables:n,hashVariables:i,relative:o=!0}){var a;let s=t??"/",c=(a=e?.path)!==null&&a!==void 0?a:"/";n&&(c=c.replace(en,(f,d)=>{var p;return String((p=n[d])!==null&&p!==void 0?p:f)})),o&&(c=Mf(s,c));let u=Ey(r,e,i);return u?`${c}#${u}`:c}var Wn,Wo,Tu;function Ry(e){if(Tu!==e){Wn={};for(let[t,{path:r}]of Object.entries(e))r&&(Wn[r]={path:r,depth:_y(r),routeId:t});Wo=Object.values(Wn),Wo.sort(({depth:t},{depth:r})=>r-t),Tu=e}return[Wn,Wo]}function ky(e,t,r=!0){let[n,i]=Ry(e),o=n[t];if(o){let l=Eu(t,o.path);if(l.isMatch)return{routeId:o.routeId,pathVariables:l.pathVariables}}for(let{path:l,routeId:c}of i){let u=Eu(t,l);if(u.isMatch)return{routeId:c,pathVariables:u.pathVariables}}if(!r)throw new Error("No exact match found for path");let a=n["/"];if(a)return{routeId:a.routeId};let s=Object.keys(e)[0];if(!s)throw new Error("Router should not have undefined routes");return{routeId:s}}function _y(e){let t=e.replace(/(?:^\/|\/$)/g,"");return t===""?0:t.split("/").length}function Eu(e,t){let r=[],i=Py(t).replace(en,(c,u)=>(r.push(u),"([^/]+)")),o=new RegExp(i+"$"),a=e.match(o);if(!a)return{isMatch:!1};if(a.length===1)return{isMatch:!0};let s={},l=a.slice(1);for(let c=0;c<r.length;++c){let u=r[c];if(u===void 0)continue;let f=l[c],d=s[u];if(d){if(d!==f)return{isMatch:!1};continue}if(f===void 0)throw new Error("Path variable values cannot be undefined");s[u]=f}return{isMatch:!0,pathVariables:s}}function Py(e){return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var Iy="page";function Ru(e){return sa(e)&&Iy in e&&e.page!==void 0}function Fy(e,t){return e.replace(en,(r,n)=>{let i=t[n];return typeof i!="string"||i.length===0?r:encodeURIComponent(i)})}function My(e,t){if(e.routeId!==t.routeId)return!1;if(e.pathVariables===t.pathVariables)return!0;let r=e.pathVariables||{},n=t.pathVariables||{};return r.length===n.length&&Object.keys(r).every(i=>r[i]===n[i])}function Af(e){return h.useCallback(t=>e[t],[e])}var Sa=h.createContext({});function Ly({api:e,children:t}){return h.createElement(Sa.Provider,{value:e},t)}function tn(){return h.useContext(Sa)}function Oy({routes:e,children:t}){let r=Af(e);return h.createElement(Sa.Provider,{value:{getRoute:r}},t)}function Ay(){let[e,t]=h.useState(0);return[e,h.useCallback(()=>t(r=>r+1),[])]}function ku(e,t){let r=e&&document.getElementById(e);if(r){By(r,t);return}N.scrollTo(0,0)}function Vy(e){let t=h.useRef([]);return h.useLayoutEffect(()=>{var r;!((r=t.current)===null||r===void 0)&&r.length&&(t.current.forEach(n=>n()),t.current=[])},[e]),h.useCallback(r=>{t.current.push(r)},[])}function Dy({defaultPageStyle:e,disableHistory:t,initialPathVariables:r,initialRoute:n,notFoundPage:i,routes:o}){Cy({disabled:t,routeId:n,initialPathVariables:r});let a=h.useRef(n),s=h.useRef(r),[l,c]=Ay(),u=Vy(l),f=h.useCallback((g,S,T,w=!1)=>{a.current=g,s.current=T,u(()=>{ku(S,w)}),c()},[c,u]);Ty(f);let d=h.useCallback((g,S,T,w)=>{var C,E;let k=o[g];if(T){let I=new Set,D=(C=k?.path)!==null&&C!==void 0?C:"/";for(let z of D.matchAll(en)){let M=z[1];if(M===void 0)throw new Error("A matching path variable should not be undefined");I.add(M)}T=Object.fromEntries(Object.entries(T).filter(([z])=>I.has(z)))}let F=ba(k,S);if(My({routeId:a.current,pathVariables:s.current},{routeId:g,pathVariables:T})){if(((E=N.history.state)===null||E===void 0?void 0:E.hash)!==S&&!t){let I=o[g];I&&Cu(g,I,{currentRoutePath:I.path,pathVariables:T,hash:S})}ku(F,w);return}if(k){if(!t){let I=o[a.current];Cu(g,k,{currentRoutePath:I?.path,hash:S,pathVariables:T})}Ti(()=>f(g,F,T,w))}},[o,t,f]),p=Af(o),m=a.current,y=s.current,x=h.useMemo(()=>({navigate:d,getRoute:p,currentRouteId:m,currentPathVariables:y,routes:o}),[d,p,m,y,o]),v=o[a.current];if(!v)throw new Error(`Router cannot find route for ${a.current}`);let b=v.path&&y?Fy(v.path,y):v.path;return h.createElement(Ly,{api:x},h.createElement(Sy,{notFoundPage:i,defaultPageStyle:e,forceUpdateKey:l},h.createElement(h.Fragment,{key:b},Of(v.page,e))))}function By(e,t){let r=t?{behavior:"smooth",block:"start",inline:"nearest"}:void 0;e.scrollIntoView(r)}var Hy=h.createContext(void 0);function rn(){var e;let t=tn(),r=P(Hy),n=r??t.currentRouteId;if(!n)return;let i=(e=t.getRoute)===null||e===void 0?void 0:e.call(t,n);if(i)return{...i,id:n,pathVariables:r?void 0:t.currentPathVariables}}function Vf(e,t=!0){let{getRoute:r}=tn();h.useEffect(()=>{if(!(!r||!t))for(let n of e){let i=r(n);i?.page&&wa(i.page)}},[e,r,t])}function wa(e){e&&!h.isValidElement(e)&&Lf(e)&&e.preload()}var _u=new Set;function Ca(e,...t){_u.has(e)||(_u.add(e),console.warn(e,...t))}function zy(e,t,r){let n=r?`, use ${r} instead`:"",i=`Deprecation warning: ${e} will be removed in version ${t}${n}.`;Ca(i)}var Df=class{constructor(){this.observers=new Set,this.transactions={}}add(e){this.observers.add(e);let t=!1;return()=>{t||(t=!0,this.remove(e))}}remove(e){this.observers.delete(e)}notify(e,t){if(t){let r=this.transactions[t]||e;r.value=e.value,this.transactions[t]=r}else this.callObservers(e)}finishTransaction(e){let t=this.transactions[e];return delete this.transactions[e],this.callObservers(t,e)}callObservers(e,t){let r=[];return new Set(this.observers).forEach(n=>{typeof n=="function"?n(e,t):(n.update(e,t),r.push(n.finish))}),r}},ce=(()=>{function e(t){return zy("Animatable()","2.0.0","the new animation API (https://www.framer.com/api/animation/)"),He(t)?t:new $y(t)}return e.transaction=t=>{let r=Math.random(),n=new Set;t((a,s)=>{a.set(s,r),n.add(a)},r);let o=[];n.forEach(a=>{o.push(...a.finishTransaction(r))}),o.forEach(a=>{a(r)})},e.getNumber=(t,r=0)=>e.get(t,r),e.get=(t,r)=>t==null?r:He(t)?t.get():t,e.objectToValues=t=>{if(!t)return t;let r={};for(let n in t){let i=t[n];He(i)?r[n]=i.get():r[n]=i}return r},e})(),Pu="onUpdate",Iu="finishTransaction";function He(e){return e!==null&&typeof e=="object"&&Pu in e&&e[Pu]instanceof Function&&Iu in e&&e[Iu]instanceof Function}function Ny(e,t){return{interpolate(r,n){let i=r.get(),o=n.get(),a=ce(i);return s=>{let l=t.interpolate(i,o)(s);return a.set(l),a}},difference(r,n){let i=r.get();return t.difference(i,n.get())}}}var $y=class{constructor(e){this.value=e,this.observers=new Df}static interpolationFor(e,t){if(He(e))return Ny(e,t)}get(){return this.value}set(e,t){let r=this.value;He(e)&&(e=e.get()),this.value=e;let n={value:e,oldValue:r};this.observers.notify(n,t)}finishTransaction(e){return this.observers.finishTransaction(e)}onUpdate(e){return this.observers.add(e)}},Fu=e=>e instanceof Bn;function jn(e,t){let r=Math.round(Math.abs(t)),n=Math.pow(10,r);return Math.round(e*n)/n}function Mu(e,t){return t===0?Math.round(e):(t-=t|0,t<0&&(t=1-t),Math.round(e-t)+t)}function Lt(e,t){return{x:e,y:t}}(e=>{e.add=(...r)=>r.reduce((n,i)=>({x:n.x+i.x,y:n.y+i.y}),{x:0,y:0}),e.subtract=(r,n)=>({x:r.x-n.x,y:r.y-n.y}),e.multiply=(r,n)=>({x:r.x*n,y:r.y*n}),e.divide=(r,n)=>({x:r.x/n,y:r.y/n}),e.absolute=r=>({x:Math.abs(r.x),y:Math.abs(r.y)}),e.reverse=r=>({x:r.x*-1,y:r.y*-1}),e.pixelAligned=(r,n={x:0,y:0})=>({x:Mu(r.x,n.x),y:Mu(r.y,n.y)}),e.distance=(r,n)=>{let i=Math.abs(r.x-n.x),o=Math.abs(r.y-n.y);return Math.sqrt(i*i+o*o)},e.angle=(r,n)=>Math.atan2(n.y-r.y,n.x-r.x)*180/Math.PI-90,e.isEqual=(r,n)=>r.x===n.x&&r.y===n.y,e.rotationNormalizer=()=>{let r;return n=>{typeof r!="number"&&(r=n);let i=r-n,o=Math.abs(i)+180,a=Math.floor(o/360);return i<180&&(n-=a*360),i>180&&(n+=a*360),r=n,n}};function t(r,n){return{x:(r.x+n.x)/2,y:(r.y+n.y)/2}}e.center=t})(Lt||(Lt={}));var HE=Number.MIN_VALUE;var zE={tension:500,friction:10,tolerance:1/1e4,velocity:0};var Uy=he(dy(),1),ei={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};function pt(e,t,r,n=!1){let[i,o]=t,[a,s]=r,l=o-i;if(l===0)return(s+a)/2;let c=s-a;if(c===0)return a;let u=a+(e-i)/l*c;if(n===!0)if(a<s){if(u<a)return a;if(u>s)return s}else{if(u>a)return a;if(u<s)return s}return u}function ir(e){return!isNaN(e)&&isFinite(e)}function mt(e){let t=la(e);return t!==void 0?e.includes("%")?t/100:t:0}function la(e){let t=e.match(/\d?\.?\d+/);return t?Number(t[0]):void 0}var{hsluvToRgb:Wy,rgbToHsluv:jy}=Uy.default;function Gy(e,t,r){let[n,i,o]=jy([e/255,t/255,r/255]);return{h:n,s:i,l:o}}function Xy(e,t,r,n=1){let i=Wy([e,t,r]);return{r:i[0]*255,g:i[1]*255,b:i[2]*255,a:n}}function Lu(e,t,r,n){let i=Math.round(e),o=Math.round(t*100),a=Math.round(r*100);return n===void 0||n===1?"hsv("+i+", "+o+"%, "+a+"%)":"hsva("+i+", "+o+"%, "+a+"%, "+n+")"}function Yy(e,t,r){return{r:ir(e)?Te(e,255)*255:0,g:ir(t)?Te(t,255)*255:0,b:ir(r)?Te(r,255)*255:0}}function Ou(e,t,r,n){let i=[Go(Math.round(e).toString(16)),Go(Math.round(t).toString(16)),Go(Math.round(r).toString(16))];return n&&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 Ta(e,t,r){let n,i,o=Te(e,255),a=Te(t,255),s=Te(r,255),l=Math.max(o,a,s),c=Math.min(o,a,s),u=i=n=(l+c)/2;if(l===c)u=i=0;else{let f=l-c;switch(i=n>.5?f/(2-l-c):f/(l+c),l){case o:u=(a-s)/f+(a<s?6:0);break;case a:u=(s-o)/f+2;break;case s:u=(o-a)/f+4;break}u/=6}return{h:u*360,s:i,l:n}}function jo(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+(t-e)*6*r:r<1/2?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function Ky(e,t,r){let n,i,o;if(e=Te(e,360),t=Te(t*100,100),r=Te(r*100,100),t===0)n=i=o=r;else{let a=r<.5?r*(1+t):r+t-r*t,s=2*r-a;n=jo(s,a,e+1/3),i=jo(s,a,e),o=jo(s,a,e-1/3)}return{r:n*255,g:i*255,b:o*255}}function Au(e,t,r){e=Te(e,255),t=Te(t,255),r=Te(r,255);let n=Math.max(e,t,r),i=Math.min(e,t,r),o=n-i,a,s=n===0?0:o/n,l=n;if(n===i)a=0;else{switch(n){case e:a=(t-r)/o+(t<r?6:0);break;case t:a=(r-e)/o+2;break;case r:a=(e-t)/o+4;break}a/=6}return{h:a,s,v:l}}function qy(e,t,r){e=Te(e,360)*6,t=Te(t*100,100),r=Te(r*100,100);let n=Math.floor(e),i=e-n,o=r*(1-t),a=r*(1-i*t),s=r*(1-(1-i)*t),l=n%6,c=[r,a,o,o,s,r][l],u=[s,r,r,a,o,o][l],f=[o,o,s,r,r,a][l];return{r:c*255,g:u*255,b:f*255}}function Te(e,t){let r,n;if(typeof t=="string"?r=parseFloat(t):r=t,typeof e=="string"){Zy(e)&&(e="100%");let i=Jy(e);n=Math.min(r,Math.max(0,parseFloat(e))),i&&(n=Math.floor(n*r)/100)}else n=e;return Math.abs(n-r)<1e-6?1:n%r/r}function Zy(e){return typeof e=="string"&&e.includes(".")&&parseFloat(e)===1}function Jy(e){return typeof e=="string"&&e.includes("%")}function Go(e){return e.length===1?"0"+e:""+e}var Ye=function(){let e="[-\\+]?\\d+%?",r="(?:"+"[-\\+]?\\d*\\.\\d+%?"+")|(?:"+e+")",n="[\\s|\\(]+("+r+")[,|\\s]+("+r+")[,|\\s]+("+r+")\\s*\\)?",i="[\\s|\\(]+("+r+")[,|\\s]+("+r+")[,|\\s]+("+r+")[,|\\s]+("+r+")\\s*\\)?";return{rgb:new RegExp("rgb"+n),rgba:new RegExp("rgba"+i),hsl:new RegExp("hsl"+n),hsla:new RegExp("hsla"+i),hsv:new RegExp("hsv"+n),hsva:new RegExp("hsva"+i),hex3:/^([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();function Ea(e){var t,r,n,i,o,a,s,l,c,u,f,d,p,m,y,x,v,b,g,S,T,w,C,E,k,F,I,D;if(e.includes("gradient(")||e.includes("var("))return!1;let z=/^[\s,#]+/,M=/\s+$/,_=e.replace(z,"").replace(M,"").toLowerCase(),$=!1;if(ei[_]&&(_=ei[_],$=!0),_==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};let R;return(R=Ye.rgb.exec(_))?{r:parseInt((t=R[1])!=null?t:""),g:parseInt((r=R[2])!=null?r:""),b:parseInt((n=R[3])!=null?n:""),a:1,format:"rgb"}:(R=Ye.rgba.exec(_))?{r:parseInt((i=R[1])!=null?i:""),g:parseInt((o=R[2])!=null?o:""),b:parseInt((a=R[3])!=null?a:""),a:parseFloat((s=R[4])!=null?s:""),format:"rgb"}:(R=Ye.hsl.exec(_))?{h:parseInt((l=R[1])!=null?l:""),s:mt((c=R[2])!=null?c:""),l:mt((u=R[3])!=null?u:""),a:1,format:"hsl"}:(R=Ye.hsla.exec(_))?{h:parseInt((f=R[1])!=null?f:""),s:mt((d=R[2])!=null?d:""),l:mt((p=R[3])!=null?p:""),a:parseFloat((m=R[4])!=null?m:""),format:"hsl"}:(R=Ye.hsv.exec(_))?{h:parseInt((y=R[1])!=null?y:""),s:mt((x=R[2])!=null?x:""),v:mt((v=R[3])!=null?v:""),a:1,format:"hsv"}:(R=Ye.hsva.exec(_))?{h:parseInt((b=R[1])!=null?b:""),s:mt((g=R[2])!=null?g:""),v:mt((S=R[3])!=null?S:""),a:parseFloat((T=R[4])!=null?T:""),format:"hsv"}:(R=Ye.hex8.exec(_))?{r:Le((w=R[1])!=null?w:""),g:Le((C=R[2])!=null?C:""),b:Le((E=R[3])!=null?E:""),a:Vu((k=R[4])!=null?k:""),format:$?"name":"hex"}:(R=Ye.hex6.exec(_))?{r:Le((F=R[1])!=null?F:""),g:Le((I=R[2])!=null?I:""),b:Le((D=R[3])!=null?D:""),a:1,format:$?"name":"hex"}:(R=Ye.hex4.exec(_))?{r:Le(`${R[1]}${R[1]}`),g:Le(`${R[2]}${R[2]}`),b:Le(`${R[3]}${R[3]}`),a:Vu(R[4]+""+R[4]),format:$?"name":"hex"}:(R=Ye.hex3.exec(_))?{r:Le(`${R[1]}${R[1]}`),g:Le(`${R[2]}${R[2]}`),b:Le(`${R[3]}${R[3]}`),a:1,format:$?"name":"hex"}:!1}function Le(e){return parseInt(e,16)}function Vu(e){return Le(e)/255}var Du=new Map,H=(()=>{function e(n,i,o,a){if(typeof n=="string"){let l=Du.get(n);return l||(l=t(n),l===void 0?{...e("black"),isValid:!1}:(Du.set(n,l),l))}let s=t(n,i,o,a);return s!==void 0?s:{...e("black"),isValid:!1}}function t(n,i,o,a){if(n==="")return;let s=Qy(n,i,o,a);if(s){let l={r:s.r,g:s.g,b:s.b,a:s.a,h:s.h,s:s.s,l:s.l,initialValue:typeof n=="string"&&s.format!=="hsv"?n:void 0,roundA:Math.round(100*s.a)/100,format:s.format,mix:e.mix,toValue:()=>e.toRgbString(l)};return l}else return}let r={isRGB(n){return n==="rgb"||n==="rgba"},isHSL(n){return n==="hsl"||n==="hsla"}};return e.inspect=(n,i)=>n.format==="hsl"?`<${n.constructor.name} h:${n.h} s:${n.s} l:${n.l} a:${n.a}>`:n.format==="hex"||n.format==="name"?`<${n.constructor.name} "${i}">`:`<${n.constructor.name} r:${n.r} g:${n.g} b:${n.b} a:${n.a}>`,e.isColor=n=>typeof n=="string"?e.isColorString(n):e.isColorObject(n),e.isColorString=n=>typeof n=="string"?Ea(n)!==!1:!1,e.isColorObject=n=>n&&typeof n!="string"&&typeof n.r=="number"&&typeof n.g=="number"&&typeof n.b=="number"&&typeof n.h=="number"&&typeof n.s=="number"&&typeof n.l=="number"&&typeof n.a=="number"&&typeof n.roundA=="number"&&typeof n.format=="string",e.toString=n=>e.toRgbString(n),e.toHex=(n,i=!1)=>Ou(n.r,n.g,n.b,i),e.toHexString=(n,i=!1)=>`#${e.toHex(n,i)}`,e.toRgbString=n=>n.a===1?"rgb("+Math.round(n.r)+", "+Math.round(n.g)+", "+Math.round(n.b)+")":"rgba("+Math.round(n.r)+", "+Math.round(n.g)+", "+Math.round(n.b)+", "+n.roundA+")",e.toHusl=n=>({...Gy(n.r,n.g,n.b),a:n.roundA}),e.toHslString=n=>{let i=e.toHsl(n),o=Math.round(i.h),a=Math.round(i.s*100),s=Math.round(i.l*100);return n.a===1?"hsl("+o+", "+a+"%, "+s+"%)":"hsla("+o+", "+a+"%, "+s+"%, "+n.roundA+")"},e.toHsv=n=>{let i=Au(n.r,n.g,n.b);return{h:i.h*360,s:i.s,v:i.v,a:n.a}},e.toHsvString=n=>{let i=Au(n.r,n.g,n.b),o=Math.round(i.h*360),a=Math.round(i.s*100),s=Math.round(i.v*100);return n.a===1?"hsv("+o+", "+a+"%, "+s+"%)":"hsva("+o+", "+a+"%, "+s+"%, "+n.roundA+")"},e.toName=n=>{if(n.a===0)return"transparent";if(n.a<1)return!1;let i=Ou(n.r,n.g,n.b,!0);for(let o of Object.keys(ei))if(ei[o]===i)return o;return!1},e.toHsl=n=>({h:Math.round(n.h),s:n.s,l:n.l,a:n.a}),e.toRgb=n=>({r:Math.round(n.r),g:Math.round(n.g),b:Math.round(n.b),a:n.a}),e.brighten=(n,i=10)=>{let o=e.toRgb(n);return o.r=Math.max(0,Math.min(255,o.r-Math.round(255*-(i/100)))),o.g=Math.max(0,Math.min(255,o.g-Math.round(255*-(i/100)))),o.b=Math.max(0,Math.min(255,o.b-Math.round(255*-(i/100)))),e(o)},e.lighten=(n,i=10)=>{let o=e.toHsl(n);return o.l+=i/100,o.l=Math.min(1,Math.max(0,o.l)),e(o)},e.darken=(n,i=10)=>{let o=e.toHsl(n);return o.l-=i/100,o.l=Math.min(1,Math.max(0,o.l)),e(o)},e.saturate=(n,i=10)=>{let o=e.toHsl(n);return o.s+=i/100,o.s=Math.min(1,Math.max(0,o.s)),e(o)},e.desaturate=(n,i=10)=>{let o=e.toHsl(n);return o.s-=i/100,o.s=Math.min(1,Math.max(0,o.s)),e(o)},e.grayscale=n=>e.desaturate(n,100),e.hueRotate=(n,i)=>{let o=e.toHsl(n);return o.h+=i,o.h=o.h>360?o.h-360:o.h,e(o)},e.alpha=(n,i=1)=>e({r:n.r,g:n.g,b:n.b,a:i}),e.transparent=n=>e.alpha(n,0),e.multiplyAlpha=(n,i=1)=>e({r:n.r,g:n.g,b:n.b,a:n.a*i}),e.interpolate=(n,i,o="rgb")=>{if(!e.isColorObject(n)||!e.isColorObject(i))throw new TypeError("Both arguments for Color.interpolate must be Color objects");return a=>e.mixAsColor(n,i,a,!1,o)},e.mix=(n,i,{model:o="rgb"}={})=>{let a=typeof n=="string"?e(n):n,s=e.interpolate(a,i,o);return l=>e.toRgbString(s(l))},e.mixAsColor=(n,i,o=.5,a=!1,s="rgb")=>{let l=null;if(r.isRGB(s))l=e({r:pt(o,[0,1],[n.r,i.r],a),g:pt(o,[0,1],[n.g,i.g],a),b:pt(o,[0,1],[n.b,i.b],a),a:pt(o,[0,1],[n.a,i.a],a)});else{let c,u;r.isHSL(s)?(c=e.toHsl(n),u=e.toHsl(i)):(c=e.toHusl(n),u=e.toHusl(i)),c.s===0?c.h=u.h:u.s===0&&(u.h=c.h);let f=c.h,d=u.h,p=d-f;p>180?p=d-360-f:p<-180&&(p=d+360-f);let m={h:pt(o,[0,1],[f,f+p],a),s:pt(o,[0,1],[c.s,u.s],a),l:pt(o,[0,1],[c.l,u.l],a),a:pt(o,[0,1],[n.a,i.a],a)};r.isHSL(s)?l=e(m):l=e(Xy(m.h,m.s,m.l,m.a))}return l},e.random=(n=1)=>{function i(){return Math.floor(Math.random()*255)}return e("rgba("+i()+", "+i()+", "+i()+", "+n+")")},e.grey=(n=.5,i=1)=>(n=Math.floor(n*255),e("rgba("+n+", "+n+", "+n+", "+i+")")),e.gray=e.grey,e.rgbToHsl=(n,i,o)=>Ta(n,i,o),e.isValidColorProperty=(n,i)=>!!((n.toLowerCase().slice(-5)==="color"||n==="fill"||n==="stroke")&&typeof i=="string"&&e.isColorString(i)),e.difference=(n,i)=>{let o=(n.r+i.r)/2,a=n.r-i.r,s=n.g-i.g,l=n.b-i.b,c=Math.pow(a,2),u=Math.pow(s,2),f=Math.pow(l,2);return Math.sqrt(2*c+4*u+3*f+o*(c-f)/256)},e.equal=(n,i,o=.1)=>!(Math.abs(n.r-i.r)>=o||Math.abs(n.g-i.g)>=o||Math.abs(n.b-i.b)>=o||Math.abs(n.a-i.a)*256>=o),e})();function Qy(e,t,r,n=1){let i;return typeof e=="number"&&!Number.isNaN(e)&&typeof t=="number"&&!Number.isNaN(t)&&typeof r=="number"&&!Number.isNaN(r)?i=ca({r:e,g:t,b:r,a:n}):typeof e=="string"?i=e0(e):typeof e=="object"&&(e.hasOwnProperty("r")&&e.hasOwnProperty("g")&&e.hasOwnProperty("b")?i=ca(e):i=Bf(e)),i}function e0(e){let t=Ea(e);if(t)return t.format==="hsl"?Bf(t):t.format==="hsv"?t0(t):ca(t)}function t0(e){let t=qy(e.h,e.s,e.v);return{...Ta(t.r,t.g,t.b),...t,format:"rgb",a:e.a!==void 0?Hf(e.a):1}}function ca(e){let t=Yy(e.r,e.g,e.b);return{...Ta(t.r,t.g,t.b),...t,format:"rgb",a:e.a!==void 0?Hf(e.a):1}}function Bf(e){let t,r,n,i={r:0,g:0,b:0},o={h:0,s:0,l:0};return t=ir(e.h)?e.h:0,t=(t+360)%360,r=ir(e.s)?e.s:1,typeof e.s=="string"&&(r=la(e.s)),n=ir(e.l)?e.l:.5,typeof e.l=="string"&&(n=la(e.l)),i=Ky(t,r,n),o={h:t,s:r,l:n},{...i,...o,a:e.a===void 0?1:e.a,format:"hsl"}}function Hf(e){return e=parseFloat(e),e<0&&(e=0),(isNaN(e)||e>1)&&(e=1),e}var NE={delta:1/60,maxValues:1e4};var r0={addEventListener:()=>{},removeEventListener:()=>{},dispatchEvent:()=>!1,ResizeObserver:void 0,onpointerdown:!1,onpointermove:!1,onpointerup:!1,ontouchstart:!1,ontouchmove:!1,ontouchend:!1,onmousedown:!1,onmousemove:!1,onmouseup:!1,devicePixelRatio:1,scrollX:0,scrollY:0,location:{href:""},setTimeout:()=>0,clearTimeout:()=>{},setInterval:()=>0,clearInterval:()=>{},requestAnimationFrame:()=>0,cancelAnimationFrame:()=>{},getSelection:()=>null,matchMedia:e=>({matches:!1,media:e,onchange:()=>{},addEventListener:()=>{},removeEventListener:()=>{},addListener:()=>{},removeListener:()=>{},dispatchEvent:()=>!1}),innerHeight:0,SVGSVGElement:{}},Oe=typeof N>"u"?r0:N,n0=e=>{setTimeout(e,1/60)},i0=Oe.requestAnimationFrame||n0,Bu=e=>i0(e),o0=he(hy(),1),{EventEmitter:a0}=o0.default,s0=class{constructor(){this._emitter=new a0}eventNames(){return this._emitter.eventNames()}eventListeners(){let e={};for(let t of this._emitter.eventNames())e[t]=this._emitter.listeners(t);return e}on(e,t){this.addEventListener(e,t,!1,!1,this)}off(e,t){this.removeEventListeners(e,t)}once(e,t){this.addEventListener(e,t,!0,!1,this)}unique(e,t){this.addEventListener(e,t,!1,!0,this)}addEventListener(e,t,r,n,i){if(n){for(let o of this._emitter.eventNames())if(t===this._emitter.listeners(o))return}r===!0?this._emitter.once(e,t,i):this._emitter.addListener(e,t,i)}removeEventListeners(e,t){e?this._emitter.removeListener(e,t):this.removeAllEventListeners()}removeAllEventListeners(){this._emitter.removeAllListeners()}countEventListeners(e,t){if(e)return this._emitter.listeners(e).length;{let r=0;for(let n of this._emitter.eventNames())r+=this._emitter.listeners(n).length;return r}}emit(e,...t){this._emitter.emit(e,...t)}},$r=1/60,l0=class extends s0{constructor(e=!1){super(),this._started=!1,this._frame=0,this._frameTasks=[],this.tick=()=>{this._started&&(Bu(this.tick),this.emit("update",this._frame,$r),this.emit("render",this._frame,$r),this._processFrameTasks(),this._frame++)},e&&this.start()}addFrameTask(e){this._frameTasks.push(e)}_processFrameTasks(){var e;let t=this._frameTasks,r=t.length;if(r!==0){for(let n=0;n<r;n++)(e=t[n])==null||e.call(t);t.length=0}}static set TimeStep(e){$r=e}static get TimeStep(){return $r}start(){return this._started?this:(this._frame=0,this._started=!0,Bu(this.tick),this)}stop(){return this._started=!1,this}get frame(){return this._frame}get time(){return this._frame*$r}},zf=new l0,Z=(e=>(e.canvas="CANVAS",e.export="EXPORT",e.thumbnail="THUMBNAIL",e.preview="PREVIEW",e))(Z||{}),ti={imageBaseURL:"",target:"PREVIEW",zoom:1};(e=>{function t(){return ti.target}e.current=t;function r(){let n=ti.target;return n==="CANVAS"||n==="EXPORT"}e.hasRestrictions=r})(Z||(Z={}));var Gn=e=>({correct:(t,{delta:r,treeScale:n})=>{if(typeof t=="string"&&(t=parseFloat(t)),t===0)return"0px";let i=t;return r&&n&&(i=Math.round(t/r[e].scale/n[e]),i=Math.max(i,1)),i+"px"}});co({borderTopWidth:Gn("y"),borderLeftWidth:Gn("x"),borderRightWidth:Gn("x"),borderBottomWidth:Gn("y")});function ve(e,...t){var r,n;if(e)return;let i=Error("Assertion Error"+(t.length>0?": "+t.join(" "):""));if(i.stack)try{let o=i.stack.split(`
`);(r=o[1])!=null&&r.includes("assert")?(o.splice(1,1),i.stack=o.join(`
`)):(n=o[0])!=null&&n.includes("assert")&&(o.splice(0,1),i.stack=o.join(`
`))}catch{}throw i}function Hu(e,t){throw t||new Error(e?`Unexpected value: ${e}`:"Application entered invalid state")}var ar=h.createContext({getLayoutId:e=>null,persistLayoutIdCache:()=>{},top:!1,enabled:!0});function c0({children:e}){if(P(ar).top)return h.createElement(h.Fragment,null,e);let r=L({byId:{},byName:{},byLastId:{},byPossibleId:{},byLastName:{},byLayoutId:{},count:{byId:{},byName:{}}}),n=L({byId:{},byName:{},byLastId:{},byPossibleId:{},byLastName:{},byLayoutId:{}}),i=L(new Set).current,o=ae(({id:l,name:c,duplicatedFrom:u})=>{if(!l)return null;let f=c?"byName":"byId",d=r.current[f][l];if(d)return d;let p=c||l;if(!u&&!i.has(p)&&(!r.current.byLayoutId[p]||r.current.byLayoutId[p]===p))return r.current.count[f][p]===void 0&&(r.current.count[f][p]=0,r.current.byLayoutId[p]=p,n.current[f][l]=p),i.add(p),p;let m;if(u?.length)for(let w=u.length-1;w>=0;w--){let C=u[w];ve(!!C,"duplicatedId must be defined");let E=r.current[f][C],k=r.current.byLastId[C];if(k&&!m){let D=r.current.byLayoutId[k],z=!D||D===c;k&&!i.has(k)&&(!c||z)&&(m=[k,C])}let F=r.current.byLayoutId[E],I=!F||F===c;if(E&&!i.has(E)&&(!c||I))return n.current[f][l]=E,n.current.byLastId[C]=E,i.add(E),E}let y=r.current.byLastId[l];if(y&&!i.has(y))return i.add(y),n.current.byId[l]=y,y;if(m){let[w,C]=m;return n.current[f][l]=w,n.current.byLastId[C]=w,i.add(w),w}let x=r.current.byPossibleId[l];if(x&&!i.has(x))return i.add(x),n.current.byId[l]=x,x;let v=u?.[0],b=c||v||l,g=r.current.count[f][b]+1||0,{layoutId:S,value:T}=u0(b,g,i);if(r.current.count[f][b]=T,n.current[f][l]=S,u?.length&&!c){let w=u[u.length-1];if(w&&(n.current.byLastId[w]=S),u.length>1)for(let C=0;C<u.length-1;C++){let E=u[C];E!==void 0&&(n.current.byPossibleId[E]||(n.current.byPossibleId[E]=S))}}return n.current.byLayoutId[S]=p,i.add(S),S},[]),a=ae(()=>{r.current={byId:{...r.current.byId,...n.current.byId},byLastId:{...r.current.byLastId,...n.current.byLastId},byPossibleId:{...r.current.byPossibleId,...n.current.byPossibleId},byName:{...r.current.byName,...n.current.byName},byLastName:{...r.current.byLastName,...n.current.byLastName},byLayoutId:{...r.current.byLayoutId,...n.current.byLayoutId},count:{...r.current.count,byName:{}}},n.current={byId:{},byName:{},byLastId:{},byPossibleId:{},byLastName:{},byLayoutId:{}},i.clear()},[]),s=L({getLayoutId:o,persistLayoutIdCache:a,top:!0,enabled:!0}).current;return h.createElement(ar.Provider,{value:s},e)}function u0(e,t,r){let n=t,i=n?`${e}-${n}`:e;for(;r.has(i);)n++,i=`${e}-${n}`;return{layoutId:i,value:n}}function f0({enabled:e=!0,...t}){let r=P(ar),n=ee(()=>({...r,enabled:e}),[e]);return h.createElement(ar.Provider,{...t,value:n})}function Ze(e){let t=L(null);return t.current===null&&(t.current=e()),t.current}var d0={background:void 0,display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",lineHeight:"1.4em",textOverflow:"ellipsis",overflow:"hidden",minHeight:0,width:"100%",height:"100%"},h0={...d0,border:"1px solid rgba(149, 149, 149, 0.15)",borderRadius:6,fontSize:"12px",backgroundColor:"rgba(149, 149, 149, 0.1)",color:"#a5a5a5"},Nf={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",maxWidth:"100%",flexShrink:0,padding:"0 10px"},p0={...Nf,fontWeight:500},m0={...Nf,whiteSpace:"pre",maxHeight:"calc(50% - calc(20px * var(--framerInternalCanvas-canvasPlaceholderContentScaleFactor, 1)))",WebkitMaskImage:"linear-gradient(to bottom, black 80%, transparent 100%)"};function XE(e){let{error:t,file:r}=e,n=r?`Error in ${v0(r)}`:"Error",i=t instanceof Error?t.message:""+t;return h.createElement("div",{style:h0},h.createElement("div",{className:"text",style:p0},n),i&&h.createElement("div",{className:"text",style:m0},i))}function v0(e){return e.startsWith("./")?e.replace("./",""):e}var YE=992-5;function V(e){return typeof e=="number"&&isFinite(e)}function g0(e){return!e||!Object.keys(e).length&&e.constructor===Object}function Xr(e){return typeof e!="string"&&typeof e!="number"}function Yr(e){return e!==null&&typeof e<"u"&&typeof e!="boolean"&&!g0(e)}var ua;(e=>{function t(i,o){return i===o?!0:!i||!o?!1:i.x===o.x&&i.y===o.y&&i.width===o.width&&i.height===o.height}e.equals=t,e.atOrigin=i=>({...i,x:0,y:0}),e.fromTwoPoints=(i,o)=>({x:Math.min(i.x,o.x),y:Math.min(i.y,o.y),width:Math.abs(i.x-o.x),height:Math.abs(i.y-o.y)}),e.fromRect=i=>({x:i.left,y:i.top,width:i.right-i.left,height:i.bottom-i.top}),e.multiply=(i,o)=>({x:i.x*o,y:i.y*o,width:i.width*o,height:i.height*o}),e.divide=(i,o)=>(0,e.multiply)(i,1/o),e.offset=(i,o)=>{let a=typeof o.x=="number"?o.x:0,s=typeof o.y=="number"?o.y:0;return{...i,x:i.x+a,y:i.y+s}};function r(i,o){if(o===0)return i;let a=2*o;return{x:i.x-o,y:i.y-o,width:i.width+a,height:i.height+a}}e.inflate=r,e.pixelAligned=i=>{let o=Math.round(i.x),a=Math.round(i.y),s=Math.round(i.x+i.width),l=Math.round(i.y+i.height),c=Math.max(s-o,0),u=Math.max(l-a,0);return{x:o,y:a,width:c,height:u}},e.halfPixelAligned=i=>{let o=Math.round(i.x*2)/2,a=Math.round(i.y*2)/2,s=Math.round((i.x+i.width)*2)/2,l=Math.round((i.y+i.height)*2)/2,c=Math.max(s-o,1),u=Math.max(l-a,1);return{x:o,y:a,width:c,height:u}},e.round=(i,o=0)=>{let a=jn(i.x,o),s=jn(i.y,o),l=jn(i.width,o),c=jn(i.height,o);return{x:a,y:s,width:l,height:c}},e.roundToOutside=i=>{let o=Math.floor(i.x),a=Math.floor(i.y),s=Math.ceil(i.x+i.width),l=Math.ceil(i.y+i.height),c=Math.max(s-o,0),u=Math.max(l-a,0);return{x:o,y:a,width:c,height:u}},e.minX=i=>i.x,e.maxX=i=>i.x+i.width,e.minY=i=>i.y,e.maxY=i=>i.y+i.height,e.positions=i=>({minX:i.x,midX:i.x+i.width/2,maxX:(0,e.maxX)(i),minY:i.y,midY:i.y+i.height/2,maxY:(0,e.maxY)(i)}),e.center=i=>({x:i.x+i.width/2,y:i.y+i.height/2}),e.fromPoints=i=>{let o=i.map(f=>f.x),a=i.map(f=>f.y),s=Math.min(...o),l=Math.min(...a),c=Math.max(...o)-s,u=Math.max(...a)-l;return{x:s,y:l,width:c,height:u}},e.merge=(...i)=>{let o={x:Math.min(...i.map(e.minX)),y:Math.min(...i.map(e.minY))},a={x:Math.max(...i.map(e.maxX)),y:Math.max(...i.map(e.maxY))};return(0,e.fromTwoPoints)(o,a)},e.intersection=(i,o)=>{let a=Math.max(i.x,o.x),s=Math.min(i.x+i.width,o.x+o.width),l=Math.max(i.y,o.y),c=Math.min(i.y+i.height,o.y+o.height);return{x:a,y:l,width:s-a,height:c-l}},e.points=i=>[{x:(0,e.minX)(i),y:(0,e.minY)(i)},{x:(0,e.minX)(i),y:(0,e.maxY)(i)},{x:(0,e.maxX)(i),y:(0,e.minY)(i)},{x:(0,e.maxX)(i),y:(0,e.maxY)(i)}],e.transform=(i,o)=>{let{x:a,y:s}=o.transformPoint({x:i.x,y:i.y}),{x:l,y:c}=o.transformPoint({x:i.x+i.width,y:i.y}),{x:u,y:f}=o.transformPoint({x:i.x+i.width,y:i.y+i.height}),{x:d,y:p}=o.transformPoint({x:i.x,y:i.y+i.height}),m=Math.min(a,l,u,d),y=Math.max(a,l,u,d)-m,x=Math.min(s,c,f,p),v=Math.max(s,c,f,p)-x;return{x:m,y:x,width:y,height:v}},e.containsPoint=(i,o)=>!(o.x<(0,e.minX)(i)||o.x>(0,e.maxX)(i)||o.y<(0,e.minY)(i)||o.y>(0,e.maxY)(i)||isNaN(i.x)||isNaN(i.y)),e.containsRect=(i,o)=>{for(let a of(0,e.points)(o))if(!(0,e.containsPoint)(i,a))return!1;return!0},e.toCSS=i=>({display:"block",transform:`translate(${i.x}px, ${i.y}px)`,width:`${i.width}px`,height:`${i.height}px`}),e.inset=(i,o)=>({x:i.x+o,y:i.y+o,width:Math.max(0,i.width-2*o),height:Math.max(0,i.height-2*o)}),e.intersects=(i,o)=>!(o.x>=(0,e.maxX)(i)||(0,e.maxX)(o)<=i.x||o.y>=(0,e.maxY)(i)||(0,e.maxY)(o)<=i.y),e.overlapHorizontally=(i,o)=>{let a=e.maxX(i),s=e.maxX(o);return a>o.x&&s>i.x},e.overlapVertically=(i,o)=>{let a=e.maxY(i),s=e.maxY(o);return a>o.y&&s>i.y},e.doesNotIntersect=(i,o)=>o.find(a=>e.intersects(a,i))===void 0,e.isEqual=(i,o)=>{if(i&&o){let{x:a,y:s,width:l,height:c}=i;return o.x===a&&o.y===s&&o.width===l&&o.height===c}else return i===o},e.cornerPoints=i=>{let o=i.x,a=i.x+i.width,s=i.y,l=i.y+i.height;return[{x:o,y:s},{x:a,y:s},{x:a,y:l},{x:o,y:l}]},e.midPoints=i=>{let o=i.x,a=i.x+i.width/2,s=i.x+i.width,l=i.y,c=i.y+i.height/2,u=i.y+i.height;return[{x:a,y:l},{x:s,y:c},{x:a,y:u},{x:o,y:c}]},e.pointDistance=(i,o)=>{let a=0,s=0;return o.x<i.x?a=i.x-o.x:o.x>e.maxX(i)&&(a=o.x-e.maxX(i)),o.y<i.y?s=i.y-o.y:o.y>e.maxY(i)&&(s=o.y-e.maxY(i)),Lt.distance({x:a,y:s},{x:0,y:0})};let n={x:0,y:0,width:0,height:0};e.fromAny=(i,o=n)=>({x:i.x||o.x,y:i.y||o.y,width:i.width||o.width,height:i.height||o.height})})(ua||(ua={}));var ri;(e=>{e.quickfix=t=>((t.widthType===2||t.heightType===2)&&(t.aspectRatio=null),V(t.aspectRatio)&&(t.left&&t.right&&(t.widthType=0),t.top&&t.bottom&&(t.heightType=0),t.left&&t.right&&t.top&&t.bottom&&(t.bottom=!1),t.widthType!==0&&t.heightType!==0&&(t.heightType=0)),t.left&&t.right&&((t.fixedSize||t.widthType===2||V(t.maxWidth))&&(t.right=!1),t.widthType=0),t.top&&t.bottom&&((t.fixedSize||t.heightType===2||V(t.maxHeight))&&(t.bottom=!1),t.heightType=0),t)})(ri||(ri={}));function ni(e){if(typeof e=="string"){let t=e.trim();if(t==="auto")return 2;if(t.endsWith("fr"))return 3;if(t.endsWith("%"))return 1;if(t.endsWith("vw")||t.endsWith("vh"))return 4}return 0}var fa;(e=>{e.fromProperties=t=>{let{left:r,right:n,top:i,bottom:o,width:a,height:s,centerX:l,centerY:c,aspectRatio:u,autoSize:f}=t,d=ri.quickfix({left:V(r)||He(r),right:V(n)||He(n),top:V(i)||He(i),bottom:V(o)||He(o),widthType:ni(a),heightType:ni(s),aspectRatio:u||null,fixedSize:f===!0}),p=null,m=null,y=0,x=0;if(d.widthType!==0&&typeof a=="string"){let g=parseFloat(a);a.endsWith("fr")?(y=3,p=g):a==="auto"?y=2:(y=1,p=g/100)}else a!==void 0&&typeof a!="string"&&(p=ce.getNumber(a));if(d.heightType!==0&&typeof s=="string"){let g=parseFloat(s);s.endsWith("fr")?(x=3,m=g):s==="auto"?x=2:(x=1,m=parseFloat(s)/100)}else s!==void 0&&typeof s!="string"&&(m=ce.getNumber(s));let v=.5,b=.5;return l&&(v=parseFloat(l)/100),c&&(b=parseFloat(c)/100),{left:d.left?ce.getNumber(r):null,right:d.right?ce.getNumber(n):null,top:d.top?ce.getNumber(i):null,bottom:d.bottom?ce.getNumber(o):null,widthType:y,heightType:x,width:p,height:m,aspectRatio:d.aspectRatio||null,centerAnchorX:v,centerAnchorY:b}},e.toSize=(t,r,n,i)=>{let o=null,a=null,s=r?.sizing?ce.getNumber(r?.sizing.width):null,l=r?.sizing?ce.getNumber(r?.sizing.height):null,c=zu(t.left,t.right);if(s&&V(c))o=s-c;else if(n&&t.widthType===2)o=n.width;else if(V(t.width))switch(t.widthType){case 0:o=t.width;break;case 3:o=i?i.freeSpaceInParent.width/i.freeSpaceUnitDivisor.width*t.width:null;break;case 1:case 4:s&&(o=s*t.width);break;case 2:break;default:Hu(t.widthType)}let u=zu(t.top,t.bottom);if(l&&V(u))a=l-u;else if(n&&t.heightType===2)a=n.height;else if(V(t.height))switch(t.heightType){case 0:a=t.height;break;case 3:a=i?i.freeSpaceInParent.height/i.freeSpaceUnitDivisor.height*t.height:null;break;case 1:case 4:l&&(a=l*t.height);break;case 2:break;default:Hu(t.heightType)}return w0(o,a,t,{height:l??0,width:s??0},r?.viewport)},e.toRect=(t,r=null,n=null,i=!1,o=null)=>{var a;let s=t.left||0,l=t.top||0,{width:c,height:u}=e.toSize(t,r,n,o),f=(a=r?.positioning)!=null?a:null,d=f?ce.getNumber(f.width):null,p=f?ce.getNumber(f.height):null;t.left!==null?s=t.left:d&&t.right!==null?s=d-t.right-c:d&&(s=t.centerAnchorX*d-c/2),t.top!==null?l=t.top:p&&t.bottom!==null?l=p-t.bottom-u:p&&(l=t.centerAnchorY*p-u/2);let m={x:s,y:l,width:c,height:u};return i?ua.pixelAligned(m):m}})(fa||(fa={}));var y0=200,x0=200;function ii(e,t,r,n){if(typeof t=="string"){if(t.endsWith("%")&&r)switch(e){case"maxWidth":case"minWidth":return parseFloat(t)/100*r.width;case"maxHeight":case"minHeight":return parseFloat(t)/100*r.height;default:break}if(t.endsWith("vh")&&n)switch(e){case"maxWidth":case"minWidth":return parseFloat(t)/100*n.width;case"maxHeight":case"minHeight":return parseFloat(t)/100*n.height;default:break}return parseFloat(t)}return t}function b0(e,t,r,n){return t.minHeight&&(e=Math.max(ii("minHeight",t.minHeight,r,n),e)),t.maxHeight&&(e=Math.min(ii("maxHeight",t.maxHeight,r,n),e)),e}function S0(e,t,r,n){return t.minWidth&&(e=Math.max(ii("minWidth",t.minWidth,r,n),e)),t.maxWidth&&(e=Math.min(ii("maxWidth",t.maxWidth,r,n),e)),e}function w0(e,t,r,n,i){let o=S0(V(e)?e:y0,r,n,i),a=b0(V(t)?t:x0,r,n,i);return V(r.aspectRatio)&&r.aspectRatio>0&&(V(r.left)&&V(r.right)?a=o/r.aspectRatio:V(r.top)&&V(r.bottom)?o=a*r.aspectRatio:r.widthType!==0?a=o/r.aspectRatio:o=a*r.aspectRatio),{width:o,height:a}}function zu(e,t){return!V(e)||!V(t)?null:e+t}function C0(e){return typeof e.right=="string"||typeof e.bottom=="string"||typeof e.left=="string"&&(!e.center||e.center==="y")||typeof e.top=="string"&&(!e.center||e.center==="x")}function nn(e){return!e._constraints||C0(e)?!1:e._constraints.enabled}function T0(e){let{size:t}=e,{width:r,height:n}=e;return V(t)&&(r===void 0&&(r=t),n===void 0&&(n=t)),V(r)&&V(n)?{width:r,height:n}:null}function E0(e){let t=T0(e);if(t===null)return null;let{left:r,top:n}=e;return V(r)&&V(n)?{x:r,y:n,...t}:null}function sr(e,t,r=!0){if(e.positionFixed||e.positionAbsolute)return null;let n=t===1||t===2;if(!nn(e)||n)return E0(e);let i=R0(e),o=k0(t),a=o?{sizing:o,positioning:o,viewport:null}:null;return fa.toRect(i,a,null,r,null)}function R0(e){let{left:t,right:r,top:n,bottom:i,center:o,_constraints:a,size:s}=e,{width:l,height:c}=e;l===void 0&&(l=s),c===void 0&&(c=s);let{aspectRatio:u,autoSize:f}=a,d=ri.quickfix({left:V(t),right:V(r),top:V(n),bottom:V(i),widthType:ni(l),heightType:ni(c),aspectRatio:u||null,fixedSize:f===!0}),p=null,m=null,y=0,x=0;if(d.widthType!==0&&typeof l=="string"){let g=parseFloat(l);l.endsWith("fr")?(y=3,p=g):l==="auto"?y=2:(y=1,p=g/100)}else l!==void 0&&typeof l!="string"&&(p=l);if(d.heightType!==0&&typeof c=="string"){let g=parseFloat(c);c.endsWith("fr")?(x=3,m=g):c==="auto"?x=2:(x=1,m=parseFloat(c)/100)}else c!==void 0&&typeof c!="string"&&(m=c);let v=.5,b=.5;return(o===!0||o==="x")&&(d.left=!1,typeof t=="string"&&(v=parseFloat(t)/100)),(o===!0||o==="y")&&(d.top=!1,typeof n=="string"&&(b=parseFloat(n)/100)),{left:d.left?t:null,right:d.right?r:null,top:d.top?n:null,bottom:d.bottom?i:null,widthType:y,heightType:x,width:p,height:m,aspectRatio:d.aspectRatio||null,centerAnchorX:v,centerAnchorY:b,minHeight:e.minHeight,maxHeight:e.maxHeight,minWidth:e.minWidth,maxWidth:e.maxWidth}}var Ra=h.createContext({parentSize:0});function k0(e){return e===0||e===1||e===2?null:e}function lr(){return h.useContext(Ra).parentSize}function $f(e){return typeof e=="object"}var _0=e=>{let t=lr(),{parentSize:r,children:n}=e,i=h.useMemo(()=>({parentSize:r}),[P0(r),I0(r)]);return t===1?n?h.createElement(h.Fragment,null,n):null:h.createElement(Ra.Provider,{value:i},n)};function P0(e){return $f(e)?e.width:e}function I0(e){return $f(e)?e.height:e}var ZE=Ra.Consumer;function F0(e,t){return h.createElement(_0,{parentSize:t},e)}function M0(e){let t=lr();return sr(e,t,!0)}var L0=(e=>(e.Boolean="boolean",e.Number="number",e.String="string",e.RichText="richtext",e.FusedNumber="fusednumber",e.Enum="enum",e.SegmentedEnum="segmentedenum",e.Color="color",e.Image="image",e.ResponsiveImage="responsiveimage",e.File="file",e.ComponentInstance="componentinstance",e.Array="array",e.EventHandler="eventhandler",e.Transition="transition",e.Link="link",e.Date="date",e.Object="object",e.Font="font",e.PageScope="pagescope",e))(L0||{}),Xo;function O0(){if(Xo!==void 0)return Xo;let e=document.createElement("div");Object.assign(e.style,{position:"absolute",display:"flex",flexDirection:"column",rowGap:"1px"}),e.appendChild(document.createElement("div")),e.appendChild(document.createElement("div")),document.body.appendChild(e);let t=e.scrollHeight===1;return e.parentNode&&e.parentNode.removeChild(e),Xo=t,t}var Ht="flexbox-gap-not-supported",Nu=!1;function JE(){Nu||(Nu=!0,!O0()&&document.body.classList.add(Ht))}var A0=`
[data-framer-component-type="DeprecatedRichText"] p,
[data-framer-component-type="DeprecatedRichText"] div,
[data-framer-component-type="DeprecatedRichText"] h1,
[data-framer-component-type="DeprecatedRichText"] h2,
[data-framer-component-type="DeprecatedRichText"] h3,
[data-framer-component-type="DeprecatedRichText"] h4,
[data-framer-component-type="DeprecatedRichText"] h5,
[data-framer-component-type="DeprecatedRichText"] h6,
[data-framer-component-type="DeprecatedRichText"] li,
[data-framer-component-type="DeprecatedRichText"] ol,
[data-framer-component-type="DeprecatedRichText"] ul,
[data-framer-component-type="DeprecatedRichText"] span:not([data-text-fill]) {
font-family: var(--framer-font-family, Inter, Inter Placeholder, sans-serif);
font-style: var(--framer-font-style, normal);
font-weight: var(--framer-font-weight, 400);
color: var(--framer-text-color, #000);
font-size: var(--framer-font-size, 16px);
letter-spacing: var(--framer-letter-spacing, 0);
text-transform: var(--framer-text-transform, none);
text-decoration: var(--framer-text-decoration, none);
line-height: var(--framer-line-height, 1.2em);
text-align: var(--framer-text-alignment, start);
}
`,V0=`
[data-framer-component-type="DeprecatedRichText"] p:not(:first-child),
[data-framer-component-type="DeprecatedRichText"] div:not(:first-child),
[data-framer-component-type="DeprecatedRichText"] h1:not(:first-child),
[data-framer-component-type="DeprecatedRichText"] h2:not(:first-child),
[data-framer-component-type="DeprecatedRichText"] h3:not(:first-child),
[data-framer-component-type="DeprecatedRichText"] h4:not(:first-child),
[data-framer-component-type="DeprecatedRichText"] h5:not(:first-child),
[data-framer-component-type="DeprecatedRichText"] h6:not(:first-child),
[data-framer-component-type="DeprecatedRichText"] ol:not(:first-child),
[data-framer-component-type="DeprecatedRichText"] ul:not(:first-child),
[data-framer-component-type="DeprecatedRichText"] .framer-image:not(:first-child) {
margin-top: var(--framer-paragraph-spacing, 0);
}
`,D0=`
[data-framer-component-type="DeprecatedRichText"] span[data-text-fill] {
display: inline-block;
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
`,B0=`
[data-framer-component-type="DeprecatedRichText"] a,
[data-framer-component-type="DeprecatedRichText"] a span:not([data-text-fill]) {
font-family: var(--framer-link-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif));
font-style: var(--framer-link-font-style, var(--framer-font-style, normal));
font-weight: var(--framer-link-font-weight, var(--framer-font-weight, 400));
color: var(--framer-link-text-color, var(--framer-text-color, #000));
font-size: var(--framer-link-font-size, var(--framer-font-size, 16px));
text-transform: var(--framer-link-text-transform, var(--framer-text-transform, none));
text-decoration: var(--framer-link-text-decoration, var(--framer-text-decoration, none));
}
`,H0=`
[data-framer-component-type="DeprecatedRichText"] a:hover,
[data-framer-component-type="DeprecatedRichText"] a:hover span:not([data-text-fill]) {
font-family: var(--framer-link-hover-font-family, var(--framer-link-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif)));
font-style: var(--framer-link-hover-font-style, var(--framer-link-font-style, var(--framer-font-style, normal)));
font-weight: var(--framer-link-hover-font-weight, var(--framer-link-font-weight, var(--framer-font-weight, 400)));
color: var(--framer-link-hover-text-color, var(--framer-link-text-color, var(--framer-text-color, #000)));
font-size: var(--framer-link-hover-font-size, var(--framer-link-font-size, var(--framer-font-size, 16px)));
text-transform: var(--framer-link-hover-text-transform, var(--framer-link-text-transform, var(--framer-text-transform, none)));
text-decoration: var(--framer-link-hover-text-decoration, var(--framer-link-text-decoration, var(--framer-text-decoration, none)));
}
`,z0=`
a[data-framer-page-link-current],
a[data-framer-page-link-current] span:not([data-text-fill]) {
font-family: var(--framer-link-current-font-family, var(--framer-link-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif)));
font-style: var(--framer-link-current-font-style, var(--framer-link-font-style, var(--framer-font-style, normal)));
font-weight: var(--framer-link-current-font-weight, var(--framer-link-font-weight, var(--framer-font-weight, 400)));
color: var(--framer-link-current-text-color, var(--framer-link-text-color, var(--framer-text-color, #000)));
font-size: var(--framer-link-current-font-size, var(--framer-link-font-size, var(--framer-font-size, 16px)));
text-transform: var(--framer-link-current-text-transform, var(--framer-link-text-transform, var(--framer-text-transform, none)));
text-decoration: var(--framer-link-current-text-decoration, var(--framer-link-text-decoration, var(--framer-text-decoration, none)));
}
`,N0=`
a[data-framer-page-link-current]:hover,
a[data-framer-page-link-current]:hover span:not([data-text-fill]) {
font-family: var(--framer-link-hover-font-family, var(--framer-link-current-font-family, var(--framer-link-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif))));
font-style: var(--framer-link-hover-font-style, var(--framer-link-current-font-style, var(--framer-link-font-style, var(--framer-font-style, normal))));
font-weight: var(--framer-link-hover-font-weight, var(--framer-link-current-font-weight, var(--framer-link-font-weight, var(--framer-font-weight, 400))));
color: var(--framer-link-hover-text-color, var(--framer-link-current-text-color, var(--framer-link-text-color, var(--framer-text-color, #000))));
font-size: var(--framer-link-hover-font-size, var(--framer-link-current-font-size, var(--framer-link-font-size, var(--framer-font-size, 16px))));
text-transform: var(--framer-link-hover-text-transform, var(--framer-link-current-text-transform, var(--framer-link-text-transform, var(--framer-text-transform, none))));
text-decoration: var(--framer-link-hover-text-decoration, var(--framer-link-current-text-decoration, var(--framer-link-text-decoration, var(--framer-text-decoration, none))));
}
`,$0=`
[data-framer-component-type="DeprecatedRichText"] strong {
font-weight: bolder;
}
`,U0=`
[data-framer-component-type="DeprecatedRichText"] em {
font-style: italic;
}
`,W0=`
[data-framer-component-type="DeprecatedRichText"] .framer-image {
display: block;
max-width: 100%;
height: auto;
}
`,j0=`
[data-framer-component-type="DeprecatedRichText"] p,
[data-framer-component-type="DeprecatedRichText"] div,
[data-framer-component-type="DeprecatedRichText"] h1,
[data-framer-component-type="DeprecatedRichText"] h2,
[data-framer-component-type="DeprecatedRichText"] h3,
[data-framer-component-type="DeprecatedRichText"] h4,
[data-framer-component-type="DeprecatedRichText"] h5,
[data-framer-component-type="DeprecatedRichText"] h6 {
margin: 0;
padding: 0;
}
`,G0=`
[data-framer-component-type="DeprecatedRichText"] .text-styles-preset-reset {
--framer-font-family: Inter, Inter Placeholder, sans-serif;
--framer-font-style: normal;
--framer-font-weight: 500;
--framer-text-color: #000;
--framer-font-size: 16px;
--framer-letter-spacing: 0;
--framer-text-transform: none;
--framer-text-decoration: none;
--framer-line-height: 1.2em;
--framer-text-alignment: start;
}
`,X0=`
[data-framer-component-type="DeprecatedRichText"] ul,
[data-framer-component-type="DeprecatedRichText"] ol {
display: table;
width: 100%;
padding-left: 0;
margin: 0;
}
`,Y0=`
[data-framer-component-type="DeprecatedRichText"] li {
display: table-row;
counter-increment: list-item;
list-style: none;
}
`,K0=`
[data-framer-component-type="DeprecatedRichText"] ol > li::before {
display: table-cell;
width: 2.25ch;
box-sizing: border-box;
padding-right: 0.75ch;
content: counter(list-item) ".";
white-space: nowrap;
}
`,q0=`
[data-framer-component-type="DeprecatedRichText"] ul > li::before {
display: table-cell;
width: 2.25ch;
box-sizing: border-box;
padding-right: 0.75ch;
content: "\u2022";
}
`,Z0=['[data-framer-component-type="DeprecatedRichText"] { cursor: inherit; }',G0,j0,A0,V0,D0,B0,H0,z0,N0,$0,U0,W0,X0,Y0,K0,q0],J0=[`
p.framer-text,
div.framer-text,
h1.framer-text,
h2.framer-text,
h3.framer-text,
h4.framer-text,
h5.framer-text,
h6.framer-text,
ol.framer-text,
ul.framer-text {
margin: 0;
padding: 0;
}
`,`
p.framer-text,
div.framer-text,
h1.framer-text,
h2.framer-text,
h3.framer-text,
h4.framer-text,
h5.framer-text,
h6.framer-text,
li.framer-text,
ol.framer-text,
ul.framer-text,
span.framer-text:not([data-text-fill]) {
font-family: var(--framer-font-family, Inter, Inter Placeholder, sans-serif);
font-style: var(--framer-font-style, normal);
font-weight: var(--framer-font-weight, 400);
color: var(--framer-text-color, #000);
font-size: var(--framer-font-size, 16px);
letter-spacing: var(--framer-letter-spacing, 0);
text-transform: var(--framer-text-transform, none);
text-decoration: var(--framer-text-decoration, none);
line-height: var(--framer-line-height, 1.2em);
text-align: var(--framer-text-alignment, start);
}
`,`
strong.framer-text {
font-weight: bolder;
}
`,`
em.framer-text {
font-style: italic;
}
`,`
code.framer-text {
padding: 2px;
border-radius: 4px;
background-color: rgba(0, 0, 0, .08);
}
`,`
code.framer-text,
code.framer-text .framer-text:not([data-text-fill]) {
font-family: "Courier New", monospace;
}
`,`
p.framer-text:not(:first-child),
div.framer-text:not(:first-child),
h1.framer-text:not(:first-child),
h2.framer-text:not(:first-child),
h3.framer-text:not(:first-child),
h4.framer-text:not(:first-child),
h5.framer-text:not(:first-child),
h6.framer-text:not(:first-child),
ol.framer-text:not(:first-child),
ul.framer-text:not(:first-child),
.framer-image.framer-text:not(:first-child) {
margin-top: var(--framer-paragraph-spacing, 0);
}
`,`
li.framer-text > ul.framer-text:nth-child(2),
li.framer-text > ol.framer-text:nth-child(2) {
margin-top: 0;
}
`,`
.framer-text[data-text-fill] {
display: inline-block;
background-clip: text;
-webkit-background-clip: text;
/* make this a transparent color if you want to visualise the clipping */
-webkit-text-fill-color: transparent;
padding: max(0em, calc(calc(1.3em - var(--framer-line-height, 1.3em)) / 2));
margin: min(0em, calc(calc(1.3em - var(--framer-line-height, 1.3em)) / -2));
}
`,`
a.framer-text,
a.framer-text span.framer-text:not([data-text-fill]) {
font-family: var(--framer-link-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif));
font-style: var(--framer-link-font-style, var(--framer-font-style, normal));
font-weight: var(--framer-link-font-weight, var(--framer-font-weight, 400));
color: var(--framer-link-text-color, var(--framer-text-color, #000));
font-size: var(--framer-link-font-size, var(--framer-font-size, 16px));
text-transform: var(--framer-link-text-transform, var(--framer-text-transform, none));
text-decoration: var(--framer-link-text-decoration, var(--framer-text-decoration, none));
cursor: var(--framer-custom-cursors, pointer);
}
`,`
a.framer-text:hover,
a.framer-text:hover span.framer-text:not([data-text-fill]) {
font-family: var(--framer-link-hover-font-family, var(--framer-link-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif)));
font-style: var(--framer-link-hover-font-style, var(--framer-link-font-style, var(--framer-font-style, normal)));
font-weight: var(--framer-link-hover-font-weight, var(--framer-link-font-weight, var(--framer-font-weight, 400)));
color: var(--framer-link-hover-text-color, var(--framer-link-text-color, var(--framer-text-color, #000)));
font-size: var(--framer-link-hover-font-size, var(--framer-link-font-size, var(--framer-font-size, 16px)));
text-transform: var(--framer-link-hover-text-transform, var(--framer-link-text-transform, var(--framer-text-transform, none)));
text-decoration: var(--framer-link-hover-text-decoration, var(--framer-link-text-decoration, var(--framer-text-decoration, none)));
}
`,`
a.framer-text[data-framer-page-link-current],
a.framer-text[data-framer-page-link-current] span.framer-text:not([data-text-fill]) {
font-family: var(--framer-link-current-font-family, var(--framer-link-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif)));
font-style: var(--framer-link-current-font-style, var(--framer-link-font-style, var(--framer-font-style, normal)));
font-weight: var(--framer-link-current-font-weight, var(--framer-link-font-weight, var(--framer-font-weight, 400)));
color: var(--framer-link-current-text-color, var(--framer-link-text-color, var(--framer-text-color, #000)));
font-size: var(--framer-link-current-font-size, var(--framer-link-font-size, var(--framer-font-size, 16px)));
text-transform: var(--framer-link-current-text-transform, var(--framer-link-text-transform, var(--framer-text-transform, none)));
text-decoration: var(--framer-link-current-text-decoration, var(--framer-link-text-decoration, var(--framer-text-decoration, none)));
}
`,`
a.framer-text[data-framer-page-link-current]:hover,
a.framer-text[data-framer-page-link-current]:hover span.framer-text:not([data-text-fill]) {
font-family: var(--framer-link-hover-font-family, var(--framer-link-current-font-family, var(--framer-link-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif))));
font-style: var(--framer-link-hover-font-style, var(--framer-link-current-font-style, var(--framer-link-font-style, var(--framer-font-style, normal))));
font-weight: var(--framer-link-hover-font-weight, var(--framer-link-current-font-weight, var(--framer-link-font-weight, var(--framer-font-weight, 400))));
color: var(--framer-link-hover-text-color, var(--framer-link-current-text-color, var(--framer-link-text-color, var(--framer-text-color, #000))));
font-size: var(--framer-link-hover-font-size, var(--framer-link-current-font-size, var(--framer-link-font-size, var(--framer-font-size, 16px))));
text-transform: var(--framer-link-hover-text-transform, var(--framer-link-current-text-transform, var(--framer-link-text-transform, var(--framer-text-transform, none))));
text-decoration: var(--framer-link-hover-text-decoration, var(--framer-link-current-text-decoration, var(--framer-link-text-decoration, var(--framer-text-decoration, none))));
}
`,`
.framer-image.framer-text {
display: block;
max-width: 100%;
height: auto;
}
`,`
.text-styles-preset-reset.framer-text {
--framer-font-family: Inter, Inter Placeholder, sans-serif;
--framer-font-style: normal;
--framer-font-weight: 500;
--framer-text-color: #000;
--framer-font-size: 16px;
--framer-letter-spacing: 0;
--framer-text-transform: none;
--framer-text-decoration: none;
--framer-line-height: 1.2em;
--framer-text-alignment: start;
}
`,`
ul.framer-text,
ol.framer-text {
display: table;
width: 100%;
}
`,`
li.framer-text {
display: table-row;
counter-increment: list-item;
list-style: none;
}
`,`
ol.framer-text > li.framer-text::before {
display: table-cell;
width: 2.25ch;
box-sizing: border-box;
padding-right: 0.75ch;
content: counter(list-item) ".";
white-space: nowrap;
}
`,`
ul.framer-text > li.framer-text::before {
display: table-cell;
width: 2.25ch;
box-sizing: border-box;
padding-right: 0.75ch;
content: "\u2022";
}
`,`
.framer-text-module[style*="aspect-ratio"] > :first-child {
width: 100%;
}
`,`
@supports not (aspect-ratio: 1) {
.framer-text-module[style*="aspect-ratio"] {
position: relative;
}
}
`,`
@supports not (aspect-ratio: 1) {
.framer-text-module[style*="aspect-ratio"]::before {
content: "";
display: block;
padding-bottom: calc(100% / calc(var(--aspect-ratio)));
}
}
`,`
@supports not (aspect-ratio: 1) {
.framer-text-module[style*="aspect-ratio"] > :first-child {
position: absolute;
top: 0;
left: 0;
height: 100%;
}
}
`],Q0=new Set,Yo;function Uf(e,t,r=Q0){if(!(!e||r.has(e)||typeof document>"u")){if(r.add(e),!t){if(!Yo){let n=document.createElement("style");if(n.setAttribute("type","text/css"),n.setAttribute("data-framer-css","true"),!document.head){console.warn("not injecting CSS: the document is missing a <head> element");return}if(document.head.appendChild(n),n.sheet)Yo=n.sheet;else{console.warn("not injecting CSS: injected <style> element does not have a sheet",n);return}}t=Yo}try{t.insertRule(e,t.cssRules.length)}catch{}}}var ex=["[data-framer-component-type] { position: absolute; }"],tx=`
[data-framer-component-type="Text"] > * {
text-align: var(--framer-text-alignment, start);
}`,rx=`
[data-framer-component-type="Text"] span span,
[data-framer-component-type="Text"] p span,
[data-framer-component-type="Text"] h1 span,
[data-framer-component-type="Text"] h2 span,
[data-framer-component-type="Text"] h3 span,
[data-framer-component-type="Text"] h4 span,
[data-framer-component-type="Text"] h5 span,
[data-framer-component-type="Text"] h6 span {
display: block;
}`,nx=`
[data-framer-component-type="Text"] span span span,
[data-framer-component-type="Text"] p span span,
[data-framer-component-type="Text"] h1 span span,
[data-framer-component-type="Text"] h2 span span,
[data-framer-component-type="Text"] h3 span span,
[data-framer-component-type="Text"] h4 span span,
[data-framer-component-type="Text"] h5 span span,
[data-framer-component-type="Text"] h6 span span {
display: unset;
}`,ix=`
[data-framer-component-type="Text"] div div span,
[data-framer-component-type="Text"] a div span,
[data-framer-component-type="Text"] span span span,
[data-framer-component-type="Text"] p span span,
[data-framer-component-type="Text"] h1 span span,
[data-framer-component-type="Text"] h2 span span,
[data-framer-component-type="Text"] h3 span span,
[data-framer-component-type="Text"] h4 span span,
[data-framer-component-type="Text"] h5 span span,
[data-framer-component-type="Text"] h6 span span,
[data-framer-component-type="Text"] a {
font-family: var(--font-family);
font-style: var(--font-style);
font-weight: min(calc(var(--framer-font-weight-increase, 0) + var(--font-weight, 400)), 900);
color: var(--text-color);
letter-spacing: var(--letter-spacing);
font-size: var(--font-size);
text-transform: var(--text-transform);
text-decoration: var(--text-decoration);
line-height: var(--line-height);
}`,ox=`
[data-framer-component-type="Text"] div div span,
[data-framer-component-type="Text"] a div span,
[data-framer-component-type="Text"] span span span,
[data-framer-component-type="Text"] p span span,
[data-framer-component-type="Text"] h1 span span,
[data-framer-component-type="Text"] h2 span span,
[data-framer-component-type="Text"] h3 span span,
[data-framer-component-type="Text"] h4 span span,
[data-framer-component-type="Text"] h5 span span,
[data-framer-component-type="Text"] h6 span span,
[data-framer-component-type="Text"] a {
--font-family: var(--framer-font-family);
--font-style: var(--framer-font-style);
--font-weight: var(--framer-font-weight);
--text-color: var(--framer-text-color);
--letter-spacing: var(--framer-letter-spacing);
--font-size: var(--framer-font-size);
--text-transform: var(--framer-text-transform);
--text-decoration: var(--framer-text-decoration);
--line-height: var(--framer-line-height);
}`,ax=`
[data-framer-component-type="Text"] a,
[data-framer-component-type="Text"] a div span,
[data-framer-component-type="Text"] a span span span,
[data-framer-component-type="Text"] a p span span,
[data-framer-component-type="Text"] a h1 span span,
[data-framer-component-type="Text"] a h2 span span,
[data-framer-component-type="Text"] a h3 span span,
[data-framer-component-type="Text"] a h4 span span,
[data-framer-component-type="Text"] a h5 span span,
[data-framer-component-type="Text"] a h6 span span {
--font-family: var(--framer-link-font-family, var(--framer-font-family));
--font-style: var(--framer-link-font-style, var(--framer-font-style));
--font-weight: var(--framer-link-font-weight, var(--framer-font-weight));
--text-color: var(--framer-link-text-color, var(--framer-text-color));
--font-size: var(--framer-link-font-size, var(--framer-font-size));
--text-transform: var(--framer-link-text-transform, var(--framer-text-transform));
--text-decoration: var(--framer-link-text-decoration, var(--framer-text-decoration));
}`,sx=`
[data-framer-component-type="Text"] a:hover,
[data-framer-component-type="Text"] a div span:hover,
[data-framer-component-type="Text"] a span span span:hover,
[data-framer-component-type="Text"] a p span span:hover,
[data-framer-component-type="Text"] a h1 span span:hover,
[data-framer-component-type="Text"] a h2 span span:hover,
[data-framer-component-type="Text"] a h3 span span:hover,
[data-framer-component-type="Text"] a h4 span span:hover,
[data-framer-component-type="Text"] a h5 span span:hover,
[data-framer-component-type="Text"] a h6 span span:hover {
--font-family: var(--framer-link-hover-font-family, var(--framer-link-font-family, var(--framer-font-family)));
--font-style: var(--framer-link-hover-font-style, var(--framer-link-font-style, var(--framer-font-style)));
--font-weight: var(--framer-link-hover-font-weight, var(--framer-link-font-weight, var(--framer-font-weight)));
--text-color: var(--framer-link-hover-text-color, var(--framer-link-text-color, var(--framer-text-color)));
--font-size: var(--framer-link-hover-font-size, var(--framer-link-font-size, var(--framer-font-size)));
--text-transform: var(--framer-link-hover-text-transform, var(--framer-link-text-transform, var(--framer-text-transform)));
--text-decoration: var(--framer-link-hover-text-decoration, var(--framer-link-text-decoration, var(--framer-text-decoration)));
}`,lx=`
[data-framer-component-type="Text"].isCurrent a,
[data-framer-component-type="Text"].isCurrent a div span,
[data-framer-component-type="Text"].isCurrent a span span span,
[data-framer-component-type="Text"].isCurrent a p span span,
[data-framer-component-type="Text"].isCurrent a h1 span span,
[data-framer-component-type="Text"].isCurrent a h2 span span,
[data-framer-component-type="Text"].isCurrent a h3 span span,
[data-framer-component-type="Text"].isCurrent a h4 span span,
[data-framer-component-type="Text"].isCurrent a h5 span span,
[data-framer-component-type="Text"].isCurrent a h6 span span {
--font-family: var(--framer-link-current-font-family, var(--framer-link-font-family, var(--framer-font-family)));
--font-style: var(--framer-link-current-font-style, var(--framer-link-font-style, var(--framer-font-style)));
--font-weight: var(--framer-link-current-font-weight, var(--framer-link-font-weight, var(--framer-font-weight)));
--text-color: var(--framer-link-current-text-color, var(--framer-link-text-color, var(--framer-text-color)));
--font-size: var(--framer-link-current-font-size, var(--framer-link-font-size, var(--framer-font-size)));
--text-transform: var(--framer-link-current-text-transform, var(--framer-link-text-transform, var(--framer-text-transform)));
--text-decoration: var(--framer-link-current-text-decoration, var(--framer-link-text-decoration, var(--framer-text-decoration)));
}`,cx=['[data-framer-component-type="Text"] { cursor: inherit; }',"[data-framer-component-text-autosized] * { white-space: pre; }",tx,rx,nx,ix,ox,ax,sx,lx],ux=`
:not([data-framer-generated]) > [data-framer-stack-content-wrapper] > *,
:not([data-framer-generated]) > [data-framer-stack-content-wrapper] > [data-framer-component-type],
:not([data-framer-generated]) > [data-framer-stack-content-wrapper] > [data-framer-legacy-stack-gap-enabled] > *,
:not([data-framer-generated]) > [data-framer-stack-content-wrapper] > [data-framer-legacy-stack-gap-enabled] > [data-framer-component-type] {
position: relative;
}`,fx=[`[data-framer-stack-content-wrapper][data-framer-stack-gap-enabled="true"] {
row-gap: var(--stack-native-row-gap);
column-gap: var(--stack-native-column-gap);
}`,`.${Ht} [data-framer-stack-content-wrapper][data-framer-stack-gap-enabled="true"] {
row-gap: unset;
column-gap: unset;
}`],dx=`
.${Ht} [data-framer-legacy-stack-gap-enabled="true"] > *, [data-framer-legacy-stack-gap-enabled="true"][data-framer-stack-flexbox-gap="false"] {
margin-top: calc(var(--stack-gap-y) / 2);
margin-bottom: calc(var(--stack-gap-y) / 2);
margin-right: calc(var(--stack-gap-x) / 2);
margin-left: calc(var(--stack-gap-x) / 2);
}
`,hx=`
.${Ht}
[data-framer-stack-direction-reverse="false"]
[data-framer-legacy-stack-gap-enabled="true"]
> *:first-child,
[data-framer-stack-direction-reverse="false"]
[data-framer-legacy-stack-gap-enabled="true"][data-framer-stack-flexbox-gap="false"]
> *:first-child,
.${Ht}
[data-framer-stack-direction-reverse="true"]
[data-framer-legacy-stack-gap-enabled="true"]
> *:last-child,
[data-framer-stack-direction-reverse="true"]
[data-framer-legacy-stack-gap-enabled="true"][data-framer-stack-flexbox-gap="false"]
> *:last-child {
margin-top: 0;
margin-left: 0;
}`,px=`
.${Ht}
[data-framer-stack-direction-reverse="false"]
[data-framer-legacy-stack-gap-enabled="true"]
> *:last-child,
[data-framer-stack-direction-reverse="false"]
[data-framer-legacy-stack-gap-enabled="true"][data-framer-stack-flexbox-gap="false"]
> *:last-child,
.${Ht}
[data-framer-stack-direction-reverse="true"]
[data-framer-legacy-stack-gap-enabled="true"]
> *:first-child,
[data-framer-stack-direction-reverse="true"]
[data-framer-legacy-stack-gap-enabled="true"][data-framer-stack-flexbox-gap="false"]
> *:first-child {
margin-right: 0;
margin-bottom: 0;
}`,mx=[ux,dx,...fx,hx,px],vx=[`
NavigationContainer
[data-framer-component-type="NavigationContainer"] > *,
[data-framer-component-type="NavigationContainer"] > [data-framer-component-type] {
position: relative;
}`],gx=['[data-framer-component-type="Scroll"]::-webkit-scrollbar { display: none; }','[data-framer-component-type="ScrollContentWrapper"] > * { position: relative; }'],yx=['[data-framer-component-type="NativeScroll"] { -webkit-overflow-scrolling: touch; }','[data-framer-component-type="NativeScroll"] > * { position: relative; }','[data-framer-component-type="NativeScroll"].direction-both { overflow-x: scroll; overflow-y: scroll; }','[data-framer-component-type="NativeScroll"].direction-vertical { overflow-x: hidden; overflow-y: scroll; }','[data-framer-component-type="NativeScroll"].direction-horizontal { overflow-x: scroll; overflow-y: hidden; }','[data-framer-component-type="NativeScroll"].direction-vertical > * { width: 100% !important; }','[data-framer-component-type="NativeScroll"].direction-horizontal > * { height: 100% !important; }','[data-framer-component-type="NativeScroll"].scrollbar-hidden::-webkit-scrollbar { display: none; }'],xx=['[data-framer-component-type="DeviceComponent"].no-device > * { width: 100% !important; height: 100% !important; }'],bx=['[data-framer-component-type="PageContentWrapper"] > *, [data-framer-component-type="PageContentWrapper"] > [data-framer-component-type] { position: relative; }'],Sx=['[data-is-present="false"], [data-is-present="false"] * { pointer-events: none !important; }'],wx=['[data-framer-cursor="pointer"] { cursor: pointer; }','[data-framer-cursor="grab"] { cursor: grab; }','[data-framer-cursor="grab"]:active { cursor: grabbing; }'],Cx=['[data-framer-component-type="Frame"] *, [data-framer-component-type="Stack"] * { pointer-events: auto; }',"[data-framer-generated] * { pointer-events: unset }"],Tx=[`[data-reset="button"] {
border-width: 0;
padding: 0;
}`],Ex=['[data-hide-scrollbars="true"]::-webkit-scrollbar { width: 0px; height: 0px; }','[data-hide-scrollbars="true"]::-webkit-scrollbar-thumb { background: transparent; }'],Rx=e=>e?Cx:[],kx=[".svgContainer svg { display: block; }"],Wf=e=>[...ex,...cx,...J0,...Z0,...mx,...vx,...gx,...yx,...bx,...xx,...Sx,...wx,...Rx(e),...kx,...Tx,...Ex],_x=Wf(!1),Px=Wf(!0),$u=!1;function cr(){if($u)return;$u=!0;let e=Z.current()==="PREVIEW"?Px:_x;for(let t of e)Uf(t,void 0,void 0)}function Ix(e){return typeof e=="function"}function Fx(e){return typeof e=="boolean"}function me(e){return typeof e=="string"}function jf(e){return typeof e=="number"&&Number.isFinite(e)}function ka(e){return Array.isArray(e)}function yt(e){return e!==null&&typeof e=="object"&&!ka(e)}function oi(e){return typeof e>"u"}function Mx(e){return typeof e=="function"||e instanceof h.Component}var Uu="optional";function Lx(e){return!!e&&Uu in e&&e[Uu]===!0}function Ox(e){try{switch(e.type){case"string":case"color":case"date":case"link":return me(e.defaultValue)?e.defaultValue:void 0;case"boolean":return Fx(e.defaultValue)?e.defaultValue:void 0;case"enum":return oi(e.defaultValue)?void 0:e.options.includes(e.defaultValue)?e.defaultValue:void 0;case"fusednumber":case"number":return jf(e.defaultValue)?e.defaultValue:void 0;case"transition":return yt(e.defaultValue)?e.defaultValue:void 0;case"object":{let t=yt(e.defaultValue)?e.defaultValue:{};return yt(e.controls)&&Gf(t,e.controls),t}case"array":return ka(e.defaultValue)?e.defaultValue:void 0;case"file":case"font":case"image":case"richtext":case"pagescope":case"eventhandler":case"segmentedenum":case"responsiveimage":case"componentinstance":return;default:return}}catch{return}}function Gf(e,t){for(let r in t){let n=t[r];if(!n)continue;let i=e[r];if(!oi(i)||Lx(n))continue;let o=Ox(n);oi(o)||(e[r]=o)}}function Ax(e){if(yt(e.defaultProps))return e.defaultProps;let t={};return e.defaultProps=t,t}function Vx(e,t){if(!Mx(e))return;let r=Ax(e);Gf(r,t)}function eR(e,t){Object.assign(e,{propertyControls:t}),Vx(e,t)}function tR(e){return e.propertyControls}var Ke={iPhonePro:{screenRadius:0,clayBezelLeft:21,clayBezelRight:21,clayBezelTop:21,clayBezelBottom:21,clayBezelRadius:38+21},iPhone8:{screenRadius:0,clayBezelLeft:24,clayBezelRight:24,clayBezelTop:96,clayBezelBottom:96,clayBezelRadius:38*1.5},iPadPro:{screenRadius:25,clayBezelLeft:38,clayBezelRight:38,clayBezelTop:38,clayBezelBottom:38,clayBezelRadius:25+38},desktop:{clayBezelLeft:20,clayBezelRight:20,clayBezelTop:20,clayBezelBottom:20,clayBezelRadius:20}},Dx=[{id:"iphone-12",title:"iPhone 12",screenRadius:0,clayBezelLeft:22,clayBezelRight:22,clayBezelTop:22,clayBezelBottom:22,clayBezelRadius:66,screenWidth:390,screenHeight:844,externalClay:{width:500,height:974,screenOffsetTop:65,screenOffsetLeft:55},screenMask:'<g style="transform: scale(0.5);"><path d="M171.2 0c2.3 0 4 .5 5.4 1.3 1.6 1 2.8 2.2 3.7 3.8.8 1.6 1.2 2.3 1.2 4.9 0 12 2.2 19 6.2 26.5s9.8 13.3 17.3 17.4c7.5 4 15.8 6.1 30.6 6.1h311.5c14.3 0 22.5-2.2 29.9-6.1 7.5-4 13.3-10 17.3-17.4 4-7.5 6.2-14.5 6.2-26.5 0-2.6.4-3.2 1.1-4.9.8-1.6 2-2.9 3.4-3.8 1.4-.8 3.2-1.3 5.4-1.3h54.2c40.1 0 54.7 4.2 69.4 12a81.8 81.8 0 0134 34c7.8 14.7 12 29.3 12 69.4v1457.2c0 40.1-4.2 54.7-12 69.4a81.8 81.8 0 01-34 34c-14.7 7.8-29.3 12-69.4 12H115.4c-40.1 0-54.7-4.2-69.4-12a81.8 81.8 0 01-34-34c-7.8-14.7-12-29.3-12-69.4V115.4C0 75.3 4.2 60.7 12 46a81.8 81.8 0 0134-34C60.7 4.2 75.3 0 115.4 0h55.4z" fill="#000" fill-rule="evenodd"/></g>',realisticImage:{width:490,height:944,screenOffsetLeft:50,screenOffsetTop:50,availableColors:[{id:"black",title:"Black",colorValue:"#2E2C36"},{id:"white",title:"White",colorValue:"#F7F3F0"},{id:"blue",title:"Blue",colorValue:"#14496D"},{id:"green",title:"Green",colorValue:"#DAF0D9"},{id:"red",title:"Red",colorValue:"#DB4141"}],handOffset:{left:29,right:29,bottom:29}}},{id:"iphone-12-mini",title:"iPhone 12 Mini",screenRadius:0,clayBezelLeft:22,clayBezelRight:22,clayBezelTop:22,clayBezelBottom:22,clayBezelRadius:66,screenWidth:360,screenHeight:780,externalClay:{width:450,height:890,screenOffsetTop:55,screenOffsetLeft:45},screenMask:'<g style="transform: scale(0.5);"><path d="M142 18c0 19 14 47 43 48h349c31 0 44-29 44-48 0-12 4-18 14-18h18c38 0 52 4 66 11 14 8 25 19 33 33v1c7 14 11 28 11 65v1340c0 38-4 52-11 66-8 14-19 25-33 33h-1c-14 7-28 11-65 11H110c-38 0-52-4-66-11-14-8-25-19-33-33v-1c-7-13-11-27-11-64V110c0-38 4-52 11-66 8-14 19-25 33-33h1C58 4 72 0 109 0h16c11 0 17 6 17 18z" fill="#000" fill-rule="evenodd"/></g>',realisticImage:{width:460,height:880,screenOffsetLeft:50,screenOffsetTop:50,availableColors:[{id:"black",title:"Black",colorValue:"#2E2C36"},{id:"white",title:"White",colorValue:"#F7F3F0"},{id:"blue",title:"Blue",colorValue:"#14496D"},{id:"green",title:"Green",colorValue:"#DAF0D9"},{id:"red",title:"Red",colorValue:"#DB4141"}],handOffset:{left:31.5,right:30.5,bottom:30}}},{id:"iphone-12-pro",title:"iPhone 12 Pro",screenRadius:0,clayBezelLeft:22,clayBezelRight:22,clayBezelTop:22,clayBezelBottom:22,clayBezelRadius:66,screenWidth:390,screenHeight:844,externalClay:{width:494,height:968,screenOffsetTop:62,screenOffsetLeft:52},screenMask:'<g style="transform: scale(0.5);"><path d="M171.2 0c2.3 0 4 .5 5.4 1.3 1.6 1 2.8 2.2 3.7 3.8.8 1.6 1.2 2.3 1.2 4.9 0 12 2.2 19 6.2 26.5s9.8 13.3 17.3 17.4c7.5 4 15.8 6.1 30.6 6.1h311.5c14.3 0 22.5-2.2 29.9-6.1 7.5-4 13.3-10 17.3-17.4 4-7.5 6.2-14.5 6.2-26.5 0-2.6.4-3.2 1.1-4.9.8-1.6 2-2.9 3.4-3.8 1.4-.8 3.2-1.3 5.4-1.3h54.2c40.1 0 54.7 4.2 69.4 12a81.8 81.8 0 0134 34c7.8 14.7 12 29.3 12 69.4v1457.2c0 40.1-4.2 54.7-12 69.4a81.8 81.8 0 01-34 34c-14.7 7.8-29.3 12-69.4 12H115.4c-40.1 0-54.7-4.2-69.4-12a81.8 81.8 0 01-34-34c-7.8-14.7-12-29.3-12-69.4V115.4C0 75.3 4.2 60.7 12 46a81.8 81.8 0 0134-34C60.7 4.2 75.3 0 115.4 0h55.4z" fill="#000" fill-rule="evenodd"/></g>',realisticImage:{width:490,height:944,screenOffsetLeft:50,screenOffsetTop:50,availableColors:[{id:"graphite",title:"Graphite",colorValue:"#585753"},{id:"silver",title:"Silver",colorValue:"#E5E6E1"},{id:"pacific-blue",title:"Pacific Blue",colorValue:"#415D6C"},{id:"gold",title:"Gold",colorValue:"#FCECD5"}],handOffset:{left:29,right:29,bottom:29}}},{id:"iphone-12-pro-max",title:"iPhone 12 Pro Max",screenRadius:50,clayBezelLeft:22,clayBezelRight:22,clayBezelTop:22,clayBezelBottom:22,clayBezelRadius:66,screenWidth:428,screenHeight:926,externalClay:{width:532,height:1050,screenOffsetTop:62,screenOffsetLeft:52},screenMask:'<path d="M102 0c6 0 7 3 7 9 0 10 7 23 24 23h164c13 0 22-12 22-23 0-6 1-9 7-9h34c24 0 32 2 41 7s15 11 20 20 7 17 7 41v790c0 24-2 32-7 41s-11 15-20 20-17 7-41 7H68c-24 0-32-2-41-7s-15-11-20-20-7-17-7-41V68c0-24 2-32 7-41S18 12 27 7s17-7 41-7h34z" fill="#000" fill-rule="evenodd"/>',realisticImage:{width:528,height:1026,screenOffsetLeft:50,screenOffsetTop:50,availableColors:[{id:"graphite",title:"Graphite",colorValue:"#585753"},{id:"silver",title:"Silver",colorValue:"#E5E6E1"},{id:"pacific-blue",title:"Pacific Blue",colorValue:"#415D6C"},{id:"gold",title:"Gold",colorValue:"#FCECD5"}],handOffset:{left:28.5,right:28,bottom:29}}},{id:"iphone-11",title:"iPhone 11",screenRadius:0,clayBezelLeft:35.5,clayBezelRight:35.5,clayBezelTop:35.5,clayBezelBottom:35.5,clayBezelRadius:77,screenWidth:414,screenHeight:896,externalClay:{width:524,height:1026,screenOffsetTop:65,screenOffsetLeft:55},screenMask:'<path d="M85.5 0C89.1 0 92 3 92 6.5c.3 6 1.5 10 3.4 13.5 2.2 4.1 5.5 7.4 9.6 9.6 4.2 2.2 8.9 3.4 17 3.4h170c8.1 0 12.8-1.2 17-3.4 4.1-2.2 7.4-5.5 9.6-9.6A31 31 0 00322 6.5c0-3.6 3-6.5 6.5-6.5h32.3c18.5 0 25.2 2 32 5.5 6.7 3.7 12 9 15.7 15.7 3.6 6.8 5.5 13.5 5.5 32v789.6c0 18.5-2 25.2-5.5 32-3.7 6.7-9 12-15.7 15.7-6.8 3.6-13.5 5.5-32 5.5H53.2c-18.5 0-25.2-2-32-5.5-6.7-3.7-12-9-15.7-15.7C2 868 0 861.3 0 842.8V53.2c0-18.5 2-25.2 5.5-32 3.7-6.7 9-12 15.7-15.7C28 2 34.7 0 53.2 0h32.3z" fill="#000" fill-rule="nonzero"/>',realisticImage:{width:514,height:996,screenOffsetLeft:50,screenOffsetTop:50,availableColors:[{id:"black",title:"Black",colorValue:"#202120"},{id:"white",title:"White",colorValue:"#F9F6EF"},{id:"purple",title:"Purple",colorValue:"#D1CDDB"},{id:"green",title:"Green",colorValue:"#ADE0CD"},{id:"red",title:"Red",colorValue:"#B90D2E"},{id:"yellow",title:"Yellow",colorValue:"#FFE680"}],handOffset:{left:14.5,right:14.5,bottom:14.5}}},{id:"iphone-11-pro",title:"iPhone 11 Pro",...Ke.iPhonePro,screenWidth:375,screenHeight:812,externalClay:{width:485,height:942,screenOffsetTop:65,screenOffsetLeft:55},screenMask:'<path d="M292 8.668V9c0 9.266-7.07 21-23.332 21h-162C90.402 30 83.332 18.266 83.332 9v-.332c0-4.285 0-8.668-7.664-8.668H43.332C16.312 0 0 16.313 0 43.332v725.336C0 795.688 16.313 812 43.332 812h288.336c27.02 0 43.332-16.313 43.332-43.332V43.332C375 16.312 358.687 0 331.668 0h-32C292 0 292 4.383 292 8.668zm0 0"/>',realisticImage:{width:475,height:912,screenOffsetLeft:50,screenOffsetTop:50,availableColors:[{id:"space-grey",title:"Space Grey",colorValue:"#52514F"},{id:"silver",title:"Silver",colorValue:"#EBEBE3"},{id:"gold",title:"Gold",colorValue:"#FBD7BD"},{id:"midnight-green",title:"Midnight Green",colorValue:"#4F5850"}],handOffset:{left:24.5,right:24.5,bottom:23.5}}},{id:"iphone-11-pro-max",title:"iPhone 11 Pro Max",...Ke.iPhonePro,screenWidth:414,screenHeight:896,externalClay:{width:524,height:1026,screenOffsetTop:65,screenOffsetLeft:55},screenMask:'<path d="M96 0c3.313 0 5.91 2.688 6 6 .18 6.645 1.191 10.148 2.938 13.41 1.917 3.586 4.73 6.402 8.316 8.317 3.586 1.918 7.441 2.941 15.445 2.941h156.602c8.004 0 11.86-1.023 15.445-2.941 3.586-1.915 6.399-4.73 8.317-8.317 1.746-3.265 2.746-6.758 2.937-13.41.094-3.313 2.688-6 6-6h46.004c17.387 0 23.687 1.809 30.043 5.21 6.355 3.4 11.344 8.388 14.742 14.743C412.191 26.31 414 32.61 414 49.996v796.008c0 17.387-1.809 23.687-5.21 30.043-3.4 6.355-8.388 11.344-14.743 14.742-6.356 3.402-12.656 5.211-30.043 5.211H49.996c-17.387 0-23.687-1.809-30.043-5.21-6.355-3.4-11.344-8.388-14.742-14.743C1.809 869.69 0 863.39 0 846.004V49.996C0 32.61 1.809 26.31 5.21 19.953c3.4-6.355 8.388-11.344 14.743-14.742C26.31 1.809 32.61 0 49.996 0zm0 0"/>',realisticImage:{width:514,height:996,screenOffsetLeft:50,screenOffsetTop:50,availableColors:[{id:"space-grey",title:"Space Grey",colorValue:"#52514F"},{id:"silver",title:"Silver",colorValue:"#EBEBE3"},{id:"gold",title:"Gold",colorValue:"#FBD7BD"},{id:"midnight-green",title:"Midnight Green",colorValue:"#4F5850"}],handOffset:{left:23.5,right:24.5,bottom:24}}},{id:"iphone-8",title:"iPhone 8",...Ke.iPhone8,screenWidth:375,screenHeight:667,externalClay:{width:491,height:971,screenOffsetLeft:58,screenOffsetTop:152},realisticImage:{width:475,height:927,screenOffsetLeft:50,screenOffsetTop:130,availableColors:[{id:"space-grey",title:"Space Grey",colorValue:"#28282A"},{id:"silver",title:"Silver",colorValue:"#DFE1E2"},{id:"gold",title:"Gold",colorValue:"#F6E6DB"}],handOffset:{left:22,right:22,bottom:18.5}}},{id:"iphone-8-plus",title:"iPhone 8 Plus",...Ke.iPhone8,screenWidth:414,screenHeight:736,externalClay:{width:530,height:1064,screenOffsetLeft:58,screenOffsetTop:164},realisticImage:{width:514,height:996,screenOffsetLeft:50,screenOffsetTop:130,availableColors:[{id:"space-grey",title:"Space Grey",colorValue:"#28282A"},{id:"silver",title:"Silver",colorValue:"#DFE1E2"},{id:"gold",title:"Gold",colorValue:"#F6E6DB"}],handOffset:{left:21,right:20.5,bottom:19}}},{id:"iphone-se",title:"iPhone SE",screenWidth:320,screenHeight:568,screenRadius:0,clayBezelLeft:20,clayBezelRight:20,clayBezelTop:112,clayBezelBottom:112,clayBezelRadius:38*1.5,externalClay:{width:436,height:872,screenOffsetLeft:58,screenOffsetTop:152},realisticImage:{width:420,height:828,screenOffsetLeft:50,screenOffsetTop:130,availableColors:[{id:"space-grey",title:"Space Grey",colorValue:"#C3C4C8"},{id:"silver",title:"Silver",colorValue:"#E1E2E4"},{id:"gold",title:"Gold",colorValue:"#EFD8BD"},{id:"rose-gold",title:"Rose Gold",colorValue:"#F7CFCA"}],handOffset:{left:22,right:22,bottom:26.5}}},{id:"samsung-galaxy-s7",title:"Samsung Galaxy S7",screenRadius:0,clayBezelLeft:22,clayBezelRight:22,clayBezelTop:22,clayBezelBottom:22,clayBezelRadius:66,screenWidth:360,screenHeight:640,externalClay:{width:454,height:880,screenOffsetTop:120,screenOffsetLeft:47},realisticImage:{width:440,height:860,screenOffsetLeft:40,screenOffsetTop:110,availableColors:[{id:"black",title:"Black",colorValue:"#2E2C36"},{id:"white",title:"White",colorValue:"#F7F3F0"},{id:"silver",title:"Silver",colorValue:"#E5E6E1"},{id:"gold",title:"Gold",colorValue:"#FCECD5"}],handOffset:{left:26,right:25.5,bottom:32}}},{id:"samsung-note-10",title:"Samsung Note 10",screenWidth:360,screenHeight:760,screenRadius:10,clayBezelLeft:7,clayBezelRight:7,clayBezelTop:15,clayBezelBottom:15,clayBezelRadius:15},{id:"pixel-5",title:"Google Pixel 5",screenRadius:31,clayBezelLeft:22,clayBezelRight:22,clayBezelTop:22,clayBezelBottom:22,clayBezelRadius:66,screenWidth:360,screenHeight:780,externalClay:{width:460,height:900,screenOffsetTop:60,screenOffsetLeft:50},realisticImage:{width:920/2,height:1760/2,screenOffsetLeft:100/2,screenOffsetTop:100/2,availableColors:[{id:"just-black",title:"Just Black",colorValue:"#2E2C36"},{id:"sorta-sage",title:"Sorta Sage",colorValue:"#B7C9C0"}],handOffset:{left:31.5,right:31,bottom:31}}},{id:"pixel-4",title:"Google Pixel 4",screenWidth:360,screenHeight:760,screenRadius:34,clayBezelLeft:10,clayBezelRight:10,clayBezelTop:50,clayBezelBottom:25,clayBezelRadius:50,externalClay:{width:460,height:938,screenOffsetLeft:50,screenOffsetTop:89},realisticImage:{width:460,height:920,screenOffsetLeft:50,screenOffsetTop:80,availableColors:[{id:"clearly-white",title:"Clearly White",colorValue:"#EAEDF2"},{id:"just-black",title:"Just Black",colorValue:"#1A1A1A"},{id:"oh-so-orange",title:"Oh So Orange",colorValue:"#FF7A68"}],handOffset:{left:35.5,right:35.5,bottom:57}}},{id:"macbook-air",title:"MacBook Air",screenWidth:1440,screenHeight:900,disableRotation:!0,externalClay:{width:1890,height:1125,screenOffsetLeft:225,screenOffsetTop:98},realisticImage:{width:3848/2,height:2240/2,screenOffsetLeft:484/2,screenOffsetTop:196/2,availableColors:[{id:"silver",title:"Silver",colorValue:"#E5E6E1"},{id:"space-grey",title:"Space Grey",colorValue:"#B1B5B7"},{id:"gold",title:"Gold",colorValue:"#FCECD5"}]}},{id:"macbook-pro-13",title:'MacBook Pro 13"',screenWidth:1440,screenHeight:900,disableRotation:!0,externalClay:{width:1914,height:1169,screenOffsetLeft:236,screenOffsetTop:109},realisticImage:{width:3916/2,height:2330/2,screenOffsetLeft:518/2,screenOffsetTop:218/2,availableColors:[{id:"silver",title:"Silver",colorValue:"#E5E6E1"},{id:"space-grey",title:"Space Grey",colorValue:"#B1B5B7"}]}},{id:"macbook-pro-16",title:'MacBook Pro 16"',screenWidth:1536,screenHeight:960,disableRotation:!0,externalClay:{width:1984,height:1179,screenOffsetLeft:225,screenOffsetTop:78},realisticImage:{width:4032/2,height:2348/2,screenOffsetLeft:480/2,screenOffsetTop:148/2,availableColors:[{id:"silver",title:"Silver",colorValue:"#E5E6E1"},{id:"space-grey",title:"Space Grey",colorValue:"#B1B5B7"}]}},{id:"imac-21-5",title:'iMac 21.5"',screenWidth:2048,screenHeight:1152,disableRotation:!0,externalClay:{width:2288,height:1892,screenOffsetLeft:120,screenOffsetTop:120},realisticImage:{width:4562/2,height:3796/2,screenOffsetLeft:232/2,screenOffsetTop:244/2}},{id:"imac-27",title:'iMac 27"',screenWidth:2560,screenHeight:1440,disableRotation:!0,externalClay:{width:2848,height:2351,screenOffsetLeft:144,screenOffsetTop:151},realisticImage:{width:5676/2,height:4720/2,screenOffsetLeft:278/2,screenOffsetTop:292/2,availableColors:[{id:"silver",title:"Silver",colorValue:"#E5E6E1"},{id:"pro",title:"Pro",colorValue:"#5F5E63"}]}},{id:"pro-display-xdr",title:"Pro Display XDR",screenWidth:3008,screenHeight:1692,disableRotation:!0,externalClay:{width:3148,height:2325,screenOffsetLeft:70,screenOffsetTop:60},realisticImage:{width:6276/2,height:4695/2,screenOffsetLeft:130/2,screenOffsetTop:130/2}},{id:"dell-xps",title:"Dell XPS",screenWidth:1920,screenHeight:1080,disableRotation:!0,externalClay:{width:2624,height:1381,screenOffsetLeft:352,screenOffsetTop:57},realisticImage:{width:5412/2,height:2746/2,screenOffsetLeft:786/2,screenOffsetTop:108/2}},{id:"surface-book",title:"Microsoft Surface Book",screenWidth:1500,screenHeight:1e3,disableRotation:!0,externalClay:{width:2089,height:1234,screenOffsetLeft:296,screenOffsetTop:93},realisticImage:{width:4200/2,height:2508/2,screenOffsetLeft:600/2,screenOffsetTop:210/2}},{id:"ipad",title:"iPad",screenRadius:0,screenWidth:810,screenHeight:1080,clayBezelLeft:30,clayBezelRight:30,clayBezelTop:95,clayBezelBottom:95,clayBezelRadius:0,externalClay:{width:966,height:1378,screenOffsetLeft:78,screenOffsetTop:149},realisticImage:{width:1920/2,height:2720/2,screenOffsetLeft:75,screenOffsetTop:140,availableColors:[{id:"space-grey",title:"Space Grey",colorValue:"#C3C4C8"},{id:"silver",title:"Silver",colorValue:"#E1E2E4"},{id:"gold",title:"Gold",colorValue:"#EFD8BD"}]}},{id:"ipad-mini",title:"iPad Mini",screenRadius:0,clayBezelLeft:49,clayBezelRight:49,clayBezelTop:49,clayBezelBottom:49,clayBezelRadius:49,screenWidth:768,screenHeight:1024,externalClay:{width:924,height:1384,screenOffsetLeft:78,screenOffsetTop:180},realisticImage:{width:1856/2,height:2728/2,screenOffsetLeft:160/2,screenOffsetTop:340/2,availableColors:[{id:"space-grey",title:"Space Grey",colorValue:"#C3C4C8"},{id:"silver",title:"Silver",colorValue:"#E1E2E4"},{id:"gold",title:"Gold",colorValue:"#EFD8BD"}]}},{id:"ipad-air",title:"iPad Air",screenRadius:18,clayBezelLeft:49,clayBezelRight:49,clayBezelTop:49,clayBezelBottom:49,clayBezelRadius:49,screenWidth:820,screenHeight:1180,externalClay:{width:994,height:1374,screenOffsetLeft:87,screenOffsetTop:97},realisticImage:{width:1960/2,height:2680/2,screenOffsetLeft:160/2,screenOffsetTop:160/2,availableColors:[{id:"space-grey",title:"Space Grey",colorValue:"#C3C4C8"},{id:"silver",title:"Silver",colorValue:"#E1E2E4"},{id:"rose-gold",title:"Rose Gold",colorValue:"#ECCBC4"},{id:"blue",title:"Blue",colorValue:"#CBDAE6"},{id:"green",title:"Green",colorValue:"#DAF0D9"}]}},{id:"ipad-pro-11",title:"iPad Pro 11\u2033",screenRadius:17,clayBezelLeft:49,clayBezelRight:49,clayBezelTop:49,clayBezelBottom:49,clayBezelRadius:49,screenWidth:834,screenHeight:1194,externalClay:{width:990,height:1370,screenOffsetLeft:78,screenOffsetTop:88},realisticImage:{width:1968/2,height:2688/2,screenOffsetLeft:75,screenOffsetTop:75,availableColors:[{id:"space-grey",title:"Space Grey",colorValue:"#C3C4C8"},{id:"silver",title:"Silver",colorValue:"#E1E2E4"}]}},{id:"ipad-pro-12-9",title:"iPad Pro 12.9\u2033",...Ke.iPadPro,screenRadius:17,screenWidth:1024,screenHeight:1366,externalClay:{width:1180,height:1542,screenOffsetLeft:78,screenOffsetTop:88},realisticImage:{width:2348/2,height:3032/2,screenOffsetLeft:75,screenOffsetTop:75,availableColors:[{id:"space-grey",title:"Space Grey",colorValue:"#C3C4C8"},{id:"silver",title:"Silver",colorValue:"#E1E2E4"}]}},{id:"surface-3",title:"Microsoft Surface 3",screenRadius:0,clayBezelLeft:49,clayBezelRight:49,clayBezelTop:49,clayBezelBottom:49,clayBezelRadius:49,screenWidth:960,screenHeight:640,externalClay:{width:1184,height:864,screenOffsetLeft:112,screenOffsetTop:112},realisticImage:{width:2280/2,height:1580/2,screenOffsetLeft:180/2,screenOffsetTop:150/2}},{id:"surface-pro-4",title:"Microsoft Surface Pro 4",screenRadius:0,clayBezelLeft:49,clayBezelRight:49,clayBezelTop:49,clayBezelBottom:49,clayBezelRadius:49,screenWidth:1368,screenHeight:912,externalClay:{width:1592,height:1136,screenOffsetLeft:112,screenOffsetTop:112},realisticImage:{width:3176/2,height:2224/2,screenOffsetLeft:220/2,screenOffsetTop:200/2}},{id:"apple-watch-44",title:"Apple Watch 44mm",screenRadius:33,screenWidth:184,screenHeight:224,disableRotation:!0,externalClay:{width:298,height:502,screenOffsetLeft:57,screenOffsetTop:129},realisticImage:{width:548/2,height:908/2,screenOffsetLeft:90/2,screenOffsetTop:230/2,availableColors:[{id:"black",title:"Black",colorValue:"#2E2C36"},{id:"white",title:"White",colorValue:"#F7F3F0"},{id:"yellow",title:"Yellow",colorValue:"#FDDC6C"},{id:"orange",title:"Orange",colorValue:"#F35C56"}]}},{id:"apple-watch-40",title:"Apple Watch 40mm",screenRadius:27,screenWidth:162,screenHeight:197,disableRotation:!0,externalClay:{width:280,height:463,screenOffsetLeft:59,screenOffsetTop:124},realisticImage:{width:504/2,height:854/2,screenOffsetLeft:90/2,screenOffsetTop:230/2,availableColors:[{id:"black",title:"Black",colorValue:"#2E2C36"},{id:"white",title:"White",colorValue:"#F7F3F0"},{id:"yellow",title:"Yellow",colorValue:"#FDDC6C"},{id:"orange",title:"Orange",colorValue:"#F35C56"}]}},{id:"tv-full-hd",title:"Full HD",screenRadius:0,screenWidth:1920,screenHeight:1080,externalClay:{width:1968,height:1168,screenOffsetLeft:24,screenOffsetTop:12},realisticImage:{width:4040/2,height:2360/2,screenOffsetLeft:100/2,screenOffsetTop:100/2}},{id:"tv-4k",title:"4K",screenRadius:0,screenWidth:3840,screenHeight:2160,externalClay:{width:3908,height:2308,screenOffsetLeft:34,screenOffsetTop:24},realisticImage:{width:7960/2,height:4600/2,screenOffsetLeft:140/2,screenOffsetTop:140/2}},{id:"720p",title:"720p",...Ke.desktop,screenWidth:720,screenHeight:1280},{id:"900p",title:"900p",...Ke.desktop,screenWidth:900,screenHeight:1440},{id:"1080p",title:"1080p",...Ke.desktop,screenWidth:1080,screenHeight:1920},{id:"1440p",title:"1440p",...Ke.desktop,screenWidth:1440,screenHeight:2560},{id:"4k",title:"4K",...Ke.desktop,screenWidth:2160,screenHeight:3840}];var rR=Dx.reduce((e,t)=>(e[t.id]=t,e),{});var Bx=he(Je(),1);function Hx(e){let t=Object.create(null);return r=>(t[r]===void 0&&(t[r]=e(r)),t[r])}var zx=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|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|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|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)-.*))$/,Nx=Hx(e=>zx.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91),_a=typeof document<"u"?pr:A,Wu=e=>()=>{Ca(e)},$x={useImageSource(e){var t;return(t=e.src)!=null?t:""},useImageElement(e,t,r){let n=new Image;return n.src=zt.useImageSource(e,t,r),e.srcSet&&(n.srcset=e.srcSet),n}},Ux=!1,Wx={get(e,t,r){return Reflect.has(e,t)?Reflect.get(e,t,r):Wu(Ux?`${String(t)} is not available in this version of Framer.`:`${String(t)} is only available inside of Framer. https://www.framer.com/`)}},zt=new Proxy($x,Wx);function jx(e,t,r=1){var n,i,o,a;let{width:s,height:l}=t,c=(i=(n=e.pixelWidth)!=null?n:e.intrinsicWidth)!=null?i:0,u=(a=(o=e.pixelHeight)!=null?o:e.intrinsicHeight)!=null?a:0;if(s<1||l<1||c<1||u<1)return;s*=r,l*=r;let f=s/l,d=c/u;switch(e.fit){case"fill":return d>f?u/l:c/s;case"fit":case"stretch":return Math.max(c/s,u/l)}}function ju(e,t){return t&&Math.max(1,e)>t?"pixelated":"auto"}var Gu={position:"absolute",pointerEvents:"none",userSelect:"none",borderRadius:"inherit",top:0,right:0,bottom:0,left:0},Gx={backgroundSize:"16px 16px",backgroundImage:"repeating-linear-gradient(45deg, rgba(180, 180, 180, 0.8) 0, rgba(180, 180, 180, 0.8) 1px, rgba(255, 255, 255, 0.2) 0, rgba(255, 255, 255, 0.2) 50%)",border:"1px solid #c4c4c4"};function Xx(e){switch(e){case"fit":return"contain";case"stretch":return"fill";default:return"cover"}}function Yx(e,t){if(!t)return"auto";let r=Z.current()==="CANVAS"?Oe.devicePixelRatio:1,n=jx(e,t,r);return Z.current()==="CANVAS"?ju(1,n):ju(ti.zoom,n)}function Kx(e,t){return{pointerEvents:"none",userSelect:"none",display:"block",width:"100%",height:"100%",borderRadius:"inherit",objectPosition:"center",objectFit:Xx(e.fit),imageRendering:Yx(e,t)}}function qx({image:e,containerSize:t,nodeId:r,alt:n}){let i=h.useRef(null),o=Z.current()!=="CANVAS",a=zt.useImageSource(e,t,r),s=Kx(e,t);if(!o){let l=zt.useImageElement(e,t,r);_a(()=>{let c=i.current;if(c!==null)return c.appendChild(l),()=>{c.removeChild(l)}},[l]),Object.assign(l.style,s)}return h.createElement("div",{ref:i,style:{display:"contents",borderRadius:"inherit",pointerEvents:"none"}},o?h.createElement("img",{src:a,alt:n??e.alt,srcSet:e.srcSet,sizes:e.sizes,style:s,loading:e.loading}):null)}function Xf({layoutId:e,image:t,...r}){e&&(e=e+"-background");let n=me(t.src),i=!n;return h.createElement(Pe.div,{layoutId:e,style:i?{...Gu,...Gx}:Gu,"data-framer-background-image-wrapper":!0},n&&h.createElement(qx,{image:t,...r}))}var Zx="src",nt;(e=>{e.isImageObject=function(t){return!t||typeof t=="string"?!1:Zx in t}})(nt||(nt={}));function Jx(e,t){let{_forwardedOverrideId:r,_forwardedOverrides:n,id:i}=t,o=r??i,a=n&&o?n[o]:void 0;return a&&typeof a=="string"&&(e={...e,src:a}),e}function Qx(e){let{background:t,image:r}=e;if(r!==void 0&&t&&!nt.isImageObject(t))return;let n=null;if(me(r)?n={alt:"",src:r}:n=ce.get(t,null),!!nt.isImageObject(n))return Jx(n,e)}function eb(e,t,r=!0){let{borderWidth:n,borderStyle:i,borderColor:o}=e;if(!n)return;let a,s,l,c;if(typeof n=="number"?a=s=l=c=n:(a=n.top||0,s=n.bottom||0,l=n.left||0,c=n.right||0),!(a===0&&s===0&&l===0&&c===0)){if(r&&a===s&&a===l&&a===c){t.border=`${a}px ${i} ${o}`;return}t.borderStyle=e.borderStyle,t.borderColor=e.borderColor,t.borderTopWidth=`${a}px`,t.borderBottomWidth=`${s}px`,t.borderLeftWidth=`${l}px`,t.borderRightWidth=`${c}px`}}function tb(e){let t=e.layoutId?`${e.layoutId}-border`:void 0;if(!e.borderWidth)return null;let r={position:"absolute",left:0,right:0,top:0,bottom:0,borderRadius:"inherit",pointerEvents:"none"};return e.border?(r.border=e.border,h.createElement(Pe.div,{style:r})):(eb(e,r,!1),h.createElement(Pe.div,{"data-frame-border":!0,style:r,layoutId:t}))}var rb=he(Je(),1),oe=typeof fr<"u"?fr:void 0,it=()=>typeof document=="object";var nb=()=>{let e=-1,r=oe&&/Version\/([\d.]+)/.exec(oe.userAgent);return r&&r[1]&&(e=parseFloat(r[1])),e},ib=()=>oe&&/Chrome/.test(oe.userAgent)&&/Google Inc/.test(oe.vendor)&&!ab(),Yf=()=>oe&&/Safari/.test(oe.userAgent)&&/Apple Computer/.test(oe.vendor);var ob=()=>oe&&/FramerX/.test(oe.userAgent),ab=()=>oe&&/Edg\//.test(oe.userAgent),sb=()=>oe&&/(android)/i.test(oe.userAgent),lb=()=>oe&&/(iPhone|iPod|iPad)/i.test(oe.platform),cb=()=>oe&&/Mac/.test(oe.platform),ub=()=>oe&&/Win/.test(oe.platform);var fb=()=>rb.default.env.NODE_ENV==="test";var db=()=>{if(cb())return"macos";if(lb())return"ios";if(sb())return"android";if(ub())return"windows"},hb=e=>{e||(e=db());let t={apple:"-apple-system, BlinkMacSystemFont, SF Pro Text, SF UI Text, Helvetica Neue",google:"Roboto, Helvetica Neue",microsoft:"Segoe UI, Helvetica Neue"};return e==="macos"||e==="ios"?t.apple:e==="android"?t.google:e==="windows"?t.microsoft:t.apple};var pb=ib();function Pa(e){let t={};return!pb||Z.current()!=="CANVAS"||((e===!0||e==="x")&&(t["data-framer-layout-hint-center-x"]=!0),(e===!0||e==="y")&&(t["data-framer-layout-hint-center-y"]=!0)),t}function Ia(e){return e.replace(/^id_/,"").replace(/\\/g,"")}function mb(e,t){if(!t&&(t=e.children,!t))return{props:e,children:t};let r=e._forwardedOverrides,n=e._overrideForwardingDescription;if(n){r=void 0;for(let i in n){let o=n[i];e[o]!==void 0&&(r||(r={},e={...e}),r[i]=e[o],delete e[o])}}return r?(t=h.Children.map(t,i=>h.isValidElement(i)?h.cloneElement(i,{_forwardedOverrides:r}):i),{props:e,children:t}):{props:e,children:t}}var vb=e=>Boolean(e&&typeof e=="object"&&e.mix&&e.toValue),gb=e=>e==="background"||e.endsWith("color")||e.endsWith("Color"),Xu=(e,t)=>t&&typeof t=="object"?(ge(vb(t),"Motion styles must be numbers, strings, or an instance with a `toValue` and `mix` methods."),t.toValue()):gb(e)&&typeof t=="string"&&H.isColor(t)?H(t).toValue():t,yb=(e,t)=>{if(Array.isArray(t)){let r=t.length,n=[];for(let i=0;i<r;i++)n.push(Xu(e,t[i]));return n}else return Xu(e,t)},xb={size:{set:(e,t,r)=>{e.height===void 0&&(t.height=r),e.width===void 0&&(t.width=r)},type:O},radius:{set:(e,t,r)=>{t.borderRadius=r},type:O},shadow:{set:(e,t,r)=>{t.boxShadow=r},type:je}},bb=e=>{let t={};for(let r in e){let n=yb(r,e[r]),i=xb[r];if(i){let a=i.type&&typeof e[r]=="number"?i.type.transform(e[r]):e[r];i.set(e,t,a)}else t[r]=n}return t};function on(e){return(t,r)=>e===!0?`translate(-50%, -50%) ${r}`:e==="x"?`translateX(-50%) ${r}`:e==="y"?`translateY(-50%) ${r}`:r||"none"}function ur(e,{specificLayoutId:t,postfix:r}={}){let{name:n,layoutIdKey:i,duplicatedFrom:o,__fromCodeComponentNode:a=!1,drag:s}=e,{getLayoutId:l,enabled:c}=P(ar);return ee(()=>{if(!c)return e.layoutId;let u=t||e.layoutId;if(!u&&(s||!i||a))return;let f=u||l({id:i,name:n,duplicatedFrom:o});if(f)return r?`${f}-${r}`:f},[c])}var Nt=h.createContext(!1),At=[],Sb=function(){return At.some(function(e){return e.activeTargets.length>0})},wb=function(){return At.some(function(e){return e.skippedTargets.length>0})},Yu="ResizeObserver loop completed with undelivered notifications.",Cb=function(){var e;typeof ErrorEvent=="function"?e=new ErrorEvent("error",{message:Yu}):(e=document.createEvent("Event"),e.initEvent("error",!1,!1),e.message=Yu),N.dispatchEvent(e)},qr;(function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(qr||(qr={}));var Vt=function(e){return Object.freeze(e)},Tb=function(){function e(t,r){this.inlineSize=t,this.blockSize=r,Vt(this)}return e}(),Kf=function(){function e(t,r,n,i){return this.x=t,this.y=r,this.width=n,this.height=i,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,Vt(this)}return e.prototype.toJSON=function(){var t=this,r=t.x,n=t.y,i=t.top,o=t.right,a=t.bottom,s=t.left,l=t.width,c=t.height;return{x:r,y:n,top:i,right:o,bottom:a,left:s,width:l,height:c}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),Fa=function(e){return e instanceof SVGElement&&"getBBox"in e},qf=function(e){if(Fa(e)){var t=e.getBBox(),r=t.width,n=t.height;return!r&&!n}var i=e,o=i.offsetWidth,a=i.offsetHeight;return!(o||a||e.getClientRects().length)},Ku=function(e){var t,r;if(e instanceof Element)return!0;var n=(r=(t=e)===null||t===void 0?void 0:t.ownerDocument)===null||r===void 0?void 0:r.defaultView;return!!(n&&e instanceof n.Element)},Eb=function(e){switch(e.tagName){case"INPUT":if(e.type!=="image")break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1},Kr=typeof N<"u"?N:{},Xn=new WeakMap,qu=/auto|scroll/,Rb=/^tb|vertical/,kb=/msie|trident/i.test(Kr.navigator&&Kr.navigator.userAgent),qe=function(e){return parseFloat(e||"0")},or=function(e,t,r){return e===void 0&&(e=0),t===void 0&&(t=0),r===void 0&&(r=!1),new Tb((r?t:e)||0,(r?e:t)||0)},Zu=Vt({devicePixelContentBoxSize:or(),borderBoxSize:or(),contentBoxSize:or(),contentRect:new Kf(0,0,0,0)}),Zf=function(e,t){if(t===void 0&&(t=!1),Xn.has(e)&&!t)return Xn.get(e);if(qf(e))return Xn.set(e,Zu),Zu;var r=getComputedStyle(e),n=Fa(e)&&e.ownerSVGElement&&e.getBBox(),i=!kb&&r.boxSizing==="border-box",o=Rb.test(r.writingMode||""),a=!n&&qu.test(r.overflowY||""),s=!n&&qu.test(r.overflowX||""),l=n?0:qe(r.paddingTop),c=n?0:qe(r.paddingRight),u=n?0:qe(r.paddingBottom),f=n?0:qe(r.paddingLeft),d=n?0:qe(r.borderTopWidth),p=n?0:qe(r.borderRightWidth),m=n?0:qe(r.borderBottomWidth),y=n?0:qe(r.borderLeftWidth),x=f+c,v=l+u,b=y+p,g=d+m,S=s?e.offsetHeight-g-e.clientHeight:0,T=a?e.offsetWidth-b-e.clientWidth:0,w=i?x+b:0,C=i?v+g:0,E=n?n.width:qe(r.width)-w-T,k=n?n.height:qe(r.height)-C-S,F=E+x+T+b,I=k+v+S+g,D=Vt({devicePixelContentBoxSize:or(Math.round(E*devicePixelRatio),Math.round(k*devicePixelRatio),o),borderBoxSize:or(F,I,o),contentBoxSize:or(E,k,o),contentRect:new Kf(f,l,E,k)});return Xn.set(e,D),D},Jf=function(e,t,r){var n=Zf(e,r),i=n.borderBoxSize,o=n.contentBoxSize,a=n.devicePixelContentBoxSize;switch(t){case qr.DEVICE_PIXEL_CONTENT_BOX:return a;case qr.BORDER_BOX:return i;default:return o}},_b=function(){function e(t){var r=Zf(t);this.target=t,this.contentRect=r.contentRect,this.borderBoxSize=Vt([r.borderBoxSize]),this.contentBoxSize=Vt([r.contentBoxSize]),this.devicePixelContentBoxSize=Vt([r.devicePixelContentBoxSize])}return e}(),Qf=function(e){if(qf(e))return 1/0;for(var t=0,r=e.parentNode;r;)t+=1,r=r.parentNode;return t},Pb=function(){var e=1/0,t=[];At.forEach(function(a){if(a.activeTargets.length!==0){var s=[];a.activeTargets.forEach(function(c){var u=new _b(c.target),f=Qf(c.target);s.push(u),c.lastReportedSize=Jf(c.target,c.observedBox),f<e&&(e=f)}),t.push(function(){a.callback.call(a.observer,s,a.observer)}),a.activeTargets.splice(0,a.activeTargets.length)}});for(var r=0,n=t;r<n.length;r++){var i=n[r];i()}return e},Ju=function(e){At.forEach(function(r){r.activeTargets.splice(0,r.activeTargets.length),r.skippedTargets.splice(0,r.skippedTargets.length),r.observationTargets.forEach(function(i){i.isActive()&&(Qf(i.target)>e?r.activeTargets.push(i):r.skippedTargets.push(i))})})},Ib=function(){var e=0;for(Ju(e);Sb();)e=Pb(),Ju(e);return wb()&&Cb(),e>0},Ko,ed=[],Fb=function(){return ed.splice(0).forEach(function(e){return e()})},Mb=function(e){if(!Ko){var t=0,r=document.createTextNode(""),n={characterData:!0};new MutationObserver(function(){return Fb()}).observe(r,n),Ko=function(){r.textContent=""+(t?t--:t++)}}ed.push(e),Ko()},Lb=function(e){Mb(function(){requestAnimationFrame(e)})},Jn=0,Ob=function(){return!!Jn},Ab=250,Vb={attributes:!0,characterData:!0,childList:!0,subtree:!0},Qu=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],ef=function(e){return e===void 0&&(e=0),Date.now()+e},qo=!1,Db=function(){function e(){var t=this;this.stopped=!0,this.listener=function(){return t.schedule()}}return e.prototype.run=function(t){var r=this;if(t===void 0&&(t=Ab),!qo){qo=!0;var n=ef(t);Lb(function(){var i=!1;try{i=Ib()}finally{if(qo=!1,t=n-ef(),!Ob())return;i?r.run(1e3):t>0?r.run(t):r.start()}})}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var t=this,r=function(){return t.observer&&t.observer.observe(document.body,Vb)};document.body?r():Kr.addEventListener("DOMContentLoaded",r)},e.prototype.start=function(){var t=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),Qu.forEach(function(r){return Kr.addEventListener(r,t.listener,!0)}))},e.prototype.stop=function(){var t=this;this.stopped||(this.observer&&this.observer.disconnect(),Qu.forEach(function(r){return Kr.removeEventListener(r,t.listener,!0)}),this.stopped=!0)},e}(),da=new Db,tf=function(e){!Jn&&e>0&&da.start(),Jn+=e,!Jn&&da.stop()},Bb=function(e){return!Fa(e)&&!Eb(e)&&getComputedStyle(e).display==="inline"},Hb=function(){function e(t,r){this.target=t,this.observedBox=r||qr.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var t=Jf(this.target,this.observedBox,!0);return Bb(this.target)&&(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),zb=function(){function e(t,r){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=t,this.callback=r}return e}(),Yn=new WeakMap,rf=function(e,t){for(var r=0;r<e.length;r+=1)if(e[r].target===t)return r;return-1},Kn=function(){function e(){}return e.connect=function(t,r){var n=new zb(t,r);Yn.set(t,n)},e.observe=function(t,r,n){var i=Yn.get(t),o=i.observationTargets.length===0;rf(i.observationTargets,r)<0&&(o&&At.push(i),i.observationTargets.push(new Hb(r,n&&n.box)),tf(1),da.schedule())},e.unobserve=function(t,r){var n=Yn.get(t),i=rf(n.observationTargets,r),o=n.observationTargets.length===1;i>=0&&(o&&At.splice(At.indexOf(n),1),n.observationTargets.splice(i,1),tf(-1))},e.disconnect=function(t){var r=this,n=Yn.get(t);n.observationTargets.slice().forEach(function(i){return r.unobserve(t,i.target)}),n.activeTargets.splice(0,n.activeTargets.length)},e}(),Nb=function(){function e(t){if(arguments.length===0)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if(typeof t!="function")throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");Kn.connect(this,t)}return e.prototype.observe=function(t,r){if(arguments.length===0)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!Ku(t))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");Kn.observe(this,t,r)},e.prototype.unobserve=function(t){if(arguments.length===0)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!Ku(t))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");Kn.unobserve(this,t)},e.prototype.disconnect=function(){Kn.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}();function Ma(){let[e,t]=h.useState(0);return h.useCallback(()=>t(r=>r+1),[])}var Ur,Wr,$b=class{constructor(){Mr(this,Ur,void 0),Mr(this,Wr,new WeakMap);var e;let t=(e=Oe.ResizeObserver)!=null?e:Nb;oo(this,Ur,new t(this.updateResizedElements.bind(this)))}updateResizedElements(e){for(let t of e){let r=_e(this,Wr).get(t.target);r&&r(t.contentRect)}}observeElementWithCallback(e,t){_e(this,Ur).observe(e),_e(this,Wr).set(e,t)}unobserve(e){_e(this,Ur).unobserve(e),_e(this,Wr).delete(e)}};Ur=new WeakMap;Wr=new WeakMap;var qn=it()?new $b:void 0;function Ub(e){let t=Ma();A(()=>{let r=e?.current;if(r)return qn?.observeElementWithCallback(e.current,t),()=>{qn?.unobserve(r)}},[e,t])}var Wb="data-framer-size-compatibility-wrapper";function jb(e){return[...e.firstElementChild&&e.firstElementChild.hasAttribute(Wb)?e.firstElementChild.children:e.children].filter(td).map(rd)}function td(e){return e instanceof HTMLBaseElement||e instanceof HTMLHeadElement||e instanceof HTMLLinkElement||e instanceof HTMLMetaElement||e instanceof HTMLScriptElement||e instanceof HTMLStyleElement||e instanceof HTMLTitleElement?!1:e instanceof HTMLElement||e instanceof SVGElement}function rd(e){if(!(e instanceof HTMLElement)||e.children.length===0||e.style.display!=="contents")return e;let t=[...e.children].find(td);return t?rd(t):e}function an(e,t,r=()=>[],n={}){let{id:i,visible:o,_needsMeasure:a}=e,{skipHook:s=!1}=n,l=Boolean(P(Nt)),c=Z.current()==="CANVAS";_a(()=>{!c||l||s||t.current&&i&&o&&a&&zt.queueMeasureRequest(Ia(i),t.current,r(t.current))})}function nd(e){let t=e.closest("[data-framer-component-container]");t&&zt.queueMeasureRequest(Ia(t.id),t,jb(t))}function ha(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function nf(e){return ha(e,"equals")?typeof e.equals=="function":!1}function pa(e,t,r){let n=Array.isArray,i=Object.keys;if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){let o=n(e),a=n(t),s,l;if(o&&a){if(l=e.length,l!==t.length)return!1;for(s=l;s--!==0;)if(!r&&e[s]!==t[s]||r&&!pa(e[s],t[s],!0))return!1;return!0}if(o!==a)return!1;let c=e instanceof Date,u=t instanceof Date;if(c!==u)return!1;if(c&&u)return e.getTime()===t.getTime();let f=e instanceof RegExp,d=t instanceof RegExp;if(f!==d)return!1;if(f&&d)return e.toString()===t.toString();if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(let m of e)if(!t.has(m))return!1;return!0}if(nf(e)&&nf(t))return e.equals(t);let p=i(e);if(l=p.length,l!==i(t).length)return!1;for(let m of p){if(!ha(t,m))return!1;if(!(m==="_owner"&&ha(e,"$$typeof")&&e.$$typeof)&&(!r&&e[m]!==t[m]||r&&!pa(e[m],t[m],!0)))return!1}return!0}return e!==e&&t!==t}function id(e,t,r=!0){try{return pa(e,t,r)}catch(n){if(n instanceof Error&&n.message.match(/stack|recursion/i))return console.warn("Warning: isEqual does not handle circular references.",n.name,n.message),!1;throw n}}var od="0.000001px",Zo=` translateZ(${od})`,ad=ob()||Yf()||fb();function Gb(e){e.willChange="transform";let t=Z.current()==="CANVAS";ad&&t&&(e.translateZ=od)}function ui(e){e.willChange="transform",Xb(e,!0)}function Xb(e,t){let r=Z.current()==="CANVAS";if(!ad||!r)return;let n=e.transform||"";t?n.includes(Zo)||(e.transform=n+Zo):e.transform=n.replace(Zo,"")}function sd(e,t,r,n=!0){if(!e)return;let i=r||e.style[t],o=()=>{e.style[t]=i};e.style[t]=null,n?Promise.resolve().then(o):setTimeout(o,0)}var Dt=class extends ne{constructor(){super(...arguments),this.layerElement=null,this.setLayerElement=e=>{this.layerElement=e}}static applyWillChange(e,t,r){e.willChangeTransform&&(r?Gb(t):ui(t))}shouldComponentUpdate(e,t){return e._needsMeasure||this.state!==t||!id(this.props,e)}componentDidUpdate(e){this.props.clip&&this.props.radius===0&&e.radius!==0&&sd(this.layerElement,"overflow","hidden",!1)}};Dt.defaultProps={};function Yb(e,t){if(e.size<t)return;let n=Math.round(Math.random());for(let i of e.keys())(++n&1)!==1&&e.delete(i)}function Kb(e,t,r,n){let i=t.get(r);if(i)return i;Yb(t,e);let o=n(r);return t.set(r,o),o}var ld=e=>{let t=0,r,n;if(e.length===0)return t;for(r=0;r<e.length;r++)n=e.charCodeAt(r),t=(t<<5)-t+n,t|=0;return t},La={hueRotate:(e,t)=>H.toHslString(H.hueRotate(H(e),t)),setAlpha:(e,t)=>H.toRgbString(H.alpha(H(e),t)),getAlpha:e=>{let t=Ea(e);return t?t.a:1},multiplyAlpha:(e,t)=>H.toRgbString(H.multiplyAlpha(H(e),t)),toHex:e=>H.toHexString(H(e)).toUpperCase(),toRgb:e=>H.toRgb(H(e)),toRgbString:e=>H.toRgbString(H(e)),toHSV:e=>H.toHsv(H(e)),toHSL:e=>H.toHsl(H(e)),toHslString:e=>H.toHslString(H(e)),toHsvString:e=>H.toHsvString(H(e)),hsvToHSLString:e=>H.toHslString(H(Lu(e.h,e.s,e.v,e.a))),hsvToString:e=>Lu(e.h,e.s,e.v),rgbaToString:e=>H.toRgbString(H(e)),hslToString:e=>H.toRgbString(H(e)),toColorPickerSquare:e=>H.toRgbString(H({h:e,s:1,l:.5,a:1})),isValid:e=>H(e).isValid!==!1,equals:(e,t)=>(typeof e=="string"&&(e=H(e)),typeof t=="string"&&(t=H(t)),H.equal(e,t)),toHexOrRgbaString:e=>{let t=H(e);return t.a!==1?H.toRgbString(t):H.toHexString(t)}},qb=/var\(.+\)/,Zb=new Map;function Jb(e,t){let r=[e,t];return qb.test(e)?e:Kb(1e3,Zb,r,()=>La.multiplyAlpha(e,t))}function sn(e,t=1){let r;return"stops"in e?r=e.stops:r=[{value:e.start,position:0},{value:e.end,position:1}],t===1?r:r.map(n=>({...n,value:Jb(n.value,t)}))}function cd(e,t){let r=0;return sn(e,t).forEach(n=>{r^=ld(n.value)^n.position}),r}var Qb=["stops"];function ud(e){return e&&Qb.every(t=>t in e)}var eS=["start","end"];function fd(e){return e&&eS.every(t=>t in e)}var tS=["angle","alpha"],Zr={isLinearGradient:e=>e&&tS.every(t=>t in e)&&(fd(e)||ud(e)),hash:e=>e.angle^cd(e,e.alpha),toCSS:(e,t)=>{let r=sn(e,e.alpha),n=t!==void 0?t:e.angle,i=r.map(o=>`${o.value} ${o.position*100}%`);return`linear-gradient(${n}deg, ${i.join(", ")})`}},rS=["widthFactor","heightFactor","centerAnchorX","centerAnchorY","alpha"],Jr={isRadialGradient:e=>e&&rS.every(t=>t in e)&&(fd(e)||ud(e)),hash:e=>e.centerAnchorX^e.centerAnchorY^e.widthFactor^e.heightFactor^cd(e,e.alpha),toCSS:e=>{let{alpha:t,widthFactor:r,heightFactor:n,centerAnchorX:i,centerAnchorY:o}=e,s=sn(e,t).map(l=>`${l.value} ${l.position*100}%`);return`radial-gradient(${r*100}% ${n*100}% at ${i*100}% ${o*100}%, ${s.join(", ")})`}};function nS({background:e,backgroundColor:t},r){t?typeof t=="string"||Fu(t)?r.backgroundColor=t:H.isColorObject(e)&&(r.backgroundColor=e.initialValue||H.toRgbString(e)):e&&(e=ce.get(e,null),typeof e=="string"||Fu(e)?r.background=e:Zr.isLinearGradient(e)?r.background=Zr.toCSS(e):Jr.isRadialGradient(e)?r.background=Jr.toCSS(e):H.isColorObject(e)&&(r.backgroundColor=e.initialValue||H.toRgbString(e)))}function X(e,t,r,n){if(n===void 0&&(n=t),e[t]!==void 0){r[n]=e[t];return}}function iS(e){return e?e.left!==void 0&&e.right!==void 0:!1}function oS(e){return e?e.top!==void 0&&e.bottom!==void 0:!1}function aS(e){if(!e)return{};let t={};return e.preserve3d===!0?t.transformStyle="preserve-3d":e.preserve3d===!1&&(t.transformStyle="flat"),e.backfaceVisible===!0?t.backfaceVisibility="visible":e.backfaceVisible===!1&&(t.backfaceVisibility="hidden"),t.backfaceVisibility&&(t.WebkitBackfaceVisibility=t.backfaceVisibility),e.perspective!==void 0&&(t.perspective=t.WebkitPerspective=e.perspective),e.__fromCanvasComponent||(e.center===!0?(t.left="50%",t.top="50%"):e.center==="x"?t.left="50%":e.center==="y"&&(t.top="50%")),X(e,"size",t),X(e,"width",t),X(e,"height",t),X(e,"minWidth",t),X(e,"minHeight",t),X(e,"top",t),X(e,"right",t),X(e,"bottom",t),X(e,"left",t),X(e,"position",t),X(e,"overflow",t),X(e,"opacity",t),(!e._border||!e._border.borderWidth)&&X(e,"border",t),X(e,"borderRadius",t),X(e,"radius",t,"borderRadius"),X(e,"color",t),X(e,"shadow",t,"boxShadow"),X(e,"x",t),X(e,"y",t),X(e,"z",t),X(e,"rotate",t),X(e,"rotateX",t),X(e,"rotateY",t),X(e,"rotateZ",t),X(e,"scale",t),X(e,"scaleX",t),X(e,"scaleY",t),X(e,"skew",t),X(e,"skewX",t),X(e,"skewY",t),X(e,"originX",t),X(e,"originY",t),X(e,"originZ",t),nS(e,t),t}function sS(e){for(let t in e)if(t==="drag"||t.startsWith("while")||typeof e[t]=="function"&&t.startsWith("on")&&!t.includes("Animation"))return!0;return!1}var of=["onClick","onDoubleClick","onMouse","onMouseDown","onMouseUp","onTapDown","onTap","onTapUp","onPointer","onPointerDown","onPointerUp","onTouch","onTouchDown","onTouchUp"],lS=new Set([...of,...of.map(e=>`${e}Capture`)]);function cS(e){if(e.drag)return"grab";for(let t in e)if(lS.has(t))return"pointer"}var Jo="overflow";function uS(e){return af(e)?!0:e.style?!!af(e.style):!1}function af(e){return Jo in e&&(e[Jo]==="scroll"||e[Jo]==="auto")}function dd(e){let{left:t,top:r,bottom:n,right:i,width:o,height:a,center:s,_constraints:l,size:c,widthType:u,heightType:f,positionFixed:d,positionAbsolute:p}=e,m=be(e.minWidth),y=be(e.minHeight),x=be(e.maxWidth),v=be(e.maxHeight);return{top:be(r),left:be(t),bottom:be(n),right:be(i),width:be(o),height:be(a),size:be(c),center:s,_constraints:l,widthType:u,heightType:f,positionFixed:d,positionAbsolute:p,minWidth:m,minHeight:y,maxWidth:x,maxHeight:v}}var sf={x:0,y:0,width:200,height:200};function fS(e){var t,r;cr();let n=Boolean(P(Nt)),{style:i,_initialStyle:o,__fromCanvasComponent:a,size:s}=e,l=dd(e),c=M0(l),u={display:"block",flexShrink:0,userSelect:Z.current()!=="PREVIEW"?"none":void 0};e.__fromCanvasComponent||(u.backgroundColor=e.background===void 0?"rgba(0, 170, 255, 0.3)":void 0);let f=!sS(e)&&!e.__fromCanvasComponent&&!uS(e),d=e.style?!("pointerEvents"in e.style):!0;f&&d&&(u.pointerEvents="none");let m=h.Children.count(e.children)>0&&h.Children.toArray(e.children).every(g=>typeof g=="string"||typeof g=="number")&&{display:"flex",alignItems:"center",justifyContent:"center",textAlign:"center"},y=aS(e);s===void 0&&!a&&(iS(y)||(u.width=sf.width),oS(y)||(u.height=sf.height)),l.minWidth!==void 0&&(u.minWidth=l.minWidth),l.minHeight!==void 0&&(u.minHeight=l.minHeight);let x={};nn(l)&&c&&!hd(e)&&(x={left:c.x,top:c.y,width:c.width,height:c.height,right:void 0,bottom:void 0}),Object.assign(u,m,o,y,x,i),Object.assign(u,{overflowX:(t=u.overflowX)!=null?t:u.overflow,overflowY:(r=u.overflowY)!=null?r:u.overflow,overflow:void 0}),Dt.applyWillChange(e,u,!0);let v=u;u.transform||(v={x:0,y:0,...u});let b=Z.current()==="CANVAS";return e.positionSticky?(!b||n)&&(v.position="sticky",v.willChange="transform",v.zIndex=1,v.top=e.positionStickyTop,v.right=e.positionStickyRight,v.bottom=e.positionStickyBottom,v.left=e.positionStickyLeft):b&&(e.positionFixed||e.positionAbsolute)&&(v.position="absolute"),"rotate"in v&&v.rotate===void 0&&delete v.rotate,[v,c]}var dS=new Set(["width","height","opacity","overflow","radius","background","color","x","y","z","rotate","rotateX","rotateY","rotateZ","scale","scaleX","scaleY","skew","skewX","skewY","originX","originY","originZ"]);function hS(e){let t={};for(let r in e)(Yt(r)||Nx(r))&&!dS.has(r)?t[r]=e[r]:(r==="positionTransition"||r==="layoutTransition")&&(t.layout=!0,typeof e[r]!="boolean"&&!e.transition&&(t.transition=e[r]));return t}function pS(e){return"data-framer-name"in e}var mS=ye(function(t,r){var n,i;let{name:o,center:a,border:s,_border:l,__portal:c}=t,{props:u,children:f}=mb(t),d=hS(u),p=ur(t),m=cS(t),y=L(null),x=r??y,v={"data-framer-component-type":"Frame","data-framer-cursor":m,"data-framer-highlight":m==="pointer"?!0:void 0,"data-layoutid":p};!pS(t)&&o&&(v["data-framer-name"]=o);let[b,g]=fS(u),S=dd(u),T=hd(S);a&&!(g&&!T&&nn(S))?(d.transformTemplate||(d.transformTemplate=on(a)),Object.assign(v,Pa(a))):d.transformTemplate||(d.transformTemplate=void 0),an(t,x);let w=Qx(t),C=Boolean(P(Nt)),E=vS(u,S,g,C),k=F0(h.createElement(h.Fragment,null,w?h.createElement(Xf,{alt:(n=t.alt)!=null?n:"",image:w,containerSize:g??void 0,nodeId:t.id&&Ia(t.id),layoutId:p}):null,f,h.createElement(tb,{...l,border:s,layoutId:p})),E),F=Pe[(i=t.as)!=null?i:"div"];return h.createElement(F,{...v,...d,layoutId:p,style:b,ref:x,transformValues:bb},k,c)}),Qn=ye(function(t,r){Bx.default.env.NODE_ENV!=="production"&&Oe.perf&&Oe.perf.nodeRender();let{visible:n=!0}=t;return n?h.createElement(mS,{...t,ref:r}):null});function vS(e,t,r,n){if(n)return r?{width:r.width,height:r.height}:1;let{_usesDOMRect:i}=e,{widthType:o=0,heightType:a=0,width:s,height:l}=t;return r&&!i?r:o===0&&a===0&&typeof s=="number"&&typeof l=="number"?{width:s,height:l}:i||e.positionFixed||e.positionAbsolute?2:0}function hd({width:e,height:t}){return e==="auto"||e==="min-content"||t==="auto"||t==="min-content"}var xR=he(li(),1);var gS=class{constructor(){this.warning=()=>{Ca("The Navigator API is only available inside of Framer: https://www.framer.com/")},this.goBack=()=>this.warning(),this.instant=()=>this.warning(),this.fade=()=>this.warning(),this.push=()=>this.warning(),this.modal=()=>this.warning(),this.overlay=()=>this.warning(),this.flip=()=>this.warning(),this.customTransition=()=>this.warning(),this.magicMotion=()=>this.warning()}},yS=new gS,pd=ie(yS);var CR=he(li(),1);var ER=he(li(),1);var kR=h.createContext({dragging:!1});var xS={onMouseEnter:"mouseenter",onMouseLeave:"mouseleave"},_R=Object.keys(xS);var PR=he(Je(),1),lf=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),Qo=(()=>{function e(t={},r=!1,n=!0){let i={};i[rt]={makeAnimatables:r,observeAnimatables:n,observers:new Df,reset(){for(let a in o)lf(o,a)&&(o[a]=lf(t,a)?t[a]:void 0)},transactions:new Set};let o=new Proxy(i,SS);return Object.assign(o,t),o}return e.resetObject=t=>t[rt].reset(),e.addObserver=(t,r)=>t[rt].observers.add(r),e})(),bS=class{constructor(){this.set=(e,t,r,n)=>{if(t===rt)return!1;let i=e[rt],o,a;if(He(r)?(o=r,a=o.get()):a=r,i.makeAnimatables&&typeof r!="function"&&typeof r!="object"&&!o&&(o=ce(r)),i.observeAnimatables&&o){let c=i.transactions;o.onUpdate({update:(u,f)=>{f&&c.add(f),i.observers.notify({value:n},f)},finish:u=>{c.delete(u)&&i.observers.finishTransaction(u)}})}let s=!1,l=!0;if(e[t]!==void 0){He(e[t])?(l=e[t].get()!==a,e[t].set(a)):(l=e[t]!==a,e[t]=a);let c=a!==null&&typeof a=="object";(Array.isArray(a)||c)&&(l=!0),s=!0}else o&&(r=o),s=Reflect.set(e,t,r);return l&&i.observers.notify({value:n}),s},this.get=(e,t,r)=>{if(t===rt)return e[t];let n=Reflect.get(e,t,r);return typeof n=="function"?n.bind(r):n}}deleteProperty(e,t){let r=Reflect.deleteProperty(e,t);return e[rt].observers.notify({value:e}),r}ownKeys(e){let t=Reflect.ownKeys(e),r=t.indexOf(rt);return r!==-1&&t.splice(r,1),t}getOwnPropertyDescriptor(e,t){if(t!==rt)return Reflect.getOwnPropertyDescriptor(e,t)}},SS=new bS,rt=Symbol("private");var wS="opacity";function CS(e){return wS in e}function TS(e,t){if(!CS(e))return;let r=ce.getNumber(e.opacity);r!==1&&(t.opacity=r)}function ES(e){let t=[];if(e&&e.length){let r=e.map(n=>`drop-shadow(${n.x}px ${n.y}px ${n.blur}px ${n.color})`);t.push(...r)}return t}function Oa(e,t){if(!e.shadows||e.shadows.length===0)return;let r=e.shadows.map(n=>`${n.x}px ${n.y}px ${n.blur}px ${n.color}`).join(", ");r&&(t.textShadow=r)}function RS(e,t){let r=[];V(e.brightness)&&r.push(`brightness(${e.brightness/100})`),V(e.contrast)&&r.push(`contrast(${e.contrast/100})`),V(e.grayscale)&&r.push(`grayscale(${e.grayscale/100})`),V(e.hueRotate)&&r.push(`hue-rotate(${e.hueRotate}deg)`),V(e.invert)&&r.push(`invert(${e.invert/100})`),V(e.saturate)&&r.push(`saturate(${e.saturate/100})`),V(e.sepia)&&r.push(`sepia(${e.sepia/100})`),V(e.blur)&&r.push(`blur(${e.blur}px)`),e.dropShadows&&r.push(...ES(e.dropShadows)),r.length!==0&&(t.filter=t.WebkitFilter=r.join(" "))}function kS(e,t){V(e.backgroundBlur)&&(t.backdropFilter=t.WebkitBackdropFilter=`blur(${e.backgroundBlur}px)`)}function fi(e,t){kS(e,t),RS(e,t)}var{getNumber:LR}=ce;var Aa="__LAYOUT_TREE_ROOT",md=h.createContext({schedulePromoteTree:()=>{},scheduleProjectionDidUpdate:()=>{},initLead:()=>{}}),_S=class extends ne{constructor(){super(...arguments),this.shouldAnimate=!1,this.scheduledPromotion=!1,this.scheduledDidUpdate=!1,this.scheduleProjectionDidUpdate=()=>{this.scheduledDidUpdate=!0},this.schedulePromoteTree=(e,t,r)=>{this.follow=this.lead,this.shouldAnimate=r,this.lead=e,this.transition=t,this.scheduledPromotion=!0},this.initLead=(e,t)=>{this.follow=this.lead,this.lead=e,this.follow&&t&&(this.follow.layoutMaybeMutated=!0)},this.sharedLayoutContext={schedulePromoteTree:this.schedulePromoteTree,scheduleProjectionDidUpdate:this.scheduleProjectionDidUpdate,initLead:this.initLead}}getSnapshotBeforeUpdate(){var e;if(!this.scheduledPromotion||!this.lead||!this.follow)return null;let t=!!((e=this.lead)!=null&&e.layoutMaybeMutated)&&!this.shouldAnimate;return this.lead.projectionNodes.forEach(r=>{var n;r?.promote({needsReset:t,transition:this.shouldAnimate?this.transition:void 0,preserveFollowOpacity:r.options.layoutId===Aa&&!((n=this.follow)!=null&&n.isExiting)})}),this.shouldAnimate?this.follow.layoutMaybeMutated=!0:this.scheduleProjectionDidUpdate(),this.lead.layoutMaybeMutated=!1,this.transition=void 0,this.scheduledPromotion=!1,null}componentDidUpdate(){var e,t;if(!this.lead)return null;this.scheduledDidUpdate&&((t=(e=this.lead.rootProjectionNode)==null?void 0:e.root)==null||t.didUpdate(),this.scheduledDidUpdate=!1)}render(){return h.createElement(md.Provider,{value:this.sharedLayoutContext},this.props.children)}},PS={width:"100%",height:"100%",backgroundColor:"none"};function IS(e){return h.createElement(Pe.div,{layoutId:Aa,style:PS},e.children)}var vt,jr,FS=class{constructor(e){Mr(this,vt,void 0),Mr(this,jr,new WeakMap),document&&oo(this,vt,new IntersectionObserver(this.resizeObserverCallback.bind(this),e))}resizeObserverCallback(e,t){for(let r of e){let n=_e(this,jr).get(r.target);n&&n([r],t)}}observeElementWithCallback(e,t){_e(this,vt)&&(_e(this,vt).observe(e),_e(this,jr).set(e,t))}unobserve(e){_e(this,vt)&&(_e(this,vt).unobserve(e),_e(this,jr).delete(e))}get root(){var e;return(e=_e(this,vt))==null?void 0:e.root}};vt=new WeakMap;jr=new WeakMap;var MS=h.createContext(new Map);function LS(e,t,r){let n=Ze(()=>`${r.rootMargin}`),i=h.useContext(MS);h.useEffect(()=>{var o;if(typeof IntersectionObserver>"u")return;let a=e.current;if(!a)return;let s=i.get(n);if(!s||s.root!==((o=r.root)==null?void 0:o.current)){let{root:l,...c}=r;s=new FS({...c,root:l?.current}),i.set(n,s)}return s.observeElementWithCallback(a,t),()=>s?.unobserve(a)},[])}var OS=new Array(100).fill(void 0).map((e,t)=>t*.01),AS=h.createContext(null);function VS(e,t,r){let n=h.useRef({isInView:!1,hasAnimatedOnce:!1}),{animateOnce:i,threshold:o,rootMargin:a="0px 0px 0px 0px"}=t,s=h.useCallback(([l])=>{var c;if(!l)return;let{isInView:u,hasAnimatedOnce:f}=n.current,d=BS(l,(c=o?.y)!=null?c:0);if(d&&!u){if(i&&f)return;n.current.hasAnimatedOnce=!0,n.current.isInView=!0,r(!0);return}if(!d&&u){if(n.current.isInView=!1,i)return;r(!1);return}},[i,o?.y,r]);LS(e,s,{threshold:OS,rootMargin:a})}function DS(e,t){return t.height===0?0:e.height/Math.min(t.height,Oe.innerHeight)}function BS({boundingClientRect:e,intersectionRect:t,isIntersecting:r},n){return e.height===0?r:r&&DS(t,e)>=n}var HS=class extends ne{constructor(){super(...arguments),this.projectionNodes=new Map,this.shouldPreserveFollowOpacity=e=>e.options.layoutId===Aa&&!this.props.isExiting,this.switchLayoutGroupContext={register:e=>this.addChild(e),deregister:e=>this.removeChild(e),transition:this.props.isLead!==void 0&&this.props.animatesLayout?this.props.transition:void 0,shouldPreserveFollowOpacity:this.shouldPreserveFollowOpacity}}componentDidMount(){this.props.isLead&&this.props.sharedLayoutContext.initLead(this,!!this.props.animatesLayout)}shouldComponentUpdate(e){let{isLead:t,isExiting:r,isOverlayed:n,animatesLayout:i,transition:o,sharedLayoutContext:a}=e;if(this.isExiting=r,t===void 0)return!0;let s=!this.props.isLead&&!!t,l=this.props.isExiting&&!r,c=s||l,u=!!this.props.isLead&&!t,f=this.props.isOverlayed!==n;return(c||u)&&this.projectionNodes.forEach(d=>d?.willUpdate()),c?a.schedulePromoteTree(this,o,!!i):f&&a.scheduleProjectionDidUpdate(),!!c&&!!i}addChild(e){let t=e.options.layoutId;t&&(this.projectionNodes.set(t,e),this.setRootChild(e))}setRootChild(e){if(!this.rootProjectionNode)return this.rootProjectionNode=e;this.rootProjectionNode=this.rootProjectionNode.depth<e.depth?this.rootProjectionNode:e}removeChild(e){let t=e.options.layoutId;t&&this.projectionNodes.delete(t)}render(){return h.createElement(kn.Provider,{value:this.switchLayoutGroupContext},this.props.children)}},zS=e=>{let t=h.useContext(md);return h.createElement(HS,{...e,sharedLayoutContext:t})},NS=h.createContext(!0);function $S(){return new Map}function US(){return Ze($S)}var vd=ie({register:()=>{},deregister:()=>{}}),WS=({isCurrent:e,isOverlayed:t,children:r})=>{let n=US(),i=ae(s=>{if(n.has(s)){console.warn("NavigationTargetWrapper: already registered");return}n.set(s,void 0)},[n]),o=ae(s=>{let l=n.get(s);l?.(),n.delete(s)},[n]),a=L({register:i,deregister:o}).current;return A(()=>(n.forEach((s,l)=>{let c=l(e,t);n.set(l,Ix(c)?c:void 0)}),()=>{n.forEach((s,l)=>{s&&(s(),n.set(l,void 0))})}),[e,t,n]),h.createElement(vd.Provider,{value:a},r)};function gd(e,t=[]){let{register:r,deregister:n}=P(vd);A(()=>{if(e)return r(e),()=>n(e)},[r,n,...t])}var ea=h.memo(function({isLayeredContainer:t,isCurrent:r,isPrevious:n,isOverlayed:i=!1,visible:o,transitionProps:a,children:s,backdropColor:l,onTapBackdrop:c,backfaceVisible:u,exitBackfaceVisible:f,animation:d,exitAnimation:p,instant:m,initialProps:y,exitProps:x,position:v={top:0,right:0,bottom:0,left:0},withMagicMotion:b,index:g,areMagicMotionLayersPresent:S,id:T,isInitial:w}){let C=hu(),E=P(qt),{persistLayoutIdCache:k}=P(ar),F=L({wasCurrent:void 0,wasPrevious:!1,wasBeingRemoved:!1,wasReset:!0,origins:cf({},y,a)}),I=L(null),D=E!==null&&!E.isPresent;r&&F.current.wasCurrent===void 0&&k(),A(()=>{if(t||!C)return;if(D){F.current={...F.current,wasBeingRemoved:D};return}let{wasPrevious:Y,wasCurrent:G}=F.current,K=r&&!G||!D&&F.current.wasBeingRemoved&&r,Ae=n&&!Y,Se=cf(F.current.origins,y,a),we=F.current.wasReset;K||Ae?(C.stop(),C.start({zIndex:g,...Se,...a}),we=!1):we===!1&&(C.stop(),C.set({zIndex:g,...Ot,opacity:0}),we=!0),F.current={wasCurrent:!!r,wasPrevious:!!n,wasBeingRemoved:!1,wasReset:we,origins:Se}},[r,n,D]);let z=m?{type:!1}:"velocity"in d?{...d,velocity:0}:d,M=m?{type:!1}:p||d,_={...v};(_.left===void 0||_.right===void 0)&&(_.width="auto"),(_.top===void 0||_.bottom===void 0)&&(_.height="auto");let R=(uf(a)||uf(y))&&(t||r||n)?1200:void 0,j={...Ot,...F.current.origins},J=t?{initial:{...j,...y},animate:{...j,...a,transition:z},exit:{...j,...x,transition:d}}:{animate:C,exit:{...j,...x,transition:M}},U=!(D||S===!1),B=!!r&&U,re=r&&w;return h.createElement(Qn,{"data-framer-component-type":"NavigationContainerWrapper",width:"100%",height:"100%",style:{position:"absolute",transformStyle:"flat",backgroundColor:"transparent",overflow:"hidden",zIndex:t||D||r&&b?g:void 0,pointerEvents:void 0,visibility:o?"visible":"hidden",perspective:R}},t&&h.createElement(Qn,{width:"100%",height:"100%","data-framer-component-type":"NavigationContainerBackdrop",transition:d,initial:{opacity:m&&o?1:0},animate:{opacity:1},exit:{opacity:0},backgroundColor:l||"transparent",onTap:D?void 0:c}),h.createElement(Qn,{..._,...J,transition:{default:z,originX:{type:!1},originY:{type:!1},originZ:{type:!1}},backgroundColor:"transparent",backfaceVisible:D?f:u,"data-framer-component-type":"NavigationContainer","data-framer-is-current-navigation-target":!!r,style:{pointerEvents:void 0,opacity:re||t||r&&b?1:0},"data-is-present":U?void 0:!1,ref:I},h.createElement(AS.Provider,{value:I},h.createElement(NS.Provider,{value:B},h.createElement(WS,{isCurrent:B,isOverlayed:i},h.createElement(zS,{isLead:r,animatesLayout:!!b,transition:z,isExiting:!U,isOverlayed:i,id:T},s))))))},jS);function jS(e,t){return!(t.isCurrent===void 0||e.isCurrent!==t.isCurrent||e.isPrevious!==t.isPrevious||t.isCurrent&&e.isOverlayed!==t.isOverlayed)}function cf(e,t,r){let n={...e};return t&&(V(t.originX)&&(n.originX=t.originX),V(t.originY)&&(n.originY=t.originY),V(t.originZ)&&(n.originZ=t.originZ)),r&&(V(r.originX)&&(n.originX=r.originX),V(r.originY)&&(n.originY=r.originY),V(r.originZ)&&(n.originZ=r.originZ)),n}function uf(e){var t,r,n;if(!e||!("rotateX"in e||"rotateY"in e||"z"in e))return!1;let o=e.rotateX!==0||e.rotateY!==0||e.z!==0,a=((t=e?.transition)==null?void 0:t.rotateX.from)!==0||((r=e?.transition)==null?void 0:r.rotateY.from)!==0||((n=e?.transition)==null?void 0:n.z.from)!==0;return o||a}var Ot={x:0,y:0,z:0,rotate:0,rotateX:0,rotateY:0,rotateZ:0,scale:1,scaleX:1,scaleY:1,scaleZ:1,skew:0,skewX:0,skewY:0,originX:.5,originY:.5,originZ:0,opacity:1},pe={Fade:{exit:{opacity:0},enter:{opacity:0}},PushLeft:{exit:{x:"-30%"},enter:{x:"100%"}},PushRight:{exit:{x:"30%"},enter:{x:"-100%"}},PushUp:{exit:{y:"-30%"},enter:{y:"100%"}},PushDown:{exit:{y:"30%"},enter:{y:"-100%"}},Instant:{animation:{type:!1},enter:{opacity:0}},Modal:{overCurrentContext:!0,goBackOnTapOutside:!0,position:{center:!0},enter:{opacity:0,scale:1.2}},OverlayLeft:{overCurrentContext:!0,goBackOnTapOutside:!0,position:{right:0,top:0,bottom:0},enter:{x:"100%"}},OverlayRight:{overCurrentContext:!0,goBackOnTapOutside:!0,position:{left:0,top:0,bottom:0},enter:{x:"-100%"}},OverlayUp:{overCurrentContext:!0,goBackOnTapOutside:!0,position:{bottom:0,left:0,right:0},enter:{y:"100%"}},OverlayDown:{overCurrentContext:!0,goBackOnTapOutside:!0,position:{top:0,left:0,right:0},enter:{y:"-100%"}},FlipLeft:{backfaceVisible:!1,exit:{rotateY:-180},enter:{rotateY:180}},FlipRight:{backfaceVisible:!1,exit:{rotateY:180},enter:{rotateY:-180}},FlipUp:{backfaceVisible:!1,exit:{rotateX:180},enter:{rotateX:-180}},FlipDown:{backfaceVisible:!1,exit:{rotateX:-180},enter:{rotateX:180}},MagicMotion:{withMagicMotion:!0}};function GS(e){switch(e&&e.appearsFrom?e.appearsFrom:"right"){case"right":return pe.PushLeft;case"left":return pe.PushRight;case"bottom":return pe.PushUp;case"top":return pe.PushDown}}function XS(e){switch(e&&e.appearsFrom?e.appearsFrom:"bottom"){case"right":return pe.OverlayLeft;case"left":return pe.OverlayRight;case"bottom":return pe.OverlayUp;case"top":return pe.OverlayDown}}function YS(e){switch(e&&e.appearsFrom?e.appearsFrom:"bottom"){case"right":return pe.FlipLeft;case"left":return pe.FlipRight;case"bottom":return pe.FlipUp;case"top":return pe.FlipDown}}var KS=()=>({current:-1,previous:-1,currentOverlay:-1,previousOverlay:-1,visualIndex:0,overlayItemId:0,historyItemId:0,history:[],overlayStack:[],containers:{},containerIndex:{},containerVisualIndex:{},containerIsRemoved:{},transitionForContainer:{},previousTransition:null});function ff(e,t){switch(t.type){case"addOverlay":return ZS(e,t.transition,t.component);case"removeOverlay":return JS(e);case"add":return yd(e,t.key,t.transition,t.component);case"remove":return xd(e);case"update":return qS(e,t.key,t.component);case"back":return QS(e);case"forward":return ew(e);default:return}}function qS(e,t,r){return{...e,containers:{...e.containers,[t]:r}}}function ZS(e,t,r){let n=e.overlayStack[e.currentOverlay];if(n&&n.component===r)return;let i=e.overlayItemId+1,o=[...e.overlayStack,{key:`stack-${i}`,component:r,transition:t}];return{...e,overlayStack:o,overlayItemId:i,currentOverlay:Math.max(0,Math.min(e.currentOverlay+1,o.length-1)),previousOverlay:e.currentOverlay}}function JS(e){return{...e,overlayStack:[],currentOverlay:-1,previousOverlay:e.currentOverlay}}function yd(e,t,r,n){e.containers[t]||(e.containers[t]=n),e.history=e.history.slice(0,e.current+1),e.visualIndex=Math.max(e.history.length,0);let i=e.history[e.history.length-1],o=i&&i.key===t;if(e.overlayStack=[],o&&e.currentOverlay>-1)return{...e,currentOverlay:-1,previousOverlay:e.currentOverlay};if(o)return;let a=e.containerVisualIndex[t],s=e.containerIsRemoved[t],l=i?.key&&r.withMagicMotion?iw(t,a,s,e.history):!0;e.history.push({key:t,transition:r,visualIndex:l?Math.max(e.visualIndex,0):e.containerVisualIndex[t]});let c=e.current+1,u=e.current;for(let m in e.containerIndex)e.containerIndex[m]===c&&(e.containerIndex[m]=nw(m,e.history));e.containerIndex[t]=c;let{containerVisualIndex:f,containerIsRemoved:d}=tw(e,t,l),p=bd(c,u,e.history,e.containerIndex,e.transitionForContainer);return{...e,current:c,previous:u,containerVisualIndex:f,containerIsRemoved:d,transitionForContainer:p,previousTransition:null,currentOverlay:-1,historyItemId:e.historyItemId+1,previousOverlay:e.currentOverlay}}function QS(e){let t={...e.containers},r=xd(e);if(r)return r.containers=t,r}function ew(e){let t=e.history[e.current+1];if(!t)return;let{key:r,transition:n,component:i}=t,o=[...e.history],a=yd(e,r,n,i);if(a)return a.history=o,a}function xd(e){let t=[...e.history.slice(0,e.current+1)];if(t.length===1)return;let r=t.pop();if(!r)return;let n=t[t.length-1];ve(n,"The navigation history must have at least one component"),e.containerIndex[n.key]=t.length-1,t.every(d=>d.key!==r.key)&&delete e.containers[r.key];let o=e.current-1,a=e.current,{containerIsRemoved:s,containerVisualIndex:l,previousTransition:c,visualIndex:u}=rw(e,n,r),f=bd(o,a,e.history,e.containerIndex,e.transitionForContainer);return{...e,current:o,previous:a,containerIsRemoved:s,containerVisualIndex:l,previousTransition:c,visualIndex:u,transitionForContainer:f}}function tw(e,t,r){let n={containerVisualIndex:{...e.containerVisualIndex},containerIsRemoved:{...e.containerIsRemoved}};if(r)n.containerVisualIndex[t]=e.history.length-1,n.containerIsRemoved[t]=!1;else{let i=e.containerVisualIndex[t];for(let[o,a]of Object.entries(e.containerVisualIndex))i!==void 0&&a>i&&(n.containerIsRemoved[o]=!0)}return n}function rw(e,t,r){let n=[t.key,r.key],i=e.history[e.history.length-2],o=e.previousTransition===null?null:{...e.previousTransition},a={containerIsRemoved:{...e.containerIsRemoved},containerVisualIndex:{...e.containerVisualIndex},previousTransition:o,visualIndex:e.visualIndex};i&&n.push(i.key);let s=e.containerVisualIndex[t.key],l=e.containerVisualIndex[r.key],c=s!==void 0&&l!==void 0&&s<=l||t.visualIndex!==void 0&&t.visualIndex<e.history.length-1,u=t.visualIndex;return c?(a.containerIsRemoved[r.key]=!0,a.containerVisualIndex[t.key]=u!==void 0?u:e.history.length-1):(a.visualIndex=e.visualIndex+1,a.containerVisualIndex[t.key]=e.visualIndex+1),r.transition.withMagicMotion&&(a.previousTransition=r.transition||null),e.containerIsRemoved[t.key]=!1,a}function nw(e,t){var r;for(let n=t.length;n>t.length;n--)if(((r=t[n])==null?void 0:r.key)===e)return n;return-1}function bd(e,t,r,n,i){let o={...i};for(let[a,s]of Object.entries(n)){let l=ow(s,{current:e,previous:t,history:r});l&&(o[a]=l)}return o}function iw(e,t,r,n){return r||t===void 0?!0:t===0?!1:n.slice(t,n.length).findIndex(a=>a.key===e)>-1?!0:!(n.slice(0,t-1).findIndex(a=>a.key===e)>-1)}function ow(e,t){let{current:r,previous:n,history:i}=t;if(!(e!==r&&e!==n)){if(e===r&&r>n){let o=i[e];return Zn("enter",o?.transition.enter,o?.transition.animation)}if(e===n&&r>n){let o=i[e+1];return Zn("exit",o?.transition.exit,o?.transition.animation)}if(e===r&&r<n){let o=i[e+1];return Zn("enter",o?.transition.exit,o?.transition.animation)}if(e===n&&r<n){let o=i[e];return Zn("exit",o?.transition.enter,o?.transition.animation)}}}var aw=Object.keys(Ot);function Zn(e,t,r){let n={},i={};return aw.forEach(o=>{n[o]=Ot[o],i[o]={...r,from:Ot[o]}}),t&&Object.keys(t).forEach(o=>{if(t[o]===void 0)return;let a=t[o],s=typeof t[o]=="string"?`${Ot[o]}%`:Ot[o];n[o]=e==="enter"?s:a,i[o]={...r,from:e==="enter"?a:s,velocity:0}}),{...n,transition:{...i}}}var $R=pd.Consumer,Sd=h.createContext(void 0),UR=Sd.Provider,wd=h.createContext(void 0),Va=class extends ne{constructor(e){var t;super(e),this.lastEventTimeStamp=null,this.state=KS(),this.navigationAction=s=>{if(!this.props.enabled&&this.state.history.length>0)return;let l=ff(this.state,s);if(!l)return;let{skipLayoutAnimation:c}=this.props,u=l.history[l.current],f=s.type==="add"&&s.transition.withMagicMotion||s.type==="forward"&&u?.transition.withMagicMotion||s.type==="remove"&&!!l.previousTransition,d=()=>{var p;this.setState(l),u?.key&&((p=this.context)==null||p.call(this,u.key))};c&&!f?c(d):d()},this.goBack=()=>{var s;if(!this.isSameEventTransition())return this.lastEventTimeStamp=((s=globalThis.event)==null?void 0:s.timeStamp)||null,this.state.currentOverlay!==-1?this.navigationAction({type:"removeOverlay"}):this.navigationAction({type:"remove"})};let r=this.props.children;if(!r||!Yr(r)||!Xr(r))return;let n={...pe.Instant},o={type:"add",key:((t=r.key)==null?void 0:t.toString())||`stack-${this.state.historyItemId+1}`,transition:n,component:r},a=ff(this.state,o);a&&(this.state=a)}componentDidMount(){var e;cr();let t=this.state.history[this.state.current];t&&((e=this.context)==null||e.call(this,t.key))}UNSAFE_componentWillReceiveProps(e){var t;let r=e.children;if(!Yr(r)||!Xr(r))return;let n=(t=r.key)==null?void 0:t.toString();n&&(this.state.history.length===0?this.transition(r,pe.Instant):this.navigationAction({type:"update",key:n,component:r}))}componentWillUnmount(){var e,t;(t=(e=this.props).resetProjection)==null||t.call(e)}getStackState(e){let{current:t,previous:r,currentOverlay:n,previousOverlay:i}=this.state;return e.overCurrentContext?{current:n,previous:i,history:this.state.overlayStack}:{current:t,previous:r,history:this.state.history}}isSameEventTransition(){return globalThis.event?this.lastEventTimeStamp===globalThis.event.timeStamp:!1}transition(e,t,r){var n,i;if(this.isSameEventTransition()||(this.lastEventTimeStamp=((n=globalThis.event)==null?void 0:n.timeStamp)||null,!e||!Yr(e)||!Xr(e)))return;let o={...t,...r};if(!!o.overCurrentContext)return this.navigationAction({type:"addOverlay",transition:o,component:e});let s=((i=e.key)==null?void 0:i.toString())||`stack-${this.state.historyItemId+1}`;this.navigationAction({type:"add",key:s,transition:o,component:e})}instant(e){this.transition(e,pe.Instant,void 0)}fade(e,t){this.transition(e,pe.Fade,t)}push(e,t){this.transition(e,GS(t),t)}modal(e,t){this.transition(e,pe.Modal,t)}overlay(e,t){this.transition(e,XS(t),t)}flip(e,t){this.transition(e,YS(t),t)}magicMotion(e,t){this.transition(e,pe.MagicMotion,t)}customTransition(e,t){this.transition(e,t)}render(){var e,t,r,n,i;let o=this.getStackState({overCurrentContext:!1}),a=this.getStackState({overCurrentContext:!0}),s=sw(a),l=a.current>-1,c=this.state.history.length===1,u=[];for(let[d,p]of Object.entries(this.state.containers)){let m=this.state.containerIndex[d];ve(m!==void 0,"Container's index must be registered");let y=this.state.containerVisualIndex[d];ve(y!==void 0,"Container's visual index must be registered");let x=this.state.containerIsRemoved[d],v=this.state.history[m],b=this.state.transitionForContainer[d],g=m===this.state.current,S=m===this.state.previous,T=g?!1:x,w=((e=v?.transition)==null?void 0:e.withMagicMotion)||g&&!!this.state.previousTransition;u.push(h.createElement(ea,{key:d,id:d,index:y,isInitial:c,isCurrent:g,isPrevious:S,isOverlayed:l,visible:g||S,position:(t=v?.transition)==null?void 0:t.position,instant:hf(m,o),transitionProps:b,animation:df(m,o),backfaceVisible:pw(m,o),exitAnimation:(r=v?.transition)==null?void 0:r.animation,exitBackfaceVisible:(n=v?.transition)==null?void 0:n.backfaceVisible,exitProps:(i=v?.transition)==null?void 0:i.enter,withMagicMotion:w,areMagicMotionLayersPresent:T?!1:void 0},h.createElement(IS,null,pf({component:p,transition:v?.transition}))))}let f=this.state.overlayStack.map((d,p)=>h.createElement(ea,{isLayeredContainer:!0,key:d.key,isCurrent:p===this.state.currentOverlay,position:d.transition.position,initialProps:hw(p,a),transitionProps:mw(p,a),instant:hf(p,a,!0),animation:df(p,a),exitProps:d.transition.enter,visible:vw(p,a),backdropColor:fw(d.transition),backfaceVisible:dw(p,a),onTapBackdrop:gw(d.transition,this.goBack),index:this.state.current+1+p},pf({component:d.component,transition:d.transition})));return h.createElement(Qn,{"data-framer-component-type":"NavigationRoot",top:0,left:0,width:"100%",height:"100%",position:"relative",style:{overflow:"hidden",backgroundColor:"unset",pointerEvents:void 0,...this.props.style}},h.createElement(pd.Provider,{value:this},h.createElement(wd.Provider,{value:c},h.createElement(ea,{isLayeredContainer:!0,position:void 0,initialProps:{},instant:!1,transitionProps:lw(s),animation:cw(s),backfaceVisible:uw(s),visible:!0,backdropColor:void 0,onTapBackdrop:void 0,index:0},h.createElement(c0,null,h.createElement(_S,null,h.createElement(Ho,{presenceAffectsLayout:!1},u)))),h.createElement(Ho,null,f))))}};Va.defaultProps={enabled:!0};Va.contextType=Sd;var Cd={stiffness:500,damping:50,restDelta:1,type:"spring"};function sw(e){let t,r;return e.current!==-1?t=e.history[e.current]:r=e.history[e.previous],{currentOverlayItem:t,previousOverlayItem:r}}function lw({currentOverlayItem:e}){return e&&e.transition.exit}function cw({currentOverlayItem:e,previousOverlayItem:t}){return e&&e.transition.animation?e.transition.animation:t&&t.transition.animation?t.transition.animation:Cd}function uw({currentOverlayItem:e,previousOverlayItem:t}){return e?e.transition.backfaceVisible:t&&t.transition.backfaceVisible}function fw(e){if(e.backdropColor)return e.backdropColor;if(e.overCurrentContext)return"rgba(4,4,15,.4)"}function dw(e,t){let{current:r,history:n}=t;if(e===r){let i=n[e];return i&&i.transition?i.transition.backfaceVisible:!0}else if(e<r){let i=n[e+1];return i&&i.transition?i.transition.backfaceVisible:!0}else{let i=n[e];return i&&i.transition?i.transition.backfaceVisible:!0}}function hw(e,t){let r=t.history[e];if(r)return r.transition.enter}function pw(e,t){var r,n,i,o;let{current:a,previous:s,history:l}=t;return e===s&&a>s||e===a&&a<s?(n=(r=l[e+1])==null?void 0:r.transition)==null?void 0:n.backfaceVisible:(o=(i=l[e])==null?void 0:i.transition)==null?void 0:o.backfaceVisible}function mw(e,t){let{current:r,history:n}=t;if(e!==r)if(e<r){let i=n[e+1];if(i&&i.transition)return i.transition.exit}else{let i=n[e];if(i&&i.transition)return i.transition.enter}}function df(e,t){let{current:r,previous:n,history:i}=t,o=n>r?n:r;if(e<o){let a=i[e+1];if(a&&a.transition.animation)return a.transition.animation}else if(e!==o){let a=i[e];if(a&&a.transition.animation)return a.transition.animation}else{let a=i[e];if(a?.transition.animation)return a.transition.animation}return Cd}function hf(e,t,r){let{current:n,previous:i,history:o}=t;return!!(r&&o.length>1||e!==i&&e!==n||n===i)}function vw(e,t){let{current:r,previous:n}=t;return e>r&&e>n?!1:e===r}function pf(e){return h.Children.map(e.component,r=>{var n,i;if(!Yr(r)||!Xr(r)||!r.props)return r;let o={style:(n=r.props.style)!=null?n:{}},a=(i=e?.transition)==null?void 0:i.position,s=!a||a.left!==void 0&&a.right!==void 0,l=!a||a.top!==void 0&&a.bottom!==void 0,c="style"in r.props?yt(r.props.style):!0;return s&&("width"in r.props&&(o.width="100%"),c&&(o.style.width="100%")),l&&("height"in r.props&&(o.height="100%"),c&&(o.style.height="100%")),h.cloneElement(r,o)})}function gw(e,t){if(e.goBackOnTapOutside!==!1)return t}function yw(e){let t=gu(),r=$o();return h.createElement(Va,{...e,resetProjection:t,skipLayoutAnimation:r},e.children)}var WR=he(Je(),1);var qR=Boolean(Yf()&&nb()<15.4);function di(...e){return e.filter(Boolean).join(" ")}var xw={};Object.freeze(xw);var ak=4/60*1e3;var bw=(()=>{function e(t={}){let r=Qo(t,!1,!1);return e.addData(r),r}return e._stores=[],e.addData=t=>{e._stores.push(t)},e.reset=()=>{e._stores.forEach(t=>Qo.resetObject(t))},e.addObserver=(t,r)=>Qo.addObserver(t,r),e})(),ta=bw;var Sw={update:0},ww=h.createContext({update:NaN});var Cw=class extends ne{constructor(){super(...arguments),this.observers=[],this.state=Sw,this.taskAdded=!1,this.frameTask=()=>{this.setState({update:this.state.update+1}),this.taskAdded=!1},this.observer=()=>{this.taskAdded||(this.taskAdded=!0,zf.addFrameTask(this.frameTask))}}componentWillUnmount(){this.observers.map(e=>e()),ta.reset()}render(){let{children:e}=this.props;return this.observers.map(t=>t()),this.observers=[],ta._stores.forEach(t=>{let r=ta.addObserver(t,this.observer);this.observers.push(r)}),h.createElement(ww.Provider,{value:{...this.state}},e)}},Td="__framer__",Tw=Td.length;function Ew(e){if(e.startsWith(Td))return e.substr(Tw)}var xt=["opacity","x","y","scale","rotate","rotateX","rotateY","transformPerspective"],Qr=e=>{var t,r,n,i,o,a,s,l;return{x:le((t=e?.x)!=null?t:0),y:le((r=e?.y)!=null?r:0),opacity:le((n=e?.opacity)!=null?n:1),scale:le((i=e?.scale)!=null?i:1),rotate:le((o=e?.rotate)!=null?o:0),rotateX:le((a=e?.rotateX)!=null?a:0),rotateY:le((s=e?.rotateY)!=null?s:0),transformPerspective:le((l=e?.transformPerspective)!=null?l:0)}},Ie={x:0,y:0,scale:1,opacity:1,transformPerspective:0,rotate:0,rotateX:0,rotateY:0},Rw=new Set(["loopEffectEnabled","loopTransition","loop","loopRepeatType","loopRepeatDelay"]),kw=()=>{let e=L();return A(()=>()=>{clearTimeout(e.current)},[]),async t=>new Promise(r=>{e.current=setTimeout(()=>{r(!0)},t*1e3)})};function _w({loopEffectEnabled:e,loopRepeatDelay:t,loopTransition:r,loopRepeatType:n,loop:i}){let o=$n(),a=Ze(()=>Qr()),s=h.useRef(!1),l=kw(),c=async()=>{if(!i)return;let d=r||void 0,p=s.current&&n==="mirror",m=p?Ie:i,y=p?i:Ie;return s.current=!s.current,Promise.all(xt.map(x=>{var v;if(!(o&&x!=="opacity"))return a[x].set((v=y[x])!=null?v:Ie[x]),new Promise(b=>{var g;zo(a[x],(g=m[x])!=null?g:y[x],{...d,onComplete:()=>b()})})}))},u=async()=>{e&&(await c(),await l(t??0),await u())},f=ae(()=>{xt.forEach(d=>{a[d].stop()}),xt.forEach(d=>{a[d].set(Ie[d])}),s.current=!1},[a]);return h.useEffect(()=>(e&&i?u():f(),()=>f()),[e]),{values:a}}function Pw(e,t,r,n,i){let o=r/100-1,a=i?(t-n)*o:0,s=-e*o;return a+s}var Iw=new Set(["speed","adjustPosition","offset","parallaxTransformEnabled"]);function Fw(e,t,r){let{speed:n=1,offset:i=0,adjustPosition:o=!1,parallaxTransformEnabled:a}=e,s=h.useRef(null),l=$n(),c=h.useCallback(m=>s.current===null||n===1?0:Pw(m,s.current,n,i,o),[s,n,i,o]);h.useLayoutEffect(()=>{W.read(()=>{var m,y,x;s.current=(x=(y=(m=t.current)==null?void 0:m.getBoundingClientRect())==null?void 0:y.top)!=null?x:0}),W.update(()=>{f.set(c(u.get())),o&&d.set(r??"initial")})},[t,s,o]);let{scrollY:u}=ou(),f=Be(u,c),d=Jt(o&&s.current===null?"hidden":r),p=Jt(0);return{values:{y:l||!a?p:f},style:{visibility:d}}}function Mw(e,t){let r=0,n=e;for(;n&&n!==t&&n instanceof HTMLElement;)r+=n.offsetTop,n=n.offsetParent;return r}var Lw=1;function Ed(e,t=0,r){var n,i,o;let a=[],s=[];for(let l=e.length;l>=0;l--){let{ref:c,offset:u}=(n=e[l])!=null?n:{};if(!c||!c.current)continue;let d=Mw(c.current,document.documentElement)-Lw-(u??0)-t,p=(o=(i=c.current)==null?void 0:i.clientHeight)!=null?o:0,m=a[a.length-1],y=Math.max(d+p,0);a.push(d),s.unshift(Math.max(d,0),m===void 0?y:Math.min(y,Math.max(m-1,0))),r?.(l)}return s}var Ow=new Set(["threshold","animateOnce","opacity","targetOpacity","x","y","scale","transition","rotate","rotateX","rotateY","perspective","enter","exit","animate","styleAppearEffectEnabled","targets"]),Aw=["animate","animate"];function Vw(e,t,r){let n=Ed(e,t),i=[...Aw],o=n[0];if(ve(typeof o=="number",`Invalid inputRange: ${n}`),o>1&&(n.unshift(0,o-1),i.unshift("initial","initial")),r){let a=n.length-1,s=n[a];ve(typeof s=="number",`Invalid inputRange: ${n}`),n.push(s+1),i.push("exit")}return{inputRange:n,outputRange:i}}function ra(e){var t,r,n,i,o,a,s,l,c;return{x:(t=e?.x)!=null?t:Ie.x,y:(r=e?.y)!=null?r:Ie.y,scale:(n=e?.scale)!=null?n:Ie.scale,opacity:(i=e?.opacity)!=null?i:Ie.opacity,transformPerspective:(o=e?.transformPerspective)!=null?o:Ie.transformPerspective,rotate:(a=e?.rotate)!=null?a:Ie.rotate,rotateX:(s=e?.rotateX)!=null?s:Ie.rotateX,rotateY:(l=e?.rotateY)!=null?l:Ie.rotateY,transition:(c=e?.transition)!=null?c:void 0}}function Dw({opacity:e,targetOpacity:t,perspective:r,enter:n,exit:i,animate:o,...a}){return h.useMemo(()=>{var s;return{initial:n??ra({...a,opacity:(s=e??t)!=null?s:1,transformPerspective:r}),animate:o??ra({opacity:t}),exit:i??ra()}},[o,a,n,i,e,t,r])}function Bw(e,t){let r=Dw(e),n=Ze(()=>Qr(e.styleAppearEffectEnabled?r.initial:r.animate)),i=h.useRef({isPlaying:!1,scheduledAppearState:void 0,lastAppearState:!e.styleAppearEffectEnabled}),o=h.useRef(),a=h.useCallback(async({transition:l,...c},u)=>{var f;let d=(f=l??r.animate.transition)!=null?f:e.transition;await o.current,o.current=Promise.all(xt.map(p=>{var m;return u&&n[p].set((m=r.initial[p])!=null?m:Ie[p]),new Promise(y=>{var x;zo(n[p],(x=c[p])!=null?x:Ie[p],{restDelta:p==="scale"?.001:void 0,...d,onComplete:()=>y()})})}))},[]),s={animateOnce:!!e.animateOnce,threshold:{y:e.threshold}};return VS(t,s,l=>{if(e.targets||!e.styleAppearEffectEnabled)return;let{isPlaying:c,lastAppearState:u}=i.current;if(!(e.animateOnce&&i.current.lastAppearState===!0)){if(c){i.current.scheduledAppearState=l;return}i.current.scheduledAppearState=void 0,i.current.lastAppearState=l,u!==l&&a(l?r.animate:r.exit,l)}}),h.useEffect(()=>{if(!e.targets||!e.styleAppearEffectEnabled)return;let l={},c="initial";return Nr(({y:u})=>{var f;let{targets:d}=e;if(!d||!d[0]||d[0].ref&&!d[0].ref.current)return;let{inputRange:p,outputRange:m}=Vw(d,((f=e.threshold)!=null?f:0)*u.containerLength,!!e.exit);if(p.length===0)return;ve(p.length===m.length,`Style ranges must have the same number of entries. Input: ${p}, Output: ${m}`);let y=zr(u.current,p,m);e.animateOnce&&l[y]||(l[y]=!0,c!==y&&(c=y,a(r[y])))})},[]),{values:n}}var Hw=new Set(["transformViewportThreshold","styleTransformEffectEnabled","transformTargets","spring","transformTrigger"]),zw=(e,t)=>{var r,n;let i=(r=e?.[0])==null?void 0:r.target;return Qr(t?{opacity:(n=i?.opacity)!=null?n:1}:i)},Rd=()=>({opacity:[],x:[],y:[],scale:[],rotate:[],rotateX:[],rotateY:[],transformPerspective:[]});function Nw(e,t){let r=h.useRef({});h.useEffect(()=>{if(t!==void 0)for(let n in e){let i=e[n];i.attach((o,a)=>{let s=r.current[n];if(s&&s.stop(),r.current[n]=Kt({keyframes:[i.get(),o],velocity:i.getVelocity(),...t,restDelta:.001,onUpdate:a}),!ue.isProcessing){let l=performance.now()-ue.timestamp;l<40&&(r.current[n].time=l/1e3)}return i.get()})}},[JSON.stringify(t)])}function $w(e,t){let r=Rd();return{inputRange:Ed(e,t,i=>{var o,a,s,l,c;let u=(o=e[i-1])==null?void 0:o.target,f=(a=e[i])==null?void 0:a.target;for(let d of xt)(c=r[d])==null||c.unshift((s=u?.[d])!=null?s:0,(l=f?.[d])!=null?l:0)}),effectKeyOutputRange:r}}function Uw(e){var t;let r=Rd();for(let{target:n}of e)for(let i of xt)(t=r[i])==null||t.push(n[i]);return r}var na=[0,1];function Ww({transformTrigger:e,styleTransformEffectEnabled:t,transformTargets:r,spring:n,transformViewportThreshold:i=0},o){let a=$n(),s=Ze(()=>zw(r,a));return h.useLayoutEffect(()=>{var l;if(!(t!==!0||!r))if(e!=="onScrollTarget"){let c=Uw(r);return Nr(({y:u})=>{for(let f of xt)a&&f!=="opacity"||(ve(na.length===c[f].length,`Transform ranges must have the same number of entries. Input: ${na}, Output: ${c[f]}`),s[f].set(zr(u.progress,na,c[f])))},e==="onInView"?{target:(l=o.current)!=null?l:void 0,offset:["start end","end end"]}:void 0)}else return Nr(({y:c})=>{if(!r[0]||r[0].ref&&!r[0].ref.current)return;let{inputRange:u,effectKeyOutputRange:f}=$w(r,i*c.containerLength);if(u.length!==0)for(let d of xt)a&&d!=="opacity"||(ve(u.length===f[d].length,`Transform ranges must have the same number of entries. Input: ${u}, Output: ${f[d]}`),s[d].set(zr(c.current,u,f[d])))})},[a,e,o,i,t,s,r]),Nw(s,n),{values:s}}var kd={parallax:Iw,styleAppear:Ow,styleTransform:Hw,loop:Rw},jw=Object.keys(kd);function mf(e,t){return!(e in t)||t[e]===!0}function Gw(e){let t={parallax:{},styleAppear:{},styleTransform:{},loop:{},forwardedProps:{}};for(let r in e){let n=Ew(r);if(n){for(let i of jw)if(kd[i].has(n)){t[i][n]=e[r];break}}else t.forwardedProps[r]=e[r]}return t.parallax.parallaxTransformEnabled=mf("parallaxTransformEnabled",t.parallax),t.styleAppear.styleAppearEffectEnabled=mf("styleAppearEffectEnabled",t.styleAppear),t}var Qt=e=>e.reduce((t,r)=>t+=r,0),vf=e=>e.reduce((t,r)=>t=t*r,1),Xw="current";function Yw(e){return yt(e)&&Xw in e}var Kw=e=>h.forwardRef((t,r)=>{var n;if(t.__withFX)return h.createElement(e,{...t,ref:r});let i=h.useRef(null),o=r??i,{parallax:a={},styleAppear:s={},styleTransform:l={},loop:c={},forwardedProps:u}=Gw(t),f=Ze(()=>{var _;let $={};if(!yt(u.initial))return Qr();for(let R in u.initial){let j=(_=u.initial)==null?void 0:_[R];fe(j)&&(j=j.get()),jf(j)&&($[R]=j)}return Qr($)}),d=(n=t.__targetOpacity)!=null?n:1,p=Jt(d),{values:m,style:y}=Fw(a,o),{values:x}=Ww(l,o),{values:v}=Bw(s,o),{values:b}=_w(c),g=h.useMemo(()=>({scale:[f.scale,x.scale,v.scale,b.scale],opacity:[f.opacity,p,x.opacity,v.opacity,b.opacity],x:[f.x,x.x,v.x,b.x],y:[f.y,x.y,v.y,b.y,m.y],rotate:[f.rotate,x.rotate,v.rotate,b.rotate],rotateX:[f.rotateX,x.rotateX,v.rotateX,b.rotateX],rotateY:[f.rotateY,x.rotateY,v.rotateY,b.rotateY],transformPerspective:[f.transformPerspective,x.transformPerspective,v.transformPerspective]}),[p,f,x,m,v,b]),S=Be(g.scale,vf),T=Be(g.opacity,vf),w=Be(g.x,Qt),C=Be(g.y,Qt),E=Be(g.rotate,Qt),k=Be(g.rotateX,Qt),F=Be(g.rotateY,Qt),I=Be(g.transformPerspective,Qt),{drag:D,dragConstraints:z}=u;Ub(D&&Yw(z)?z:void 0);let M={opacity:T,scale:S,x:w,y:C,rotate:E,rotateX:k,rotateY:F};return oi(t.__perspectiveFX)&&(M.transformPerspective=I),h.createElement(e,{...u,__withFX:!0,style:{...t.style,...y,...M},values:f,ref:o})});var mk=Kw,vk=he(li(),1);var qw=e=>h.forwardRef((t,r)=>{let n=ur(t);return h.createElement(e,{layoutId:n,...t,layoutIdKey:void 0,duplicatedFrom:void 0,ref:r})}),Zw=h.forwardRef(({children:e,layoutId:t,...r},n)=>{let i=Ze(()=>t?`${t}-container`:void 0);return h.createElement(Pe.div,{layoutId:i,...r,ref:n},h.createElement(Nt.Provider,{value:!0},h.createElement(f0,{enabled:!1},h.createElement(ru,{id:t??"",inherit:"id"},h.Children.map(e,o=>h.isValidElement(o)?h.cloneElement(o,{layoutId:t}):o)))))}),Sk=qw(Zw),gf="element",Jw="collection",Qw="collectionItemId",e1="pathVariables",_d="framer/page-link,";function Pd(e){return me(e)&&e.startsWith(`data:${_d}`)}function Da(e){if(Pd(e))try{let t=new URL(e),r=t.pathname.substring(_d.length),n=t.searchParams,i=n.has(gf)?n.get(gf):void 0,o,a=n.get(Jw),s=n.get(Qw),l=n.get(e1);if(a&&s&&l){let c=Object.fromEntries(new URLSearchParams(l).entries());o={collection:a,collectionItemId:s,pathVariables:c}}return{target:r==="none"?null:r,element:i==="none"?void 0:i,collectionItem:o}}catch{return}}function Id(e,t,r){var n,i,o;let a=t.getAttribute("data-framer-page-link-target"),s,l;if(a){s=(n=t.getAttribute("data-framer-page-link-element"))!=null?n:void 0;let u=t.getAttribute("data-framer-page-link-path-variables");u&&(l=Object.fromEntries(new URLSearchParams(u).entries()))}else{let u=t.getAttribute("href");if(!u)return!1;let f=Da(u);if(!f||!f.target)return!1;a=f.target,s=(i=f.element)!=null?i:void 0,l=(o=f.collectionItem)==null?void 0:o.pathVariables}let c=s?t.dataset.framerSmoothScroll!==void 0:void 0;return e(a,s,Object.assign({},r,l),c),!0}var t1=h.createContext(void 0);function hi(e,t){return e instanceof HTMLAnchorElement?e:e instanceof Element?e===t?null:hi(e.parentElement,t):null}var r1="webPageId";function ai(e){return Boolean(e&&typeof e=="object"&&r1 in e)}function n1(e){if(!e)return;let t={};for(let r in e.pathVariables){let n=e.pathVariables[r];n&&(t[r]=n)}return t}function pi(e){if(!Pd(e))return e;let t=Da(e);if(!t)return;let{target:r,element:n,collectionItem:i}=t;if(r)return{webPageId:r,hash:n??void 0,pathVariables:n1(i)}}var Fd=/:([a-zA-Z][a-zA-Z0-9_]*)/g,Md=h.createContext(void 0);function Ba(){var e;let t=h.useContext(Md),r=(e=rn())==null?void 0:e.pathVariables;return t||r}function Ha(e,{webPageId:t,hash:r,pathVariables:n},i){if(t!==e.id||r)return!1;if(e.path&&e.pathVariables){let o=Object.assign({},i,n);for(let[,a]of e.path.matchAll(Fd))if(!a||e.pathVariables[a]!==o[a])return!1}return!0}function i1(e){let t=rn(),r=h.useContext(Md);if(!t)return!1;let n=me(e)?pi(e):e;return ai(n)?Ha(t,n,r):!1}function Ld(e){return e===void 0?!1:!!(e.startsWith("#")||e.startsWith("/")||e.startsWith("."))}function o1(e,t){try{let r=new URL(e);return Boolean(r.protocol)}catch{}return t}function za(e,t){return e!==void 0?e?"_blank":void 0:t?void 0:"_blank"}function ma(e,t=void 0){let r=Ld(e),n=za(t,r);return{href:o1(e,r)?e:`https://${e}`,target:n,rel:r?void 0:"noopener"}}function Od(e,t,r,n,i){return o=>{var a;if(o.metaKey)return;let s=hi(o.target);!s||s.getAttribute("target")==="_blank"||(o.preventDefault(),(a=e.navigate)==null||a.call(e,t,r,n,i))}}function a1(e,t,r,n,i,o){let a=Ld(e);if(!r.routes||!r.getRoute||!n||!a)return ma(e,t);try{let[s,l]=e.split("#",2);ve(s!==void 0,"A href must have a defined pathname.");let{routeId:c,pathVariables:u}=ky(r.routes,s),f=r.getRoute(c);if(f){wa(f.page);let d=Object.assign({},i,u),p=ci(f,{currentRoutePath:n.path,hash:l||void 0,pathVariables:d}),m=za(t,!0);return{href:p,target:m,onClick:Od(r,c,l||void 0,d,o)}}}catch{}return ma(e,t)}var Tk=h.forwardRef(({children:e,href:t,openInNewTab:r,smoothScroll:n,...i},o)=>{let a=tn(),s=rn(),l=Ba(),c=h.useMemo(()=>{var f;if(!t)return{};let d=ai(t)?t:pi(t);if(!d)return{};if(me(d))return a1(d,r,a,s,l,n);let{webPageId:p,hash:m,pathVariables:y,hashVariables:x}=d,v=(f=a.getRoute)==null?void 0:f.call(a,p);v&&wa(v.page);let b=Object.assign({},l,y),g=Object.assign({},l,x),S=za(r,!0),T=ci(v,{currentRoutePath:s?.path,hash:m,pathVariables:b,hashVariables:g}),w=T.split("#",2)[1];return{href:T,target:S,onClick:Od(a,p,w,b,n),"data-framer-page-link-current":s&&Ha(s,d,l)||void 0}},[s,t,r,l,a,n]);if(!e)return null;let u=h.Children.only(e);return h.isValidElement(u)?h.cloneElement(u,{...i,...c,ref:o??i.ref}):null});function Ek(e,t,r){let n=ai(e)?e:pi(e);if(!ai(n))return me(e)?ma(e).href:void 0;if(!t.getRoute||!t.currentRouteId)return;let i=t.getRoute(t.currentRouteId),{webPageId:o,hash:a,pathVariables:s,hashVariables:l}=n,c=t.getRoute(o),u=Object.assign({},t.currentPathVariables,r,s),f=Object.assign({},t.currentPathVariables,r,l);return ci(c,{currentRoutePath:i?.path,hash:a,pathVariables:u,hashVariables:f,relative:!1})}var s1=class{constructor(){this.entries=new Map}set(e,t,r,n){let i=this.entries.get(e);switch(t){case"transformTemplate":{ve(typeof r=="string",`transformTemplate must be a string, received: ${r}`),i?i.transformTemplate=r:this.entries.set(e,{transformTemplate:r});break}case"initial":case"animate":{ve(typeof r=="object",`${t} must be a valid object, received: ${r}`),i?(i[t]=r,i.variantHash||(i.variantHash=n)):this.entries.set(e,{[t]:r,variantHash:n});break}default:break}}clear(){this.entries.clear()}toObject(){return Object.fromEntries(this.entries)}},Ad=new s1,Rk=(e,t,r,n)=>(it()||Ad.set(t,e,r,n),r),l1="__Appear_Animation_Transform__",kk=(e,t)=>{if(!it()){let r=t?.({},l1);if(r===void 0)return t;Ad.set(e,"transformTemplate",r)}return t},_k="data-framer-appear-id",Pk="data-framer-appear-animation";function Fk({RootComponent:e,isWebsite:t,routeId:r,pathVariables:n,routes:i,notFoundPage:o,isReducedMotion:a=!1,includeDataObserver:s=!1}){if(h.useEffect(()=>{t||zf.start()},[]),t)return h.createElement(Qc,{reducedMotion:a?"user":"never"},h.createElement(Dy,{initialRoute:r,initialPathVariables:n,routes:i,notFoundPage:o,defaultPageStyle:{minHeight:"100%",width:"auto"}}));{let l=s?Cw:h.Fragment;return h.createElement(l,null,h.createElement(Oy,{routes:i},h.createElement(yw,null,h.createElement(e,{key:r}))))}}var c1=h.createContext(void 0);if(it())for(let e of document.querySelectorAll("style[data-framer-css-ssr]"))document.head.appendChild(e);var u1=(()=>{var e;if(!it())return new Set;let t=(e=document.querySelector("style[data-framer-css-ssr-minified]"))==null?void 0:e.getAttribute("data-framer-components");return t?new Set(t.split(" ")):new Set})(),Vd={"data-framer-css-ssr":!0},Ak=(e,t,r)=>h.forwardRef((n,i)=>{var o;let{sheet:a,cache:s}=(o=h.useContext(c1))!=null?o:{};if(!it()){let l=Array.isArray(t)?t.join(`
`):t;return h.createElement(h.Fragment,null,h.createElement("style",{...Vd,"data-framer-component":r,dangerouslySetInnerHTML:{__html:l}}),h.createElement(e,{...n,ref:i}))}return h.useInsertionEffect(()=>{if(r&&u1.has(r))return;(Array.isArray(t)?t:t.split(`
`)).forEach(c=>c&&Uf(c,a,s))},[]),h.createElement(e,{...n,ref:i})}),Dd=h.createContext(void 0),va="ssr-variant";function f1(e,t,r){var n;return"ref"in e?{...t,ref:(n=e.ref)!=null?n:r}:{...t,ref:r}}function ga(e,t,r){return h.createElement(h.Fragment,null,h.Children.map(e,n=>!n||!Yr(n)||!Xr(n)?null:h.cloneElement(n,f1(n,t,r))))}function d1(e,t,r,n,i,o,a,s){let l=h.Children.toArray(t),c=l[0];if(l.length!==1||!h.isValidElement(c))return console.warn(s+": expected exactly one React element for a child",t),ga(t,r,n);let u=[],f=[];for(let[m]of Object.entries(i)){if(m===o)continue;let y=e[m];if(!y||!m1(c.props,y)){f.push(m);continue}let x=yf([m],a);x.length&&u.push({variants:x,propOverrides:y})}if(u.length===0)return h.cloneElement(c,{...r,ref:n});let d=[o,...f],p=yf(d,a);return p.length&&u.unshift({variants:p}),h.createElement(h.Fragment,null,!a&&h.createElement("style",{...Vd},`.${va} { display: contents }`),u.map(({variants:m,propOverrides:y})=>{let x=m.join("+"),v=h.createElement(Dd.Provider,{key:x,value:new Set(m)},h.cloneElement(c,{...r,...y,ref:n})),b=h1(m,a,i);return b.length?(ve(u.length>1,"Must branch out when there are hiddenClassNames"),v=h.createElement("div",{key:x,className:`${va} ${b.join(" ")}`},v)):ve(u.length===1,"Cannot branch out when hiddenClassNames is empty"),v}))}function h1(e,t,r){let n=[];for(let[i,o]of Object.entries(r)){let a=t&&!t.has(i);if(e.includes(i)||a)continue;let s=o.split("-")[2];n.push(`hidden-${s}`)}return n}function yf(e,t){return t?e.filter(r=>t.has(r)):e}function p1(e){switch(e){case"transformTemplate":return!1;default:return!1}}function m1(e,t){for(let r of Object.keys(t))if(!p1(r)&&!id(e[r],t[r],!0))return!0;return!1}function v1(e,t,r){return!r||!e?t:{...t,...r[e]}}var Vk=h.forwardRef(function({breakpoint:t,overrides:r,children:n,...i},o){if(it())return ga(n,v1(t,i,r),o);let a=h.useContext(t1);if(!a)return console.warn("PropertyOverrides is missing GeneratedComponentContext"),ga(n,i,o);let{primaryVariantId:s,variantClassNames:l}=a,c=h.useContext(Dd);return d1(r,n,i,o,l,s,c,"PropertyOverrides")});function ia(e,t){e.forEach(r=>clearTimeout(r)),e.clear(),t.forEach(r=>r&&r("Callback cancelled by variant change")),t.clear()}function xf(){return new Set}function Bk(e){let t=Ze(xf),r=Ze(xf);return gd(()=>()=>ia(r,t)),h.useEffect(()=>()=>ia(r,t),[t,r]),h.useEffect(()=>{ia(r,t)},[e,t,r]),h.useRef({activeVariantCallback:n=>(...i)=>new Promise((o,a)=>(t.add(a),n(...i).then(o))).catch(()=>{}),delay:async(n,i)=>{await new Promise(o=>r.add(globalThis.setTimeout(()=>o(!0),i))),n()}}).current}function g1(e,t,r){return h.useCallback(n=>{var i,o,a;return r?e?t?Object.assign({},(i=r[e])==null?void 0:i[n],(o=r[t])==null?void 0:o[n]):((a=r[e])==null?void 0:a[n])||{}:{}:{}},[e,t,r])}function Bd(e){for(let[t,r]of Object.entries(e))if(Oe.matchMedia(r).matches)return t}function Nk(e,t,r=!0){var n;let i=P(wd),o=L(it()&&(n=Bd(t))!=null?n:e),a=L(r&&i?e:o.current),s=Ma(),l=vu(),c=ae(u=>{(u!==o.current||u!==a.current)&&l(()=>{o.current=a.current=u,s()})},[l,s]);return _a(()=>{!r||i!==!0||c(o.current)},[]),A(()=>{let u=[];for(let[f,d]of Object.entries(t)){let p=Oe.matchMedia(d),m=y=>{y.matches&&c(f)};y1(p,m),u.push([p,m])}return()=>u.forEach(([f,d])=>x1(f,d))},[t,c]),[o.current,a.current]}function y1(e,t){e.addEventListener?e.addEventListener("change",t):e.addListener(t)}function x1(e,t){e.removeEventListener?e.removeEventListener("change",t):e.removeListener(t)}function $k(e,t,r){var n,i,o,a,s;let l=(n=Bd(t))!=null?n:e,c=(i=r[l])==null?void 0:i.split("-")[2];if(c)for(let u of document.querySelectorAll(`.hidden-${c}`))(o=u.parentNode)==null||o.removeChild(u);for(let u of document.querySelectorAll(`.${va}`))if(u.childElementCount>1){console.warn("SSR variant was expected to have at most one child at this point",u);continue}else u.childElementCount===1?(a=u.parentNode)==null||a.replaceChild(u.firstChild,u):(s=u.parentNode)==null||s.removeChild(u);for(let u of document.querySelectorAll("[data-framer-original-sizes]")){let f=u.getAttribute("data-framer-original-sizes");f===""?u.removeAttribute("sizes"):u.setAttribute("sizes",f),u.removeAttribute("data-framer-original-sizes")}}function mi(){return Z.current()==="CANVAS"}function bf(e,t){if(e[t])return e[t];if(!(t in e))return e.default}function Yk(e,t){if(mi())return;let n=h.useRef(!0),i=h.useRef(t);gd((o,a)=>{let s=o&&!a;if(!n.current&&s){let l=bf(i.current,e);l&&l()}n.current=s},[]),h.useEffect(()=>{if(n.current){let o=bf(i.current,e);o&&o()}},[e])}function b1(e,t){return`${e}-${t}`}function S1(e,t){let n=e.indexOf(t)+1;n>=e.length&&(n=0);let i=e[n];return ve(i!==void 0,"nextVariant should be defined"),i}function w1(e,t){if(e){if(t){let r=e[t];if(r)return r}return e.default}}function Sf(e,t,r){let{hover:n,pressed:i}=e||{};if(i&&r)return"pressed";if(n&&t)return"hover"}function C1(e,t){let r=t[e];return r||`framer-v-${e}`}function wf(e,t,r){return e&&r.has(e)?e:t}var T1=Symbol("cycle");function Qk({variant:e,defaultVariant:t,transitions:r,enabledGestures:n,cycleOrder:i=[],variantProps:o={},variantClassNames:a={}}){let s=Ma(),l=Ze(()=>new Set(i)),c=h.useRef({isHovered:!1,isPressed:!1,baseVariant:wf(e,t,l),lastVariant:e,gestureVariant:void 0,defaultVariant:t,enabledGestures:n,cycleOrder:i,transitions:r}),u=h.useCallback(S=>{let{isHovered:T,isPressed:w,enabledGestures:C,defaultVariant:E}=c.current,k=wf(S,E,l),F=Sf(C?.[k],T,w),I=F?b1(k,F):void 0;return[k,I]},[l]),f=h.useCallback(({isHovered:S,isPressed:T})=>{S!==void 0&&(c.current.isHovered=S),T!==void 0&&(c.current.isPressed=T);let{baseVariant:w,gestureVariant:C,defaultVariant:E}=c.current,[k,F]=u(w);(k!==w||F!==C)&&(c.current.baseVariant=k||E,c.current.gestureVariant=F,s())},[u,s]),d=h.useCallback(S=>{let{defaultVariant:T,cycleOrder:w,baseVariant:C,gestureVariant:E}=c.current,k=S===T1?S1(w||[],C||T):S,[F,I]=u(k);(F!==C||I!==E)&&(c.current.baseVariant=F||T,c.current.gestureVariant=I,s())},[u,s]);if(e!==c.current.lastVariant){let[S,T]=u(e);(S!==c.current.baseVariant||T!==c.current.gestureVariant)&&(c.current.baseVariant=S,c.current.gestureVariant=T,c.current.lastVariant=e)}let{baseVariant:p,gestureVariant:m,defaultVariant:y,enabledGestures:x,isHovered:v,isPressed:b}=c.current,g=g1(c.current.baseVariant,c.current.gestureVariant,o);return h.useMemo(()=>{let S=[];return p!==y&&S.push(p),m&&S.push(m),{variants:S,baseVariant:p,gestureVariant:m,transition:w1(c.current.transitions,p),setVariant:d,setGestureState:f,addVariantProps:g,classNames:di(C1(p,a),Sf(x?.[p],v,b))}},[p,m,v,b,g,d,y,x,f,a])}var r_=he(Je(),1);var E1=he(Je(),1);function R1(e,t){return{id:`id${t}g${Zr.hash(e)}`,angle:e.angle-90,stops:sn(e).map(r=>({color:r.value,alpha:La.getAlpha(r.value)*e.alpha,position:r.position}))}}function k1(e,t){return{id:`id${t}g${Jr.hash(e)}`,widthFactor:e.widthFactor,heightFactor:e.heightFactor,centerAnchorX:e.centerAnchorX,centerAnchorY:e.centerAnchorY,stops:sn(e).map(r=>({color:r.value,alpha:La.getAlpha(r.value)*e.alpha,position:r.position}))}}function _1(e,t,r){var n;if(e=ce.get(e,"#09F"),!nt.isImageObject(e)||!e.pixelWidth||!e.pixelHeight)return;let i=e.pixelWidth,o=e.pixelHeight,a,{fit:s}=e;if(s==="fill"||s==="fit"||!s){let c=1,u=1,f=0,d=0,p=i/o,m=t.height*p,y=t.width/p,x=m/t.width,v=y/t.height;(s==="fill"||!s?v>x:v<x)?(u=v,d=(1-v)/2):(c=x,f=(1-x)/2),a=`translate(${f}, ${d}) scale(${c}, ${u})`}return{id:`id${r}g-fillImage`,path:(n=e.src)!=null?n:"",transform:a}}var P1=h.createContext(void 0),I1=()=>h.useContext(P1),F1="framer/asset-reference,";function M1(e){return e.startsWith(`data:${F1}`)}function L1(e,t){var r;if(/^\w+:/.test(e)&&!M1(e))return e;typeof t!="number"?t=void 0:t<=512?t=512:t<=1024?t=1024:t<=2048?t=2048:t=4096;let n=Z.current()==="EXPORT";return(r=zt.assetResolver(e,{pixelSize:t,isExport:n}))!=null?r:""}var O1=class extends ne{render(){let{id:e,path:t,transform:r}=this.props,n=L1(t);return h.createElement("pattern",{id:e,width:"100%",height:"100%",patternContentUnits:"objectBoundingBox"},h.createElement("image",{key:n,width:1,height:1,xlinkHref:n,preserveAspectRatio:"none",transform:r}))}},Cf=it(),A1=class{constructor(e,t,r,n,i=0){this.id=e,this.svg=t,this.innerHTML=r,this.viewBox=n,this.count=i}},V1=class{constructor(){this.entries=new Map}debugGetEntries(){return this.entries}subscribe(e,t,r){if(!e||e==="")return"";let n=this.entries.get(e);if(!n){r||(r="svg"+String(ld(e))+"_"+String(e.length));let i=e,o,a=D1(e);a&&(t&&B1(a,r),a.id=r,o=$1(a),i=a.outerHTML),n=this.createDOMElementFor(i,r,o),this.entries.set(e,n)}return n.count+=1,n.innerHTML}getViewBox(e){if(!e||e==="")return;let t=this.entries.get(e);return t?.viewBox}unsubscribe(e){if(!e||e==="")return;let t=this.entries.get(e);t&&(t.count-=1,!(t.count>0)&&setTimeout(()=>this.maybeRemoveEntry(e),5e3))}maybeRemoveEntry(e){let t=this.entries.get(e);t&&(t.count>0||(this.entries.delete(e),this.removeDOMElement(t)))}removeDOMElement(e){let t="container_"+e.id;if(Cf){let r=document?.querySelector("#"+t);r?.remove()}}createDOMElementFor(e,t,r){let n="container_"+t;if(Cf){let s=document.querySelector("#svg-templates");if(s||(s=document.createElement("div"),s.id="svg-templates",s.style.position="absolute",s.style.top="0",s.style.left="0",s.style.width="0",s.style.height="0",s.style.overflow="hidden",document.body.appendChild(s)),!document.querySelector("#"+n)){let l=document.createElement("div");l.id=n,l.innerHTML=e,l.firstElementChild&&(l.firstElementChild.id=t),s.appendChild(l)}}let i=r?`0 0 ${r.width} ${r.height}`:void 0,a=`<svg xmlns="https://www.w3.org/2000/svg" xmlns:xlink="https://www.w3.org/1999/xlink" style="width: 100%; height: 100%"${i?` viewBox="${i}"`:""}><use href="#${t}"></use></svg>`;return new A1(t,e,a,i)}clear(){this.entries.clear()}generateTemplates(){let e=[],t="position: absolute; overflow: hidden; top: 0; left: 0; width: 0; height: 0";e.push(`<div id="svg-templates" style="${t}">`);for(let r of this.entries.values()){let n="container_"+r.id;e.push(` <div id="${n}">`),e.push(` ${r.svg}`),e.push(" </div>")}return e.push("</div>"),e.join(`
`)}},Gr=new V1;function D1(e){if(typeof DOMParser>"u"){console.warn("unable to find DOMParser");return}try{let n=new DOMParser().parseFromString(e,"text/html").getElementsByTagName("svg")[0];if(!n)throw Error("no svg element found");return n}catch{return}}function B1(e,t){let r=H1(t);Hd(e,r)}function H1(e){return e.replace(/[^a-z0-9\-_:.]|^[^a-z]+/gi,"")}function Hd(e,t){z1(e,t),Array.from(e.children).forEach(n=>{Hd(n,t)})}function z1(e,t){e.getAttributeNames().forEach(n=>{let i=e.getAttribute(n);if(!i)return;if(n==="id"&&e.setAttribute(n,`${t}_${i}`),n==="href"||n==="xlink:href"){let[a,s]=i.split("#");if(a)return;e.setAttribute(n,`#${t}_${s}`);return}let o="url(#";if(i.includes(o)){let a=i.replace(o,`${o}${t}_`);e.setAttribute(n,a)}})}var N1={cm:96/2.54,mm:96/2.54/10,Q:96/2.54/40,in:96,pc:96/6,pt:96/72,px:1,em:16,ex:8,ch:8,rem:16};function Tf(e){var t;if(!e)return;let r=/(-?[0-9.]+)([a-z%]*)/.exec(e);if(!(r?.[1]===void 0||r?.[2]===void 0)&&!((t=r[2])!=null&&t.startsWith("%")))return Math.round(parseFloat(r[1])*(N1[r[2]]||1))}function $1(e){let t=Tf(e.getAttribute("width")),r=Tf(e.getAttribute("height"));if(!(typeof t!="number"||typeof r!="number")&&!(t<=0||r<=0))return{width:t,height:r}}function s_(e){let t=lr(),r="svg"+h.useId(),n=ur(e),i=h.useRef(null),o=I1();return an(e,i),h.createElement(X1,{...e,innerRef:i,parentSize:t,ariaId:r,layoutId:n,providedWindow:o})}var U1=5e4;function W1(e){return e.indexOf("image")>=0}function j1(e){return e.indexOf("var(--")>=0}function G1(e){return!!(e.borderRadius||e.borderBottomLeftRadius||e.borderBottomRightRadius||e.borderTopLeftRadius||e.borderTopRightRadius)}function Ef(e,t){var r,n,i;let o=e.current;if(!o)return;let a=(r=t.providedWindow)!=null?r:Oe,s=o.firstElementChild;if(!s||!(s instanceof a.SVGSVGElement))return;if(!s.getAttribute("viewBox")){let m=Gr.getViewBox(t.svg);m&&s.setAttribute("viewBox",m)}let{withExternalLayout:l,parentSize:c}=t;if(!l&&nn(t)&&c!==1&&c!==2)return;let{intrinsicWidth:f,intrinsicHeight:d,_constraints:p}=t;((n=s.viewBox.baseVal)==null?void 0:n.width)===0&&((i=s.viewBox.baseVal)==null?void 0:i.height)===0&&V(f)&&V(d)&&s.setAttribute("viewBox",`0 0 ${f} ${d}`),p&&p.aspectRatio?s.setAttribute("preserveAspectRatio",""):s.setAttribute("preserveAspectRatio","none"),s.setAttribute("width","100%"),s.setAttribute("height","100%")}var X1=(()=>{var e;return e=class extends Dt{constructor(){super(...arguments),this.container=h.createRef(),this.svgElement=null,this.setSVGElement=t=>{this.svgElement=t,this.setLayerElement(t)},this.previouslyRenderedSVG=""}static frame(t){return sr(t,t.parentSize||0)}get frame(){return sr(this.props,this.props.parentSize||0)}componentDidMount(){this.props.svgContentId||Ef(this.container,this.props)}componentWillUnmount(){Gr.unsubscribe(this.previouslyRenderedSVG),this.previouslyRenderedSVG=""}componentDidUpdate(t){if(super.componentDidUpdate(t),this.props.svgContentId)return;let{fill:r}=this.props;nt.isImageObject(r)&&nt.isImageObject(t.fill)&&r.src!==t.fill.src&&sd(this.svgElement,"fill",null,!1),Ef(this.container,this.props)}collectLayout(t,r){if(this.props.withExternalLayout){r.width="100%",r.height="100%",r.aspectRatio="inherit";return}let n=this.frame,{rotation:i,intrinsicWidth:o,intrinsicHeight:a,width:s,height:l}=this.props,c=ce.getNumber(i);if(t.opacity=V(this.props.opacity)?this.props.opacity:1,Z.hasRestrictions()&&n){Object.assign(t,{transform:`translate(${n.x}px, ${n.y}px) rotate(${c.toFixed(4)}deg)`,width:`${n.width}px`,height:`${n.height}px`}),nn(this.props)&&(t.position="absolute");let u=n.width/(o||1),f=n.height/(a||1);r.transformOrigin="top left";let{zoom:d,target:p}=ti;if(p==="EXPORT"){let m=d>1?d:1;r.transform=`scale(${u*m}, ${f*m})`,r.zoom=1/m}else r.transform=`scale(${u}, ${f})`;o&&a&&(r.width=o,r.height=a)}else{let{left:u,right:f,top:d,bottom:p}=this.props;Object.assign(t,{left:u,right:f,top:d,bottom:p,width:s,height:l,rotate:c}),Object.assign(r,{left:0,top:0,bottom:0,right:0,position:"absolute"})}}render(){var t,r;E1.default.env.NODE_ENV!=="production"&&Oe.perf&&Oe.perf.nodeRender();let{id:n,visible:i,style:o,fill:a,svg:s,intrinsicHeight:l,intrinsicWidth:c,ariaId:u="",title:f,description:d,layoutId:p,className:m,variants:y,transition:x,withExternalLayout:v,innerRef:b,svgContentId:g}=this.props;if(!v&&(!i||!n))return null;let S=(t=n??p)!=null?t:"svg";cr();let T=this.frame,w=T||{width:c||100,height:l||100},C={...o,imageRendering:"pixelated",flexShrink:0},E={};this.collectLayout(C,E),TS(this.props,C),fi(this.props,C),Dt.applyWillChange(this.props,C,!1);let k=null;if(typeof a=="string"||H.isColorObject(a)){let U=H.isColorObject(a)?a.initialValue||H.toRgbString(a):a;C.fill=U,C.color=U}else if(Zr.isLinearGradient(a)){let U=a,B=`${encodeURI(n||"")}g${Zr.hash(U)}`;C.fill=`url(#${B})`;let re=R1(U,S);k=h.createElement("svg",{ref:this.setSVGElement,xmlns:"https://www.w3.org/2000/svg",width:"100%",height:"100%",style:{position:"absolute"}},h.createElement("linearGradient",{id:B,gradientTransform:`rotate(${re.angle}, 0.5, 0.5)`},re.stops.map((Y,G)=>h.createElement("stop",{key:G,offset:Y.position,stopColor:Y.color,stopOpacity:Y.alpha}))))}else if(Jr.isRadialGradient(a)){let U=a,B=`${encodeURI(n||"")}g${Jr.hash(U)}`;C.fill=`url(#${B})`;let re=k1(U,S);k=h.createElement("svg",{ref:this.setSVGElement,xmlns:"https://www.w3.org/2000/svg",width:"100%",height:"100%",style:{position:"absolute"}},h.createElement("radialGradient",{id:B,cy:U.centerAnchorY,cx:U.centerAnchorX,r:U.widthFactor},re.stops.map((Y,G)=>h.createElement("stop",{key:G,offset:Y.position,stopColor:Y.color,stopOpacity:Y.alpha}))))}else if(nt.isImageObject(a)){let U=_1(a,w,S);U&&(C.fill=`url(#${U.id})`,k=h.createElement("svg",{ref:this.setSVGElement,xmlns:"https://www.w3.org/2000/svg",xmlnsXlink:"https://www.w3.org/1999/xlink",width:"100%",height:"100%",style:{position:"absolute"}},h.createElement("defs",null,h.createElement(O1,{...U}))))}let F={"data-framer-component-type":"SVG"},I=!T;I&&Object.assign(F,Pa(this.props.center));let D=!k&&!C.fill&&!C.background&&!C.backgroundImage&&s.length<U1&&!W1(s)&&!j1(s),z=null;if(D)C.backgroundSize="100% 100%",C.backgroundImage=`url('data:image/svg+xml;utf8,${encodeURIComponent(s)}')`,Gr.unsubscribe(this.previouslyRenderedSVG),this.previouslyRenderedSVG="";else{let U=g?"svg"+g:null,B=Gr.subscribe(s,!g,U);Gr.unsubscribe(this.previouslyRenderedSVG),this.previouslyRenderedSVG=s,G1(C)&&(C.overflow="hidden"),z=h.createElement(h.Fragment,null,k,h.createElement("div",{key:nt.isImageObject(a)?a.src:"",className:"svgContainer",style:E,ref:this.container,dangerouslySetInnerHTML:{__html:B}}))}let M=Pe[(r=this.props.as)!=null?r:"div"],{href:_,target:$,rel:R,onClick:j}=this.props,J=u+"desc";return h.createElement(M,{...F,layoutId:p,transformTemplate:I?on(this.props.center):void 0,id:n,ref:b,style:C,className:m,variants:y,transition:x,tabIndex:this.props.tabIndex,role:f||d?"img":void 0,"aria-label":f,"aria-describedby":d?J:void 0,href:_,target:$,rel:R,onClick:j},z,d&&h.createElement("div",{style:Y1,id:J},d))}},e.supportsConstraints=!0,e.defaultSVGProps={left:void 0,right:void 0,top:void 0,bottom:void 0,style:void 0,_constraints:{enabled:!0,aspectRatio:null},parentSize:0,rotation:0,visible:!0,svg:"",shadows:[]},e.defaultProps={...Dt.defaultProps,...e.defaultSVGProps},e})(),Y1={clip:"rect(1px, 1px, 1px, 1px)",clipPath:"inset(50%)",height:"1px",width:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute"},K1=he(Je(),1),q1=/[&<>'"]/g,Z1=e=>e.replace(q1,t=>({"&":"&amp;","<":"&lt;",">":"&gt;","'":"&#39;",'"':"&quot;"})[t]||t),J1=/(<([a-z]+)(?:\s+(?!href[\s=])[^=\s]+=(?:'[^']*'|"[^"]*"))*)(?:(\s+href\s*=)(?:'([^']*)'|"([^"]*)"))?((?:\s+[^=\s]+=(?:'[^']*'|"[^"]*"))*>)/gi;function zd(e,t,r,n){return e.replace(J1,(i,o,a,s,l,c,u)=>{var f,d,p;if(a.toLowerCase()!=="a")return i;let m=l||c,y=Da(m.replace(/&amp;/g,"&"));if(!y||!y.target)return i;let x=t(y.target);if(!Ru(x)||!Ru(r))return i;let v=x.path,b=r.path;if(!v||!b)return i;let g=` data-framer-page-link-target="${y.target}"`,S=ba(x,(f=y.element)!=null?f:void 0);S&&(g+=` data-framer-page-link-element="${y.element}"`);let T=pi(m);if(!T||me(T))return i;Ha(r,T,n)&&(g+=" data-framer-page-link-current");let w=v,C=Object.assign({},n,(d=y.collectionItem)==null?void 0:d.pathVariables);if(Object.keys(C).length>0&&(w=w.replace(Fd,(E,k)=>""+C[k])),(p=y.collectionItem)!=null&&p.pathVariables){let E=new URLSearchParams(y.collectionItem.pathVariables);g+=` data-framer-page-link-path-variables="${E}"`}return w=Mf(b,w),o+s+`"${Z1(w+(S?`#${S}`:""))}"`+g+u})}var Q1=he(Je(),1);var eC=["sans-serif","serif","monospace","display","handwriting"],rr="CUSTOM;";function tC(e,t){if(!t)return e.substring(0,e.lastIndexOf("."));let r=t.font.preferredFamily===""?t.font.fontFamily:t.font.preferredFamily,n=t.font.preferredSubFamily===""?t.font.fontSubFamily:t.font.preferredSubFamily;return`${r} ${n}`}var rC=class{constructor(){this.name="custom",this.typefaces=[],this.byFamily=new Map,this.assetsByFamily=new Map}importFonts(e){this.typefaces.length=0,this.byFamily.clear(),this.assetsByFamily.clear();let t=[];return e.forEach(r=>{var n;if(!this.isValidCustomFontAsset(r))return;let i=tC(r.name,r.properties),o=this.createTypeface(i),a={typeface:o,selector:`${rr}${i}`,variant:this.inferVariantName(i),postscriptName:(n=r.properties)==null?void 0:n.font.postscriptName,file:r.url};o.fonts.push(a),o.owner=r.ownerType==="team"?"team":"project",this.assetsByFamily.set(i,r),t.push(...o.fonts)}),t}isValidCustomFontAsset(e){var t;return!e.mimeType.startsWith("font/")||((t=e.properties)==null?void 0:t.kind)!=="font"||!e.properties.font?!1:"fontFamily"in e.properties.font}inferVariantName(e){let t=["thin","ultra light","extra light","light","normal","medium","semi bold","bold","extra bold","black"],r=[...t.map(a=>`${a} italic`),...t],n=e.toLowerCase(),i=[...n.split(" "),...n.split("-"),...n.split("_")],o=r.find(a=>i.includes(a)||i.includes(a.replace(/\s+/g,"")));return o?o.replace(/(^\w|\s\w)/g,a=>a.toUpperCase()):"Regular"}createTypeface(e){let t=this.byFamily.get(e);if(t)return t;let r={source:this.name,family:e,fonts:[]};return this.addTypeface(r),r}addTypeface(e){this.typefaces.push(e),this.byFamily.set(e.family,e)}parseSelector(e){if(!e.startsWith(rr))return null;let t=e.split(rr);return t[1]===void 0?null:{source:"custom",family:t[1]}}getFontBySelector(e,t=!0){let r=this.parseSelector(e);if(r&&!(!t&&!this.byFamily.get(r.family)))return this.getTypefaceByFamily(r.family).fonts[0]}getTypefaceByFamily(e){let t=this.byFamily.get(e);if(t)return t;let r={source:"custom",family:e,fonts:[]};return r.fonts.push({selector:`${rr}${e}`,variant:this.inferVariantName(e),typeface:r}),r}};function Nd(e){if(e==="regular")return{style:"normal",weight:400};let t=/([0-9]*)([a-z]*)/.exec(e);if(!t)return null;let r=parseInt(t[1]||"400"),n=t[2]||"normal";return{weight:r,style:n}}var ya="GF;",nC=class{constructor(){this.name="google",this.typefaces=[],this.byFamily=new Map}getTypefaceByFamily(e){var t;return(t=this.byFamily.get(e))!=null?t:null}parseSelector(e){if(!e.startsWith(ya))return null;let t=e.split("-");if(t.length!==2)return null;let[r,n]=t;return!r||!n?null:{family:r.replace(ya,""),variant:n,source:this.name}}createTypeface(e){let t={family:e,fonts:[],source:this.name};return this.addTypeface(t),t}addTypeface(e){this.typefaces.push(e),this.byFamily.set(e.family,e)}importFonts(e){this.typefaces.length=0,this.byFamily.clear();let t=[];return e.forEach(r=>r.variants.forEach(n=>{var i;let o=r.family,a=this.getTypefaceByFamily(o);a||(a=this.createTypeface(o));let s=Nd(n)||{},{weight:l,style:c}=s,u=`GF;${o}-${n}`,f={typeface:a,variant:n,selector:u,weight:l,style:c,category:iC(r.category),file:(i=r.files[n])==null?void 0:i.replace("http://","https://")};a.fonts.push(f),t.push(f)})),t}};function iC(e){if(eC.includes(e))return e}var oC=he(vy(),1),Rf=5e3,aC=3,$d=class extends Error{constructor(e){super(e),this.name="FontLoadingError"}},oa=new Map,aa=new Map,sC=(e,t)=>Ud(e,t);async function Ud(e,t,r=0){let{family:n,url:i,stretch:o,unicodeRange:a}=e,s=e.weight||500,l=e.style||"normal",c=`${n}-${l}-${s}-${i}`;if(!oa.has(c)||r>0){let u=new FontFace(n,`url(${i})`,{weight:me(s)?s:s?.toString(),style:l,stretch:o,unicodeRange:a}),f=u.load().then(()=>(t.fonts.add(u),Wd(n,l,s))).catch(d=>{if(d.name!=="NetworkError")throw d;if(r<aC)return Ud(e,t,r+1);throw new $d(`Font loading failed after ${r} retries due to network error: ${JSON.stringify({family:n,style:l,weight:s,url:i,stretch:o,unicodeRange:a})}`)});oa.set(c,f)}await oa.get(c)}async function Wd(e,t,r){let n=`${e}-${t}-${r}`;if(!aa.has(n)){let o=new oC.default(e,{style:t,weight:r}).load(null,Rf);aa.set(n,o)}try{await aa.get(n)}catch{throw new $d(`Failed to check if font is ready (${Rf}ms timeout exceeded): ${JSON.stringify({family:e,style:t,weight:r})}`)}}var lC={Arial:{Regular:{selector:"Arial",weight:void 0},Black:{selector:"Arial-Black",weight:void 0},Narrow:{selector:"Arial Narrow",weight:void 0},"Rounded Bold":{selector:"Arial Rounded MT Bold",weight:void 0}},Avenir:{Book:{selector:"Avenir",weight:void 0},Light:{selector:"Avenir-Light",weight:void 0},Medium:{selector:"Avenir-Medium",weight:void 0},Heavy:{selector:"Avenir-Heavy",weight:void 0},Black:{selector:"Avenir-Black",weight:void 0}},"Avenir Next":{Regular:{selector:"Avenir Next",weight:void 0},"Ultra Light":{selector:"AvenirNext-UltraLight",weight:void 0},Medium:{selector:"AvenirNext-Medium",weight:void 0},"Demi Bold":{selector:"AvenirNext-DemiBold",weight:void 0},Heavy:{selector:"AvenirNext-Heavy",weight:void 0}},"Avenir Next Condensed":{Regular:{selector:"Avenir Next Condensed",weight:void 0},"Ultra Light":{selector:"AvenirNextCondensed-UltraLight",weight:void 0},Medium:{selector:"AvenirNextCondensed-Medium",weight:void 0},"Demi Bold":{selector:"AvenirNextCondensed-DemiBold",weight:void 0},Heavy:{selector:"AvenirNextCondensed-Heavy",weight:void 0}},Baskerville:{Regular:{selector:"Baskerville",weight:void 0},"Semi Bold":{selector:"Baskerville-SemiBold",weight:void 0}},"Bodoni 72":{Book:{selector:"Bodoni 72",weight:void 0},Oldstyle:{selector:"Bodoni 72 Oldstyle",weight:void 0},Smallcaps:{selector:"Bodoni 72 Smallcaps",weight:void 0}},Courier:{Regular:{selector:"Courier",weight:void 0}},"Courier New":{Regular:{selector:"Courier New",weight:void 0}},Futura:{Medium:{selector:"Futura",weight:void 0},Condensed:{selector:"Futura-CondensedMedium",weight:void 0},"Condensed ExtraBold":{selector:"Futura-CondensedExtraBold",weight:void 0}},Georgia:{Regular:{selector:"Georgia",weight:void 0}},"Gill Sans":{Regular:{selector:"Gill Sans",weight:void 0},Light:{selector:"GillSans-Light",weight:void 0},SemiBold:{selector:"GillSans-SemiBold",weight:void 0},UltraBold:{selector:"GillSans-UltraBold",weight:void 0}},Helvetica:{Regular:{selector:"Helvetica",weight:void 0},Light:{selector:"Helvetica-Light",weight:void 0},Bold:{selector:"Helvetica-Bold",weight:void 0},Oblique:{selector:"Helvetica-Oblique",weight:void 0},"Light Oblique":{selector:"Helvetica-LightOblique",weight:void 0},"Bold Oblique":{selector:"Helvetica-BoldOblique",weight:void 0}},"Helvetica Neue":{Regular:{selector:"Helvetica Neue",weight:void 0},UltraLight:{selector:"HelveticaNeue-UltraLight",weight:void 0},Thin:{selector:"HelveticaNeue-Thin",weight:void 0},Light:{selector:"HelveticaNeue-Light",weight:void 0},Medium:{selector:"HelveticaNeue-Medium",weight:void 0},Bold:{selector:"HelveticaNeue-Bold",weight:void 0},Italic:{selector:"HelveticaNeue-Italic",weight:void 0},"UltraLight Italic":{selector:"HelveticaNeue-UltraLightItalic",weight:void 0},"Thin Italic":{selector:"HelveticaNeue-ThinItalic",weight:void 0},"Light Italic":{selector:"HelveticaNeue-LightItalic",weight:void 0},"Medium Italic":{selector:"HelveticaNeue-MediumItalic",weight:void 0},"Bold Italic":{selector:"HelveticaNeue-BoldItalic",weight:void 0},"Condensed Bold":{selector:"HelveticaNeue-CondensedBold",weight:void 0},"Condensed Black":{selector:"HelveticaNeue-CondensedBlack",weight:void 0}},"Hoefler Text":{Regular:{selector:"Hoefler Text",weight:void 0}},Impact:{Regular:{selector:"Impact",weight:void 0}},"Lucida Grande":{Regular:{selector:"Lucida Grande",weight:void 0}},Menlo:{Regular:{selector:"Menlo",weight:void 0}},Monaco:{Regular:{selector:"Monaco",weight:void 0}},Optima:{Regular:{selector:"Optima",weight:void 0},ExtraBlack:{selector:"Optima-ExtraBlack",weight:void 0}},Palatino:{Regular:{selector:"Palatino",weight:void 0}},"SF Pro Display":{Regular:{selector:"__SF-UI-Display-Regular__",weight:400},Ultralight:{selector:"__SF-UI-Display-Ultralight__",weight:100},Thin:{selector:"__SF-UI-Display-Thin__",weight:200},Light:{selector:"__SF-UI-Display-Light__",weight:300},Medium:{selector:"__SF-UI-Display-Medium__",weight:500},Semibold:{selector:"__SF-UI-Display-Semibold__",weight:600},Bold:{selector:"__SF-UI-Display-Bold__",weight:700},Heavy:{selector:"__SF-UI-Display-Heavy__",weight:800},Black:{selector:"__SF-UI-Display-Black__",weight:900},Italic:{selector:"__SF-UI-Display-Italic__",weight:400},"Ultralight Italic":{selector:"__SF-UI-Display-Ultralight-Italic__",weight:100},"Thin Italic":{selector:"__SF-UI-Display-Thin-Italic__",weight:200},"Light Italic":{selector:"__SF-UI-Display-Light-Italic__",weight:300},"Medium Italic":{selector:"__SF-UI-Display-Medium-Italic__",weight:500},"Semibold Italic":{selector:"__SF-UI-Display-Semibold-Italic__",weight:600},"Bold Italic":{selector:"__SF-UI-Display-Bold-Italic__",weight:700},"Heavy Italic":{selector:"__SF-UI-Display-Heavy-Italic__",weight:800},"Black Italic":{selector:"__SF-UI-Display-Black-Italic__",weight:900}},"SF Pro Display Condensed":{Regular:{selector:"__SF-UI-Display-Condensed-Regular__",weight:400},Ultralight:{selector:"__SF-UI-Display-Condensed-Ultralight__",weight:100},Thin:{selector:"__SF-UI-Display-Condensed-Thin__",weight:200},Light:{selector:"__SF-UI-Display-Condensed-Light__",weight:300},Medium:{selector:"__SF-UI-Display-Condensed-Medium__",weight:500},Semibold:{selector:"__SF-UI-Display-Condensed-Semibold__",weight:600},Bold:{selector:"__SF-UI-Display-Condensed-Bold__",weight:700},Heavy:{selector:"__SF-UI-Display-Condensed-Heavy__",weight:800},Black:{selector:"__SF-UI-Display-Condensed-Black__",weight:900}},"SF Pro Text":{Regular:{selector:"__SF-UI-Text-Regular__",weight:400},Light:{selector:"__SF-UI-Text-Light__",weight:200},Medium:{selector:"__SF-UI-Text-Medium__",weight:500},Semibold:{selector:"__SF-UI-Text-Semibold__",weight:600},Bold:{selector:"__SF-UI-Text-Bold__",weight:700},Heavy:{selector:"__SF-UI-Text-Heavy__",weight:800},Italic:{selector:"__SF-UI-Text-Italic__",weight:400},"Light Italic":{selector:"__SF-UI-Text-Light-Italic__",weight:200},"Medium Italic":{selector:"__SF-UI-Text-Medium-Italic__",weight:500},"Semibold Italic":{selector:"__SF-UI-Text-Semibold-Italic__",weight:600},"Bold Italic":{selector:"__SF-UI-Text-Bold-Italic__",weight:700},"Heavy Italic":{selector:"__SF-UI-Text-Heavy-Italic__",weight:800}},"SF Pro Text Condensed":{Regular:{selector:"__SF-UI-Text-Condensed-Regular__",weight:400},Light:{selector:"__SF-UI-Text-Condensed-Light__",weight:200},Medium:{selector:"__SF-UI-Text-Condensed-Medium__",weight:500},Semibold:{selector:"__SF-UI-Text-Condensed-Semibold__",weight:600},Bold:{selector:"__SF-UI-Text-Condensed-Bold__",weight:700},Heavy:{selector:"__SF-UI-Text-Condensed-Heavy__",weight:800}},Tahoma:{Regular:{selector:"Tahoma",weight:void 0}},Times:{Regular:{selector:"Times",weight:void 0}},"Times New Roman":{Regular:{selector:"Times New Roman",weight:void 0}},Trebuchet:{Regular:{selector:"Trebuchet MS",weight:void 0}},Verdana:{Regular:{selector:"Verdana",weight:void 0}}},cC={"__SF-Compact-Display-Regular__":"SFCompactDisplay-Regular|.SFCompactDisplay-Regular","__SF-Compact-Display-Ultralight__":"SFCompactDisplay-Ultralight|.SFCompactDisplay-Ultralight","__SF-Compact-Display-Thin__":"SFCompactDisplay-Thin|.SFCompactDisplay-Thin","__SF-Compact-Display-Light__":"SFCompactDisplay-Light|.SFCompactDisplay-Light","__SF-Compact-Display-Medium__":"SFCompactDisplay-Medium|.SFCompactDisplay-Medium","__SF-Compact-Display-Semibold__":"SFCompactDisplay-Semibold|.SFCompactDisplay-Semibold","__SF-Compact-Display-Heavy__":"SFCompactDisplay-Heavy|.SFCompactDisplay-Heavy","__SF-Compact-Display-Black__":"SFCompactDisplay-Black|.SFCompactDisplay-Black","__SF-Compact-Display-Bold__":"SFCompactDisplay-Bold|.SFCompactDisplay-Bold","__SF-UI-Text-Regular__":".SFNSText|SFProText-Regular|SFUIText-Regular|.SFUIText","__SF-UI-Text-Light__":".SFNSText-Light|SFProText-Light|SFUIText-Light|.SFUIText-Light","__SF-UI-Text-Medium__":".SFNSText-Medium|SFProText-Medium|SFUIText-Medium|.SFUIText-Medium","__SF-UI-Text-Semibold__":".SFNSText-Semibold|SFProText-Semibold|SFUIText-Semibold|.SFUIText-Semibold","__SF-UI-Text-Bold__":".SFNSText-Bold|SFProText-Bold|SFUIText-Bold|.SFUIText-Bold","__SF-UI-Text-Heavy__":".SFNSText-Heavy|SFProText-Heavy|.SFUIText-Heavy","__SF-UI-Text-Italic__":".SFNSText-Italic|SFProText-Italic|SFUIText-Italic|.SFUIText-Italic","__SF-UI-Text-Light-Italic__":".SFNSText-LightItalic|SFProText-LightItalic|SFUIText-LightItalic|.SFUIText-LightItalic","__SF-UI-Text-Medium-Italic__":".SFNSText-MediumItalic|SFProText-MediumItalic|SFUIText-MediumItalic|.SFUIText-MediumItalic","__SF-UI-Text-Semibold-Italic__":".SFNSText-SemiboldItalic|SFProText-SemiboldItalic|SFUIText-SemiboldItalic|.SFUIText-SemiboldItalic","__SF-UI-Text-Bold-Italic__":".SFNSText-BoldItalic|SFProText-BoldItalic|SFUIText-BoldItalic|.SFUIText-BoldItalic","__SF-UI-Text-Heavy-Italic__":".SFNSText-HeavyItalic|SFProText-HeavyItalic|.SFUIText-HeavyItalic","__SF-Compact-Text-Regular__":"SFCompactText-Regular|.SFCompactText-Regular","__SF-Compact-Text-Light__":"SFCompactText-Light|.SFCompactText-Light","__SF-Compact-Text-Medium__":"SFCompactText-Medium|.SFCompactText-Medium","__SF-Compact-Text-Semibold__":"SFCompactText-Semibold|.SFCompactText-Semibold","__SF-Compact-Text-Bold__":"SFCompactText-Bold|.SFCompactText-Bold","__SF-Compact-Text-Heavy__":"SFCompactText-Heavy|.SFCompactText-Heavy","__SF-Compact-Text-Italic__":"SFCompactText-Italic|.SFCompactText-Italic","__SF-Compact-Text-Light-Italic__":"SFCompactText-LightItalic|.SFCompactText-LightItalic","__SF-Compact-Text-Medium-Italic__":"SFCompactText-MediumItalic|.SFCompactText-MediumItalic","__SF-Compact-Text-Semibold-Italic__":"SFCompactText-SemiboldItalic|.SFCompactText-SemiboldItalic","__SF-Compact-Text-Bold-Italic__":"SFCompactText-BoldItalic|.SFCompactText-BoldItalic","__SF-Compact-Text-Heavy-Italic__":"SFCompactText-HeavyItalic|.SFCompactText-HeavyItalic","__SF-UI-Display-Condensed-Regular__":".SFNSDisplayCondensed-Regular|SFUIDisplayCondensed-Regular|.SFUIDisplayCondensed-Regular","__SF-UI-Display-Condensed-Ultralight__":".SFNSDisplayCondensed-Ultralight|SFUIDisplayCondensed-Ultralight|.SFUIDisplayCondensed-Ultralight","__SF-UI-Display-Condensed-Thin__":".SFNSDisplayCondensed-Thin|SFUIDisplayCondensed-Thin|.SFUIDisplayCondensed-Thin","__SF-UI-Display-Condensed-Light__":".SFNSDisplayCondensed-Light|SFUIDisplayCondensed-Light|.SFUIDisplayCondensed-Light","__SF-UI-Display-Condensed-Medium__":".SFNSDisplayCondensed-Medium|SFUIDisplayCondensed-Medium|.SFUIDisplayCondensed-Medium","__SF-UI-Display-Condensed-Semibold__":".SFNSDisplayCondensed-Semibold|SFUIDisplayCondensed-Semibold|.SFUIDisplayCondensed-Semibold","__SF-UI-Display-Condensed-Bold__":".SFNSDisplayCondensed-Bold|SFUIDisplayCondensed-Bold|.SFUIDisplayCondensed-Bold","__SF-UI-Display-Condensed-Heavy__":".SFNSDisplayCondensed-Heavy|SFUIDisplayCondensed-Heavy|.SFUIDisplayCondensed-Heavy","__SF-UI-Display-Condensed-Black__":".SFNSDisplayCondensed-Black|.SFUIDisplayCondensed-Black","__SF-UI-Display-Regular__":".SFNSDisplay|SFProDisplay-Regular|SFUIDisplay-Regular|.SFUIDisplay","__SF-UI-Display-Ultralight__":".SFNSDisplay-Ultralight|SFProDisplay-Ultralight|SFUIDisplay-Ultralight|.SFUIDisplay-Ultralight","__SF-UI-Display-Thin__":".SFNSDisplay-Thin|SFProDisplay-Thin|SFUIDisplay-Thin|.SFUIDisplay-Thin","__SF-UI-Display-Light__":".SFNSDisplay-Light|SFProDisplay-Light|SFUIDisplay-Light|.SFUIDisplay-Light","__SF-UI-Display-Medium__":".SFNSDisplay-Medium|SFProDisplay-Medium|SFUIDisplay-Medium|.SFUIDisplay-Medium","__SF-UI-Display-Semibold__":".SFNSDisplay-Semibold|SFProDisplay-Semibold|SFUIDisplay-Semibold|.SFUIDisplay-Semibold","__SF-UI-Display-Bold__":".SFNSDisplay-Bold|SFProDisplay-Bold|SFUIDisplay-Bold|.SFUIDisplay-Bold","__SF-UI-Display-Heavy__":".SFNSDisplay-Heavy|SFProDisplay-Heavy|SFUIDisplay-Heavy|.SFUIDisplay-Heavy","__SF-UI-Display-Black__":".SFNSDisplay-Black|SFProDisplay-Black|.SFUIDisplay-Black","__SF-UI-Display-Italic__":".SFNSDisplay-Italic|SFProDisplay-Italic|SFUIDisplay-Italic","__SF-UI-Display-Ultralight-Italic__":".SFNSDisplay-UltralightItalic|SFProDisplay-UltralightItalic|SFUIDisplay-UltralightItalic|.SFUIDisplay-UltralightItalic","__SF-UI-Display-Thin-Italic__":".SFNSDisplay-ThinItalic|SFProDisplay-ThinItalic|SFUIDisplay-ThinItalic|.SFUIDisplay-ThinItalic","__SF-UI-Display-Light-Italic__":".SFNSDisplay-LightItalic|SFProDisplay-LightItalic|SFUIDisplay-LightItalic|.SFUIDisplay-LightItalic","__SF-UI-Display-Medium-Italic__":".SFNSDisplay-MediumItalic|SFProDisplay-MediumItalic|SFUIDisplay-MediumItalic|.SFUIDisplay-MediumItalic","__SF-UI-Display-Semibold-Italic__":".SFNSDisplay-SemiboldItalic|SFProDisplay-SemiboldItalic|SFUIDisplay-SemiboldItalic|.SFUIDisplay-SemiboldItalic","__SF-UI-Display-Bold-Italic__":".SFNSDisplay-BoldItalic|SFProDisplay-BoldItalic|SFUIDisplay-BoldItalic|.SFUIDisplay-BoldItalic","__SF-UI-Display-Heavy-Italic__":".SFNSDisplay-HeavyItalic|SFProDisplay-HeavyItalic|SFUIDisplay-HeavyItalic|.SFUIDisplay-HeavyItalic","__SF-UI-Display-Black-Italic__":".SFNSDisplay-BlackItalic|SFProDisplay-BlackItalic|.SFUIDisplay-BlackItalic","__SF-UI-Text-Condensed-Regular__":".SFNSTextCondensed-Regular|SFUITextCondensed-Regular|.SFUITextCondensed-Regular","__SF-UI-Text-Condensed-Light__":".SFNSTextCondensed-Light|SFUITextCondensed-Light|.SFUITextCondensed-Light","__SF-UI-Text-Condensed-Medium__":".SFNSTextCondensed-Medium|SFUITextCondensed-Medium|.SFUITextCondensed-Medium","__SF-UI-Text-Condensed-Semibold__":".SFNSTextCondensed-Semibold|SFUITextCondensed-Semibold|.SFUITextCondensed-Semibold","__SF-UI-Text-Condensed-Bold__":".SFNSTextCondensed-Bold|SFUITextCondensed-Bold|.SFUITextCondensed-Bold","__SF-UI-Text-Condensed-Heavy__":".SFNSTextCondensed-Heavy|.SFUITextCondensed-Heavy","__SF-Compact-Rounded-Regular__":"SFCompactRounded-Regular|.SFCompactRounded-Regular","__SF-Compact-Rounded-Ultralight__":"SFCompactRounded-Ultralight|.SFCompactRounded-Ultralight","__SF-Compact-Rounded-Thin__":"SFCompactRounded-Thin|.SFCompactRounded-Thin","__SF-Compact-Rounded-Light__":"SFCompactRounded-Light|.SFCompactRounded-Light","__SF-Compact-Rounded-Medium__":"SFCompactRounded-Medium|.SFCompactRounded-Medium","__SF-Compact-Rounded-Semibold__":"SFCompactRounded-Semibold|.SFCompactRounded-Semibold","__SF-Compact-Rounded-Bold__":"SFCompactRounded-Bold|.SFCompactRounded-Bold","__SF-Compact-Rounded-Heavy__":"SFCompactRounded-Heavy|.SFCompactRounded-Heavy","__SF-Compact-Rounded-Black__":"SFCompactRounded-Black|.SFCompactRounded-Black"},kf=lC,uC="System Default",fC=class{constructor(){this.name="local",this.typefaces=[],this.byFamily=new Map,this.typefaceAliasBySelector=new Map,this.typefaceAliases=new Map,this.interTypefaceSelectors=new Set}getTypefaceByFamily(e){var t;return(t=this.byFamily.get(e))!=null?t:null}createTypeface(e){let t={family:e,fonts:[],source:this.name};return this.addTypeface(t),t}addTypeface(e){this.typefaces.push(e),this.byFamily.set(e.family,e)}importFonts(){let e=[];for(let i of Object.keys(kf)){let o=kf[i];if(!o)continue;let a=this.createTypeface(i);for(let s of Object.keys(o)){let l=o[s];if(!l)continue;let{selector:c,weight:u}=l,f={variant:s,selector:c,weight:u,typeface:a,status:"loaded"};a.fonts.push(f)}e.push(...a.fonts)}for(let[i,o]of Object.entries(cC))this.addTypefaceAlias(i,o);let{typeface:t,aliases:r}=this.getSystemTypeface();this.addTypeface(t);for(let[i,o]of r)this.addTypefaceAlias(i,o);e.push(...t.fonts);let n=this.importInterTypeface();return e.push(...n.fonts),e}importInterTypeface(){let e=[["Regular","Inter",400],["Thin","Inter-Thin",100],["Extra Light","Inter-ExtraLight",200],["Light","Inter-Light",300],["Medium","Inter-Medium",500],["Semibold","Inter-SemiBold",600],["Bold","Inter-Bold",700],["Extra Bold","Inter-ExtraBold",800],["Black","Inter-Black",900],["Thin Italic","Inter-ThinItalic",100],["Extra Light Italic","Inter-ExtraLightItalic",200],["Light Italic","Inter-LightItalic",300],["Italic","Inter-Italic",400],["Medium Italic","Inter-MediumItalic",500],["Semibold Italic","Inter-SemiBoldItalic",600],["Bold Italic","Inter-BoldItalic",700],["Extra Bold Italic","Inter-ExtraBoldItalic",800],["Black Italic","Inter-BlackItalic",900]],t=this.createTypeface("Inter");for(let r of e){let[n,i,o]=r,a={variant:n,selector:i,weight:o,typeface:t,style:/italic/i.test(i)?"italic":"normal"};t.fonts.push(a)}return t.fonts.forEach(r=>this.interTypefaceSelectors.add(r.selector)),t}addTypefaceAlias(e,t){this.typefaceAliases.set(e,t),this.typefaceAliasBySelector.set(t,e)}getSystemTypeface(){let e=this.workaroundChrome81and82("system-ui|-apple-system|BlinkMacSystemFont|Segoe UI|Roboto|Oxygen|Ubuntu|Cantarell|Fira Sans|Droid Sans|Helvetica Neue|sans-serif"),t={family:uC,fonts:[],source:this.name},r=new Map,n=[400,100,200,300,500,600,700,800,900],i=["normal","italic"];for(let o of i)for(let a of n){let s=dC(a,o),l=`__SystemDefault-${a}-${o}__`,c={variant:s,selector:l,style:o,weight:a,typeface:t,status:"loaded"};t.fonts.push(c),r.set(l,e)}return{typeface:t,aliases:r}}getTypefaceAliasBySelector(e){return this.typefaceAliasBySelector.get(e)||null}getTypefaceSelectorByAlias(e){return this.typefaceAliases.get(e)||null}isTypefaceAlias(e){return!!(e&&e.match(/^__.*__$/))}workaroundChrome81and82(e){if(oe){let t=oe.userAgent;if(!t.includes("Mac OS X 10_15")||!t.includes("Chrome/81")&&!t.includes("Chrome/82"))return e}return`Inter|${e}`}},_f={100:"Thin",200:"Extra Light",300:"Light",400:"Normal",500:"Medium",600:"Semi Bold",700:"Bold",800:"Extra Bold",900:"Black"};function dC(e,t){let r=t==="normal"?"Regular":"Italic";return e===400?r:t!=="normal"?`${_f[e]} ${r}`:`${_f[e]}`}var hC=class{constructor(){this.enabled=!1,this.bySelector=new Map,this.loadedSelectors=new Set,this.local=new fC,this.google=new nC,this.custom=new rC,this.bySelector=new Map,this.importLocalFonts();let e=this.getFontBySelector("Inter");ve(e,"Can\u2019t find Inter font"),this.defaultFont=e}addFont(e){this.bySelector.set(e.selector,e)}getAvailableFonts(){return Array.from(this.bySelector.values())}importLocalFonts(){this.local.importFonts().forEach(e=>{this.addFont(e),this.local.interTypefaceSelectors.has(e.selector)||this.loadFont(e)})}async importGoogleFonts(){if(!this.getGoogleFontsListPromise){this.getGoogleFontsListPromise=zt.fetchGoogleFontsList();let e=await this.getGoogleFontsListPromise;this.google.importFonts(e).forEach(t=>{this.addFont(t)})}return this.getGoogleFontsListPromise}importCustomFonts(e){this.bySelector.forEach((t,r)=>{r.startsWith(rr)&&this.bySelector.delete(r)}),this.custom.importFonts(e).forEach(t=>this.addFont(t))}getTypeface(e){return this[e.source].getTypefaceByFamily(e.family)}getFontBySelector(e,t=!0){return e.startsWith(rr)?this.custom.getFontBySelector(e,t):this.bySelector.get(e)}getDraftPropertiesBySelector(e){let t=this.getFontBySelector(e);if(t)return{style:t.style,weight:t.weight,variant:t.variant,family:t.typeface.family,source:t.typeface.source,category:t.category};let r=this.google.parseSelector(e);if(r){let n=Nd(r.variant);if(n)return{style:n.style,weight:n.weight,variant:r.variant,family:r.family,source:"google",category:void 0}}return null}isSelectorLoaded(e){return this.loadedSelectors.has(e)}async loadFont(e){return this.isSelectorLoaded(e.selector)?0:e.typeface.source==="local"?(this.local.interTypefaceSelectors.has(e.selector)&&Q1.default.env.NODE_ENV!=="test"&&await Wd(e.typeface.family,e.style,e.weight),this.loadedSelectors.add(e.selector),1):e.file?(await sC({family:e.typeface.family,url:e.file,weight:e.weight,style:e.style},document),this.loadedSelectors.add(e.selector),1):Promise.reject(`Unable to load font: ${e.selector}`)}async loadWebFontsFromSelectors(e){if(!this.enabled)return[];e.some(r=>r.startsWith(ya))&&await this.importGoogleFonts();let t=e.map(r=>this.bySelector.get(r)).filter(r=>!!r);return Promise.allSettled(t.map(r=>this.loadFont(r)))}async loadMissingFonts(e,t){let r=e.filter(i=>!Bt.isSelectorLoaded(i));if(r.length===0)return;await Bt.loadWebFontsFromSelectors(r),r.every(i=>Bt.isSelectorLoaded(i))&&t&&t()}},Bt=new hC;Promise.allSettled=Promise.allSettled||(e=>Promise.all(e.map(t=>t.then(r=>({status:"fulfilled",value:r})).catch(r=>({status:"rejected",reason:r})))));function pC(e=[],t=5e3){let r=e.filter(o=>!Bt.isSelectorLoaded(o)),[n,i]=h.useState(r.length?"loading":"done");return h.useEffect(()=>{if(!r.length)return;i("loading");let o=setTimeout(()=>{i("timeout")},t);Bt.loadWebFontsFromSelectors(r).then(()=>{clearTimeout(o),i("done")})},[e.join(", "),r.join(", ")]),n}function jd(e,t){return e.length===t.length&&e.every((r,n)=>r===t[n])}var u_=h.forwardRef(function(t,r){var n,i;let o=lr(),a=ur(t),s=L(null),l=r??s,{navigate:c,getRoute:u}=tn(),f=rn();Vf((n=t.preload)!=null?n:[]);let d=mi(),p=i1(t.__link),m=pC(t.fonts);an(t,l);let{fonts:y,__fromCanvasComponent:x}=t,v=L([]),b=!jd((i=v.current)!=null?i:[],y??[]);v.current=y,A(()=>{!b||!y||Bt.loadWebFontsFromSelectors(y).then(w=>{!x||!l.current||Z.current()!=="CANVAS"||!w.some(E=>E.status==="fulfilled"&&E.value===1)||nd(l.current)})},[y]);let g=Ba(),S=h.useCallback(w=>{let C=hi(w.target,l.current);if(w.metaKey||!c||!C)return;Id(c,C,g)&&w.preventDefault()},[c,g]);A(()=>{var w;(w=l.current)==null||w.addEventListener("click",S);let C=l.current;return()=>C?.removeEventListener("click",S)},[S]);let T=h.useMemo(()=>!t.rawHTML||d||!u||!f?t.rawHTML:zd(t.rawHTML,u,f,g),[t.rawHTML,u,d,f,g]);return h.createElement(mC,{...t,innerRef:l,layoutId:a,parentSize:o,fontLoadStatus:m,rawHTML:T,matchesCurrentRoute:p})}),mC=(()=>{var e;return e=class extends Dt{constructor(){super(...arguments),this.setElement=t=>{this.props.innerRef&&(this.props.innerRef.current=t),this.setLayerElement(t)},this.renderMain=t=>{K1.default.env.NODE_ENV!=="production"&&Oe.perf&&Oe.perf.nodeRender();let{font:r,visible:n,alignment:i,willChangeTransform:o,opacity:a,id:s,layoutId:l,className:c,transition:u,variants:f,name:d,__fromCanvasComponent:p,_initialStyle:m,widthType:y,heightType:x,_usesDOMRect:v,autoSize:b,style:g,fontLoadStatus:S,matchesCurrentRoute:T,preload:w,tabIndex:C,...E}=this.props;if(!n)return null;cr();let k=this.props.isEditable&&this.props.environment()==="CANVAS",I={outline:"none",display:"flex",flexDirection:"column",justifyContent:RC(this.props.verticalAlignment),opacity:k?0:a,flexShrink:0};if(m)for(let $ in m)$.startsWith("--framer")&&(I[$]=m[$]);let D={"data-framer-component-type":"Text","data-framer-name":d};b&&(D["data-framer-component-text-autosized"]="true"),this.collectLayout(I,t),fi(this.props,I),Oa(this.props,I),(I.opacity===1||I.opacity===void 0)&&delete I.opacity,o&&ui(I);let z=this.props.rawHTML,M=this.getOverrideText()||this.props.text;me(M)&&(z?z=EC(z,M):z=`<p style="font: ${r}">${M}</p>`),this.props.style&&Object.assign(I,this.props.style);let _=this.transformTemplate;if(_&&Object.assign(D,Pa(this.props.center)),z){I.lineHeight="1px",I.fontSize="0px",Z.current()==="CANVAS"&&S==="loading"&&(I.visibility="hidden"),Z.current()==="CANVAS"&&S==="timeout"&&(I.backgroundColor="rgba(255, 0, 0, 0.3)"),Object.assign(I,g),i&&(I["--framer-text-alignment"]=i);let $=kC(C);return h.createElement(Pe.div,{layoutId:l,id:s,...$,...D,...E,style:I,transformTemplate:_,dangerouslySetInnerHTML:{__html:z},"data-center":this.props.center,className:di(c,T&&"isCurrent"),transition:u,variants:f,ref:this.setElement})}}}get frame(){return sr(this.props,this.props.parentSize||0,!1)}getOverrideText(){let{_forwardedOverrideId:t,_forwardedOverrides:r,id:n}=this.props,i=t??n;if(i&&r){let o=r[i];if(me(o))return o}}render(){return h.createElement(Nt.Consumer,null,this.renderMain)}collectLayout(t,r){if(this.props.withExternalLayout)return;let n=this.frame,{rotation:i,autoSize:o,positionSticky:a,positionStickyTop:s,positionStickyRight:l,positionStickyBottom:c,positionStickyLeft:u,width:f,height:d,_usesDOMRect:p,positionFixed:m,positionAbsolute:y}=this.props,x=ce.getNumber(i);if(n&&!(p&&(f==="auto"||d==="auto"))&&Z.hasRestrictions())Object.assign(t,{transform:`translate(${n.x}px, ${n.y}px) rotate(${x.toFixed(4)}deg)`,width:o?"auto":`${n.width}px`,minWidth:`${n.width}px`,height:`${n.height}px`});else{let{left:g,right:S,top:T,bottom:w}=this.props,C,E;o?(C="auto",E="auto"):((!V(g)||!V(S))&&(C=f),(!V(T)||!V(w))&&(E=d)),Object.assign(t,{left:g,right:S,top:T,bottom:w,width:C,height:E,rotate:x})}let b=Z.current()==="CANVAS";a?(!b||r)&&(t.position="sticky",t.willChange="transform",t.zIndex=1,t.top=s,t.right=l,t.bottom=c,t.left=u):b&&(m||y)&&t.position}get transformTemplate(){let{_usesDOMRect:t,widthType:r,heightType:n,__fromCanvasComponent:i}=this.props;if(this.props.transformTemplate)return this.props.transformTemplate;let o=this.frame,a=t&&(r===2||n===2);if(!o||!Z.hasRestrictions()||i||a)return on(this.props.center)}},e.supportsConstraints=!0,e.defaultTextProps={opacity:void 0,left:void 0,right:void 0,top:void 0,bottom:void 0,_constraints:{enabled:!0,aspectRatio:null},rotation:0,visible:!0,alignment:void 0,verticalAlignment:"top",shadows:[],font:"16px "+hb()},e.defaultProps={...Dt.defaultProps,...e.defaultTextProps,isEditable:!1,environment:Z.current,withExternalLayout:!1,fontLoadStatus:"loading"},e})(),vC="(?:<a[^>]*>)?",gC="(?:</a>)?",yC="<[^>]+>",xC="</[^>]+>",bC="<(?:div|span)[^>]*>",SC="</(?:div|span)>",wC="<[^>]+>",CC="</[^>]+>",TC=new RegExp(`^(${vC}${yC}${bC}${wC}).*?(${CC}).*?(${SC}${xC}${gC})$`,"s");function EC(e,t){return e.replace(TC,(r,n,i,o)=>n+t+i+"<br>"+o)}function RC(e){switch(e){case"top":return"flex-start";case"center":return"center";case"bottom":return"flex-end"}}function kC(e){return e===void 0?{}:{tabIndex:e}}var f_=he(Je(),1);var si=class{constructor(e){this.__class="PathSegment",this.x=0,this.y=0,this.handleMirroring="straight",this.handleOutX=0,this.handleOutY=0,this.handleInX=0,this.handleInY=0,this.radius=0,e&&Object.assign(this,e)}merge(e){return Object.assign(Object.create(Object.getPrototypeOf(this)),this,e)}};si.displayName="WithClassDiscriminatorMixin(PathSegment)";si.prototype.__class="PathSegment";(e=>{e.point=t=>({x:t.x,y:t.y}),e.handleOut=t=>({x:t.handleOutX,y:t.handleOutY}),e.handleIn=t=>({x:t.handleInX,y:t.handleInY}),e.calculatedHandleOut=t=>{switch(t.handleMirroring){case"symmetric":case"disconnected":case"asymmetric":return Lt.add((0,e.point)(t),(0,e.handleOut)(t));default:return{x:t.x,y:t.y}}},e.calculatedHandleIn=t=>{switch(t.handleMirroring){case"symmetric":return Lt.subtract((0,e.point)(t),(0,e.handleOut)(t));case"disconnected":case"asymmetric":return Lt.add((0,e.point)(t),(0,e.handleIn)(t));default:return(0,e.point)(t)}},e.curveDefault=(t,r)=>{if(t.length>2){let n,i;r===0?n=t[t.length-1]:n=t[r-1],r===t.length-1?i=t[0]:i=t[r+1],ve(n,"pointBefore should be defined"),ve(i,"pointAfter should be defined");let o=Lt.subtract((0,e.point)(i),(0,e.point)(n));return{x:o.x/4,y:o.y/4}}return{x:10,y:10}}})(si||(si={}));var m_=he(Je(),1);var er=class{constructor(){this.canvas={children:[]},this.listeners=[],this.ids=[]}static shared(e){if(e){let t=new er;return t.setCanvas(e),t}return er.__shared||(er.__shared=new er),er.__shared}updateNode(e){let t=e.props.id,r=this.canvas.children;r||(this.canvas.children=r=[]);let n=!1;for(let i=0;i<r.length;i++){let o=r[i];if(o?.props.id===t){n=!0,r[i]=e;break}}n||r.push(e),this.setCanvas(this.canvas)}setCanvas(e){e.children&&(this.canvas=e,this.listeners.forEach((t,r)=>{let n=this.ids[r];if(!n)return;let i=xa(e,n);t.setState({data:i})}))}registerListener(e,t){return this.listeners.push(e),this.ids.push(t),xa(this.canvas,t)}removeListener(e){let t=this.listeners.indexOf(e);t!==-1&&(this.listeners.splice(t,1),this.ids.splice(t,1))}},_C=er;_C.__shared=null;function Pf(e,t){let{name:r,props:n}=t;return n&&n.id===e||r===e}function xa(e,t){if(!e)return null;if(Pf(t,e))return e;let{children:r}=e;if(!r||!ka(r))return null;for(let n of r)if(Pf(t,n))return n;for(let n of r){let i=xa(n,t);if(i)return i}return null}var PC=h.createContext(null),g_=PC.Provider,x_=h.forwardRef(function(t,r){var n;let{background:i,children:o,alt:a,...s}=t,l={...s.style};i&&delete l.background;let c=Pe[(n=t.as)!=null?n:"div"];return h.createElement(c,{...s,style:l,ref:r},i&&h.createElement(Xf,{image:i,alt:a}),o)});var IC={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},Gd=/[&<>"']/g,FC=RegExp(Gd.source);function If(e){return e&&FC.test(e)?e.replace(Gd,t=>IC[t]):e||""}var Ff="{{ text-placeholder }}",MC="rich-text-wrapper",LC=ye(function(t,r){var n,i;let{id:o,name:a,html:s,htmlFromDesign:l,text:c,textFromDesign:u,fonts:f=[],width:d,height:p,left:m,right:y,top:x,bottom:v,center:b,className:g,stylesPresetsClassName:S,visible:T=!0,opacity:w,rotation:C=0,verticalAlignment:E="top",isEditable:k=!1,willChangeTransform:F,environment:I=Z.current,withExternalLayout:D=!1,positionSticky:z,positionStickyTop:M,positionStickyRight:_,positionStickyBottom:$,positionStickyLeft:R,__htmlStructure:j,__fromCanvasComponent:J=!1,_forwardedOverrideId:U,_forwardedOverrides:B,_usesDOMRect:re,children:Y,...G}=t,K=lr(),Ae=ur(t),Se=L(null),we=r??Se,{navigate:ot,getRoute:ze}=tn(),Fe=rn();Vf((n=t.preload)!=null?n:[]),an(t,we);let ln=P(Nt),bt=mi(),vi=c,Na=U??o;if(Na&&B){let Ee=B[Na];typeof Ee=="string"&&(vi=Ee)}let St="";if(vi){let Ee=If(vi);St=j?j.replace(Ff,Ee):`<p>${Ee}</p>`}else if(s)St=s;else if(u){let Ee=If(u);St=j?j.replace(Ff,Ee):`<p>${Ee}</p>`}else l&&(St=l);let cn=Ba(),qd=ee(()=>bt||!ze||!Fe?St:zd(St,ze,Fe,cn),[bt,St,ze,Fe,cn]);if(A(()=>{let Ee=we.current;if(Ee===null)return;function Wa(gi){let yi=hi(gi.target,we.current);if(gi.metaKey||!ot||!yi||yi.getAttribute("target")==="_blank")return;Id(ot,yi,cn)&&gi.preventDefault()}return Ee.addEventListener("click",Wa),()=>{Ee.removeEventListener("click",Wa)}},[ot,cn]),Yd(f,J,we),!T)return null;cr();let Zd=k&&I()==="CANVAS",te={outline:"none",display:"flex",flexDirection:"column",justifyContent:Xd(E),opacity:Zd?0:w,flexShrink:0},$a=Z.hasRestrictions(),wt=sr(t,K||0,!1),Ua=re&&(d==="auto"||p==="auto"),Jd=!!t.transformTemplate||!wt||!$a||J||Ua?(i=t.transformTemplate)!=null?i:on(b):void 0;if(!D){if(wt&&$a&&!Ua){let Ee=ce.getNumber(C).toFixed(4);te.transform=`translate(${wt.x}px, ${wt.y}px) rotate(${Ee}deg)`,te.width=wt.width,te.minWidth=wt.width,te.height=wt.height}else te.left=m,te.right=y,te.top=x,te.bottom=v,te.width=d,te.height=p,te.rotate=C;z?(!bt||ln)&&(te.position="sticky",te.willChange="transform",te.zIndex=1,te.top=M,te.right=_,te.bottom=$,te.left=R):bt&&(t.positionFixed||t.positionAbsolute)&&(te.position="absolute")}return fi(t,te),Oa(t,te),F&&ui(te),Object.assign(te,t.style),q(Pe.div,{id:o,ref:we,...G,style:te,layoutId:Ae,"data-framer-name":a,"data-framer-component-type":"DeprecatedRichText","data-center":b,className:di(g,S,MC),transformTemplate:Jd,dangerouslySetInnerHTML:{__html:qd}})});function Xd(e){switch(e){case"top":return"flex-start";case"center":return"center";case"bottom":return"flex-end"}}function Yd(e,t,r){let n=L([]);jd(n.current,e)||(n.current=e,Bt.loadWebFontsFromSelectors(e).then(i=>{if(!t||!r.current||Z.current()!=="CANVAS")return;i.some(a=>a.status==="fulfilled"&&a.value===1)&&nd(r.current)}))}var OC=ye((e,t)=>{var r;let{__fromCanvasComponent:n=!1,_forwardedOverrideId:i,_forwardedOverrides:o,_usesDOMRect:a,bottom:s,center:l,children:c,environment:u=Z.current,fonts:f=[],height:d,isEditable:p=!1,left:m,name:y,opacity:x,positionSticky:v,positionStickyBottom:b,positionStickyLeft:g,positionStickyRight:S,positionStickyTop:T,right:w,rotation:C=0,style:E,stylesPresetsClassNames:k,text:F,top:I,verticalAlignment:D="top",visible:z=!0,width:M,willChangeTransform:_,withExternalLayout:$=!1,...R}=e,j=lr(),J=mi(),U=P(Nt),B=ur(e),re=L(null),Y=t??re;if(an(e,Y),Yd(f,n,Y),!z)return null;cr();let G=p&&u()==="CANVAS",K={outline:"none",display:"flex",flexDirection:"column",justifyContent:Xd(D),opacity:G?0:x,flexShrink:0},Ae=Z.hasRestrictions(),Se=sr(e,j||0,!1),we=a&&(M==="auto"||d==="auto"),ze=!!e.transformTemplate||!Se||!Ae||n||we?(r=e.transformTemplate)!=null?r:on(l):void 0;if(!$){if(Se&&Ae&&!we){let Fe=ce.getNumber(C).toFixed(4);K.transform=`translate(${Se.x}px, ${Se.y}px) rotate(${Fe}deg)`,K.width=Se.width,K.minWidth=Se.width,K.height=Se.height}else K.left=m,K.right=w,K.top=I,K.bottom=s,K.width=M,K.height=d,K.rotate=C;v?(!J||U)&&(K.position="sticky",K.willChange="transform",K.zIndex=1,K.top=T,K.right=S,K.bottom=b,K.left=g):J&&(e.positionFixed||e.positionAbsolute)&&(K.position="absolute")}return fi(e,K),Oa(e,K),_&&ui(K),Object.assign(K,E),B&&(R.layout="preserve-aspect"),h.createElement(Pe.div,{...R,ref:Y,style:K,layoutId:B,transformTemplate:ze,"data-framer-name":y,"data-framer-component-type":"RichTextContainer"},c&&Kd(c,k,F))});function Kd(e,t,r){let n=hr.toArray(e.props.children);me(r)&&(n=n.slice(0,1)),n=n.map(a=>Ut(a)?Kd(a,t,r):me(r)?r:a);let{["data-preset-tag"]:i,...o}=e.props;if(me(e.type)||No(e.type)){let a=i||mu(e.type)||e.type,s=me(a)?t?.[a]:void 0;o.className=di("framer-text",o.className,s)}return Ct(e,o,...n)}var w_=ye(({children:e,html:t,htmlFromDesign:r,...n},i)=>{let o=t||e||r;if(me(o)){!n.stylesPresetsClassName&&yt(n.stylesPresetsClassNames)&&(n.stylesPresetsClassName=Object.values(n.stylesPresetsClassNames).join(" "));let a={[me(t)?"html":"htmlFromDesign"]:o};return h.createElement(LC,{...n,...a,ref:i})}if(Ut(o)){if(!n.stylesPresetsClassNames&&me(n.stylesPresetsClassName)){let[a,s,l,c,u]=n.stylesPresetsClassName.split(" ");a===void 0||s===void 0||l===void 0||c===void 0||u===void 0?console.warn(`Encountered invalid stylesPresetsClassNames: ${n.stylesPresetsClassNames}`):n.stylesPresetsClassNames={h1:a,h2:s,h3:l,p:c,a:u}}return h.createElement(OC,{...n,ref:i},o)}return null});function C_(e,t){Object.assign(e,{fonts:t})}function T_(e){return e.fonts||[]}var AC={name:"framer",version:"2.3.0",main:"build/index.js",type:"module",exports:{".":"./build/index.js","./package.json":"./package.json","./*":"./build/*"},files:["build","CHANGELOG.md","README.md","LICENSE.md","postinstall.cjs"],types:"./build/index.d.ts",author:"Framer",license:"MIT",scripts:{prepublishOnly:"make build",coverage:"yarn :jest --coverage",lint:"yarn :eslint ./src --ext .ts,.tsx --format codeframe --quiet","lint:fix":"yarn lint --fix",test:"yarn :jest",watch:"yarn :jest --watch",postinstall:"node postinstall.cjs"},dependencies:{"@juggle/resize-observer":"^3.3.1",eventemitter3:"^3.1.0",fontfaceobserver:"^2.1.0","hoist-non-react-statics":"^3.3.2",hsluv:"^0.0.3"},devDependencies:{"@framerjs/router":"workspace:src/router","@testing-library/dom":"^8.19.1","@testing-library/jest-dom":"^5.16.5","@testing-library/react":"^13.4.0","@testing-library/user-event":"^14.4.3","@types/google.fonts":"1.0.3","@types/hsluv":"https://github.com/framer/typed_hsluv#bump","@types/node":"^18.11.18","@types/react":"^18.0.26","@types/react-dom":"^18.0.10","@types/yargs":"^17.0.19","@typescript-eslint/eslint-plugin":"^5.48.0","@typescript-eslint/parser":"^5.48.0",chalk:"^4.1.2",eslint:"^8.31.0",immutable:"^3.8.2","jest-diff":"^29.3.1","jest-junit":"^15.0.0",react:"^18.2.0","react-dom":"^18.2.0",rollup:"^3.17.2","rollup-plugin-dts":"^5.1.0",semver:"^7.3.8",typescript:"^4.9.5",yargs:"^17.6.2"},peerDependencies:{"framer-motion":"10.11.4",react:"^18.2.0","react-dom":"^18.2.0"},tsdoc:{tsdocFlavor:"AEDoc"},framer:{components:[{name:"Scroll",children:!0,properties:[{key:"direction",title:"Direction",kind:"enum",options:["horizontal","vertical","both"]}]},{name:"Page"}]}},{version:R_}=AC;Bn.prototype.addChild=function({transformer:e=t=>t}){let t=le(e(this.get()));return this.onChange(r=>t.set(e(r))),t};/**
* @license Emotion v11.0.0
* MIT License
*
* Copyright (c) Emotion team and other contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*//*! Bundled license information:
react-is/cjs/react-is.production.min.js:
(** @license React v16.13.1
* react-is.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*)
*/export{h as a,hr as b,hn as c,Ct as d,q as e,rs as f,ye as g,Ti as h,ae as i,A as j,Tt as k,pr as l,ee as m,kh as n,L as o,Re as p,Me as q,W as r,Pe as s,ru as t,Jt as u,Be as v,Gg as w,au as x,lu as y,zo as z,uy as A,_E as B,ky as C,tn as D,H as E,Z as F,XE as G,L0 as H,JE as I,Px as J,eR as K,tR as L,di as M,mk as N,Sk as O,t1 as P,Tk as Q,Ek as R,Ad as S,Rk as T,l1 as U,kk as V,_k as W,Pk as X,Fk as Y,Ak as Z,Vk as _,Bk as $,Nk as aa,$k as ba,Yk as ca,Qk as da,Gr as ea,s_ as fa,Bt as ga,u_ as ha,x_ as ia,w_ as ja,C_ as ka,T_ as la};
//# sourceMappingURL=chunk-ZLFJQ64H.mjs.map