import{a as sn,b as mm,c as rr,d as R,e as ce,f as Wt,g as uu,h as It}from"./chunk-JR5VT52U.mjs";import{a as cu,b as qe,c as _}from"./chunk-RIUMFBNJ.mjs";var mt={};cu(mt,{Children:()=>Vn,Component:()=>ke,Fragment:()=>an,Profiler:()=>uC,PureComponent:()=>fC,StrictMode:()=>dC,Suspense:()=>$o,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:()=>hC,cloneElement:()=>kr,createContext:()=>ge,createElement:()=>No,createFactory:()=>pC,createRef:()=>Rm,default:()=>w,forwardRef:()=>$e,isValidElement:()=>ln,lazy:()=>mC,memo:()=>ma,startTransition:()=>Ut,unstable_act:()=>gC,useCallback:()=>Z,useContext:()=>A,useDebugValue:()=>vC,useDeferredValue:()=>yC,useEffect:()=>j,useId:()=>ni,useImperativeHandle:()=>bC,useInsertionEffect:()=>tt,useLayoutEffect:()=>Le,useMemo:()=>ae,useReducer:()=>xC,useRef:()=>V,useState:()=>Ie,useSyncExternalStore:()=>Em,useTransition:()=>wC,version:()=>SC});var w={},Bo=Symbol.for("react.element"),Yk=Symbol.for("react.portal"),Kk=Symbol.for("react.fragment"),Qk=Symbol.for("react.strict_mode"),Zk=Symbol.for("react.profiler"),Jk=Symbol.for("react.provider"),eC=Symbol.for("react.context"),tC=Symbol.for("react.forward_ref"),nC=Symbol.for("react.suspense"),rC=Symbol.for("react.memo"),iC=Symbol.for("react.lazy"),gm=Symbol.iterator;function oC(e){return e===null||typeof e!="object"?null:(e=gm&&e[gm]||e["@@iterator"],typeof e=="function"?e:null)}var bm={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},xm=Object.assign,wm={};function zi(e,t,n){this.props=e,this.context=t,this.refs=wm,this.updater=n||bm}zi.prototype.isReactComponent={};zi.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};zi.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Sm(){}Sm.prototype=zi.prototype;function du(e,t,n){this.props=e,this.context=t,this.refs=wm,this.updater=n||bm}var hu=du.prototype=new Sm;hu.constructor=du;xm(hu,zi.prototype);hu.isPureReactComponent=!0;var vm=Array.isArray,km=Object.prototype.hasOwnProperty,pu={current:null},Cm={key:!0,ref:!0,__self:!0,__source:!0};function Tm(e,t,n){var r,i={},o=null,s=null;if(t!=null)for(r in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(o=""+t.key),t)km.call(t,r)&&!Cm.hasOwnProperty(r)&&(i[r]=t[r]);var a=arguments.length-2;if(a===1)i.children=n;else if(1e;function OC(e){let t=new Set,n=new Set,r=!1,i=!1,o=new WeakSet,s={delta:0,timestamp:0,isProcessing:!1};function a(c){o.has(c)&&(l.schedule(c),e()),c(s)}let l={schedule:(c,u=!1,f=!1)=>{let m=f&&r?t:n;return u&&o.add(c),m.has(c)||m.add(c),c},cancel:c=>{n.delete(c),o.delete(c)},process:c=>{if(s=c,r){i=!0;return}r=!0,[t,n]=[n,t],n.clear(),t.forEach(a),r=!1,i&&(i=!1,l.process(c))}};return l}var Ho=["read","resolveKeyframes","update","preRender","render","postRender"],MC=40;function qg(e,t){let n=!1,r=!0,i={delta:0,timestamp:0,isProcessing:!1},o=()=>n=!0,s=Ho.reduce((h,p)=>(h[p]=OC(o),h),{}),{read:a,resolveKeyframes:l,update:c,preRender:u,render:f,postRender:d}=s,m=()=>{let h=Pa.useManualTiming?i.timestamp:performance.now();n=!1,i.delta=r?1e3/60:Math.max(Math.min(h-i.timestamp,MC),1),i.timestamp=h,i.isProcessing=!0,a.process(i),l.process(i),c.process(i),u.process(i),f.process(i),d.process(i),i.isProcessing=!1,n&&t&&(r=!1,e(m))},v=()=>{n=!0,r=!0,i.isProcessing||e(m)};return{schedule:Ho.reduce((h,p)=>{let g=s[p];return h[p]=(x,C=!1,S=!1)=>(n||v(),g.schedule(x,C,S)),h},{}),cancel:h=>{for(let p=0;p(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,LC=1e-7,VC=12;function AC(e,t,n,r,i){let o,s,a=0;do s=t+(n-t)/2,o=Xg(s,r,i)-e,o>0?n=s:t=s;while(Math.abs(o)>LC&&++aAC(o,0,1,e,n);return o=>o===0||o===1?o:Xg(i(o),t,r)}var qu=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Xu=e=>t=>1-e(1-t),Yu=Xi(.33,1.53,.69,.99),_a=Xu(Yu),Ku=qu(_a),Qu=e=>(e*=2)<1?.5*_a(e):.5*(2-Math.pow(2,-10*(e-1))),Ia=e=>1-Math.sin(Math.acos(e)),Zu=Xu(Ia),Ju=qu(Ia),ns=ct,Gt=ct,or=(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}`}),Cr=rs("deg"),An=rs("%"),q=rs("px"),DC=rs("vh"),zC=rs("vw"),Pm={...An,parse:e=>An.parse(e)/100,transform:e=>An.transform(e*100)},Yi={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Ko={...Yi,transform:e=>or(0,1,e)},ga={...Yi,default:1},Go=e=>Math.round(e*1e5)/1e5,ef=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function BC(e){return e==null}var $C=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,tf=(e,t)=>n=>!!(typeof n=="string"&&$C.test(n)&&n.startsWith(e)||t&&!BC(n)&&Object.prototype.hasOwnProperty.call(n,t)),Yg=(e,t,n)=>r=>{if(typeof r!="string")return r;let[i,o,s,a]=r.match(ef);return{[e]:parseFloat(i),[t]:parseFloat(o),[n]:parseFloat(s),alpha:a!==void 0?parseFloat(a):1}},NC=e=>or(0,255,e),gu={...Yi,transform:e=>Math.round(NC(e))},si={test:tf("rgb","red"),parse:Yg("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+gu.transform(e)+", "+gu.transform(t)+", "+gu.transform(n)+", "+Go(Ko.transform(r))+")"};function jC(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 Eu={test:tf("#"),parse:jC,transform:si.transform},$i={test:tf("hsl","hue"),parse:Yg("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+An.transform(Go(t))+", "+An.transform(Go(n))+", "+Go(Ko.transform(r))+")"},lt={test:e=>si.test(e)||Eu.test(e)||$i.test(e),parse:e=>si.test(e)?si.parse(e):$i.test(e)?$i.parse(e):Eu.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?si.transform(e):$i.transform(e)},HC=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function WC(e){var t,n;return isNaN(e)&&typeof e=="string"&&(((t=e.match(ef))===null||t===void 0?void 0:t.length)||0)+(((n=e.match(HC))===null||n===void 0?void 0:n.length)||0)>0}var Kg="number",Qg="color",UC="var",GC="var(",_m="${}",qC=/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 Qo(e){let t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[],o=0,a=t.replace(qC,l=>(lt.test(l)?(r.color.push(o),i.push(Qg),n.push(lt.parse(l))):l.startsWith(GC)?(r.var.push(o),i.push(UC),n.push(l)):(r.number.push(o),i.push(Kg),n.push(parseFloat(l))),++o,_m)).split(_m);return{values:n,split:a,indexes:r,types:i}}function Zg(e){return Qo(e).values}function Jg(e){let{split:t,types:n}=Qo(e),r=t.length;return i=>{let o="";for(let s=0;stypeof e=="number"?0:e;function YC(e){let t=Zg(e);return Jg(e)(t.map(XC))}var sr={test:WC,parse:Zg,createTransformer:Jg,getAnimatableNone:YC},Sn=e=>e*1e3,Dn=e=>e/1e3,vu=.001,KC=.01,Im=10,QC=.05,ZC=1;function ev({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let i,o;ns(e<=Sn(Im),"Spring duration must be 10 seconds or less");let s=1-t;s=or(QC,ZC,s),e=or(KC,Im,Dn(e)),s<1?(i=c=>{let u=c*s,f=u*e,d=u-n,m=Fu(c,s),v=Math.exp(-f);return vu-d/m*v},o=c=>{let f=c*s*e,d=f*n+n,m=Math.pow(s,2)*Math.pow(c,2)*e,v=Math.exp(-f),y=Fu(Math.pow(c,2),s);return(-i(c)+vu>0?-1:1)*((d-m)*v)/y}):(i=c=>{let u=Math.exp(-c*e),f=(c-n)*e+1;return-vu+u*f},o=c=>{let u=Math.exp(-c*e),f=(n-c)*(e*e);return u*f});let a=5/e,l=eT(i,o,a);if(e=Sn(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 JC=12;function eT(e,t,n){let r=n;for(let i=1;ie[n]!==void 0)}function iT(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!Om(e,rT)&&Om(e,nT)){let n=ev(e);t={...t,...n,mass:1},t.isResolvedFromDuration=!0}return t}function is({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}=iT({...r,velocity:-Dn(r.velocity||0)}),m=f||0,v=l/(2*Math.sqrt(a*c)),y=o-i,b=Dn(Math.sqrt(a/c)),h=Math.abs(y)<5;n||(n=h?.01:2),t||(t=h?.005:.5);let p;if(v<1){let g=Fu(b,v);p=x=>{let C=Math.exp(-v*b*x);return o-C*((m+v*b*y)/g*Math.sin(g*x)+y*Math.cos(g*x))}}else if(v===1)p=g=>o-Math.exp(-b*g)*(y+(m+b*y)*g);else{let g=b*Math.sqrt(v*v-1);p=x=>{let C=Math.exp(-v*b*x),S=Math.min(g*x,300);return o-C*((m+v*b*y)*Math.sinh(S)+g*y*Math.cosh(S))/g}}return{calculatedDuration:d&&u||null,next:g=>{let x=p(g);if(d)s.done=g>=u;else{let C=0;v<1&&(C=g===0?Sn(m):nv(p,g,x));let S=Math.abs(C)<=n,T=Math.abs(o-x)<=t;s.done=S&&T}return s.value=s.done?o:x,s}}}function Pu({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:o=500,modifyTarget:s,min:a,max:l,restDelta:c=.5,restSpeed:u}){let f=e[0],d={done:!1,value:f},m=E=>a!==void 0&&El,v=E=>a===void 0?l:l===void 0||Math.abs(a-E)-y*Math.exp(-E/r),g=E=>h+p(E),x=E=>{let O=p(E),I=g(E);d.done=Math.abs(O)<=c,d.value=d.done?h:I},C,S,T=E=>{m(d.value)&&(C=E,S=is({keyframes:[d.value,v(d.value)],velocity:nv(g,E,d.value),damping:i,stiffness:o,restDelta:c,restSpeed:u}))};return T(0),{calculatedDuration:null,next:E=>{let O=!1;return!S&&C===void 0&&(O=!0,x(E),T(E)),C!==void 0&&E>=C?S.next(E-C):(!O&&x(E),d)}}}var rv=Xi(.42,0,1,1),iv=Xi(0,0,.58,1),nf=Xi(.42,0,.58,1),oT=(e,t)=>n=>t(e(n)),zn=(...e)=>e.reduce(oT),Tr=(e,t,n)=>{let r=t-e;return r===0?1:(n-e)/r},Ee=(e,t,n)=>e+(t-e)*n;function yu(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 sT({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=yu(l,a,e+1/3),o=yu(l,a,e),s=yu(l,a,e-1/3)}return{red:Math.round(i*255),green:Math.round(o*255),blue:Math.round(s*255),alpha:r}}function Sa(e,t){return n=>n>0?t:e}var bu=(e,t,n)=>{let r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},aT=[Eu,si,$i],lT=e=>aT.find(t=>t.test(e));function Mm(e){let t=lT(e);if(ns(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`),!t)return!1;let n=t.parse(e);return t===$i&&(n=sT(n)),n}var Lm=(e,t)=>{let n=Mm(e),r=Mm(t);if(!n||!r)return Sa(e,t);let i={...n};return o=>(i.red=bu(n.red,r.red,o),i.green=bu(n.green,r.green,o),i.blue=bu(n.blue,r.blue,o),i.alpha=Ee(n.alpha,r.alpha,o),si.transform(i))},ov=e=>t=>typeof t=="string"&&t.startsWith(e),sv=ov("--"),cT=ov("var(--"),rf=e=>cT(e)?uT.test(e.split("/*")[0].trim()):!1,uT=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,_u=new Set(["none","hidden"]);function fT(e,t){return _u.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function dT(e,t){return n=>Ee(e,t,n)}function of(e){return typeof e=="number"?dT:typeof e=="string"?rf(e)?Sa:lt.test(e)?Lm:mT:Array.isArray(e)?av:typeof e=="object"?lt.test(e)?Lm:hT:Sa}function av(e,t){let n=[...e],r=n.length,i=e.map((o,s)=>of(o)(o,t[s]));return o=>{for(let s=0;s{for(let o in r)n[o]=r[o](i);return n}}function pT(e,t){var n;let r=[],i={color:0,var:0,number:0};for(let o=0;o{let n=sr.createTransformer(t),r=Qo(e),i=Qo(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?_u.has(e)&&!i.values.length||_u.has(t)&&!r.values.length?fT(e,t):zn(av(pT(r,i),i.values),n):(ns(!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.`),Sa(e,t))};function sf(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?Ee(e,t,n):of(e)(e,t)}function gT(e,t,n){let r=[],i=n||sf,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=gT(t,r,i),a=s.length,l=c=>{let u=0;if(a>1)for(;ul(or(e[0],e[o-1],c)):l}var lv=e=>Array.isArray(e)&&typeof e[0]!="number",af=e=>Array.isArray(e)&&typeof e[0]=="number",Vm={linear:ct,easeIn:rv,easeInOut:nf,easeOut:iv,circIn:Ia,circInOut:Ju,circOut:Zu,backIn:_a,backInOut:Ku,backOut:Yu,anticipate:Qu},Iu=e=>{if(af(e)){Gt(e.length===4,"Cubic bezier arrays must contain four numerical values.");let[t,n,r,i]=e;return Xi(t,n,r,i)}else if(typeof e=="string")return Gt(Vm[e]!==void 0,`Invalid easing type '${e}'`),Vm[e];return e};function cv(e,t){let n=e[e.length-1];for(let r=1;r<=t;r++){let i=Tr(0,t,r);e.push(Ee(n,1,i))}}function uv(e){let t=[0];return cv(t,e.length-1),t}function vT(e,t){return e.map(n=>n*t)}function yT(e,t){return e.map(()=>t||nf).splice(0,e.length-1)}function Zo({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){let i=lv(r)?r.map(Iu):Iu(r),o={done:!1,value:t[0]},s=vT(n&&n.length===t.length?n:uv(t),e),a=Oa(s,t,{ease:Array.isArray(i)?i:yT(t,i)});return{calculatedDuration:e,next:l=>(o.value=a(l),o.done=l>=e,o)}}var os=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Er=new Set(os),bT=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),Am=e=>e===Yi||e===q,Dm=(e,t)=>parseFloat(e.split(", ")[t]),zm=(e,t)=>(n,{transform:r})=>{if(r==="none"||!r)return 0;let i=r.match(/^matrix3d\((.+)\)$/u);if(i)return Dm(i[1],t);{let o=r.match(/^matrix\((.+)\)$/u);return o?Dm(o[1],e):0}},xT=new Set(["x","y","z"]),wT=os.filter(e=>!xT.has(e));function ST(e){let t=[];return wT.forEach(n=>{let r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}var Ui={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:zm(4,13),y:zm(5,14)};Ui.translateX=Ui.x;Ui.translateY=Ui.y;var ai=new Set,Ou=!1,Mu=!1;function fv(){if(Mu){let e=Array.from(ai).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{let i=ST(r);i.length&&(n.set(r,i),r.render())}),e.forEach(r=>r.measureInitialState()),t.forEach(r=>{r.render();let i=n.get(r);i&&i.forEach(([o,s])=>{var a;(a=r.getValue(o))===null||a===void 0||a.set(s)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&_.scrollTo(0,r.suspendedScrollY)})}Mu=!1,Ou=!1,ai.forEach(e=>e.complete()),ai.clear()}function dv(){ai.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Mu=!0)})}function kT(){dv(),fv()}var lf=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?(ai.add(this),Ou||(Ou=!0,J.read(dv),J.resolveKeyframes(fv))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:n,motionValue:r}=this;for(let i=0;i(xa===void 0&&Bn.set(Ye.isProcessing||Pa.useManualTiming?Ye.timestamp:performance.now()),xa),set:e=>{xa=e,queueMicrotask(CT)}},ka={current:!1};function Ma(e){return typeof e=="function"}var Bm=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(sr.test(e)||e==="0")&&!e.startsWith("url("));function TT(e){let t=e[0];if(e.length===1)return!0;for(let n=0;ne!==null;function La(e,{repeat:t,repeatType:n="loop"},r){let i=e.filter(ET),o=t&&n!=="loop"&&t%2===1?0:i.length-1;return!o||r===void 0?i[o]:r}var FT=40,hv=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=Bn.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>FT?this.resolvedAt:this.createdAt:this.createdAt}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&kT(),this._resolved}onKeyframesResolved(e,t){this.resolvedAt=Bn.now(),this.hasAttemptedResolve=!0;let{name:n,type:r,velocity:i,delay:o,onComplete:s,onUpdate:a,isGenerator:l}=this.options;if(!l&&!RT(e,n,r,i))if(ka.current||!o){a?.(La(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})}},Lu=2e4;function pv(e){let t=0,n=50,r=e.next(t);for(;!r.done&&t=Lu?1/0:t}var PT=e=>{let t=({timestamp:n})=>e(n);return{start:()=>J.update(t,!0),stop:()=>Ot(t),now:()=>Ye.isProcessing?Ye.timestamp:Bn.now()}},_T={decay:Pu,inertia:Pu,tween:Zo,keyframes:Zo,spring:is},IT=e=>e/100,Va=class extends hv{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||lf,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=Ma(t)?t:_T[t]||Zo,a,l;s!==Zo&&typeof e[0]!="number"&&(a=zn(IT,sf(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=pv(c));let{calculatedDuration:u}=c,f=u+r,d=f*(n+1)-r;return{generator:c,mirroredGenerator:l,mapPercentToKeyframes:a,calculatedDuration:u,resolvedDuration:f,totalDuration:d}}onPostResolved(){let{autoplay:e=!0}=this.options;this.play(),this.pendingPlayState==="paused"||!e?this.pause():this.state=this.pendingPlayState}tick(e,t=!1){let{resolved:n}=this;if(!n){let{keyframes:T}=this.options;return{done:!0,value:T[T.length-1]}}let{finalKeyframe:r,generator:i,mirroredGenerator:o,mapPercentToKeyframes:s,keyframes:a,calculatedDuration:l,totalDuration:c,resolvedDuration:u}=n;if(this.startTime===null)return i.next(0);let{delay:f,repeat:d,repeatType:m,repeatDelay:v,onUpdate:y}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-c/this.speed,this.startTime)),t?this.currentTime=e:this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=Math.round(e-this.startTime)*this.speed;let b=this.currentTime-f*(this.speed>=0?1:-1),h=this.speed>=0?b<0:b>c;this.currentTime=Math.max(b,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=c);let p=this.currentTime,g=i;if(d){let T=Math.min(this.currentTime,c)/u,E=Math.floor(T),O=T%1;!O&&T>=1&&(O=1),O===1&&E--,E=Math.min(E,d+1),!!(E%2)&&(m==="reverse"?(O=1-O,v&&(O-=v/u)):m==="mirror"&&(g=o)),p=or(0,1,O)*u}let x=h?{done:!1,value:a[0]}:g.next(p);s&&(x.value=s(x.value));let{done:C}=x;!h&&l!==null&&(C=this.speed>=0?this.currentTime>=c:this.currentTime<=0);let S=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&C);return S&&r!==void 0&&(x.value=La(a,this.options,r)),y&&y(x.value),S&&this.finish(),x}get duration(){let{resolved:e}=this;return e?Dn(e.calculatedDuration):0}get time(){return Dn(this.currentTime)}set time(e){e=Sn(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=Dn(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;let{driver:e=PT,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 mv(e){return new Va(e)}var gv=e=>/^0[^.\s]+$/u.test(e);function OT(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||gv(e):!0}var vv=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),MT=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function LT(e){let t=MT.exec(e);if(!t)return[,];let[,n,r,i]=t;return[`--${n??r}`,i]}var VT=4;function yv(e,t,n=1){Gt(n<=VT,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);let[r,i]=LT(e);if(!r)return;let o=_.getComputedStyle(t).getPropertyValue(r);if(o){let s=o.trim();return vv(s)?parseFloat(s):s}return rf(i)?yv(i,t,n+1):i}var bv=e=>t=>t.test(e),AT={test:e=>e==="auto",parse:e=>e},xv=[Yi,q,An,Cr,zC,DC,AT],$m=e=>xv.find(bv(e)),DT=new Set(["brightness","contrast","saturate","opacity"]);function zT(e){let[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;let[r]=n.match(ef)||[];if(!r)return e;let i=n.replace(r,""),o=DT.has(t)?1:0;return r!==n&&(o*=100),t+"("+o+i+")"}var BT=/\b([a-z-]*)\(.*?\)/gu,Vu={...sr,getAnimatableNone:e=>{let t=e.match(BT);return t?t.map(zT).join(" "):e}},$T={borderWidth:q,borderTopWidth:q,borderRightWidth:q,borderBottomWidth:q,borderLeftWidth:q,borderRadius:q,radius:q,borderTopLeftRadius:q,borderTopRightRadius:q,borderBottomRightRadius:q,borderBottomLeftRadius:q,width:q,maxWidth:q,height:q,maxHeight:q,top:q,right:q,bottom:q,left:q,padding:q,paddingTop:q,paddingRight:q,paddingBottom:q,paddingLeft:q,margin:q,marginTop:q,marginRight:q,marginBottom:q,marginLeft:q,backgroundPositionX:q,backgroundPositionY:q},NT={rotate:Cr,rotateX:Cr,rotateY:Cr,rotateZ:Cr,scale:ga,scaleX:ga,scaleY:ga,scaleZ:ga,skew:Cr,skewX:Cr,skewY:Cr,distance:q,translateX:q,translateY:q,translateZ:q,x:q,y:q,z:q,perspective:q,transformPerspective:q,opacity:Ko,originX:Pm,originY:Pm,originZ:q},Nm={...Yi,transform:Math.round},cf={...$T,...NT,zIndex:Nm,size:q,fillOpacity:Ko,strokeOpacity:Ko,numOctaves:Nm},jT={...cf,color:lt,backgroundColor:lt,outlineColor:lt,fill:lt,stroke:lt,borderColor:lt,borderTopColor:lt,borderRightColor:lt,borderBottomColor:lt,borderLeftColor:lt,filter:Vu,WebkitFilter:Vu},uf=e=>jT[e];function wv(e,t){let n=uf(e);return n!==Vu&&(n=sr),n.getAnimatableNone?n.getAnimatableNone(t):void 0}var HT=new Set(["auto","none","0"]);function WT(e,t,n){let r=0,i;for(;r{t.getValue(a).set(l)}),this.resolveNoneKeyframes()}},kv=new Set(["opacity","clipPath","filter","transform"]),UT=10,GT=(e,t)=>{let n="",r=Math.max(Math.round(t/UT),2);for(let i=0;i(t===void 0&&(t=e()),t)}var qT={linearEasing:void 0};function XT(e,t){let n=ff(e);return()=>{var r;return(r=qT[t])!==null&&r!==void 0?r:n()}}var Ca=XT(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing");function Cv(e){return!!(typeof e=="function"&&Ca()||!e||typeof e=="string"&&(e in Au||Ca())||af(e)||Array.isArray(e)&&e.every(Cv))}var Wo=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,Au={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Wo([0,.65,.55,1]),circOut:Wo([.55,0,1,.45]),backIn:Wo([.31,.01,.66,-.59]),backOut:Wo([.33,1.53,.69,.99])};function Tv(e,t){if(e)return typeof e=="function"&&Ca()?GT(e,t):af(e)?Wo(e):Array.isArray(e)?e.map(n=>Tv(n,t)||Au.easeOut):Au[e]}function YT(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=Tv(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 jm(e,t){e.timeline=t,e.onfinish=null}var KT=ff(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),Ta=10,QT=2e4;function ZT(e){return Ma(e.type)||e.type==="spring"||!Cv(e.ease)}function JT(e,t){let n=new Va({...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"&&Ca()&&eR(o)&&(o=Rv[o]),ZT(this.options)){let{onComplete:f,onUpdate:d,motionValue:m,element:v,...y}=this.options,b=JT(e,y);e=b.keyframes,e.length===1&&(e[1]=e[0]),r=b.duration,i=b.times,o=b.ease,s="keyframes"}let u=YT(a.owner.current,l,e,{...this.options,duration:r,times:i,ease:o});return u.startTime=c??this.calcStartTime(),this.pendingTimeline?(jm(u,this.pendingTimeline),this.pendingTimeline=void 0):u.onfinish=()=>{let{onComplete:f}=this.options;a.set(La(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 Dn(t)}get time(){let{resolved:e}=this;if(!e)return 0;let{animation:t}=e;return Dn(t.currentTime||0)}set time(e){let{resolved:t}=this;if(!t)return;let{animation:n}=t;n.currentTime=Sn(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 ct;let{animation:n}=t;jm(n,e)}return ct}play(){if(this.isStopped)return;let{resolved:e}=this;if(!e)return;let{animation:t}=e;t.playState==="finished"&&this.updateFinishedPromise(),t.play()}pause(){let{resolved:e}=this;if(!e)return;let{animation:t}=e;t.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.resolveFinishedPromise(),this.updateFinishedPromise();let{resolved:e}=this;if(!e)return;let{animation:t,keyframes:n,duration:r,type:i,ease:o,times:s}=e;if(t.playState==="idle"||t.playState==="finished")return;if(this.time){let{motionValue:l,onUpdate:c,onComplete:u,element:f,...d}=this.options,m=new Va({...d,keyframes:n,duration:r,type:i,ease:o,times:s,isGenerator:!0}),v=Sn(this.time);l.setWithVelocity(m.sample(v-Ta).value,m.sample(v).value,Ta)}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 KT()&&n&&kv.has(n)&&t&&t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate&&!r&&i!=="mirror"&&o!==0&&s!=="inertia"}};function df(e,t){e.indexOf(t)===-1&&e.push(t)}function Aa(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function tR([...e],t,n){let r=t<0?e.length+t:t;if(r>=0&&rAa(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)),qo={current:void 0},Da=class{constructor(e,t={}){this.version="11.11.7",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(n,r=!0)=>{let i=Bn.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=Bn.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=nR(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 hf);let n=this.events[e].add(t);return e==="change"?()=>{n(),J.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 qo.current&&qo.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let e=Bn.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>Hm)return 0;let t=Math.min(this.updatedAt-this.prevUpdatedAt,Hm);return tv(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 Rr(e,t){return new Da(e,t)}var za=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),rR="framerAppearId",pf="data-"+za(rR),Ne=e=>!!(e&&e.getVelocity);function Wm(e){let t=[{},{}];return e?.values.forEach((n,r)=>{t[0][r]=n.get(),t[1][r]=n.getVelocity()}),t}function mf(e,t,n,r){if(typeof t=="function"){let[i,o]=Wm(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]=Wm(r);t=t(n!==void 0?n:e.custom,i,o)}return t}function Ba(e,t,n){let r=e.getProps();return mf(r,t,n!==void 0?n:r.custom,e)}var iR={type:"spring",stiffness:500,damping:25,restSpeed:10},oR=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),sR={type:"keyframes",duration:.8},aR={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},lR=(e,{keyframes:t})=>t.length>2?sR:Er.has(e)?e.startsWith("scale")?oR(t[1]):iR:aR;function gf(e,t){return e?e[t]||e.default||e:void 0}var cR=ff(()=>_.ScrollTimeline!==void 0),Ev=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;ncR()&&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 uR({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 vf=(e,t,n,r={},i,o)=>s=>{let a=gf(r,e)||{},l=a.delay||r.delay||0,{elapsed:c=0}=r;c=c-Sn(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};uR(a)||(u={...u,...lR(e,u)}),u.duration&&(u.duration=Sn(u.duration)),u.repeatDelay&&(u.repeatDelay=Sn(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)),(ka.current||Pa.skipAnimations)&&(f=!0,u.duration=0,u.delay=0),f&&!o&&t.get()!==void 0){let d=La(u.keyframes,a);if(d!==void 0)return J.update(()=>{u.onUpdate(d),u.onComplete()}),new Ev([])}return!o&&Du.supports(u)?new Du(u):new Va(u)},zu=e=>Array.isArray(e),fR=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),dR=e=>zu(e)?e[e.length-1]||0:e;function hR(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Rr(n))}function yf(e,t){let n=Ba(e,t),{transitionEnd:r={},transition:i={},...o}=n||{};o={...o,...r};for(let s in o){let a=dR(o[s]);hR(e,s,a)}}function Fv(e){return e.props[pf]}function pR(e){return!!(Ne(e)&&e.add)}function Pv(e){if(Er.has(e))return"transform";if(kv.has(e))return za(e)}function Bu(e,t){var n;if(!e.applyWillChange)return;let r=e.getValue("willChange");if(pR(r))return r.add(t);!(!((n=e.props.style)===null||n===void 0)&&n.willChange)&&Pv(t)&&e.setStaticValue("willChange","transform")}function mR({protectedKeys:e,needsAnimating:t},n){let r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function bf(e,t,{delay:n=0,transitionOverride:r,type:i}={}){var o;let{transition:s=e.getDefaultTransition(),transitionEnd:a,...l}=t;r&&(s=r);let c=[],u=i&&e.animationState&&e.animationState.getState()[i];for(let f in l){let d=e.getValue(f,(o=e.latestValues[f])!==null&&o!==void 0?o:null),m=l[f];if(m===void 0||u&&mR(u,f))continue;let v={delay:n,...gf(s||{},f)},y=!1;if(_.MotionHandoffAnimation){let h=Fv(e);if(h){let p=_.MotionHandoffAnimation(h,f,J);p!==null&&(v.startTime=p,y=!0)}}Bu(e,f),d.start(vf(f,d,m,e.shouldReduceMotion&&Er.has(f)?{type:!1}:v,e,y));let b=d.animation;b&&c.push(b)}return a&&Promise.all(c).then(()=>{J.update(()=>{a&&yf(e,a)})}),c}function $u(e,t,n={}){var r;let i=Ba(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(bf(e,i,n)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(c=0)=>{let{delayChildren:u=0,staggerChildren:f,staggerDirection:d}=o;return gR(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 gR(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(vR).forEach((c,u)=>{c.notify("AnimationStart",t),s.push($u(c,t,{...o,delay:n+l(u)}).then(()=>c.notify("AnimationComplete",t)))}),Promise.all(s)}function vR(e,t){return e.sortNodePosition(t)}function xf(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){let i=t.map(o=>$u(e,o,n));r=Promise.all(i)}else if(typeof t=="string")r=$u(e,t,n);else{let i=typeof t=="function"?Ba(e,t,n.custom):t;r=Promise.all(bf(e,i,n))}return r.then(()=>{e.notify("AnimationComplete",t)})}function Jo(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function _v(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})=>xf(e,n,r)))}function SR(e){let t=wR(e),n=Um(),r=!0,i=l=>(c,u)=>{var f;let d=Ba(e,u,l==="exit"?(f=e.presenceContext)===null||f===void 0?void 0:f.custom:void 0);if(d){let{transition:m,transitionEnd:v,...y}=d;c={...c,...y,...v}}return c};function o(l){t=l(e)}function s(l){let{props:c}=e,u=Iv(e.parent)||{},f=[],d=new Set,m={},v=1/0;for(let b=0;bv&&x,O=!1,I=Array.isArray(g)?g:[g],$=I.reduce(i(h),{});C===!1&&($={});let{prevResolvedValues:N={}}=p,D={...N,...$},ie=H=>{E=!0,d.has(H)&&(O=!0,d.delete(H)),p.needsAnimating[H]=!0;let Y=e.getValue(H);Y&&(Y.liveStyle=!1)};for(let H in D){let Y=$[H],se=N[H];if(m.hasOwnProperty(H))continue;let ue=!1;zu(Y)&&zu(se)?ue=!_v(Y,se):ue=Y!==se,ue?Y!=null?ie(H):d.add(H):Y!==void 0&&d.has(H)?ie(H):p.protectedKeys[H]=!0}p.prevProp=g,p.prevResolvedValues=$,p.isActive&&(m={...m,...$}),r&&e.blockInitialAnimation&&(E=!1),E&&(!(S&&T)||O)&&f.push(...I.map(H=>({animation:H,options:{type:h}})))}if(d.size){let b={};d.forEach(h=>{let p=e.getBaseTarget(h),g=e.getValue(h);g&&(g.liveStyle=!0),b[h]=p??null}),f.push({animation:b})}let y=!!f.length;return r&&(c.initial===!1||c.initial===c.animate)&&!e.manuallyAnimateOnMount&&(y=!1),r=!1,y?t(f):Promise.resolve()}function a(l,c){var u;if(n[l].isActive===c)return Promise.resolve();(u=e.variantChildren)===null||u===void 0||u.forEach(d=>{var m;return(m=d.animationState)===null||m===void 0?void 0:m.setActive(l,c)}),n[l].isActive=c;let f=s(l);for(let d in n)n[d].protectedKeys={};return f}return{animateChanges:s,setActive:a,setAnimateFunction:o,getState:()=>n,reset:()=>{n=Um(),r=!0}}}function kR(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!_v(t,e):!1}function ri(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Um(){return{animate:ri(!0),whileInView:ri(),whileHover:ri(),whileTap:ri(),whileDrag:ri(),whileFocus:ri(),exit:ri()}}var Fr=class{constructor(e){this.isMounted=!1,this.node=e}update(){}},CR=class extends Fr{constructor(e){super(e),e.animationState||(e.animationState=SR(e))}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();Jo(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)}},TR=0,RR=class extends Fr{constructor(){super(...arguments),this.id=TR++}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(){}},$a={animation:{Feature:CR},exit:{Feature:RR}},Ov=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;function Na(e,t="page"){return{point:{x:e[`${t}X`],y:e[`${t}Y`]}}}var Mv=e=>t=>Ov(t)&&e(t,Na(t));function ir(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}function $n(e,t,n,r){return ir(e,t,Mv(n),r)}var Nu=(e,t)=>Math.abs(e-t);function Lv(e,t){let n=Nu(e.x,t.x),r=Nu(e.y,t.y);return Math.sqrt(n**2+r**2)}function Vv(e){let t=null;return()=>{let n=()=>{t=null};return t===null?(t=e,n):!1}}var Gm=Vv("dragHorizontal"),qm=Vv("dragVertical");function Av(e){let t=!1;if(e==="y")t=qm();else if(e==="x")t=Gm();else{let n=Gm(),r=qm();n&&r?t=()=>{n(),r()}:(n&&n(),r&&r())}return t}function kf(){let e=Av(!0);return e?(e(),!1):!0}var Dv=1e-4,ER=1-Dv,FR=1+Dv,zv=.01,PR=0-zv,_R=0+zv;function Mt(e){return e.max-e.min}function IR(e,t,n){return Math.abs(e-t)<=n}function Xm(e,t,n,r=.5){e.origin=r,e.originPoint=Ee(t.min,t.max,e.origin),e.scale=Mt(n)/Mt(t),e.translate=Ee(n.min,n.max,e.origin)-e.originPoint,(e.scale>=ER&&e.scale<=FR||isNaN(e.scale))&&(e.scale=1),(e.translate>=PR&&e.translate<=_R||isNaN(e.translate))&&(e.translate=0)}function Xo(e,t,n,r){Xm(e.x,t.x,n.x,r?r.originX:void 0),Xm(e.y,t.y,n.y,r?r.originY:void 0)}function Ym(e,t,n){e.min=n.min+t.min,e.max=e.min+Mt(t)}function OR(e,t,n){Ym(e.x,t.x,n.x),Ym(e.y,t.y,n.y)}function Km(e,t,n){e.min=t.min-n.min,e.max=e.min+Mt(t)}function Yo(e,t,n){Km(e.x,t.x,n.x),Km(e.y,t.y,n.y)}var Qm=()=>({translate:0,scale:1,origin:0,originPoint:0}),Ni=()=>({x:Qm(),y:Qm()}),Zm=()=>({min:0,max:0}),Ve=()=>({x:Zm(),y:Zm()}),Ki=ge(null);function Bv(){let e=A(Ki);if(e===null)return[!0,null];let{isPresent:t,onExitComplete:n,register:r}=e,i=ni();j(()=>r(i),[]);let o=Z(()=>n&&n(i),[i,n]);return!t&&n?[!1,o]:[!0]}var ts=ge({}),ja=ge({}),Ra={};function Cf(e){Object.assign(Ra,e)}var MR=(e,t)=>e.depth-t.depth,$v=class{constructor(){this.children=[],this.isDirty=!1}add(e){df(this.children,e),this.isDirty=!0}remove(e){Aa(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(MR),this.isDirty=!1,this.children.forEach(e)}};function gt(e){let t=Ne(e)?e.get():e;return fR(t)?t.toValue():t}function Nv(e,t){let n=Bn.now(),r=({timestamp:i})=>{let o=i-n;o>=t&&(Ot(r),e(o-t))};return J.read(r,!0),()=>Ot(r)}var Nn=ge({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),ss=ge({}),Ha=typeof _<"u",ui=Ha?Le:j,jv=ge({strict:!1}),{schedule:Tf,cancel:Qz}=qg(queueMicrotask,!1);function ji(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function LR(e,t,n,r,i){var o,s;let{visualElement:a}=A(ss),l=A(jv),c=A(Ki),u=A(Nn).reducedMotion,f=V();r=r||l.renderer,!f.current&&r&&(f.current=r(e,{visualState:t,parent:a,props:n,presenceContext:c,blockInitialAnimation:c?c.initial===!1:!1,reducedMotionConfig:u}));let d=f.current,m=A(ja);d&&!d.projection&&i&&(d.type==="html"||d.type==="svg")&&VR(f.current,n,i,m),tt(()=>{d&&d.update(n,c)});let v=n[pf],y=V(!!v&&!(!((o=_.MotionHandoffIsComplete)===null||o===void 0)&&o.call(_,v))&&((s=_.MotionHasOptimisedAnimation)===null||s===void 0?void 0:s.call(_,v)));return ui(()=>{d&&(_.MotionIsMounted=!0,d.updateFeatures(),Tf.render(d.render),y.current&&d.animationState&&d.animationState.animateChanges())}),j(()=>{d&&(!y.current&&d.animationState&&d.animationState.animateChanges(),y.current&&(queueMicrotask(()=>{var b;(b=_.MotionHandoffMarkAsComplete)===null||b===void 0||b.call(_,v)}),y.current=!1))}),d}function VR(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:Hv(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 Hv(e){if(e)return e.options.allowProjection!==!1?e.projection:Hv(e.parent)}function AR(e,t,n){return Z(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 Wa(e){return Jo(e.animate)||Sf.some(t=>es(e[t]))}function Wv(e){return!!(Wa(e)||e.variants)}function DR(e,t){if(Wa(e)){let{initial:n,animate:r}=e;return{initial:n===!1||es(n)?n:void 0,animate:es(r)?r:void 0}}return e.inherit!==!1?t:{}}function zR(e){let{initial:t,animate:n}=DR(e,A(ss));return ae(()=>({initial:t,animate:n}),[Jm(t),Jm(n)])}function Jm(e){return Array.isArray(e)?e.join(" "):e}var eg={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},Gi={};for(let e in eg)Gi[e]={isEnabled:t=>eg[e].some(n=>!!t[n])};function BR(e){for(let t in e)Gi[t]={...Gi[t],...e[t]}}var Rf=Symbol.for("motionComponentSymbol");function Uv({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:r,Component:i}){e&&BR(e);function o(a,l){let c,u={...A(Nn),...a,layoutId:$R(a)},{isStatic:f}=u,d=zR(a),m=r(a,f);if(!f&&Ha){NR(u,e);let v=jR(u);c=v.MeasureLayout,d.visualElement=LR(i,m,u,t,v.ProjectionNode)}return de(ss.Provider,{value:d,children:[c&&d.visualElement?k(c,{visualElement:d.visualElement,...u}):null,n(i,a,AR(m,d.visualElement,l),m,f,d.visualElement)]})}let s=$e(o);return s[Rf]=i,s}function $R({layoutId:e}){let t=A(ts).id;return t&&e!==void 0?t+"-"+e:e}function NR(e,t){let n=A(jv).strict}function jR(e){let{drag:t,layout:n}=Gi;if(!t&&!n)return{};let r={...t,...n};return{MeasureLayout:t?.isEnabled(e)||n?.isEnabled(e)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}function ar(e){let t=V(null);return t.current===null&&(t.current=e()),t.current}function HR({applyWillChange:e=!1,scrapeMotionValuesFromProps:t,createRenderState:n,onMount:r},i,o,s,a){let l={latestValues:WR(i,o,s,a?!1:e,t),renderState:n()};return r&&(l.mount=c=>r(i,c,l)),l}var Ua=e=>(t,n)=>{let r=A(ss),i=A(Ki),o=()=>HR(e,t,r,i,n);return n?o():ar(o)};function tg(e,t,n){let r=Array.isArray(t)?t:[t];for(let i=0;i{for(let h in y){let p=y[h];if(Array.isArray(p)){let g=m?p.length-1:0;p=p[g]}p!==null&&(s[h]=p)}for(let h in b)s[h]=b[h]}),a&&u&&c!==!1&&!Jo(u)&&tg(e,u,y=>{for(let b in y)if(Pv(b)){s.willChange="transform";return}}),s}var Gv=(e,t)=>t&&typeof e=="number"?t.transform(e):e,UR={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},GR=os.length;function qv(e,t,n){let r="",i=!0;for(let o=0;o!qi(e);function Yv(e){e&&(Xv=t=>t.startsWith("on")?!qi(t):e(t))}try{Yv(IC().default)}catch{}function Kv(e,t,n){let r={};for(let i in e)i==="values"&&typeof e.values=="object"||(Xv(i)||n===!0&&qi(i)||!t&&!qi(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}var ci=new WeakMap,Ea={current:null},Ef={current:!1};function Qv(){if(Ef.current=!0,!!Ha)if(_.matchMedia){let e=_.matchMedia("(prefers-reduced-motion)"),t=()=>Ea.current=e.matches;e.addListener(t),t()}else Ea.current=!1}function XR(e,t,n){for(let r in t){let i=t[r],o=n[r];if(Ne(i))e.addValue(r,i);else if(Ne(o))e.addValue(r,Rr(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,Rr(s!==void 0?s:i,{owner:e}))}}for(let r in n)t[r]===void 0&&e.removeValue(r);return t}var YR=[...xv,lt,sr],KR=e=>YR.find(bv(e)),ng=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],Ff=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=lf,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=Bn.now();this.renderScheduledAtthis.bindToMotionValue(n,t)),Ef.current||Qv(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Ea.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){ci.delete(this.current),this.projection&&this.projection.unmount(),Ot(this.notifyUpdate),Ot(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=Er.has(e),r=t.on("change",s=>{this.latestValues[e]=s,this.props.onUpdate&&J.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0)}),i=t.on("renderRequest",this.scheduleRender),o;_.MotionCheckAppearSync&&(o=_.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{r(),i(),o&&o(),t.owner&&t.stop()})}sortNodePosition(e){return!this.current||!this.sortInstanceNodePosition||this.type!==e.type?0:this.sortInstanceNodePosition(this.current,e.current)}updateFeatures(){let e="animation";for(e in Gi){let t=Gi[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):Ve()}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=Rr(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"&&(vv(r)||gv(r))?r=parseFloat(r):!KR(r)&&sr.test(t)&&(r=wv(e,t)),this.setBaseTarget(e,Ne(r)?r.get():r)),Ne(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=mf(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&&!Ne(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 hf),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}};function QR(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 Zv=class{constructor(e,t,{transformPagePoint:n,contextWindow:r,dragSnapToOrigin:i=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=_,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let u=wu(this.lastMoveEventInfo,this.history),f=this.startEvent!==null,d=Lv(u.offset,{x:0,y:0})>=3;if(!f&&!d)return;let{point:m}=u,{timestamp:v}=Ye;this.history.push({...m,timestamp:v});let{onStart:y,onMove:b}=this.handlers;f||(y&&y(this.lastMoveEvent,u),this.startEvent=this.lastMoveEvent),b&&b(this.lastMoveEvent,u)},this.handlePointerMove=(u,f)=>{this.lastMoveEvent=u,this.lastMoveEventInfo=xu(f,this.transformPagePoint),J.update(this.updatePoint,!0)},this.handlePointerUp=(u,f)=>{this.end();let{onEnd:d,onSessionEnd:m,resumeAnimation:v}=this.handlers;if(this.dragSnapToOrigin&&v&&v(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let y=wu(u.type==="pointercancel"?this.lastMoveEventInfo:xu(f,this.transformPagePoint),this.history);this.startEvent&&d&&d(u,y),m&&m(u,y)},!Ov(e))return;this.dragSnapToOrigin=i,this.handlers=t,this.transformPagePoint=n,this.contextWindow=r||_;let o=Na(e),s=xu(o,this.transformPagePoint),{point:a}=s,{timestamp:l}=Ye;this.history=[{...a,timestamp:l}];let{onSessionStart:c}=t;c&&c(e,wu(s,this.history)),this.removeListeners=zn($n(this.contextWindow,"pointermove",this.handlePointerMove),$n(this.contextWindow,"pointerup",this.handlePointerUp),$n(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),Ot(this.updatePoint)}};function xu(e,t){return t?{point:t(e.point)}:e}function rg(e,t){return{x:e.x-t.x,y:e.y-t.y}}function wu({point:e},t){return{point:e,delta:rg(e,Jv(t)),offset:rg(e,ZR(t)),velocity:JR(t,.1)}}function ZR(e){return e[0]}function Jv(e){return e[e.length-1]}function JR(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null,i=Jv(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>Sn(t)));)n--;if(!r)return{x:0,y:0};let o=Dn(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 eE(e,{min:t,max:n},r){return t!==void 0&&en&&(e=r?Ee(n,e,r.max):Math.min(e,n)),e}function ig(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 tE(e,{top:t,left:n,bottom:r,right:i}){return{x:ig(e.x,n,i),y:ig(e.y,t,r)}}function og(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.minr?n=Tr(t.min,t.max-r,e.min):r>i&&(n=Tr(e.min,e.max-i,t.min)),or(0,1,n)}function iE(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 ju=.35;function oE(e=ju){return e===!1?e=0:e===!0&&(e=ju),{x:sg(e,"left","right"),y:sg(e,"top","bottom")}}function sg(e,t,n){return{min:ag(e,t),max:ag(e,n)}}function ag(e,t){return typeof e=="number"?e:e[t]||0}function un(e){return[e("x"),e("y")]}function ey({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function sE({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function aE(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 Su(e){return e===void 0||e===1}function Hu({scale:e,scaleX:t,scaleY:n}){return!Su(e)||!Su(t)||!Su(n)}function ii(e){return Hu(e)||ty(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function ty(e){return lg(e.x)||lg(e.y)}function lg(e){return e&&e!=="0%"}function Fa(e,t,n){let r=e-n,i=t*r;return n+i}function cg(e,t,n,r,i){return i!==void 0&&(e=Fa(e,i,r)),Fa(e,n,r)+t}function Wu(e,t=0,n=1,r,i){e.min=cg(e.min,t,n,r,i),e.max=cg(e.max,t,n,r,i)}function ny(e,{x:t,y:n}){Wu(e.x,t.translate,t.scale,t.originPoint),Wu(e.y,n.translate,n.scale,n.originPoint)}var ug=.999999999999,fg=1.0000000000001;function lE(e,t,n,r=!1){let i=n.length;if(!i)return;t.x=t.y=1;let o,s;for(let a=0;aug&&(t.x=1),t.yug&&(t.y=1)}function Hi(e,t){e.min=e.min+t,e.max=e.max+t}function dg(e,t,n,r,i=.5){let o=Ee(e.min,e.max,i);Wu(e,t,n,o,r)}function Wi(e,t){dg(e.x,t.x,t.scaleX,t.scale,t.originX),dg(e.y,t.y,t.scaleY,t.scale,t.originY)}function ry(e,t){return ey(aE(e.getBoundingClientRect(),t))}function cE(e,t,n){let r=ry(e,n),{scroll:i}=t;return i&&(Hi(r.x,i.offset.x),Hi(r.y,i.offset.y)),r}var iy=({current:e})=>e?e.ownerDocument.defaultView:null,uE=new WeakMap,fE=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=Ve(),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(Na(c,"page").point)},i=(c,u)=>{let{drag:f,dragPropagation:d,onDragStart:m}=this.getProps();if(f&&!d&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=Av(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),un(y=>{let b=this.getAxisMotionValue(y).get()||0;if(An.test(b)){let{projection:h}=this.visualElement;if(h&&h.layout){let p=h.layout.layoutBox[y];p&&(b=Mt(p)*(parseFloat(b)/100))}}this.originPoint[y]=b}),m&&J.postRender(()=>m(c,u)),Bu(this.visualElement,"transform");let{animationState:v}=this.visualElement;v&&v.setActive("whileDrag",!0)},o=(c,u)=>{let{dragPropagation:f,dragDirectionLock:d,onDirectionLock:m,onDrag:v}=this.getProps();if(!f&&!this.openGlobalLock)return;let{offset:y}=u;if(d&&this.currentDirection===null){this.currentDirection=dE(y),this.currentDirection!==null&&m&&m(this.currentDirection);return}this.updateAxis("x",u.point,y),this.updateAxis("y",u.point,y),this.visualElement.render(),v&&v(c,u)},s=(c,u)=>this.stop(c,u),a=()=>un(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 Zv(e,{onSessionStart:r,onStart:i,onMove:o,onSessionEnd:s,resumeAnimation:a},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:l,contextWindow:iy(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&&J.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||!va(e,r,this.currentDirection))return;let i=this.getAxisMotionValue(e),o=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(o=eE(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=tE(r.layoutBox,t):this.constraints=!1,this.elastic=oE(n),i!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&un(o=>{this.constraints!==!1&&this.getAxisMotionValue(o)&&(this.constraints[o]=iE(r.layoutBox[o],this.constraints[o]))})}resolveRefConstraints(){let{dragConstraints:e,onMeasureDragConstraints:t}=this.getProps();if(!e||!ji(e))return!1;let n=e.current;Gt(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=cE(n,r.root,this.visualElement.getTransformPagePoint()),o=nE(r.layout.layoutBox,i);if(t){let s=t(sE(o));this.hasMutatedConstraints=!!s,s&&(o=ey(s))}return o}startAnimation(e){let{drag:t,dragMomentum:n,dragElastic:r,dragTransition:i,dragSnapToOrigin:o,onDragTransitionEnd:s}=this.getProps(),a=this.constraints||{},l=un(c=>{if(!va(c,t,this.currentDirection))return;let u=a&&a[c]||{};o&&(u={min:0,max:0});let f=r?200:1e6,d=r?40:1e7,m={type:"inertia",velocity:n?e[c]:0,bounceStiffness:f,bounceDamping:d,timeConstant:750,restDelta:1,restSpeed:10,...i,...u};return this.startAxisValueAnimation(c,m)});return Promise.all(l).then(s)}startAxisValueAnimation(e,t){let n=this.getAxisMotionValue(e);return Bu(this.visualElement,e),n.start(vf(e,n,0,t,this.visualElement,!1))}stopAnimation(){un(e=>this.getAxisMotionValue(e).stop())}pauseAnimation(){un(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){un(t=>{let{drag:n}=this.getProps();if(!va(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]-Ee(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};un(o=>{let s=this.getAxisMotionValue(o);if(s&&this.constraints!==!1){let a=s.get();r[o]=rE({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(),un(o=>{if(!va(o,e,null))return;let s=this.getAxisMotionValue(o),{min:a,max:l}=this.constraints[o];s.set(Ee(a,l,r[o]))})}addListeners(){if(!this.visualElement.current)return;uE.set(this.visualElement,this);let e=this.visualElement.current,t=$n(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()),J.read(n);let o=ir(_,"resize",()=>this.scalePositionWithinConstraints()),s=r.addEventListener("didUpdate",({delta:a,hasLayoutChanged:l})=>{this.isDragging&&l&&(un(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=ju,dragMomentum:s=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:r,dragConstraints:i,dragElastic:o,dragMomentum:s}}};function va(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function dE(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}var hE=class extends Fr{constructor(e){super(e),this.removeGroupControls=ct,this.removeListeners=ct,this.controls=new fE(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||ct}unmount(){this.removeGroupControls(),this.removeListeners()}},hg=e=>(t,n)=>{e&&J.postRender(()=>e(t,n))},pE=class extends Fr{constructor(){super(...arguments),this.removePointerDownListener=ct}onPointerDown(e){this.session=new Zv(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:iy(this.node)})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:r}=this.node.getProps();return{onSessionStart:hg(e),onStart:hg(t),onMove:n,onEnd:(i,o)=>{delete this.session,r&&J.postRender(()=>r(i,o))}}}mount(){this.removePointerDownListener=$n(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}},wa={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function pg(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var jo={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(q.test(e))e=parseFloat(e);else return e;let n=pg(e,t.target.x),r=pg(e,t.target.y);return`${n}% ${r}%`}},mE={correct:(e,{treeScale:t,projectionDelta:n})=>{let r=e,i=sr.parse(e);if(i.length>5)return r;let o=sr.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=Ee(a,l,.5);return typeof i[2+s]=="number"&&(i[2+s]/=c),typeof i[3+s]=="number"&&(i[3+s]/=c),o(i)}},gE=class extends ke{componentDidMount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:r}=this.props,{projection:i}=e;Cf(vE),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()})),wa.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()||J.postRender(()=>{let s=o.getStack();(!s||!s.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){let{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),Tf.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 oy(e){let[t,n]=Bv(),r=A(ts);return k(gE,{...e,layoutGroup:r,switchLayoutGroup:A(ja),isPresent:t,safeToRemove:n})}var vE={borderRadius:{...jo,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:jo,borderTopRightRadius:jo,borderBottomLeftRadius:jo,borderBottomRightRadius:jo,boxShadow:mE},sy=["TopLeft","TopRight","BottomLeft","BottomRight"],yE=sy.length,mg=e=>typeof e=="string"?parseFloat(e):e,gg=e=>typeof e=="number"||q.test(e);function bE(e,t,n,r,i,o){i?(e.opacity=Ee(0,n.opacity!==void 0?n.opacity:1,xE(r)),e.opacityExit=Ee(t.opacity!==void 0?t.opacity:1,0,wE(r))):o&&(e.opacity=Ee(t.opacity!==void 0?t.opacity:1,n.opacity!==void 0?n.opacity:1,r));for(let s=0;srt?1:n(Tr(e,t,r))}function yg(e,t){e.min=t.min,e.max=t.max}function cn(e,t){yg(e.x,t.x),yg(e.y,t.y)}function bg(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function xg(e,t,n,r,i){return e-=t,e=Fa(e,1/n,r),i!==void 0&&(e=Fa(e,1/i,r)),e}function SE(e,t=0,n=1,r=.5,i,o=e,s=e){if(An.test(t)&&(t=parseFloat(t),t=Ee(s.min,s.max,t/100)-s.min),typeof t!="number")return;let a=Ee(o.min,o.max,r);e===o&&(a-=t),e.min=xg(e.min,t,n,a,i),e.max=xg(e.max,t,n,a,i)}function wg(e,t,[n,r,i],o,s){SE(e,t[n],t[r],t[i],t.scale,o,s)}var kE=["x","scaleX","originX"],CE=["y","scaleY","originY"];function Sg(e,t,n,r){wg(e.x,t,kE,n?n.x:void 0,r?r.x:void 0),wg(e.y,t,CE,n?n.y:void 0,r?r.y:void 0)}function kg(e){return e.translate===0&&e.scale===1}function ly(e){return kg(e.x)&&kg(e.y)}function Cg(e,t){return e.min===t.min&&e.max===t.max}function TE(e,t){return Cg(e.x,t.x)&&Cg(e.y,t.y)}function Tg(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function cy(e,t){return Tg(e.x,t.x)&&Tg(e.y,t.y)}function Rg(e){return Mt(e.x)/Mt(e.y)}function Eg(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}var RE=class{constructor(){this.members=[]}add(e){df(this.members,e),e.scheduleRender()}remove(e){if(Aa(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 EE(e,t,n){let r="",i=e.x.translate/t.x,o=e.y.translate/t.y,s=n?.z||0;if((i||o||s)&&(r=`translate3d(${i}px, ${o}px, ${s}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){let{transformPerspective:c,rotate:u,rotateX:f,rotateY:d,skewX:m,skewY:v}=n;c&&(r=`perspective(${c}px) ${r}`),u&&(r+=`rotate(${u}deg) `),f&&(r+=`rotateX(${f}deg) `),d&&(r+=`rotateY(${d}deg) `),m&&(r+=`skewX(${m}deg) `),v&&(r+=`skewY(${v}deg) `)}let a=e.x.scale*t.x,l=e.y.scale*t.y;return(a!==1||l!==1)&&(r+=`scale(${a}, ${l})`),r||"none"}function uy(e){return e instanceof SVGElement&&e.tagName!=="svg"}function fy(e,t,n){let r=Ne(e)?e:Rr(e);return r.start(vf("",r,t,n)),r.animation}var oi={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},Uo=typeof _<"u"&&_.MotionDebug!==void 0,ku=["","X","Y","Z"],FE={visibility:"hidden"},Fg=1e3,PE=0;function Cu(e,t,n,r){let{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function dy(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:t}=e.options;if(!t)return;let n=Fv(t);if(_.MotionHasOptimisedAnimation(n,"transform")){let{layout:i,layoutId:o}=e.options;_.MotionCancelOptimisedAnimation(n,"transform",J,!(i||o))}let{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&dy(r)}function hy({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(s={},a=t?.()){this.id=PE++,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,Uo&&(oi.totalNodes=oi.resolvedTargetDeltas=oi.recalculatedProjection=0),this.nodes.forEach(OE),this.nodes.forEach(DE),this.nodes.forEach(zE),this.nodes.forEach(ME),Uo&&_.MotionDebug.record(oi)},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=Nv(d,250),wa.hasAnimatedSinceResize&&(wa.hasAnimatedSinceResize=!1,this.nodes.forEach(_g))})}l&&this.root.registerSharedNode(l,this),this.options.animate!==!1&&u&&(l||c)&&this.addEventListener("didUpdate",({delta:f,hasLayoutChanged:d,hasRelativeTargetChanged:m,layout:v})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let y=this.options.transition||u.getDefaultTransition()||HE,{onLayoutAnimationStart:b,onLayoutAnimationComplete:h}=u.getProps(),p=!this.targetLayout||!cy(this.targetLayout,v)||m,g=!d&&m;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||g||d&&(p||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(f,g);let x={...gf(y,"layout"),onPlay:b,onComplete:h};(u.shouldReduceMotion||this.options.layoutRoot)&&(x.delay=0,x.type=!1),this.startAnimation(x)}else d||_g(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=v})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let s=this.getStack();s&&s.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,Ot(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(BE),this.animationId++)}getTransformTemplate(){let{visualElement:s}=this.options;return s&&s.getProps().transformTemplate}willUpdate(s=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(_.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&dy(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 C=x/1e3;Ig(f.x,s.x,C),Ig(f.y,s.y,C),this.setTargetDelta(f),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Yo(d,this.layout.layoutBox,this.relativeParent.layout.layoutBox),NE(this.relativeTarget,this.relativeTargetOrigin,d,C),g&&TE(this.relativeTarget,g)&&(this.isProjectionDirty=!1),g||(g=Ve()),cn(g,this.relativeTarget)),y&&(this.animationValues=u,bE(u,c,this.latestValues,C,p,h)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=C},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&&(Ot(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=J.update(()=>{wa.hasAnimatedSinceResize=!0,this.currentAnimation=fy(0,Fg,{...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(Fg),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&&py(this.options.animationType,this.layout.layoutBox,c.layoutBox)){l=this.target||Ve();let f=Mt(this.layout.layoutBox.x);l.x.min=s.target.x.min,l.x.max=l.x.min+f;let d=Mt(this.layout.layoutBox.y);l.y.min=s.target.y.min,l.y.max=l.y.min+d}cn(a,l),Wi(a,u),Xo(this.projectionDeltaWithTransform,this.layoutCorrected,a,u)}}registerSharedNode(s,a){this.sharedNodes.has(s)||this.sharedNodes.set(s,new RE),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&&Cu("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(Pg),this.root.sharedNodes.clear()}}}function _E(e){e.updateLayout()}function IE(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"?un(f=>{let d=s?n.measuredBox[f]:n.layoutBox[f],m=Mt(d);d.min=r[f].min,d.max=d.min+m}):py(o,n.layoutBox,r)&&un(f=>{let d=s?n.measuredBox[f]:n.layoutBox[f],m=Mt(r[f]);d.max=d.min+m,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[f].max=e.relativeTarget[f].min+m)});let a=Ni();Xo(a,r,n.layoutBox);let l=Ni();s?Xo(l,e.applyTransform(i,!0),n.measuredBox):Xo(l,r,n.layoutBox);let c=!ly(a),u=!1;if(!e.resumeFrom){let f=e.getClosestProjectingParent();if(f&&!f.resumeFrom){let{snapshot:d,layout:m}=f;if(d&&m){let v=Ve();Yo(v,n.layoutBox,d.layoutBox);let y=Ve();Yo(y,r,m.layoutBox),cy(v,y)||(u=!0),f.options.layoutRoot&&(e.relativeTarget=y,e.relativeTargetOrigin=v,e.relativeParent=f)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:n,delta:l,layoutDelta:a,hasLayoutChanged:c,hasRelativeTargetChanged:u})}else if(e.isLead()){let{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function OE(e){Uo&&oi.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 ME(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function LE(e){e.clearSnapshot()}function Pg(e){e.clearMeasurements()}function VE(e){e.isLayoutDirty=!1}function AE(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function _g(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function DE(e){e.resolveTargetDelta()}function zE(e){e.calcProjection()}function BE(e){e.resetSkewAndRotation()}function $E(e){e.removeLeadSnapshot()}function Ig(e,t,n){e.translate=Ee(t.translate,0,n),e.scale=Ee(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function Og(e,t,n,r){e.min=Ee(t.min,n.min,r),e.max=Ee(t.max,n.max,r)}function NE(e,t,n,r){Og(e.x,t.x,n.x,r),Og(e.y,t.y,n.y,r)}function jE(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}var HE={duration:.45,ease:[.4,0,.1,1]},Mg=e=>typeof qe<"u"&&qe.userAgent&&qe.userAgent.toLowerCase().includes(e),Lg=Mg("applewebkit/")&&!Mg("chrome/")?Math.round:ct;function Vg(e){e.min=Lg(e.min),e.max=Lg(e.max)}function WE(e){Vg(e.x),Vg(e.y)}function py(e,t,n){return e==="position"||e==="preserve-aspect"&&!IR(Rg(t),Rg(n),.2)}function UE(e){var t;return e!==e.root&&((t=e.scroll)===null||t===void 0?void 0:t.wasRoot)}var GE=hy({attachResizeListener:(e,t)=>ir(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),li={current:void 0},my=hy({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!li.current){let e=new GE({});e.mount(_),e.setOptions({layoutScroll:!0}),li.current=e}return li.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>_.getComputedStyle(e).position==="fixed"}),gy={pan:{Feature:pE},drag:{Feature:hE,ProjectionNode:my,MeasureLayout:oy}};function Ag(e,t){let n=t?"pointerenter":"pointerleave",r=t?"onHoverStart":"onHoverEnd",i=(o,s)=>{if(o.pointerType==="touch"||kf())return;let a=e.getProps();e.animationState&&a.whileHover&&e.animationState.setActive("whileHover",t);let l=a[r];l&&J.postRender(()=>l(o,s))};return $n(e.current,n,i,{passive:!e.getProps()[r]})}var qE=class extends Fr{mount(){this.unmount=zn(Ag(this.node,!0),Ag(this.node,!1))}unmount(){}},XE=class extends Fr{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=zn(ir(this.node.current,"focus",()=>this.onFocus()),ir(this.node.current,"blur",()=>this.onBlur()))}unmount(){}},vy=(e,t)=>t?e===t?!0:vy(e,t.parentElement):!1;function Tu(e,t){if(!t)return;let n=new PointerEvent("pointer"+e);t(n,Na(n))}var YE=class extends Fr{constructor(){super(...arguments),this.removeStartListeners=ct,this.removeEndListeners=ct,this.removeAccessibleListeners=ct,this.startPointerPress=(e,t)=>{if(this.isPressing)return;this.removeEndListeners();let n=this.node.getProps(),i=$n(_,"pointerup",(s,a)=>{if(!this.checkPressEnd())return;let{onTap:l,onTapCancel:c,globalTapTarget:u}=this.node.getProps(),f=!u&&!vy(this.node.current,s.target)?c:l;f&&J.update(()=>f(s,a))},{passive:!(n.onTap||n.onPointerUp)}),o=$n(_,"pointercancel",(s,a)=>this.cancelPress(s,a),{passive:!(n.onTapCancel||n.onPointerCancel)});this.removeEndListeners=zn(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()||Tu("up",(a,l)=>{let{onTap:c}=this.node.getProps();c&&J.postRender(()=>c(a,l))})};this.removeEndListeners(),this.removeEndListeners=ir(this.node.current,"keyup",o),Tu("down",(s,a)=>{this.startPress(s,a)})},t=ir(this.node.current,"keydown",e),n=()=>{this.isPressing&&Tu("cancel",(i,o)=>this.cancelPress(i,o))},r=ir(this.node.current,"blur",n);this.removeAccessibleListeners=zn(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&&J.postRender(()=>n(e,t))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!kf()}cancelPress(e,t){if(!this.checkPressEnd())return;let{onTapCancel:n}=this.node.getProps();n&&J.postRender(()=>n(e,t))}mount(){let e=this.node.getProps(),t=$n(e.globalTapTarget?_:this.node.current,"pointerdown",this.startPointerPress,{passive:!(e.onTapStart||e.onPointerStart)}),n=ir(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=zn(t,n)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}},Uu=new WeakMap,Ru=new WeakMap,KE=e=>{let t=Uu.get(e.target);t&&t(e)},QE=e=>{e.forEach(KE)};function ZE({root:e,...t}){let n=e||document;Ru.has(n)||Ru.set(n,{});let r=Ru.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(QE,{root:e,...t})),r[i]}function JE(e,t,n){let r=ZE(t);return Uu.set(e,n),r.observe(e),()=>{Uu.delete(e),r.unobserve(e)}}var eF={some:0,all:1},tF=class extends Fr{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:eF[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 JE(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(nF(e,t))&&this.startObserver()}unmount(){}};function nF({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}var yy={inView:{Feature:tF},tap:{Feature:YE},focus:{Feature:XE},hover:{Feature:qE}},by={layout:{ProjectionNode:my,MeasureLayout:oy}},rF=["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 Pf(e){return typeof e!="string"||e.includes("-")?!1:!!(rF.indexOf(e)>-1||/[A-Z]/u.test(e))}function xy(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 wy=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 Sy(e,t,n,r){xy(e,t,void 0,r);for(let i in t.attrs)e.setAttribute(wy.has(i)?i:za(i),t.attrs[i])}function ky(e,{layout:t,layoutId:n}){return Er.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!Ra[e]||e==="opacity")}function _f(e,t,n){var r;let{style:i}=e,o={};for(let s in i)(Ne(i[s])||t.style&&Ne(t.style[s])||ky(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 Cy(e,t,n){let r=_f(e,t,n);for(let i in e)if(Ne(e[i])||Ne(t[i])){let o=os.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;r[o]=e[i]}return r}var If=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),Ty=()=>({...If(),attrs:{}});function Of(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(Er.has(l)){s=!0;continue}else if(sv(l)){i[l]=c;continue}else{let u=Gv(c,cf[l]);l.startsWith("origin")?(a=!0,o[l]=u):r[l]=u}}if(t.transform||(s||n?r.transform=qv(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 Dg(e,t,n){return typeof e=="string"?e:q.transform(t+n*e)}function iF(e,t,n){let r=Dg(t,e.x,e.width),i=Dg(n,e.y,e.height);return`${r} ${i}`}var oF={offset:"stroke-dashoffset",array:"stroke-dasharray"},sF={offset:"strokeDashoffset",array:"strokeDasharray"};function aF(e,t,n=1,r=0,i=!0){e.pathLength=1;let o=i?oF:sF;e[o.offset]=q.transform(-r);let s=q.transform(t),a=q.transform(n);e[o.array]=`${s} ${a}`}function Mf(e,{attrX:t,attrY:n,attrScale:r,originX:i,originY:o,pathLength:s,pathSpacing:a=1,pathOffset:l=0,...c},u,f){if(Of(e,c,f),u){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:d,style:m,dimensions:v}=e;d.transform&&(v&&(m.transform=d.transform),delete d.transform),v&&(i!==void 0||o!==void 0||m.transform)&&(m.transformOrigin=iF(v,i!==void 0?i:.5,o!==void 0?o:.5)),t!==void 0&&(d.x=t),n!==void 0&&(d.y=n),r!==void 0&&(d.scale=r),s!==void 0&&aF(d,s,a,l,!1)}var Lf=e=>typeof e=="string"&&e.toLowerCase()==="svg",lF={useVisualState:Ua({scrapeMotionValuesFromProps:Cy,createRenderState:Ty,onMount:(e,t,{renderState:n,latestValues:r})=>{J.read(()=>{try{n.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{n.dimensions={x:0,y:0,width:0,height:0}}}),J.render(()=>{Mf(n,r,Lf(t.tagName),e.transformTemplate),Sy(t,n)})}})},cF={useVisualState:Ua({applyWillChange:!0,scrapeMotionValuesFromProps:_f,createRenderState:If})};function Ry(e,t,n){for(let r in t)!Ne(t[r])&&!ky(r,n)&&(e[r]=t[r])}function uF({transformTemplate:e},t){return ae(()=>{let n=If();return Of(n,t,e),Object.assign({},n.vars,n.style)},[t])}function fF(e,t){let n=e.style||{},r={};return Ry(r,n,e),Object.assign(r,uF(e,t)),r}function dF(e,t){let n={},r=fF(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 hF(e,t,n,r){let i=ae(()=>{let o=Ty();return Mf(o,t,Lf(r),e.transformTemplate),{...o.attrs,style:{...o.style}}},[t]);if(e.style){let o={};Ry(o,e.style,e),i.style={...o,...i.style}}return i}function pF(e=!1){return(n,r,i,{latestValues:o},s)=>{let l=(Pf(n)?hF:dF)(r,o,s,n),c=Kv(r,typeof n=="string",e),u=n!==an?{...c,...l,ref:i}:{},{children:f}=r,d=ae(()=>Ne(f)?f.get():f,[f]);return No(n,{...u,children:d})}}function mF(e,t){return function(r,{forwardMotionProps:i}={forwardMotionProps:!1}){let s={...Pf(r)?lF:cF,preloadedFeatures:e,useRender:pF(i),createVisualElement:t,Component:r};return Uv(s)}}var Ey=class extends Ff{constructor(){super(...arguments),this.KeyframeResolver=Sv}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 gF(e){return _.getComputedStyle(e)}var Fy=class extends Ey{constructor(){super(...arguments),this.type="html",this.applyWillChange=!0,this.renderInstance=xy}readValueFromInstance(e,t){if(Er.has(t)){let n=uf(t);return n&&n.default||0}else{let n=gF(e),r=(sv(t)?n.getPropertyValue(t):n[t])||0;return typeof r=="string"?r.trim():r}}measureInstanceViewportBox(e,{transformPagePoint:t}){return ry(e,t)}build(e,t,n){Of(e,t,n.transformTemplate)}scrapeMotionValuesFromProps(e,t,n){return _f(e,t,n)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;Ne(e)&&(this.childSubscription=e.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}},Py=class extends Ey{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Ve}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(Er.has(t)){let n=uf(t);return n&&n.default||0}return t=wy.has(t)?t:za(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,n){return Cy(e,t,n)}build(e,t,n){Mf(e,t,this.isSVGTag,n.transformTemplate)}renderInstance(e,t,n,r){Sy(e,t,n,r)}mount(e){this.isSVGTag=Lf(e.tagName),super.mount(e)}},Vf=(e,t)=>Pf(e)?new Py(t):new Fy(t,{allowProjection:e!==an}),vF=mF({...$a,...yy,...gy,...by},Vf),fn=QR(vF);var yF=class extends ke{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 bF({children:e,isPresent:t}){let n=ni(),r=V(null),i=V({width:0,height:0,top:0,left:0}),{nonce:o}=A(Nn);return tt(()=>{let{width:s,height:a,top:l,left:c}=i.current;if(t||!r.current||!s||!a)return;r.current.dataset.motionPopId=n;let u=document.createElement("style");return o&&(u.nonce=o),document.head.appendChild(u),u.sheet&&u.sheet.insertRule(` [data-motion-pop-id="${n}"] { position: absolute !important; width: ${s}px !important; height: ${a}px !important; top: ${l}px !important; left: ${c}px !important; } `),()=>{document.head.removeChild(u)}},[t]),k(yF,{isPresent:t,childRef:r,sizeRef:i,children:kr(e,{ref:r})})}var xF=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:i,presenceAffectsLayout:o,mode:s})=>{let a=ar(wF),l=ni(),c=Z(f=>{a.set(f,!0);for(let d of a.values())if(!d)return;r&&r()},[a,r]),u=ae(()=>({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 ae(()=>{a.forEach((f,d)=>a.set(d,!1))},[n]),j(()=>{!n&&!a.size&&r&&r()},[n]),s==="popLayout"&&(e=k(bF,{isPresent:n,children:e})),k(Ki.Provider,{value:u,children:e})};function wF(){return new Map}var ya=e=>e.key||"";function zg(e){let t=[];return Vn.forEach(e,n=>{ln(n)&&t.push(n)}),t}var Af=({children:e,exitBeforeEnter:t,custom:n,initial:r=!0,onExitComplete:i,presenceAffectsLayout:o=!0,mode:s="sync"})=>{Gt(!t,"Replace exitBeforeEnter with mode='wait'");let a=ae(()=>zg(e),[e]),l=a.map(ya),c=V(!0),u=V(a),f=ar(()=>new Map),[d,m]=Ie(a),[v,y]=Ie(a);ui(()=>{c.current=!1,u.current=a;for(let p=0;p{let g=ya(p),x=a===v||l.includes(g),C=()=>{if(f.has(g))f.set(g,!0);else return;let S=!0;f.forEach(T=>{T||(S=!1)}),S&&(h?.(),y(u.current),i&&i())};return k(xF,{isPresent:x,initial:!c.current||r?void 0:!1,custom:x?void 0:n,presenceAffectsLayout:o,mode:s,onExitComplete:x?void 0:C,children:p},g)})})};function _y({children:e,isValidProp:t,...n}){t&&Yv(t),n={...A(Nn),...n},n.isStatic=ar(()=>n.isStatic);let r=ae(()=>n,[JSON.stringify(n.transition),n.transformPagePoint,n.reducedMotion]);return k(Nn.Provider,{value:r,children:e})}var Iy=ge(null);function SF(){let e=V(!1);return ui(()=>(e.current=!0,()=>{e.current=!1}),[]),e}function Df(){let e=SF(),[t,n]=Ie(0),r=Z(()=>{e.current&&n(t+1)},[t]);return[Z(()=>J.postRender(r),[r]),t]}var kF=e=>!e.isLayoutDirty&&e.willUpdate(!1);function Bg(){let e=new Set,t=new WeakMap,n=()=>e.forEach(kF);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 Oy=e=>e===!0,CF=e=>Oy(e===!0)||e==="id",My=({children:e,id:t,inherit:n=!0})=>{let r=A(ts),i=A(Iy),[o,s]=Df(),a=V(null),l=r.id||i;a.current===null&&(CF(n)&&l&&(t=t?l+"-"+t:l),a.current={id:t,group:Oy(n)&&r.group||Bg()});let c=ae(()=>({...a.current,forceRender:o}),[s]);return k(ts.Provider,{value:c,children:e})},TF={renderer:Vf,...$a},Ly={renderer:Vf,...$a,...yy},RF={...Ly,...gy,...by};function fi(e){let t=ar(()=>Rr(e)),{isStatic:n}=A(Nn);if(n){let[,r]=Ie(e);j(()=>t.on("change",r),[])}return t}function Vy(e,t){let n=fi(t()),r=()=>n.set(t());return r(),ui(()=>{let i=()=>J.preRender(r,!1,!0),o=e.map(s=>s.on("change",i));return()=>{o.forEach(s=>s()),Ot(r)}}),n}var EF=e=>e&&typeof e=="object"&&e.mix,FF=e=>EF(e)?e.mix:void 0;function Ay(...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=Oa(i,o,{mixer:FF(o[0]),...s});return t?a(r):a}function PF(e){qo.current=[],e();let t=Vy(qo.current,e);return qo.current=void 0,t}function Ga(e,t,n,r){if(typeof e=="function")return PF(e);let i=typeof t=="function"?t:Ay(t,n,r);return Array.isArray(e)?$g(e,i):$g([e],([o])=>i(o))}function $g(e,t){let n=ar(()=>[]);return Vy(e,()=>{n.length=0;let r=e.length;for(let i=0;i{}),a=()=>{let c=r.current;c&&c.time===0&&c.sample(Ye.delta),l(),r.current=mv({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 tt(()=>i.attach((c,u)=>n?u(c):(o.current=c,s.current=u,J.update(a),i.get()),l),[JSON.stringify(t)]),ui(()=>{if(Ne(e))return e.on("change",c=>i.set(Ng(c)))},[i]),i}function Dy(e,t,n){var r;if(typeof e=="string"){let i=document;t&&(Gt(!!t.current,"Scope provided, but no element detected."),i=t.current),n?((r=n[e])!==null&&r!==void 0||(n[e]=i.querySelectorAll(e)),e=n[e]):e=i.querySelectorAll(e)}else e instanceof Element&&(e=[e]);return Array.from(e||[])}function _F(e){let t=V(0),{isStatic:n}=A(Nn);j(()=>{if(n)return;let r=({timestamp:i,delta:o})=>{t.current||(t.current=i),e(i-t.current,o)};return J.update(r,!0),()=>Ot(r)},[e])}function zy(){!Ef.current&&Qv();let[e]=Ie(Ea.current);return e}function By(){let e=zy(),{reducedMotion:t}=A(Nn);return t==="never"?!1:t==="always"?!0:e}function IF(e){e.values.forEach(t=>t.stop())}function Gu(e,t){[...t].reverse().forEach(r=>{let i=e.getVariant(r);i&&yf(e,i),e.variantChildren&&e.variantChildren.forEach(o=>{Gu(o,t)})})}function OF(e,t){if(Array.isArray(t))return Gu(e,t);if(typeof t=="string")return Gu(e,[t]);yf(e,t)}function $y(){let e=!1,t=new Set,n={subscribe(r){return t.add(r),()=>void t.delete(r)},start(r,i){Gt(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(xf(s,r,{transitionOverride:i}))}),Promise.all(o)},set(r){return Gt(e,"controls.set() should only be called after a component has mounted. Consider calling within a useEffect hook."),t.forEach(i=>{OF(i,r)})},stop(){t.forEach(r=>{IF(r)})},mount(){return e=!0,()=>{e=!1,n.stop()}}};return n}var Ny=(e,t,n)=>{let r=t-e;return((n-e)%r+r)%r+e};function MF(e,t=100,n){let r=n({...e,keyframes:[0,t]}),i=Math.min(pv(r),Lu);return{type:"keyframes",ease:o=>r.next(i*o).value/t,duration:Dn(i)}}function Bf(e){return typeof e=="object"&&!Array.isArray(e)}function jy(e,t,n,r){return typeof e=="string"&&Bf(t)?Dy(e,n,r):e instanceof NodeList?Array.from(e):Array.isArray(e)?e:[e]}function jg(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 LF(e,t){return lv(e)?e[Ny(0,e.length,t)]:e}function VF(e,t,n){for(let r=0;rt&&i.at{let O=$F(x),{delay:I=0,times:$=uv(O),type:N="keyframes",...D}=C,{ease:ie=t.ease||"easeOut",duration:G}=C,he=typeof I=="function"?I(T,E):I,H=O.length,Y=Ma(N)?N:i?.[N];if(H<=2&&Y){let Se=100;if(H===2&&HF(O)){let Ze=O[1]-O[0];Se=Math.abs(Ze)}let oe={...D};G!==void 0&&(oe.duration=Sn(G));let ne=MF(oe,Se,Y);ie=ne.ease,G=ne.duration}G??(G=o);let se=f+he,ue=se+G;$.length===1&&$[0]===0&&($[1]=1);let we=$.length-O.length;we>0&&cv($,we),O.length===1&&O.unshift(null),AF(S,O,ie,$,se,ue),p=Math.max(he+G,p),d=Math.max(ue,d)};if(Ne(y)){let x=Hg(y,a);g(b,h,Wg("default",x))}else{let x=jy(y,b,r,l),C=x.length;for(let S=0;S{for(let y in m){let b=m[y];b.sort(DF);let h=[],p=[],g=[];for(let C=0;Ctypeof e=="number",HF=e=>e.every(jF);function WF(e,t){return e in t}var UF=class extends Ff{constructor(){super(...arguments),this.type="object"}readValueFromInstance(e,t){if(WF(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 Ve()}build(e,t){Object.assign(e.output,t)}renderInstance(e,{output:t}){Object.assign(e,t)}sortInstanceNodePosition(){return 0}};function GF(e){let t={presenceContext:null,props:{},visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{}}},n=uy(e)?new Py(t):new Fy(t);n.mount(e),ci.set(e,n)}function qF(e){let t={presenceContext:null,props:{},visualState:{renderState:{output:{}},latestValues:{}}},n=new UF(t);n.mount(e),ci.set(e,n)}function XF(e,t){return Ne(e)||typeof e=="number"||typeof e=="string"&&!Bf(t)}function Hy(e,t,n,r){let i=[];if(XF(e,t))i.push(fy(e,Bf(t)&&t.default||t,n&&(n.default||n)));else{let o=jy(e,t,r),s=o.length;Gt(!!s,"No valid elements provided.");for(let a=0;a{r.push(...Hy(a,o,s))}),r}function KF(e){return Array.isArray(e)&&Array.isArray(e[0])}function Wy(e){function t(n,r,i){let o=[];KF(n)?o=YF(n,r,e):o=Hy(n,r,i,e);let s=new Ev(o);return e&&e.animations.push(s),s}return t}var di=Wy();function Uy(){let e=ar($y);return ui(e.mount,[]),e}var Gy=Uy;var QF={some:0,all:1};function qa(e,t,{root:n,margin:r,amount:i="some"}={}){let o=Dy(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:QF[i]});return o.forEach(c=>l.observe(c)),()=>l.disconnect()}function ZF(e,{root:t,margin:n,amount:r,once:i=!1}={}){let[o,s]=Ie(!1);return j(()=>{if(!e.current||i&&o)return;let a=()=>(s(!0),i?void 0:()=>s(!1)),l={root:t&&t.current||void 0,margin:n,amount:r};return qa(e.current,a,l)},[t,e,n,i,r]),o}function $f(e){return e!==null&&typeof e=="object"&&Rf in e}function qy(e){if($f(e))return e[Rf]}function Nf(){return JF}function JF(e){li.current&&(li.current.isUpdating=!1,li.current.blockUpdate(),e&&e())}function Xy(){let[e,t]=Df(),n=Nf(),r=V();return j(()=>{J.postRender(()=>J.postRender(()=>{t===r.current&&(ka.current=!1)}))},[t]),i=>{n(()=>{ka.current=!0,e(),i(),r.current=t+1})}}function Yy(){return Z(()=>{let t=li.current;t&&t.resetTree()},[])}var Ug=()=>({});var B5=Ua({scrapeMotionValuesFromProps:Ug,createRenderState:Ug});var Ky={};mm(Ky,{Group:()=>nP,Item:()=>sP});var Qy=ge(null);function eP(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=Ee(l.min,l.max,.5);return o===1&&a.layout.max+n>c||o===-1&&a.layout.min+nfn[t]),l=[],c=V(!1);Gt(!!i,"Reorder.Group must be provided a values prop");let u={axis:n,registerItem:(f,d)=>{let m=l.findIndex(v=>f===v.value);m!==-1?l[m].layout=d[n]:l.push({value:f,layout:d[n]}),l.sort(iP)},updateOrder:(f,d,m)=>{if(c.current)return;let v=eP(l,f,d,m);l!==v&&(c.current=!0,r(v.map(rP).filter(y=>i.indexOf(y)!==-1)))}};return j(()=>{c.current=!1}),k(a,{...o,ref:s,ignoreStrict:!0,children:k(Qy.Provider,{value:u,children:e})})}var nP=$e(tP);function rP(e){return e.value}function iP(e,t){return e.layout.min-t.layout.min}function Gg(e,t=0){return Ne(e)?e:fi(t)}function oP({children:e,style:t={},value:n,as:r="li",onDrag:i,layout:o=!0,...s},a){let l=ar(()=>fn[r]),c=A(Qy),u={x:Gg(t.x),y:Gg(t.y)},f=Ga([u.x,u.y],([y,b])=>y||b?1:"unset");Gt(!!c,"Reorder.Item must be a child of Reorder.Group");let{axis:d,registerItem:m,updateOrder:v}=c;return k(l,{drag:d,...s,dragSnapToOrigin:!0,style:{...t,x:u.x,y:u.y,zIndex:f},layout:o,onDrag:(y,b)=>{let{velocity:h}=b;h[d]&&v(n,u[d].get(),h[d]),i&&i(y,b)},onLayoutMeasure:y=>m(n,y),ref:a,ignoreStrict:!0,children:e})}var sP=$e(oP);function aP(e,t){if(e==="first")return 0;{let n=t-1;return e==="last"?n:n/2}}function jf(e=.1,{startDelay:t=0,from:n=0,ease:r}={}){return(i,o)=>{let s=typeof n=="number"?n:aP(n,o),a=Math.abs(s-i),l=e*a;if(r){let c=o*e;l=Iu(r)(l/c)*c}return t+l}}var lP=Ho.reduce((e,t)=>(e[t]=n=>Ot(n),e),{});var HI={};cu(HI,{__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:()=>II,createPortal:()=>OI,createRoot:()=>MI,default:()=>pw,findDOMNode:()=>LI,flushSync:()=>VI,hydrate:()=>AI,hydrateRoot:()=>DI,render:()=>zI,unmountComponentAtNode:()=>BI,unstable_batchedUpdates:()=>$I,unstable_renderSubtreeIntoContainer:()=>NI,version:()=>jI});var Ja={};cu(Ja,{default:()=>K,unstable_IdlePriority:()=>fP,unstable_ImmediatePriority:()=>dP,unstable_LowPriority:()=>hP,unstable_NormalPriority:()=>pP,unstable_Profiling:()=>mP,unstable_UserBlockingPriority:()=>gP,unstable_cancelCallback:()=>vP,unstable_continueExecution:()=>yP,unstable_forceFrameRate:()=>bP,unstable_getCurrentPriorityLevel:()=>xP,unstable_getFirstCallbackNode:()=>wP,unstable_next:()=>SP,unstable_now:()=>uP,unstable_pauseExecution:()=>kP,unstable_requestPaint:()=>CP,unstable_runWithPriority:()=>TP,unstable_scheduleCallback:()=>RP,unstable_shouldYield:()=>EP,unstable_wrapCallback:()=>FP});var K={};function Gf(e,t){var n=e.length;e.push(t);e:for(;0>>1,i=e[r];if(!(0>>1;rXa(a,n))lXa(c,a)?(e[r]=c,e[l]=n,r=l):(e[r]=a,e[s]=n,r=s);else{if(!(lXa(c,n)))break e;e[r]=c,e[l]=n,r=l}}}return t}function Xa(e,t){var n=e.sortIndex-t.sortIndex;return n!==0?n:e.id-t.id}typeof performance=="object"&&typeof performance.now=="function"?(Zy=performance,K.unstable_now=function(){return Zy.now()}):(Hf=Date,Jy=Hf.now(),K.unstable_now=function(){return Hf.now()-Jy});var Zy,Hf,Jy,jn=[],Pr=[],cP=1,dn=null,vt=3,Qa=!1,hi=!1,ls=!1,n0=typeof setTimeout=="function"?setTimeout:null,r0=typeof clearTimeout=="function"?clearTimeout:null,e0=typeof setImmediate<"u"?setImmediate:null;typeof qe<"u"&&qe.scheduling!==void 0&&qe.scheduling.isInputPending!==void 0&&qe.scheduling.isInputPending.bind(qe.scheduling);function qf(e){for(var t=kn(Pr);t!==null;){if(t.callback===null)Ka(Pr);else{if(!(t.startTime<=e))break;Ka(Pr),t.sortIndex=t.expirationTime,Gf(jn,t)}t=kn(Pr)}}function Xf(e){if(ls=!1,qf(e),!hi)if(kn(jn)!==null)hi=!0,Kf(Yf);else{var t=kn(Pr);t!==null&&Qf(Xf,t.startTime-e)}}function Yf(e,t){hi=!1,ls&&(ls=!1,r0(cs),cs=-1),Qa=!0;var n=vt;try{for(qf(t),dn=kn(jn);dn!==null&&(!(dn.expirationTime>t)||e&&!s0());){var r=dn.callback;if(typeof r=="function"){dn.callback=null,vt=dn.priorityLevel;var i=r(dn.expirationTime<=t);t=K.unstable_now(),typeof i=="function"?dn.callback=i:dn===kn(jn)&&Ka(jn),qf(t)}else Ka(jn);dn=kn(jn)}if(dn!==null)var o=!0;else{var s=kn(Pr);s!==null&&Qf(Xf,s.startTime-t),o=!1}return o}finally{dn=null,vt=n,Qa=!1}}var Za=!1,Ya=null,cs=-1,i0=5,o0=-1;function s0(){return!(K.unstable_now()-o0e||125r?(e.sortIndex=n,Gf(Pr,e),kn(jn)===null&&e===kn(Pr)&&(ls?(r0(cs),cs=-1):ls=!0,Qf(Xf,n-r))):(e.sortIndex=i,Gf(jn,e),hi||Qa||(hi=!0,Kf(Yf))),e};K.unstable_shouldYield=s0;K.unstable_wrapCallback=function(e){var t=vt;return function(){var n=vt;vt=t;try{return e.apply(this,arguments)}finally{vt=n}}};var uP=K.unstable_now,fP=K.unstable_IdlePriority,dP=K.unstable_ImmediatePriority,hP=K.unstable_LowPriority,pP=K.unstable_NormalPriority,mP=K.unstable_Profiling,gP=K.unstable_UserBlockingPriority,vP=K.unstable_cancelCallback,yP=K.unstable_continueExecution,bP=K.unstable_forceFrameRate,xP=K.unstable_getCurrentPriorityLevel,wP=K.unstable_getFirstCallbackNode,SP=K.unstable_next,kP=K.unstable_pauseExecution,CP=K.unstable_requestPaint,TP=K.unstable_runWithPriority,RP=K.unstable_scheduleCallback,EP=K.unstable_shouldYield,FP=K.unstable_wrapCallback;var PP="default"in mt?w:mt,_P="default"in Ja?K:Ja,Qt={},hb=PP,Kt=_P;function M(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof _.document>"u"||typeof _.document.createElement>"u"),xd=Object.prototype.hasOwnProperty,IP=/^[: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]*$/,a0={},l0={};function OP(e){return xd.call(l0,e)?!0:xd.call(a0,e)?!1:IP.test(e)?l0[e]=!0:(a0[e]=!0,!1)}function MP(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 LP(e,t,n,r){if(t===null||typeof t>"u"||MP(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 Ft(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 dt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){dt[e]=new Ft(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];dt[t]=new Ft(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){dt[e]=new Ft(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){dt[e]=new Ft(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){dt[e]=new Ft(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){dt[e]=new Ft(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){dt[e]=new Ft(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){dt[e]=new Ft(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){dt[e]=new Ft(e,5,!1,e.toLowerCase(),null,!1,!1)});var fh=/[\-:]([a-z])/g;function dh(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(fh,dh);dt[t]=new Ft(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(fh,dh);dt[t]=new Ft(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(fh,dh);dt[t]=new Ft(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){dt[e]=new Ft(e,1,!1,e.toLowerCase(),null,!1,!1)});dt.xlinkHref=new Ft("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){dt[e]=new Ft(e,1,!1,e.toLowerCase(),null,!0,!0)});function hh(e,t,n,r){var i=dt.hasOwnProperty(t)?dt[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{Jf=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?ys(e):""}function VP(e){switch(e.tag){case 5:return ys(e.type);case 16:return ys("Lazy");case 13:return ys("Suspense");case 19:return ys("SuspenseList");case 0:case 2:case 15:return e=ed(e.type,!1),e;case 11:return e=ed(e.type.render,!1),e;case 1:return e=ed(e.type,!0),e;default:return""}}function Cd(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 eo:return"Fragment";case Ji:return"Portal";case wd:return"Profiler";case ph:return"StrictMode";case Sd:return"Suspense";case kd:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case gb:return(e.displayName||"Context")+".Consumer";case mb:return(e._context.displayName||"Context")+".Provider";case mh:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case gh:return t=e.displayName||null,t!==null?t:Cd(e.type)||"Memo";case Ir:t=e._payload,e=e._init;try{return Cd(e(t))}catch{}}return null}function AP(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 Cd(t);case 8:return t===ph?"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 Ur(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function yb(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function DP(e){var t=yb(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 tl(e){e._valueTracker||(e._valueTracker=DP(e))}function bb(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=yb(e)?e.checked?"true":"false":e.value),e=r,e!==n&&(t.setValue(e),!0)}function Pl(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 Td(e,t){var n=t.checked;return ze({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function u0(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Ur(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 xb(e,t){t=t.checked,t!=null&&hh(e,"checked",t,!1)}function Rd(e,t){xb(e,t);var n=Ur(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")?Ed(e,t.type,n):t.hasOwnProperty("defaultValue")&&Ed(e,t.type,Ur(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function f0(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 Ed(e,t,n){t==="number"&&Pl(e.ownerDocument)===e||(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var bs=Array.isArray;function fo(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=nl.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Os(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Ss={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},zP=["Webkit","ms","Moz","O"];Object.keys(Ss).forEach(function(e){zP.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Ss[t]=Ss[e]})});function Cb(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Ss.hasOwnProperty(e)&&Ss[e]?(""+t).trim():t+"px"}function Tb(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=Cb(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var BP=ze({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function _d(e,t){if(t){if(BP[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(M(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(M(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(M(61))}if(t.style!=null&&typeof t.style!="object")throw Error(M(62))}}function Id(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 Od=null;function vh(e){return e=e.target||e.srcElement||_,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Md=null,ho=null,po=null;function p0(e){if(e=Ks(e)){if(typeof Md!="function")throw Error(M(280));var t=e.stateNode;t&&(t=rc(t),Md(e.stateNode,e.type,t))}}function Rb(e){ho?po?po.push(e):po=[e]:ho=e}function Eb(){if(ho){var e=ho,t=po;if(po=ho=null,p0(e),t)for(e=0;e>>=0,e===0?32:31-(KP(e)/QP|0)|0}var rl=64,il=4194304;function xs(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 Ml(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=xs(a):(o&=s,o!==0&&(r=xs(o)))}else s=n&~i,s!==0?r=xs(s):o!==0&&(r=xs(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,o=t&-t,i>=o||i===16&&(4194240&o)!==0))return t;if(4&r&&(r|=16&n),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function Xs(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Fn(t),e[t]=n}function t_(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=Cs),k0=String.fromCharCode(32),C0=!1;function qb(e,t){switch(e){case"keyup":return P_.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Xb(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var to=!1;function I_(e,t){switch(e){case"compositionend":return Xb(t);case"keypress":return t.which!==32?null:(C0=!0,k0);case"textInput":return e=t.data,e===k0&&C0?null:e;default:return null}}function O_(e,t){if(to)return e==="compositionend"||!Th&&qb(e,t)?(e=Ub(),xl=Sh=Vr=null,to=!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=E0(n)}}function Zb(e,t){return!(!e||!t)&&(e===t||(!e||e.nodeType!==3)&&(t&&t.nodeType===3?Zb(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function Jb(){for(var e=_,t=Pl();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(!n)break;e=t.contentWindow,t=Pl(e.document)}return t}function Rh(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 N_(e){var t=Jb(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Zb(n.ownerDocument.documentElement,n)){if(r!==null&&Rh(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||_,e.getSelection){e=e.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=F0(n,o);var s=F0(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,no=null,Bd=null,Rs=null,$d=!1;function P0(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;$d||no==null||no!==Pl(r)||(r=no,"selectionStart"in r&&Rh(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||_).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Rs&&zs(Rs,r)||(Rs=r,r=Al(Bd,"onSelect"),0oo||(e.current=Gd[oo],Gd[oo]=null,oo--)}function Ce(e,t){oo++,Gd[oo]=e.current,e.current=t}var Gr={},wt=Xr(Gr),At=Xr(!1),wi=Gr;function bo(e,t){var n=e.type.contextTypes;if(!n)return Gr;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 Dt(e){return e=e.childContextTypes,e!=null}function zl(){Pe(At),Pe(wt)}function z0(e,t,n){if(wt.current!==Gr)throw Error(M(168));Ce(wt,t),Ce(At,n)}function lx(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(M(108,AP(e)||"Unknown",i));return ze({},n,r)}function Bl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Gr,wi=wt.current,Ce(wt,e),Ce(At,At.current),!0}function B0(e,t,n){var r=e.stateNode;if(!r)throw Error(M(169));n?(e=lx(e,t,wi),r.__reactInternalMemoizedMergedChildContext=e,Pe(At),Pe(wt),Ce(wt,e)):Pe(At),Ce(At,n)}var cr=null,ic=!1,fd=!1;function cx(e){cr===null?cr=[e]:cr.push(e)}function Q_(e){ic=!0,cx(e)}function Yr(){if(!fd&&cr!==null){fd=!0;var e=0,t=ye;try{var n=cr;for(ye=1;e>=s,i-=s,ur=1<<32-Fn(t)+i|n<E?(O=T,T=null):O=T.sibling;var I=d(h,T,g[E],x);if(I===null){T===null&&(T=O);break}e&&T&&I.alternate===null&&t(h,T),p=o(I,p,E),S===null?C=I:S.sibling=I,S=I,T=O}if(E===g.length)return n(h,T),Oe&&pi(h,E),C;if(T===null){for(;EE?(O=T,T=null):O=T.sibling;var $=d(h,T,I.value,x);if($===null){T===null&&(T=O);break}e&&T&&$.alternate===null&&t(h,T),p=o($,p,E),S===null?C=$:S.sibling=$,S=$,T=O}if(I.done)return n(h,T),Oe&&pi(h,E),C;if(T===null){for(;!I.done;E++,I=g.next())I=f(h,I.value,x),I!==null&&(p=o(I,p,E),S===null?C=I:S.sibling=I,S=I);return Oe&&pi(h,E),C}for(T=r(h,T);!I.done;E++,I=g.next())I=m(T,h,E,I.value,x),I!==null&&(e&&I.alternate!==null&&T.delete(I.key===null?E:I.key),p=o(I,p,E),S===null?C=I:S.sibling=I,S=I);return e&&T.forEach(function(N){return t(h,N)}),Oe&&pi(h,E),C}function b(h,p,g,x){if(typeof g=="object"&&g!==null&&g.type===eo&&g.key===null&&(g=g.props.children),typeof g=="object"&&g!==null){switch(g.$$typeof){case el:e:{for(var C=g.key,S=p;S!==null;){if(S.key===C){if(C=g.type,C===eo){if(S.tag===7){n(h,S.sibling),p=i(S,g.props.children),p.return=h,h=p;break e}}else if(S.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===Ir&&G0(C)===S.type){n(h,S.sibling),p=i(S,g.props),p.ref=ps(h,S,g),p.return=h,h=p;break e}n(h,S);break}t(h,S),S=S.sibling}g.type===eo?(p=xi(g.props.children,h.mode,x,g.key),p.return=h,h=p):(x=Fl(g.type,g.key,g.props,null,h.mode,x),x.ref=ps(h,p,g),x.return=h,h=x)}return s(h);case Ji:e:{for(S=g.key;p!==null;){if(p.key===S){if(p.tag===4&&p.stateNode.containerInfo===g.containerInfo&&p.stateNode.implementation===g.implementation){n(h,p.sibling),p=i(p,g.children||[]),p.return=h,h=p;break e}n(h,p);break}t(h,p),p=p.sibling}p=bd(g,h.mode,x),p.return=h,h=p}return s(h);case Ir:return S=g._init,b(h,p,S(g._payload),x)}if(bs(g))return v(h,p,g,x);if(us(g))return y(h,p,g,x);ml(h,g)}return typeof g=="string"&&g!==""||typeof g=="number"?(g=""+g,p!==null&&p.tag===6?(n(h,p.sibling),p=i(p,g),p.return=h,h=p):(n(h,p),p=yd(g,h.mode,x),p.return=h,h=p),s(h)):n(h,p)}return b}var wo=vx(!0),yx=vx(!1),Qs={},qn=Xr(Qs),js=Xr(Qs),Hs=Xr(Qs);function yi(e){if(e===Qs)throw Error(M(174));return e}function Vh(e,t){switch(Ce(Hs,t),Ce(js,e),Ce(qn,Qs),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Pd(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Pd(t,e)}Pe(qn),Ce(qn,t)}function So(){Pe(qn),Pe(js),Pe(Hs)}function bx(e){yi(Hs.current);var t=yi(qn.current),n=Pd(t,e.type);t!==n&&(Ce(js,e),Ce(qn,n))}function Ah(e){js.current===e&&(Pe(qn),Pe(js))}var Ae=Xr(0);function Ul(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(128&t.flags)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var dd=[];function Dh(){for(var e=0;en?n:4,e(!0);var r=hd.transition;hd.transition={};try{e(!1),t()}finally{ye=n,hd.transition=r}}function Vx(){return yn().memoizedState}function tI(e,t,n){var r=Hr(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Ax(e))Dx(t,n);else if(n=hx(e,t,n,r),n!==null){var i=Et();Pn(n,e,r,i),zx(n,t,r)}}function nI(e,t,n){var r=Hr(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Ax(e))Dx(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,_n(a,s)){var l=t.interleaved;l===null?(i.next=i,Mh(t)):(i.next=l.next,l.next=i),t.interleaved=i;return}}catch{}n=hx(e,t,i,r),n!==null&&(i=Et(),Pn(n,e,r,i),zx(n,t,r))}}function Ax(e){var t=e.alternate;return e===De||t!==null&&t===De}function Dx(e,t){Es=Gl=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function zx(e,t,n){if(4194240&n){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,bh(e,n)}}var ql={readContext:vn,useCallback:yt,useContext:yt,useEffect:yt,useImperativeHandle:yt,useInsertionEffect:yt,useLayoutEffect:yt,useMemo:yt,useReducer:yt,useRef:yt,useState:yt,useDebugValue:yt,useDeferredValue:yt,useTransition:yt,useMutableSource:yt,useSyncExternalStore:yt,useId:yt,unstable_isNewReconciler:!1},rI={readContext:vn,useCallback:function(e,t){return Wn().memoizedState=[e,t===void 0?null:t],e},useContext:vn,useEffect:X0,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Cl(4194308,4,_x.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Cl(4194308,4,e,t)},useInsertionEffect:function(e,t){return Cl(4,2,e,t)},useMemo:function(e,t){var n=Wn();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Wn();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=tI.bind(null,De,e),[r.memoizedState,e]},useRef:function(e){var t=Wn();return e={current:e},t.memoizedState=e},useState:q0,useDebugValue:jh,useDeferredValue:function(e){return Wn().memoizedState=e},useTransition:function(){var e=q0(!1),t=e[0];return e=eI.bind(null,e[1]),Wn().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=De,i=Wn();if(Oe){if(n===void 0)throw Error(M(407));n=n()}else{if(n=t(),rt===null)throw Error(M(349));30&ki||Sx(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,X0(Cx.bind(null,r,o,e),[e]),r.flags|=2048,Gs(9,kx.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=Wn(),t=rt.identifierPrefix;if(Oe){var n=fr,r=ur;n=(r&~(1<<32-Fn(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Ws++,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[Un]=t,e[Ns]=r,qx(e,t,!1,!1),t.stateNode=e;e:{switch(s=Id(n,r),n){case"dialog":Fe("cancel",e),Fe("close",e),i=r;break;case"iframe":case"object":case"embed":Fe("load",e),i=r;break;case"video":case"audio":for(i=0;iCo&&(t.flags|=128,r=!0,ms(o,!1),t.lanes=4194304)}else{if(!r)if(e=Ul(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),ms(o,!0),o.tail===null&&o.tailMode==="hidden"&&!s.alternate&&!Oe)return bt(t),null}else 2*Ge()-o.renderingStartTime>Co&&n!==1073741824&&(t.flags|=128,r=!0,ms(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=Ge(),t.sibling=null,n=Ae.current,Ce(Ae,r?1&n|2:1&n),t):(bt(t),null);case 22:case 23:return Xh(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&1&t.mode?1073741824&qt&&(bt(t),6&t.subtreeFlags&&(t.flags|=8192)):bt(t),null;case 24:return null;case 25:return null}throw Error(M(156,t.tag))}function fI(e,t){switch(Fh(t),t.tag){case 1:return Dt(t.type)&&zl(),e=t.flags,65536&e?(t.flags=-65537&e|128,t):null;case 3:return So(),Pe(At),Pe(wt),Dh(),e=t.flags,65536&e&&!(128&e)?(t.flags=-65537&e|128,t):null;case 5:return Ah(t),null;case 13:if(Pe(Ae),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(M(340));xo()}return e=t.flags,65536&e?(t.flags=-65537&e|128,t):null;case 19:return Pe(Ae),null;case 4:return So(),null;case 10:return Oh(t.type._context),null;case 22:case 23:return Xh(),null;case 24:return null;default:return null}}var vl=!1,xt=!1,dI=typeof WeakSet=="function"?WeakSet:Set,z=null;function co(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){je(e,t,r)}else n.current=null}function Kx(e,t,n){try{n()}catch(r){je(e,t,r)}}var rb=!1;function hI(e,t){if(Nd=Ll,e=Jb(),Rh(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||_;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var s=0,a=-1,l=-1,c=0,u=0,f=e,d=null;t:for(;;){for(var m;f!==n||i!==0&&f.nodeType!==3||(a=s+i),f!==o||r!==0&&f.nodeType!==3||(l=s+r),f.nodeType===3&&(s+=f.nodeValue.length),(m=f.firstChild)!==null;)d=f,f=m;for(;;){if(f===e)break t;if(d===n&&++c===i&&(a=s),d===o&&++u===r&&(l=s),(m=f.nextSibling)!==null)break;f=d,d=f.parentNode}f=m}n=a===-1||l===-1?null:{start:a,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(jd={focusedElem:e,selectionRange:n},Ll=!1,z=t;z!==null;)if(t=z,e=t.child,(1028&t.subtreeFlags)!==0&&e!==null)e.return=t,z=e;else for(;z!==null;){t=z;try{var v=t.alternate;if(1024&t.flags)switch(t.tag){case 0:case 11:case 15:break;case 1:if(v!==null){var y=v.memoizedProps,b=v.memoizedState,h=t.stateNode,p=h.getSnapshotBeforeUpdate(t.elementType===t.type?y:Tn(t.type,y),b);h.__reactInternalSnapshotBeforeUpdate=p}break;case 3:var g=t.stateNode.containerInfo;g.nodeType===1?g.textContent="":g.nodeType===9&&g.documentElement&&g.removeChild(g.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(M(163))}}catch(x){je(t,t.return,x)}if(e=t.sibling,e!==null){e.return=t.return,z=e;break}z=t.return}return v=rb,rb=!1,v}function Fs(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&&Kx(t,n,o)}i=i.next}while(i!==r)}}function ac(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 ih(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 Qx(e){var t=e.alternate;t!==null&&(e.alternate=null,Qx(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Un],delete t[Ns],delete t[Ud],delete t[Y_],delete t[K_])),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 Zx(e){return e.tag===5||e.tag===3||e.tag===4}function ib(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Zx(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 oh(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=Dl));else if(r!==4&&(e=e.child,e!==null))for(oh(e,t,n),e=e.sibling;e!==null;)oh(e,t,n),e=e.sibling}function sh(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(sh(e,t,n),e=e.sibling;e!==null;)sh(e,t,n),e=e.sibling}var ut=null,Rn=!1;function _r(e,t,n){for(n=n.child;n!==null;)Jx(e,t,n),n=n.sibling}function Jx(e,t,n){if(Gn&&typeof Gn.onCommitFiberUnmount=="function")try{Gn.onCommitFiberUnmount(Jl,n)}catch{}switch(n.tag){case 5:xt||co(n,t);case 6:var r=ut,i=Rn;ut=null,_r(e,t,n),ut=r,Rn=i,ut!==null&&(Rn?(e=ut,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):ut.removeChild(n.stateNode));break;case 18:ut!==null&&(Rn?(e=ut,n=n.stateNode,e.nodeType===8?ud(e.parentNode,n):e.nodeType===1&&ud(e,n),As(e)):ud(ut,n.stateNode));break;case 4:r=ut,i=Rn,ut=n.stateNode.containerInfo,Rn=!0,_r(e,t,n),ut=r,Rn=i;break;case 0:case 11:case 14:case 15:if(!xt&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,s=o.destroy;o=o.tag,s!==void 0&&(2&o||4&o)&&Kx(n,t,s),i=i.next}while(i!==r)}_r(e,t,n);break;case 1:if(!xt&&(co(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){je(n,t,a)}_r(e,t,n);break;case 21:_r(e,t,n);break;case 22:1&n.mode?(xt=(r=xt)||n.memoizedState!==null,_r(e,t,n),xt=r):_r(e,t,n);break;default:_r(e,t,n)}}function ob(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new dI),t.forEach(function(r){var i=SI.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function Cn(e,t){var n=t.deletions;if(n!==null)for(var r=0;ri&&(i=s),r&=~o}if(r=i,r=Ge()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*mI(r/1960))-r,10e?16:e,Ar===null)var r=!1;else{if(e=Ar,Ar=null,Kl=0,6&pe)throw Error(M(331));var i=pe;for(pe|=4,z=e.current;z!==null;){var o=z,s=o.child;if(16&z.flags){var a=o.deletions;if(a!==null){for(var l=0;lGe()-Gh?bi(e,0):Uh|=n),zt(e,t)}function aw(e,t){t===0&&(1&e.mode?(t=il,il<<=1,!(130023424&il)&&(il=4194304)):t=1);var n=Et();e=mr(e,t),e!==null&&(Xs(e,t,n),zt(e,n))}function wI(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),aw(e,n)}function SI(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(M(314))}r!==null&&r.delete(t),aw(e,n)}var lw;lw=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||At.current)Vt=!0;else{if(!(e.lanes&n)&&!(128&t.flags))return Vt=!1,cI(e,t,n);Vt=(131072&e.flags)!==0}else Vt=!1,Oe&&1048576&t.flags&&ux(t,Nl,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Tl(e,t),e=t.pendingProps;var i=bo(t,wt.current);go(t,n),i=Bh(null,t,r,e,i,n);var o=$h();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,Dt(r)?(o=!0,Bl(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Lh(t),i.updater=oc,t.stateNode=i,i._reactInternals=t,Qd(t,r,e,n),t=eh(null,t,r,!0,o,n)):(t.tag=0,Oe&&o&&Eh(t),Rt(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Tl(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=CI(r),e=Tn(r,e),i){case 0:t=Jd(null,t,r,e,n);break e;case 1:t=eb(null,t,r,e,n);break e;case 11:t=Z0(null,t,r,e,n);break e;case 14:t=J0(null,t,r,Tn(r.type,e),n);break e}throw Error(M(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Tn(r,i),Jd(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Tn(r,i),eb(e,t,r,i,n);case 3:e:{if(Wx(t),e===null)throw Error(M(387));r=t.pendingProps,o=t.memoizedState,i=o.element,px(e,t),Wl(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=ko(Error(M(423)),t),t=tb(e,t,r,n,i);break e}if(r!==i){i=ko(Error(M(424)),t),t=tb(e,t,r,n,i);break e}for(Xt=$r(t.stateNode.containerInfo.firstChild),Yt=t,Oe=!0,En=null,n=yx(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(xo(),r===i){t=gr(e,t,n);break e}Rt(e,t,r,n)}t=t.child}return t;case 5:return bx(t),e===null&&Xd(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,s=i.children,Hd(r,i)?s=null:o!==null&&Hd(r,o)&&(t.flags|=32),Hx(e,t),Rt(e,t,s,n),t.child;case 6:return e===null&&Xd(t),null;case 13:return Ux(e,t,n);case 4:return Vh(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=wo(t,null,r,n):Rt(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Tn(r,i),Z0(e,t,r,i,n);case 7:return Rt(e,t,t.pendingProps,n),t.child;case 8:return Rt(e,t,t.pendingProps.children,n),t.child;case 12:return Rt(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,Ce(jl,r._currentValue),r._currentValue=s,o!==null)if(_n(o.value,s)){if(o.children===i.children&&!At.current){t=gr(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=dr(-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),Yd(o.return,n,t),a.lanes|=n;break}l=l.next}}else if(o.tag===10)s=o.type===t.type?null:o.child;else if(o.tag===18){if(s=o.return,s===null)throw Error(M(341));s.lanes|=n,a=s.alternate,a!==null&&(a.lanes|=n),Yd(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}Rt(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,go(t,n),i=vn(i),r=r(i),t.flags|=1,Rt(e,t,r,n),t.child;case 14:return r=t.type,i=Tn(r,t.pendingProps),i=Tn(r.type,i),J0(e,t,r,i,n);case 15:return Nx(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Tn(r,i),Tl(e,t),t.tag=1,Dt(r)?(e=!0,Bl(t)):e=!1,go(t,n),gx(t,r,i),Qd(t,r,i,n),eh(null,t,r,!0,e,n);case 19:return Gx(e,t,n);case 22:return jx(e,t,n)}throw Error(M(156,t.tag))};function cw(e,t){return Lb(e,t)}function kI(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 mn(e,t,n,r){return new kI(e,t,n,r)}function Kh(e){return e=e.prototype,!(!e||!e.isReactComponent)}function CI(e){if(typeof e=="function")return Kh(e)?1:0;if(e!=null){if(e=e.$$typeof,e===mh)return 11;if(e===gh)return 14}return 2}function Wr(e,t){var n=e.alternate;return n===null?(n=mn(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 Fl(e,t,n,r,i,o){var s=2;if(r=e,typeof e=="function")Kh(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case eo:return xi(n.children,i,o,t);case ph:s=8,i|=8;break;case wd:return e=mn(12,n,t,2|i),e.elementType=wd,e.lanes=o,e;case Sd:return e=mn(13,n,t,i),e.elementType=Sd,e.lanes=o,e;case kd:return e=mn(19,n,t,i),e.elementType=kd,e.lanes=o,e;case vb:return cc(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case mb:s=10;break e;case gb:s=9;break e;case mh:s=11;break e;case gh:s=14;break e;case Ir:s=16,r=null;break e}throw Error(M(130,e==null?e:typeof e,""))}return t=mn(s,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function xi(e,t,n,r){return e=mn(7,e,r,t),e.lanes=n,e}function cc(e,t,n,r){return e=mn(22,e,r,t),e.elementType=vb,e.lanes=n,e.stateNode={isHidden:!1},e}function yd(e,t,n){return e=mn(6,e,null,t),e.lanes=n,e}function bd(e,t,n){return t=mn(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function TI(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=nd(0),this.expirationTimes=nd(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=nd(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Qh(e,t,n,r,i,o,s,a,l){return e=new TI(e,t,n,a,l),t===1?(t=1,o===!0&&(t|=8)):t=0,o=mn(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Lh(o),e}function RI(e,t,n){var r=3.04045?Math.pow((n+.055)/1.055,2.4):n/12.92}static yToL(n){return n<=t.epsilon?n/t.refY*t.kappa:116*Math.pow(n/t.refY,1/3)-16}static lToY(n){return n<=8?t.refY*n/t.kappa:t.refY*Math.pow((n+16)/116,3)}static rgbChannelToHex(n){let r=Math.round(n*255),i=r%16,o=(r-i)/16|0;return t.hexChars.charAt(o)+t.hexChars.charAt(i)}static hexToRgbChannel(n,r){let i=t.hexChars.indexOf(n.charAt(r)),o=t.hexChars.indexOf(n.charAt(r+1));return(i*16+o)/255}static distanceFromOriginAngle(n,r,i){let o=r/(Math.sin(i)-n*Math.cos(i));return o<0?1/0:o}static distanceFromOrigin(n,r){return Math.abs(r)/Math.sqrt(Math.pow(n,2)+1)}static min6(n,r,i,o,s,a){return Math.min(n,Math.min(r,Math.min(i,Math.min(o,Math.min(s,a)))))}rgbToHex(){this.hex="#",this.hex+=t.rgbChannelToHex(this.rgb_r),this.hex+=t.rgbChannelToHex(this.rgb_g),this.hex+=t.rgbChannelToHex(this.rgb_b)}hexToRgb(){this.hex=this.hex.toLowerCase(),this.rgb_r=t.hexToRgbChannel(this.hex,1),this.rgb_g=t.hexToRgbChannel(this.hex,3),this.rgb_b=t.hexToRgbChannel(this.hex,5)}xyzToRgb(){this.rgb_r=t.fromLinear(t.m_r0*this.xyz_x+t.m_r1*this.xyz_y+t.m_r2*this.xyz_z),this.rgb_g=t.fromLinear(t.m_g0*this.xyz_x+t.m_g1*this.xyz_y+t.m_g2*this.xyz_z),this.rgb_b=t.fromLinear(t.m_b0*this.xyz_x+t.m_b1*this.xyz_y+t.m_b2*this.xyz_z)}rgbToXyz(){let n=t.toLinear(this.rgb_r),r=t.toLinear(this.rgb_g),i=t.toLinear(this.rgb_b);this.xyz_x=.41239079926595*n+.35758433938387*r+.18048078840183*i,this.xyz_y=.21263900587151*n+.71516867876775*r+.072192315360733*i,this.xyz_z=.019330818715591*n+.11919477979462*r+.95053215224966*i}xyzToLuv(){let n=this.xyz_x+15*this.xyz_y+3*this.xyz_z,r=4*this.xyz_x,i=9*this.xyz_y;n!==0?(r/=n,i/=n):(r=NaN,i=NaN),this.luv_l=t.yToL(this.xyz_y),this.luv_l===0?(this.luv_u=0,this.luv_v=0):(this.luv_u=13*this.luv_l*(r-t.refU),this.luv_v=13*this.luv_l*(i-t.refV))}luvToXyz(){if(this.luv_l===0){this.xyz_x=0,this.xyz_y=0,this.xyz_z=0;return}let n=this.luv_u/(13*this.luv_l)+t.refU,r=this.luv_v/(13*this.luv_l)+t.refV;this.xyz_y=t.lToY(this.luv_l),this.xyz_x=0-9*this.xyz_y*n/((n-4)*r-n*r),this.xyz_z=(9*this.xyz_y-15*r*this.xyz_y-r*this.xyz_x)/(3*r)}luvToLch(){if(this.lch_l=this.luv_l,this.lch_c=Math.sqrt(this.luv_u*this.luv_u+this.luv_v*this.luv_v),this.lch_c<1e-8)this.lch_h=0;else{let n=Math.atan2(this.luv_v,this.luv_u);this.lch_h=n*180/Math.PI,this.lch_h<0&&(this.lch_h=360+this.lch_h)}}lchToLuv(){let n=this.lch_h/180*Math.PI;this.luv_l=this.lch_l,this.luv_u=Math.cos(n)*this.lch_c,this.luv_v=Math.sin(n)*this.lch_c}calculateBoundingLines(n){let r=Math.pow(n+16,3)/1560896,i=r>t.epsilon?r:n/t.kappa,o=i*(284517*t.m_r0-94839*t.m_r2),s=i*(838422*t.m_r2+769860*t.m_r1+731718*t.m_r0),a=i*(632260*t.m_r2-126452*t.m_r1),l=i*(284517*t.m_g0-94839*t.m_g2),c=i*(838422*t.m_g2+769860*t.m_g1+731718*t.m_g0),u=i*(632260*t.m_g2-126452*t.m_g1),f=i*(284517*t.m_b0-94839*t.m_b2),d=i*(838422*t.m_b2+769860*t.m_b1+731718*t.m_b0),m=i*(632260*t.m_b2-126452*t.m_b1);this.r0s=o/a,this.r0i=s*n/a,this.r1s=o/(a+126452),this.r1i=(s-769860)*n/(a+126452),this.g0s=l/u,this.g0i=c*n/u,this.g1s=l/(u+126452),this.g1i=(c-769860)*n/(u+126452),this.b0s=f/m,this.b0i=d*n/m,this.b1s=f/(m+126452),this.b1i=(d-769860)*n/(m+126452)}calcMaxChromaHpluv(){let n=t.distanceFromOrigin(this.r0s,this.r0i),r=t.distanceFromOrigin(this.r1s,this.r1i),i=t.distanceFromOrigin(this.g0s,this.g0i),o=t.distanceFromOrigin(this.g1s,this.g1i),s=t.distanceFromOrigin(this.b0s,this.b0i),a=t.distanceFromOrigin(this.b1s,this.b1i);return t.min6(n,r,i,o,s,a)}calcMaxChromaHsluv(n){let r=n/360*Math.PI*2,i=t.distanceFromOriginAngle(this.r0s,this.r0i,r),o=t.distanceFromOriginAngle(this.r1s,this.r1i,r),s=t.distanceFromOriginAngle(this.g0s,this.g0i,r),a=t.distanceFromOriginAngle(this.g1s,this.g1i,r),l=t.distanceFromOriginAngle(this.b0s,this.b0i,r),c=t.distanceFromOriginAngle(this.b1s,this.b1i,r);return t.min6(i,o,s,a,l,c)}hsluvToLch(){if(this.hsluv_l>99.9999999)this.lch_l=100,this.lch_c=0;else if(this.hsluv_l<1e-8)this.lch_l=0,this.lch_c=0;else{this.lch_l=this.hsluv_l,this.calculateBoundingLines(this.hsluv_l);let n=this.calcMaxChromaHsluv(this.hsluv_h);this.lch_c=n/100*this.hsluv_s}this.lch_h=this.hsluv_h}lchToHsluv(){if(this.lch_l>99.9999999)this.hsluv_s=0,this.hsluv_l=100;else if(this.lch_l<1e-8)this.hsluv_s=0,this.hsluv_l=0;else{this.calculateBoundingLines(this.lch_l);let n=this.calcMaxChromaHsluv(this.lch_h);this.hsluv_s=this.lch_c/n*100,this.hsluv_l=this.lch_l}this.hsluv_h=this.lch_h}hpluvToLch(){if(this.hpluv_l>99.9999999)this.lch_l=100,this.lch_c=0;else if(this.hpluv_l<1e-8)this.lch_l=0,this.lch_c=0;else{this.lch_l=this.hpluv_l,this.calculateBoundingLines(this.hpluv_l);let n=this.calcMaxChromaHpluv();this.lch_c=n/100*this.hpluv_p}this.lch_h=this.hpluv_h}lchToHpluv(){if(this.lch_l>99.9999999)this.hpluv_p=0,this.hpluv_l=100;else if(this.lch_l<1e-8)this.hpluv_p=0,this.hpluv_l=0;else{this.calculateBoundingLines(this.lch_l);let n=this.calcMaxChromaHpluv();this.hpluv_p=this.lch_c/n*100,this.hpluv_l=this.lch_l}this.hpluv_h=this.lch_h}hsluvToRgb(){this.hsluvToLch(),this.lchToLuv(),this.luvToXyz(),this.xyzToRgb()}hpluvToRgb(){this.hpluvToLch(),this.lchToLuv(),this.luvToXyz(),this.xyzToRgb()}hsluvToHex(){this.hsluvToRgb(),this.rgbToHex()}hpluvToHex(){this.hpluvToRgb(),this.rgbToHex()}rgbToHsluv(){this.rgbToXyz(),this.xyzToLuv(),this.luvToLch(),this.lchToHpluv(),this.lchToHsluv()}rgbToHpluv(){this.rgbToXyz(),this.xyzToLuv(),this.luvToLch(),this.lchToHpluv(),this.lchToHpluv()}hexToHsluv(){this.hexToRgb(),this.rgbToHsluv()}hexToHpluv(){this.hexToRgb(),this.rgbToHpluv()}};e.Hsluv=t,t.hexChars="0123456789abcdef",t.refY=1,t.refU=.19783000664283,t.refV=.46831999493879,t.kappa=903.2962962,t.epsilon=.0088564516,t.m_r0=3.240969941904521,t.m_r1=-1.537383177570093,t.m_r2=-.498610760293,t.m_g0=-.96924363628087,t.m_g1=1.87596750150772,t.m_g2=.041555057407175,t.m_b0=.055630079696993,t.m_b1=-.20397695888897,t.m_b2=1.056971514242878}}),UI=sn({"../../../node_modules/eventemitter3/index.js"(e,t){"use strict";var n=Object.prototype.hasOwnProperty,r="~";function i(){}Object.create&&(i.prototype=Object.create(null),new i().__proto__||(r=!1));function o(c,u,f){this.fn=c,this.context=u,this.once=f||!1}function s(c,u,f,d,m){if(typeof f!="function")throw new TypeError("The listener must be a function");var v=new o(f,d||c,m),y=r?r+u:u;return c._events[y]?c._events[y].fn?c._events[y]=[c._events[y],v]:c._events[y].push(v):(c._events[y]=v,c._eventsCount++),c}function a(c,u){--c._eventsCount===0?c._events=new i:delete c._events[u]}function l(){this._events=new i,this._eventsCount=0}l.prototype.eventNames=function(){var u=[],f,d;if(this._eventsCount===0)return u;for(d in f=this._events)n.call(f,d)&&u.push(r?d.slice(1):d);return Object.getOwnPropertySymbols?u.concat(Object.getOwnPropertySymbols(f)):u},l.prototype.listeners=function(u){var f=r?r+u:u,d=this._events[f];if(!d)return[];if(d.fn)return[d.fn];for(var m=0,v=d.length,y=new Array(v);m1)for(var g=1;g0})},o=function(){return r.some(function(F){return F.skippedTargets.length>0})},s="ResizeObserver loop completed with undelivered notifications.",a=function(){var F;typeof ErrorEvent=="function"?F=new ErrorEvent("error",{message:s}):(F=document.createEvent("Event"),F.initEvent("error",!1,!1),F.message=s),_.dispatchEvent(F)},l;(function(F){F.BORDER_BOX="border-box",F.CONTENT_BOX="content-box",F.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(l||(l={}));var c=function(F){return Object.freeze(F)},u=function(){function F(P,L){this.inlineSize=P,this.blockSize=L,c(this)}return F}(),f=function(){function F(P,L,U,fe){return this.x=P,this.y=L,this.width=U,this.height=fe,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,c(this)}return F.prototype.toJSON=function(){var P=this,L=P.x,U=P.y,fe=P.top,Ct=P.right,st=P.bottom,Ue=P.left,nr=P.width,Ht=P.height;return{x:L,y:U,top:fe,right:Ct,bottom:st,left:Ue,width:nr,height:Ht}},F.fromRect=function(P){return new F(P.x,P.y,P.width,P.height)},F}(),d=function(F){return F instanceof SVGElement&&"getBBox"in F},m=function(F){if(d(F)){var P=F.getBBox(),L=P.width,U=P.height;return!L&&!U}var fe=F,Ct=fe.offsetWidth,st=fe.offsetHeight;return!(Ct||st||F.getClientRects().length)},v=function(F){var P,L;if(F instanceof Element)return!0;var U=(L=(P=F)===null||P===void 0?void 0:P.ownerDocument)===null||L===void 0?void 0:L.defaultView;return!!(U&&F instanceof U.Element)},y=function(F){switch(F.tagName){case"INPUT":if(F.type!=="image")break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1},b=typeof _<"u"?_:{},h=new WeakMap,p=/auto|scroll/,g=/^tb|vertical/,x=/msie|trident/i.test(b.navigator&&b.navigator.userAgent),C=function(F){return parseFloat(F||"0")},S=function(F,P,L){return F===void 0&&(F=0),P===void 0&&(P=0),L===void 0&&(L=!1),new u((L?P:F)||0,(L?F:P)||0)},T=c({devicePixelContentBoxSize:S(),borderBoxSize:S(),contentBoxSize:S(),contentRect:new f(0,0,0,0)}),E=function(F,P){if(P===void 0&&(P=!1),h.has(F)&&!P)return h.get(F);if(m(F))return h.set(F,T),T;var L=getComputedStyle(F),U=d(F)&&F.ownerSVGElement&&F.getBBox(),fe=!x&&L.boxSizing==="border-box",Ct=g.test(L.writingMode||""),st=!U&&p.test(L.overflowY||""),Ue=!U&&p.test(L.overflowX||""),nr=U?0:C(L.paddingTop),Ht=U?0:C(L.paddingRight),ti=U?0:C(L.paddingBottom),Di=U?0:C(L.paddingLeft),Nk=U?0:C(L.borderTopWidth),jk=U?0:C(L.borderRightWidth),Hk=U?0:C(L.borderBottomWidth),Wk=U?0:C(L.borderLeftWidth),um=Di+Ht,fm=nr+ti,au=Wk+jk,lu=Nk+Hk,dm=Ue?F.offsetHeight-lu-F.clientHeight:0,hm=st?F.offsetWidth-au-F.clientWidth:0,Uk=fe?um+au:0,Gk=fe?fm+lu:0,ua=U?U.width:C(L.width)-Uk-hm,fa=U?U.height:C(L.height)-Gk-dm,qk=ua+um+hm+au,Xk=fa+fm+dm+lu,pm=c({devicePixelContentBoxSize:S(Math.round(ua*devicePixelRatio),Math.round(fa*devicePixelRatio),Ct),borderBoxSize:S(qk,Xk,Ct),contentBoxSize:S(ua,fa,Ct),contentRect:new f(Di,nr,ua,fa)});return h.set(F,pm),pm},O=function(F,P,L){var U=E(F,L),fe=U.borderBoxSize,Ct=U.contentBoxSize,st=U.devicePixelContentBoxSize;switch(P){case l.DEVICE_PIXEL_CONTENT_BOX:return st;case l.BORDER_BOX:return fe;default:return Ct}},I=function(){function F(P){var L=E(P);this.target=P,this.contentRect=L.contentRect,this.borderBoxSize=c([L.borderBoxSize]),this.contentBoxSize=c([L.contentBoxSize]),this.devicePixelContentBoxSize=c([L.devicePixelContentBoxSize])}return F}(),$=function(F){if(m(F))return 1/0;for(var P=0,L=F.parentNode;L;)P+=1,L=L.parentNode;return P},N=function(){var F=1/0,P=[];r.forEach(function(st){if(st.activeTargets.length!==0){var Ue=[];st.activeTargets.forEach(function(Ht){var ti=new I(Ht.target),Di=$(Ht.target);Ue.push(ti),Ht.lastReportedSize=O(Ht.target,Ht.observedBox),DiF?L.activeTargets.push(fe):L.skippedTargets.push(fe))})})},ie=function(){var F=0;for(D(F);i();)F=N(),D(F);return o()&&a(),F>0},G,he=[],H=function(){return he.splice(0).forEach(function(F){return F()})},Y=function(F){if(!G){var P=0,L=document.createTextNode(""),U={characterData:!0};new MutationObserver(function(){return H()}).observe(L,U),G=function(){L.textContent=""+(P?P--:P++)}}he.push(F),G()},se=function(F){Y(function(){requestAnimationFrame(F)})},ue=0,we=function(){return!!ue},Se=250,oe={attributes:!0,characterData:!0,childList:!0,subtree:!0},ne=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],Ze=function(F){return F===void 0&&(F=0),Date.now()+F},Me=!1,kt=function(){function F(){var P=this;this.stopped=!0,this.listener=function(){return P.schedule()}}return F.prototype.run=function(P){var L=this;if(P===void 0&&(P=Se),!Me){Me=!0;var U=Ze(P);se(function(){var fe=!1;try{fe=ie()}finally{if(Me=!1,P=U-Ze(),!we())return;fe?L.run(1e3):P>0?L.run(P):L.start()}})}},F.prototype.schedule=function(){this.stop(),this.run()},F.prototype.observe=function(){var P=this,L=function(){return P.observer&&P.observer.observe(document.body,oe)};document.body?L():b.addEventListener("DOMContentLoaded",L)},F.prototype.start=function(){var P=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),ne.forEach(function(L){return b.addEventListener(L,P.listener,!0)}))},F.prototype.stop=function(){var P=this;this.stopped||(this.observer&&this.observer.disconnect(),ne.forEach(function(L){return b.removeEventListener(L,P.listener,!0)}),this.stopped=!0)},F}(),Be=new kt,Je=function(F){!ue&&F>0&&Be.start(),ue+=F,!ue&&Be.stop()},wn=function(F){return!d(F)&&!y(F)&&getComputedStyle(F).display==="inline"},rn=function(){function F(P,L){this.target=P,this.observedBox=L||l.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return F.prototype.isActive=function(){var P=O(this.target,this.observedBox,!0);return wn(this.target)&&(this.lastReportedSize=P),this.lastReportedSize.inlineSize!==P.inlineSize||this.lastReportedSize.blockSize!==P.blockSize},F}(),le=function(){function F(P,L){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=P,this.callback=L}return F}(),Ln=new WeakMap,et=function(F,P){for(var L=0;L=0&&(Ct&&r.splice(r.indexOf(U),1),U.observationTargets.splice(fe,1),Je(-1))},F.disconnect=function(P){var L=this,U=Ln.get(P);U.observationTargets.slice().forEach(function(fe){return L.unobserve(P,fe.target)}),U.activeTargets.splice(0,U.activeTargets.length)},F}(),ca=function(){function F(P){if(arguments.length===0)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if(typeof P!="function")throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");on.connect(this,P)}return F.prototype.observe=function(P,L){if(arguments.length===0)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!v(P))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");on.observe(this,P,L)},F.prototype.unobserve=function(P){if(arguments.length===0)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!v(P))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");on.unobserve(this,P)},F.prototype.disconnect=function(){on.disconnect(this)},F.toString=function(){return"function ResizeObserver () { [polyfill code] }"},F}();n.ResizeObserver=ca,n.ResizeObserverEntry=I,n.ResizeObserverSize=u,Object.defineProperty(n,"__esModule",{value:!0})})}}),GI=sn({"../../../node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.production.min.js"(e){"use strict";var t=typeof Symbol=="function"&&Symbol.for,n=t?Symbol.for("react.element"):60103,r=t?Symbol.for("react.portal"):60106,i=t?Symbol.for("react.fragment"):60107,o=t?Symbol.for("react.strict_mode"):60108,s=t?Symbol.for("react.profiler"):60114,a=t?Symbol.for("react.provider"):60109,l=t?Symbol.for("react.context"):60110,c=t?Symbol.for("react.async_mode"):60111,u=t?Symbol.for("react.concurrent_mode"):60111,f=t?Symbol.for("react.forward_ref"):60112,d=t?Symbol.for("react.suspense"):60113,m=t?Symbol.for("react.suspense_list"):60120,v=t?Symbol.for("react.memo"):60115,y=t?Symbol.for("react.lazy"):60116,b=t?Symbol.for("react.block"):60121,h=t?Symbol.for("react.fundamental"):60117,p=t?Symbol.for("react.responder"):60118,g=t?Symbol.for("react.scope"):60119;function x(S){if(typeof S=="object"&&S!==null){var T=S.$$typeof;switch(T){case n:switch(S=S.type,S){case c:case u:case i:case s:case o:case d:return S;default:switch(S=S&&S.$$typeof,S){case l:case f:case y:case v:case a:return S;default:return T}}case r:return T}}}function C(S){return x(S)===u}e.AsyncMode=c,e.ConcurrentMode=u,e.ContextConsumer=l,e.ContextProvider=a,e.Element=n,e.ForwardRef=f,e.Fragment=i,e.Lazy=y,e.Memo=v,e.Portal=r,e.Profiler=s,e.StrictMode=o,e.Suspense=d,e.isAsyncMode=function(S){return C(S)||x(S)===c},e.isConcurrentMode=C,e.isContextConsumer=function(S){return x(S)===l},e.isContextProvider=function(S){return x(S)===a},e.isElement=function(S){return typeof S=="object"&&S!==null&&S.$$typeof===n},e.isForwardRef=function(S){return x(S)===f},e.isFragment=function(S){return x(S)===i},e.isLazy=function(S){return x(S)===y},e.isMemo=function(S){return x(S)===v},e.isPortal=function(S){return x(S)===r},e.isProfiler=function(S){return x(S)===s},e.isStrictMode=function(S){return x(S)===o},e.isSuspense=function(S){return x(S)===d},e.isValidElementType=function(S){return typeof S=="string"||typeof S=="function"||S===i||S===u||S===s||S===o||S===d||S===m||typeof S=="object"&&S!==null&&(S.$$typeof===y||S.$$typeof===v||S.$$typeof===a||S.$$typeof===l||S.$$typeof===f||S.$$typeof===h||S.$$typeof===p||S.$$typeof===g||S.$$typeof===b)},e.typeOf=x}}),qI=sn({"../../../node_modules/hoist-non-react-statics/node_modules/react-is/index.js"(e,t){"use strict";t.exports=GI()}}),Zc=sn({"../../../node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js"(e,t){"use strict";var n=qI(),r={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},a={};a[n.ForwardRef]=o,a[n.Memo]=s;function l(b){return n.isMemo(b)?s:a[b.$$typeof]||r}var c=Object.defineProperty,u=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,m=Object.getPrototypeOf,v=Object.prototype;function y(b,h,p){if(typeof h!="string"){if(v){var g=m(h);g&&g!==v&&y(b,g,p)}var x=u(h);f&&(x=x.concat(f(h)));for(var C=l(b),S=l(h),T=0;TparseInt(h[1],10)}else u=!1;return u}function v(){return d===null&&(d=!!document.fonts),d}function y(){if(f===null){var h=document.createElement("div");try{h.style.font="condensed 100px sans-serif"}catch{}f=h.style.font!==""}return f}function b(h,p){return[h.style,h.weight,y()?h.stretch:"","100px",p].join(" ")}l.prototype.load=function(h,p){var g=this,x=h||"BESbswy",C=0,S=p||3e3,T=new Date().getTime();return new Promise(function(E,O){if(v()&&!m()){var I=new Promise(function(N,D){function ie(){new Date().getTime()-T>=S?D(Error(""+S+"ms timeout exceeded")):document.fonts.load(b(g,'"'+g.family+'"'),x).then(function(G){1<=G.length?N():setTimeout(ie,25)},D)}ie()}),$=new Promise(function(N,D){C=setTimeout(function(){D(Error(""+S+"ms timeout exceeded"))},S)});Promise.race([$,I]).then(function(){clearTimeout(C),E(g)},O)}else r(function(){function N(){var ne;(ne=H!=-1&&Y!=-1||H!=-1&&se!=-1||Y!=-1&&se!=-1)&&((ne=H!=Y&&H!=se&&Y!=se)||(c===null&&(ne=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))/.exec(_.navigator.userAgent),c=!!ne&&(536>parseInt(ne[1],10)||parseInt(ne[1],10)===536&&11>=parseInt(ne[2],10))),ne=c&&(H==ue&&Y==ue&&se==ue||H==we&&Y==we&&se==we||H==Se&&Y==Se&&se==Se)),ne=!ne),ne&&(oe.parentNode&&oe.parentNode.removeChild(oe),clearTimeout(C),E(g))}function D(){if(new Date().getTime()-T>=S)oe.parentNode&&oe.parentNode.removeChild(oe),O(Error(""+S+"ms timeout exceeded"));else{var ne=document.hidden;(ne===!0||ne===void 0)&&(H=ie.a.offsetWidth,Y=G.a.offsetWidth,se=he.a.offsetWidth,N()),C=setTimeout(D,50)}}var ie=new i(x),G=new i(x),he=new i(x),H=-1,Y=-1,se=-1,ue=-1,we=-1,Se=-1,oe=document.createElement("div");oe.dir="ltr",o(ie,b(g,"sans-serif")),o(G,b(g,"serif")),o(he,b(g,"monospace")),oe.appendChild(ie.a),oe.appendChild(G.a),oe.appendChild(he.a),document.body.appendChild(oe),ue=ie.a.offsetWidth,we=G.a.offsetWidth,Se=he.a.offsetWidth,D(),a(ie,function(ne){H=ne,N()}),o(ie,b(g,'"'+g.family+'",sans-serif')),a(G,function(ne){Y=ne,N()}),o(G,b(g,'"'+g.family+'",serif')),a(he,function(ne){se=ne,N()}),o(he,b(g,'"'+g.family+'",monospace'))})})},typeof t=="object"?t.exports=l:(_.FontFaceObserver=l,_.FontFaceObserver.prototype.load=l.prototype.load)})()}});function kp(e,t){let n={style:t};return w.isValidElement(e)?w.cloneElement(e,n):w.createElement(e,n)}var YI=class extends Error{},Cc=class extends Error{},KI=class extends ke{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 YI)){let n=new Cc;throw n.cause=this.state.error,n}let{notFoundPage:e,defaultPageStyle:t}=this.props;if(!e)throw this.state.error;return kp(e,t)}},QI=":([a-z]\\w*)",Li=new RegExp(QI,"gi");function GS(e,t){return e.replace(Li,(n,r)=>{let i=t[r];return typeof i!="string"||i.length===0?n:encodeURIComponent(i)})}function qS(e,t){if(!e.startsWith("/")||!t.startsWith("/"))throw new Error("from/to paths are expected to be absolute");let[n]=mw(e),[r,i]=mw(t),o=ZI(n,r);return o===""&&(o="."),!o.startsWith(".")&&!o.startsWith("/")&&(o="./"+o),o+"/"+i}function mw(e){let t=e.lastIndexOf("/");return[e.substring(0,t+1),e.substring(t+1)]}var tp=46,Fo=47,Jr=(e,t)=>e.charCodeAt(t),gw=(e,t)=>e.lastIndexOf(t),_o=(e,t,n)=>e.slice(t,n);function ZI(e,t){if(e===t||(e="/"+yw(e),t="/"+yw(t),e===t))return"";let n=1,r=e.length,i=r-n,o=1,s=t.length-o,a=ia){if(Jr(t,o+c)===Fo)return _o(t,o+c+1);if(c===0)return _o(t,o+c)}else i>a&&(Jr(e,n+c)===Fo?l=c:c===0&&(l=0));let u="";for(c=n+l+1;c<=r;++c)(c===r||Jr(e,c)===Fo)&&(u+=u.length===0?"..":"/..");return`${u}${_o(t,o+l)}`}var JI=!1,pc="/",vw=e=>e===Fo;function yw(e){let t="",n=0,r=-1,i=0,o=0;for(let s=0;s<=e.length;++s){if(s2){let a=gw(t,pc);a===-1?(t="",n=0):(t=_o(t,0,a),n=t.length-1-gw(t,pc)),r=s,i=0;continue}else if(t.length!==0){t="",n=0,r=s,i=0;continue}}JI&&(t+=t.length>0?`${pc}..`:"..",n=2)}else t.length>0?t+=`${pc}${_o(e,r+1,s)}`:t=_o(e,r+1,s),n=s-r-1;r=s,i=0}else o===tp&&i!==-1?++i:i=-1}return t}function XS(e){let t=typeof _<"u"?_.location.search:"";return t?eO(t,e):e}function eO(e,t){let n=t.indexOf("#"),r=n===-1?t:t.substring(0,n),i=n===-1?"":t.substring(n),o=r.indexOf("?");if(o===-1)return r+e+i;let s=new URLSearchParams(e),a=r.substring(o+1),l=new URLSearchParams(a);for(let[c,u]of s)l.has(c)||l.append(c,u);return r.substring(0,o+1)+l.toString()+i}function oa(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function Mi(e){return typeof e=="string"}var tO="preload";function nO(e){return typeof e=="object"&&e!==null&&!w.isValidElement(e)&&tO in e}function aB(e){let t=w.lazy(e),n,r,i=w.forwardRef(function(s,a){return w.createElement(r??t,a?{ref:a,...s}:s)});return i.preload=()=>(n||(n=e().then(o=>(r=o.default,r))),n),i}function Bp(e,t){if(t&&e)return e.elements&&t in e.elements?e.elements[t]:t}function rO(e){return/bot|-google|google-|yandex|ia_archiver/iu.test(e)}function YS(e){if("scheduler"in _){if("yield"in scheduler)return scheduler.yield(e);if("postTask"in scheduler)return scheduler.postTask(()=>{},e)}return e?.priority==="user-blocking"?Promise.resolve():new Promise(t=>{setTimeout(t)})}async function KS(e,t){return await YS(t),e()}function sa(e){return new Promise(t=>{setTimeout(t,100),requestAnimationFrame(()=>{KS(t,e)})})}function iO(e,t,n,r=Le){r(()=>{let i=async s=>(await sa(n),s()),o=i(e);return()=>{(async()=>{let s=await o;s&&i(s)})()}},t)}var Mc=()=>{},oO=[];async function sO(e,t,n,r,i,o,s){var a,l,c;let u=e,f=!1,d={...o},m=Array.from(u.matchAll(Li)),v=await Promise.all(m.map(async p=>{var g;let x=p?.[0],C=p?.[1];if(!x||!C)throw new Error("Failed to replace path variables: unexpected regex match group");let S=o[C];if(!S||!Mi(S))throw new Error(`No slug found for path variable ${C}`);let T=await((g=s?.[i])===null||g===void 0?void 0:g.call(s));if(!T||!t)return S;let E=await T.getRecordIdBySlug(S,t);if(!E)return S;let O=await T.getSlugByRecordId(E,n);if(!O){f=!0;let I=await T.getSlugByRecordId(E,r);return I&&(d[C]=I),I??S}return d[C]=O,O})),y=0,b="",h=!1;for(let p=0;p`--view-transition-${e}`;function Cp(e){return[parseFloat(e),e.endsWith("px")?"px":"%"]}function ZS(e){let{innerWidth:t,innerHeight:n}=_,[r,i]=Cp(e.x),[o,s]=Cp(e.y);return{x:i==="px"?r:t*(r/100),y:s==="px"?o:n*(o/100)}}var hO={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),`${wr("conic-offset")}: ${r}%;`},makeStyles:(e,t)=>{let n=`var(${wr("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 ${wr("conic-offset")} { syntax: ''; initial-value: 0%; inherits: false; } `},pO={makeKeyframe:(e,t)=>{let{x:n,y:r}=ZS(e);return t==="start"?`clip-path: circle(0 at ${n}px ${r}px);`:`clip-path: circle(${Math.hypot(Math.max(n,_.innerWidth-n),Math.max(r,_.innerHeight-r))}px at ${n}px ${r}px);`}},mO={makeKeyframe:(e,t)=>{let{x:n,y:r}=ZS(e),i=_.innerHeight-r,o=_.innerWidth-n;return t==="start"?`clip-path: inset(${r}px ${o}px ${i}px ${n}px round ${e.round}px);`:"clip-path: inset(0 round 0);"}},gO={makeKeyframe:(e,t,n)=>{let[,r]=Cp(e.width),i=`0${r}`;return(t==="start"&&n==="exit"||t==="end"&&n==="enter")&&(i=e.width),`${wr("blinds-width")}: ${i};`},makeStyles:(e,t)=>{let n=`var(${wr("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 ${wr("blinds-width")} { syntax: ''; initial-value: 0px; inherits: false; } `},vO={makeKeyframe:(e,t,n)=>{let r=t==="start"&&n==="exit"||t==="end"&&n==="enter"?1:0;return`${wr("wipe-offset")}: ${r};`},makeStyles:(e,t)=>{let n=`var(${wr("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 ${wr("wipe-offset")} { syntax: ''; initial-value: 0; inherits: false; } `},yO={circle:pO,conic:hO,inset:mO,blinds:gO,wipe:vO},bO={opacity:1,x:"0px",y:"0px",scale:1,rotate:0,rotateX:0,rotateY:0,mask:void 0};function bw(e,t,n,r){var i;let o=` opacity: ${e.opacity}; transform: translate(${e.x}, ${e.y}) scale(${e.scale}) rotateX(${e.rotateX}deg) rotateY(${e.rotateY}deg) rotateZ(${e.rotate}deg); `;return e.mask&&(o+=((i=r?.makeKeyframe)===null||i===void 0?void 0:i.call(r,e.mask,t,n))||""),o}function xO(e){return e?yO[e]:void 0}function xw(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(wO(t)){let{easing:c,duration:u}=dO(is({keyframes:[0,1],...SO(t),restDelta:.001,restSpeed:1e-4}));o.duration=u+"ms",o.easing=c}let s=xO((r=n?.mask)===null||r===void 0?void 0:r.type),a=bw(n,"start",e,s),l=bw({...bO,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 wO(e){return e.type==="spring"}function SO(e){return e.durationBasedSpring?{duration:e.duration,bounce:e.bounce}:{stiffness:e.stiffness,damping:e.damping,mass:e.mass}}var JS="view-transition-styles",kO={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 CO({exit:e=kO,enter:t}){let n=document.createElement("style");n.id=JS;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+=xw("exit",e),r+=xw("enter",t),n.textContent=r,document.head.appendChild(n)}var TO=(()=>typeof _<"u"?_.requestIdleCallback||_.setTimeout:setTimeout)();function RO(){TO(()=>{J.render(()=>{performance.mark("framer-vt-remove");let e=document.getElementById(JS);e&&document.head.removeChild(e)})})}var ww=()=>{};function EO(){return!!document.startViewTransition}function FO(e){return new Promise(t=>{J.render(()=>{performance.mark("framer-vt-style"),CO(e),t()})})}async function Sw(e,t,n){if(!EO()){e();return}if(await FO(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(ww),Promise.all([r.ready,r.finished]).then(()=>{performance.mark("framer-vt-finished"),RO()}).catch(ww),r}function e1(){let e=uO(),t=V(void 0);return j(()=>{t.current&&(t.current(),t.current=void 0)}),Z((n,r,i,o,s)=>{let a=lO(n,r,e);if(a){let l=new Promise(f=>{t.current=f}),c=async()=>{i(),await l},u=async()=>(await sa({priority:"user-blocking",signal:s}).catch(Mc),Sw(c,a,s));return o?u():Sw(c,a)}else return i()},[e])}function t1(e){let t=`${e}-start`,n=`${e}-end`,r=V(void 0);return iO(()=>{r.current&&(r.current(),r.current=void 0)},void 0,{priority:"user-blocking"}),Z(()=>{let i=new Promise(o=>{r.current=o});return performance.mark(t),i.finally(()=>{performance.mark(n),performance.measure(e,t,n)}).catch(o=>{console.error(o)})},[e,t,n])}async function kw(e,t,{currentRoutePath:n,currentPathVariables:r,hash:i,pathVariables:o,localeId:s,preserveQueryParams:a},l=!1,c=!1){let{path:u}=t;if(u)try{let f=LO(t,{currentRoutePath:n,currentPathVariables:r,hash:i,pathVariables:o,preserveQueryParams:a}),d=n1({routeId:e,hash:i,pathVariables:o,localeId:s},f,l,c);l||await d}catch{}}function PO(e){let t="routeId";return oa(e)&&Mi(e[t])}function _O(e,t,n=!1){performance.mark("framer-history-replace"),(n?_.history.__proto__.replaceState:_.history.replaceState).call(_.history,e,"",t)}var mc=!0,Cw=(()=>{if(typeof qe>"u")return!1;let e=qe.userAgent,t=e.indexOf("Chrome/"),n=+e.slice(t+7,e.indexOf(".",t));return n>101&&n<128})();async function n1(e,t,n=!1,r=!1){if(n&&await sa({priority:"user-blocking"}),performance.mark("framer-history-push"),!r){_.history.pushState(e,"",t);return}let i=!1,o;mc&&(o=()=>{var s;if(i=!0,Cw)return;let a="Popstate called after intercept(). Please report this to the Framer team.";console.error(a),(s=_.__framer_events)===null||s===void 0||s.push(["published_site_load_recoverable_error",{message:a,userAgent:qe.userAgent}])},_.addEventListener("popstate",o,{once:!0})),Cw&&mc?_.history.__proto__.pushState.call(_.history,e,"",t):_.history.pushState(e,"",t),mc&&queueMicrotask(()=>{i||(mc=!1,_.removeEventListener("popstate",o))})}function IO({disabled:e,routeId:t,initialPathVariables:n,initialLocaleId:r}){Le(()=>{e||(performance.mark("framer-history-set-initial-state"),_O({routeId:t,pathVariables:n,localeId:r},void 0,!0))},[])}function OO(e,t){let n=e1(),r=t1("framer-route-change-popstate"),i=V(void 0),o=Z(async({state:a})=>{var l,c,u,f,d,m;if(!((l=_.navigation)===null||l===void 0)&&l.transition&&((u=(c=_.navigation)===null||c===void 0?void 0:c.transition)===null||u===void 0?void 0:u.navigationType)!=="traverse"||!oa(a))return;let{routeId:v,hash:y,pathVariables:b,localeId:h}=a;if(!Mi(v))return;r();let p=()=>{t(v,Mi(h)?h:void 0,Mi(y)?y:void 0,oa(b)?b:void 0,!1,!0)},g=await n(e.current,v,p,!1);g?g.updateCallbackDone.then((f=i.current)===null||f===void 0?void 0:f.resolve).catch((d=i.current)===null||d===void 0?void 0:d.reject):(m=i.current)===null||m===void 0||m.resolve()},[e,r,t,n]),s=Z(a=>{a.navigationType==="traverse"&&a.intercept({async handler(){await new Promise((l,c)=>{i.current={resolve:l,reject:c}})},scroll:"after-transition"})},[]);j(()=>{var a;return _.addEventListener("popstate",o),(a=_.navigation)===null||a===void 0||a.addEventListener("navigate",s),()=>{var l;_.removeEventListener("popstate",o),(l=_.navigation)===null||l===void 0||l.removeEventListener("navigate",s)}},[o,s])}function MO(e,t,n){let r=Bp(t,e);if(!r)return;let i=Object.assign({},t?.elements,n);return r.replace(Li,(o,s)=>{var a;return String((a=i[s])!==null&&a!==void 0?a:o)})}function LO(e,{currentRoutePath:t,currentPathVariables:n,hash:r,pathVariables:i,hashVariables:o,relative:s=!0,preserveQueryParams:a}){var l;let c=t??"/";n&&(c=c.replace(Li,(v,y)=>String(n[y]||v)));let f=(l=e?.path)!==null&&l!==void 0?l:"/";i&&(f=f.replace(Li,(v,y)=>String(i[y]||v)));let d=MO(r,e,o),m=c===f&&d;return s&&(f=qS(c,f)),(a||m)&&(f=XS(f)),d&&(f=`${f}#${d}`),f}async function VO(e,t,n){if(!e.path||!t)return!1;let i=`${n.slug?`/${n.slug}`:""}${GS(e.path,t)}`;return(await fetch(i,{method:"HEAD",redirect:"manual"})).type==="opaqueredirect"?(_.location.href=_.location.origin+i,!0):!1}async function AO(e){let t=await aO(e);if(t){try{localStorage.setItem("preferredLocale",e.nextLocale.code)}catch{}try{if(!Mi(t.path))throw new Error("Expected result.path to be a string");if(t.isMissingInLocale&&await VO(e.route,t.pathVariables,e.nextLocale))return}catch{}return t}}function DO(){let e=V(Promise.resolve()),t=V(),n=Z(r=>{if(r.navigationType==="traverse")return;let i=t.current;i?.signal.addEventListener("abort",()=>{i.abort("user aborted")}),r.intercept({handler:()=>e.current})},[]);return Z((r,i,o)=>{if(!_.navigation){i();return}e.current=r,t.current=o,_.navigation.addEventListener("navigate",n),i(!0),r.catch(Mc).finally(()=>{_.navigation.removeEventListener("navigate",n)})},[n])}function br(e,t,n){try{performance.measure(e,t,n)}catch(r){console.warn(`Could not measure ${e}`,r)}}var Jn=!1;function pB(){Jn=!0,performance.mark("framer-hydration-start")}var Tw=!1,Rw=!1,Ew=!1;function zO(){let e="framer-hydration-router";tt(()=>{Tw||!Jn||(Tw=!0,performance.mark(`${e}-insertion-effect`))},[]),Le(()=>{Rw||!Jn||(Rw=!0,performance.mark(`${e}-layout-effect`))},[]),j(()=>{Ew||!Jn||(Ew=!0,performance.mark(`${e}-effect`))},[])}var Fw=!1,Pw=!1,_w=!1,r1=!1;function BO(){let e="framer-hydration-",t=`${e}layout-effects-end`,n=`${e}effects-end`,r=`${e}browser-render-start`,i=`${e}render-end`;return tt(()=>{Fw||!Jn||(Fw=!0,performance.mark(i),br(`${e}render`,`${e}start`,i),performance.mark(`${e}insertion-effects-start`))},[]),Le(()=>{if(!(Pw||!Jn)){if(Pw=!0,performance.mark(`${e}layout-effects-start`),document.visibilityState!=="visible"){r1=!0;return}requestAnimationFrame(()=>{var o,s,a;performance.mark(r),br(`${e}uho`,(s=(o=performance.getEntriesByName(n)[0])===null||o===void 0?void 0:o.name)!==null&&s!==void 0?s:(a=performance.getEntriesByName(t)[0])===null||a===void 0?void 0:a.name,r)})}},[]),j(()=>{var o;if(_w||!Jn)return;_w=!0;let s=`${e}effects-start`;performance.mark(s),((o=performance.getEntriesByName(r)[0])===null||o===void 0?void 0:o.name)||(br(`${e}commit`,t,s),performance.mark(`${e}effects-sync`))},[]),null}var Iw=!1,Ow=!1,Mw=!1;function $O(){let e="framer-hydration-",t=`${e}layout-effects-end`,n=`${e}effects-end`,r=`${e}browser-render-start`,i=`${e}start`,o=`${e}insertion-effects-end`,s=`${e}first-paint`,a=`${e}browser-raf-end`;return tt(()=>{Iw||!Jn||(Iw=!0,performance.mark(o),br(`${e}insertion-effects`,`${e}insertion-effects-start`,o))},[]),Le(()=>{Ow||!Jn||(Ow=!0,performance.mark(t),br(`${e}layout-effects`,`${e}layout-effects-start`,t),!(r1||document.visibilityState!=="visible")&&requestAnimationFrame(()=>{performance.mark(a),br(`${e}raf`,r,a),KS(()=>{performance.mark(s),br(`${e}time-to-first-paint`,i,s),br(`${e}browser-render`,a,s)})}))},[]),j(()=>{var l,c,u;Mw||!Jn||(Mw=!0,performance.mark(n),br(`${e}effects`,(c=(l=performance.getEntriesByName(s)[0])===null||l===void 0?void 0:l.name)!==null&&c!==void 0?c:(u=performance.getEntriesByName(`${e}effects-start`)[0])===null||u===void 0?void 0:u.name,n))},[]),null}function NO(){return BO(),null}function jO(){return $O(),null}var Lw={Start:NO,End:jO},ra=["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"],i1=e=>{var t,n;!((n=(t=e.target)===null||t===void 0?void 0:t.closest)===null||n===void 0)&&n.call(t,"#main")&&(e.stopPropagation(),performance.mark("framer-react-event-handling-prevented"))},o1=!1;function gB(){if(!ra)return;o1=!0,performance.mark("framer-react-event-handling-start");let e={capture:!0};ra.forEach(t=>document.body.addEventListener(t,i1,e))}function HO(){return j(()=>{if(!o1||!ra)return;let e={capture:!0};ra.forEach(t=>document.body.removeEventListener(t,i1,e)),ra=void 0,performance.mark("framer-react-event-handling-end")},[]),null}var s1=!1;function yB(){s1=!0}function WO(){s1=!1}function UO(e,t){if(e.routeId!==t.routeId)return!1;if(e.pathVariables===t.pathVariables)return!0;let n=e.pathVariables||{},r=t.pathVariables||{};return n.length===r.length&&Object.keys(n).every(i=>n[i]===r[i])}function a1(e){return w.useCallback(t=>e[t],[e])}var $p=(()=>w.createContext({}))();function GO({api:e,children:t}){return k($p.Provider,{value:e,children:t})}function Np(){return w.useContext($p)}function qO({routes:e,children:t}){let n=a1(e);return k($p.Provider,{value:{getRoute:n},children:t})}var XO=class extends ke{constructor(){super(...arguments),this.state={error:void 0}}static getDerivedStateFromError(e){return e instanceof Cc||console.error("Derived error in SuspenseErrorBoundary",e),{error:e}}componentDidCatch(e,t){var n;if(e instanceof Cc)return;let r=t?.componentStack;if(console.error("Caught error in SuspenseErrorBoundary",e,r),typeof _<"u"){let i=e instanceof Error&&typeof e.stack=="string"?e.stack:null;(n=_.__framer_events)===null||n===void 0||n.push(["published_site_load_recoverable_error",{message:String(e),stack:i,componentStack:i?void 0:r}])}}render(){if(this.state.error===void 0)return this.props.children;if(this.state.error instanceof Cc)throw this.state.error.cause;return _.__framer_STPD_OPT_OUT__=!0,k($o,{children:this.props.fallbackChildren})}},YO=(()=>typeof _<"u"?new Promise(()=>{}):null)();function KO(){if(typeof _>"u"||_.__framer_STPD_OPT_OUT__)return null;throw YO}function QO({children:e}){return k(XO,{fallbackChildren:e,children:k($o,{fallback:k(KO,{}),children:e})})}var Vw="default";function ZO(){let[e,t]=w.useState(0);return[e,w.useCallback(()=>t(n=>n+1),[])]}var JO=async()=>{},e2={activeLocale:null,locales:[],setLocale:JO},l1=w.createContext(e2);function FB(){return w.useContext(l1)}function Aw(e,t,n){let r=e&&document.getElementById(e);if(r){o2(r,t);return}n||_.scrollTo(0,0)}function t2(e){let t=V([]);return Le(()=>{var n;!((n=t.current)===null||n===void 0)&&n.length&&(t.current.forEach(r=>r()),t.current=[])},[e]),Z(n=>{t.current.push(n)},[])}function n2(e){let t=DO(),n=t1("framer-route-change"),r=V(void 0);return Z(async(i,o,s=!0)=>{var a;if(WO(),!e)return await o?.(),i(),n(),new Promise(m=>{m()});(a=r.current)===null||a===void 0||a.abort();let l=s?new AbortController:void 0;r.current=l;let c=l?.signal,u=n();if(!o)return r.current=void 0,i(c),u;i(c),await sa({priority:"user-visible",signal:c}).catch(Mc),await sa({priority:"user-visible",signal:c}).catch(Mc);let f,d=new Promise((m,v)=>{f=m,c?.aborted?v():c?.addEventListener("abort",v)});return t(d,o,l),u.then(()=>{f()})},[e,n,t])}function r2({defaultPageStyle:e,disableHistory:t,initialPathVariables:n,initialRoute:r,notFoundPage:i,collectionUtils:o,routes:s,initialLocaleId:a,locales:l=oO,preserveQueryParams:c=!1,enableAsyncURLUpdates:u=!1,LayoutTemplate:f}){zO(),IO({disabled:t,routeId:r,initialPathVariables:n,initialLocaleId:a});let d=e1(),[m,v]=ZO(),y=t2(m),b=n2(u),h=V(r),p=V(n),g=V(a),x=g.current,C=ae(()=>{var H;return(H=l.find(({id:Y})=>x?Y===x:Y===Vw))!==null&&H!==void 0?H:null},[x,l]),S=ae(()=>({activeLocale:C,locales:l,setLocale:async H=>{let Y;Mi(H)?Y=H:oa(H)&&(Y=H.id);let se=l.find(({id:oe})=>oe===Vw),ue=l.find(({id:oe})=>oe===Y);if(!ue)return;let we=h.current,Se=s[we];if(Se)try{let oe=await AO({currentLocale:C,nextLocale:ue,route:Se,routeId:we,defaultLocale:se,pathVariables:p.current,collectionUtils:o,preserveQueryParams:c});if(!oe)return;let ne=p.current,Ze=PO(_.history.state)?_.history.state.paginationInfo:void 0,Me=oe.path;p.current=oe.pathVariables,g.current=ue.id,b(()=>{d(we,we,()=>Ut(v),u)},async(Be=!1)=>{if(Me)return n1({routeId:we,pathVariables:ne,localeId:ue.id,paginationInfo:Ze},Me,!1,Be)},!1)}catch{}}}),[C,o,u,v,l,c,s,b,d]),T=Z((H,Y,se,ue,we=!1,Se=!1,oe)=>{let ne=h.current;if(h.current=H,p.current=ue,g.current=Y,y(()=>{Aw(se,we,Se)}),Se){Ut(v);return}b(Ze=>{d(ne,H,()=>Ut(v),u,Ze)},oe)},[u,v,y,b,d]);OO(h,T);let E=Z(async(H,Y,se,ue)=>{var we,Se;let oe=s[H];if(se){let Je=new Set,wn=(we=oe?.path)!==null&&we!==void 0?we:"/";for(let rn of wn.matchAll(Li)){let le=rn[1];if(le===void 0)throw new Error("A matching path variable should not be undefined");Je.add(le)}se=Object.fromEntries(Object.entries(se).filter(([rn])=>Je.has(rn)))}let ne=Bp(oe,Y),Ze=p.current,Me=g.current;if(UO({routeId:h.current,pathVariables:Ze},{routeId:H,pathVariables:se})){Aw(ne,ue,!1);let Je=s[H];if(((Se=_.history.state)===null||Se===void 0?void 0:Se.hash)===Y||t||!Je)return;let wn=kw(H,Je,{currentRoutePath:Je.path,currentPathVariables:Ze,pathVariables:se,hash:Y,localeId:Me,preserveQueryParams:c},u);return u?void 0:await wn}if(!oe)return;let kt=s[h.current];T(H,Me,ne,se,ue,!1,t?void 0:async(Je=!1)=>kw(H,oe,{currentRoutePath:kt?.path,currentPathVariables:Ze,hash:Y,pathVariables:se,localeId:Me,preserveQueryParams:c},!1,Je))},[s,T,t,c,u]),O=a1(s),I=h.current,$=p.current,N=ae(()=>({navigate:E,getRoute:O,currentRouteId:I,currentPathVariables:$,routes:s,collectionUtils:o,preserveQueryParams:c}),[E,O,I,$,s,o,c]),D=s[h.current];if(!D)throw new Error(`Router cannot find route for ${h.current}`);let ie=!C||!D.includedLocales||D.includedLocales.includes(C.id),G=D.path&&$?GS(D.path,$):D.path,he=String(x)+G;return k(GO,{api:N,children:k(l1.Provider,{value:S,children:de(QO,{children:[k(KI,{notFoundPage:i,defaultPageStyle:e,forceUpdateKey:m,children:k(i2,{LayoutTemplate:f,routeId:I,children:de(an,{children:[k(Lw.Start,{}),ie?kp(D.page,f?{...e,display:"content"}:e):i&&kp(i,e)]},he)})}),k(HO,{}),k(Lw.End,{})]})})})}function i2({LayoutTemplate:e,routeId:t,children:n}){return e?k(e,{routeId:t,children:n}):n}function o2(e,t){let n=t?{behavior:"smooth",block:"start",inline:"nearest"}:void 0;e.scrollIntoView(n)}var gc,rp,Dw;function s2(e){if(Dw!==e){gc={};for(let[t,{path:n}]of Object.entries(e))n&&(gc[n]={path:n,depth:a2(n),routeId:t});rp=Object.values(gc),rp.sort(({depth:t},{depth:n})=>n-t),Dw=e}return[gc,rp]}function PB(e,t,n=!0,r=[]){let[i,o]=s2(e),s,a,l=t;if(r.length>0){let d=l.split("/").find(Boolean);if(d&&(s=r.find(({slug:m})=>m===d),s&&(a=s.id,l=l.substring(s.slug.length+1))),!a){let m=r.find(({slug:v})=>v==="");m&&(a=m.id)}}let c=i[l];if(c){let d=zw(l,c.path);if(d.isMatch)return{routeId:c.routeId,localeId:a,pathVariables:d.pathVariables}}for(let{path:d,routeId:m}of o){let v=zw(l,d);if(v.isMatch)return{routeId:m,localeId:a,pathVariables:v.pathVariables}}if(!n)throw new Error("No exact match found for path");let u=i["/"];if(u)return{routeId:u.routeId,localeId:a};let f=Object.keys(e)[0];if(!f)throw new Error("Router should not have undefined routes");return{routeId:f,localeId:a}}function a2(e){let t=e.replace(/^\/|\/$/gu,"");return t===""?0:t.split("/").length}function zw(e,t){let n=[],i=l2(t).replace(Li,(c,u)=>(n.push(u),"([^/]+)")),o=new RegExp(i+"$"),s=e.match(o);if(!s)return{isMatch:!1};if(s.length===1)return{isMatch:!0};let a={},l=s.slice(1);for(let c=0;cw.createContext(void 0))();function c1(){var e;let t=Np(),n=A(u2),r=n??t.currentRouteId;if(!r)return;let i=(e=t.getRoute)===null||e===void 0?void 0:e.call(t,r);if(i)return{...i,id:r,pathVariables:n?void 0:t.currentPathVariables}}var u1=(()=>typeof _<"u"&&!rO(qe.userAgent))();function f2(e,t=!0){let{getRoute:n}=Np();j(()=>{if(!(!n||!t||!u1))for(let r of e)d2(n(r))},[e,n,t])}async function d2(e){if(!u1||!e)return;let t=e.page;if(!(!t||!nO(t))){await YS();try{await t.preload()}catch{}}}var $w=new Set;function aa(e,...t){$w.has(e)||($w.add(e),console.warn(e,...t))}function h2(e,t,n){let r=n?`, use ${n} instead`:"",i=`Deprecation warning: ${e} will be removed in version ${t}${r}.`;aa(i)}var f1=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}},St=(()=>{function e(t){return h2("Animatable()","2.0.0","the new animation API (https://www.framer.com/api/animation/)"),On(t)?t:new m2(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:On(t)?t.get():t,e.objectToValues=t=>{if(!t)return t;let n={};for(let r in t){let i=t[r];On(i)?n[r]=i.get():n[r]=i}return n},e})(),Nw="onUpdate",jw="finishTransaction";function On(e){return e!==null&&typeof e=="object"&&Nw in e&&e[Nw]instanceof Function&&jw in e&&e[jw]instanceof Function}function p2(e,t){return{interpolate(n,r){let i=n.get(),o=r.get(),s=St(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 m2=class{constructor(e){this.value=e,R(this,"observers",new f1)}static interpolationFor(e,t){if(On(e))return p2(e,t)}get(){return this.value}set(e,t){let n=this.value;On(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 vc(e,t){let r=10**Math.round(Math.abs(t));return Math.round(e*r)/r}function Hw(e,t){return t===0?Math.round(e):(t-=t|0,t<0&&(t=1-t),Math.round(e-t)+t)}function ei(e,t){return{x:e,y:t}}(e=>{e.add=(...i)=>i.reduce((o,s)=>({x:o.x+s.x,y:o.y+s.y}),{x:0,y:0}),e.subtract=(i,o)=>({x:i.x-o.x,y:i.y-o.y}),e.multiply=(i,o)=>({x:i.x*o,y:i.y*o}),e.divide=(i,o)=>({x:i.x/o,y:i.y/o}),e.absolute=i=>({x:Math.abs(i.x),y:Math.abs(i.y)}),e.reverse=i=>({x:i.x*-1,y:i.y*-1}),e.pixelAligned=(i,o={x:0,y:0})=>({x:Hw(i.x,o.x),y:Hw(i.y,o.y)}),e.distance=(i,o)=>{let s=Math.abs(i.x-o.x),a=Math.abs(i.y-o.y);return Math.sqrt(s*s+a*a)},e.angle=(i,o)=>Math.atan2(o.y-i.y,o.x-i.x)*180/Math.PI-90,e.angleFromX=(i,o)=>Math.atan2(o.y-i.y,o.x-i.x)*180/Math.PI,e.isEqual=(i,o)=>i.x===o.x&&i.y===o.y,e.rotationNormalizer=()=>{let i;return o=>{typeof i!="number"&&(i=o);let s=i-o,a=Math.abs(s)+180,l=Math.floor(a/360);return s<180&&(o-=l*360),s>180&&(o+=l*360),i=o,o}};function t(i,o){return{x:(i.x+o.x)/2,y:(i.y+o.y)/2}}e.center=t;function n(i){let o=0,s=0;i.forEach(c=>{o+=c.x,s+=c.y});let a=o/i.length,l=s/i.length;return{x:a,y:l}}e.centroid=n;function r(i){let o=e.centroid(i),s=new Map;for(let a=0;as.get(a)-s.get(l))}e.sortClockwise=r})(ei||(ei={}));var Tp={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 Kr(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(uWI().Hsluv)(),$t=new g2;function v2(e,t,n){return $t.rgb_r=e/255,$t.rgb_g=t/255,$t.rgb_b=n/255,$t.rgbToHsluv(),{h:$t.hsluv_h,s:$t.hsluv_s,l:$t.hsluv_l}}function y2(e,t,n,r=1){return $t.hsluv_h=e,$t.hsluv_s=t,$t.hsluv_l=n,$t.hsluvToRgb(),{r:$t.rgb_r*255,g:$t.rgb_g*255,b:$t.rgb_b*255,a:r}}function yc(e,t,n,r){let i=Math.round(e),o=Math.round(t*100),s=Math.round(n*100);return r===void 0||r===1?"hsv("+i+", "+o+"%, "+s+"%)":"hsva("+i+", "+o+"%, "+s+"%, "+r+")"}function b2(e,t,n){return{r:Io(e)?_t(e,255)*255:0,g:Io(t)?_t(t,255)*255:0,b:Io(n)?_t(n,255)*255:0}}function Ww(e,t,n,r){let i=[op(Math.round(e).toString(16)),op(Math.round(t).toString(16)),op(Math.round(n).toString(16))];return r&&i[0].charAt(0)===i[0].charAt(1)&&i[1].charAt(0)===i[1].charAt(1)&&i[2].charAt(0)===i[2].charAt(1)?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0):i.join("")}function jp(e,t,n){let r,i,o=_t(e,255),s=_t(t,255),a=_t(n,255),l=Math.max(o,s,a),c=Math.min(o,s,a),u=i=r=(l+c)/2;if(l===c)u=i=0;else{let f=l-c;switch(i=r>.5?f/(2-l-c):f/(l+c),l){case o:u=(s-a)/f+(s1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function x2(e,t,n){let r,i,o;if(e=_t(e,360),t=_t(t*100,100),n=_t(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=ip(a,s,e+1/3),i=ip(a,s,e),o=ip(a,s,e-1/3)}return{r:r*255,g:i*255,b:o*255}}function Uw(e,t,n){e=_t(e,255),t=_t(t,255),n=_t(n,255);let r=Math.max(e,t,n),i=Math.min(e,t,n),o=r-i,s,a=r===0?0:o/r,l=r;if(r===i)s=0;else{switch(r){case e:s=(t-n)/o+(t{let e="[-\\+]?\\d+%?",n="(?:"+"[-\\+]?\\d*\\.\\d+%?"+")|(?:"+e+")",r="[\\s|\\(]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")\\s*\\)?",i="[\\s|\\(]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")\\s*\\)?";return{rgb:new RegExp("rgb"+r),rgba:new RegExp("rgba"+i),hsl:new RegExp("hsl"+r),hsla:new RegExp("hsla"+i),hsv:new RegExp("hsv"+r),hsva:new RegExp("hsva"+i),hex3:/^([\da-f])([\da-f])([\da-f])$/iu,hex6:/^([\da-f]{2})([\da-f]{2})([\da-f]{2})$/iu,hex4:/^#?([\da-f])([\da-f])([\da-f])([\da-f])$/iu,hex8:/^#?([\da-f]{2})([\da-f]{2})([\da-f]{2})([\da-f]{2})$/iu}})();function Hp(e){if(e.includes("gradient(")||e.includes("var("))return!1;let t=/^[\s,#]+/u,n=e.replace(t,"").trimEnd().toLowerCase(),r=Tp[n];if(r&&(n=r),n==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};let i;return(i=Xn.rgb.exec(n))?{r:parseInt(i[1]??""),g:parseInt(i[2]??""),b:parseInt(i[3]??""),a:1,format:"rgb"}:(i=Xn.rgba.exec(n))?{r:parseInt(i[1]??""),g:parseInt(i[2]??""),b:parseInt(i[3]??""),a:parseFloat(i[4]??""),format:"rgb"}:(i=Xn.hsl.exec(n))?{h:parseInt(i[1]??""),s:Qr(i[2]??""),l:Qr(i[3]??""),a:1,format:"hsl"}:(i=Xn.hsla.exec(n))?{h:parseInt(i[1]??""),s:Qr(i[2]??""),l:Qr(i[3]??""),a:parseFloat(i[4]??""),format:"hsl"}:(i=Xn.hsv.exec(n))?{h:parseInt(i[1]??""),s:Qr(i[2]??""),v:Qr(i[3]??""),a:1,format:"hsv"}:(i=Xn.hsva.exec(n))?{h:parseInt(i[1]??""),s:Qr(i[2]??""),v:Qr(i[3]??""),a:parseFloat(i[4]??""),format:"hsv"}:(i=Xn.hex8.exec(n))?{r:tn(i[1]??""),g:tn(i[2]??""),b:tn(i[3]??""),a:Gw(i[4]??""),format:r?"name":"hex"}:(i=Xn.hex6.exec(n))?{r:tn(i[1]??""),g:tn(i[2]??""),b:tn(i[3]??""),a:1,format:r?"name":"hex"}:(i=Xn.hex4.exec(n))?{r:tn(`${i[1]}${i[1]}`),g:tn(`${i[2]}${i[2]}`),b:tn(`${i[3]}${i[3]}`),a:Gw(i[4]+""+i[4]),format:r?"name":"hex"}:(i=Xn.hex3.exec(n))?{r:tn(`${i[1]}${i[1]}`),g:tn(`${i[2]}${i[2]}`),b:tn(`${i[3]}${i[3]}`),a:1,format:r?"name":"hex"}:!1}function tn(e){return parseInt(e,16)}function Gw(e){return tn(e)/255}var qw=new Map,X=(()=>{function e(o,s,a,l){if(typeof o=="string"){let u=qw.get(o);return u||(u=t(o),u===void 0?{...e("black"),isValid:!1}:(qw.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=C2(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"?Hp(o)!==!1:!1,e.isColorObject=o=>o&&typeof o!="string"&&typeof o.r=="number"&&typeof o.g=="number"&&typeof o.b=="number"&&typeof o.h=="number"&&typeof o.s=="number"&&typeof o.l=="number"&&typeof o.a=="number"&&typeof o.roundA=="number"&&typeof o.format=="string",e.toString=o=>e.toRgbString(o),e.toHex=(o,s=!1)=>Ww(o.r,o.g,o.b,s),e.toHexString=(o,s=!1)=>`#${e.toHex(o,s)}`,e.toRgbString=o=>o.a===1?"rgb("+Math.round(o.r)+", "+Math.round(o.g)+", "+Math.round(o.b)+")":"rgba("+Math.round(o.r)+", "+Math.round(o.g)+", "+Math.round(o.b)+", "+o.roundA+")",e.toHusl=o=>({...v2(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=Uw(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=Uw(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=Ww(o.r,o.g,o.b,!0);for(let a of Object.keys(Tp))if(Tp[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:Kr(a,[0,1],[o.r,s.r],l),g:Kr(a,[0,1],[o.g,s.g],l),b:Kr(a,[0,1],[o.b,s.b],l),a:Kr(a,[0,1],[o.a,s.a],l)});else{let f,d;n.isHSL(c)?(f=e.toHsl(o),d=e.toHsl(s)):(f=e.toHusl(o),d=e.toHusl(s)),f.s===0?f.h=d.h:d.s===0&&(d.h=f.h);let m=f.h,v=d.h,y=v-m;y>180?y=v-360-m:y<-180&&(y=v+360-m);let b={h:Kr(a,[0,1],[m,m+y],l),s:Kr(a,[0,1],[f.s,d.s],l),l:Kr(a,[0,1],[f.l,d.l],l),a:Kr(a,[0,1],[o.a,s.a],l)};n.isHSL(c)?u=e(b):u=e(y2(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)=>jp(o,s,a),e.isValidColorProperty=(o,s)=>!!((o.toLowerCase().slice(-5)==="color"||o==="fill"||o==="stroke")&&typeof s=="string"&&e.isColorString(s)),e.difference=(o,s)=>{let a=(o.r+s.r)/2,l=o.r-s.r,c=o.g-s.g,u=o.b-s.b,f=Math.pow(l,2),d=Math.pow(c,2),m=Math.pow(u,2);return Math.sqrt(2*f+4*d+3*m+a*(f-m)/256)},e.equal=(o,s,a=.1)=>!(Math.abs(o.r-s.r)>=a||Math.abs(o.g-s.g)>=a||Math.abs(o.b-s.b)>=a||Math.abs(o.a-s.a)*256>=a);let r=Oa([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 C2(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=Ep({r:e,g:t,b:n,a:r}):typeof e=="string"?i=T2(e):typeof e=="object"&&(e.hasOwnProperty("r")&&e.hasOwnProperty("g")&&e.hasOwnProperty("b")?i=Ep(e):i=d1(e)),i}function T2(e){let t=Hp(e);if(t)return t.format==="hsl"?d1(t):t.format==="hsv"?R2(t):Ep(t)}function R2(e){let t=w2(e.h,e.s,e.v);return{...jp(t.r,t.g,t.b),...t,format:"rgb",a:e.a!==void 0?h1(e.a):1}}function Ep(e){let t=b2(e.r,e.g,e.b);return{...jp(t.r,t.g,t.b),...t,format:"rgb",a:e.a!==void 0?h1(e.a):1}}function d1(e){let t,n,r,i={r:0,g:0,b:0},o={h:0,s:0,l:0};return t=Io(e.h)?e.h:0,t=(t+360)%360,n=Io(e.s)?e.s:1,typeof e.s=="string"&&(n=Rp(e.s)),r=Io(e.l)?e.l:.5,typeof e.l=="string"&&(r=Rp(e.l)),i=x2(t,n,r),o={h:t,s:n,l:r},{...i,...o,a:e.a===void 0?1:e.a,format:"hsl"}}function h1(e){return e=parseFloat(e),e<0&&(e=0),(isNaN(e)||e>1)&&(e=1),e}var Xw=e=>e instanceof Da;var E2=(()=>UI().EventEmitter)(),F2=class{constructor(){R(this,"_emitter",new E2)}eventNames(){return this._emitter.eventNames()}eventListeners(){let e={};for(let t of this._emitter.eventNames())e[t]=this._emitter.listeners(t);return e}on(e,t){this.addEventListener(e,t,!1,!1,this)}off(e,t){this.removeEventListeners(e,t)}once(e,t){this.addEventListener(e,t,!0,!1,this)}unique(e,t){this.addEventListener(e,t,!1,!0,this)}addEventListener(e,t,n,r,i){if(r){for(let o of this._emitter.eventNames())if(t===this._emitter.listeners(o))return}n===!0?this._emitter.once(e,t,i):this._emitter.addListener(e,t,i)}removeEventListeners(e,t){e?this._emitter.removeListener(e,t):this.removeAllEventListeners()}removeAllEventListeners(){this._emitter.removeAllListeners()}countEventListeners(e,t){if(e)return this._emitter.listeners(e).length;{let n=0;for(let r of this._emitter.eventNames())n+=this._emitter.listeners(r).length;return n}}emit(e,...t){this._emitter.emit(e,...t)}},P2={addEventListener:()=>{},removeEventListener:()=>{},dispatchEvent:()=>!1,ResizeObserver:void 0,onpointerdown:!1,onpointermove:!1,onpointerup:!1,ontouchstart:!1,ontouchmove:!1,ontouchend:!1,onmousedown:!1,onmousemove:!1,onmouseup:!1,devicePixelRatio:1,scrollX:0,scrollY:0,location:{href:""},document:{cookie:""},setTimeout:()=>0,clearTimeout:()=>{},setInterval:()=>0,clearInterval:()=>{},requestAnimationFrame:()=>0,cancelAnimationFrame:()=>{},requestIdleCallback:()=>0,getSelection:()=>null,matchMedia:e=>({matches:!1,media:e,onchange:()=>{},addEventListener:()=>{},removeEventListener:()=>{},addListener:()=>{},removeListener:()=>{},dispatchEvent:()=>!1}),innerHeight:0,innerWidth:0,SVGSVGElement:{},open:function(e,t,n){}},jt=typeof _>"u"?P2:_,_2=e=>{setTimeout(e,1/60)},I2=(()=>jt.requestAnimationFrame||_2)(),Yw=e=>I2(e),Zs=(()=>1/60)(),O2=class extends F2{constructor(e=!1){super(),R(this,"_started",!1),R(this,"_frame",0),R(this,"_frameTasks",[]),R(this,"tick",()=>{this._started&&(Yw(this.tick),this.emit("update",this._frame,Zs),this.emit("render",this._frame,Zs),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;rKw.target,hasRestrictions:()=>{let e=Kw.target;return e==="CANVAS"||e==="EXPORT"}};var bc=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"}});Cf({borderTopWidth:bc("y"),borderLeftWidth:bc("x"),borderRightWidth:bc("x"),borderBottomWidth:bc("y")});function B(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 xe(e,t){throw t||new Error(e?`Unexpected value: ${e}`:"Application entered invalid state")}var Oo=w.createContext({getLayoutId:e=>null,persistLayoutIdCache:()=>{},top:!1,enabled:!0});function M2({children:e}){if(A(Oo).top)return k(at,{children:e});let n=V({byId:{},byName:{},byLastId:{},byPossibleId:{},byLastName:{},byLayoutId:{},count:{byId:{},byName:{}}}),r=V({byId:{},byName:{},byLastId:{},byPossibleId:{},byLastName:{},byLayoutId:{}}),i=V(new Set).current,o=Z(({id:l,name:c,duplicatedFrom:u})=>{if(!l)return null;let f=c?"byName":"byId",d=n.current[f][l];if(d)return d;let m=c||l;if(!u&&!i.has(m)&&(!n.current.byLayoutId[m]||n.current.byLayoutId[m]===m))return n.current.count[f][m]===void 0&&(n.current.count[f][m]=0,n.current.byLayoutId[m]=m,r.current[f][l]=m),i.add(m),m;let v;if(u?.length)for(let S=u.length-1;S>=0;S--){let T=u[S];B(!!T,"duplicatedId must be defined");let E=n.current[f][T],O=n.current.byLastId[T];if(O&&!v){let N=n.current.byLayoutId[O],D=!N||N===c;O&&!i.has(O)&&(!c||D)&&(v=[O,T])}let I=E?n.current.byLayoutId[E]:void 0,$=!I||I===c;if(E&&!i.has(E)&&(!c||$))return r.current[f][l]=E,r.current.byLastId[T]=E,i.add(E),E}let y=n.current.byLastId[l];if(y&&!i.has(y))return i.add(y),r.current.byId[l]=y,y;if(v){let[S,T]=v;return r.current[f][l]=S,r.current.byLastId[T]=S,i.add(S),S}let b=n.current.byPossibleId[l];if(b&&!i.has(b))return i.add(b),r.current.byId[l]=b,b;let h=u?.[0],p=c||h||l,g=(n.current.count[f][p]??-1)+1,{layoutId:x,value:C}=L2(p,g,i);if(n.current.count[f][p]=C,r.current[f][l]=x,u?.length&&!c){let S=u[u.length-1];if(S&&(r.current.byLastId[S]=x),u.length>1)for(let T=0;T{n.current={byId:{...n.current.byId,...r.current.byId},byLastId:{...n.current.byLastId,...r.current.byLastId},byPossibleId:{...n.current.byPossibleId,...r.current.byPossibleId},byName:{...n.current.byName,...r.current.byName},byLastName:{...n.current.byLastName,...r.current.byLastName},byLayoutId:{...n.current.byLayoutId,...r.current.byLayoutId},count:{...n.current.count,byName:{}}},r.current={byId:{},byName:{},byLastId:{},byPossibleId:{},byLastName:{},byLayoutId:{}},i.clear()},[]),a=V({getLayoutId:o,persistLayoutIdCache:s,top:!0,enabled:!0}).current;return k(Oo.Provider,{value:a,children:e})}function L2(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 V2({enabled:e=!0,...t}){let n=A(Oo),r=ae(()=>({...n,enabled:e}),[e]);return k(Oo.Provider,{...t,value:r})}function Ai(e){let t=V(null);return t.current===null&&(t.current=e()),t.current}var A2={background:void 0,display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",lineHeight:"1.4em",textOverflow:"ellipsis",overflow:"hidden",minHeight:0,width:"100%",height:"100%"},D2=(()=>({...A2,border:"1px solid rgba(149, 149, 149, 0.15)",borderRadius:6,fontSize:"12px",backgroundColor:"rgba(149, 149, 149, 0.1)",color:"#a5a5a5"}))(),m1={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",maxWidth:"100%",flexShrink:0,padding:"0 10px"},z2=(()=>({...m1,fontWeight:500}))(),B2=(()=>({...m1,whiteSpace:"pre",maxHeight:"calc(50% - calc(20px * var(--framerInternalCanvas-canvasPlaceholderContentScaleFactor, 1)))",WebkitMaskImage:"linear-gradient(to bottom, black 80%, transparent 100%)"}))();function HB(e){let{error:t,file:n}=e,r=n?`Error in ${$2(n)}`:"Error",i=t instanceof Error?t.message:""+t;return de("div",{style:D2,children:[k("div",{className:"text",style:z2,children:r}),i&&k("div",{className:"text",style:B2,children:i})]})}function $2(e){return e.startsWith("./")?e.replace("./",""):e}function ee(e){return typeof e=="number"&&isFinite(e)}function N2(e){return!e||!Object.keys(e).length&&e.constructor===Object}function Tc(e){return typeof e!="string"&&typeof e!="number"}function Rc(e){return e!==null&&typeof e<"u"&&typeof e!="boolean"&&!N2(e)}function j2(e){return e*(Math.PI/180)}var xc=(()=>{function e(t,n){return{a:t,b:n}}return e.offset=(t,n)=>{let r=ei.angleFromX(t.a,t.b),i=j2(r),o=n*Math.sin(i),s=n*Math.cos(i);return e({x:t.a.x+o,y:t.a.y-s},{x:t.b.x+o,y:t.b.y-s})},e.intersection=(t,n,r)=>{let i=t.a.x,o=t.a.y,s=t.b.x,a=t.b.y,l=n.a.x,c=n.a.y,u=n.b.x,f=n.b.y,d=(u-l)*(c-o)-(f-c)*(l-i),m=(u-l)*(a-o)-(f-c)*(s-i),v=(s-i)*(c-o)-(a-o)*(l-i);if(d===0&&m===0||m===0)return null;let y=d/m,b=v/m;return r&&(y<0||y>1||b<0||b>1)?null:{x:i+y*(s-i),y:o+y*(a-o)}},e.intersectionAngle=(t,n)=>{let r=t.b.x-t.a.x,i=t.b.y-t.a.y,o=n.b.x-n.a.x,s=n.b.y-n.a.y;return Math.atan2(r*s-i*o,r*o+i*s)*(180/Math.PI)},e.isOrthogonal=t=>t.a.x===t.b.x||t.a.y===t.b.y,e.perpendicular=(t,n)=>{let r=t.a.x-t.b.x,i=t.a.y-t.b.y,o=ei(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=>ei.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=vc(e.x,t),r=vc(e.y,t),i=vc(e.width,t),o=vc(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=ei.distance(t,n),l=ei.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),m=Math.max(r,o,a,c)-d;return{x:u,y:d,width:f,height:m}},containsPoint:(e,t)=>!(t.xQ.maxX(e)||t.yQ.maxY(e)||isNaN(e.x)||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)),ei.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[xc(t,n),xc(n,r),xc(r,i),xc(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:xe(r)}break;case"left":i.x=t.x-e.width;break;case"right":i.x=t.x+t.width;break;default:xe(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:xe(r)}break;case"top":i.y=t.y-e.height;break;case"bottom":i.y=t.y+t.height;break;default:xe(n)}return i}};var g1={quickfix:e=>((e.widthType===2||e.heightType===2)&&(e.aspectRatio=null),ee(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||ee(e.maxWidth))&&(e.right=!1),e.widthType=0),e.top&&e.bottom&&((e.fixedSize||e.heightType===2||ee(e.maxHeight))&&(e.bottom=!1),e.heightType=0),e)};function Lc(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 v1={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=g1.quickfix({left:ee(t)||On(t),right:ee(n)||On(n),top:ee(r)||On(r),bottom:ee(i)||On(i),widthType:Lc(o),heightType:Lc(s),aspectRatio:c||null,fixedSize:u===!0}),d=null,m=null,v=0,y=0;if(f.widthType!==0&&typeof o=="string"){let p=parseFloat(o);o.endsWith("fr")?(v=3,d=p):o==="auto"?v=2:(v=1,d=p/100)}else o!==void 0&&typeof o!="string"&&(d=St.getNumber(o));if(f.heightType!==0&&typeof s=="string"){let p=parseFloat(s);s.endsWith("fr")?(y=3,m=p):s==="auto"?y=2:(y=1,m=parseFloat(s)/100)}else s!==void 0&&typeof s!="string"&&(m=St.getNumber(s));let b=.5,h=.5;return a&&(b=parseFloat(a)/100),l&&(h=parseFloat(l)/100),{left:f.left?St.getNumber(t):null,right:f.right?St.getNumber(n):null,top:f.top?St.getNumber(r):null,bottom:f.bottom?St.getNumber(i):null,widthType:v,heightType:y,width:d,height:m,aspectRatio:f.aspectRatio||null,centerAnchorX:b,centerAnchorY:h}},toSize:(e,t,n,r)=>{let i=null,o=null,s=t?.sizing?St.getNumber(t?.sizing.width):null,a=t?.sizing?St.getNumber(t?.sizing.height):null,l=Qw(e.left,e.right);if(s&&ee(l))i=s-l;else if(n&&e.widthType===2)i=n.width;else if(ee(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:xe(e.widthType)}let c=Qw(e.top,e.bottom);if(a&&ee(c))o=a-c;else if(n&&e.heightType===2)o=n.height;else if(ee(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:xe(e.heightType)}return X2(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}=v1.toSize(e,t,n,i),c=t?.positioning??null,u=c?St.getNumber(c.width):null,f=c?St.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}},H2=200,W2=200;function Vc(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 U2(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 U2(e){switch(e){case"minWidth":case"minHeight":return Number.NEGATIVE_INFINITY;case"maxWidth":case"maxHeight":return Number.POSITIVE_INFINITY;default:xe(e,"unknown constraint key")}}function G2(e,t,n,r){return t.minHeight&&(e=Math.max(Vc("minHeight",t.minHeight,n,r),e)),t.maxHeight&&(e=Math.min(Vc("maxHeight",t.maxHeight,n,r),e)),e}function q2(e,t,n,r){return t.minWidth&&(e=Math.max(Vc("minWidth",t.minWidth,n,r),e)),t.maxWidth&&(e=Math.min(Vc("maxWidth",t.maxWidth,n,r),e)),e}function X2(e,t,n,r,i){let o=q2(ee(e)?e:H2,n,r,i),s=G2(ee(t)?t:W2,n,r,i);return ee(n.aspectRatio)&&n.aspectRatio>0&&(ee(n.left)&&ee(n.right)?s=o/n.aspectRatio:ee(n.top)&&ee(n.bottom)?o=s*n.aspectRatio:n.widthType!==0?s=o/n.aspectRatio:o=s*n.aspectRatio),{width:o,height:s}}function Qw(e,t){return!ee(e)||!ee(t)?null:e+t}function Y2(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 Wp(e){return!e._constraints||Y2(e)?!1:e._constraints.enabled}function K2(e){let{size:t}=e,{width:n,height:r}=e;return ee(t)&&(n===void 0&&(n=t),r===void 0&&(r=t)),ee(n)&&ee(r)?{width:n,height:r}:null}function Q2(e){let t=K2(e);if(t===null)return null;let{left:n,top:r}=e;return ee(n)&&ee(r)?{x:n,y:r,...t}:null}function Up(e,t,n=!0){if(e.positionFixed||e.positionAbsolute)return null;let r=t===1||t===2;if(!Wp(e)||r)return Q2(e);let i=Z2(e),o=J2(t),s=o?{sizing:o,positioning:o,viewport:null}:null;return v1.toRect(i,s,null,n,null)}function Z2(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=g1.quickfix({left:ee(t),right:ee(n),top:ee(r),bottom:ee(i),widthType:Lc(l),heightType:Lc(c),aspectRatio:u||null,fixedSize:f===!0}),m=null,v=null,y=0,b=0;if(d.widthType!==0&&typeof l=="string"){let g=parseFloat(l);l.endsWith("fr")?(y=3,m=g):l==="auto"?y=2:(y=1,m=g/100)}else l!==void 0&&typeof l!="string"&&(m=l);if(d.heightType!==0&&typeof c=="string"){let g=parseFloat(c);c.endsWith("fr")?(b=3,v=g):c==="auto"?b=2:(b=1,v=parseFloat(c)/100)}else c!==void 0&&typeof c!="string"&&(v=c);let h=.5,p=.5;return(o===!0||o==="x")&&(d.left=!1,typeof t=="string"&&(h=parseFloat(t)/100)),(o===!0||o==="y")&&(d.top=!1,typeof r=="string"&&(p=parseFloat(r)/100)),{left:d.left?t:null,right:d.right?n:null,top:d.top?r:null,bottom:d.bottom?i:null,widthType:y,heightType:b,width:m,height:v,aspectRatio:d.aspectRatio||null,centerAnchorX:h,centerAnchorY:p,minHeight:e.minHeight,maxHeight:e.maxHeight,minWidth:e.minWidth,maxWidth:e.maxWidth}}var y1=w.createContext({parentSize:0});function J2(e){return e===0||e===1||e===2?null:e}function Jc(){return w.useContext(y1).parentSize}function b1(e){return typeof e=="object"}var eM=e=>{let t=Jc(),{parentSize:n,children:r}=e,i=w.useMemo(()=>({parentSize:n}),[tM(n),nM(n)]);return t===1?r?k(at,{children:r}):null:k(y1.Provider,{value:i,children:r})};function tM(e){return b1(e)?e.width:e}function nM(e){return b1(e)?e.height:e}function rM(e,t){return k(eM,{parentSize:t,children:e})}function iM(e){let t=Jc();return Up(e,t,!0)}function x1({width:e,height:t}){return e==="auto"||e==="min-content"||t==="auto"||t==="min-content"}var oM=(e=>(e.Boolean="boolean",e.Number="number",e.String="string",e.RichText="richtext",e.FusedNumber="fusednumber",e.Enum="enum",e.SegmentedEnum="segmentedenum",e.Color="color",e.Image="image",e.ResponsiveImage="responsiveimage",e.File="file",e.ComponentInstance="componentinstance",e.Array="array",e.EventHandler="eventhandler",e.Transition="transition",e.BoxShadow="boxshadow",e.Link="link",e.Date="date",e.Object="object",e.Font="font",e.PageScope="pagescope",e.ScrollSectionRef="scrollsectionref",e.CustomCursor="customcursor",e.Border="border",e.Cursor="cursor",e.Padding="padding",e.BorderRadius="borderradius",e.CollectionReference="collectionreference",e.MultiCollectionReference="multicollectionreference",e))(oM||{}),sp;function sM(){if(sp!==void 0)return sp;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),sp=t,t}var Vi="flexbox-gap-not-supported",Zw=!1;function XB(){Zw||(Zw=!0,!sM()&&document.body.classList.add(Vi))}var aM=` [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); } `,lM=` [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); } `,cM=` [data-framer-component-type="DeprecatedRichText"] span[data-text-fill] { display: inline-block; background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; } `,uM=` [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)); } `,fM=` [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))); } `,dM=` [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))); } `,hM=` [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)))); } `,pM=` [data-framer-component-type="DeprecatedRichText"] strong { font-weight: bolder; } `,mM=` [data-framer-component-type="DeprecatedRichText"] em { font-style: italic; } `,gM=` [data-framer-component-type="DeprecatedRichText"] .framer-image { display: block; max-width: 100%; height: auto; } `,vM=` [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; } `,yM=` [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; } `,bM=` [data-framer-component-type="DeprecatedRichText"] ul, [data-framer-component-type="DeprecatedRichText"] ol { display: table; width: 100%; padding-left: 0; margin: 0; } `,xM=` [data-framer-component-type="DeprecatedRichText"] li { display: table-row; counter-increment: list-item; list-style: none; } `,wM=` [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; } `,SM=` [data-framer-component-type="DeprecatedRichText"] ul > li::before { display: table-cell; width: 2.25ch; box-sizing: border-box; padding-right: 0.75ch; content: "\u2022"; } `,kM=['[data-framer-component-type="DeprecatedRichText"] { cursor: inherit; }',yM,vM,aM,lM,cM,uM,fM,dM,hM,pM,mM,gM,bM,xM,wM,SM],CM=[` p.framer-text, div.framer-text, h1.framer-text, h2.framer-text, h3.framer-text, h4.framer-text, h5.framer-text, h6.framer-text, ol.framer-text, ul.framer-text { margin: 0; padding: 0; } `,` p.framer-text, div.framer-text, h1.framer-text, h2.framer-text, h3.framer-text, h4.framer-text, h5.framer-text, h6.framer-text, li.framer-text, ol.framer-text, ul.framer-text, span.framer-text:not([data-text-fill]) { font-family: var(--framer-blockquote-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif)); font-style: var(--framer-blockquote-font-style, var(--framer-font-style, normal)); font-weight: var(--framer-blockquote-font-weight, var(--framer-font-weight, 400)); color: var(--framer-blockquote-text-color, var(--framer-text-color, #000)); font-size: calc(var(--framer-blockquote-font-size, var(--framer-font-size, 16px)) * var(--framer-font-size-scale, 1)); letter-spacing: var(--framer-blockquote-letter-spacing, var(--framer-letter-spacing, 0)); text-transform: var(--framer-blockquote-text-transform, var(--framer-text-transform, none)); text-decoration: var(--framer-blockquote-text-decoration, var(--framer-text-decoration, none)); line-height: var(--framer-blockquote-line-height, var(--framer-line-height, 1.2em)); text-align: var(--framer-blockquote-text-alignment, var(--framer-text-alignment, start)); -webkit-text-stroke-width: var(--framer-text-stroke-width, initial); -webkit-text-stroke-color: var(--framer-text-stroke-color, initial); -moz-font-feature-settings: var(--framer-font-open-type-features, initial); -webkit-font-feature-settings: var(--framer-font-open-type-features, initial); font-feature-settings: var(--framer-font-open-type-features, initial); font-variation-settings: var(--framer-font-variation-axes, normal); text-wrap: var(--framer-text-wrap-override, var(--framer-text-wrap)); } `,` .framer-fit-text .framer-text { white-space: nowrap; white-space-collapse: preserve; } `,` strong.framer-text { font-family: var(--framer-blockquote-font-family-bold, var(--framer-font-family-bold)); font-style: var(--framer-blockquote-font-style-bold, var(--framer-font-style-bold)); font-weight: var(--framer-blockquote-font-weight-bold, var(--framer-font-weight-bold, bolder)); font-variation-settings: var(--framer-blockquote-font-variation-axes-bold, var(--framer-font-variation-axes-bold)); } `,` em.framer-text { font-family: var(--framer-blockquote-font-family-italic, var(--framer-font-family-italic)); font-style: var(--framer-blockquote-font-style-italic, var(--framer-font-style-italic, italic)); font-weight: var(--framer-blockquote-font-weight-italic, var(--framer-font-weight-italic)); font-variation-settings: var(--framer-blockquote-font-variation-axes-italic, var(--framer-font-variation-axes-italic)); } `,` em.framer-text > strong.framer-text { font-family: var(--framer-blockquote-font-family-bold-italic, var(--framer-font-family-bold-italic)); font-style: var(--framer-blockquote-font-style-bold-italic, var(--framer-font-style-bold-italic, italic)); font-weight: var(--framer-blockquote-font-weight-bold-italic, var(--framer-font-weight-bold-italic, bolder)); font-variation-settings: var(--framer-blockquote-font-variation-axes-bold-italic, var(--framer-font-variation-axes-bold-italic)); } `,` p.framer-text:not(:first-child), div.framer-text:not(:first-child), h1.framer-text:not(:first-child), h2.framer-text:not(:first-child), h3.framer-text:not(:first-child), h4.framer-text:not(:first-child), h5.framer-text:not(:first-child), h6.framer-text:not(:first-child), ol.framer-text:not(:first-child), ul.framer-text:not(:first-child), blockquote.framer-text:not(:first-child), .framer-image.framer-text:not(:first-child) { margin-top: var(--framer-blockquote-paragraph-spacing, var(--framer-paragraph-spacing, 0)); } `,` li.framer-text > ul.framer-text:nth-child(2), li.framer-text > ol.framer-text:nth-child(2) { margin-top: 0; } `,` .framer-text[data-text-fill] { display: inline-block; background-clip: text; -webkit-background-clip: text; /* make this a transparent color if you want to visualise the clipping */ -webkit-text-fill-color: transparent; padding: max(0em, calc(calc(1.3em - var(--framer-blockquote-line-height, var(--framer-line-height, 1.3em))) / 2)); margin: min(0em, calc(calc(1.3em - var(--framer-blockquote-line-height, var(--framer-line-height, 1.3em))) / -2)); } `,` code.framer-text, code.framer-text span.framer-text:not([data-text-fill]) { font-family: var(--framer-code-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif)); font-style: var(--framer-blockquote-font-style, var(--framer-code-font-style, var(--framer-font-style, normal))); font-weight: var(--framer-blockquote-font-weight, var(--framer-code-font-weight, var(--framer-font-weight, 400))); color: var(--framer-blockquote-text-color, var(--framer-code-text-color, var(--framer-text-color, #000))); font-size: calc(var(--framer-blockquote-font-size, var(--framer-font-size, 16px)) * var(--framer-font-size-scale, 1)); letter-spacing: var(--framer-blockquote-letter-spacing, var(--framer-letter-spacing, 0)); line-height: var(--framer-blockquote-line-height, var(--framer-line-height, 1.2em)); } `,` blockquote.framer-text { margin-block-start: initial; margin-block-end: initial; margin-inline-start: initial; margin-inline-end: initial; unicode-bidi: initial; } `,` a.framer-text, a.framer-text span.framer-text:not([data-text-fill]), span.framer-text[data-nested-link], span.framer-text[data-nested-link] span.framer-text:not([data-text-fill]) { font-family: var(--framer-blockquote-font-family, var(--framer-link-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif))); font-style: var(--framer-blockquote-font-style, var(--framer-link-font-style, var(--framer-font-style, normal))); font-weight: var(--framer-blockquote-font-weight, var(--framer-link-font-weight, var(--framer-font-weight, 400))); color: var(--framer-blockquote-text-color, var(--framer-link-text-color, var(--framer-text-color, #000))); font-size: calc(var(--framer-blockquote-font-size, var(--framer-font-size, 16px)) * var(--framer-font-size-scale, 1)); text-transform: var(--framer-blockquote-text-transform, var(--framer-link-text-transform, var(--framer-text-transform, none))); text-decoration: var(--framer-blockquote-text-decoration, var(--framer-link-text-decoration, var(--framer-text-decoration, none))); /* Cursor inherit to overwrite the user agent stylesheet on rich text links. */ cursor: var(--framer-custom-cursors, pointer); } `,` code.framer-text a.framer-text, code.framer-text a.framer-text span.framer-text:not([data-text-fill]), code.framer-text span.framer-text[data-nested-link], code.framer-text span.framer-text[data-nested-link] span.framer-text:not([data-text-fill]) { font-family: var(--framer-code-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif)); font-style: var(--framer-blockquote-font-style, var(--framer-code-font-style, var(--framer-font-style, normal))); font-weight: var(--framer-blockquote-font-weight, var(--framer-code-font-weight, var(--framer-font-weight, 400))); color: var(--framer-blockquote-text-color, var(--framer-link-text-color, var(--framer-code-text-color, var(--framer-text-color, #000)))); font-size: calc(var(--framer-blockquote-font-size, var(--framer-font-size, 16px)) * var(--framer-font-size-scale, 1)); } `,` a.framer-text:hover, a.framer-text:hover span.framer-text:not([data-text-fill]), span.framer-text[data-nested-link]:hover, span.framer-text[data-nested-link]:hover span.framer-text:not([data-text-fill]) { font-family: var(--framer-link-hover-font-family, var(--framer-blockquote-font-family, var(--framer-link-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif)))); font-style: var(--framer-link-hover-font-style, var(--framer-blockquote-font-style, var(--framer-link-font-style, var(--framer-font-style, normal)))); font-weight: var(--framer-link-hover-font-weight, var(--framer-blockquote-font-weight, var(--framer-link-font-weight, var(--framer-font-weight, 400)))); color: var(--framer-link-hover-text-color, var(--framer-blockquote-text-color, var(--framer-link-text-color, var(--framer-text-color, #000)))); font-size: calc(var(--framer-link-hover-font-size, var(--framer-blockquote-font-size, var(--framer-font-size, 16px))) * var(--framer-font-size-scale, 1)); text-transform: var(--framer-link-hover-text-transform, var(--framer-blockquote-text-transform, var(--framer-link-text-transform, var(--framer-text-transform, none)))); text-decoration: var(--framer-link-hover-text-decoration, var(--framer-blockquote-text-decoration, var(--framer-link-text-decoration, var(--framer-text-decoration, none)))); } `,` code.framer-text a.framer-text:hover, code.framer-text a.framer-text:hover span.framer-text:not([data-text-fill]), code.framer-text span.framer-text[data-nested-link]:hover, code.framer-text span.framer-text[data-nested-link]:hover span.framer-text:not([data-text-fill]) { font-family: var(var(--framer-code-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif))); font-style: var(--framer-blockquote-font-style, var(--framer-code-font-style, var(--framer-font-style, normal))); font-weight: var(--framer-blockquote-font-weight, var(--framer-code-font-weight, var(--framer-font-weight, 400))); color: var(--framer-link-hover-text-color, var(--framer-blockquote-text-color, var(--framer-link-text-color, var(--framer-code-text-color, var(--framer-text-color, #000))))); font-size: calc(var(--framer-link-hover-font-size, var(--framer-blockquote-font-size, var(--framer-link-font-size, var(--framer-font-size, 16px)))) * var(--framer-font-size-scale, 1)); } `,` a.framer-text[data-framer-page-link-current], a.framer-text[data-framer-page-link-current] span.framer-text:not([data-text-fill]), span.framer-text[data-framer-page-link-current], span.framer-text[data-framer-page-link-current] span.framer-text:not([data-text-fill]) { font-family: var(--framer-link-current-font-family, var(--framer-link-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif))); font-style: var(--framer-link-current-font-style, var(--framer-link-font-style, var(--framer-font-style, normal))); font-weight: var(--framer-link-current-font-weight, var(--framer-link-font-weight, var(--framer-font-weight, 400))); color: var(--framer-link-current-text-color, var(--framer-link-text-color, var(--framer-text-color, #000))); font-size: calc(var(--framer-link-current-font-size, var(--framer-link-font-size, var(--framer-font-size, 16px))) * var(--framer-font-size-scale, 1)); text-transform: var(--framer-link-current-text-transform, var(--framer-link-text-transform, var(--framer-text-transform, none))); text-decoration: var(--framer-link-current-text-decoration, var(--framer-link-text-decoration, var(--framer-text-decoration, none))); } `,` code.framer-text a.framer-text[data-framer-page-link-current], code.framer-text a.framer-text[data-framer-page-link-current] span.framer-text:not([data-text-fill]), code.framer-text span.framer-text[data-framer-page-link-current], code.framer-text span.framer-text[data-framer-page-link-current] span.framer-text:not([data-text-fill]) { font-family: var(--framer-code-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif)); font-style: var(--framer-code-font-style, var(--framer-font-style, normal)); font-weight: var(--framer-code-font-weight, var(--framer-font-weight, 400)); color: var(--framer-link-current-text-color, var(--framer-link-text-color, var(--framer-code-text-color, var(--framer-text-color, #000)))); font-size: calc(var(--framer-link-current-font-size, var(--framer-link-font-size, var(--framer-font-size, 16px))) * var(--framer-font-size-scale, 1)); } `,` a.framer-text[data-framer-page-link-current]:hover, a.framer-text[data-framer-page-link-current]:hover span.framer-text:not([data-text-fill]), span.framer-text[data-framer-page-link-current]:hover, span.framer-text[data-framer-page-link-current]:hover span.framer-text:not([data-text-fill]) { font-family: var(--framer-link-hover-font-family, var(--framer-link-current-font-family, var(--framer-link-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif)))); font-style: var(--framer-link-hover-font-style, var(--framer-link-current-font-style, var(--framer-link-font-style, var(--framer-font-style, normal)))); font-weight: var(--framer-link-hover-font-weight, var(--framer-link-current-font-weight, var(--framer-link-font-weight, var(--framer-font-weight, 400)))); color: var(--framer-link-hover-text-color, var(--framer-link-current-text-color, var(--framer-link-text-color, var(--framer-text-color, #000)))); font-size: calc(var(--framer-link-hover-font-size, var(--framer-link-current-font-size, var(--framer-link-font-size, var(--framer-font-size, 16px)))) * var(--framer-font-size-scale, 1)); text-transform: var(--framer-link-hover-text-transform, var(--framer-link-current-text-transform, var(--framer-link-text-transform, var(--framer-text-transform, none)))); text-decoration: var(--framer-link-hover-text-decoration, var(--framer-link-current-text-decoration, var(--framer-link-text-decoration, var(--framer-text-decoration, none)))); } `,` code.framer-text a.framer-text[data-framer-page-link-current]:hover, code.framer-text a.framer-text[data-framer-page-link-current]:hover span.framer-text:not([data-text-fill]), code.framer-text span.framer-text[data-framer-page-link-current]:hover, code.framer-text span.framer-text[data-framer-page-link-current]:hover span.framer-text:not([data-text-fill]) { font-family: var(--framer-code-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif)); font-style: var(--framer-code-font-style, var(--framer-font-style, normal)); font-weight: var(--framer-code-font-weight, var(--framer-font-weight, 400)); color: var(--framer-link-hover-text-color, var(--framer-link-current-text-color, var(--framer-link-text-color, var(--framer-code-text-color, var(--framer-text-color, #000))))); font-size: calc(var(--framer-link-hover-font-size, var(--framer-link-current-font-size, var(--framer-link-font-size, var(--framer-font-size, 16px)))) * var(--framer-font-size-scale, 1)); } `,` .framer-image.framer-text { display: block; max-width: 100%; height: auto; } `,` .text-styles-preset-reset.framer-text { --framer-font-family: Inter, Inter Placeholder, sans-serif; --framer-font-style: normal; --framer-font-weight: 500; --framer-text-color: #000; --framer-font-size: 16px; --framer-letter-spacing: 0; --framer-text-transform: none; --framer-text-decoration: none; --framer-line-height: 1.2em; --framer-text-alignment: start; --framer-font-open-type-features: normal; } `,` ol.framer-text { --list-style-type: decimal; } `,` ul.framer-text, ol.framer-text { display: table; width: 100%; } `,` li.framer-text { display: table-row; counter-increment: list-item; list-style: none; } `,` ol.framer-text > li.framer-text::before { display: table-cell; width: 2.25ch; box-sizing: border-box; padding-inline-end: 0.75ch; content: counter(list-item, var(--list-style-type)) "."; white-space: nowrap; } `,` ul.framer-text > li.framer-text::before { display: table-cell; width: 2.25ch; box-sizing: border-box; padding-inline-end: 0.75ch; content: "\u2022"; } `,` .framer-text-module[style*="aspect-ratio"] > :first-child { width: 100%; } `,` @supports not (aspect-ratio: 1) { .framer-text-module[style*="aspect-ratio"] { position: relative; } } `,` @supports not (aspect-ratio: 1) { .framer-text-module[style*="aspect-ratio"]::before { content: ""; display: block; padding-bottom: calc(100% / calc(var(--aspect-ratio))); } } `,` @supports not (aspect-ratio: 1) { .framer-text-module[style*="aspect-ratio"] > :first-child { position: absolute; top: 0; left: 0; height: 100%; } } `],TM=new Set,ap;function w1(e,t,n=TM){if(!(!e||n.has(e)||typeof document>"u")){if(n.add(e),!t){if(!ap){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)ap=r.sheet;else{console.warn("not injecting CSS: injected