import{A as de,a as E,b as Tn,c as Se,d as En,e as Ki,f as pi,g as ye,h as ss,i as Fe,j as Rt,k as Pg,l as $u,m as Ze,n as N,o as L,p as V,q as Fr,r as ot,s as Ne,t as Q,v as M,w as Re,x as hn,y as ht,z as S}from"./chunk-5F744S32.mjs";import{a as jn,b as Rg,c as Yi,d as Tg,e as Eg,f as Fg,g as dt,h as R,i as fe,j as Rn,k as Nu,l as Ht}from"./chunk-HZL4YIMB.mjs";import{a as Cg,b as Be,c as F}from"./chunk-A3IIQ6X3.mjs";var _T=jn({"../../../node_modules/@emotion/memoize/dist/memoize.browser.cjs.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});function t(n){var r={};return function(i){return r[i]===void 0&&(r[i]=n(i)),r[i]}}e.default=t}}),OT=jn({"../../../node_modules/@emotion/is-prop-valid/dist/is-prop-valid.browser.cjs.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});function t(o){return o&&typeof o=="object"&&"default"in o?o.default:o}var n=t(_T()),r=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|itemProp|itemScope|itemType|itemID|itemRef|on|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,i=n(function(o){return r.test(o)||o.charCodeAt(0)===111&&o.charCodeAt(1)===110&&o.charCodeAt(2)<91});e.default=i}}),al={skipAnimations:!1,useManualTiming:!1},yt=e=>e;function LT(e){let t=new Set,n=new Set,r=!1,i=!1,o=new WeakSet,s={delta:0,timestamp:0,isProcessing:!1};function a(c){o.has(c)&&(l.schedule(c),e()),c(s)}let l={schedule:(c,u=!1,f=!1)=>{let h=f&&r?t:n;return u&&o.add(c),h.has(c)||h.add(c),c},cancel:c=>{n.delete(c),o.delete(c)},process:c=>{if(s=c,r){i=!0;return}r=!0,[t,n]=[n,t],n.clear(),t.forEach(a),r=!1,i&&(i=!1,l.process(c))}};return l}var cs=["read","resolveKeyframes","update","preRender","render","postRender"],VT=40;function ey(e,t){let n=!1,r=!0,i={delta:0,timestamp:0,isProcessing:!1},o=()=>n=!0,s=cs.reduce((g,m)=>(g[m]=LT(o),g),{}),{read:a,resolveKeyframes:l,update:c,preRender:u,render:f,postRender:d}=s,h=()=>{let g=al.useManualTiming?i.timestamp:performance.now();n=!1,i.delta=r?1e3/60:Math.max(Math.min(g-i.timestamp,VT),1),i.timestamp=g,i.isProcessing=!0,a.process(i),l.process(i),c.process(i),u.process(i),f.process(i),d.process(i),i.isProcessing=!1,n&&t&&(r=!1,e(h))},p=()=>{n=!0,r=!0,i.isProcessing||e(h)};return{schedule:cs.reduce((g,m)=>{let y=s[m];return g[m]=(x,k=!1,w=!1)=>(n||p(),y.schedule(x,k,w)),g},{}),cancel:g=>{for(let m=0;m(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,AT=1e-7,DT=12;function zT(e,t,n,r,i){let o,s,a=0;do s=t+(n-t)/2,o=ty(s,r,i)-e,o>0?n=s:t=s;while(Math.abs(o)>AT&&++azT(o,0,1,e,n);return o=>o===0||o===1?o:ty(i(o),t,r)}var Cf=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Rf=e=>t=>1-e(1-t),Tf=oo(.33,1.53,.69,.99),ll=Rf(Tf),Ef=Cf(ll),Ff=e=>(e*=2)<1?.5*ll(e):.5*(2-Math.pow(2,-10*(e-1))),cl=e=>1-Math.sin(Math.acos(e)),Pf=Rf(cl),If=Cf(cl),so=yt,en=yt,cr=(e,t,n)=>n>t?t:n({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Pr=ks("deg"),Hn=ks("%"),J=ks("px"),BT=ks("vh"),NT=ks("vw"),Ig={...Hn,parse:e=>Hn.parse(e)/100,transform:e=>Hn.transform(e*100)},ao={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},vs={...ao,transform:e=>cr(0,1,e)},Ga={...ao,default:1},ds=e=>Math.round(e*1e5)/1e5,Mf=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function $T(e){return e==null}var jT=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,_f=(e,t)=>n=>!!(typeof n=="string"&&jT.test(n)&&n.startsWith(e)||t&&!$T(n)&&Object.prototype.hasOwnProperty.call(n,t)),ny=(e,t,n)=>r=>{if(typeof r!="string")return r;let[i,o,s,a]=r.match(Mf);return{[e]:parseFloat(i),[t]:parseFloat(o),[n]:parseFloat(s),alpha:a!==void 0?parseFloat(a):1}},HT=e=>cr(0,255,e),ju={...ao,transform:e=>Math.round(HT(e))},yi={test:_f("rgb","red"),parse:ny("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+ju.transform(e)+", "+ju.transform(t)+", "+ju.transform(n)+", "+ds(vs.transform(r))+")"};function WT(e){let t="",n="",r="",i="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}var tf={test:_f("#"),parse:WT,transform:yi.transform},Qi={test:_f("hsl","hue"),parse:ny("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+Hn.transform(ds(t))+", "+Hn.transform(ds(n))+", "+ds(vs.transform(r))+")"},vt={test:e=>yi.test(e)||tf.test(e)||Qi.test(e),parse:e=>yi.test(e)?yi.parse(e):Qi.test(e)?Qi.parse(e):tf.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?yi.transform(e):Qi.transform(e)},UT=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function GT(e){var t,n;return isNaN(e)&&typeof e=="string"&&(((t=e.match(Mf))===null||t===void 0?void 0:t.length)||0)+(((n=e.match(UT))===null||n===void 0?void 0:n.length)||0)>0}var ry="number",iy="color",qT="var",XT="var(",Mg="${}",YT=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function ys(e){let t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[],o=0,a=t.replace(YT,l=>(vt.test(l)?(r.color.push(o),i.push(iy),n.push(vt.parse(l))):l.startsWith(XT)?(r.var.push(o),i.push(qT),n.push(l)):(r.number.push(o),i.push(ry),n.push(parseFloat(l))),++o,Mg)).split(Mg);return{values:n,split:a,indexes:r,types:i}}function oy(e){return ys(e).values}function sy(e){let{split:t,types:n}=ys(e),r=t.length;return i=>{let o="";for(let s=0;stypeof e=="number"?0:e;function QT(e){let t=oy(e);return sy(e)(t.map(KT))}var ur={test:GT,parse:oy,createTransformer:sy,getAnimatableNone:QT},Fn=e=>e*1e3,Wn=e=>e/1e3,Hu=.001,ZT=.01,_g=10,JT=.05,eE=1;function ay({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let i,o;so(e<=Fn(_g),"Spring duration must be 10 seconds or less");let s=1-t;s=cr(JT,eE,s),e=cr(ZT,_g,Wn(e)),s<1?(i=c=>{let u=c*s,f=u*e,d=u-n,h=nf(c,s),p=Math.exp(-f);return Hu-d/h*p},o=c=>{let f=c*s*e,d=f*n+n,h=Math.pow(s,2)*Math.pow(c,2)*e,p=Math.exp(-f),v=nf(Math.pow(c,2),s);return(-i(c)+Hu>0?-1:1)*((d-h)*p)/v}):(i=c=>{let u=Math.exp(-c*e),f=(c-n)*e+1;return-Hu+u*f},o=c=>{let u=Math.exp(-c*e),f=(n-c)*(e*e);return u*f});let a=5/e,l=nE(i,o,a);if(e=Fn(e),isNaN(l))return{stiffness:100,damping:10,duration:e};{let c=Math.pow(l,2)*r;return{stiffness:c,damping:s*2*Math.sqrt(r*c),duration:e}}}var tE=12;function nE(e,t,n){let r=n;for(let i=1;ie[n]!==void 0)}function sE(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!Og(e,oE)&&Og(e,iE)){let n=ay(e);t={...t,...n,mass:1},t.isResolvedFromDuration=!0}return t}function Cs({keyframes:e,restDelta:t,restSpeed:n,...r}){let i=e[0],o=e[e.length-1],s={done:!1,value:i},{stiffness:a,damping:l,mass:c,duration:u,velocity:f,isResolvedFromDuration:d}=sE({...r,velocity:-Wn(r.velocity||0)}),h=f||0,p=l/(2*Math.sqrt(a*c)),v=o-i,b=Wn(Math.sqrt(a/c)),g=Math.abs(v)<5;n||(n=g?.01:2),t||(t=g?.005:.5);let m;if(p<1){let y=nf(b,p);m=x=>{let k=Math.exp(-p*b*x);return o-k*((h+p*b*v)/y*Math.sin(y*x)+v*Math.cos(y*x))}}else if(p===1)m=y=>o-Math.exp(-b*y)*(v+(h+b*v)*y);else{let y=b*Math.sqrt(p*p-1);m=x=>{let k=Math.exp(-p*b*x),w=Math.min(y*x,300);return o-k*((h+p*b*v)*Math.sinh(w)+y*v*Math.cosh(w))/y}}return{calculatedDuration:d&&u||null,next:y=>{let x=m(y);if(d)s.done=y>=u;else{let k=0;p<1&&(k=y===0?Fn(h):ly(m,y,x));let w=Math.abs(k)<=n,C=Math.abs(o-x)<=t;s.done=w&&C}return s.value=s.done?o:x,s}}}function rf({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:o=500,modifyTarget:s,min:a,max:l,restDelta:c=.5,restSpeed:u}){let f=e[0],d={done:!1,value:f},h=T=>a!==void 0&&Tl,p=T=>a===void 0?l:l===void 0||Math.abs(a-T)-v*Math.exp(-T/r),y=T=>g+m(T),x=T=>{let I=m(T),P=y(T);d.done=Math.abs(I)<=c,d.value=d.done?g:P},k,w,C=T=>{h(d.value)&&(k=T,w=Cs({keyframes:[d.value,p(d.value)],velocity:ly(y,T,d.value),damping:i,stiffness:o,restDelta:c,restSpeed:u}))};return C(0),{calculatedDuration:null,next:T=>{let I=!1;return!w&&k===void 0&&(I=!0,x(T),C(T)),k!==void 0&&T>=k?w.next(T-k):(!I&&x(T),d)}}}var cy=oo(.42,0,1,1),uy=oo(0,0,.58,1),Lf=oo(.42,0,.58,1),aE=(e,t)=>n=>t(e(n)),Un=(...e)=>e.reduce(aE),fr=(e,t,n)=>{let r=t-e;return r===0?1:(n-e)/r},Me=(e,t,n)=>e+(t-e)*n;function Wu(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function lE({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,o=0,s=0;if(!t)i=o=s=n;else{let a=n<.5?n*(1+t):n+t-n*t,l=2*n-a;i=Wu(l,a,e+1/3),o=Wu(l,a,e),s=Wu(l,a,e-1/3)}return{red:Math.round(i*255),green:Math.round(o*255),blue:Math.round(s*255),alpha:r}}function el(e,t){return n=>n>0?t:e}var Uu=(e,t,n)=>{let r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},cE=[tf,yi,Qi],uE=e=>cE.find(t=>t.test(e));function Lg(e){let t=uE(e);if(so(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`),!t)return!1;let n=t.parse(e);return t===Qi&&(n=lE(n)),n}var Vg=(e,t)=>{let n=Lg(e),r=Lg(t);if(!n||!r)return el(e,t);let i={...n};return o=>(i.red=Uu(n.red,r.red,o),i.green=Uu(n.green,r.green,o),i.blue=Uu(n.blue,r.blue,o),i.alpha=Me(n.alpha,r.alpha,o),yi.transform(i))},fy=e=>t=>typeof t=="string"&&t.startsWith(e),dy=fy("--"),fE=fy("var(--"),Vf=e=>fE(e)?dE.test(e.split("/*")[0].trim()):!1,dE=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,of=new Set(["none","hidden"]);function hE(e,t){return of.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function pE(e,t){return n=>Me(e,t,n)}function Af(e){return typeof e=="number"?pE:typeof e=="string"?Vf(e)?el:vt.test(e)?Vg:vE:Array.isArray(e)?hy:typeof e=="object"?vt.test(e)?Vg:mE:el}function hy(e,t){let n=[...e],r=n.length,i=e.map((o,s)=>Af(o)(o,t[s]));return o=>{for(let s=0;s{for(let o in r)n[o]=r[o](i);return n}}function gE(e,t){var n;let r=[],i={color:0,var:0,number:0};for(let o=0;o{let n=ur.createTransformer(t),r=ys(e),i=ys(t);return r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length?of.has(e)&&!i.values.length||of.has(t)&&!r.values.length?hE(e,t):Un(hy(gE(r,i),i.values),n):(so(!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.`),el(e,t))};function Df(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?Me(e,t,n):Af(e)(e,t)}function yE(e,t,n){let r=[],i=n||Df,o=e.length-1;for(let s=0;st[0];if(o===2&&e[0]===e[1])return()=>t[1];e[0]>e[o-1]&&(e=[...e].reverse(),t=[...t].reverse());let s=yE(t,r,i),a=s.length,l=c=>{let u=0;if(a>1)for(;ul(cr(e[0],e[o-1],c)):l}var py=e=>Array.isArray(e)&&typeof e[0]!="number",zf=e=>Array.isArray(e)&&typeof e[0]=="number",Ag={linear:yt,easeIn:cy,easeInOut:Lf,easeOut:uy,circIn:cl,circInOut:If,circOut:Pf,backIn:ll,backInOut:Ef,backOut:Tf,anticipate:Ff},sf=e=>{if(zf(e)){en(e.length===4,"Cubic bezier arrays must contain four numerical values.");let[t,n,r,i]=e;return oo(t,n,r,i)}else if(typeof e=="string")return en(Ag[e]!==void 0,`Invalid easing type '${e}'`),Ag[e];return e};function my(e,t){let n=e[e.length-1];for(let r=1;r<=t;r++){let i=fr(0,t,r);e.push(Me(n,1,i))}}function Bf(e){let t=[0];return my(t,e.length-1),t}function bE(e,t){return e.map(n=>n*t)}function xE(e,t){return e.map(()=>t||Lf).splice(0,e.length-1)}function bs({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){let i=py(r)?r.map(sf):sf(r),o={done:!1,value:t[0]},s=bE(n&&n.length===t.length?n:Bf(t),e),a=lo(s,t,{ease:Array.isArray(i)?i:xE(t,i)});return{calculatedDuration:e,next:l=>(o.value=a(l),o.done=l>=e,o)}}var Rs=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Mr=new Set(Rs),wE=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),Dg=e=>e===ao||e===J,zg=(e,t)=>parseFloat(e.split(", ")[t]),Bg=(e,t)=>(n,{transform:r})=>{if(r==="none"||!r)return 0;let i=r.match(/^matrix3d\((.+)\)$/u);if(i)return zg(i[1],t);{let o=r.match(/^matrix\((.+)\)$/u);return o?zg(o[1],e):0}},SE=new Set(["x","y","z"]),kE=Rs.filter(e=>!SE.has(e));function CE(e){let t=[];return kE.forEach(n=>{let r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}var no={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:Bg(4,13),y:Bg(5,14)};no.translateX=no.x;no.translateY=no.y;var bi=new Set,af=!1,lf=!1;function gy(){if(lf){let e=Array.from(bi).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{let i=CE(r);i.length&&(n.set(r,i),r.render())}),e.forEach(r=>r.measureInitialState()),t.forEach(r=>{r.render();let i=n.get(r);i&&i.forEach(([o,s])=>{var a;(a=r.getValue(o))===null||a===void 0||a.set(s)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&F.scrollTo(0,r.suspendedScrollY)})}lf=!1,af=!1,bi.forEach(e=>e.complete()),bi.clear()}function vy(){bi.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(lf=!0)})}function RE(){vy(),gy()}var Nf=class{constructor(e,t,n,r,i,o=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=n,this.motionValue=r,this.element=i,this.isAsync=o}scheduleResolve(){this.isScheduled=!0,this.isAsync?(bi.add(this),af||(af=!0,G.read(vy),G.resolveKeyframes(gy))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:n,motionValue:r}=this;for(let i=0;i(Ka===void 0&&Gn.set(Xe.isProcessing||al.useManualTiming?Xe.timestamp:performance.now()),Ka),set:e=>{Ka=e,queueMicrotask(TE)}},tl={current:!1};function ul(e){return typeof e=="function"}var Ng=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(ur.test(e)||e==="0")&&!e.startsWith("url("));function EE(e){let t=e[0];if(e.length===1)return!0;for(let n=0;ne!==null;function fl(e,{repeat:t,repeatType:n="loop"},r){let i=e.filter(PE),o=t&&n!=="loop"&&t%2===1?0:i.length-1;return!o||r===void 0?i[o]:r}var IE=40,yy=class{constructor({autoplay:e=!0,delay:t=0,type:n="keyframes",repeat:r=0,repeatDelay:i=0,repeatType:o="loop",...s}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=Gn.now(),this.options={autoplay:e,delay:t,type:n,repeat:r,repeatDelay:i,repeatType:o,...s},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt?this.resolvedAt-this.createdAt>IE?this.resolvedAt:this.createdAt:this.createdAt}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&RE(),this._resolved}onKeyframesResolved(e,t){this.resolvedAt=Gn.now(),this.hasAttemptedResolve=!0;let{name:n,type:r,velocity:i,delay:o,onComplete:s,onUpdate:a,isGenerator:l}=this.options;if(!l&&!FE(e,n,r,i))if(tl.current||!o){a?.(fl(e,this.options,t)),s?.(),this.resolveFinishedPromise();return}else this.options.duration=0;let c=this.initPlayback(e,t);c!==!1&&(this._resolved={keyframes:e,finalKeyframe:t,...c},this.onPostResolved())}onPostResolved(){}then(e,t){return this.currentFinishedPromise.then(e,t)}updateFinishedPromise(){this.currentFinishedPromise=new Promise(e=>{this.resolveFinishedPromise=e})}},cf=2e4;function by(e){let t=0,n=50,r=e.next(t);for(;!r.done&&t=cf?1/0:t}var ME=e=>{let t=({timestamp:n})=>e(n);return{start:()=>G.update(t,!0),stop:()=>Et(t),now:()=>Xe.isProcessing?Xe.timestamp:Gn.now()}},_E={decay:rf,inertia:rf,tween:bs,keyframes:bs,spring:Cs},OE=e=>e/100,dl=class extends yy{constructor(e){super(e),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.teardown();let{onStop:a}=this.options;a&&a()};let{name:t,motionValue:n,element:r,keyframes:i}=this.options,o=r?.KeyframeResolver||Nf,s=(a,l)=>this.onKeyframesResolved(a,l);this.resolver=new o(i,s,t,n,r),this.resolver.scheduleResolve()}initPlayback(e){let{type:t="keyframes",repeat:n=0,repeatDelay:r=0,repeatType:i,velocity:o=0}=this.options,s=ul(t)?t:_E[t]||bs,a,l;s!==bs&&typeof e[0]!="number"&&(a=Un(OE,Df(e[0],e[1])),e=[0,100]);let c=s({...this.options,keyframes:e});i==="mirror"&&(l=s({...this.options,keyframes:[...e].reverse(),velocity:-o})),c.calculatedDuration===null&&(c.calculatedDuration=by(c));let{calculatedDuration:u}=c,f=u+r,d=f*(n+1)-r;return{generator:c,mirroredGenerator:l,mapPercentToKeyframes:a,calculatedDuration:u,resolvedDuration:f,totalDuration:d}}onPostResolved(){let{autoplay:e=!0}=this.options;this.play(),this.pendingPlayState==="paused"||!e?this.pause():this.state=this.pendingPlayState}tick(e,t=!1){let{resolved:n}=this;if(!n){let{keyframes:C}=this.options;return{done:!0,value:C[C.length-1]}}let{finalKeyframe:r,generator:i,mirroredGenerator:o,mapPercentToKeyframes:s,keyframes:a,calculatedDuration:l,totalDuration:c,resolvedDuration:u}=n;if(this.startTime===null)return i.next(0);let{delay:f,repeat:d,repeatType:h,repeatDelay:p,onUpdate:v}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-c/this.speed,this.startTime)),t?this.currentTime=e:this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=Math.round(e-this.startTime)*this.speed;let b=this.currentTime-f*(this.speed>=0?1:-1),g=this.speed>=0?b<0:b>c;this.currentTime=Math.max(b,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=c);let m=this.currentTime,y=i;if(d){let C=Math.min(this.currentTime,c)/u,T=Math.floor(C),I=C%1;!I&&C>=1&&(I=1),I===1&&T--,T=Math.min(T,d+1),!!(T%2)&&(h==="reverse"?(I=1-I,p&&(I-=p/u)):h==="mirror"&&(y=o)),m=cr(0,1,I)*u}let x=g?{done:!1,value:a[0]}:y.next(m);s&&(x.value=s(x.value));let{done:k}=x;!g&&l!==null&&(k=this.speed>=0?this.currentTime>=c:this.currentTime<=0);let w=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&k);return w&&r!==void 0&&(x.value=fl(a,this.options,r)),v&&v(x.value),w&&this.finish(),x}get duration(){let{resolved:e}=this;return e?Wn(e.calculatedDuration):0}get time(){return Wn(this.currentTime)}set time(e){e=Fn(e),this.currentTime=e,this.holdTime!==null||this.speed===0?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.speed)}get speed(){return this.playbackSpeed}set speed(e){let t=this.playbackSpeed!==e;this.playbackSpeed=e,t&&(this.time=Wn(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;let{driver:e=ME,onPlay:t,startTime:n}=this.options;this.driver||(this.driver=e(i=>this.tick(i))),t&&t();let r=this.driver.now();this.holdTime!==null?this.startTime=r-this.holdTime:this.startTime?this.state==="finished"&&(this.startTime=r):this.startTime=n??this.calcStartTime(),this.state==="finished"&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var e;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=(e=this.currentTime)!==null&&e!==void 0?e:0}complete(){this.state!=="running"&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";let{onComplete:e}=this.options;e&&e()}cancel(){this.cancelTime!==null&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}};function $f(e){return new dl(e)}var xy=e=>/^0[^.\s]+$/u.test(e);function LE(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||xy(e):!0}var wy=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),VE=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function AE(e){let t=VE.exec(e);if(!t)return[,];let[,n,r,i]=t;return[`--${n??r}`,i]}var DE=4;function Sy(e,t,n=1){en(n<=DE,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);let[r,i]=AE(e);if(!r)return;let o=F.getComputedStyle(t).getPropertyValue(r);if(o){let s=o.trim();return wy(s)?parseFloat(s):s}return Vf(i)?Sy(i,t,n+1):i}var ky=e=>t=>t.test(e),zE={test:e=>e==="auto",parse:e=>e},Cy=[ao,J,Hn,Pr,NT,BT,zE],$g=e=>Cy.find(ky(e)),BE=new Set(["brightness","contrast","saturate","opacity"]);function NE(e){let[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;let[r]=n.match(Mf)||[];if(!r)return e;let i=n.replace(r,""),o=BE.has(t)?1:0;return r!==n&&(o*=100),t+"("+o+i+")"}var $E=/\b([a-z-]*)\(.*?\)/gu,uf={...ur,getAnimatableNone:e=>{let t=e.match($E);return t?t.map(NE).join(" "):e}},jE={borderWidth:J,borderTopWidth:J,borderRightWidth:J,borderBottomWidth:J,borderLeftWidth:J,borderRadius:J,radius:J,borderTopLeftRadius:J,borderTopRightRadius:J,borderBottomRightRadius:J,borderBottomLeftRadius:J,width:J,maxWidth:J,height:J,maxHeight:J,top:J,right:J,bottom:J,left:J,padding:J,paddingTop:J,paddingRight:J,paddingBottom:J,paddingLeft:J,margin:J,marginTop:J,marginRight:J,marginBottom:J,marginLeft:J,backgroundPositionX:J,backgroundPositionY:J},HE={rotate:Pr,rotateX:Pr,rotateY:Pr,rotateZ:Pr,scale:Ga,scaleX:Ga,scaleY:Ga,scaleZ:Ga,skew:Pr,skewX:Pr,skewY:Pr,distance:J,translateX:J,translateY:J,translateZ:J,x:J,y:J,z:J,perspective:J,transformPerspective:J,opacity:vs,originX:Ig,originY:Ig,originZ:J},jg={...ao,transform:Math.round},jf={...jE,...HE,zIndex:jg,size:J,fillOpacity:vs,strokeOpacity:vs,numOctaves:jg},WE={...jf,color:vt,backgroundColor:vt,outlineColor:vt,fill:vt,stroke:vt,borderColor:vt,borderTopColor:vt,borderRightColor:vt,borderBottomColor:vt,borderLeftColor:vt,filter:uf,WebkitFilter:uf},Hf=e=>WE[e];function Ry(e,t){let n=Hf(e);return n!==uf&&(n=ur),n.getAnimatableNone?n.getAnimatableNone(t):void 0}var UE=new Set(["auto","none","0"]);function GE(e,t,n){let r=0,i;for(;r{t.getValue(a).set(l)}),this.resolveNoneKeyframes()}},Ey=new Set(["opacity","clipPath","filter","transform"]),qE=10,XE=(e,t)=>{let n="",r=Math.max(Math.round(t/qE),2);for(let i=0;i(t===void 0&&(t=e()),t)}var YE={linearEasing:void 0};function KE(e,t){let n=Wf(e);return()=>{var r;return(r=YE[t])!==null&&r!==void 0?r:n()}}var nl=KE(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing");function Fy(e){return!!(typeof e=="function"&&nl()||!e||typeof e=="string"&&(e in ff||nl())||zf(e)||Array.isArray(e)&&e.every(Fy))}var us=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,ff={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:us([0,.65,.55,1]),circOut:us([.55,0,1,.45]),backIn:us([.31,.01,.66,-.59]),backOut:us([.33,1.53,.69,.99])};function Py(e,t){if(e)return typeof e=="function"&&nl()?XE(e,t):zf(e)?us(e):Array.isArray(e)?e.map(n=>Py(n,t)||ff.easeOut):ff[e]}function QE(e,t,n,{delay:r=0,duration:i=300,repeat:o=0,repeatType:s="loop",ease:a,times:l}={}){let c={[t]:n};l&&(c.offset=l);let u=Py(a,i);return Array.isArray(u)&&(c.easing=u),e.animate(c,{delay:r,duration:i,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:o+1,direction:s==="reverse"?"alternate":"normal"})}function Hg(e,t){e.timeline=t,e.onfinish=null}var ZE=Wf(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),rl=10,JE=2e4;function eF(e){return ul(e.type)||e.type==="spring"||!Fy(e.ease)}function tF(e,t){let n=new dl({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0}),r={done:!1,value:e[0]},i=[],o=0;for(;!r.done&&othis.onKeyframesResolved(o,s),t,n,r),this.resolver.scheduleResolve()}initPlayback(e,t){var n;let{duration:r=300,times:i,ease:o,type:s,motionValue:a,name:l,startTime:c}=this.options;if(!(!((n=a.owner)===null||n===void 0)&&n.current))return!1;if(typeof o=="string"&&nl()&&nF(o)&&(o=Iy[o]),eF(this.options)){let{onComplete:f,onUpdate:d,motionValue:h,element:p,...v}=this.options,b=tF(e,v);e=b.keyframes,e.length===1&&(e[1]=e[0]),r=b.duration,i=b.times,o=b.ease,s="keyframes"}let u=QE(a.owner.current,l,e,{...this.options,duration:r,times:i,ease:o});return u.startTime=c??this.calcStartTime(),this.pendingTimeline?(Hg(u,this.pendingTimeline),this.pendingTimeline=void 0):u.onfinish=()=>{let{onComplete:f}=this.options;a.set(fl(e,this.options,t)),f&&f(),this.cancel(),this.resolveFinishedPromise()},{animation:u,duration:r,times:i,type:s,ease:o,keyframes:e}}get duration(){let{resolved:e}=this;if(!e)return 0;let{duration:t}=e;return Wn(t)}get time(){let{resolved:e}=this;if(!e)return 0;let{animation:t}=e;return Wn(t.currentTime||0)}set time(e){let{resolved:t}=this;if(!t)return;let{animation:n}=t;n.currentTime=Fn(e)}get speed(){let{resolved:e}=this;if(!e)return 1;let{animation:t}=e;return t.playbackRate}set speed(e){let{resolved:t}=this;if(!t)return;let{animation:n}=t;n.playbackRate=e}get state(){let{resolved:e}=this;if(!e)return"idle";let{animation:t}=e;return t.playState}get startTime(){let{resolved:e}=this;if(!e)return null;let{animation:t}=e;return t.startTime}attachTimeline(e){if(!this._resolved)this.pendingTimeline=e;else{let{resolved:t}=this;if(!t)return yt;let{animation:n}=t;Hg(n,e)}return yt}play(){if(this.isStopped)return;let{resolved:e}=this;if(!e)return;let{animation:t}=e;t.playState==="finished"&&this.updateFinishedPromise(),t.play()}pause(){let{resolved:e}=this;if(!e)return;let{animation:t}=e;t.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.resolveFinishedPromise(),this.updateFinishedPromise();let{resolved:e}=this;if(!e)return;let{animation:t,keyframes:n,duration:r,type:i,ease:o,times:s}=e;if(t.playState==="idle"||t.playState==="finished")return;if(this.time){let{motionValue:l,onUpdate:c,onComplete:u,element:f,...d}=this.options,h=new dl({...d,keyframes:n,duration:r,type:i,ease:o,times:s,isGenerator:!0}),p=Fn(this.time);l.setWithVelocity(h.sample(p-rl).value,h.sample(p).value,rl)}let{onStop:a}=this.options;a&&a(),this.cancel()}complete(){let{resolved:e}=this;e&&e.animation.finish()}cancel(){let{resolved:e}=this;e&&e.animation.cancel()}static supports(e){let{motionValue:t,name:n,repeatDelay:r,repeatType:i,damping:o,type:s}=e;return ZE()&&n&&Ey.has(n)&&t&&t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate&&!r&&i!=="mirror"&&o!==0&&s!=="inertia"}};function Uf(e,t){e.indexOf(t)===-1&&e.push(t)}function hl(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function rF([...e],t,n){let r=t<0?e.length+t:t;if(r>=0&&rhl(this.subscriptions,e)}notify(e,t,n){let r=this.subscriptions.length;if(r)if(r===1)this.subscriptions[0](e,t,n);else for(let i=0;i!isNaN(parseFloat(e)),hs={current:void 0},pl=class{constructor(e,t={}){this.version="11.11.7",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(n,r=!0)=>{let i=Gn.now();this.updatedAt!==i&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(n),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),r&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=Gn.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=iF(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new Gf);let n=this.events[e].add(t);return e==="change"?()=>{n(),G.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e,t=!0){!t||!this.passiveEffect?this.updateAndNotify(e,t):this.passiveEffect(e,this.updateAndNotify)}setWithVelocity(e,t,n){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-n}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return hs.current&&hs.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let e=Gn.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>Wg)return 0;let t=Math.min(this.updatedAt-this.prevUpdatedAt,Wg);return Of(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}};function Ae(e,t){return new pl(e,t)}var ml=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),oF="framerAppearId",gl="data-"+ml(oF),De=e=>!!(e&&e.getVelocity);function Ug(e){let t=[{},{}];return e?.values.forEach((n,r)=>{t[0][r]=n.get(),t[1][r]=n.getVelocity()}),t}function qf(e,t,n,r){if(typeof t=="function"){let[i,o]=Ug(r);t=t(n!==void 0?n:e.custom,i,o)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){let[i,o]=Ug(r);t=t(n!==void 0?n:e.custom,i,o)}return t}function vl(e,t,n){let r=e.getProps();return qf(r,t,n!==void 0?n:r.custom,e)}var sF={type:"spring",stiffness:500,damping:25,restSpeed:10},aF=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),lF={type:"keyframes",duration:.8},cF={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},uF=(e,{keyframes:t})=>t.length>2?lF:Mr.has(e)?e.startsWith("scale")?aF(t[1]):sF:cF;function Xf(e,t){return e?e[t]||e.default||e:void 0}var My=Wf(()=>F.ScrollTimeline!==void 0),_y=class{constructor(e){this.stop=()=>this.runAll("stop"),this.animations=e.filter(Boolean)}then(e,t){return Promise.all(this.animations).then(e).catch(t)}getAll(e){return this.animations[0][e]}setAll(e,t){for(let n=0;nMy()&&r.attachTimeline?r.attachTimeline(e):t(r));return()=>{n.forEach((r,i)=>{r&&r(),this.animations[i].stop()})}}get time(){return this.getAll("time")}set time(e){this.setAll("time",e)}get speed(){return this.getAll("speed")}set speed(e){this.setAll("speed",e)}get startTime(){return this.getAll("startTime")}get duration(){let e=0;for(let t=0;tt[e]())}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}};function fF({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:o,repeatType:s,repeatDelay:a,from:l,elapsed:c,...u}){return!!Object.keys(u).length}var Yf=(e,t,n,r={},i,o)=>s=>{let a=Xf(r,e)||{},l=a.delay||r.delay||0,{elapsed:c=0}=r;c=c-Fn(l);let u={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...a,delay:-c,onUpdate:d=>{t.set(d),a.onUpdate&&a.onUpdate(d)},onComplete:()=>{s(),a.onComplete&&a.onComplete()},name:e,motionValue:t,element:o?void 0:i};fF(a)||(u={...u,...uF(e,u)}),u.duration&&(u.duration=Fn(u.duration)),u.repeatDelay&&(u.repeatDelay=Fn(u.repeatDelay)),u.from!==void 0&&(u.keyframes[0]=u.from);let f=!1;if((u.type===!1||u.duration===0&&!u.repeatDelay)&&(u.duration=0,u.delay===0&&(f=!0)),(tl.current||al.skipAnimations)&&(f=!0,u.duration=0,u.delay=0),f&&!o&&t.get()!==void 0){let d=fl(u.keyframes,a);if(d!==void 0)return G.update(()=>{u.onUpdate(d),u.onComplete()}),new _y([])}return!o&&df.supports(u)?new df(u):new dl(u)},hf=e=>Array.isArray(e),dF=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),hF=e=>hf(e)?e[e.length-1]||0:e;function pF(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Ae(n))}function Kf(e,t){let n=vl(e,t),{transitionEnd:r={},transition:i={},...o}=n||{};o={...o,...r};for(let s in o){let a=hF(o[s]);pF(e,s,a)}}function Oy(e){return e.props[gl]}function mF(e){return!!(De(e)&&e.add)}function Ly(e){if(Mr.has(e))return"transform";if(Ey.has(e))return ml(e)}function pf(e,t){var n;if(!e.applyWillChange)return;let r=e.getValue("willChange");if(mF(r))return r.add(t);!(!((n=e.props.style)===null||n===void 0)&&n.willChange)&&Ly(t)&&e.setStaticValue("willChange","transform")}function gF({protectedKeys:e,needsAnimating:t},n){let r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function Qf(e,t,{delay:n=0,transitionOverride:r,type:i}={}){var o;let{transition:s=e.getDefaultTransition(),transitionEnd:a,...l}=t;r&&(s=r);let c=[],u=i&&e.animationState&&e.animationState.getState()[i];for(let f in l){let d=e.getValue(f,(o=e.latestValues[f])!==null&&o!==void 0?o:null),h=l[f];if(h===void 0||u&&gF(u,f))continue;let p={delay:n,...Xf(s||{},f)},v=!1;if(F.MotionHandoffAnimation){let g=Oy(e);if(g){let m=F.MotionHandoffAnimation(g,f,G);m!==null&&(p.startTime=m,v=!0)}}pf(e,f),d.start(Yf(f,d,h,e.shouldReduceMotion&&Mr.has(f)?{type:!1}:p,e,v));let b=d.animation;b&&c.push(b)}return a&&Promise.all(c).then(()=>{G.update(()=>{a&&Kf(e,a)})}),c}function mf(e,t,n={}){var r;let i=vl(e,t,n.type==="exit"?(r=e.presenceContext)===null||r===void 0?void 0:r.custom:void 0),{transition:o=e.getDefaultTransition()||{}}=i||{};n.transitionOverride&&(o=n.transitionOverride);let s=i?()=>Promise.all(Qf(e,i,n)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(c=0)=>{let{delayChildren:u=0,staggerChildren:f,staggerDirection:d}=o;return vF(e,t,u+c,f,d,n)}:()=>Promise.resolve(),{when:l}=o;if(l){let[c,u]=l==="beforeChildren"?[s,a]:[a,s];return c().then(()=>u())}else return Promise.all([s(),a(n.delay)])}function vF(e,t,n=0,r=0,i=1,o){let s=[],a=(e.variantChildren.size-1)*r,l=i===1?(c=0)=>c*r:(c=0)=>a-c*r;return Array.from(e.variantChildren).sort(yF).forEach((c,u)=>{c.notify("AnimationStart",t),s.push(mf(c,t,{...o,delay:n+l(u)}).then(()=>c.notify("AnimationComplete",t)))}),Promise.all(s)}function yF(e,t){return e.sortNodePosition(t)}function Zf(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){let i=t.map(o=>mf(e,o,n));r=Promise.all(i)}else if(typeof t=="string")r=mf(e,t,n);else{let i=typeof t=="function"?vl(e,t,n.custom):t;r=Promise.all(Qf(e,i,n))}return r.then(()=>{e.notify("AnimationComplete",t)})}function xs(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function Vy(e,t){if(!Array.isArray(t))return!1;let n=t.length;if(n!==e.length)return!1;for(let r=0;rPromise.all(t.map(({animation:n,options:r})=>Zf(e,n,r)))}function kF(e){let t=SF(e),n=Gg(),r=!0,i=l=>(c,u)=>{var f;let d=vl(e,u,l==="exit"?(f=e.presenceContext)===null||f===void 0?void 0:f.custom:void 0);if(d){let{transition:h,transitionEnd:p,...v}=d;c={...c,...v,...p}}return c};function o(l){t=l(e)}function s(l){let{props:c}=e,u=Ay(e.parent)||{},f=[],d=new Set,h={},p=1/0;for(let b=0;bp&&x,I=!1,P=Array.isArray(y)?y:[y],D=P.reduce(i(g),{});k===!1&&(D={});let{prevResolvedValues:H={}}=m,O={...H,...D},Y=U=>{T=!0,d.has(U)&&(I=!0,d.delete(U)),m.needsAnimating[U]=!0;let K=e.getValue(U);K&&(K.liveStyle=!1)};for(let U in O){let K=D[U],ce=H[U];if(h.hasOwnProperty(U))continue;let ge=!1;hf(K)&&hf(ce)?ge=!Vy(K,ce):ge=K!==ce,ge?K!=null?Y(U):d.add(U):K!==void 0&&d.has(U)?Y(U):m.protectedKeys[U]=!0}m.prevProp=y,m.prevResolvedValues=D,m.isActive&&(h={...h,...D}),r&&e.blockInitialAnimation&&(T=!1),T&&(!(w&&C)||I)&&f.push(...P.map(U=>({animation:U,options:{type:g}})))}if(d.size){let b={};d.forEach(g=>{let m=e.getBaseTarget(g),y=e.getValue(g);y&&(y.liveStyle=!0),b[g]=m??null}),f.push({animation:b})}let v=!!f.length;return r&&(c.initial===!1||c.initial===c.animate)&&!e.manuallyAnimateOnMount&&(v=!1),r=!1,v?t(f):Promise.resolve()}function a(l,c){var u;if(n[l].isActive===c)return Promise.resolve();(u=e.variantChildren)===null||u===void 0||u.forEach(d=>{var h;return(h=d.animationState)===null||h===void 0?void 0:h.setActive(l,c)}),n[l].isActive=c;let f=s(l);for(let d in n)n[d].protectedKeys={};return f}return{animateChanges:s,setActive:a,setAnimateFunction:o,getState:()=>n,reset:()=>{n=Gg(),r=!0}}}function CF(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!Vy(t,e):!1}function mi(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Gg(){return{animate:mi(!0),whileInView:mi(),whileHover:mi(),whileTap:mi(),whileDrag:mi(),whileFocus:mi(),exit:mi()}}var _r=class{constructor(e){this.isMounted=!1,this.node=e}update(){}},RF=class extends _r{constructor(e){super(e),e.animationState||(e.animationState=kF(e))}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();xs(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){var e;this.node.animationState.reset(),(e=this.unmountControls)===null||e===void 0||e.call(this)}},TF=0,EF=class extends _r{constructor(){super(...arguments),this.id=TF++}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===n)return;let r=this.node.animationState.setActive("exit",!e);t&&!e&&r.then(()=>t(this.id))}mount(){let{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}},yl={animation:{Feature:RF},exit:{Feature:EF}},Dy=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;function bl(e,t="page"){return{point:{x:e[`${t}X`],y:e[`${t}Y`]}}}var zy=e=>t=>Dy(t)&&e(t,bl(t));function lr(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}function qn(e,t,n,r){return lr(e,t,zy(n),r)}var gf=(e,t)=>Math.abs(e-t);function By(e,t){let n=gf(e.x,t.x),r=gf(e.y,t.y);return Math.sqrt(n**2+r**2)}function Ny(e){let t=null;return()=>{let n=()=>{t=null};return t===null?(t=e,n):!1}}var qg=Ny("dragHorizontal"),Xg=Ny("dragVertical");function $y(e){let t=!1;if(e==="y")t=Xg();else if(e==="x")t=qg();else{let n=qg(),r=Xg();n&&r?t=()=>{n(),r()}:(n&&n(),r&&r())}return t}function td(){let e=$y(!0);return e?(e(),!1):!0}var jy=1e-4,FF=1-jy,PF=1+jy,Hy=.01,IF=0-Hy,MF=0+Hy;function Wt(e){return e.max-e.min}function _F(e,t,n){return Math.abs(e-t)<=n}function Yg(e,t,n,r=.5){e.origin=r,e.originPoint=Me(t.min,t.max,e.origin),e.scale=Wt(n)/Wt(t),e.translate=Me(n.min,n.max,e.origin)-e.originPoint,(e.scale>=FF&&e.scale<=PF||isNaN(e.scale))&&(e.scale=1),(e.translate>=IF&&e.translate<=MF||isNaN(e.translate))&&(e.translate=0)}function ps(e,t,n,r){Yg(e.x,t.x,n.x,r?r.originX:void 0),Yg(e.y,t.y,n.y,r?r.originY:void 0)}function Kg(e,t,n){e.min=n.min+t.min,e.max=e.min+Wt(t)}function OF(e,t,n){Kg(e.x,t.x,n.x),Kg(e.y,t.y,n.y)}function Qg(e,t,n){e.min=t.min-n.min,e.max=e.min+Wt(t)}function ms(e,t,n){Qg(e.x,t.x,n.x),Qg(e.y,t.y,n.y)}var Zg=()=>({translate:0,scale:1,origin:0,originPoint:0}),Zi=()=>({x:Zg(),y:Zg()}),Jg=()=>({min:0,max:0}),$e=()=>({x:Jg(),y:Jg()}),co=ye(null);function xl(){let e=L(co);if(e===null)return[!0,null];let{isPresent:t,onExitComplete:n,register:r}=e,i=Fr();V(()=>r(i),[]);let o=N(()=>n&&n(i),[i,n]);return!t&&n?[!1,o]:[!0]}var Ss=ye({}),wl=ye({}),il={};function nd(e){Object.assign(il,e)}var LF=(e,t)=>e.depth-t.depth,Wy=class{constructor(){this.children=[],this.isDirty=!1}add(e){Uf(this.children,e),this.isDirty=!0}remove(e){hl(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(LF),this.isDirty=!1,this.children.forEach(e)}};function Tt(e){let t=De(e)?e.get():e;return dF(t)?t.toValue():t}function Uy(e,t){let n=Gn.now(),r=({timestamp:i})=>{let o=i-n;o>=t&&(Et(r),e(o-t))};return G.read(r,!0),()=>Et(r)}var dr=ye({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),Ts=ye({}),Sl=typeof F<"u",Or=Sl?Ne:V,Gy=ye({strict:!1}),{schedule:rd,cancel:y$}=ey(queueMicrotask,!1);function Ji(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function VF(e,t,n,r,i){var o,s;let{visualElement:a}=L(Ts),l=L(Gy),c=L(co),u=L(dr).reducedMotion,f=M();r=r||l.renderer,!f.current&&r&&(f.current=r(e,{visualState:t,parent:a,props:n,presenceContext:c,blockInitialAnimation:c?c.initial===!1:!1,reducedMotionConfig:u}));let d=f.current,h=L(wl);d&&!d.projection&&i&&(d.type==="html"||d.type==="svg")&&AF(f.current,n,i,h),ot(()=>{d&&d.update(n,c)});let p=n[gl],v=M(!!p&&!(!((o=F.MotionHandoffIsComplete)===null||o===void 0)&&o.call(F,p))&&((s=F.MotionHasOptimisedAnimation)===null||s===void 0?void 0:s.call(F,p)));return Or(()=>{d&&(F.MotionIsMounted=!0,d.updateFeatures(),rd.render(d.render),v.current&&d.animationState&&d.animationState.animateChanges())}),V(()=>{d&&(!v.current&&d.animationState&&d.animationState.animateChanges(),v.current&&(queueMicrotask(()=>{var b;(b=F.MotionHandoffMarkAsComplete)===null||b===void 0||b.call(F,p)}),v.current=!1))}),d}function AF(e,t,n,r){let{layoutId:i,layout:o,drag:s,dragConstraints:a,layoutScroll:l,layoutRoot:c}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:qy(e.parent)),e.projection.setOptions({layoutId:i,layout:o,alwaysMeasureLayout:!!s||a&&Ji(a),visualElement:e,animationType:typeof o=="string"?o:"both",initialPromotionConfig:r,layoutScroll:l,layoutRoot:c})}function qy(e){if(e)return e.options.allowProjection!==!1?e.projection:qy(e.parent)}function DF(e,t,n){return N(r=>{r&&e.mount&&e.mount(r),t&&(r?t.mount(r):t.unmount()),n&&(typeof n=="function"?n(r):Ji(n)&&(n.current=r))},[t])}function kl(e){return xs(e.animate)||ed.some(t=>ws(e[t]))}function Xy(e){return!!(kl(e)||e.variants)}function zF(e,t){if(kl(e)){let{initial:n,animate:r}=e;return{initial:n===!1||ws(n)?n:void 0,animate:ws(r)?r:void 0}}return e.inherit!==!1?t:{}}function BF(e){let{initial:t,animate:n}=zF(e,L(Ts));return Q(()=>({initial:t,animate:n}),[ev(t),ev(n)])}function ev(e){return Array.isArray(e)?e.join(" "):e}var tv={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"]},ro={};for(let e in tv)ro[e]={isEnabled:t=>tv[e].some(n=>!!t[n])};function NF(e){for(let t in e)ro[t]={...ro[t],...e[t]}}var id=Symbol.for("motionComponentSymbol");function Yy({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:r,Component:i}){e&&NF(e);function o(a,l){let c,u={...L(dr),...a,layoutId:$F(a)},{isStatic:f}=u,d=BF(a),h=r(a,f);if(!f&&Sl){jF(u,e);let p=HF(u);c=p.MeasureLayout,d.visualElement=VF(i,h,u,t,p.ProjectionNode)}return de(Ts.Provider,{value:d,children:[c&&d.visualElement?S(c,{visualElement:d.visualElement,...u}):null,n(i,a,DF(h,d.visualElement,l),h,f,d.visualElement)]})}let s=Fe(o);return s[id]=i,s}function $F({layoutId:e}){let t=L(Ss).id;return t&&e!==void 0?t+"-"+e:e}function jF(e,t){let n=L(Gy).strict}function HF(e){let{drag:t,layout:n}=ro;if(!t&&!n)return{};let r={...t,...n};return{MeasureLayout:t?.isEnabled(e)||n?.isEnabled(e)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}function Yn(e){let t=M(null);return t.current===null&&(t.current=e()),t.current}function WF({applyWillChange:e=!1,scrapeMotionValuesFromProps:t,createRenderState:n,onMount:r},i,o,s,a){let l={latestValues:UF(i,o,s,a?!1:e,t),renderState:n()};return r&&(l.mount=c=>r(i,c,l)),l}var Cl=e=>(t,n)=>{let r=L(Ts),i=L(co),o=()=>WF(e,t,r,i,n);return n?o():Yn(o)};function nv(e,t,n){let r=Array.isArray(t)?t:[t];for(let i=0;i{for(let g in v){let m=v[g];if(Array.isArray(m)){let y=h?m.length-1:0;m=m[y]}m!==null&&(s[g]=m)}for(let g in b)s[g]=b[g]}),a&&u&&c!==!1&&!xs(u)&&nv(e,u,v=>{for(let b in v)if(Ly(b)){s.willChange="transform";return}}),s}var Ky=(e,t)=>t&&typeof e=="number"?t.transform(e):e,GF={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},qF=Rs.length;function Qy(e,t,n){let r="",i=!0;for(let o=0;o!io(e);function Jy(e){e&&(Zy=t=>t.startsWith("on")?!io(t):e(t))}try{Jy(OT().default)}catch{}function e0(e,t,n){let r={};for(let i in e)i==="values"&&typeof e.values=="object"||(Zy(i)||n===!0&&io(i)||!t&&!io(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}var Xn=new WeakMap,ol={current:null},od={current:!1};function t0(){if(od.current=!0,!!Sl)if(F.matchMedia){let e=F.matchMedia("(prefers-reduced-motion)"),t=()=>ol.current=e.matches;e.addListener(t),t()}else ol.current=!1}function YF(e,t,n){for(let r in t){let i=t[r],o=n[r];if(De(i))e.addValue(r,i);else if(De(o))e.addValue(r,Ae(i,{owner:e}));else if(o!==i)if(e.hasValue(r)){let s=e.getValue(r);s.liveStyle===!0?s.jump(i):s.hasAnimated||s.set(i)}else{let s=e.getStaticValue(r);e.addValue(r,Ae(s!==void 0?s:i,{owner:e}))}}for(let r in n)t[r]===void 0&&e.removeValue(r);return t}var KF=[...Cy,vt,ur],QF=e=>KF.find(ky(e)),rv=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],sd=class{scrapeMotionValuesFromProps(e,t,n){return{}}constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:r,blockInitialAnimation:i,visualState:o},s={}){this.applyWillChange=!1,this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=Nf,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let f=Gn.now();this.renderScheduledAtthis.bindToMotionValue(n,t)),od.current||t0(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:ol.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){Xn.delete(this.current),this.projection&&this.projection.unmount(),Et(this.notifyUpdate),Et(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(let e in this.events)this.events[e].clear();for(let e in this.features){let t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}bindToMotionValue(e,t){this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)();let n=Mr.has(e),r=t.on("change",s=>{this.latestValues[e]=s,this.props.onUpdate&&G.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0)}),i=t.on("renderRequest",this.scheduleRender),o;F.MotionCheckAppearSync&&(o=F.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{r(),i(),o&&o(),t.owner&&t.stop()})}sortNodePosition(e){return!this.current||!this.sortInstanceNodePosition||this.type!==e.type?0:this.sortInstanceNodePosition(this.current,e.current)}updateFeatures(){let e="animation";for(e in ro){let t=ro[e];if(!t)continue;let{isEnabled:n,Feature:r}=t;if(!this.features[e]&&r&&n(this.props)&&(this.features[e]=new r(this)),this.features[e]){let i=this.features[e];i.isMounted?i.update():(i.mount(),i.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):$e()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let n=0;nt.variantChildren.delete(e)}addValue(e,t){let n=this.values.get(e);t!==n&&(n&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return n===void 0&&t!==void 0&&(n=Ae(t===null?void 0:t,{owner:this}),this.addValue(e,n)),n}readValue(e,t){var n;let r=this.latestValues[e]!==void 0||!this.current?this.latestValues[e]:(n=this.getBaseTargetFromProps(this.props,e))!==null&&n!==void 0?n:this.readValueFromInstance(this.current,e,this.options);return r!=null&&(typeof r=="string"&&(wy(r)||xy(r))?r=parseFloat(r):!QF(r)&&ur.test(t)&&(r=Ry(e,t)),this.setBaseTarget(e,De(r)?r.get():r)),De(r)?r.get():r}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){var t;let{initial:n}=this.props,r;if(typeof n=="string"||typeof n=="object"){let o=qf(this.props,n,(t=this.presenceContext)===null||t===void 0?void 0:t.custom);o&&(r=o[e])}if(n&&r!==void 0)return r;let i=this.getBaseTargetFromProps(this.props,e);return i!==void 0&&!De(i)?i:this.initialValues[e]!==void 0&&r===void 0?void 0:this.baseTarget[e]}on(e,t){return this.events[e]||(this.events[e]=new Gf),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}};function ZF(e){if(typeof Proxy>"u")return e;let t=new Map,n=(...r)=>e(...r);return new Proxy(n,{get:(r,i)=>i==="create"?e:(t.has(i)||t.set(i,e(i)),t.get(i))})}var n0=class{constructor(e,t,{transformPagePoint:n,contextWindow:r,dragSnapToOrigin:i=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=F,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let u=qu(this.lastMoveEventInfo,this.history),f=this.startEvent!==null,d=By(u.offset,{x:0,y:0})>=3;if(!f&&!d)return;let{point:h}=u,{timestamp:p}=Xe;this.history.push({...h,timestamp:p});let{onStart:v,onMove:b}=this.handlers;f||(v&&v(this.lastMoveEvent,u),this.startEvent=this.lastMoveEvent),b&&b(this.lastMoveEvent,u)},this.handlePointerMove=(u,f)=>{this.lastMoveEvent=u,this.lastMoveEventInfo=Gu(f,this.transformPagePoint),G.update(this.updatePoint,!0)},this.handlePointerUp=(u,f)=>{this.end();let{onEnd:d,onSessionEnd:h,resumeAnimation:p}=this.handlers;if(this.dragSnapToOrigin&&p&&p(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let v=qu(u.type==="pointercancel"?this.lastMoveEventInfo:Gu(f,this.transformPagePoint),this.history);this.startEvent&&d&&d(u,v),h&&h(u,v)},!Dy(e))return;this.dragSnapToOrigin=i,this.handlers=t,this.transformPagePoint=n,this.contextWindow=r||F;let o=bl(e),s=Gu(o,this.transformPagePoint),{point:a}=s,{timestamp:l}=Xe;this.history=[{...a,timestamp:l}];let{onSessionStart:c}=t;c&&c(e,qu(s,this.history)),this.removeListeners=Un(qn(this.contextWindow,"pointermove",this.handlePointerMove),qn(this.contextWindow,"pointerup",this.handlePointerUp),qn(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),Et(this.updatePoint)}};function Gu(e,t){return t?{point:t(e.point)}:e}function iv(e,t){return{x:e.x-t.x,y:e.y-t.y}}function qu({point:e},t){return{point:e,delta:iv(e,r0(t)),offset:iv(e,JF(t)),velocity:eP(t,.1)}}function JF(e){return e[0]}function r0(e){return e[e.length-1]}function eP(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null,i=r0(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>Fn(t)));)n--;if(!r)return{x:0,y:0};let o=Wn(i.timestamp-r.timestamp);if(o===0)return{x:0,y:0};let s={x:(i.x-r.x)/o,y:(i.y-r.y)/o};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}function tP(e,{min:t,max:n},r){return t!==void 0&&en&&(e=r?Me(n,e,r.max):Math.min(e,n)),e}function ov(e,t,n){return{min:t!==void 0?e.min+t:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function nP(e,{top:t,left:n,bottom:r,right:i}){return{x:ov(e.x,n,i),y:ov(e.y,t,r)}}function sv(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.minr?n=fr(t.min,t.max-r,e.min):r>i&&(n=fr(e.min,e.max-i,t.min)),cr(0,1,n)}function oP(e,t){let n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}var vf=.35;function sP(e=vf){return e===!1?e=0:e===!0&&(e=vf),{x:av(e,"left","right"),y:av(e,"top","bottom")}}function av(e,t,n){return{min:lv(e,t),max:lv(e,n)}}function lv(e,t){return typeof e=="number"?e:e[t]||0}function mn(e){return[e("x"),e("y")]}function i0({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function aP({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function lP(e,t){if(!t)return e;let n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function Xu(e){return e===void 0||e===1}function yf({scale:e,scaleX:t,scaleY:n}){return!Xu(e)||!Xu(t)||!Xu(n)}function gi(e){return yf(e)||o0(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function o0(e){return cv(e.x)||cv(e.y)}function cv(e){return e&&e!=="0%"}function sl(e,t,n){let r=e-n,i=t*r;return n+i}function uv(e,t,n,r,i){return i!==void 0&&(e=sl(e,i,r)),sl(e,n,r)+t}function bf(e,t=0,n=1,r,i){e.min=uv(e.min,t,n,r,i),e.max=uv(e.max,t,n,r,i)}function s0(e,{x:t,y:n}){bf(e.x,t.translate,t.scale,t.originPoint),bf(e.y,n.translate,n.scale,n.originPoint)}var fv=.999999999999,dv=1.0000000000001;function cP(e,t,n,r=!1){let i=n.length;if(!i)return;t.x=t.y=1;let o,s;for(let a=0;afv&&(t.x=1),t.yfv&&(t.y=1)}function eo(e,t){e.min=e.min+t,e.max=e.max+t}function hv(e,t,n,r,i=.5){let o=Me(e.min,e.max,i);bf(e,t,n,o,r)}function to(e,t){hv(e.x,t.x,t.scaleX,t.scale,t.originX),hv(e.y,t.y,t.scaleY,t.scale,t.originY)}function a0(e,t){return i0(lP(e.getBoundingClientRect(),t))}function uP(e,t,n){let r=a0(e,n),{scroll:i}=t;return i&&(eo(r.x,i.offset.x),eo(r.y,i.offset.y)),r}var l0=({current:e})=>e?e.ownerDocument.defaultView:null,fP=new WeakMap,dP=class{constructor(e){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=$e(),this.visualElement=e}start(e,{snapToCursor:t=!1}={}){let{presenceContext:n}=this.visualElement;if(n&&n.isPresent===!1)return;let r=c=>{let{dragSnapToOrigin:u}=this.getProps();u?this.pauseAnimation():this.stopAnimation(),t&&this.snapToCursor(bl(c,"page").point)},i=(c,u)=>{let{drag:f,dragPropagation:d,onDragStart:h}=this.getProps();if(f&&!d&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=$y(f),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),mn(v=>{let b=this.getAxisMotionValue(v).get()||0;if(Hn.test(b)){let{projection:g}=this.visualElement;if(g&&g.layout){let m=g.layout.layoutBox[v];m&&(b=Wt(m)*(parseFloat(b)/100))}}this.originPoint[v]=b}),h&&G.postRender(()=>h(c,u)),pf(this.visualElement,"transform");let{animationState:p}=this.visualElement;p&&p.setActive("whileDrag",!0)},o=(c,u)=>{let{dragPropagation:f,dragDirectionLock:d,onDirectionLock:h,onDrag:p}=this.getProps();if(!f&&!this.openGlobalLock)return;let{offset:v}=u;if(d&&this.currentDirection===null){this.currentDirection=hP(v),this.currentDirection!==null&&h&&h(this.currentDirection);return}this.updateAxis("x",u.point,v),this.updateAxis("y",u.point,v),this.visualElement.render(),p&&p(c,u)},s=(c,u)=>this.stop(c,u),a=()=>mn(c=>{var u;return this.getAnimationState(c)==="paused"&&((u=this.getAxisMotionValue(c).animation)===null||u===void 0?void 0:u.play())}),{dragSnapToOrigin:l}=this.getProps();this.panSession=new n0(e,{onSessionStart:r,onStart:i,onMove:o,onSessionEnd:s,resumeAnimation:a},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:l,contextWindow:l0(this.visualElement)})}stop(e,t){let n=this.isDragging;if(this.cancel(),!n)return;let{velocity:r}=t;this.startAnimation(r);let{onDragEnd:i}=this.getProps();i&&G.postRender(()=>i(e,t))}cancel(){this.isDragging=!1;let{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:n}=this.getProps();!n&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),t&&t.setActive("whileDrag",!1)}updateAxis(e,t,n){let{drag:r}=this.getProps();if(!n||!qa(e,r,this.currentDirection))return;let i=this.getAxisMotionValue(e),o=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(o=tP(o,this.constraints[e],this.elastic[e])),i.set(o)}resolveConstraints(){var e;let{dragConstraints:t,dragElastic:n}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(e=this.visualElement.projection)===null||e===void 0?void 0:e.layout,i=this.constraints;t&&Ji(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&r?this.constraints=nP(r.layoutBox,t):this.constraints=!1,this.elastic=sP(n),i!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&mn(o=>{this.constraints!==!1&&this.getAxisMotionValue(o)&&(this.constraints[o]=oP(r.layoutBox[o],this.constraints[o]))})}resolveRefConstraints(){let{dragConstraints:e,onMeasureDragConstraints:t}=this.getProps();if(!e||!Ji(e))return!1;let n=e.current;en(n!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:r}=this.visualElement;if(!r||!r.layout)return!1;let i=uP(n,r.root,this.visualElement.getTransformPagePoint()),o=rP(r.layout.layoutBox,i);if(t){let s=t(aP(o));this.hasMutatedConstraints=!!s,s&&(o=i0(s))}return o}startAnimation(e){let{drag:t,dragMomentum:n,dragElastic:r,dragTransition:i,dragSnapToOrigin:o,onDragTransitionEnd:s}=this.getProps(),a=this.constraints||{},l=mn(c=>{if(!qa(c,t,this.currentDirection))return;let u=a&&a[c]||{};o&&(u={min:0,max:0});let f=r?200:1e6,d=r?40:1e7,h={type:"inertia",velocity:n?e[c]:0,bounceStiffness:f,bounceDamping:d,timeConstant:750,restDelta:1,restSpeed:10,...i,...u};return this.startAxisValueAnimation(c,h)});return Promise.all(l).then(s)}startAxisValueAnimation(e,t){let n=this.getAxisMotionValue(e);return pf(this.visualElement,e),n.start(Yf(e,n,0,t,this.visualElement,!1))}stopAnimation(){mn(e=>this.getAxisMotionValue(e).stop())}pauseAnimation(){mn(e=>{var t;return(t=this.getAxisMotionValue(e).animation)===null||t===void 0?void 0:t.pause()})}getAnimationState(e){var t;return(t=this.getAxisMotionValue(e).animation)===null||t===void 0?void 0:t.state}getAxisMotionValue(e){let t=`_drag${e.toUpperCase()}`,n=this.visualElement.getProps(),r=n[t];return r||this.visualElement.getValue(e,(n.initial?n.initial[e]:void 0)||0)}snapToCursor(e){mn(t=>{let{drag:n}=this.getProps();if(!qa(t,n,this.currentDirection))return;let{projection:r}=this.visualElement,i=this.getAxisMotionValue(t);if(r&&r.layout){let{min:o,max:s}=r.layout.layoutBox[t];i.set(e[t]-Me(o,s,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!Ji(t)||!n||!this.constraints)return;this.stopAnimation();let r={x:0,y:0};mn(o=>{let s=this.getAxisMotionValue(o);if(s&&this.constraints!==!1){let a=s.get();r[o]=iP({min:a,max:a},this.constraints[o])}});let{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),mn(o=>{if(!qa(o,e,null))return;let s=this.getAxisMotionValue(o),{min:a,max:l}=this.constraints[o];s.set(Me(a,l,r[o]))})}addListeners(){if(!this.visualElement.current)return;fP.set(this.visualElement,this);let e=this.visualElement.current,t=qn(e,"pointerdown",a=>{let{drag:l,dragListener:c=!0}=this.getProps();l&&c&&this.start(a)}),n=()=>{let{dragConstraints:a}=this.getProps();Ji(a)&&a.current&&(this.constraints=this.resolveRefConstraints())},{projection:r}=this.visualElement,i=r.addEventListener("measure",n);r&&!r.layout&&(r.root&&r.root.updateScroll(),r.updateLayout()),G.read(n);let o=lr(F,"resize",()=>this.scalePositionWithinConstraints()),s=r.addEventListener("didUpdate",({delta:a,hasLayoutChanged:l})=>{this.isDragging&&l&&(mn(c=>{let u=this.getAxisMotionValue(c);u&&(this.originPoint[c]+=a[c].translate,u.set(u.get()+a[c].translate))}),this.visualElement.render())});return()=>{o(),t(),i(),s&&s()}}getProps(){let e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:r=!1,dragConstraints:i=!1,dragElastic:o=vf,dragMomentum:s=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:r,dragConstraints:i,dragElastic:o,dragMomentum:s}}};function qa(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function hP(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}var pP=class extends _r{constructor(e){super(e),this.removeGroupControls=yt,this.removeListeners=yt,this.controls=new dP(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||yt}unmount(){this.removeGroupControls(),this.removeListeners()}},pv=e=>(t,n)=>{e&&G.postRender(()=>e(t,n))},mP=class extends _r{constructor(){super(...arguments),this.removePointerDownListener=yt}onPointerDown(e){this.session=new n0(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:l0(this.node)})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:r}=this.node.getProps();return{onSessionStart:pv(e),onStart:pv(t),onMove:n,onEnd:(i,o)=>{delete this.session,r&&G.postRender(()=>r(i,o))}}}mount(){this.removePointerDownListener=qn(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}},Qa={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function mv(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var as={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(J.test(e))e=parseFloat(e);else return e;let n=mv(e,t.target.x),r=mv(e,t.target.y);return`${n}% ${r}%`}},gP={correct:(e,{treeScale:t,projectionDelta:n})=>{let r=e,i=ur.parse(e);if(i.length>5)return r;let o=ur.createTransformer(e),s=typeof i[0]!="number"?1:0,a=n.x.scale*t.x,l=n.y.scale*t.y;i[0+s]/=a,i[1+s]/=l;let c=Me(a,l,.5);return typeof i[2+s]=="number"&&(i[2+s]/=c),typeof i[3+s]=="number"&&(i[3+s]/=c),o(i)}},vP=class extends Se{componentDidMount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:r}=this.props,{projection:i}=e;nd(yP),i&&(t.group&&t.group.add(i),n&&n.register&&r&&n.register(i),i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,onExitComplete:()=>this.safeToRemove()})),Qa.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:t,visualElement:n,drag:r,isPresent:i}=this.props,o=n.projection;return o&&(o.isPresent=i,r||e.layoutDependency!==t||t===void 0?o.willUpdate():this.safeToRemove(),e.isPresent!==i&&(i?o.promote():o.relegate()||G.postRender(()=>{let s=o.getStack();(!s||!s.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){let{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),rd.postRender(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:n}=this.props,{projection:r}=e;r&&(r.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(r),n&&n.deregister&&n.deregister(r))}safeToRemove(){let{safeToRemove:e}=this.props;e&&e()}render(){return null}};function c0(e){let[t,n]=xl(),r=L(Ss);return S(vP,{...e,layoutGroup:r,switchLayoutGroup:L(wl),isPresent:t,safeToRemove:n})}var yP={borderRadius:{...as,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:as,borderTopRightRadius:as,borderBottomLeftRadius:as,borderBottomRightRadius:as,boxShadow:gP},u0=["TopLeft","TopRight","BottomLeft","BottomRight"],bP=u0.length,gv=e=>typeof e=="string"?parseFloat(e):e,vv=e=>typeof e=="number"||J.test(e);function xP(e,t,n,r,i,o){i?(e.opacity=Me(0,n.opacity!==void 0?n.opacity:1,wP(r)),e.opacityExit=Me(t.opacity!==void 0?t.opacity:1,0,SP(r))):o&&(e.opacity=Me(t.opacity!==void 0?t.opacity:1,n.opacity!==void 0?n.opacity:1,r));for(let s=0;srt?1:n(fr(e,t,r))}function bv(e,t){e.min=t.min,e.max=t.max}function pn(e,t){bv(e.x,t.x),bv(e.y,t.y)}function xv(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function wv(e,t,n,r,i){return e-=t,e=sl(e,1/n,r),i!==void 0&&(e=sl(e,1/i,r)),e}function kP(e,t=0,n=1,r=.5,i,o=e,s=e){if(Hn.test(t)&&(t=parseFloat(t),t=Me(s.min,s.max,t/100)-s.min),typeof t!="number")return;let a=Me(o.min,o.max,r);e===o&&(a-=t),e.min=wv(e.min,t,n,a,i),e.max=wv(e.max,t,n,a,i)}function Sv(e,t,[n,r,i],o,s){kP(e,t[n],t[r],t[i],t.scale,o,s)}var CP=["x","scaleX","originX"],RP=["y","scaleY","originY"];function kv(e,t,n,r){Sv(e.x,t,CP,n?n.x:void 0,r?r.x:void 0),Sv(e.y,t,RP,n?n.y:void 0,r?r.y:void 0)}function Cv(e){return e.translate===0&&e.scale===1}function d0(e){return Cv(e.x)&&Cv(e.y)}function Rv(e,t){return e.min===t.min&&e.max===t.max}function TP(e,t){return Rv(e.x,t.x)&&Rv(e.y,t.y)}function Tv(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function h0(e,t){return Tv(e.x,t.x)&&Tv(e.y,t.y)}function Ev(e){return Wt(e.x)/Wt(e.y)}function Fv(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}var EP=class{constructor(){this.members=[]}add(e){Uf(this.members,e),e.scheduleRender()}remove(e){if(hl(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){let t=this.members[this.members.length-1];t&&this.promote(t)}}relegate(e){let t=this.members.findIndex(r=>e===r);if(t===0)return!1;let n;for(let r=t;r>=0;r--){let i=this.members[r];if(i.isPresent!==!1){n=i;break}}return n?(this.promote(n),!0):!1}promote(e,t){let n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.instance&&n.scheduleRender(),e.scheduleRender(),e.resumeFrom=n,t&&(e.resumeFrom.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);let{crossfade:r}=e.options;r===!1&&n.hide()}}exitAnimationComplete(){this.members.forEach(e=>{let{options:t,resumingFrom:n}=e;t.onExitComplete&&t.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}};function FP(e,t,n){let r="",i=e.x.translate/t.x,o=e.y.translate/t.y,s=n?.z||0;if((i||o||s)&&(r=`translate3d(${i}px, ${o}px, ${s}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){let{transformPerspective:c,rotate:u,rotateX:f,rotateY:d,skewX:h,skewY:p}=n;c&&(r=`perspective(${c}px) ${r}`),u&&(r+=`rotate(${u}deg) `),f&&(r+=`rotateX(${f}deg) `),d&&(r+=`rotateY(${d}deg) `),h&&(r+=`skewX(${h}deg) `),p&&(r+=`skewY(${p}deg) `)}let a=e.x.scale*t.x,l=e.y.scale*t.y;return(a!==1||l!==1)&&(r+=`scale(${a}, ${l})`),r||"none"}function p0(e){return e instanceof SVGElement&&e.tagName!=="svg"}function m0(e,t,n){let r=De(e)?e:Ae(e);return r.start(Yf("",r,t,n)),r.animation}var vi={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},fs=typeof F<"u"&&F.MotionDebug!==void 0,Yu=["","X","Y","Z"],PP={visibility:"hidden"},Pv=1e3,IP=0;function Ku(e,t,n,r){let{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function g0(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:t}=e.options;if(!t)return;let n=Oy(t);if(F.MotionHasOptimisedAnimation(n,"transform")){let{layout:i,layoutId:o}=e.options;F.MotionCancelOptimisedAnimation(n,"transform",G,!(i||o))}let{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&g0(r)}function v0({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(s={},a=t?.()){this.id=IP++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,fs&&(vi.totalNodes=vi.resolvedTargetDeltas=vi.recalculatedProjection=0),this.nodes.forEach(OP),this.nodes.forEach(zP),this.nodes.forEach(BP),this.nodes.forEach(LP),fs&&F.MotionDebug.record(vi)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=s,this.root=a?a.root||a:this,this.path=a?[...a.path,a]:[],this.parent=a,this.depth=a?a.depth+1:0;for(let l=0;lthis.root.updateBlockedByResize=!1;e(s,()=>{this.root.updateBlockedByResize=!0,f&&f(),f=Uy(d,250),Qa.hasAnimatedSinceResize&&(Qa.hasAnimatedSinceResize=!1,this.nodes.forEach(Mv))})}l&&this.root.registerSharedNode(l,this),this.options.animate!==!1&&u&&(l||c)&&this.addEventListener("didUpdate",({delta:f,hasLayoutChanged:d,hasRelativeTargetChanged:h,layout:p})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let v=this.options.transition||u.getDefaultTransition()||WP,{onLayoutAnimationStart:b,onLayoutAnimationComplete:g}=u.getProps(),m=!this.targetLayout||!h0(this.targetLayout,p)||h,y=!d&&h;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||y||d&&(m||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(f,y);let x={...Xf(v,"layout"),onPlay:b,onComplete:g};(u.shouldReduceMotion||this.options.layoutRoot)&&(x.delay=0,x.type=!1),this.startAnimation(x)}else d||Mv(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=p})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let s=this.getStack();s&&s.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,Et(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(NP),this.animationId++)}getTransformTemplate(){let{visualElement:s}=this.options;return s&&s.getProps().transformTemplate}willUpdate(s=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(F.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&g0(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let u=0;u{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let l=0;l{let k=x/1e3;_v(f.x,s.x,k),_v(f.y,s.y,k),this.setTargetDelta(f),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(ms(d,this.layout.layoutBox,this.relativeParent.layout.layoutBox),jP(this.relativeTarget,this.relativeTargetOrigin,d,k),y&&TP(this.relativeTarget,y)&&(this.isProjectionDirty=!1),y||(y=$e()),pn(y,this.relativeTarget)),v&&(this.animationValues=u,xP(u,c,this.latestValues,k,m,g)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=k},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(s){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(Et(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=G.update(()=>{Qa.hasAnimatedSinceResize=!0,this.currentAnimation=m0(0,Pv,{...s,onUpdate:a=>{this.mixTargetDelta(a),s.onUpdate&&s.onUpdate(a)},onComplete:()=>{s.onComplete&&s.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let s=this.getStack();s&&s.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(Pv),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let s=this.getLead(),{targetWithTransforms:a,target:l,layout:c,latestValues:u}=s;if(!(!a||!l||!c)){if(this!==s&&this.layout&&c&&y0(this.options.animationType,this.layout.layoutBox,c.layoutBox)){l=this.target||$e();let f=Wt(this.layout.layoutBox.x);l.x.min=s.target.x.min,l.x.max=l.x.min+f;let d=Wt(this.layout.layoutBox.y);l.y.min=s.target.y.min,l.y.max=l.y.min+d}pn(a,l),to(a,u),ps(this.projectionDeltaWithTransform,this.layoutCorrected,a,u)}}registerSharedNode(s,a){this.sharedNodes.has(s)||this.sharedNodes.set(s,new EP),this.sharedNodes.get(s).add(a);let c=a.options.initialPromotionConfig;a.promote({transition:c?c.transition:void 0,preserveFollowOpacity:c&&c.shouldPreserveFollowOpacity?c.shouldPreserveFollowOpacity(a):void 0})}isLead(){let s=this.getStack();return s?s.lead===this:!0}getLead(){var s;let{layoutId:a}=this.options;return a?((s=this.getStack())===null||s===void 0?void 0:s.lead)||this:this}getPrevLead(){var s;let{layoutId:a}=this.options;return a?(s=this.getStack())===null||s===void 0?void 0:s.prevLead:void 0}getStack(){let{layoutId:s}=this.options;if(s)return this.root.sharedNodes.get(s)}promote({needsReset:s,transition:a,preserveFollowOpacity:l}={}){let c=this.getStack();c&&c.promote(this,l),s&&(this.projectionDelta=void 0,this.needsReset=!0),a&&this.setOptions({transition:a})}relegate(){let s=this.getStack();return s?s.relegate(this):!1}resetSkewAndRotation(){let{visualElement:s}=this.options;if(!s)return;let a=!1,{latestValues:l}=s;if((l.z||l.rotate||l.rotateX||l.rotateY||l.rotateZ||l.skewX||l.skewY)&&(a=!0),!a)return;let c={};l.z&&Ku("z",s,c,this.animationValues);for(let u=0;u{var a;return(a=s.currentAnimation)===null||a===void 0?void 0:a.stop()}),this.root.nodes.forEach(Iv),this.root.sharedNodes.clear()}}}function MP(e){e.updateLayout()}function _P(e){var t;let n=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){let{layoutBox:r,measuredBox:i}=e.layout,{animationType:o}=e.options,s=n.source!==e.layout.source;o==="size"?mn(f=>{let d=s?n.measuredBox[f]:n.layoutBox[f],h=Wt(d);d.min=r[f].min,d.max=d.min+h}):y0(o,n.layoutBox,r)&&mn(f=>{let d=s?n.measuredBox[f]:n.layoutBox[f],h=Wt(r[f]);d.max=d.min+h,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[f].max=e.relativeTarget[f].min+h)});let a=Zi();ps(a,r,n.layoutBox);let l=Zi();s?ps(l,e.applyTransform(i,!0),n.measuredBox):ps(l,r,n.layoutBox);let c=!d0(a),u=!1;if(!e.resumeFrom){let f=e.getClosestProjectingParent();if(f&&!f.resumeFrom){let{snapshot:d,layout:h}=f;if(d&&h){let p=$e();ms(p,n.layoutBox,d.layoutBox);let v=$e();ms(v,r,h.layoutBox),h0(p,v)||(u=!0),f.options.layoutRoot&&(e.relativeTarget=v,e.relativeTargetOrigin=p,e.relativeParent=f)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:n,delta:l,layoutDelta:a,hasLayoutChanged:c,hasRelativeTargetChanged:u})}else if(e.isLead()){let{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function OP(e){fs&&vi.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function LP(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function VP(e){e.clearSnapshot()}function Iv(e){e.clearMeasurements()}function AP(e){e.isLayoutDirty=!1}function DP(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Mv(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function zP(e){e.resolveTargetDelta()}function BP(e){e.calcProjection()}function NP(e){e.resetSkewAndRotation()}function $P(e){e.removeLeadSnapshot()}function _v(e,t,n){e.translate=Me(t.translate,0,n),e.scale=Me(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function Ov(e,t,n,r){e.min=Me(t.min,n.min,r),e.max=Me(t.max,n.max,r)}function jP(e,t,n,r){Ov(e.x,t.x,n.x,r),Ov(e.y,t.y,n.y,r)}function HP(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}var WP={duration:.45,ease:[.4,0,.1,1]},Lv=e=>typeof Be<"u"&&Be.userAgent&&Be.userAgent.toLowerCase().includes(e),Vv=Lv("applewebkit/")&&!Lv("chrome/")?Math.round:yt;function Av(e){e.min=Vv(e.min),e.max=Vv(e.max)}function UP(e){Av(e.x),Av(e.y)}function y0(e,t,n){return e==="position"||e==="preserve-aspect"&&!_F(Ev(t),Ev(n),.2)}function GP(e){var t;return e!==e.root&&((t=e.scroll)===null||t===void 0?void 0:t.wasRoot)}var qP=v0({attachResizeListener:(e,t)=>lr(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),xi={current:void 0},b0=v0({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!xi.current){let e=new qP({});e.mount(F),e.setOptions({layoutScroll:!0}),xi.current=e}return xi.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>F.getComputedStyle(e).position==="fixed"}),x0={pan:{Feature:mP},drag:{Feature:pP,ProjectionNode:b0,MeasureLayout:c0}};function Dv(e,t){let n=t?"pointerenter":"pointerleave",r=t?"onHoverStart":"onHoverEnd",i=(o,s)=>{if(o.pointerType==="touch"||td())return;let a=e.getProps();e.animationState&&a.whileHover&&e.animationState.setActive("whileHover",t);let l=a[r];l&&G.postRender(()=>l(o,s))};return qn(e.current,n,i,{passive:!e.getProps()[r]})}var XP=class extends _r{mount(){this.unmount=Un(Dv(this.node,!0),Dv(this.node,!1))}unmount(){}},YP=class extends _r{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch{e=!0}!e||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Un(lr(this.node.current,"focus",()=>this.onFocus()),lr(this.node.current,"blur",()=>this.onBlur()))}unmount(){}},w0=(e,t)=>t?e===t?!0:w0(e,t.parentElement):!1;function Qu(e,t){if(!t)return;let n=new PointerEvent("pointer"+e);t(n,bl(n))}var KP=class extends _r{constructor(){super(...arguments),this.removeStartListeners=yt,this.removeEndListeners=yt,this.removeAccessibleListeners=yt,this.startPointerPress=(e,t)=>{if(this.isPressing)return;this.removeEndListeners();let n=this.node.getProps(),i=qn(F,"pointerup",(s,a)=>{if(!this.checkPressEnd())return;let{onTap:l,onTapCancel:c,globalTapTarget:u}=this.node.getProps(),f=!u&&!w0(this.node.current,s.target)?c:l;f&&G.update(()=>f(s,a))},{passive:!(n.onTap||n.onPointerUp)}),o=qn(F,"pointercancel",(s,a)=>this.cancelPress(s,a),{passive:!(n.onTapCancel||n.onPointerCancel)});this.removeEndListeners=Un(i,o),this.startPress(e,t)},this.startAccessiblePress=()=>{let e=i=>{if(i.key!=="Enter"||this.isPressing)return;let o=s=>{s.key!=="Enter"||!this.checkPressEnd()||Qu("up",(a,l)=>{let{onTap:c}=this.node.getProps();c&&G.postRender(()=>c(a,l))})};this.removeEndListeners(),this.removeEndListeners=lr(this.node.current,"keyup",o),Qu("down",(s,a)=>{this.startPress(s,a)})},t=lr(this.node.current,"keydown",e),n=()=>{this.isPressing&&Qu("cancel",(i,o)=>this.cancelPress(i,o))},r=lr(this.node.current,"blur",n);this.removeAccessibleListeners=Un(t,r)}}startPress(e,t){this.isPressing=!0;let{onTapStart:n,whileTap:r}=this.node.getProps();r&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),n&&G.postRender(()=>n(e,t))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!td()}cancelPress(e,t){if(!this.checkPressEnd())return;let{onTapCancel:n}=this.node.getProps();n&&G.postRender(()=>n(e,t))}mount(){let e=this.node.getProps(),t=qn(e.globalTapTarget?F:this.node.current,"pointerdown",this.startPointerPress,{passive:!(e.onTapStart||e.onPointerStart)}),n=lr(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=Un(t,n)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}},xf=new WeakMap,Zu=new WeakMap,QP=e=>{let t=xf.get(e.target);t&&t(e)},ZP=e=>{e.forEach(QP)};function JP({root:e,...t}){let n=e||document;Zu.has(n)||Zu.set(n,{});let r=Zu.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(ZP,{root:e,...t})),r[i]}function eI(e,t,n){let r=JP(t);return xf.set(e,n),r.observe(e),()=>{xf.delete(e),r.unobserve(e)}}var tI={some:0,all:1},nI=class extends _r{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:e={}}=this.node.getProps(),{root:t,margin:n,amount:r="some",once:i}=e,o={root:t?t.current:void 0,rootMargin:n,threshold:typeof r=="number"?r:tI[r]},s=a=>{let{isIntersecting:l}=a;if(this.isInView===l||(this.isInView=l,i&&!l&&this.hasEnteredView))return;l&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",l);let{onViewportEnter:c,onViewportLeave:u}=this.node.getProps(),f=l?c:u;f&&f(a)};return eI(this.node.current,o,s)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;let{props:e,prevProps:t}=this.node;["amount","margin","root"].some(rI(e,t))&&this.startObserver()}unmount(){}};function rI({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}var S0={inView:{Feature:nI},tap:{Feature:KP},focus:{Feature:YP},hover:{Feature:XP}},k0={layout:{ProjectionNode:b0,MeasureLayout:c0}},iI=["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 ad(e){return typeof e!="string"||e.includes("-")?!1:!!(iI.indexOf(e)>-1||/[A-Z]/u.test(e))}function C0(e,{style:t,vars:n},r,i){Object.assign(e.style,t,i&&i.getProjectionStyles(r));for(let o in n)e.style.setProperty(o,n[o])}var R0=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 T0(e,t,n,r){C0(e,t,void 0,r);for(let i in t.attrs)e.setAttribute(R0.has(i)?i:ml(i),t.attrs[i])}function E0(e,{layout:t,layoutId:n}){return Mr.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!il[e]||e==="opacity")}function ld(e,t,n){var r;let{style:i}=e,o={};for(let s in i)(De(i[s])||t.style&&De(t.style[s])||E0(s,e)||((r=n?.getValue(s))===null||r===void 0?void 0:r.liveStyle)!==void 0)&&(o[s]=i[s]);return n&&i&&typeof i.willChange=="string"&&(n.applyWillChange=!1),o}function F0(e,t,n){let r=ld(e,t,n);for(let i in e)if(De(e[i])||De(t[i])){let o=Rs.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;r[o]=e[i]}return r}var cd=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),P0=()=>({...cd(),attrs:{}});function ud(e,t,n){let{style:r,vars:i,transformOrigin:o}=e,s=!1,a=!1;for(let l in t){let c=t[l];if(Mr.has(l)){s=!0;continue}else if(dy(l)){i[l]=c;continue}else{let u=Ky(c,jf[l]);l.startsWith("origin")?(a=!0,o[l]=u):r[l]=u}}if(t.transform||(s||n?r.transform=Qy(t,e.transform,n):r.transform&&(r.transform="none")),a){let{originX:l="50%",originY:c="50%",originZ:u=0}=o;r.transformOrigin=`${l} ${c} ${u}`}}function zv(e,t,n){return typeof e=="string"?e:J.transform(t+n*e)}function oI(e,t,n){let r=zv(t,e.x,e.width),i=zv(n,e.y,e.height);return`${r} ${i}`}var sI={offset:"stroke-dashoffset",array:"stroke-dasharray"},aI={offset:"strokeDashoffset",array:"strokeDasharray"};function lI(e,t,n=1,r=0,i=!0){e.pathLength=1;let o=i?sI:aI;e[o.offset]=J.transform(-r);let s=J.transform(t),a=J.transform(n);e[o.array]=`${s} ${a}`}function fd(e,{attrX:t,attrY:n,attrScale:r,originX:i,originY:o,pathLength:s,pathSpacing:a=1,pathOffset:l=0,...c},u,f){if(ud(e,c,f),u){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:d,style:h,dimensions:p}=e;d.transform&&(p&&(h.transform=d.transform),delete d.transform),p&&(i!==void 0||o!==void 0||h.transform)&&(h.transformOrigin=oI(p,i!==void 0?i:.5,o!==void 0?o:.5)),t!==void 0&&(d.x=t),n!==void 0&&(d.y=n),r!==void 0&&(d.scale=r),s!==void 0&&lI(d,s,a,l,!1)}var dd=e=>typeof e=="string"&&e.toLowerCase()==="svg",cI={useVisualState:Cl({scrapeMotionValuesFromProps:F0,createRenderState:P0,onMount:(e,t,{renderState:n,latestValues:r})=>{G.read(()=>{try{n.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{n.dimensions={x:0,y:0,width:0,height:0}}}),G.render(()=>{fd(n,r,dd(t.tagName),e.transformTemplate),T0(t,n)})}})},uI={useVisualState:Cl({applyWillChange:!0,scrapeMotionValuesFromProps:ld,createRenderState:cd})};function I0(e,t,n){for(let r in t)!De(t[r])&&!E0(r,n)&&(e[r]=t[r])}function fI({transformTemplate:e},t){return Q(()=>{let n=cd();return ud(n,t,e),Object.assign({},n.vars,n.style)},[t])}function dI(e,t){let n=e.style||{},r={};return I0(r,n,e),Object.assign(r,fI(e,t)),r}function hI(e,t){let n={},r=dI(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}function pI(e,t,n,r){let i=Q(()=>{let o=P0();return fd(o,t,dd(r),e.transformTemplate),{...o.attrs,style:{...o.style}}},[t]);if(e.style){let o={};I0(o,e.style,e),i.style={...o,...i.style}}return i}function mI(e=!1){return(n,r,i,{latestValues:o},s)=>{let l=(ad(n)?pI:hI)(r,o,s,n),c=e0(r,typeof n=="string",e),u=n!==En?{...c,...l,ref:i}:{},{children:f}=r,d=Q(()=>De(f)?f.get():f,[f]);return ss(n,{...u,children:d})}}function gI(e,t){return function(r,{forwardMotionProps:i}={forwardMotionProps:!1}){let s={...ad(r)?cI:uI,preloadedFeatures:e,useRender:mI(i),createVisualElement:t,Component:r};return Yy(s)}}var M0=class extends sd{constructor(){super(...arguments),this.KeyframeResolver=Ty}sortInstanceNodePosition(e,t){return e.compareDocumentPosition(t)&2?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}};function vI(e){return F.getComputedStyle(e)}var _0=class extends M0{constructor(){super(...arguments),this.type="html",this.applyWillChange=!0,this.renderInstance=C0}readValueFromInstance(e,t){if(Mr.has(t)){let n=Hf(t);return n&&n.default||0}else{let n=vI(e),r=(dy(t)?n.getPropertyValue(t):n[t])||0;return typeof r=="string"?r.trim():r}}measureInstanceViewportBox(e,{transformPagePoint:t}){return a0(e,t)}build(e,t,n){ud(e,t,n.transformTemplate)}scrapeMotionValuesFromProps(e,t,n){return ld(e,t,n)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;De(e)&&(this.childSubscription=e.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}},O0=class extends M0{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=$e}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(Mr.has(t)){let n=Hf(t);return n&&n.default||0}return t=R0.has(t)?t:ml(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,n){return F0(e,t,n)}build(e,t,n){fd(e,t,this.isSVGTag,n.transformTemplate)}renderInstance(e,t,n,r){T0(e,t,n,r)}mount(e){this.isSVGTag=dd(e.tagName),super.mount(e)}},hd=(e,t)=>ad(e)?new O0(t):new _0(t,{allowProjection:e!==En}),yI=gI({...yl,...S0,...x0,...k0},hd),Ut=ZF(yI);var bI=class extends Se{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){let n=this.props.sizeRef.current;n.height=t.offsetHeight||0,n.width=t.offsetWidth||0,n.top=t.offsetTop,n.left=t.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}};function xI({children:e,isPresent:t}){let n=Fr(),r=M(null),i=M({width:0,height:0,top:0,left:0}),{nonce:o}=L(dr);return ot(()=>{let{width:s,height:a,top:l,left:c}=i.current;if(t||!r.current||!s||!a)return;r.current.dataset.motionPopId=n;let u=document.createElement("style");return o&&(u.nonce=o),document.head.appendChild(u),u.sheet&&u.sheet.insertRule(` [data-motion-pop-id="${n}"] { position: absolute !important; width: ${s}px !important; height: ${a}px !important; top: ${l}px !important; left: ${c}px !important; } `),()=>{document.head.removeChild(u)}},[t]),S(bI,{isPresent:t,childRef:r,sizeRef:i,children:pi(e,{ref:r})})}var wI=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:i,presenceAffectsLayout:o,mode:s})=>{let a=Yn(SI),l=Fr(),c=N(f=>{a.set(f,!0);for(let d of a.values())if(!d)return;r&&r()},[a,r]),u=Q(()=>({id:l,initial:t,isPresent:n,custom:i,onExitComplete:c,register:f=>(a.set(f,!1),()=>a.delete(f))}),o?[Math.random(),c]:[n,c]);return Q(()=>{a.forEach((f,d)=>a.set(d,!1))},[n]),V(()=>{!n&&!a.size&&r&&r()},[n]),s==="popLayout"&&(e=S(xI,{isPresent:n,children:e})),S(co.Provider,{value:u,children:e})};function SI(){return new Map}var Xa=e=>e.key||"";function Bv(e){let t=[];return Tn.forEach(e,n=>{Rt(n)&&t.push(n)}),t}var pd=({children:e,exitBeforeEnter:t,custom:n,initial:r=!0,onExitComplete:i,presenceAffectsLayout:o=!0,mode:s="sync"})=>{en(!t,"Replace exitBeforeEnter with mode='wait'");let a=Q(()=>Bv(e),[e]),l=a.map(Xa),c=M(!0),u=M(a),f=Yn(()=>new Map),[d,h]=Re(a),[p,v]=Re(a);Or(()=>{c.current=!1,u.current=a;for(let m=0;m{let y=Xa(m),x=a===p||l.includes(y),k=()=>{if(f.has(y))f.set(y,!0);else return;let w=!0;f.forEach(C=>{C||(w=!1)}),w&&(g?.(),v(u.current),i&&i())};return S(wI,{isPresent:x,initial:!c.current||r?void 0:!1,custom:x?void 0:n,presenceAffectsLayout:o,mode:s,onExitComplete:x?void 0:k,children:m},y)})})};function L0({children:e,isValidProp:t,...n}){t&&Jy(t),n={...L(dr),...n},n.isStatic=Yn(()=>n.isStatic);let r=Q(()=>n,[JSON.stringify(n.transition),n.transformPagePoint,n.reducedMotion]);return S(dr.Provider,{value:r,children:e})}var V0=ye(null);function kI(){let e=M(!1);return Or(()=>(e.current=!0,()=>{e.current=!1}),[]),e}function md(){let e=kI(),[t,n]=Re(0),r=N(()=>{e.current&&n(t+1)},[t]);return[N(()=>G.postRender(r),[r]),t]}var CI=e=>!e.isLayoutDirty&&e.willUpdate(!1);function Nv(){let e=new Set,t=new WeakMap,n=()=>e.forEach(CI);return{add:r=>{e.add(r),t.set(r,r.addEventListener("willUpdate",n))},remove:r=>{e.delete(r);let i=t.get(r);i&&(i(),t.delete(r)),n()},dirty:n}}var A0=e=>e===!0,RI=e=>A0(e===!0)||e==="id",D0=({children:e,id:t,inherit:n=!0})=>{let r=L(Ss),i=L(V0),[o,s]=md(),a=M(null),l=r.id||i;a.current===null&&(RI(n)&&l&&(t=t?l+"-"+t:l),a.current={id:t,group:A0(n)&&r.group||Nv()});let c=Q(()=>({...a.current,forceRender:o}),[s]);return S(Ss.Provider,{value:c,children:e})},TI={renderer:hd,...yl},z0={renderer:hd,...yl,...S0},EI={...z0,...x0,...k0};function Kn(e){let t=Yn(()=>Ae(e)),{isStatic:n}=L(dr);if(n){let[,r]=Re(e);V(()=>t.on("change",r),[])}return t}function B0(e,t){let n=Kn(t()),r=()=>n.set(t());return r(),Or(()=>{let i=()=>G.preRender(r,!1,!0),o=e.map(s=>s.on("change",i));return()=>{o.forEach(s=>s()),Et(r)}}),n}var FI=e=>e&&typeof e=="object"&&e.mix,PI=e=>FI(e)?e.mix:void 0;function Es(...e){let t=!Array.isArray(e[0]),n=t?0:-1,r=e[0+n],i=e[1+n],o=e[2+n],s=e[3+n],a=lo(i,o,{mixer:PI(o[0]),...s});return t?a(r):a}function II(e){hs.current=[],e();let t=B0(hs.current,e);return hs.current=void 0,t}function Vt(e,t,n,r){if(typeof e=="function")return II(e);let i=typeof t=="function"?t:Es(t,n,r);return Array.isArray(e)?$v(e,i):$v([e],([o])=>i(o))}function $v(e,t){let n=Yn(()=>[]);return B0(e,()=>{n.length=0;let r=e.length;for(let i=0;i{}),a=()=>{let c=r.current;c&&c.time===0&&c.sample(Xe.delta),l(),r.current=$f({keyframes:[i.get(),o.current],velocity:i.getVelocity(),type:"spring",restDelta:.001,restSpeed:.01,...t,onUpdate:s.current})},l=()=>{r.current&&r.current.stop()};return ot(()=>i.attach((c,u)=>n?u(c):(o.current=c,s.current=u,G.update(a),i.get()),l),[JSON.stringify(t)]),Or(()=>{if(De(e))return e.on("change",c=>i.set(jv(c)))},[i]),i}function vd(e,t,n){var r;if(typeof e=="string"){let i=document;t&&(en(!!t.current,"Scope provided, but no element detected."),i=t.current),n?((r=n[e])!==null&&r!==void 0||(n[e]=i.querySelectorAll(e)),e=n[e]):e=i.querySelectorAll(e)}else e instanceof Element&&(e=[e]);return Array.from(e||[])}var Za=new WeakMap,Ir;function MI(e,t){if(t){let{inlineSize:n,blockSize:r}=t[0];return{width:n,height:r}}else return e instanceof SVGElement&&"getBBox"in e?e.getBBox():{width:e.offsetWidth,height:e.offsetHeight}}function _I({target:e,contentRect:t,borderBoxSize:n}){var r;(r=Za.get(e))===null||r===void 0||r.forEach(i=>{i({target:e,contentSize:t,get size(){return MI(e,n)}})})}function OI(e){e.forEach(_I)}function LI(){typeof ResizeObserver>"u"||(Ir=new ResizeObserver(OI))}function VI(e,t){Ir||LI();let n=vd(e);return n.forEach(r=>{let i=Za.get(r);i||(i=new Set,Za.set(r,i)),i.add(t),Ir?.observe(r)}),()=>{n.forEach(r=>{let i=Za.get(r);i?.delete(t),i?.size||Ir?.unobserve(r)})}}var Ja=new Set,gs;function AI(){gs=()=>{let e={width:F.innerWidth,height:F.innerHeight},t={target:F,size:e,contentSize:e};Ja.forEach(n=>n(t))},F.addEventListener("resize",gs)}function DI(e){return Ja.add(e),gs||AI(),()=>{Ja.delete(e),!Ja.size&&gs&&(gs=void 0)}}function zI(e,t){return typeof e=="function"?DI(e):VI(e,t)}var BI=50,Hv=()=>({current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}),NI=()=>({time:0,x:Hv(),y:Hv()}),$I={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};function Wv(e,t,n,r){let i=n[t],{length:o,position:s}=$I[t],a=i.current,l=n.time;i.current=e[`scroll${s}`],i.scrollLength=e[`scroll${o}`]-e[`client${o}`],i.offset.length=0,i.offset[0]=0,i.offset[1]=i.scrollLength,i.progress=fr(0,i.scrollLength,i.current);let c=r-l;i.velocity=c>BI?0:Of(i.current-a,c)}function jI(e,t,n){Wv(e,"x",t,n),Wv(e,"y",t,n),t.time=n}function HI(e,t){let n={x:0,y:0},r=e;for(;r&&r!==t;)if(r instanceof HTMLElement)n.x+=r.offsetLeft,n.y+=r.offsetTop,r=r.offsetParent;else if(r.tagName==="svg"){let i=r.getBoundingClientRect();r=r.parentElement;let o=r.getBoundingClientRect();n.x+=i.left-o.left,n.y+=i.top-o.top}else if(r instanceof SVGGraphicsElement){let{x:i,y:o}=r.getBBox();n.x+=i,n.y+=o;let s=null,a=r.parentNode;for(;!s;)a.tagName==="svg"&&(s=a),a=r.parentNode;r=s}else break;return n}var WI={Enter:[[0,1],[1,1]],Exit:[[0,0],[1,0]],Any:[[1,0],[0,1]],All:[[0,0],[1,1]]},wf={start:0,center:.5,end:1};function Uv(e,t,n=0){let r=0;if(e in wf&&(e=wf[e]),typeof e=="string"){let i=parseFloat(e);e.endsWith("px")?r=i:e.endsWith("%")?e=i/100:e.endsWith("vw")?r=i/100*document.documentElement.clientWidth:e.endsWith("vh")?r=i/100*document.documentElement.clientHeight:e=i}return typeof e=="number"&&(r=t*e),n+r}var UI=[0,0];function GI(e,t,n,r){let i=Array.isArray(e)?e:UI,o=0,s=0;return typeof e=="number"?i=[e,e]:typeof e=="string"&&(e=e.trim(),e.includes(" ")?i=e.split(" "):i=[e,wf[e]?e:"0"]),o=Uv(i[0],n,r),s=Uv(i[1],t),o-s}var qI={x:0,y:0};function XI(e){return"getBBox"in e&&e.tagName!=="svg"?e.getBBox():{width:e.clientWidth,height:e.clientHeight}}function YI(e,t,n){let{offset:r=WI.All}=n,{target:i=e,axis:o="y"}=n,s=o==="y"?"height":"width",a=i!==e?HI(i,e):qI,l=i===e?{width:e.scrollWidth,height:e.scrollHeight}:XI(i),c={width:e.clientWidth,height:e.clientHeight};t[o].offset.length=0;let u=!t[o].interpolate,f=r.length;for(let d=0;dKI(e,r.target,n),update:i=>{jI(e,n,i),(r.offset||r.target)&&YI(e,n,r)},notify:()=>t(n)}}var ls=new WeakMap,Gv=new WeakMap,Ju=new WeakMap,qv=e=>e===document.documentElement?F:e;function Lr(e,{container:t=document.documentElement,...n}={}){let r=Ju.get(t);r||(r=new Set,Ju.set(t,r));let i=NI(),o=QI(t,e,i,n);if(r.add(o),!ls.has(t)){let a=()=>{for(let d of r)d.measure()},l=()=>{for(let d of r)d.update(Xe.timestamp)},c=()=>{for(let d of r)d.notify()},u=()=>{G.read(a,!1,!0),G.read(l,!1,!0),G.update(c,!1,!0)};ls.set(t,u);let f=qv(t);F.addEventListener("resize",u,{passive:!0}),t!==document.documentElement&&Gv.set(t,zI(t,u)),f.addEventListener("scroll",u,{passive:!0})}let s=ls.get(t);return G.read(s,!1,!0),()=>{var a;Et(s);let l=Ju.get(t);if(!l||(l.delete(o),l.size))return;let c=ls.get(t);ls.delete(t),c&&(qv(t).removeEventListener("scroll",c),(a=Gv.get(t))===null||a===void 0||a(),F.removeEventListener("resize",c))}}function N0(e,t){let n,r=()=>{let{currentTime:i}=t,s=(i===null?0:i.value)/100;n!==s&&e(s),n=s};return G.update(r,!0),()=>Et(r)}function ZI({source:e,container:t,axis:n="y"}){e&&(t=e);let r={value:0},i=Lr(o=>{r.value=o[n].progress*100},{container:t,axis:n});return{currentTime:r,cancel:i}}var ef=new Map;function $0({source:e,container:t=document.documentElement,axis:n="y"}={}){e&&(t=e),ef.has(t)||ef.set(t,{});let r=ef.get(t);return r[n]||(r[n]=My()?new ScrollTimeline({source:t,axis:n}):ZI({source:t,axis:n})),r[n]}function JI(e){return e.length===2}function j0(e){return e&&(e.target||e.offset)}function e2(e,t){return JI(e)||j0(t)?Lr(n=>{e(n[t.axis].progress,n)},t):N0(e,$0(t))}function t2(e,t){if(j0(t))return e.pause(),Lr(n=>{e.time=e.duration*n[t.axis].progress},t);{let n=$0(t);return e.attachTimeline(n,r=>(r.pause(),N0(i=>{r.time=r.duration*i},n)))}}function H0(e,{axis:t="y",...n}={}){let r={axis:t,...n};return typeof e=="function"?e2(e,r):t2(e,r)}function Xv(e,t){so(!!(!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 n2=()=>({scrollX:Ae(0),scrollY:Ae(0),scrollXProgress:Ae(0),scrollYProgress:Ae(0)});function W0({container:e,target:t,layoutEffect:n=!0,...r}={}){let i=Yn(n2);return(n?Or:V)(()=>(Xv("target",t),Xv("container",e),H0((s,{x:a,y:l})=>{i.scrollX.set(a.current),i.scrollXProgress.set(a.progress),i.scrollY.set(l.current),i.scrollYProgress.set(l.progress)},{...r,container:e?.current||void 0,target:t?.current||void 0})),[e,t,JSON.stringify(r.offset)]),i}function U0(){!od.current&&t0();let[e]=Re(ol.current);return e}function wi(){let e=U0(),{reducedMotion:t}=L(dr);return t==="never"?!1:t==="always"?!0:e}function r2(e){e.values.forEach(t=>t.stop())}function Sf(e,t){[...t].reverse().forEach(r=>{let i=e.getVariant(r);i&&Kf(e,i),e.variantChildren&&e.variantChildren.forEach(o=>{Sf(o,t)})})}function i2(e,t){if(Array.isArray(t))return Sf(e,t);if(typeof t=="string")return Sf(e,[t]);Kf(e,t)}function G0(){let e=!1,t=new Set,n={subscribe(r){return t.add(r),()=>void t.delete(r)},start(r,i){en(e,"controls.start() should only be called after a component has mounted. Consider calling within a useEffect hook.");let o=[];return t.forEach(s=>{o.push(Zf(s,r,{transitionOverride:i}))}),Promise.all(o)},set(r){return en(e,"controls.set() should only be called after a component has mounted. Consider calling within a useEffect hook."),t.forEach(i=>{i2(i,r)})},stop(){t.forEach(r=>{r2(r)})},mount(){return e=!0,()=>{e=!1,n.stop()}}};return n}var q0=(e,t,n)=>{let r=t-e;return((n-e)%r+r)%r+e};function o2(e,t=100,n){let r=n({...e,keyframes:[0,t]}),i=Math.min(by(r),cf);return{type:"keyframes",ease:o=>r.next(i*o).value/t,duration:Wn(i)}}function yd(e){return typeof e=="object"&&!Array.isArray(e)}function X0(e,t,n,r){return typeof e=="string"&&yd(t)?vd(e,n,r):e instanceof NodeList?Array.from(e):Array.isArray(e)?e:[e]}function Yv(e,t,n,r){var i;return typeof t=="number"?t:t.startsWith("-")||t.startsWith("+")?Math.max(0,e+parseFloat(t)):t==="<"?n:(i=r.get(t))!==null&&i!==void 0?i:e}function s2(e,t){return py(e)?e[q0(0,e.length,t)]:e}function a2(e,t,n){for(let r=0;rt&&i.at{let I=d2(x),{delay:P=0,times:D=Bf(I),type:H="keyframes",...O}=k,{ease:Y=t.ease||"easeOut",duration:W}=k,re=typeof P=="function"?P(C,T):P,U=I.length,K=ul(H)?H:i?.[H];if(U<=2&&K){let ee=100;if(U===2&&m2(I)){let ue=I[1]-I[0];ee=Math.abs(ue)}let Z={...O};W!==void 0&&(Z.duration=Fn(W));let ke=o2(Z,ee,K);Y=ke.ease,W=ke.duration}W??(W=o);let ce=f+re,ge=ce+W;D.length===1&&D[0]===0&&(D[1]=1);let B=D.length-I.length;B>0&&my(D,B),I.length===1&&I.unshift(null),l2(w,I,Y,D,ce,ge),m=Math.max(re+W,m),d=Math.max(ge,d)};if(De(v)){let x=Kv(v,a);y(b,g,Qv("default",x))}else{let x=X0(v,b,r,l),k=x.length;for(let w=0;w{for(let v in h){let b=h[v];b.sort(c2);let g=[],m=[],y=[];for(let k=0;ktypeof e=="number",m2=e=>e.every(p2);function g2(e,t){return e in t}var v2=class extends sd{constructor(){super(...arguments),this.type="object"}readValueFromInstance(e,t){if(g2(t,e)){let n=e[t];if(typeof n=="string"||typeof n=="number")return n}}getBaseTargetFromProps(){}removeValueFromRenderState(e,t){delete t.output[e]}measureInstanceViewportBox(){return $e()}build(e,t){Object.assign(e.output,t)}renderInstance(e,{output:t}){Object.assign(e,t)}sortInstanceNodePosition(){return 0}};function y2(e){let t={presenceContext:null,props:{},visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{}}},n=p0(e)?new O0(t):new _0(t);n.mount(e),Xn.set(e,n)}function b2(e){let t={presenceContext:null,props:{},visualState:{renderState:{output:{}},latestValues:{}}},n=new v2(t);n.mount(e),Xn.set(e,n)}function x2(e,t){return De(e)||typeof e=="number"||typeof e=="string"&&!yd(t)}function Y0(e,t,n,r){let i=[];if(x2(e,t))i.push(m0(e,yd(t)&&t.default||t,n&&(n.default||n)));else{let o=X0(e,t,r),s=o.length;en(!!s,"No valid elements provided.");for(let a=0;a{r.push(...Y0(a,o,s))}),r}function S2(e){return Array.isArray(e)&&Array.isArray(e[0])}function K0(e){function t(n,r,i){let o=[];S2(n)?o=w2(n,r,e):o=Y0(n,r,i,e);let s=new _y(o);return e&&e.animations.push(s),s}return t}var Qn=K0();function Q0(){let e=Yn(G0);return Or(e.mount,[]),e}var Z0=Q0;var k2={some:0,all:1};function bd(e,t,{root:n,margin:r,amount:i="some"}={}){let o=vd(e),s=new WeakMap,a=c=>{c.forEach(u=>{let f=s.get(u.target);if(u.isIntersecting!==!!f)if(u.isIntersecting){let d=t(u);typeof d=="function"?s.set(u.target,d):l.unobserve(u.target)}else f&&(f(u),s.delete(u.target))})},l=new IntersectionObserver(a,{root:n,rootMargin:r,threshold:typeof i=="number"?i:k2[i]});return o.forEach(c=>l.observe(c)),()=>l.disconnect()}function Rl(e){return e!==null&&typeof e=="object"&&id in e}function xd(e){if(Rl(e))return e[id]}function wd(){return C2}function C2(e){xi.current&&(xi.current.isUpdating=!1,xi.current.blockUpdate(),e&&e())}function J0(){let[e,t]=md(),n=wd(),r=M();return V(()=>{G.postRender(()=>G.postRender(()=>{t===r.current&&(tl.current=!1)}))},[t]),i=>{n(()=>{tl.current=!0,e(),i(),r.current=t+1})}}function eb(){return N(()=>{let t=xi.current;t&&t.resetTree()},[])}var Zv=()=>({});var s8=Cl({scrapeMotionValuesFromProps:Zv,createRenderState:Zv});var tb={};Rg(tb,{Group:()=>E2,Item:()=>M2});var nb=ye(null);function R2(e,t,n,r){if(!r)return e;let i=e.findIndex(u=>u.value===t);if(i===-1)return e;let o=r>0?1:-1,s=e[i+o];if(!s)return e;let a=e[i],l=s.layout,c=Me(l.min,l.max,.5);return o===1&&a.layout.max+n>c||o===-1&&a.layout.min+nUt[t]),l=[],c=M(!1);en(!!i,"Reorder.Group must be provided a values prop");let u={axis:n,registerItem:(f,d)=>{let h=l.findIndex(p=>f===p.value);h!==-1?l[h].layout=d[n]:l.push({value:f,layout:d[n]}),l.sort(P2)},updateOrder:(f,d,h)=>{if(c.current)return;let p=R2(l,f,d,h);l!==p&&(c.current=!0,r(p.map(F2).filter(v=>i.indexOf(v)!==-1)))}};return V(()=>{c.current=!1}),S(a,{...o,ref:s,ignoreStrict:!0,children:S(nb.Provider,{value:u,children:e})})}var E2=Fe(T2);function F2(e){return e.value}function P2(e,t){return e.layout.min-t.layout.min}function Jv(e,t=0){return De(e)?e:Kn(t)}function I2({children:e,style:t={},value:n,as:r="li",onDrag:i,layout:o=!0,...s},a){let l=Yn(()=>Ut[r]),c=L(nb),u={x:Jv(t.x),y:Jv(t.y)},f=Vt([u.x,u.y],([v,b])=>v||b?1:"unset");en(!!c,"Reorder.Item must be a child of Reorder.Group");let{axis:d,registerItem:h,updateOrder:p}=c;return S(l,{drag:d,...s,dragSnapToOrigin:!0,style:{...t,x:u.x,y:u.y,zIndex:f},layout:o,onDrag:(v,b)=>{let{velocity:g}=b;g[d]&&p(n,u[d].get(),g[d]),i&&i(v,b)},onLayoutMeasure:v=>h(n,v),ref:a,ignoreStrict:!0,children:e})}var M2=Fe(I2);function _2(e,t){if(e==="first")return 0;{let n=t-1;return e==="last"?n:n/2}}function Sd(e=.1,{startDelay:t=0,from:n=0,ease:r}={}){return(i,o)=>{let s=typeof n=="number"?n:_2(n,o),a=Math.abs(s-i),l=e*a;if(r){let c=o*e;l=sf(r)(l/c)*c}return t+l}}var O2=cs.reduce((e,t)=>(e[t]=n=>Et(n),e),{});var pO={};Cg(pO,{__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:()=>nO,createPortal:()=>rO,createRoot:()=>iO,default:()=>Vp,findDOMNode:()=>oO,flushSync:()=>sO,hydrate:()=>aO,hydrateRoot:()=>lO,render:()=>cO,unmountComponentAtNode:()=>uO,unstable_batchedUpdates:()=>fO,unstable_renderSubtreeIntoContainer:()=>dO,version:()=>hO});var Ml={};Cg(Ml,{default:()=>te,unstable_IdlePriority:()=>A2,unstable_ImmediatePriority:()=>D2,unstable_LowPriority:()=>z2,unstable_NormalPriority:()=>B2,unstable_Profiling:()=>N2,unstable_UserBlockingPriority:()=>$2,unstable_cancelCallback:()=>j2,unstable_continueExecution:()=>H2,unstable_forceFrameRate:()=>W2,unstable_getCurrentPriorityLevel:()=>U2,unstable_getFirstCallbackNode:()=>G2,unstable_next:()=>q2,unstable_now:()=>V2,unstable_pauseExecution:()=>X2,unstable_requestPaint:()=>Y2,unstable_runWithPriority:()=>K2,unstable_scheduleCallback:()=>Q2,unstable_shouldYield:()=>Z2,unstable_wrapCallback:()=>J2});var te={};function Td(e,t){var n=e.length;e.push(t);e:for(;0>>1,i=e[r];if(!(0>>1;rTl(a,n))lTl(c,a)?(e[r]=c,e[l]=n,r=l):(e[r]=a,e[s]=n,r=s);else{if(!(lTl(c,n)))break e;e[r]=c,e[l]=n,r=l}}}return t}function Tl(e,t){var n=e.sortIndex-t.sortIndex;return n!==0?n:e.id-t.id}typeof performance=="object"&&typeof performance.now=="function"?(rb=performance,te.unstable_now=function(){return rb.now()}):(kd=Date,ib=kd.now(),te.unstable_now=function(){return kd.now()-ib});var rb,kd,ib,Zn=[],Vr=[],L2=1,gn=null,Ft=3,Pl=!1,Si=!1,Ps=!1,ab=typeof setTimeout=="function"?setTimeout:null,lb=typeof clearTimeout=="function"?clearTimeout:null,ob=typeof setImmediate<"u"?setImmediate:null;typeof Be<"u"&&Be.scheduling!==void 0&&Be.scheduling.isInputPending!==void 0&&Be.scheduling.isInputPending.bind(Be.scheduling);function Ed(e){for(var t=Pn(Vr);t!==null;){if(t.callback===null)Fl(Vr);else{if(!(t.startTime<=e))break;Fl(Vr),t.sortIndex=t.expirationTime,Td(Zn,t)}t=Pn(Vr)}}function Fd(e){if(Ps=!1,Ed(e),!Si)if(Pn(Zn)!==null)Si=!0,Id(Pd);else{var t=Pn(Vr);t!==null&&Md(Fd,t.startTime-e)}}function Pd(e,t){Si=!1,Ps&&(Ps=!1,lb(Is),Is=-1),Pl=!0;var n=Ft;try{for(Ed(t),gn=Pn(Zn);gn!==null&&(!(gn.expirationTime>t)||e&&!fb());){var r=gn.callback;if(typeof r=="function"){gn.callback=null,Ft=gn.priorityLevel;var i=r(gn.expirationTime<=t);t=te.unstable_now(),typeof i=="function"?gn.callback=i:gn===Pn(Zn)&&Fl(Zn),Ed(t)}else Fl(Zn);gn=Pn(Zn)}if(gn!==null)var o=!0;else{var s=Pn(Vr);s!==null&&Md(Fd,s.startTime-t),o=!1}return o}finally{gn=null,Ft=n,Pl=!1}}var Il=!1,El=null,Is=-1,cb=5,ub=-1;function fb(){return!(te.unstable_now()-ube||125r?(e.sortIndex=n,Td(Vr,e),Pn(Zn)===null&&e===Pn(Vr)&&(Ps?(lb(Is),Is=-1):Ps=!0,Md(Fd,n-r))):(e.sortIndex=i,Td(Zn,e),Si||Pl||(Si=!0,Id(Pd))),e};te.unstable_shouldYield=fb;te.unstable_wrapCallback=function(e){var t=Ft;return function(){var n=Ft;Ft=t;try{return e.apply(this,arguments)}finally{Ft=n}}};var V2=te.unstable_now,A2=te.unstable_IdlePriority,D2=te.unstable_ImmediatePriority,z2=te.unstable_LowPriority,B2=te.unstable_NormalPriority,N2=te.unstable_Profiling,$2=te.unstable_UserBlockingPriority,j2=te.unstable_cancelCallback,H2=te.unstable_continueExecution,W2=te.unstable_forceFrameRate,U2=te.unstable_getCurrentPriorityLevel,G2=te.unstable_getFirstCallbackNode,q2=te.unstable_next,X2=te.unstable_pauseExecution,Y2=te.unstable_requestPaint,K2=te.unstable_runWithPriority,Q2=te.unstable_scheduleCallback,Z2=te.unstable_shouldYield,J2=te.unstable_wrapCallback;var eM="default"in hn?E:hn,tM="default"in Ml?te:Ml,sn={},yx=eM,on=tM;function _(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof F.document>"u"||typeof F.document.createElement>"u"),eh=Object.prototype.hasOwnProperty,nM=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,db={},hb={};function rM(e){return eh.call(hb,e)?!0:eh.call(db,e)?!1:nM.test(e)?hb[e]=!0:(db[e]=!0,!1)}function iM(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function oM(e,t,n,r){if(t===null||typeof t>"u"||iM(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function zt(e,t,n,r,i,o,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=s}var wt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){wt[e]=new zt(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];wt[t]=new zt(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){wt[e]=new zt(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){wt[e]=new zt(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){wt[e]=new zt(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){wt[e]=new zt(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){wt[e]=new zt(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){wt[e]=new zt(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){wt[e]=new zt(e,5,!1,e.toLowerCase(),null,!1,!1)});var Uh=/[\-:]([a-z])/g;function Gh(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Uh,Gh);wt[t]=new zt(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Uh,Gh);wt[t]=new zt(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Uh,Gh);wt[t]=new zt(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){wt[e]=new zt(e,1,!1,e.toLowerCase(),null,!1,!1)});wt.xlinkHref=new zt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){wt[e]=new zt(e,1,!1,e.toLowerCase(),null,!0,!0)});function qh(e,t,n,r){var i=wt.hasOwnProperty(t)?wt[t]:null;(i!==null?i.type!==0:r||!(2a||i[s]!==o[a]){var l=` `+i[s].replace(" at new "," at ");return e.displayName&&l.includes("")&&(l=l.replace("",e.displayName)),l}while(1<=s&&0<=a);break}}}finally{Od=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Bs(e):""}function sM(e){switch(e.tag){case 5:return Bs(e.type);case 16:return Bs("Lazy");case 13:return Bs("Suspense");case 19:return Bs("SuspenseList");case 0:case 2:case 15:return e=Ld(e.type,!1),e;case 11:return e=Ld(e.type.render,!1),e;case 1:return e=Ld(e.type,!0),e;default:return""}}function ih(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case po:return"Fragment";case ho:return"Portal";case th:return"Profiler";case Xh:return"StrictMode";case nh:return"Suspense";case rh:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case wx:return(e.displayName||"Context")+".Consumer";case xx:return(e._context.displayName||"Context")+".Provider";case Yh:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Kh:return t=e.displayName||null,t!==null?t:ih(e.type)||"Memo";case Dr:t=e._payload,e=e._init;try{return ih(e(t))}catch{}}return null}function aM(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return ih(t);case 8:return t===Xh?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Qr(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function kx(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function lM(e){var t=kx(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(s){r=""+s,o.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Ol(e){e._valueTracker||(e._valueTracker=lM(e))}function Cx(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=kx(e)?e.checked?"true":"false":e.value),e=r,e!==n&&(t.setValue(e),!0)}function ac(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function oh(e,t){var n=t.checked;return We({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function mb(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Qr(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Rx(e,t){t=t.checked,t!=null&&qh(e,"checked",t,!1)}function sh(e,t){Rx(e,t);var n=Qr(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?ah(e,t.type,n):t.hasOwnProperty("defaultValue")&&ah(e,t.type,Qr(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function gb(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function ah(e,t,n){t==="number"&&ac(e.ownerDocument)===e||(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Ns=Array.isArray;function Ro(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=Ll.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Js(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Hs={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},cM=["Webkit","ms","Moz","O"];Object.keys(Hs).forEach(function(e){cM.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Hs[t]=Hs[e]})});function Px(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Hs.hasOwnProperty(e)&&Hs[e]?(""+t).trim():t+"px"}function Ix(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=Px(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var uM=We({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function uh(e,t){if(t){if(uM[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(_(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(_(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(_(61))}if(t.style!=null&&typeof t.style!="object")throw Error(_(62))}}function fh(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var dh=null;function Qh(e){return e=e.target||e.srcElement||F,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var hh=null,To=null,Eo=null;function bb(e){if(e=va(e)){if(typeof hh!="function")throw Error(_(280));var t=e.stateNode;t&&(t=Vc(t),hh(e.stateNode,e.type,t))}}function Mx(e){To?Eo?Eo.push(e):Eo=[e]:To=e}function _x(){if(To){var e=To,t=Eo;if(Eo=To=null,bb(e),t)for(e=0;e>>=0,e===0?32:31-(wM(e)/SM|0)|0}var Vl=64,Al=4194304;function $s(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function fc(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,s=268435455&n;if(s!==0){var a=s&~i;a!==0?r=$s(a):(o&=s,o!==0&&(r=$s(o)))}else s=n&~i,s!==0?r=$s(s):o!==0&&(r=$s(o));if(r===0)return 0;if(t!==0&&t!==r&&(t&i)===0&&(i=r&-r,o=t&-t,i>=o||i===16&&(4194240&o)!==0))return t;if((4&r)!==0&&(r|=16&n),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function ma(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Ln(t),e[t]=n}function TM(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=Us),Fb=" ",Pb=!1;function Zx(e,t){switch(e){case"keyup":return e_.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Jx(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var mo=!1;function n_(e,t){switch(e){case"compositionend":return Jx(t);case"keypress":return t.which!==32?null:(Pb=!0,Fb);case"textInput":return e=t.data,e===Fb&&Pb?null:e;default:return null}}function r_(e,t){if(mo)return e==="compositionend"||!op&&Zx(e,t)?(e=Kx(),Zl=np=$r=null,mo=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=_b(n)}}function r1(e,t){return!(!e||!t)&&(e===t||(!e||e.nodeType!==3)&&(t&&t.nodeType===3?r1(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function i1(){for(var e=F,t=ac();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(!n)break;e=t.contentWindow,t=ac(e.document)}return t}function sp(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function d_(e){var t=i1(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&r1(n.ownerDocument.documentElement,n)){if(r!==null&&sp(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||F,e.getSelection){e=e.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=Ob(n,o);var s=Ob(n,r);i&&s&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,go=null,bh=null,qs=null,xh=!1;function Lb(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;xh||go==null||go!==ac(r)||(r=go,"selectionStart"in r&&sp(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||F).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),qs&&oa(qs,r)||(qs=r,r=pc(bh,"onSelect"),0bo||(e.current=Th[bo],Th[bo]=null,bo--)}function Pe(e,t){bo++,Th[bo]=e.current,e.current=t}var Zr={},_t=ei(Zr),Xt=ei(!1),Ii=Zr;function _o(e,t){var n=e.type.contextTypes;if(!n)return Zr;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i,o={};for(i in n)o[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Yt(e){return e=e.childContextTypes,e!=null}function gc(){Oe(Xt),Oe(_t)}function Hb(e,t,n){if(_t.current!==Zr)throw Error(_(168));Pe(_t,t),Pe(Xt,n)}function h1(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(_(108,aM(e)||"Unknown",i));return We({},n,r)}function vc(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Zr,Ii=_t.current,Pe(_t,e),Pe(Xt,Xt.current),!0}function Wb(e,t,n){var r=e.stateNode;if(!r)throw Error(_(169));n?(e=h1(e,t,Ii),r.__reactInternalMemoizedMergedChildContext=e,Oe(Xt),Oe(_t),Pe(_t,e)):Oe(Xt),Pe(Xt,n)}var pr=null,Ac=!1,Ud=!1;function p1(e){pr===null?pr=[e]:pr.push(e)}function S_(e){Ac=!0,p1(e)}function ti(){if(!Ud&&pr!==null){Ud=!0;var e=0,t=Ce;try{var n=pr;for(Ce=1;e>=s,i-=s,mr=1<<32-Ln(t)+i|n<T?(I=C,C=null):I=C.sibling;var P=d(g,C,y[T],x);if(P===null){C===null&&(C=I);break}e&&C&&P.alternate===null&&t(g,C),m=o(P,m,T),w===null?k=P:w.sibling=P,w=P,C=I}if(T===y.length)return n(g,C),ze&&ki(g,T),k;if(C===null){for(;TT?(I=C,C=null):I=C.sibling;var D=d(g,C,P.value,x);if(D===null){C===null&&(C=I);break}e&&C&&D.alternate===null&&t(g,C),m=o(D,m,T),w===null?k=D:w.sibling=D,w=D,C=I}if(P.done)return n(g,C),ze&&ki(g,T),k;if(C===null){for(;!P.done;T++,P=y.next())P=f(g,P.value,x),P!==null&&(m=o(P,m,T),w===null?k=P:w.sibling=P,w=P);return ze&&ki(g,T),k}for(C=r(g,C);!P.done;T++,P=y.next())P=h(C,g,T,P.value,x),P!==null&&(e&&P.alternate!==null&&C.delete(P.key===null?T:P.key),m=o(P,m,T),w===null?k=P:w.sibling=P,w=P);return e&&C.forEach(function(H){return t(g,H)}),ze&&ki(g,T),k}function b(g,m,y,x){if(typeof y=="object"&&y!==null&&y.type===po&&y.key===null&&(y=y.props.children),typeof y=="object"&&y!==null){switch(y.$$typeof){case _l:e:{for(var k=y.key,w=m;w!==null;){if(w.key===k){if(k=y.type,k===po){if(w.tag===7){n(g,w.sibling),m=i(w,y.props.children),m.return=g,g=m;break e}}else if(w.elementType===k||typeof k=="object"&&k!==null&&k.$$typeof===Dr&&Qb(k)===w.type){n(g,w.sibling),m=i(w,y.props),m.ref=Vs(g,w,y),m.return=g,g=m;break e}n(g,w);break}t(g,w),w=w.sibling}y.type===po?(m=Pi(y.props.children,g.mode,x,y.key),m.return=g,g=m):(x=sc(y.type,y.key,y.props,null,g.mode,x),x.ref=Vs(g,m,y),x.return=g,g=x)}return s(g);case ho:e:{for(w=y.key;m!==null;){if(m.key===w){if(m.tag===4&&m.stateNode.containerInfo===y.containerInfo&&m.stateNode.implementation===y.implementation){n(g,m.sibling),m=i(m,y.children||[]),m.return=g,g=m;break e}n(g,m);break}t(g,m),m=m.sibling}m=Jd(y,g.mode,x),m.return=g,g=m}return s(g);case Dr:return w=y._init,b(g,m,w(y._payload),x)}if(Ns(y))return p(g,m,y,x);if(Ms(y))return v(g,m,y,x);ql(g,y)}return typeof y=="string"&&y!==""||typeof y=="number"?(y=""+y,m!==null&&m.tag===6?(n(g,m.sibling),m=i(m,y),m.return=g,g=m):(n(g,m),m=Zd(y,g.mode,x),m.return=g,g=m),s(g)):n(g,m)}return b}var Lo=S1(!0),k1=S1(!1),ya={},rr=ei(ya),ca=ei(ya),ua=ei(ya);function Ei(e){if(e===ya)throw Error(_(174));return e}function mp(e,t){switch(Pe(ua,t),Pe(ca,e),Pe(rr,ya),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ch(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=ch(t,e)}Oe(rr),Pe(rr,t)}function Vo(){Oe(rr),Oe(ca),Oe(ua)}function C1(e){Ei(ua.current);var t=Ei(rr.current),n=ch(t,e.type);t!==n&&(Pe(ca,e),Pe(rr,n))}function gp(e){ca.current===e&&(Oe(rr),Oe(ca))}var je=ei(0);function kc(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if((128&t.flags)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Gd=[];function vp(){for(var e=0;en?n:4,e(!0);var r=qd.transition;qd.transition={};try{e(!1),t()}finally{Ce=n,qd.transition=r}}function N1(){return Sn().memoizedState}function T_(e,t,n){var r=Yr(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},$1(e))j1(t,n);else if(n=y1(e,t,n,r),n!==null){var i=Dt();Vn(n,e,r,i),H1(n,t,r)}}function E_(e,t,n){var r=Yr(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if($1(e))j1(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var s=t.lastRenderedState,a=o(s,n);if(i.hasEagerState=!0,i.eagerState=a,An(a,s)){var l=t.interleaved;l===null?(i.next=i,hp(t)):(i.next=l.next,l.next=i),t.interleaved=i;return}}catch{}n=y1(e,t,i,r),n!==null&&(i=Dt(),Vn(n,e,r,i),H1(n,t,r))}}function $1(e){var t=e.alternate;return e===He||t!==null&&t===He}function j1(e,t){Xs=Cc=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function H1(e,t,n){if((4194240&n)!==0){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Jh(e,n)}}var Rc={readContext:wn,useCallback:Pt,useContext:Pt,useEffect:Pt,useImperativeHandle:Pt,useInsertionEffect:Pt,useLayoutEffect:Pt,useMemo:Pt,useReducer:Pt,useRef:Pt,useState:Pt,useDebugValue:Pt,useDeferredValue:Pt,useTransition:Pt,useMutableSource:Pt,useSyncExternalStore:Pt,useId:Pt,unstable_isNewReconciler:!1},F_={readContext:wn,useCallback:function(e,t){return er().memoizedState=[e,t===void 0?null:t],e},useContext:wn,useEffect:Jb,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,nc(4194308,4,V1.bind(null,t,e),n)},useLayoutEffect:function(e,t){return nc(4194308,4,e,t)},useInsertionEffect:function(e,t){return nc(4,2,e,t)},useMemo:function(e,t){var n=er();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=er();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=T_.bind(null,He,e),[r.memoizedState,e]},useRef:function(e){var t=er();return e={current:e},t.memoizedState=e},useState:Zb,useDebugValue:Sp,useDeferredValue:function(e){return er().memoizedState=e},useTransition:function(){var e=Zb(!1),t=e[0];return e=R_.bind(null,e[1]),er().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=He,i=er();if(ze){if(n===void 0)throw Error(_(407));n=n()}else{if(n=t(),mt===null)throw Error(_(349));(30&_i)!==0||E1(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,Jb(P1.bind(null,r,o,e),[e]),r.flags|=2048,ha(9,F1.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=er(),t=mt.identifierPrefix;if(ze){var n=gr,r=mr;n=(r&~(1<<32-Ln(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=fa++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),n==="select"&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[tr]=t,e[la]=r,Z1(e,t,!1,!1),t.stateNode=e;e:{switch(s=fh(n,r),n){case"dialog":_e("cancel",e),_e("close",e),i=r;break;case"iframe":case"object":case"embed":_e("load",e),i=r;break;case"video":case"audio":for(i=0;iDo&&(t.flags|=128,r=!0,As(o,!1),t.lanes=4194304)}else{if(!r)if(e=kc(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),As(o,!0),o.tail===null&&o.tailMode==="hidden"&&!s.alternate&&!ze)return It(t),null}else 2*Qe()-o.renderingStartTime>Do&&n!==1073741824&&(t.flags|=128,r=!0,As(o,!1),t.lanes=4194304);o.isBackwards?(s.sibling=t.child,t.child=s):(n=o.last,n!==null?n.sibling=s:t.child=s,o.last=s)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=Qe(),t.sibling=null,n=je.current,Pe(je,r?1&n|2:1&n),t):(It(t),null);case 22:case 23:return Fp(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&(1&t.mode)!==0?(1073741824&tn)!==0&&(It(t),6&t.subtreeFlags&&(t.flags|=8192)):It(t),null;case 24:return null;case 25:return null}throw Error(_(156,t.tag))}function A_(e,t){switch(lp(t),t.tag){case 1:return Yt(t.type)&&gc(),e=t.flags,65536&e?(t.flags=-65537&e|128,t):null;case 3:return Vo(),Oe(Xt),Oe(_t),vp(),e=t.flags,(65536&e)!==0&&(128&e)===0?(t.flags=-65537&e|128,t):null;case 5:return gp(t),null;case 13:if(Oe(je),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(_(340));Oo()}return e=t.flags,65536&e?(t.flags=-65537&e|128,t):null;case 19:return Oe(je),null;case 4:return Vo(),null;case 10:return dp(t.type._context),null;case 22:case 23:return Fp(),null;case 24:return null;default:return null}}var Yl=!1,Mt=!1,D_=typeof WeakSet=="function"?WeakSet:Set,$=null;function ko(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Ye(e,t,r)}else n.current=null}function tw(e,t,n){try{n()}catch(r){Ye(e,t,r)}}var lx=!1;function z_(e,t){if(wh=dc,e=i1(),sp(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||F;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var s=0,a=-1,l=-1,c=0,u=0,f=e,d=null;t:for(;;){for(var h;f!==n||i!==0&&f.nodeType!==3||(a=s+i),f!==o||r!==0&&f.nodeType!==3||(l=s+r),f.nodeType===3&&(s+=f.nodeValue.length),(h=f.firstChild)!==null;)d=f,f=h;for(;;){if(f===e)break t;if(d===n&&++c===i&&(a=s),d===o&&++u===r&&(l=s),(h=f.nextSibling)!==null)break;f=d,d=f.parentNode}f=h}n=a===-1||l===-1?null:{start:a,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(Sh={focusedElem:e,selectionRange:n},dc=!1,$=t;$!==null;)if(t=$,e=t.child,(1028&t.subtreeFlags)!==0&&e!==null)e.return=t,$=e;else for(;$!==null;){t=$;try{var p=t.alternate;if((1024&t.flags)!==0)switch(t.tag){case 0:case 11:case 15:break;case 1:if(p!==null){var v=p.memoizedProps,b=p.memoizedState,g=t.stateNode,m=g.getSnapshotBeforeUpdate(t.elementType===t.type?v:Mn(t.type,v),b);g.__reactInternalSnapshotBeforeUpdate=m}break;case 3:var y=t.stateNode.containerInfo;y.nodeType===1?y.textContent="":y.nodeType===9&&y.documentElement&&y.removeChild(y.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(_(163))}}catch(x){Ye(t,t.return,x)}if(e=t.sibling,e!==null){e.return=t.return,$=e;break}$=t.return}return p=lx,lx=!1,p}function Ys(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,o!==void 0&&tw(t,n,o)}i=i.next}while(i!==r)}}function Bc(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function zh(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function nw(e){var t=e.alternate;t!==null&&(e.alternate=null,nw(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[tr],delete t[la],delete t[Rh],delete t[x_],delete t[w_])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function rw(e){return e.tag===5||e.tag===3||e.tag===4}function cx(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||rw(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(2&e.flags||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function Bh(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=mc));else if(r!==4&&(e=e.child,e!==null))for(Bh(e,t,n),e=e.sibling;e!==null;)Bh(e,t,n),e=e.sibling}function Nh(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Nh(e,t,n),e=e.sibling;e!==null;)Nh(e,t,n),e=e.sibling}var bt=null,_n=!1;function Ar(e,t,n){for(n=n.child;n!==null;)iw(e,t,n),n=n.sibling}function iw(e,t,n){if(nr&&typeof nr.onCommitFiberUnmount=="function")try{nr.onCommitFiberUnmount(Mc,n)}catch{}switch(n.tag){case 5:Mt||ko(n,t);case 6:var r=bt,i=_n;bt=null,Ar(e,t,n),bt=r,_n=i,bt!==null&&(_n?(e=bt,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):bt.removeChild(n.stateNode));break;case 18:bt!==null&&(_n?(e=bt,n=n.stateNode,e.nodeType===8?Wd(e.parentNode,n):e.nodeType===1&&Wd(e,n),ra(e)):Wd(bt,n.stateNode));break;case 4:r=bt,i=_n,bt=n.stateNode.containerInfo,_n=!0,Ar(e,t,n),bt=r,_n=i;break;case 0:case 11:case 14:case 15:if(!Mt&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,s=o.destroy;o=o.tag,s!==void 0&&((2&o)!==0||(4&o)!==0)&&tw(n,t,s),i=i.next}while(i!==r)}Ar(e,t,n);break;case 1:if(!Mt&&(ko(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){Ye(n,t,a)}Ar(e,t,n);break;case 21:Ar(e,t,n);break;case 22:1&n.mode?(Mt=(r=Mt)||n.memoizedState!==null,Ar(e,t,n),Mt=r):Ar(e,t,n);break;default:Ar(e,t,n)}}function ux(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new D_),t.forEach(function(r){var i=q_.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function In(e,t){var n=t.deletions;if(n!==null)for(var r=0;ri&&(i=s),r&=~o}if(r=i,r=Qe()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*N_(r/1960))-r,10e?16:e,jr===null)var r=!1;else{if(e=jr,jr=null,Fc=0,(6&be)!==0)throw Error(_(331));var i=be;for(be|=4,$=e.current;$!==null;){var o=$,s=o.child;if((16&$.flags)!==0){var a=o.deletions;if(a!==null){for(var l=0;lQe()-Tp?Fi(e,0):Rp|=n),Kt(e,t)}function dw(e,t){t===0&&((1&e.mode)===0?t=1:(t=Al,Al<<=1,(130023424&Al)===0&&(Al=4194304)));var n=Dt();e=xr(e,t),e!==null&&(ma(e,t,n),Kt(e,n))}function G_(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),dw(e,n)}function q_(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(_(314))}r!==null&&r.delete(t),dw(e,n)}var hw;hw=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Xt.current)qt=!0;else{if((e.lanes&n)===0&&(128&t.flags)===0)return qt=!1,L_(e,t,n);qt=(131072&e.flags)!==0}else qt=!1,ze&&(1048576&t.flags)!==0&&m1(t,bc,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;rc(e,t),e=t.pendingProps;var i=_o(t,_t.current);Po(t,n),i=bp(null,t,r,e,i,n);var o=xp();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Yt(r)?(o=!0,vc(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,pp(t),i.updater=Dc,t.stateNode=i,i._reactInternals=t,Mh(t,r,e,n),t=Lh(null,t,r,!0,o,n)):(t.tag=0,ze&&o&&ap(t),At(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(rc(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=Y_(r),e=Mn(r,e),i){case 0:t=Oh(null,t,r,e,n);break e;case 1:t=ox(null,t,r,e,n);break e;case 11:t=rx(null,t,r,e,n);break e;case 14:t=ix(null,t,r,Mn(r.type,e),n);break e}throw Error(_(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Mn(r,i),Oh(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Mn(r,i),ox(e,t,r,i,n);case 3:e:{if(Y1(t),e===null)throw Error(_(387));r=t.pendingProps,o=t.memoizedState,i=o.element,b1(e,t),Sc(t,r,null,n);var s=t.memoizedState;if(r=s.element,o.isDehydrated){if(o={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=o,t.memoizedState=o,256&t.flags){i=Ao(Error(_(423)),t),t=sx(e,t,r,n,i);break e}if(r!==i){i=Ao(Error(_(424)),t),t=sx(e,t,r,n,i);break e}for(nn=Gr(t.stateNode.containerInfo.firstChild),rn=t,ze=!0,On=null,n=k1(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(Oo(),r===i){t=wr(e,t,n);break e}At(e,t,r,n)}t=t.child}return t;case 5:return C1(t),e===null&&Fh(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,s=i.children,kh(r,i)?s=null:o!==null&&kh(r,o)&&(t.flags|=32),X1(e,t),At(e,t,s,n),t.child;case 6:return e===null&&Fh(t),null;case 13:return K1(e,t,n);case 4:return mp(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Lo(t,null,r,n):At(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Mn(r,i),rx(e,t,r,i,n);case 7:return At(e,t,t.pendingProps,n),t.child;case 8:return At(e,t,t.pendingProps.children,n),t.child;case 12:return At(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,s=i.value,Pe(xc,r._currentValue),r._currentValue=s,o!==null)if(An(o.value,s)){if(o.children===i.children&&!Xt.current){t=wr(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var a=o.dependencies;if(a!==null){s=o.child;for(var l=a.firstContext;l!==null;){if(l.context===r){if(o.tag===1){l=vr(-1,n&-n),l.tag=2;var c=o.updateQueue;if(c!==null){c=c.shared;var u=c.pending;u===null?l.next=l:(l.next=u.next,u.next=l),c.pending=l}}o.lanes|=n,l=o.alternate,l!==null&&(l.lanes|=n),Ph(o.return,n,t),a.lanes|=n;break}l=l.next}}else if(o.tag===10)s=o.type===t.type?null:o.child;else if(o.tag===18){if(s=o.return,s===null)throw Error(_(341));s.lanes|=n,a=s.alternate,a!==null&&(a.lanes|=n),Ph(s,n,t),s=o.sibling}else s=o.child;if(s!==null)s.return=o;else for(s=o;s!==null;){if(s===t){s=null;break}if(o=s.sibling,o!==null){o.return=s.return,s=o;break}s=s.return}o=s}At(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,Po(t,n),i=wn(i),r=r(i),t.flags|=1,At(e,t,r,n),t.child;case 14:return r=t.type,i=Mn(r,t.pendingProps),i=Mn(r.type,i),ix(e,t,r,i,n);case 15:return G1(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Mn(r,i),rc(e,t),t.tag=1,Yt(r)?(e=!0,vc(t)):e=!1,Po(t,n),w1(t,r,i),Mh(t,r,i,n),Lh(null,t,r,!0,e,n);case 19:return Q1(e,t,n);case 22:return q1(e,t,n)}throw Error(_(156,t.tag))};function pw(e,t){return Bx(e,t)}function X_(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function bn(e,t,n,r){return new X_(e,t,n,r)}function Ip(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Y_(e){if(typeof e=="function")return Ip(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Yh)return 11;if(e===Kh)return 14}return 2}function Kr(e,t){var n=e.alternate;return n===null?(n=bn(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function sc(e,t,n,r,i,o){var s=2;if(r=e,typeof e=="function")Ip(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case po:return Pi(n.children,i,o,t);case Xh:s=8,i|=8;break;case th:return e=bn(12,n,t,2|i),e.elementType=th,e.lanes=o,e;case nh:return e=bn(13,n,t,i),e.elementType=nh,e.lanes=o,e;case rh:return e=bn(19,n,t,i),e.elementType=rh,e.lanes=o,e;case Sx:return $c(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case xx:s=10;break e;case wx:s=9;break e;case Yh:s=11;break e;case Kh:s=14;break e;case Dr:s=16,r=null;break e}throw Error(_(130,e==null?e:typeof e,""))}return t=bn(s,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function Pi(e,t,n,r){return e=bn(7,e,r,t),e.lanes=n,e}function $c(e,t,n,r){return e=bn(22,e,r,t),e.elementType=Sx,e.lanes=n,e.stateNode={isHidden:!1},e}function Zd(e,t,n){return e=bn(6,e,null,t),e.lanes=n,e}function Jd(e,t,n){return t=bn(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function K_(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Ad(0),this.expirationTimes=Ad(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ad(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Mp(e,t,n,r,i,o,s,a,l){return e=new K_(e,t,n,a,l),t===1?(t=1,o===!0&&(t|=8)):t=0,o=bn(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},pp(o),e}function Q_(e,t,n){var r=3.04045?Math.pow((r+.055)/1.055,2.4):r/12.92}static yToL(r){return r<=A.epsilon?r/A.refY*A.kappa:116*Math.pow(r/A.refY,1/3)-16}static lToY(r){return r<=8?A.refY*r/A.kappa:A.refY*Math.pow((r+16)/116,3)}static rgbChannelToHex(r){let i=Math.round(r*255),o=i%16,s=(i-o)/16|0;return A.hexChars.charAt(s)+A.hexChars.charAt(o)}static hexToRgbChannel(r,i){let o=A.hexChars.indexOf(r.charAt(i)),s=A.hexChars.indexOf(r.charAt(i+1));return(o*16+s)/255}static distanceFromOriginAngle(r,i,o){let s=i/(Math.sin(o)-r*Math.cos(o));return s<0?1/0:s}static distanceFromOrigin(r,i){return Math.abs(i)/Math.sqrt(Math.pow(r,2)+1)}static min6(r,i,o,s,a,l){return Math.min(r,Math.min(i,Math.min(o,Math.min(s,Math.min(a,l)))))}rgbToHex(){this.hex="#",this.hex+=A.rgbChannelToHex(this.rgb_r),this.hex+=A.rgbChannelToHex(this.rgb_g),this.hex+=A.rgbChannelToHex(this.rgb_b)}hexToRgb(){this.hex=this.hex.toLowerCase(),this.rgb_r=A.hexToRgbChannel(this.hex,1),this.rgb_g=A.hexToRgbChannel(this.hex,3),this.rgb_b=A.hexToRgbChannel(this.hex,5)}xyzToRgb(){this.rgb_r=A.fromLinear(A.m_r0*this.xyz_x+A.m_r1*this.xyz_y+A.m_r2*this.xyz_z),this.rgb_g=A.fromLinear(A.m_g0*this.xyz_x+A.m_g1*this.xyz_y+A.m_g2*this.xyz_z),this.rgb_b=A.fromLinear(A.m_b0*this.xyz_x+A.m_b1*this.xyz_y+A.m_b2*this.xyz_z)}rgbToXyz(){let r=A.toLinear(this.rgb_r),i=A.toLinear(this.rgb_g),o=A.toLinear(this.rgb_b);this.xyz_x=.41239079926595*r+.35758433938387*i+.18048078840183*o,this.xyz_y=.21263900587151*r+.71516867876775*i+.072192315360733*o,this.xyz_z=.019330818715591*r+.11919477979462*i+.95053215224966*o}xyzToLuv(){let r=this.xyz_x+15*this.xyz_y+3*this.xyz_z,i=4*this.xyz_x,o=9*this.xyz_y;r!==0?(i/=r,o/=r):(i=NaN,o=NaN),this.luv_l=A.yToL(this.xyz_y),this.luv_l===0?(this.luv_u=0,this.luv_v=0):(this.luv_u=13*this.luv_l*(i-A.refU),this.luv_v=13*this.luv_l*(o-A.refV))}luvToXyz(){if(this.luv_l===0){this.xyz_x=0,this.xyz_y=0,this.xyz_z=0;return}let r=this.luv_u/(13*this.luv_l)+A.refU,i=this.luv_v/(13*this.luv_l)+A.refV;this.xyz_y=A.lToY(this.luv_l),this.xyz_x=0-9*this.xyz_y*r/((r-4)*i-r*i),this.xyz_z=(9*this.xyz_y-15*i*this.xyz_y-i*this.xyz_x)/(3*i)}luvToLch(){if(this.lch_l=this.luv_l,this.lch_c=Math.sqrt(this.luv_u*this.luv_u+this.luv_v*this.luv_v),this.lch_c<1e-8)this.lch_h=0;else{let r=Math.atan2(this.luv_v,this.luv_u);this.lch_h=r*180/Math.PI,this.lch_h<0&&(this.lch_h=360+this.lch_h)}}lchToLuv(){let r=this.lch_h/180*Math.PI;this.luv_l=this.lch_l,this.luv_u=Math.cos(r)*this.lch_c,this.luv_v=Math.sin(r)*this.lch_c}calculateBoundingLines(r){let i=Math.pow(r+16,3)/1560896,o=i>A.epsilon?i:r/A.kappa,s=o*(284517*A.m_r0-94839*A.m_r2),a=o*(838422*A.m_r2+769860*A.m_r1+731718*A.m_r0),l=o*(632260*A.m_r2-126452*A.m_r1),c=o*(284517*A.m_g0-94839*A.m_g2),u=o*(838422*A.m_g2+769860*A.m_g1+731718*A.m_g0),f=o*(632260*A.m_g2-126452*A.m_g1),d=o*(284517*A.m_b0-94839*A.m_b2),h=o*(838422*A.m_b2+769860*A.m_b1+731718*A.m_b0),p=o*(632260*A.m_b2-126452*A.m_b1);this.r0s=s/l,this.r0i=a*r/l,this.r1s=s/(l+126452),this.r1i=(a-769860)*r/(l+126452),this.g0s=c/f,this.g0i=u*r/f,this.g1s=c/(f+126452),this.g1i=(u-769860)*r/(f+126452),this.b0s=d/p,this.b0i=h*r/p,this.b1s=d/(p+126452),this.b1i=(h-769860)*r/(p+126452)}calcMaxChromaHpluv(){let r=A.distanceFromOrigin(this.r0s,this.r0i),i=A.distanceFromOrigin(this.r1s,this.r1i),o=A.distanceFromOrigin(this.g0s,this.g0i),s=A.distanceFromOrigin(this.g1s,this.g1i),a=A.distanceFromOrigin(this.b0s,this.b0i),l=A.distanceFromOrigin(this.b1s,this.b1i);return A.min6(r,i,o,s,a,l)}calcMaxChromaHsluv(r){let i=r/360*Math.PI*2,o=A.distanceFromOriginAngle(this.r0s,this.r0i,i),s=A.distanceFromOriginAngle(this.r1s,this.r1i,i),a=A.distanceFromOriginAngle(this.g0s,this.g0i,i),l=A.distanceFromOriginAngle(this.g1s,this.g1i,i),c=A.distanceFromOriginAngle(this.b0s,this.b0i,i),u=A.distanceFromOriginAngle(this.b1s,this.b1i,i);return A.min6(o,s,a,l,c,u)}hsluvToLch(){if(this.hsluv_l>99.9999999)this.lch_l=100,this.lch_c=0;else if(this.hsluv_l<1e-8)this.lch_l=0,this.lch_c=0;else{this.lch_l=this.hsluv_l,this.calculateBoundingLines(this.hsluv_l);let r=this.calcMaxChromaHsluv(this.hsluv_h);this.lch_c=r/100*this.hsluv_s}this.lch_h=this.hsluv_h}lchToHsluv(){if(this.lch_l>99.9999999)this.hsluv_s=0,this.hsluv_l=100;else if(this.lch_l<1e-8)this.hsluv_s=0,this.hsluv_l=0;else{this.calculateBoundingLines(this.lch_l);let r=this.calcMaxChromaHsluv(this.lch_h);this.hsluv_s=this.lch_c/r*100,this.hsluv_l=this.lch_l}this.hsluv_h=this.lch_h}hpluvToLch(){if(this.hpluv_l>99.9999999)this.lch_l=100,this.lch_c=0;else if(this.hpluv_l<1e-8)this.lch_l=0,this.lch_c=0;else{this.lch_l=this.hpluv_l,this.calculateBoundingLines(this.hpluv_l);let r=this.calcMaxChromaHpluv();this.lch_c=r/100*this.hpluv_p}this.lch_h=this.hpluv_h}lchToHpluv(){if(this.lch_l>99.9999999)this.hpluv_p=0,this.hpluv_l=100;else if(this.lch_l<1e-8)this.hpluv_p=0,this.hpluv_l=0;else{this.calculateBoundingLines(this.lch_l);let r=this.calcMaxChromaHpluv();this.hpluv_p=this.lch_c/r*100,this.hpluv_l=this.lch_l}this.hpluv_h=this.lch_h}hsluvToRgb(){this.hsluvToLch(),this.lchToLuv(),this.luvToXyz(),this.xyzToRgb()}hpluvToRgb(){this.hpluvToLch(),this.lchToLuv(),this.luvToXyz(),this.xyzToRgb()}hsluvToHex(){this.hsluvToRgb(),this.rgbToHex()}hpluvToHex(){this.hpluvToRgb(),this.rgbToHex()}rgbToHsluv(){this.rgbToXyz(),this.xyzToLuv(),this.luvToLch(),this.lchToHpluv(),this.lchToHsluv()}rgbToHpluv(){this.rgbToXyz(),this.xyzToLuv(),this.luvToLch(),this.lchToHpluv(),this.lchToHpluv()}hexToHsluv(){this.hexToRgb(),this.rgbToHsluv()}hexToHpluv(){this.hexToRgb(),this.rgbToHpluv()}};e.Hsluv=t,t.hexChars="0123456789abcdef",t.refY=1,t.refU=.19783000664283,t.refV=.46831999493879,t.kappa=903.2962962,t.epsilon=.0088564516,t.m_r0=3.240969941904521,t.m_r1=-1.537383177570093,t.m_r2=-.498610760293,t.m_g0=-.96924363628087,t.m_g1=1.87596750150772,t.m_g2=.041555057407175,t.m_b0=.055630079696993,t.m_b1=-.20397695888897,t.m_b2=1.056971514242878}}),gO=jn({"../../../node_modules/eventemitter3/index.js"(e,t){"use strict";var n=Object.prototype.hasOwnProperty,r="~";function i(){}Object.create&&(i.prototype=Object.create(null),new i().__proto__||(r=!1));function o(c,u,f){this.fn=c,this.context=u,this.once=f||!1}function s(c,u,f,d,h){if(typeof f!="function")throw new TypeError("The listener must be a function");var p=new o(f,d||c,h),v=r?r+u:u;return c._events[v]?c._events[v].fn?c._events[v]=[c._events[v],p]:c._events[v].push(p):(c._events[v]=p,c._eventsCount++),c}function a(c,u){--c._eventsCount===0?c._events=new i:delete c._events[u]}function l(){this._events=new i,this._eventsCount=0}l.prototype.eventNames=function(){var u=[],f,d;if(this._eventsCount===0)return u;for(d in f=this._events)n.call(f,d)&&u.push(r?d.slice(1):d);return Object.getOwnPropertySymbols?u.concat(Object.getOwnPropertySymbols(f)):u},l.prototype.listeners=function(u){var f=r?r+u:u,d=this._events[f];if(!d)return[];if(d.fn)return[d.fn];for(var h=0,p=d.length,v=new Array(p);hparseInt(b[1],10)):u=!1),u}function p(b){return d===null&&(d=!!b.document.fonts),d}function v(b,g){var m=b.style,y=b.weight;if(f===null){var x=document.createElement("div");try{x.style.font="condensed 100px sans-serif"}catch{}f=x.style.font!==""}return[m,y,f?b.stretch:"","100px",g].join(" ")}l.prototype.load=function(b,g){var m=this,y=b||"BESbswy",x=0,k=g||3e3,w=new Date().getTime();return new Promise(function(C,T){if(p(m.context)&&!h(m.context)){var I=new Promise(function(D,H){function O(){new Date().getTime()-w>=k?H(Error(""+k+"ms timeout exceeded")):m.context.document.fonts.load(v(m,'"'+m.family+'"'),y).then(function(Y){1<=Y.length?D():setTimeout(O,25)},H)}O()}),P=new Promise(function(D,H){x=setTimeout(function(){H(Error(""+k+"ms timeout exceeded"))},k)});Promise.race([P,I]).then(function(){clearTimeout(x),C(m)},T)}else r(function(){function D(){var Z;(Z=re!=-1&&U!=-1||re!=-1&&K!=-1||U!=-1&&K!=-1)&&((Z=re!=U&&re!=K&&U!=K)||(c===null&&(Z=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))/.exec(F.navigator.userAgent),c=!!Z&&(536>parseInt(Z[1],10)||parseInt(Z[1],10)===536&&11>=parseInt(Z[2],10))),Z=c&&(re==ce&&U==ce&&K==ce||re==ge&&U==ge&&K==ge||re==B&&U==B&&K==B)),Z=!Z),Z&&(ee.parentNode!==null&&ee.parentNode.removeChild(ee),clearTimeout(x),C(m))}function H(){if(new Date().getTime()-w>=k)ee.parentNode!==null&&ee.parentNode.removeChild(ee),T(Error(""+k+"ms timeout exceeded"));else{var Z=m.context.document.hidden;(Z===!0||Z===void 0)&&(re=O.g.offsetWidth,U=Y.g.offsetWidth,K=W.g.offsetWidth,D()),x=setTimeout(H,50)}}var O=new i(y),Y=new i(y),W=new i(y),re=-1,U=-1,K=-1,ce=-1,ge=-1,B=-1,ee=document.createElement("div");ee.dir="ltr",o(O,v(m,"sans-serif")),o(Y,v(m,"serif")),o(W,v(m,"monospace")),ee.appendChild(O.g),ee.appendChild(Y.g),ee.appendChild(W.g),m.context.document.body.appendChild(ee),ce=O.g.offsetWidth,ge=Y.g.offsetWidth,B=W.g.offsetWidth,H(),a(O,function(Z){re=Z,D()}),o(O,v(m,'"'+m.family+'",sans-serif')),a(Y,function(Z){U=Z,D()}),o(Y,v(m,'"'+m.family+'",serif')),a(W,function(Z){K=Z,D()}),o(W,v(m,'"'+m.family+'",monospace'))})})},typeof t=="object"?t.exports=l:(F.FontFaceObserver=l,F.FontFaceObserver.prototype.load=l.prototype.load)})()}}),xO="preload";function Wm(e){return typeof e=="object"&&e!==null&&!Rt(e)&&xO in e}function kj(e){let t=Pg(e),n,r,i=!1,o=Fe(function(a,l){return V(()=>{i=!0},[]),S(r??t,{ref:l,...a})});return o.preload=()=>(n||(n=e().then(s=>(r=s.default,r))),n),o.getStatus=()=>({hasLoaded:r!==void 0,hasRendered:i}),o}var Hi=Object.keys;function pu(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var wO="equals";function bw(e){return e===null||!(wO in e)?!1:typeof e.equals=="function"}function Um(e,t){return e===t?!0:e!==e&&t!==t}function SO(e,t){let n=e.length;if(n!==t.length)return!1;for(let r=n;r--!==0;)if(!Um(e[r],t[r]))return!1;return!0}function kO(e,t){let n=e.length;if(n!==t.length)return!1;for(let r=n;r--!==0;)if(!Fu(e[r],t[r],!0))return!1;return!0}function CO(e,t){if(e.size!==t.size)return!1;for(let[n,r]of e.entries())if(!Um(r,t.get(n)))return!1;return!0}function RO(e,t){if(e.size!==t.size)return!1;for(let[n,r]of e.entries())if(!Fu(r,t.get(n),!0))return!1;return!0}function TO(e,t){if(e.size!==t.size)return!1;for(let n of e.keys())if(!t.has(n))return!1;return!0}function EO(e,t){let n=Hi(e);if(n.length!==Hi(t).length)return!1;for(let r of n){if(!pu(t,r))return!1;if(!(r==="_owner"&&pu(e,"$$typeof")&&e.$$typeof)&&!Um(e[r],t[r]))return!1}return!0}function FO(e,t){let n=Hi(e);if(n.length!==Hi(t).length)return!1;for(let r of n){if(!pu(t,r))return!1;if(!(r==="_owner"&&pu(e,"$$typeof")&&e.$$typeof)&&!Fu(e[r],t[r],!0))return!1}return!0}function Fu(e,t,n){if(e===t)return!0;if(!e||!t)return e!==e&&t!==t;let r=typeof e;if(r!==typeof t||r!=="object")return!1;let o=Array.isArray(e),s=Array.isArray(t);if(o&&s)return n?kO(e,t):SO(e,t);if(o!==s)return!1;let a=e instanceof Map,l=t instanceof Map;if(a&&l)return n?RO(e,t):CO(e,t);if(a!==l)return!1;let c=e instanceof Set,u=t instanceof Set;if(c&&u)return TO(e,t);if(c!==u)return!1;let f=e instanceof Date,d=t instanceof Date;if(f&&d)return e.getTime()===t.getTime();if(f!==d)return!1;let h=e instanceof RegExp,p=t instanceof RegExp;return h&&p?e.toString()===t.toString():h!==p?!1:bw(e)&&bw(t)?e.equals(t):n?FO(e,t):EO(e,t)}function Gm(e,t,n=!0){try{return Fu(e,t,n)}catch(r){if(r instanceof Error&&/stack|recursion/iu.exec(r.message))return console.warn("Warning: isEqual does not handle circular references.",r.name,r.message),!1;throw r}}function gk(e){return E.useCallback(t=>e[t],[e])}var qm=E.createContext({});function PO({api:e,children:t}){return S(qm.Provider,{value:e,children:t})}function za(){return E.useContext(qm)}function IO({routes:e,children:t}){let n=gk(e);return S(qm.Provider,{value:{getRoute:n},children:t})}var MO=E.createContext(void 0);function es(){var e;let t=za(),n=L(MO),r=n??t.currentRouteId;if(!r)return;let i=(e=t.getRoute)==null?void 0:e.call(t,r);if(i)return{...i,id:r,pathVariables:n?void 0:t.currentPathVariables}}function Xm(){let e=es();if(e)return`${e.id}-${JSON.stringify(e.pathVariables)}`}function Ym(e){let t=es(),[n,r]=E.useState(t);Gm(n,t)||!t||(r(t),e(t))}function Km(e,t){if(t&&e)return e.elements&&t in e.elements?e.elements[t]:t}function vk(e){if("scheduler"in F){if("yield"in scheduler)return scheduler.yield(e);if("postTask"in scheduler)return scheduler.postTask(()=>{},e)}return e?.priority==="user-blocking"?Promise.resolve():new Promise(t=>{setTimeout(t)})}async function yk(e,t){return await vk(t),e()}function Ba(e){return new Promise(t=>{setTimeout(t,100),requestAnimationFrame(()=>{yk(t,e)})})}function _O(e,t,n,r=Ne){r(()=>{let i=async s=>(await Ba(n),s()),o=i(e);return()=>{(async()=>{let s=await o;s&&i(s)})()}},t)}var OO=[],LO={};function bk(e){let t=["pointerdown","pointerup","keydown","keyup"],n=r=>{let i=r.type;t.includes(i)&&performance.mark("framer-navigation-input",{detail:{type:i}})};for(let r=0;r{for(let r=0;r"u"}function Nn(e){return e===null}function VO(e){return e==null}function xk(e){return e instanceof Date&&!Number.isNaN(e.getTime())}function wk(e){return he(e)&&Jt(e.return)}var mu=()=>{},ts=typeof F<"u",Ma=ts&&/bot|-google|google-|yandex|ia_archiver|crawl|spider/iu.test(Be.userAgent),Sk=ts&&typeof F.requestIdleCallback=="function",Zm=Sk?F.requestIdleCallback:setTimeout,Jm=!Ma;function AO(e,t=!0){let{getRoute:n}=za();V(()=>{if(!(!n||!t||!Jm))for(let r of e)kk(n(r))},[e,n,t])}async function kk(e){if(!Jm||!e)return;let t=e.page;if(!(!t||!Wm(t))){await vk();try{await t.preload()}catch{}}}var DO={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:{hash:"",hostname:"",href:"",origin:"",pathname:"",search:""},document:{baseURI:"",cookie:"",referrer:null},setTimeout:()=>0,clearTimeout:()=>{},setInterval:()=>0,clearInterval:()=>{},requestAnimationFrame:()=>0,cancelAnimationFrame:()=>{},requestIdleCallback:()=>0,getSelection:()=>null,matchMedia:e=>({matches:!1,media:e,onchange:()=>{},addEventListener:()=>{},removeEventListener:()=>{},addListener:()=>{},removeListener:()=>{},dispatchEvent:()=>!1}),innerHeight:0,innerWidth:0,SVGSVGElement:{},scheduler:void 0,open:function(e,t,n){},__framer_events:[]},ae=ts?F:DO,pm,mm;function Ck(){let e=Intl.DateTimeFormat().resolvedOptions();pm=e.timeZone,mm=e.locale}Zm(Ck);function fi(e,t,n="lazy"){if(ae.__framer_events)switch((!pm||!mm)&&Ck(),ae.__framer_events.push([e,{referrer:null,url:ae.location.href,hostname:ae.location.hostname||null,pathname:ae.location.pathname||null,hash:ae.location.hash||null,search:ae.location.search||null,timezone:pm,locale:mm,...t},n]),e){case"published_site_click":{let{trackingId:r,href:i}=t;r&&document.dispatchEvent(new CustomEvent("framer:click",{detail:{trackingId:r,href:i}}));break}case"published_site_form_submit":{let{trackingId:r}=t;r&&document.dispatchEvent(new CustomEvent("framer:formsubmit",{detail:{trackingId:r}}));break}case"published_site_pageview":{let{framerLocale:r}=t;document.dispatchEvent(new CustomEvent("framer:pageview",{detail:{framerLocale:r}}));break}}}function gm(e,t){if(!e.startsWith("/")||!t.startsWith("/"))throw new Error("from/to paths are expected to be absolute");let[n]=xw(e),[r,i]=xw(t),o=zO(n,r);return o===""&&(o="."),!o.startsWith(".")&&!o.startsWith("/")&&(o="./"+o),o+"/"+i}function xw(e){let t=e.lastIndexOf("/");return[e.substring(0,t+1),e.substring(t+1)]}var Ap=46,Go=47,ui=(e,t)=>e.charCodeAt(t),ww=(e,t)=>e.lastIndexOf(t),Xo=(e,t,n)=>e.slice(t,n);function zO(e,t){if(e===t||(e="/"+kw(e),t="/"+kw(t),e===t))return"";let n=1,r=e.length,i=r-n,o=1,s=t.length-o,a=ia){if(ui(t,o+c)===Go)return Xo(t,o+c+1);if(c===0)return Xo(t,o+c)}else i>a&&(ui(e,n+c)===Go?l=c:c===0&&(l=0));let u="";for(c=n+l+1;c<=r;++c)(c===r||ui(e,c)===Go)&&(u+=u.length===0?"..":"/..");return`${u}${Xo(t,o+l)}`}var BO=!1,Gc="/",Sw=e=>e===Go;function kw(e){let t="",n=0,r=-1,i=0,o=0;for(let s=0;s<=e.length;++s){if(s2){let a=ww(t,Gc);a===-1?(t="",n=0):(t=Xo(t,0,a),n=t.length-1-ww(t,Gc)),r=s,i=0;continue}else if(t.length!==0){t="",n=0,r=s,i=0;continue}}BO&&(t+=t.length>0?`${Gc}..`:"..",n=2)}else t.length>0?t+=`${Gc}${Xo(e,r+1,s)}`:t=Xo(e,r+1,s),n=s-r-1;r=s,i=0}else o===Ap&&i!==-1?++i:i=-1}return t}var NO=new Set(["/404.html","/404","/404/"]),$O=":([a-z]\\w*)",Wi=new RegExp($O,"gi");function Rk(e,t){return e.replace(Wi,(n,r)=>{let i=t[r];return typeof i!="string"||i.length===0?n:encodeURIComponent(i)})}function Tk(e){let t=typeof F<"u"?F.location.search:"";return t?jO(t,e):e}function jO(e,t){let n=t.indexOf("#"),r=n===-1?t:t.substring(0,n),i=n===-1?"":t.substring(n),o=r.indexOf("?");if(o===-1)return r+e+i;let s=new URLSearchParams(e),a=r.substring(o+1),l=new URLSearchParams(a);for(let[c,u]of s)l.has(c)||l.append(c,u);return r.substring(0,o+1)+l.toString()+i}async function HO(e,t,n,r,i,o,s){var a;let l=e,c=!1,u={...o},f=Array.from(l.matchAll(Wi)),d=await Promise.all(f.map(async b=>{var g;let m=b?.[0],y=b?.[1];if(!m||!y)throw new Error("Failed to replace path variables: unexpected regex match group");let x=o[y];if(!x||!ie(x))throw new Error(`No slug found for path variable ${y}`);let k=await((g=s?.[i])==null?void 0:g.call(s));if(!k||!t)return x;let w=await k.getRecordIdBySlug(x,t);if(!w)return x;let C=await k.getSlugByRecordId(w,n);if(!C){c=!0;let T=await k.getSlugByRecordId(w,r);return T&&(u[y]=T),T??x}return u[y]=C,C})),h=0,p="",v=!1;for(let b=0;b`--view-transition-${e}`;function vm(e){return[parseFloat(e),e.endsWith("px")?"px":"%"]}function Fk(e){let{innerWidth:t,innerHeight:n}=F,[r,i]=vm(e.x),[o,s]=vm(e.y);return{x:i==="px"?r:t*(r/100),y:s==="px"?o:n*(o/100)}}var QO={makeKeyframe:(e,t,n)=>{let r=0;return(n==="exit"&&e.angularDirection==="clockwise"&&t==="start"||n==="exit"&&e.angularDirection==="counter-clockwise"&&t==="end"||n==="enter"&&e.angularDirection==="counter-clockwise"&&t==="start"||n==="enter"&&e.angularDirection==="clockwise"&&t==="end")&&(r=e.sweepAngle/360*100),`${Tr("conic-offset")}: ${r}%;`},makeStyles:(e,t)=>{let n=`var(${Tr("conic-offset")})`,r=t==="exit"&&e.angularDirection==="clockwise"||t==="enter"&&e.angularDirection==="counter-clockwise",i=r?"transparent":"black",o=r?"black":"transparent",s="conic-gradient(from ";return s+=`${e.angle}deg at ${e.x} ${e.y}, `,s+=`${i} 0%, ${i} ${n}, `,s+=`${o} ${n}, ${o} 100%)`,`mask-image: ${s}; -webkit-mask-image: ${s};`},makePropertyRules:()=>` @property ${Tr("conic-offset")} { syntax: ''; initial-value: 0%; inherits: false; } `},ZO={makeKeyframe:(e,t)=>{let{x:n,y:r}=Fk(e);return t==="start"?`clip-path: circle(0 at ${n}px ${r}px);`:`clip-path: circle(${Math.hypot(Math.max(n,F.innerWidth-n),Math.max(r,F.innerHeight-r))}px at ${n}px ${r}px);`}},JO={makeKeyframe:(e,t)=>{let{x:n,y:r}=Fk(e),i=F.innerHeight-r,o=F.innerWidth-n;return t==="start"?`clip-path: inset(${r}px ${o}px ${i}px ${n}px round ${e.round}px);`:"clip-path: inset(0 round 0);"}},eL={makeKeyframe:(e,t,n)=>{let[,r]=vm(e.width),i=`0${r}`;return(t==="start"&&n==="exit"||t==="end"&&n==="enter")&&(i=e.width),`${Tr("blinds-width")}: ${i};`},makeStyles:(e,t)=>{let n=`var(${Tr("blinds-width")})`,r=t==="exit"?"transparent":"black",i=t==="exit"?"black":"transparent",o="repeating-linear-gradient(";return o+=e.angle+90+"deg, ",o+=`${r} 0px, ${r} ${n}, `,o+=`${i} ${n}, ${i} ${e.width})`,`mask-image: ${o}; -webkit-mask-image: ${o};`},makePropertyRules:()=>` @property ${Tr("blinds-width")} { syntax: ''; initial-value: 0px; inherits: false; } `},tL={makeKeyframe:(e,t,n)=>{let r=t==="start"&&n==="exit"||t==="end"&&n==="enter"?1:0;return`${Tr("wipe-offset")}: ${r};`},makeStyles:(e,t)=>{let n=`var(${Tr("wipe-offset")})`,r=t==="exit"?"transparent":"black",i=t==="exit"?"black":"transparent",o="linear-gradient(";return o+=e.angle+90+"deg, ",o+=`${r} calc(calc(0% - ${e.width}) + calc(calc(100% + ${e.width}) * ${n})), `,o+=`${i} calc(calc(100% + ${e.width}) * ${n}))`,`mask-image: ${o}; -webkit-mask-image: ${o};`},makePropertyRules:()=>` @property ${Tr("wipe-offset")} { syntax: ''; initial-value: 0; inherits: false; } `},nL={circle:ZO,conic:QO,inset:JO,blinds:eL,wipe:tL},rL={opacity:1,x:"0px",y:"0px",scale:1,rotate:0,rotateX:0,rotateY:0,mask:void 0};function Cw(e,t,n,r){var i;let o=` opacity: ${e.opacity}; transform: translate(${e.x}, ${e.y}) scale(${e.scale}) rotateX(${e.rotateX}deg) rotateY(${e.rotateY}deg) rotateZ(${e.rotate}deg); `;return e.mask&&(o+=((i=r?.makeKeyframe)==null?void 0:i.call(r,e.mask,t,n))||""),o}function iL(e){return e?nL[e]:void 0}function Rw(e,{transition:t,...n}){var r;let i="view-transition-"+e,o={duration:"0s",easing:"linear"};if(t.type==="tween")o.duration=t.duration+"s",o.easing=`cubic-bezier(${t.ease.join(",")})`;else if(oL(t)){let{easing:c,duration:u}=KO(Cs({keyframes:[0,1],...sL(t),restDelta:.001,restSpeed:1e-4}));o.duration=u+"ms",o.easing=c}let s=iL((r=n?.mask)==null?void 0:r.type),a=Cw(n,"start",e,s),l=Cw({...rL,mask:n.mask},"end",e,s);return e==="exit"&&([a,l]=[l,a]),` ${n.mask&&s?.makePropertyRules?s.makePropertyRules(n.mask):""} @keyframes ${i} { 0% { ${a} } 100% { ${l} } } ::view-transition-${e==="enter"?"new":"old"}(root) { animation-name: ${i}; animation-duration: ${o.duration}; animation-delay: ${t.delay}s; animation-timing-function: ${o.easing}; animation-fill-mode: both; ${n.mask&&s?.makeStyles?s.makeStyles(n.mask,e):""} } `}function oL(e){return e.type==="spring"}function sL(e){return e.durationBasedSpring?{duration:e.duration,bounce:e.bounce}:{stiffness:e.stiffness,damping:e.damping,mass:e.mass}}var Pk="view-transition-styles",aL={x:"0px",y:"0px",scale:1,opacity:1,rotate3d:!1,rotate:0,rotateX:0,rotateY:0,mask:void 0,transition:{type:"tween",delay:0,duration:.2,ease:[.27,0,.51,1],stiffness:400,damping:30,mass:1}};function lL({exit:e=aL,enter:t}){let n=document.createElement("style");n.id=Pk;let r=` @media (prefers-reduced-motion) { ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; } } `;(e.mask||t.mask||e.opacity||t.opacity||e.transition.delay||t.transition.delay)&&(r+=` ::view-transition-old(*), ::view-transition-new(*) { mix-blend-mode: normal; } `),r+=` ::view-transition-old(*), ::view-transition-new(*) { backface-visibility: hidden; } `,r+=Rw("exit",e),r+=Rw("enter",t),n.textContent=r,document.head.appendChild(n)}function cL(){Zm(()=>{G.render(()=>{performance.mark("framer-vt-remove");let e=document.getElementById(Pk);e&&document.head.removeChild(e)})})}var Tw=()=>{};function uL(){return!!document.startViewTransition}function fL(e){return new Promise(t=>{G.render(()=>{performance.mark("framer-vt-style"),lL(e),t()})})}async function Ew(e,t,n){if(!uL()){e();return}if(await fL(t),n?.aborted)return;performance.mark("framer-vt");let r=document.startViewTransition(async()=>{performance.mark("framer-vt-freeze"),!n?.aborted&&(n?.addEventListener("abort",()=>r.skipTransition()),await e())});return r.updateCallbackDone.then(()=>{performance.mark("framer-vt-unfreeze")}).catch(Tw),Promise.all([r.ready,r.finished]).then(()=>{performance.mark("framer-vt-finished"),cL()}).catch(Tw),r}function Ik(){let e=qO(),t=M(void 0);return V(()=>{t.current&&(t.current(),t.current=void 0)}),N((n,r,i,o,s)=>{let a=XO(n,r,e);if(a){let l=new Promise(f=>{t.current=f}),c=async()=>{i(),await l},u=async()=>(await Ba({priority:"user-blocking",signal:s}).catch(mu),Ew(c,a,s));return o?u():Ew(c,a)}i()},[e])}function Mk(e,t){Zm(()=>{let n=document.querySelector("link[rel='canonical']");if(!n)return;let r=new URL(e,t);r.search="",n.setAttribute("href",r.toString())})}var ni,_k=()=>{ni||(ni=document.createElement("div"),ni.setAttribute("aria-live","assertive"),ni.setAttribute("aria-atomic","true"),ni.style.position="absolute",ni.style.transform="scale(0)",document.body.append(ni)),setTimeout(()=>{ni.textContent=document.title},60)};function Ok(){let e=M(void 0);return _O(()=>{e.current&&(e.current(),e.current=void 0)},void 0,{priority:"user-blocking"}),N((t,n)=>{let r=`${t}-start`,i=`${t}-end`,o=new Promise(s=>{e.current=s});return t?(performance.mark(r),o.finally(()=>{performance.mark(i),performance.measure(t,{start:r,end:i,detail:n})}).catch(s=>{console.error(s)})):o},[])}async function Fw(e,t,{currentRoutePath:n,currentPathVariables:r,hash:i,pathVariables:o,localeId:s,preserveQueryParams:a,siteCanonicalURL:l},c=!1,u=!1){let{path:f}=t;if(!f)return;let d=eg(t,{currentRoutePath:n,currentPathVariables:r,hash:i,pathVariables:o,preserveQueryParams:a,siteCanonicalURL:l});try{return await Lk({routeId:e,hash:i,pathVariables:o,localeId:s},d,c,u)}catch{}}function dL(e){return he(e)&&ie(e["routeId"])}function hL(e,t,n=!1){performance.mark("framer-history-replace"),(n?F.history.__proto__.replaceState:F.history.replaceState).call(F.history,e,"",t)}var qc=!0,Pw=(()=>{if(typeof Be>"u")return!1;let e=Be.userAgent,t=e.indexOf("Chrome/"),n=+e.slice(t+7,e.indexOf(".",t));return n>101&&n<128})();async function Lk(e,t,n=!1,r=!1){if(n&&await Ba({priority:"user-blocking"}),performance.mark("framer-history-push"),Mk(t,F.location.href),!r){F.history.pushState(e,"",t);return}let i=!1,o;qc&&(o=()=>{if(i=!0,Pw)return;let s="Popstate called after intercept(). Please report this to the Framer team.";console.error(s),fi("published_site_load_recoverable_error",{message:s})},F.addEventListener("popstate",o,{once:!0})),Pw&&qc?F.history.__proto__.pushState.call(F.history,e,"",t):F.history.pushState(e,"",t),qc&&queueMicrotask(()=>{i||(qc=!1,F.removeEventListener("popstate",o))})}function pL({disabled:e,routeId:t,initialPathVariables:n,initialLocaleId:r}){Ne(()=>{e||(performance.mark("framer-history-set-initial-state"),hL({routeId:t,pathVariables:n,localeId:r},void 0,!0))},[])}var ym=(()=>{var e;return ts&&typeof((e=F.navigation)==null?void 0:e.back)=="function"})();function mL(e,t){let n=Ik(),r=Ok(),i=M(void 0),o=N(async({state:a})=>{var l,c,u,f,d,h;if((l=F.navigation)!=null&&l.transition&&((u=(c=F.navigation)==null?void 0:c.transition)==null?void 0:u.navigationType)!=="traverse"||!he(a))return;let{routeId:p,hash:v,pathVariables:b,localeId:g}=a;if(!ie(p))return;let m=r("framer-route-change",{popstate:!0}),y=bk();m.finally(y);let x=()=>{t(p,ie(g)?g:void 0,ie(v)?v:void 0,he(b)?b:void 0,!0,!1)},k=await n(e.current,p,x,!1),w=(f=F.navigation)==null?void 0:f.transition;await(k?.updateCallbackDone??Promise.resolve()).then((d=i.current)==null?void 0:d.resolve).catch((h=i.current)==null?void 0:h.reject),await m;try{await w?.finished}catch(C){console.warn("Popstate transition failed",C)}_k(),Mk(F.location.href)},[e,r,t,n]),s=N(a=>{a.navigationType==="traverse"&&a.intercept({async handler(){await new Promise((l,c)=>{i.current={resolve:l,reject:c}}),i.current=void 0},scroll:"after-transition"})},[]);V(()=>(F.addEventListener("popstate",o),ym&&F.navigation.addEventListener("navigate",s),()=>{F.removeEventListener("popstate",o),ym&&F.navigation.removeEventListener("navigate",s)}),[o,s])}function gL(e,t,n){let r=Km(t,e);if(!r)return;let i=Object.assign({},t?.elements,n);return r.replace(Wi,(o,s)=>String(i[s]??o))}function eg(e,{currentRoutePath:t,currentPathVariables:n,hash:r,pathVariables:i,hashVariables:o,relative:s=!0,preserveQueryParams:a,onlyHash:l=!1,siteCanonicalURL:c}){let u=gL(r,e,o);if(l)return u??"";let f=t??"/";n&&(f=f.replace(Wi,(v,b)=>String(n[b]||v)));let h=e?.path??"/";i&&(h=h.replace(Wi,(v,b)=>String(i[b]||v)));let p=f===h&&u;if(s)if(NO.has(f)&&typeof F<"u"){let v=UO(c);h=gm(F.location.pathname,v+h)}else h=gm(f,h);return(a||p)&&(h=Tk(h)),u&&(h=`${h}#${u}`),h}async function vL(e,t,n){if(!e.path||!t)return!1;let i=`${n.slug?`/${n.slug}`:""}${Rk(e.path,t)}`;return(await fetch(i,{method:"HEAD",redirect:"manual"})).type==="opaqueredirect"?(F.location.href=F.location.origin+i,!0):!1}async function yL(e){let t=await WO(e);if(t){try{localStorage.setItem("preferredLocale",e.nextLocale.code)}catch{}try{if(!ie(t.path))throw new Error("Expected result.path to be a string");if(t.isMissingInLocale&&await vL(e.route,t.pathVariables,e.nextLocale))return}catch{}return t}}function bL(){let e=M(Promise.resolve()),t=M(),n=N(r=>{if(r.navigationType==="traverse")return;let i=t.current;i?.signal.addEventListener("abort",()=>{i.abort("user aborted")}),r.intercept({handler:()=>e.current})},[]);return N((r,i,o)=>{if(!ym){i();return}e.current=r,t.current=o,F.navigation.addEventListener("navigate",n),i(!0),r.finally(()=>{F.navigation.removeEventListener("navigate",n)})},[n])}var xL=async()=>{},wL={activeLocale:null,locales:[],setLocale:xL},Vk=E.createContext(wL);function SL(){return E.useContext(Vk)}var Ea=["mousedown","mouseup","touchcancel","touchend","touchstart","auxclick","dblclick","pointercancel","pointerdown","pointerup","dragend","dragstart","drop","compositionend","compositionstart","keydown","keypress","keyup","input","textInput","copy","cut","paste","click","change","contextmenu","reset"],Ak=e=>{var t,n;(n=(t=e.target)==null?void 0:t.closest)!=null&&n.call(t,"#main")&&(e.stopPropagation(),performance.mark("framer-react-event-handling-prevented"))},Dk=!1;function Hj(){if(!Ea)return;Dk=!0,performance.mark("framer-react-event-handling-start");let e={capture:!0};Ea.forEach(t=>document.body.addEventListener(t,Ak,e))}function kL(){return V(()=>{if(!Dk||!Ea)return;let e={capture:!0};Ea.forEach(t=>document.body.removeEventListener(t,Ak,e)),Ea=void 0,performance.mark("framer-react-event-handling-end")},[]),null}var zk=!1;function Uj(){zk=!0}function CL(){zk=!1}function St(e){let t=!1;return function(...n){if(!t)return t=!0,e.apply(this,n)}}function kr(e,t,n){try{performance.measure(e,t,n)}catch(r){console.warn(`Could not measure ${e}`,r)}}var Bk,Nk,$k,jk,Hk,Wk,Uk,Gk,qk,Xk,Yk,Kk,Qk,Zk,Jk,eC,tC,rt;tC=[St],eC=[St],Jk=[St],Zk=[St],Qk=[St],Kk=[St],Yk=[St],Xk=[St],qk=[St],Gk=[St],Uk=[St],Wk=[St],Hk=[St],jk=[St],$k=[St],Nk=[St],Bk=[St];var ft=class{constructor(){Fg(rt,5,this),R(this,"render",{markStart:()=>this.markRenderStart(),markEnd:()=>this.markRenderEnd()}),R(this,"mutationEffects",{measure:()=>this.measureMutationEffects()}),R(this,"useInsertionEffects",{markStart:()=>this.markUseInsertionEffectsStart(),markRouterStart:()=>this.markUseInsertionEffectRouterStart(),markEnd:()=>this.markUseInsertionEffectsEnd()}),R(this,"useLayoutEffects",{markStart:()=>this.markUseLayoutEffectsStart(),markRouterStart:()=>this.markRouterUseLayoutEffectStart(),markEnd:()=>this.markUseLayoutEffectsEnd()}),R(this,"useEffects",{markStart:()=>this.markUseEffectsStart(),markRouterStart:()=>this.markUseEffectsRouterStart(),markEnd:()=>this.markUseEffectsEnd(),markAreSynchronous:()=>this.markUseEffectsAreSynchronous()}),R(this,"browserRendering",{hasStarted:!1,requestAnimationFrame:{markStart:()=>this.markRafStart(),markEnd:()=>this.markRafEnd()},layoutStylePaint:{markEnd:()=>this.markLayoutStylePaintEnd()}}),R(this,"unattributedHydrationOverhead",{measure:()=>this.measureUnattributedHydrationOverhead()})}markRenderStart(){performance.mark("framer-hydration-start")}markRenderEnd(){performance.mark("framer-hydration-render-end"),kr("framer-hydration-render","framer-hydration-start","framer-hydration-render-end")}markUseInsertionEffectsStart(){performance.mark("framer-hydration-insertion-effects-start")}markUseInsertionEffectRouterStart(){performance.mark("framer-hydration-router-insertion-effect")}markUseInsertionEffectsEnd(){performance.mark("framer-hydration-insertion-effects-end"),kr("framer-hydration-insertion-effects","framer-hydration-insertion-effects-start","framer-hydration-insertion-effects-end")}markUseLayoutEffectsStart(){performance.mark("framer-hydration-layout-effects-start")}markRouterUseLayoutEffectStart(){performance.mark("framer-hydration-router-layout-effect")}markUseLayoutEffectsEnd(){performance.mark("framer-hydration-layout-effects-end"),kr("framer-hydration-layout-effects","framer-hydration-layout-effects-start","framer-hydration-layout-effects-end")}markUseEffectsStart(){performance.mark("framer-hydration-effects-start")}markUseEffectsRouterStart(){performance.mark("framer-hydration-router-effect")}markUseEffectsAreSynchronous(){performance.mark("framer-hydration-effects-sync")}markUseEffectsEnd(){var e,t;performance.mark("framer-hydration-effects-end"),kr("framer-hydration-effects",((e=performance.getEntriesByName("framer-hydration-first-paint")[0])==null?void 0:e.name)??((t=performance.getEntriesByName("framer-hydration-effects-start")[0])==null?void 0:t.name),"framer-hydration-effects-end")}markRafStart(){this.browserRendering.hasStarted=!0,performance.mark("framer-hydration-browser-render-start")}markRafEnd(){performance.mark("framer-hydration-browser-raf-end"),kr("framer-hydration-raf","framer-hydration-browser-render-start","framer-hydration-browser-raf-end")}markLayoutStylePaintEnd(){performance.mark("framer-hydration-first-paint"),kr("framer-hydration-time-to-first-paint","framer-hydration-start","framer-hydration-first-paint"),kr("framer-hydration-browser-render","framer-hydration-browser-raf-end","framer-hydration-first-paint")}measureMutationEffects(){kr("framer-hydration-commit","framer-hydration-layout-effects-end","framer-hydration-effects-start")}measureUnattributedHydrationOverhead(){var e,t;kr("framer-hydration-uho",((e=performance.getEntriesByName("framer-hydration-effects-end")[0])==null?void 0:e.name)??((t=performance.getEntriesByName("framer-hydration-layout-effects-end")[0])==null?void 0:t.name),"framer-hydration-browser-render-start")}};rt=Tg(null);dt(rt,1,"markRenderStart",tC,ft);dt(rt,1,"markRenderEnd",eC,ft);dt(rt,1,"markUseInsertionEffectsStart",Jk,ft);dt(rt,1,"markUseInsertionEffectRouterStart",Zk,ft);dt(rt,1,"markUseInsertionEffectsEnd",Qk,ft);dt(rt,1,"markUseLayoutEffectsStart",Kk,ft);dt(rt,1,"markRouterUseLayoutEffectStart",Yk,ft);dt(rt,1,"markUseLayoutEffectsEnd",Xk,ft);dt(rt,1,"markUseEffectsStart",qk,ft);dt(rt,1,"markUseEffectsRouterStart",Gk,ft);dt(rt,1,"markUseEffectsAreSynchronous",Uk,ft);dt(rt,1,"markUseEffectsEnd",Wk,ft);dt(rt,1,"markRafStart",Hk,ft);dt(rt,1,"markRafEnd",jk,ft);dt(rt,1,"markLayoutStylePaintEnd",$k,ft);dt(rt,1,"measureMutationEffects",Nk,ft);dt(rt,1,"measureUnattributedHydrationOverhead",Bk,ft);Eg(rt,ft);var pe;function qj(){pe=new ft,pe.render.markStart()}function RL(){ot(()=>{pe?.useInsertionEffects.markRouterStart()},[]),Ne(()=>{pe?.useLayoutEffects.markRouterStart()},[]),V(()=>{pe?.useEffects.markRouterStart()},[])}var nC=!1;function TL(){ot(()=>{pe?.render.markEnd(),pe?.useInsertionEffects.markStart()},[]),Ne(()=>{if(pe?.useLayoutEffects.markStart(),document.visibilityState!=="visible"){nC=!0;return}requestAnimationFrame(()=>{pe?.browserRendering.requestAnimationFrame.markStart(),pe?.unattributedHydrationOverhead.measure()})},[]),V(()=>{pe?.useEffects.markStart(),pe?.browserRendering.hasStarted||(pe?.mutationEffects.measure(),pe?.useEffects.markAreSynchronous())},[])}function EL(){ot(()=>{pe?.useInsertionEffects.markEnd()},[]),Ne(()=>{pe?.useLayoutEffects.markEnd(),!(nC||document.visibilityState!=="visible")&&requestAnimationFrame(()=>{pe?.browserRendering.requestAnimationFrame.markEnd(),yk(()=>{pe?.browserRendering.layoutStylePaint.markEnd()})})},[]),V(()=>{pe?.useEffects.markEnd()},[])}function FL(){return TL(),null}function PL(){return EL(),null}var Iw={Start:FL,End:PL};function bm(e,t){let n={style:t,"data-framer-root":""};return E.isValidElement(e)?E.cloneElement(e,n):S(e,{...n})}var IL=class extends Error{},ML=class extends Se{constructor(e){super(e),this.state={error:void 0,forceUpdateKey:e.forceUpdateKey}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){if(e.forceUpdateKey!==t.forceUpdateKey){let n={forceUpdateKey:e.forceUpdateKey};return t.error&&(n.error=void 0),n}return null}render(){if(this.state.error===void 0)return this.props.children;if(!(this.state.error instanceof IL))throw this.state.error;let{notFoundPage:e,defaultPageStyle:t}=this.props;if(!e)throw this.state.error;return bm(e,t)}},Xc,zp,Mw;function _L(e){if(Mw!==e){Xc={};for(let[t,{path:n}]of Object.entries(e))n&&(Xc[n]={path:n,depth:OL(n),routeId:t});zp=Object.values(Xc),zp.sort(({depth:t},{depth:n})=>n-t),Mw=e}return[Xc,zp]}function rC(e,t,n=!0,r=[]){let[i,o]=_L(e),s,a,l=t;if(r.length>0){let d=l.split("/").find(Boolean);if(d&&(s=r.find(({slug:h})=>h===d),s&&(a=s.id,l=l.substring(s.slug.length+1))),!a){let h=r.find(({slug:p})=>p==="");h&&(a=h.id)}}let c=i[l];if(c){let d=_w(l,c.path);if(d.isMatch)return{routeId:c.routeId,localeId:a,pathVariables:d.pathVariables}}for(let{path:d,routeId:h}of o){let p=_w(l,d);if(p.isMatch)return{routeId:h,localeId:a,pathVariables:p.pathVariables}}if(!n)throw new Error("No exact match found for path");let u=i["/"];if(u)return{routeId:u.routeId,localeId:a};let f=Object.keys(e)[0];if(!f)throw new Error("Router should not have undefined routes");return{routeId:f,localeId:a}}function OL(e){let t=e.replace(/^\/|\/$/gu,"");return t===""?0:t.split("/").length}function _w(e,t){let n=[],i=LL(t).replace(Wi,(c,u)=>(n.push(u),"([^/]+)")),o=new RegExp(i+"$"),s=e.match(o);if(!s)return{isMatch:!1};if(s.length===1)return{isMatch:!0};let a={},l=s.slice(1);for(let c=0;cr.name==="abtests");return n?new URLSearchParams(n.description):new URLSearchParams}return new URLSearchParams}var AL=/[^|; ]?framerAbTestingOverrides=(?[^;]*)[;|$]?/u;function DL(){var e;let t="";try{let n=AL.exec(document.cookie);t=((e=n?.groups)==null?void 0:e.value)??""}catch{}return new URLSearchParams(t)}function zL(e,t,n){let r=e[n];if(!r)return;let i=r.abTestingParentId??n;if(!e[i])return;let{abTestingParentId:o,...s}=r,a=e[i].elements||r.elements?{...e[i].elements,...r.elements}:void 0;e[i]={...s,elements:a,abTestingVariantId:n,abTestId:t}}function Ow(e,t){for(let[n,r]of t)zL(e,n,r)}function BL(e){var t;for(let n in e)(t=e[n])!=null&&t.abTestingParentId&&delete e[n]}function NL(e,t){var n,r;if(!e[t]||!e[t].abTestingParentId)return;let i=e[t].abTestingParentId,{abTestingParentId:o,...s}=e[t],a=(n=e[i])!=null&&n.elements||s.elements?{...(r=e[i])==null?void 0:r.elements,...s.elements}:void 0;e[i]={...s,elements:a,abTestingVariantId:t}}function Qj(e,t){var n;if(typeof F>"u")return t;let r=t;if(t){NL(e,t);let i=(n=e[t])==null?void 0:n.abTestingParentId;i&&(r=i)}return Ow(e,VL()),Ow(e,DL()),BL(e),r}var Lw=new Set;function Yo(e,...t){Lw.has(e)||(Lw.add(e),console.warn(e,...t))}function $L(e,t,n){let r=n?`, use ${n} instead`:"",i=`Deprecation warning: ${e} will be removed in version ${t}${r}.`;Yo(i)}var iC=class{constructor(){R(this,"observers",new Set),R(this,"transactions",{})}add(e){this.observers.add(e);let t=!1;return()=>{t||(t=!0,this.remove(e))}}remove(e){this.observers.delete(e)}notify(e,t){if(t){let n=this.transactions[t]||e;n.value=e.value,this.transactions[t]=n}else this.callObservers(e)}finishTransaction(e){let t=this.transactions[e];return delete this.transactions[e],this.callObservers(t,e)}callObservers(e,t){let n=[];return new Set(this.observers).forEach(r=>{typeof r=="function"?r(e,t):(r.update(e,t),n.push(r.finish))}),n}},ct=(()=>{function e(t){return $L("Animatable()","2.0.0","the new animation API (https://www.framer.com/api/animation/)"),$n(t)?t:new HL(t)}return e.transaction=t=>{let n=Math.random(),r=new Set;t((s,a)=>{s.set(a,n),r.add(s)},n);let o=[];r.forEach(s=>{o.push(...s.finishTransaction(n))}),o.forEach(s=>{s(n)})},e.getNumber=(t,n=0)=>e.get(t,n),e.get=(t,n)=>t==null?n:$n(t)?t.get():t,e.objectToValues=t=>{if(!t)return t;let n={};for(let r in t){let i=t[r];$n(i)?n[r]=i.get():n[r]=i}return n},e})(),Vw="onUpdate",Aw="finishTransaction";function $n(e){return e!==null&&typeof e=="object"&&Vw in e&&e[Vw]instanceof Function&&Aw in e&&e[Aw]instanceof Function}function jL(e,t){return{interpolate(n,r){let i=n.get(),o=r.get(),s=ct(i);return a=>{let l=t.interpolate(i,o)(a);return s.set(l),s}},difference(n,r){let i=n.get();return t.difference(i,r.get())}}}var HL=class{constructor(e){this.value=e,R(this,"observers",new iC)}static interpolationFor(e,t){if($n(e))return jL(e,t)}get(){return this.value}set(e,t){let n=this.value;$n(e)&&(e=e.get()),this.value=e;let r={value:e,oldValue:n};this.observers.notify(r,t)}finishTransaction(e){return this.observers.finishTransaction(e)}onUpdate(e){return this.observers.add(e)}};function Yc(e,t){let r=10**Math.round(Math.abs(t));return Math.round(e*r)/r}function Dw(e,t){return t===0?Math.round(e):(t-=t|0,t<0&&(t=1-t),Math.round(e-t)+t)}function Ot(e,t){return{x:e,y:t}}(e=>{e.isQuadrilateralPoints=i=>i?.length===4,e.add=(...i)=>i.reduce((o,s)=>({x:o.x+s.x,y:o.y+s.y}),{x:0,y:0}),e.subtract=(i,o)=>({x:i.x-o.x,y:i.y-o.y}),e.multiply=(i,o)=>({x:i.x*o,y:i.y*o}),e.divide=(i,o)=>({x:i.x/o,y:i.y/o}),e.absolute=i=>({x:Math.abs(i.x),y:Math.abs(i.y)}),e.reverse=i=>({x:i.x*-1,y:i.y*-1}),e.pixelAligned=(i,o={x:0,y:0})=>({x:Dw(i.x,o.x),y:Dw(i.y,o.y)}),e.distance=(i,o)=>{let s=Math.abs(i.x-o.x),a=Math.abs(i.y-o.y);return Math.sqrt(s*s+a*a)},e.angle=(i,o)=>Math.atan2(o.y-i.y,o.x-i.x)*180/Math.PI-90,e.angleFromX=(i,o)=>Math.atan2(o.y-i.y,o.x-i.x)*180/Math.PI,e.isEqual=(i,o)=>i.x===o.x&&i.y===o.y,e.rotationNormalizer=()=>{let i;return o=>{typeof i!="number"&&(i=o);let s=i-o,a=Math.abs(s)+180,l=Math.floor(a/360);return s<180&&(o-=l*360),s>180&&(o+=l*360),i=o,o}};function t(i,o){return{x:(i.x+o.x)/2,y:(i.y+o.y)/2}}e.center=t;function n(i){let o=0,s=0;i.forEach(c=>{o+=c.x,s+=c.y});let a=o/i.length,l=s/i.length;return{x:a,y:l}}e.centroid=n;function r(i){let o=e.centroid(i),s=new Map;for(let a=0;a(s.get(a)??0)-(s.get(l)??0))}e.sortClockwise=r})(Ot||(Ot={}));var xm={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 ri(e,t,n,r=!1){let[i,o]=t,[s,a]=n,l=o-i;if(l===0)return(a+s)/2;let c=a-s;if(c===0)return s;let u=s+(e-i)/l*c;if(r===!0)if(sa)return a}else{if(u>s)return s;if(u.5?f/(2-l-c):f/(l+c),l){case o:u=(s-a)/f+(s1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function XL(e,t,n){let r,i,o;if(e=Nt(e,360),t=Nt(t*100,100),n=Nt(n*100,100),t===0)r=i=o=n;else{let s=n<.5?n*(1+t):n+t-n*t,a=2*n-s;r=Bp(a,s,e+1/3),i=Bp(a,s,e),o=Bp(a,s,e-1/3)}return{r:r*255,g:i*255,b:o*255}}function Bw(e,t,n){e=Nt(e,255),t=Nt(t,255),n=Nt(n,255);let r=Math.max(e,t,n),i=Math.min(e,t,n),o=r-i,s,a=r===0?0:o/r,l=r;if(r===i)s=0;else{switch(r){case e:s=(t-n)/o+(t{let n="(?:"+"[-\\+]?\\d*\\.\\d+%?"+")|(?:"+"[-\\+]?\\d+%?"+")",r="[\\s|\\(]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")\\s*\\)?",i="[\\s|\\(]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")\\s*\\)?";return{rgb:new RegExp("rgb"+r),rgba:new RegExp("rgba"+i),hsl:new RegExp("hsl"+r),hsla:new RegExp("hsla"+i),hsv:new RegExp("hsv"+r),hsva:new RegExp("hsva"+i),hex3:/^([\da-f])([\da-f])([\da-f])$/iu,hex6:/^([\da-f]{2})([\da-f]{2})([\da-f]{2})$/iu,hex4:/^#?([\da-f])([\da-f])([\da-f])([\da-f])$/iu,hex8:/^#?([\da-f]{2})([\da-f]{2})([\da-f]{2})([\da-f]{2})$/iu}})();function tg(e){if(e.includes("gradient(")||e.includes("var("))return!1;let t=/^[\s,#]+/u,n=e.replace(t,"").trimEnd().toLowerCase(),r=xm[n];if(r&&(n=r),n==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};let i;return(i=ir.rgb.exec(n))?{r:parseInt(i[1]??""),g:parseInt(i[2]??""),b:parseInt(i[3]??""),a:1,format:"rgb"}:(i=ir.rgba.exec(n))?{r:parseInt(i[1]??""),g:parseInt(i[2]??""),b:parseInt(i[3]??""),a:parseFloat(i[4]??""),format:"rgb"}:(i=ir.hsl.exec(n))?{h:parseInt(i[1]??""),s:ii(i[2]??""),l:ii(i[3]??""),a:1,format:"hsl"}:(i=ir.hsla.exec(n))?{h:parseInt(i[1]??""),s:ii(i[2]??""),l:ii(i[3]??""),a:parseFloat(i[4]??""),format:"hsl"}:(i=ir.hsv.exec(n))?{h:parseInt(i[1]??""),s:ii(i[2]??""),v:ii(i[3]??""),a:1,format:"hsv"}:(i=ir.hsva.exec(n))?{h:parseInt(i[1]??""),s:ii(i[2]??""),v:ii(i[3]??""),a:parseFloat(i[4]??""),format:"hsv"}:(i=ir.hex8.exec(n))?{r:un(i[1]??""),g:un(i[2]??""),b:un(i[3]??""),a:Nw(i[4]??""),format:r?"name":"hex"}:(i=ir.hex6.exec(n))?{r:un(i[1]??""),g:un(i[2]??""),b:un(i[3]??""),a:1,format:r?"name":"hex"}:(i=ir.hex4.exec(n))?{r:un(`${i[1]}${i[1]}`),g:un(`${i[2]}${i[2]}`),b:un(`${i[3]}${i[3]}`),a:Nw(i[4]+""+i[4]),format:r?"name":"hex"}:(i=ir.hex3.exec(n))?{r:un(`${i[1]}${i[1]}`),g:un(`${i[2]}${i[2]}`),b:un(`${i[3]}${i[3]}`),a:1,format:r?"name":"hex"}:!1}function un(e){return parseInt(e,16)}function Nw(e){return un(e)/255}var ZL=/^color\(display-p3\s+(?\d+\.\d+|\d+|\.\d+)\s+(?\d+\.\d+|\d+|\.\d+)\s+(?\d+\.\d+|\d+|\.\d+)(?:\s*\/\s*(?\d+\.\d+|\d+|\.\d+))?\)$/u;function JL(e){let t=ZL.exec(e);if(!t)return null;let{r:n="0",g:r="0",b:i="0",a:o}=t.groups??{};return{r:parseFloat(n),g:parseFloat(r),b:parseFloat(i),a:o?parseFloat(o):1}}function $p(e=0){let t=Math.abs(e);return t<=.04045?e/12.92:(Math.sign(e)||1)*((t+.055)/1.055)**2.4}function oC({r:e,g:t,b:n,a:r}){return{r:$p(e),g:$p(t),b:$p(n),a:r}}function jp(e=0){let t=Math.abs(e);return t>.0031308?(Math.sign(e)||1)*(1.055*t**(1/2.4)-.055):e*12.92}function sC({r:e,g:t,b:n,a:r}){return{r:jp(e),g:jp(t),b:jp(n),a:r}}var eV=e=>{let{r:t,g:n,b:r,a:i}=oC(e);return{x:.486570948648216*t+.265667693169093*n+.1982172852343625*r,y:.2289745640697487*t+.6917385218365062*n+.079286914093745*r,z:0*t+.0451133818589026*n+1.043944368900976*r,a:i}},tV=({x:e=0,y:t=0,z:n=0,a:r=1})=>sC({r:e*3.2409699419045226-t*1.537383177570094-.4986107602930034*n,g:e*-.9692436362808796+t*1.8759675015077204+.0415550574071756*n,b:e*.0556300796969936-t*.2039769588889765+1.0569715142428784*n,a:r}),nV=e=>{let{r:t,g:n,b:r,a:i}=oC(e);return{x:.4123907992659593*t+.357584339383878*n+.1804807884018343*r,y:.2126390058715102*t+.715168678767756*n+.0721923153607337*r,z:.0193308187155918*t+.119194779794626*n+.9505321522496607*r,a:i}},rV=({x:e=0,y:t=0,z:n=0,a:r=1})=>sC({r:e*2.4934969119414263-t*.9313836179191242-.402710784450717*n,g:e*-.8294889695615749+t*1.7626640603183465+.0236246858419436*n,b:e*.0358458302437845-t*.0761723892680418+.9568845240076871*n,a:r});function iV({r:e,g:t,b:n,a:r}){let i=Math.max(e,t,n),o=Math.min(e,t,n),s={h:0,s:i===0?0:1-o/i,v:i,a:r};return i-o!==0&&(s.h=(i===e?(t-n)/(i-o)+(t{function e(o,s,a,l){if(typeof o=="string"){let u=Hw.get(o);return u||(u=t(o),u===void 0?{...e("black"),isValid:!1}:(Hw.set(o,u),u))}let c=t(o,s,a,l);return c!==void 0?c:{...e("black"),isValid:!1}}function t(o,s,a,l){if(o==="")return;let c=lV(o,s,a,l);if(c){let u={r:c.r,g:c.g,b:c.b,a:c.a,h:c.h,s:c.s,l:c.l,initialValue:typeof o=="string"&&c.format!=="hsv"?o:void 0,roundA:Math.round(100*c.a)/100,format:c.format,mix:e.mix,toValue:()=>e.toRgbString(u)};return u}else return}let n={isRGB(o){return o==="rgb"||o==="rgba"},isHSL(o){return o==="hsl"||o==="hsla"}};e.inspect=(o,s)=>o.format==="hsl"?`<${o.constructor.name} h:${o.h} s:${o.s} l:${o.l} a:${o.a}>`:o.format==="hex"||o.format==="name"?`<${o.constructor.name} "${s}">`:`<${o.constructor.name} r:${o.r} g:${o.g} b:${o.b} a:${o.a}>`,e.isColor=o=>typeof o=="string"?e.isColorString(o):e.isColorObject(o),e.isColorString=o=>typeof o=="string"?tg(o)!==!1:!1,e.isColorObject=o=>he(o)&&typeof o.r=="number"&&typeof o.g=="number"&&typeof o.b=="number"&&typeof o.h=="number"&&typeof o.s=="number"&&typeof o.l=="number"&&typeof o.a=="number"&&typeof o.roundA=="number"&&typeof o.format=="string",e.toString=o=>e.toRgbString(o),e.toHex=(o,s=!1)=>zw(o.r,o.g,o.b,s),e.toHexString=(o,s=!1)=>`#${e.toHex(o,s)}`,e.isP3String=o=>typeof o!="string"?!1:aV.isP3String(o),e.toRgbString=o=>o.a===1?"rgb("+Math.round(o.r)+", "+Math.round(o.g)+", "+Math.round(o.b)+")":"rgba("+Math.round(o.r)+", "+Math.round(o.g)+", "+Math.round(o.b)+", "+o.roundA+")",e.toHusl=o=>({...UL(o.r,o.g,o.b),a:o.roundA}),e.toHslString=o=>{let s=e.toHsl(o),a=Math.round(s.h),l=Math.round(s.s*100),c=Math.round(s.l*100);return o.a===1?"hsl("+a+", "+l+"%, "+c+"%)":"hsla("+a+", "+l+"%, "+c+"%, "+o.roundA+")"},e.toHsv=o=>{let s=Bw(o.r,o.g,o.b);return{h:s.h*360,s:s.s,v:s.v,a:o.a}},e.toHsvString=o=>{let s=Bw(o.r,o.g,o.b),a=Math.round(s.h*360),l=Math.round(s.s*100),c=Math.round(s.v*100);return o.a===1?"hsv("+a+", "+l+"%, "+c+"%)":"hsva("+a+", "+l+"%, "+c+"%, "+o.roundA+")"},e.toName=o=>{if(o.a===0)return"transparent";if(o.a<1)return!1;let s=zw(o.r,o.g,o.b,!0);for(let a of Object.keys(xm))if(xm[a]===s)return a;return!1},e.toHsl=o=>({h:Math.round(o.h),s:o.s,l:o.l,a:o.a}),e.toRgb=o=>({r:Math.round(o.r),g:Math.round(o.g),b:Math.round(o.b),a:o.a}),e.brighten=(o,s=10)=>{let a=e.toRgb(o);return a.r=Math.max(0,Math.min(255,a.r-Math.round(255*-(s/100)))),a.g=Math.max(0,Math.min(255,a.g-Math.round(255*-(s/100)))),a.b=Math.max(0,Math.min(255,a.b-Math.round(255*-(s/100)))),e(a)},e.lighten=(o,s=10)=>{let a=e.toHsl(o);return a.l+=s/100,a.l=Math.min(1,Math.max(0,a.l)),e(a)},e.darken=(o,s=10)=>{let a=e.toHsl(o);return a.l-=s/100,a.l=Math.min(1,Math.max(0,a.l)),e(a)},e.saturate=(o,s=10)=>{let a=e.toHsl(o);return a.s+=s/100,a.s=Math.min(1,Math.max(0,a.s)),e(a)},e.desaturate=(o,s=10)=>{let a=e.toHsl(o);return a.s-=s/100,a.s=Math.min(1,Math.max(0,a.s)),e(a)},e.grayscale=o=>e.desaturate(o,100),e.hueRotate=(o,s)=>{let a=e.toHsl(o);return a.h+=s,a.h=a.h>360?a.h-360:a.h,e(a)},e.alpha=(o,s=1)=>e({r:o.r,g:o.g,b:o.b,a:s}),e.transparent=o=>e.alpha(o,0),e.multiplyAlpha=(o,s=1)=>e({r:o.r,g:o.g,b:o.b,a:o.a*s}),e.interpolate=(o,s,a="rgb")=>{if(!e.isColorObject(o)||!e.isColorObject(s))throw new TypeError("Both arguments for Color.interpolate must be Color objects");return l=>e.mixAsColor(o,s,l,!1,a)},e.mix=(o,s,{model:a="rgb"}={})=>{let l=typeof o=="string"?e(o):o,c=e.interpolate(l,s,a);return u=>e.toRgbString(c(u))},e.mixAsColor=(o,s,a=.5,l=!1,c="rgb")=>{let u=null;if(n.isRGB(c))u=e({r:ri(a,[0,1],[o.r,s.r],l),g:ri(a,[0,1],[o.g,s.g],l),b:ri(a,[0,1],[o.b,s.b],l),a:ri(a,[0,1],[o.a,s.a],l)});else{let f,d;n.isHSL(c)?(f=e.toHsl(o),d=e.toHsl(s)):(f=e.toHusl(o),d=e.toHusl(s)),f.s===0?f.h=d.h:d.s===0&&(d.h=f.h);let h=f.h,p=d.h,v=p-h;v>180?v=p-360-h:v<-180&&(v=p+360-h);let b={h:ri(a,[0,1],[h,h+v],l),s:ri(a,[0,1],[f.s,d.s],l),l:ri(a,[0,1],[f.l,d.l],l),a:ri(a,[0,1],[o.a,s.a],l)};n.isHSL(c)?u=e(b):u=e(GL(b.h,b.s,b.l,b.a))}return u},e.random=(o=1)=>{function s(){return Math.floor(Math.random()*255)}return e("rgba("+s()+", "+s()+", "+s()+", "+o+")")},e.grey=(o=.5,s=1)=>(o=Math.floor(o*255),e("rgba("+o+", "+o+", "+o+", "+s+")")),e.gray=e.grey,e.rgbToHsl=(o,s,a)=>Iu(o,s,a),e.isValidColorProperty=(o,s)=>!!((o.toLowerCase().slice(-5)==="color"||o==="fill"||o==="stroke")&&typeof s=="string"&&e.isColorString(s)),e.difference=(o,s)=>{let a=(o.r+s.r)/2,l=o.r-s.r,c=o.g-s.g,u=o.b-s.b,f=Math.pow(l,2),d=Math.pow(c,2),h=Math.pow(u,2);return Math.sqrt(2*f+4*d+3*h+a*(f-h)/256)},e.equal=(o,s,a=.1)=>!(Math.abs(o.r-s.r)>=a||Math.abs(o.g-s.g)>=a||Math.abs(o.b-s.b)>=a||Math.abs(o.a-s.a)*256>=a);let r=lo([0,255],[0,1]);function i(o){o=r(o);let s=Math.abs(o);return s<.04045?o/12.92:(Math.sign(o)||1)*Math.pow((s+.055)/1.055,2.4)}return e.luminance=o=>{let{r:s,g:a,b:l}=e.toRgb(o);return .2126*i(s)+.7152*i(a)+.0722*i(l)},e.contrast=(o,s)=>{let a=e.luminance(o),l=e.luminance(s);return(Math.max(a,l)+.05)/(Math.min(a,l)+.05)},e})();function lV(e,t,n,r=1){let i;return typeof e=="number"&&!Number.isNaN(e)&&typeof t=="number"&&!Number.isNaN(t)&&typeof n=="number"&&!Number.isNaN(n)?i=Sm({r:e,g:t,b:n,a:r}):typeof e=="string"?i=cV(e):typeof e=="object"&&(e.hasOwnProperty("r")&&e.hasOwnProperty("g")&&e.hasOwnProperty("b")?i=Sm(e):i=aC(e)),i}function cV(e){let t=tg(e);if(t)return t.format==="hsl"?aC(t):t.format==="hsv"?uV(t):Sm(t)}function uV(e){let t=YL(e.h,e.s,e.v);return{...Iu(t.r,t.g,t.b),...t,format:"rgb",a:e.a!==void 0?lC(e.a):1}}function Sm(e){let t=qL(e.r,e.g,e.b);return{...Iu(t.r,t.g,t.b),...t,format:"rgb",a:e.a!==void 0?lC(e.a):1}}function aC(e){let t,n,r,i={r:0,g:0,b:0},o={h:0,s:0,l:0};return t=Ko(e.h)?e.h:0,t=(t+360)%360,n=Ko(e.s)?e.s:1,typeof e.s=="string"&&(n=wm(e.s)),r=Ko(e.l)?e.l:.5,typeof e.l=="string"&&(r=wm(e.l)),i=XL(t,n,r),o={h:t,s:n,l:r},{...i,...o,a:e.a===void 0?1:e.a,format:"hsl"}}function lC(e){return e=parseFloat(e),e<0&&(e=0),(Number.isNaN(e)||e>1)&&(e=1),e}var Ww=e=>e instanceof pl;var fV=gO().EventEmitter,dV=class{constructor(){R(this,"_emitter",new fV)}eventNames(){return this._emitter.eventNames()}eventListeners(){let e={};for(let t of this._emitter.eventNames())e[t]=this._emitter.listeners(t);return e}on(e,t){this.addEventListener(e,t,!1,!1,this)}off(e,t){this.removeEventListeners(e,t)}once(e,t){this.addEventListener(e,t,!0,!1,this)}unique(e,t){this.addEventListener(e,t,!1,!0,this)}addEventListener(e,t,n,r,i){if(r){for(let o of this._emitter.eventNames())if(t===this._emitter.listeners(o))return}n===!0?this._emitter.once(e,t,i):this._emitter.addListener(e,t,i)}removeEventListeners(e,t){e?this._emitter.removeListener(e,t):this.removeAllEventListeners()}removeAllEventListeners(){this._emitter.removeAllListeners()}countEventListeners(e){if(e)return this._emitter.listeners(e).length;{let t=0;for(let n of this._emitter.eventNames())t+=this._emitter.listeners(n).length;return t}}emit(e,...t){this._emitter.emit(e,...t)}},hV=e=>{setTimeout(e,1/60)},pV=ae.requestAnimationFrame||hV,Uw=e=>pV(e),xa=1/60,mV=class extends dV{constructor(e=!1){super(),R(this,"_started",!1),R(this,"_frame",0),R(this,"_frameTasks",[]),R(this,"tick",()=>{this._started&&(Uw(this.tick),this.emit("update",this._frame,xa),this.emit("render",this._frame,xa),this._processFrameTasks(),this._frame++)}),e&&this.start()}addFrameTask(e){this._frameTasks.push(e)}_processFrameTasks(){var e;let t=this._frameTasks,n=t.length;if(n!==0){for(let r=0;rkm.target,hasRestrictions:()=>{let e=km.target;return e==="CANVAS"||e==="EXPORT"}};var Kc=e=>({correct:(t,{delta:n,treeScale:r})=>{if(typeof t=="string"&&(t=parseFloat(t)),t===0)return"0px";let i=t;return n&&r&&(i=Math.round(t/n[e].scale/r[e]),i=Math.max(i,1)),i+"px"}});nd({borderTopWidth:Kc("y"),borderLeftWidth:Kc("x"),borderRightWidth:Kc("x"),borderBottomWidth:Kc("y")});function z(e,...t){var n,r;if(e)return;let i=Error("Assertion Error"+(t.length>0?": "+t.join(" "):""));if(i.stack)try{let o=i.stack.split(` `);(n=o[1])!=null&&n.includes("assert")?(o.splice(1,1),i.stack=o.join(` `)):(r=o[0])!=null&&r.includes("assert")&&(o.splice(0,1),i.stack=o.join(` `))}catch{}throw i}function me(e,t){throw t||new Error(e?`Unexpected value: ${e}`:"Application entered invalid state")}var Qo=E.createContext({getLayoutId:e=>null,persistLayoutIdCache:()=>{},top:!1,enabled:!0});function gV({children:e}){if(L(Qo).top)return S(ht,{children:e});let n=M({byId:{},byName:{},byLastId:{},byPossibleId:{},byLastName:{},byLayoutId:{},count:{byId:{},byName:{}}}),r=M({byId:{},byName:{},byLastId:{},byPossibleId:{},byLastName:{},byLayoutId:{}}),i=M(new Set).current,o=N(({id:l,name:c,duplicatedFrom:u})=>{if(!l)return null;let f=c?"byName":"byId",d=n.current[f][l];if(d)return d;let h=c||l;if(!u&&!i.has(h)&&(!n.current.byLayoutId[h]||n.current.byLayoutId[h]===h))return n.current.count[f][h]===void 0&&(n.current.count[f][h]=0,n.current.byLayoutId[h]=h,r.current[f][l]=h),i.add(h),h;let p;if(u?.length)for(let w=u.length-1;w>=0;w--){let C=u[w];z(!!C,"duplicatedId must be defined");let T=n.current[f][C],I=n.current.byLastId[C];if(I&&!p){let H=n.current.byLayoutId[I],O=!H||H===c;I&&!i.has(I)&&(!c||O)&&(p=[I,C])}let P=T?n.current.byLayoutId[T]:void 0,D=!P||P===c;if(T&&!i.has(T)&&(!c||D))return r.current[f][l]=T,r.current.byLastId[C]=T,i.add(T),T}let v=n.current.byLastId[l];if(v&&!i.has(v))return i.add(v),r.current.byId[l]=v,v;if(p){let[w,C]=p;return r.current[f][l]=w,r.current.byLastId[C]=w,i.add(w),w}let b=n.current.byPossibleId[l];if(b&&!i.has(b))return i.add(b),r.current.byId[l]=b,b;let g=u?.[0],m=c||g||l,y=(n.current.count[f][m]??-1)+1,{layoutId:x,value:k}=vV(m,y,i);if(n.current.count[f][m]=k,r.current[f][l]=x,u?.length&&!c){let w=u[u.length-1];if(w&&(r.current.byLastId[w]=x),u.length>1)for(let C=0;C{n.current={byId:{...n.current.byId,...r.current.byId},byLastId:{...n.current.byLastId,...r.current.byLastId},byPossibleId:{...n.current.byPossibleId,...r.current.byPossibleId},byName:{...n.current.byName,...r.current.byName},byLastName:{...n.current.byLastName,...r.current.byLastName},byLayoutId:{...n.current.byLayoutId,...r.current.byLayoutId},count:{...n.current.count,byName:{}}},r.current={byId:{},byName:{},byLastId:{},byPossibleId:{},byLastName:{},byLayoutId:{}},i.clear()},[]),a=M({getLayoutId:o,persistLayoutIdCache:s,top:!0,enabled:!0}).current;return S(Qo.Provider,{value:a,children:e})}function vV(e,t,n){let r=t,i=r?`${e}-${r}`:e;for(;n.has(i);)r++,i=`${e}-${r}`;return{layoutId:i,value:r}}function yV({enabled:e=!0,...t}){let n=L(Qo),r=Q(()=>({...n,enabled:e}),[e]);return S(Qo.Provider,{...t,value:r})}function et(e){let t=M(null);return t.current===null&&(t.current=e()),t.current}var bV={background:void 0,display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",lineHeight:"1.4em",textOverflow:"ellipsis",overflow:"hidden",minHeight:0,width:"100%",height:"100%"},xV={...bV,border:"1px solid rgba(149, 149, 149, 0.15)",borderRadius:6,fontSize:"12px",backgroundColor:"rgba(149, 149, 149, 0.1)",color:"#a5a5a5"},uC={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",maxWidth:"100%",flexShrink:0,padding:"0 10px"},wV={...uC,fontWeight:500},SV={...uC,whiteSpace:"pre",maxHeight:"calc(50% - calc(20px * var(--framerInternalCanvas-canvasPlaceholderContentScaleFactor, 1)))",WebkitMaskImage:"linear-gradient(to bottom, black 80%, transparent 100%)"};function iH(e){let{error:t,file:n}=e,r=n?`Error in ${kV(n)}`:"Error",i=t instanceof Error?t.message:""+t;return de("div",{style:xV,children:[S("div",{className:"text",style:wV,children:r}),i&&S("div",{className:"text",style:SV,children:i})]})}function kV(e){return e.startsWith("./")?e.replace("./",""):e}function ne(e){return Number.isFinite(e)}function CV(e){return!e||!Object.keys(e).length&&e.constructor===Object}function Fa(e){return typeof e!="string"&&typeof e!="number"}function Pa(e){return e!==null&&typeof e<"u"&&typeof e!="boolean"&&!CV(e)}function RV(e){return e*(Math.PI/180)}var kt=(()=>{function e(t,n){return{a:t,b:n}}return e.offset=(t,n)=>{let r=Ot.angleFromX(t.a,t.b),i=RV(r),o=n*Math.sin(i),s=n*Math.cos(i);return e({x:t.a.x+o,y:t.a.y-s},{x:t.b.x+o,y:t.b.y-s})},e.intersection=(t,n,r)=>{let i=t.a.x,o=t.a.y,s=t.b.x,a=t.b.y,l=n.a.x,c=n.a.y,u=n.b.x,f=n.b.y,d=(u-l)*(c-o)-(f-c)*(l-i),h=(u-l)*(a-o)-(f-c)*(s-i),p=(s-i)*(c-o)-(a-o)*(l-i);if(d===0&&h===0||h===0)return null;let v=d/h,b=p/h;return r&&(v<0||v>1||b<0||b>1)?null:{x:i+v*(s-i),y:o+v*(a-o)}},e.intersectionAngle=(t,n)=>{let r=t.b.x-t.a.x,i=t.b.y-t.a.y,o=n.b.x-n.a.x,s=n.b.y-n.a.y;return Math.atan2(r*s-i*o,r*o+i*s)*(180/Math.PI)},e.isOrthogonal=t=>t.a.x===t.b.x||t.a.y===t.b.y,e.perpendicular=(t,n)=>{let r=t.a.x-t.b.x,i=t.a.y-t.b.y,o=Ot(n.x-i,n.y+r);return e(o,n)},e.projectPoint=(t,n)=>{let r=e.perpendicular(t,n);return e.intersection(t,r)},e.pointAtPercentDistance=(t,n)=>{let r=e.distance(t),i=n*r/r;return{x:i*t.b.x+(1-i)*t.a.x,y:i*t.b.y+(1-i)*t.a.y}},e.distance=t=>Ot.distance(t.a,t.b),e})(),q={equals:function(e,t){return e===t?!0:!e||!t?!1:e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height},atOrigin:e=>({...e,x:0,y:0}),fromTwoPoints:(e,t)=>({x:Math.min(e.x,t.x),y:Math.min(e.y,t.y),width:Math.abs(e.x-t.x),height:Math.abs(e.y-t.y)}),fromRect:e=>({x:e.left,y:e.top,width:e.right-e.left,height:e.bottom-e.top}),multiply:(e,t)=>({x:e.x*t,y:e.y*t,width:e.width*t,height:e.height*t}),divide:(e,t)=>q.multiply(e,1/t),offset:(e,t)=>{let n=typeof t.x=="number"?t.x:0,r=typeof t.y=="number"?t.y:0;return{...e,x:e.x+n,y:e.y+r}},inflate:(e,t)=>{if(t===0)return e;let n=2*t;return{x:e.x-t,y:e.y-t,width:e.width+n,height:e.height+n}},pixelAligned:e=>{let t=Math.round(e.x),n=Math.round(e.y),r=Math.round(e.x+e.width),i=Math.round(e.y+e.height),o=Math.max(r-t,0),s=Math.max(i-n,0);return{x:t,y:n,width:o,height:s}},halfPixelAligned:e=>{let t=Math.round(e.x*2)/2,n=Math.round(e.y*2)/2,r=Math.round((e.x+e.width)*2)/2,i=Math.round((e.y+e.height)*2)/2,o=Math.max(r-t,1),s=Math.max(i-n,1);return{x:t,y:n,width:o,height:s}},round:(e,t=0)=>{let n=Yc(e.x,t),r=Yc(e.y,t),i=Yc(e.width,t),o=Yc(e.height,t);return{x:n,y:r,width:i,height:o}},roundToOutside:e=>{let t=Math.floor(e.x),n=Math.floor(e.y),r=Math.ceil(e.x+e.width),i=Math.ceil(e.y+e.height),o=Math.max(r-t,0),s=Math.max(i-n,0);return{x:t,y:n,width:o,height:s}},minX:e=>e.x,maxX:e=>e.x+e.width,minY:e=>e.y,maxY:e=>e.y+e.height,positions:e=>({minX:e.x,midX:e.x+e.width/2,maxX:q.maxX(e),minY:e.y,midY:e.y+e.height/2,maxY:q.maxY(e)}),center:e=>({x:e.x+e.width/2,y:e.y+e.height/2}),boundingRectFromPoints:e=>{let t=1/0,n=-1/0,r=1/0,i=-1/0;for(let o=0;o{let[t,n,r,i]=e,{x:o,y:s}=t,a=Ot.distance(t,n),l=Ot.distance(t,i);return{x:o,y:s,width:a,height:l}},merge:(...e)=>{let t={x:Math.min(...e.map(q.minX)),y:Math.min(...e.map(q.minY))},n={x:Math.max(...e.map(q.maxX)),y:Math.max(...e.map(q.maxY))};return q.fromTwoPoints(t,n)},intersection:(e,t)=>{let n=Math.max(e.x,t.x),r=Math.min(e.x+e.width,t.x+t.width),i=Math.max(e.y,t.y),o=Math.min(e.y+e.height,t.y+t.height);return{x:n,y:i,width:r-n,height:o-i}},points:e=>[{x:q.minX(e),y:q.minY(e)},{x:q.minX(e),y:q.maxY(e)},{x:q.maxX(e),y:q.minY(e)},{x:q.maxX(e),y:q.maxY(e)}],pointsAtOrigin:e=>[{x:0,y:0},{x:e.width,y:0},{x:e.width,y:e.height},{x:0,y:e.height}],transform:(e,t)=>{let{x:n,y:r}=t.transformPoint({x:e.x,y:e.y}),{x:i,y:o}=t.transformPoint({x:e.x+e.width,y:e.y}),{x:s,y:a}=t.transformPoint({x:e.x+e.width,y:e.y+e.height}),{x:l,y:c}=t.transformPoint({x:e.x,y:e.y+e.height}),u=Math.min(n,i,s,l),f=Math.max(n,i,s,l)-u,d=Math.min(r,o,a,c),h=Math.max(r,o,a,c)-d;return{x:u,y:d,width:f,height:h}},containsPoint:(e,t)=>!(t.xq.maxX(e)||t.yq.maxY(e)||Number.isNaN(e.x)||Number.isNaN(e.y)),containsRect:(e,t)=>{for(let n of q.points(t))if(!q.containsPoint(e,n))return!1;return!0},toCSS:e=>({display:"block",transform:`translate(${e.x}px, ${e.y}px)`,width:`${e.width}px`,height:`${e.height}px`}),inset:(e,t)=>({x:e.x+t,y:e.y+t,width:Math.max(0,e.width-2*t),height:Math.max(0,e.height-2*t)}),intersects:(e,t)=>!(t.x>=q.maxX(e)||q.maxX(t)<=e.x||t.y>=q.maxY(e)||q.maxY(t)<=e.y),overlapHorizontally:(e,t)=>{let n=q.maxX(e),r=q.maxX(t);return n>t.x&&r>e.x},overlapVertically:(e,t)=>{let n=q.maxY(e),r=q.maxY(t);return n>t.y&&r>e.y},doesNotIntersect:(e,t)=>t.find(n=>q.intersects(n,e))===void 0,isEqual:(e,t)=>q.equals(e,t),cornerPoints:e=>{let t=e.x,n=e.x+e.width,r=e.y,i=e.y+e.height;return[{x:t,y:r},{x:n,y:r},{x:n,y:i},{x:t,y:i}]},midPoints:e=>{let t=e.x,n=e.x+e.width/2,r=e.x+e.width,i=e.y,o=e.y+e.height/2,s=e.y+e.height;return[{x:n,y:i},{x:r,y:o},{x:n,y:s},{x:t,y:o}]},pointDistance:(e,t)=>{let n=0,r=0;return t.xq.maxX(e)&&(n=t.x-q.maxX(e)),t.yq.maxY(e)&&(r=t.y-q.maxY(e)),Ot.distance({x:n,y:r},{x:0,y:0})},fromAny:(e,t={x:0,y:0,width:0,height:0})=>({x:e.x||t.x,y:e.y||t.y,width:e.width||t.width,height:e.height||t.height}),delta:(e,t)=>{let n={x:q.minX(e),y:q.minY(e)},r={x:q.minX(t),y:q.minY(t)};return{x:n.x-r.x,y:n.y-r.y}},withMinSize:(e,t)=>{let{width:n,height:r}=t,i=e.width-n,o=e.height-r;return{width:Math.max(e.width,n),height:Math.max(e.height,r),x:e.width{let n=q.minX(e),r=q.minY(e),i=q.maxX(e),o=q.maxY(e);for(let s of t)if(s.xi||s.yo)return!0;return!1},edges:e=>{let[t,n,r,i]=q.cornerPoints(e);return[kt(t,n),kt(n,r),kt(r,i),kt(i,t)]},rebaseRectOnto:(e,t,n,r)=>{let i={...e};switch(n){case"bottom":case"top":switch(r){case"start":i.x=t.x;break;case"center":i.x=t.x+t.width/2-e.width/2;break;case"end":i.x=t.x+t.width-e.width;break;default:me(r)}break;case"left":i.x=t.x-e.width;break;case"right":i.x=t.x+t.width;break;default:me(n)}switch(n){case"left":case"right":switch(r){case"start":i.y=t.y;break;case"center":i.y=t.y+t.height/2-e.height/2;break;case"end":i.y=t.y+t.height-e.height;break;default:me(r)}break;case"top":i.y=t.y-e.height;break;case"bottom":i.y=t.y+t.height;break;default:me(n)}return i}};var fC={quickfix:e=>((e.widthType===2||e.heightType===2)&&(e.aspectRatio=null),ne(e.aspectRatio)&&(e.left&&e.right&&(e.widthType=0),e.top&&e.bottom&&(e.heightType=0),e.left&&e.right&&e.top&&e.bottom&&(e.bottom=!1),e.widthType!==0&&e.heightType!==0&&(e.heightType=0)),e.left&&e.right&&((e.fixedSize||e.widthType===2||ne(e.maxWidth))&&(e.right=!1),e.widthType=0),e.top&&e.bottom&&((e.fixedSize||e.heightType===2||ne(e.maxHeight))&&(e.bottom=!1),e.heightType=0),e)};function gu(e){if(typeof e=="string"){let t=e.trim();if(t==="auto")return 2;if(t.endsWith("fr"))return 3;if(t.endsWith("%"))return 1;if(t.endsWith("vw")||t.endsWith("vh"))return 4}return 0}var dC={fromProperties:e=>{let{left:t,right:n,top:r,bottom:i,width:o,height:s,centerX:a,centerY:l,aspectRatio:c,autoSize:u}=e,f=fC.quickfix({left:ne(t)||$n(t),right:ne(n)||$n(n),top:ne(r)||$n(r),bottom:ne(i)||$n(i),widthType:gu(o),heightType:gu(s),aspectRatio:c||null,fixedSize:u===!0}),d=null,h=null,p=0,v=0;if(f.widthType!==0&&typeof o=="string"){let m=parseFloat(o);o.endsWith("fr")?(p=3,d=m):o==="auto"?p=2:(p=1,d=m/100)}else o!==void 0&&typeof o!="string"&&(d=ct.getNumber(o));if(f.heightType!==0&&typeof s=="string"){let m=parseFloat(s);s.endsWith("fr")?(v=3,h=m):s==="auto"?v=2:(v=1,h=parseFloat(s)/100)}else s!==void 0&&typeof s!="string"&&(h=ct.getNumber(s));let b=.5,g=.5;return a&&(b=parseFloat(a)/100),l&&(g=parseFloat(l)/100),{left:f.left?ct.getNumber(t):null,right:f.right?ct.getNumber(n):null,top:f.top?ct.getNumber(r):null,bottom:f.bottom?ct.getNumber(i):null,widthType:p,heightType:v,width:d,height:h,aspectRatio:f.aspectRatio||null,centerAnchorX:b,centerAnchorY:g}},toSize:(e,t,n,r)=>{let i=null,o=null,s=t?.sizing?ct.getNumber(t?.sizing.width):null,a=t?.sizing?ct.getNumber(t?.sizing.height):null,l=Gw(e.left,e.right);if(s&&ne(l))i=s-l;else if(n&&e.widthType===2)i=n.width;else if(ne(e.width))switch(e.widthType){case 0:i=e.width;break;case 3:i=r?r.freeSpaceInParent.width/r.freeSpaceUnitDivisor.width*e.width:null;break;case 1:case 4:s&&(i=s*e.width);break;case 2:break;default:me(e.widthType)}let c=Gw(e.top,e.bottom);if(a&&ne(c))o=a-c;else if(n&&e.heightType===2)o=n.height;else if(ne(e.height))switch(e.heightType){case 0:o=e.height;break;case 3:o=r?r.freeSpaceInParent.height/r.freeSpaceUnitDivisor.height*e.height:null;break;case 1:case 4:a&&(o=a*e.height);break;case 2:break;default:me(e.heightType)}return MV(i,o,e,{height:a??0,width:s??0},t?.viewport)},toRect:(e,t=null,n=null,r=!1,i=null)=>{let o=e.left||0,s=e.top||0,{width:a,height:l}=dC.toSize(e,t,n,i),c=t?.positioning??null,u=c?ct.getNumber(c.width):null,f=c?ct.getNumber(c.height):null;e.left!==null?o=e.left:u&&e.right!==null?o=u-e.right-a:u&&(o=e.centerAnchorX*u-a/2),e.top!==null?s=e.top:f&&e.bottom!==null?s=f-e.bottom-l:f&&(s=e.centerAnchorY*f-l/2);let d={x:o,y:s,width:a,height:l};return r?q.pixelAligned(d):d}},TV=200,EV=200;function vu(e,t,n,r){if(typeof t=="string"){if(t.endsWith("%")&&n)switch(e){case"maxWidth":case"minWidth":return parseFloat(t)/100*n.width;case"maxHeight":case"minHeight":return parseFloat(t)/100*n.height;default:break}if(t.endsWith("vh")){if(!r)return FV(e);switch(e){case"maxWidth":case"minWidth":return parseFloat(t)/100*r.width;case"maxHeight":case"minHeight":return parseFloat(t)/100*r.height;default:break}}return parseFloat(t)}return t}function FV(e){switch(e){case"minWidth":case"minHeight":return Number.NEGATIVE_INFINITY;case"maxWidth":case"maxHeight":return Number.POSITIVE_INFINITY;default:me(e,"unknown constraint key")}}function PV(e,t,n,r){return t.minHeight&&(e=Math.max(vu("minHeight",t.minHeight,n,r),e)),t.maxHeight&&(e=Math.min(vu("maxHeight",t.maxHeight,n,r),e)),e}function IV(e,t,n,r){return t.minWidth&&(e=Math.max(vu("minWidth",t.minWidth,n,r),e)),t.maxWidth&&(e=Math.min(vu("maxWidth",t.maxWidth,n,r),e)),e}function MV(e,t,n,r,i){let o=IV(ne(e)?e:TV,n,r,i),s=PV(ne(t)?t:EV,n,r,i);return ne(n.aspectRatio)&&n.aspectRatio>0&&(ne(n.left)&&ne(n.right)?s=o/n.aspectRatio:ne(n.top)&&ne(n.bottom)?o=s*n.aspectRatio:n.widthType!==0?s=o/n.aspectRatio:o=s*n.aspectRatio),{width:o,height:s}}function Gw(e,t){return!ne(e)||!ne(t)?null:e+t}function _V(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 Na(e){return!e._constraints||_V(e)?!1:e._constraints.enabled}function OV(e){let{size:t}=e,{width:n,height:r}=e;return ne(t)&&(n===void 0&&(n=t),r===void 0&&(r=t)),ne(n)&&ne(r)?{width:n,height:r}:null}function LV(e){let t=OV(e);if(t===null)return null;let{left:n,top:r}=e;return ne(n)&&ne(r)?{x:n,y:r,...t}:null}function _a(e,t,n=!0){if(e.positionFixed||e.positionAbsolute)return null;let r=t===1||t===2;if(!Na(e)||r)return LV(e);let i=VV(e),o=AV(t),s=o?{sizing:o,positioning:o,viewport:null}:null;return dC.toRect(i,s,null,n,null)}function VV(e){let{left:t,right:n,top:r,bottom:i,center:o,_constraints:s,size:a}=e,{width:l,height:c}=e;l===void 0&&(l=a),c===void 0&&(c=a);let{aspectRatio:u,autoSize:f}=s,d=fC.quickfix({left:ne(t),right:ne(n),top:ne(r),bottom:ne(i),widthType:gu(l),heightType:gu(c),aspectRatio:u||null,fixedSize:f===!0}),h=null,p=null,v=0,b=0;if(d.widthType!==0&&typeof l=="string"){let y=parseFloat(l);l.endsWith("fr")?(v=3,h=y):l==="auto"?v=2:(v=1,h=y/100)}else l!==void 0&&typeof l!="string"&&(h=l);if(d.heightType!==0&&typeof c=="string"){let y=parseFloat(c);c.endsWith("fr")?(b=3,p=y):c==="auto"?b=2:(b=1,p=parseFloat(c)/100)}else c!==void 0&&typeof c!="string"&&(p=c);let g=.5,m=.5;return(o===!0||o==="x")&&(d.left=!1,typeof t=="string"&&(g=parseFloat(t)/100)),(o===!0||o==="y")&&(d.top=!1,typeof r=="string"&&(m=parseFloat(r)/100)),{left:d.left?t:null,right:d.right?n:null,top:d.top?r:null,bottom:d.bottom?i:null,widthType:v,heightType:b,width:h,height:p,aspectRatio:d.aspectRatio||null,centerAnchorX:g,centerAnchorY:m,minHeight:e.minHeight,maxHeight:e.maxHeight,minWidth:e.minWidth,maxWidth:e.maxWidth}}var hC=E.createContext({parentSize:0});function AV(e){return e===0||e===1||e===2?null:e}function $a(){return E.useContext(hC).parentSize}function pC(e){return typeof e=="object"}var DV=e=>{let t=$a(),{parentSize:n,children:r}=e,i=E.useMemo(()=>({parentSize:n}),[zV(n),BV(n)]);return t===1?r?S(ht,{children:r}):null:S(hC.Provider,{value:i,children:r})};function zV(e){return pC(e)?e.width:e}function BV(e){return pC(e)?e.height:e}function NV(e,t){return S(DV,{parentSize:t,children:e})}function $V(e){let t=$a();return _a(e,t,!0)}function mC({width:e,height:t}){return e==="auto"||e==="min-content"||t==="auto"||t==="min-content"}var jV=(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.Slot="slot",e.Array="array",e.EventHandler="eventhandler",e.Transition="transition",e.BoxShadow="boxshadow",e.Link="link",e.Date="date",e.Object="object",e.Font="font",e.PageScope="pagescope",e.ScrollSectionRef="scrollsectionref",e.CustomCursor="customcursor",e.Border="border",e.Cursor="cursor",e.Padding="padding",e.BorderRadius="borderradius",e.Gap="gap",e.CollectionReference="collectionreference",e.MultiCollectionReference="multicollectionreference",e.TrackingId="trackingid",e.VectorSetItem="vectorsetitem",e))(jV||{}),Hp;function HV(){if(Hp!==void 0)return Hp;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),Hp=t,t}var Ui="flexbox-gap-not-supported",qw=!1;function cH(){qw||(qw=!0,!HV()&&document.body.classList.add(Ui))}var WV=` [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); } `,UV=` [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); } `,GV=` [data-framer-component-type="DeprecatedRichText"] span[data-text-fill] { display: inline-block; background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; } `,qV=` [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)); } `,XV=` [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))); } `,YV=` [data-framer-component-type="DeprecatedRichText"] a[data-framer-page-link-current], [data-framer-component-type="DeprecatedRichText"] a[data-framer-page-link-current] span:not([data-text-fill]):not([data-nested-link]) { font-family: var(--framer-link-current-font-family, var(--framer-link-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif))); font-style: var(--framer-link-current-font-style, var(--framer-link-font-style, var(--framer-font-style, normal))); font-weight: var(--framer-link-current-font-weight, var(--framer-link-font-weight, var(--framer-font-weight, 400))); color: var(--framer-link-current-text-color, var(--framer-link-text-color, var(--framer-text-color, #000))); font-size: var(--framer-link-current-font-size, var(--framer-link-font-size, var(--framer-font-size, 16px))); text-transform: var(--framer-link-current-text-transform, var(--framer-link-text-transform, var(--framer-text-transform, none))); text-decoration: var(--framer-link-current-text-decoration, var(--framer-link-text-decoration, var(--framer-text-decoration, none))); } `,KV=` [data-framer-component-type="DeprecatedRichText"] a[data-framer-page-link-current]:hover, [data-framer-component-type="DeprecatedRichText"] a[data-framer-page-link-current]:hover span:not([data-text-fill]):not([data-nested-link]) { font-family: var(--framer-link-hover-font-family, var(--framer-link-current-font-family, var(--framer-link-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif)))); font-style: var(--framer-link-hover-font-style, var(--framer-link-current-font-style, var(--framer-link-font-style, var(--framer-font-style, normal)))); font-weight: var(--framer-link-hover-font-weight, var(--framer-link-current-font-weight, var(--framer-link-font-weight, var(--framer-font-weight, 400)))); color: var(--framer-link-hover-text-color, var(--framer-link-current-text-color, var(--framer-link-text-color, var(--framer-text-color, #000)))); font-size: var(--framer-link-hover-font-size, var(--framer-link-current-font-size, var(--framer-link-font-size, var(--framer-font-size, 16px)))); text-transform: var(--framer-link-hover-text-transform, var(--framer-link-current-text-transform, var(--framer-link-text-transform, var(--framer-text-transform, none)))); text-decoration: var(--framer-link-hover-text-decoration, var(--framer-link-current-text-decoration, var(--framer-link-text-decoration, var(--framer-text-decoration, none)))); } `,QV=` [data-framer-component-type="DeprecatedRichText"] strong { font-weight: bolder; } `,ZV=` [data-framer-component-type="DeprecatedRichText"] em { font-style: italic; } `,JV=` [data-framer-component-type="DeprecatedRichText"] .framer-image { display: block; max-width: 100%; height: auto; } `,eA=` [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; } `,tA=` [data-framer-component-type="DeprecatedRichText"] .text-styles-preset-reset { --framer-font-family: Inter, Inter Placeholder, sans-serif; --framer-font-style: normal; --framer-font-weight: 500; --framer-text-color: #000; --framer-font-size: 16px; --framer-letter-spacing: 0; --framer-text-transform: none; --framer-text-decoration: none; --framer-line-height: 1.2em; --framer-text-alignment: start; --framer-font-open-type-features: normal; --font-variation-settings: normal; } `,nA=` [data-framer-component-type="DeprecatedRichText"] ul, [data-framer-component-type="DeprecatedRichText"] ol { display: table; width: 100%; padding-left: 0; margin: 0; } `,rA=` [data-framer-component-type="DeprecatedRichText"] li { display: table-row; counter-increment: list-item; list-style: none; } `,iA=` [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; } `,oA=` [data-framer-component-type="DeprecatedRichText"] ul > li::before { display: table-cell; width: 2.25ch; box-sizing: border-box; padding-right: 0.75ch; content: "\u2022"; } `,sA=['[data-framer-component-type="DeprecatedRichText"] { cursor: inherit; }',tA,eA,WV,UV,GV,qV,XV,YV,KV,QV,ZV,JV,nA,rA,iA,oA],gC=(e=>(e.Padding="--framer-input-padding",e.BorderRadiusTopLeft="--framer-input-border-radius-top-left",e.BorderRadiusTopRight="--framer-input-border-radius-top-right",e.BorderRadiusBottomRight="--framer-input-border-radius-bottom-right",e.BorderRadiusBottomLeft="--framer-input-border-radius-bottom-left",e.BorderColor="--framer-input-border-color",e.BorderTopWidth="--framer-input-border-top-width",e.BorderRightWidth="--framer-input-border-right-width",e.BorderBottomWidth="--framer-input-border-bottom-width",e.BorderLeftWidth="--framer-input-border-left-width",e.BorderStyle="--framer-input-border-style",e.Background="--framer-input-background",e.FontFamily="--framer-input-font-family",e.FontWeight="--framer-input-font-weight",e.FontSize="--framer-input-font-size",e.FontColor="--framer-input-font-color",e.FontStyle="--framer-input-font-style",e.FontLetterSpacing="--framer-input-font-letter-spacing",e.FontTextAlignment="--framer-input-font-text-alignment",e.FontLineHeight="--framer-input-font-line-height",e.FontOpenType="--framer-input-font-open-type-features",e.PlaceholderColor="--framer-input-placeholder-color",e.BoxShadow="--framer-input-box-shadow",e.FocusedBorderColor="--framer-input-focused-border-color",e.FocusedBorderWidth="--framer-input-focused-border-width",e.FocusedBorderStyle="--framer-input-focused-border-style",e.FocusedBackground="--framer-input-focused-background",e.FocusedBoxShadow="--framer-input-focused-box-shadow",e.FocusedTransition="--framer-input-focused-transition",e.BooleanCheckedBackground="--framer-input-boolean-checked-background",e.BooleanCheckedBorderColor="--framer-input-boolean-checked-border-color",e.BooleanCheckedBorderWidth="--framer-input-boolean-checked-border-width",e.BooleanCheckedBorderStyle="--framer-input-boolean-checked-border-style",e.BooleanCheckedBoxShadow="--framer-input-boolean-checked-box-shadow",e.BooleanCheckedTransition="--framer-input-boolean-checked-transition",e.InvalidTextColor="--framer-input-invalid-text-color",e.IconBackgroundImage="--framer-input-icon-image",e.IconMaskImage="--framer-input-icon-mask-image",e.IconColor="--framer-input-icon-color",e.WrapperHeight="--framer-input-wrapper-height",e))(gC||{}),Te=gC,Xw="framer-form-input",aA="framer-form-input-wrapper";function lA(e){return typeof e=="number"?e:e.startsWith("--")?lt.variable(e):e===""?'""':e}function lt(e,t){let n=" ";for(let r in t){let i=t[r];n+=`${r.replace(/([A-Z])/gu,"-$1").toLowerCase()}: ${lA(i)}; `}return e+" {"+n+"}"}(e=>{function t(...n){let r=n[n.length-1],i=r.startsWith("--")?`var(${r})`:r;for(let o=n.length-2;o>=0;o--)i=`var(${n[o]}, ${i})`;return i}e.variable=t})(lt||(lt={}));var fH=[lt(`.${Xw}`,{padding:lt.variable(Te.Padding),background:"transparent",fontFamily:lt.variable(Te.FontFamily),fontWeight:lt.variable(Te.FontWeight),fontSize:lt.variable(Te.FontSize),fontStyle:lt.variable(Te.FontStyle),color:lt.variable(Te.FontColor),fontFeatureSettings:lt.variable(Te.FontOpenType),border:"none",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",width:"100%",height:lt.variable(Te.WrapperHeight,"100%"),letterSpacing:lt.variable(Te.FontLetterSpacing),textAlign:lt.variable(Te.FontTextAlignment),lineHeight:lt.variable(Te.FontLineHeight)}),lt(`.${Xw}:focus-visible`,{outline:"none"})];var dH=`var(${Te.BorderTopWidth}) var(${Te.BorderRightWidth}) var(${Te.BorderBottomWidth}) var(${Te.BorderLeftWidth})`,hH=[`.${aA}:after { content: ""; pointer-events: none; box-sizing: border-box; position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-top-left-radius: var(${Te.BorderRadiusTopLeft}); border-top-right-radius: var(${Te.BorderRadiusTopRight}); border-bottom-right-radius: var(${Te.BorderRadiusBottomRight}); border-bottom-left-radius: var(${Te.BorderRadiusBottomLeft}); border-color: var(${Te.BorderColor}); border-top-width: var(${Te.BorderTopWidth}); border-right-width: var(${Te.BorderRightWidth}); border-bottom-width: var(${Te.BorderBottomWidth}); border-left-width: var(${Te.BorderLeftWidth}); border-style: var(${Te.BorderStyle}); transition: var(${Te.FocusedTransition}); transition-property: border-color, border-width, border-style, border-top-left-radius, border-top-right-radius, border-bottom-right-radius, border-bottom-left-radius; }`];var Wp=16,pH={content:"",display:"block",position:"absolute",right:0,top:0,bottom:0,width:`${Wp}px`,boxSizing:"content-box",padding:lt.variable(Te.Padding),border:"none",pointerEvents:"none",backgroundRepeat:"no-repeat",backgroundSize:`${Wp}px`,maskRepeat:"no-repeat",maskSize:`${Wp}px`,backgroundColor:lt.variable(Te.IconColor)};function Dn(e,t){return lt.variable(...e.flatMap(n=>[`${n}-rgb`,n]),t)}var cA=[` p.framer-text, div.framer-text, figure.framer-text, h1.framer-text, h2.framer-text, h3.framer-text, h4.framer-text, h5.framer-text, h6.framer-text, ol.framer-text, ul.framer-text { margin: 0; padding: 0; } `,` p.framer-text, div.framer-text, h1.framer-text, h2.framer-text, h3.framer-text, h4.framer-text, h5.framer-text, h6.framer-text, li.framer-text, ol.framer-text, ul.framer-text, span.framer-text:not([data-text-fill]) { font-family: var(--framer-blockquote-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif)); font-style: var(--framer-blockquote-font-style, var(--framer-font-style, normal)); font-weight: var(--framer-blockquote-font-weight, var(--framer-font-weight, 400)); color: var(--framer-blockquote-text-color, var(--framer-text-color, #000)); font-size: calc(var(--framer-blockquote-font-size, var(--framer-font-size, 16px)) * var(--framer-font-size-scale, 1)); letter-spacing: var(--framer-blockquote-letter-spacing, var(--framer-letter-spacing, 0)); text-transform: var(--framer-blockquote-text-transform, var(--framer-text-transform, none)); text-decoration: var(--framer-blockquote-text-decoration, var(--framer-text-decoration, none)); line-height: var(--framer-blockquote-line-height, var(--framer-line-height, 1.2em)); text-align: var(--framer-blockquote-text-alignment, var(--framer-text-alignment, start)); -webkit-text-stroke-width: var(--framer-text-stroke-width, initial); -webkit-text-stroke-color: var(--framer-text-stroke-color, initial); -moz-font-feature-settings: var(--framer-font-open-type-features, initial); -webkit-font-feature-settings: var(--framer-font-open-type-features, initial); font-feature-settings: var(--framer-font-open-type-features, initial); font-variation-settings: var(--framer-font-variation-axes, normal); text-wrap: var(--framer-text-wrap-override, var(--framer-text-wrap)); } `,` @supports not (color: color(display-p3 1 1 1)) { 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]) { color: ${Dn(["--framer-blockquote-text-color","--framer-text-color"],"#000")}; -webkit-text-stroke-color: ${Dn(["--framer-text-stroke-color"],"initial")}; } } `,` .framer-fit-text .framer-text { white-space: nowrap; white-space-collapse: preserve; } `,` strong.framer-text { font-family: var(--framer-blockquote-font-family-bold, var(--framer-font-family-bold)); font-style: var(--framer-blockquote-font-style-bold, var(--framer-font-style-bold)); font-weight: var(--framer-blockquote-font-weight-bold, var(--framer-font-weight-bold, bolder)); font-variation-settings: var(--framer-blockquote-font-variation-axes-bold, var(--framer-font-variation-axes-bold)); } `,` em.framer-text { font-family: var(--framer-blockquote-font-family-italic, var(--framer-font-family-italic)); font-style: var(--framer-blockquote-font-style-italic, var(--framer-font-style-italic, italic)); font-weight: var(--framer-blockquote-font-weight-italic, var(--framer-font-weight-italic)); font-variation-settings: var(--framer-blockquote-font-variation-axes-italic, var(--framer-font-variation-axes-italic)); } `,` em.framer-text > strong.framer-text { font-family: var(--framer-blockquote-font-family-bold-italic, var(--framer-font-family-bold-italic)); font-style: var(--framer-blockquote-font-style-bold-italic, var(--framer-font-style-bold-italic, italic)); font-weight: var(--framer-blockquote-font-weight-bold-italic, var(--framer-font-weight-bold-italic, bolder)); font-variation-settings: var(--framer-blockquote-font-variation-axes-bold-italic, var(--framer-font-variation-axes-bold-italic)); } `,` p.framer-text:not(:first-child), div.framer-text:not(:first-child), h1.framer-text:not(:first-child), h2.framer-text:not(:first-child), h3.framer-text:not(:first-child), h4.framer-text:not(:first-child), h5.framer-text:not(:first-child), h6.framer-text:not(:first-child), ol.framer-text:not(:first-child), ul.framer-text:not(:first-child), blockquote.framer-text:not(:first-child), table.framer-text:not(:first-child), figure.framer-text:not(:first-child), .framer-image.framer-text:not(:first-child) { margin-top: var(--framer-blockquote-paragraph-spacing, var(--framer-paragraph-spacing, 0)); } `,` li.framer-text > ul.framer-text:nth-child(2), li.framer-text > ol.framer-text:nth-child(2) { margin-top: 0; } `,` .framer-text[data-text-fill] { display: inline-block; background-clip: text; -webkit-background-clip: text; /* make this a transparent color if you want to visualise the clipping */ -webkit-text-fill-color: transparent; padding: max(0em, calc(calc(1.3em - var(--framer-blockquote-line-height, var(--framer-line-height, 1.3em))) / 2)); margin: min(0em, calc(calc(1.3em - var(--framer-blockquote-line-height, var(--framer-line-height, 1.3em))) / -2)); } `,` code.framer-text, code.framer-text span.framer-text:not([data-text-fill]) { font-family: var(--framer-code-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif)); font-style: var(--framer-blockquote-font-style, var(--framer-code-font-style, var(--framer-font-style, normal))); font-weight: var(--framer-blockquote-font-weight, var(--framer-code-font-weight, var(--framer-font-weight, 400))); color: var(--framer-blockquote-text-color, var(--framer-code-text-color, var(--framer-text-color, #000))); font-size: calc(var(--framer-blockquote-font-size, var(--framer-font-size, 16px)) * var(--framer-font-size-scale, 1)); letter-spacing: var(--framer-blockquote-letter-spacing, var(--framer-letter-spacing, 0)); line-height: var(--framer-blockquote-line-height, var(--framer-line-height, 1.2em)); } `,` @supports not (color: color(display-p3 1 1 1)) { code.framer-text, code.framer-text span.framer-text:not([data-text-fill]) { color: ${Dn(["--framer-blockquote-text-color","--framer-code-text-color","--framer-text-color"],"#000")}; } } `,` blockquote.framer-text { margin-block-start: initial; margin-block-end: initial; margin-inline-start: initial; margin-inline-end: initial; unicode-bidi: initial; } `,` a.framer-text, a.framer-text span.framer-text:not([data-text-fill]), span.framer-text[data-nested-link], span.framer-text[data-nested-link] span.framer-text:not([data-text-fill]) { font-family: var(--framer-blockquote-font-family, var(--framer-link-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif))); font-style: var(--framer-blockquote-font-style, var(--framer-link-font-style, var(--framer-font-style, normal))); font-weight: var(--framer-blockquote-font-weight, var(--framer-link-font-weight, var(--framer-font-weight, 400))); color: var(--framer-blockquote-text-color, var(--framer-link-text-color, var(--framer-text-color, #000))); font-size: calc(var(--framer-blockquote-font-size, var(--framer-font-size, 16px)) * var(--framer-font-size-scale, 1)); text-transform: var(--framer-blockquote-text-transform, var(--framer-link-text-transform, var(--framer-text-transform, none))); text-decoration: var(--framer-blockquote-text-decoration, var(--framer-link-text-decoration, var(--framer-text-decoration, none))); /* Cursor inherit to overwrite the user agent stylesheet on rich text links. */ cursor: var(--framer-custom-cursors, pointer); } `,` @supports not (color: color(display-p3 1 1 1)) { a.framer-text, a.framer-text span.framer-text:not([data-text-fill]), span.framer-text[data-nested-link], span.framer-text[data-nested-link] span.framer-text:not([data-text-fill]) { color: ${Dn(["--framer-blockquote-text-color","--framer-link-text-color","--framer-text-color"],"#000")}; } } `,` code.framer-text a.framer-text, code.framer-text a.framer-text span.framer-text:not([data-text-fill]), code.framer-text span.framer-text[data-nested-link], code.framer-text span.framer-text[data-nested-link] span.framer-text:not([data-text-fill]) { font-family: var(--framer-code-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif)); font-style: var(--framer-blockquote-font-style, var(--framer-code-font-style, var(--framer-font-style, normal))); font-weight: var(--framer-blockquote-font-weight, var(--framer-code-font-weight, var(--framer-font-weight, 400))); color: var(--framer-blockquote-text-color, var(--framer-link-text-color, var(--framer-code-text-color, var(--framer-text-color, #000)))); font-size: calc(var(--framer-blockquote-font-size, var(--framer-font-size, 16px)) * var(--framer-font-size-scale, 1)); } `,` @supports not (color: color(display-p3 1 1 1)) { code.framer-text a.framer-text, code.framer-text a.framer-text span.framer-text:not([data-text-fill]), code.framer-text span.framer-text[data-nested-link], code.framer-text span.framer-text[data-nested-link] span.framer-text:not([data-text-fill]) { color: ${Dn(["--framer-blockquote-text-color","--framer-link-text-color","--framer-code-text-color","--framer-text-color"],"#000")}; } } `,` a.framer-text:hover, a.framer-text:hover span.framer-text:not([data-text-fill]), span.framer-text[data-nested-link]:hover, span.framer-text[data-nested-link]:hover span.framer-text:not([data-text-fill]) { font-family: var(--framer-link-hover-font-family, var(--framer-blockquote-font-family, var(--framer-link-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif)))); font-style: var(--framer-link-hover-font-style, var(--framer-blockquote-font-style, var(--framer-link-font-style, var(--framer-font-style, normal)))); font-weight: var(--framer-link-hover-font-weight, var(--framer-blockquote-font-weight, var(--framer-link-font-weight, var(--framer-font-weight, 400)))); color: var(--framer-link-hover-text-color, var(--framer-blockquote-text-color, var(--framer-link-text-color, var(--framer-text-color, #000)))); font-size: calc(var(--framer-link-hover-font-size, var(--framer-blockquote-font-size, var(--framer-font-size, 16px))) * var(--framer-font-size-scale, 1)); text-transform: var(--framer-link-hover-text-transform, var(--framer-blockquote-text-transform, var(--framer-link-text-transform, var(--framer-text-transform, none)))); text-decoration: var(--framer-link-hover-text-decoration, var(--framer-blockquote-text-decoration, var(--framer-link-text-decoration, var(--framer-text-decoration, none)))); } `,` @supports not (color: color(display-p3 1 1 1)) { a.framer-text:hover, a.framer-text:hover span.framer-text:not([data-text-fill]), span.framer-text[data-nested-link]:hover, span.framer-text[data-nested-link]:hover span.framer-text:not([data-text-fill]) { color: ${Dn(["--framer-link-hover-text-color","--framer-blockquote-text-color","--framer-link-text-color","--framer-text-color"],"#000")}; } } `,` code.framer-text a.framer-text:hover, code.framer-text a.framer-text:hover span.framer-text:not([data-text-fill]), code.framer-text span.framer-text[data-nested-link]:hover, code.framer-text span.framer-text[data-nested-link]:hover span.framer-text:not([data-text-fill]) { font-family: var(var(--framer-code-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif))); font-style: var(--framer-blockquote-font-style, var(--framer-code-font-style, var(--framer-font-style, normal))); font-weight: var(--framer-blockquote-font-weight, var(--framer-code-font-weight, var(--framer-font-weight, 400))); color: var(--framer-link-hover-text-color, var(--framer-blockquote-text-color, var(--framer-link-text-color, var(--framer-code-text-color, var(--framer-text-color, #000))))); font-size: calc(var(--framer-link-hover-font-size, var(--framer-blockquote-font-size, var(--framer-link-font-size, var(--framer-font-size, 16px)))) * var(--framer-font-size-scale, 1)); } `,` @supports not (color: color(display-p3 1 1 1)) { code.framer-text a.framer-text:hover, code.framer-text a.framer-text:hover span.framer-text:not([data-text-fill]), code.framer-text span.framer-text[data-nested-link]:hover, code.framer-text span.framer-text[data-nested-link]:hover span.framer-text:not([data-text-fill]) { color: ${Dn(["--framer-link-hover-text-color","--framer-blockquote-text-color","--framer-link-text-color","--framer-text-color"],"#000")}; } } `,` a.framer-text[data-framer-page-link-current], a.framer-text[data-framer-page-link-current] span.framer-text:not([data-text-fill]), span.framer-text[data-framer-page-link-current], span.framer-text[data-framer-page-link-current] span.framer-text:not([data-text-fill]) { font-family: var(--framer-link-current-font-family, var(--framer-link-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif))); font-style: var(--framer-link-current-font-style, var(--framer-link-font-style, var(--framer-font-style, normal))); font-weight: var(--framer-link-current-font-weight, var(--framer-link-font-weight, var(--framer-font-weight, 400))); color: var(--framer-link-current-text-color, var(--framer-link-text-color, var(--framer-text-color, #000))); font-size: calc(var(--framer-link-current-font-size, var(--framer-link-font-size, var(--framer-font-size, 16px))) * var(--framer-font-size-scale, 1)); text-transform: var(--framer-link-current-text-transform, var(--framer-link-text-transform, var(--framer-text-transform, none))); text-decoration: var(--framer-link-current-text-decoration, var(--framer-link-text-decoration, var(--framer-text-decoration, none))); } `,` @supports not (color: color(display-p3 1 1 1)) { a.framer-text[data-framer-page-link-current], a.framer-text[data-framer-page-link-current] span.framer-text:not([data-text-fill]), span.framer-text[data-framer-page-link-current], span.framer-text[data-framer-page-link-current] span.framer-text:not([data-text-fill]) { color: ${Dn(["--framer-link-current-text-color","--framer-link-text-color","--framer-text-color"],"#000")}; } } `,` code.framer-text a.framer-text[data-framer-page-link-current], code.framer-text a.framer-text[data-framer-page-link-current] span.framer-text:not([data-text-fill]), code.framer-text span.framer-text[data-framer-page-link-current], code.framer-text span.framer-text[data-framer-page-link-current] span.framer-text:not([data-text-fill]) { font-family: var(--framer-code-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif)); font-style: var(--framer-code-font-style, var(--framer-font-style, normal)); font-weight: var(--framer-code-font-weight, var(--framer-font-weight, 400)); color: var(--framer-link-current-text-color, var(--framer-link-text-color, var(--framer-code-text-color, var(--framer-text-color, #000)))); font-size: calc(var(--framer-link-current-font-size, var(--framer-link-font-size, var(--framer-font-size, 16px))) * var(--framer-font-size-scale, 1)); } `,` @supports not (color: color(display-p3 1 1 1)) { code.framer-text a.framer-text[data-framer-page-link-current], code.framer-text a.framer-text[data-framer-page-link-current] span.framer-text:not([data-text-fill]), code.framer-text span.framer-text[data-framer-page-link-current], code.framer-text span.framer-text[data-framer-page-link-current] span.framer-text:not([data-text-fill]) { color: ${Dn(["--framer-link-current-text-color","--framer-link-text-color","--framer-code-text-color","--framer-text-color"],"#000")}; } } `,` a.framer-text[data-framer-page-link-current]:hover, a.framer-text[data-framer-page-link-current]:hover span.framer-text:not([data-text-fill]), span.framer-text[data-framer-page-link-current]:hover, span.framer-text[data-framer-page-link-current]:hover span.framer-text:not([data-text-fill]) { font-family: var(--framer-link-hover-font-family, var(--framer-link-current-font-family, var(--framer-link-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif)))); font-style: var(--framer-link-hover-font-style, var(--framer-link-current-font-style, var(--framer-link-font-style, var(--framer-font-style, normal)))); font-weight: var(--framer-link-hover-font-weight, var(--framer-link-current-font-weight, var(--framer-link-font-weight, var(--framer-font-weight, 400)))); color: var(--framer-link-hover-text-color, var(--framer-link-current-text-color, var(--framer-link-text-color, var(--framer-text-color, #000)))); font-size: calc(var(--framer-link-hover-font-size, var(--framer-link-current-font-size, var(--framer-link-font-size, var(--framer-font-size, 16px)))) * var(--framer-font-size-scale, 1)); text-transform: var(--framer-link-hover-text-transform, var(--framer-link-current-text-transform, var(--framer-link-text-transform, var(--framer-text-transform, none)))); text-decoration: var(--framer-link-hover-text-decoration, var(--framer-link-current-text-decoration, var(--framer-link-text-decoration, var(--framer-text-decoration, none)))); } `,` @supports not (color: color(display-p3 1 1 1)) { a.framer-text[data-framer-page-link-current]:hover, a.framer-text[data-framer-page-link-current]:hover span.framer-text:not([data-text-fill]), span.framer-text[data-framer-page-link-current]:hover, span.framer-text[data-framer-page-link-current]:hover span.framer-text:not([data-text-fill]) { color: ${Dn(["--framer-link-hover-text-color","--framer-link-current-text-color","--framer-link-text-color","--framer-code-text-color","--framer-text-color"],"#000")}; } } `,` code.framer-text a.framer-text[data-framer-page-link-current]:hover, code.framer-text a.framer-text[data-framer-page-link-current]:hover span.framer-text:not([data-text-fill]), code.framer-text span.framer-text[data-framer-page-link-current]:hover, code.framer-text span.framer-text[data-framer-page-link-current]:hover span.framer-text:not([data-text-fill]) { font-family: var(--framer-code-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif)); font-style: var(--framer-code-font-style, var(--framer-font-style, normal)); font-weight: var(--framer-code-font-weight, var(--framer-font-weight, 400)); color: var(--framer-link-hover-text-color, var(--framer-link-current-text-color, var(--framer-link-text-color, var(--framer-code-text-color, var(--framer-text-color, #000))))); font-size: calc(var(--framer-link-hover-font-size, var(--framer-link-current-font-size, var(--framer-link-font-size, var(--framer-font-size, 16px)))) * var(--framer-font-size-scale, 1)); } `,` @supports not (color: color(display-p3 1 1 1)) { code.framer-text a.framer-text[data-framer-page-link-current]:hover, code.framer-text a.framer-text[data-framer-page-link-current]:hover span.framer-text:not([data-text-fill]), code.framer-text span.framer-text[data-framer-page-link-current]:hover, code.framer-text span.framer-text[data-framer-page-link-current]:hover span.framer-text:not([data-text-fill]) { color: ${Dn(["--framer-link-hover-text-color","--framer-link-current-text-color","--framer-link-text-color","--framer-code-text-color","--framer-text-color"],"#000")}; } } `,` .framer-image.framer-text { display: block; max-width: 100%; height: auto; } `,` .text-styles-preset-reset.framer-text { --framer-font-family: Inter, Inter Placeholder, sans-serif; --framer-font-style: normal; --framer-font-weight: 500; --framer-text-color: #000; --framer-font-size: 16px; --framer-letter-spacing: 0; --framer-text-transform: none; --framer-text-decoration: none; --framer-line-height: 1.2em; --framer-text-alignment: start; --framer-font-open-type-features: normal; } `,` ol.framer-text { --list-style-type: decimal; } `,` ul.framer-text, ol.framer-text { padding-left: 3ch; position: relative; } `,` li.framer-text { counter-increment: list-item; list-style: none; } `,` ol.framer-text > li.framer-text::before { position: absolute; left: 0; content: counter(list-item, var(--list-style-type)) "."; font-variant-numeric: tabular-nums; } `,` ol.framer-text > li.framer-text:nth-last-child(n + 100), ol.framer-text > li.framer-text:nth-last-child(n + 100) ~ li { padding-left: 1ch; } `,` ol.framer-text > li.framer-text:nth-last-child(n + 1000), ol.framer-text > li.framer-text:nth-last-child(n + 1000) ~ li { padding-left: 2ch; } `,` ol.framer-text > li.framer-text:nth-last-child(n + 10000), ol.framer-text > li.framer-text:nth-last-child(n + 10000) ~ li { padding-left: 3ch; } `,` ol.framer-text > li.framer-text:nth-last-child(n + 100000), ol.framer-text > li.framer-text:nth-last-child(n + 100000) ~ li { padding-left: 4ch; } `,` ol.framer-text > li.framer-text:nth-last-child(n + 1000000), ol.framer-text > li.framer-text:nth-last-child(n + 1000000) ~ li { padding-left: 5ch; } `,` ul.framer-text > li.framer-text::before { position: absolute; left: 0; content: "\u2022"; } `,` .framer-table-wrapper { overflow-x: auto; } `,` table.framer-text, .framer-table-wrapper table.framer-text { border-collapse: separate; border-spacing: 0; table-layout: auto; word-break: normal; width: 100%; } `,` td.framer-text, th.framer-text { min-width: 16ch; vertical-align: top; } `,` .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%; } } `],uA=new Set,Up;function vC(e,t,n=uA){if(!(!e||n.has(e)||typeof document>"u")){if(n.add(e),!t){if(!Up){let r=document.createElement("style");if(r.setAttribute("type","text/css"),r.setAttribute("data-framer-css","true"),!document.head){console.warn("not injecting CSS: the document is missing a element");return}if(document.head.appendChild(r),r.sheet)Up=r.sheet;else{console.warn("not injecting CSS: injected